@jackuait/blok 0.10.5 → 0.10.7

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 (311) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/_basePickBy--UeZi0iS.mjs +166 -0
  3. package/dist/chunks/_baseUniq-C977U_l-.mjs +682 -0
  4. package/dist/chunks/{arc-D-pL2Ftf.mjs → arc-Woh6y3jm.mjs} +2 -2
  5. package/dist/chunks/architecture-YZFGNWBL-aVO23UKm.mjs +3 -0
  6. package/dist/chunks/{architectureDiagram-Q4EWVU46-DS7mqjL2.mjs → architectureDiagram-Q4EWVU46-GTqLmLqg.mjs} +115 -115
  7. package/dist/chunks/{blockDiagram-DXYQGD6D-BTtcn4NG.mjs → blockDiagram-DXYQGD6D-CML01I1L.mjs} +681 -866
  8. package/dist/chunks/{blok-DSP5zC_s.mjs → blok-oWXfRfnM.mjs} +610 -566
  9. package/dist/chunks/{c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs → c4Diagram-AHTNJAMY-C29OuYjO.mjs} +239 -239
  10. package/dist/chunks/{channel-Cln-eWE0.mjs → channel-Zp_OyvEW.mjs} +1 -1
  11. package/dist/chunks/{chunk-2KRD3SAO-DkM7qh-k.mjs → chunk-2KRD3SAO-mVfUZfox.mjs} +1 -1
  12. package/dist/chunks/{chunk-336JU56O-B17AtzlK.mjs → chunk-336JU56O-mJNxs0cr.mjs} +18 -18
  13. package/dist/chunks/{chunk-426QAEUC-D6UAVUog.mjs → chunk-426QAEUC-TajZlyP-.mjs} +2 -2
  14. package/dist/chunks/{chunk-4BX2VUAB-CgIkjF7Z.mjs → chunk-4BX2VUAB-CsopMMb6.mjs} +1 -1
  15. package/dist/chunks/{chunk-4TB4RGXK-BUP4eON3.mjs → chunk-4TB4RGXK-DC963IrJ.mjs} +129 -129
  16. package/dist/chunks/{chunk-55IACEB6-zZ-IgaSt.mjs → chunk-55IACEB6-yyL3mncJ.mjs} +1 -1
  17. package/dist/chunks/{chunk-5FUZZQ4R-DsZnJYxM.mjs → chunk-5FUZZQ4R-Dr4NE8rh.mjs} +663 -663
  18. package/dist/chunks/chunk-5PVQY5BW-BP7ENjg7.mjs +1122 -0
  19. package/dist/chunks/{chunk-67CJDMHE-m0UKdcSH.mjs → chunk-67CJDMHE-Dbl-PjEf.mjs} +1 -1
  20. package/dist/chunks/{chunk-7N4EOEYR-DKNajFZd.mjs → chunk-7N4EOEYR-p-g3cKuX.mjs} +1 -1
  21. package/dist/chunks/{chunk-AA7GKIK3-BeLhNzKa.mjs → chunk-AA7GKIK3-Dt0Kr5Va.mjs} +1 -1
  22. package/dist/chunks/{chunk-BSJP7CBP-CJExmx8a.mjs → chunk-BSJP7CBP-DGU2WHwh.mjs} +1 -1
  23. package/dist/chunks/{chunk-CIAEETIT-CTikoJ19.mjs → chunk-CIAEETIT-BQ4crY5r.mjs} +1 -1
  24. package/dist/chunks/{chunk-EDXVE4YY-DjInnnwb.mjs → chunk-EDXVE4YY-B9_aGwkV.mjs} +2 -2
  25. package/dist/chunks/{chunk-ENJZ2VHE-CIl5FRDA.mjs → chunk-ENJZ2VHE-23pY8ft5.mjs} +243 -243
  26. package/dist/chunks/{chunk-FMBD7UC4-DjV0W7UE.mjs → chunk-FMBD7UC4-D_RQlBGX.mjs} +1 -1
  27. package/dist/chunks/{chunk-FOC6F5B3-LmHCCWYY.mjs → chunk-FOC6F5B3-CJfr-iwx.mjs} +1 -1
  28. package/dist/chunks/{chunk-ICPOFSXX-BHZIN46A.mjs → chunk-ICPOFSXX-BOvOTlG6.mjs} +2 -2
  29. package/dist/chunks/{chunk-K5T4RW27-BPZ6fFnW.mjs → chunk-K5T4RW27-CHSI0vpp.mjs} +572 -570
  30. package/dist/chunks/{chunk-KGLVRYIC-S1OQdW76.mjs → chunk-KGLVRYIC-ngXT4XVA.mjs} +1 -1
  31. package/dist/chunks/{chunk-LIHQZDEY-CjtyJlI6.mjs → chunk-LIHQZDEY-CnP7bym1.mjs} +1 -1
  32. package/dist/chunks/{chunk-ORNJ4GCN-CdO0hAge.mjs → chunk-ORNJ4GCN-BPaghT45.mjs} +1 -1
  33. package/dist/chunks/{chunk-OYMX7WX6-ApX8eV4o.mjs → chunk-OYMX7WX6-CKjTvqTg.mjs} +172 -172
  34. package/dist/chunks/{chunk-QZHKN3VN-BGFuA6-k.mjs → chunk-QZHKN3VN-uW1N2UWF.mjs} +1 -1
  35. package/dist/chunks/{chunk-U2HBQHQK-B88ZUOTL.mjs → chunk-U2HBQHQK-DiQOEtQH.mjs} +65 -65
  36. package/dist/chunks/{chunk-X2U36JSP-1VS5TyCr.mjs → chunk-X2U36JSP-Cznp5Jm-.mjs} +2 -2
  37. package/dist/chunks/{chunk-XPW4576I-BMupdrvo.mjs → chunk-XPW4576I-W5t_agZI.mjs} +1 -1
  38. package/dist/chunks/{chunk-YZCP3GAM-BQ7eEsm2.mjs → chunk-YZCP3GAM-BV02tG_z.mjs} +3 -3
  39. package/dist/chunks/{chunk-ZZ45TVLE-D1xks9zd.mjs → chunk-ZZ45TVLE-D28EyJ6R.mjs} +7 -7
  40. package/dist/chunks/classDiagram-6PBFFD2Q-DXsClapu.mjs +30 -0
  41. package/dist/chunks/classDiagram-v2-HSJHXN6E-B6TlQ_PM.mjs +30 -0
  42. package/dist/chunks/{clone-Ckjt1LtE.mjs → clone-CUNvBGto.mjs} +1 -1
  43. package/dist/chunks/{constants-B0Tns0mh.mjs → constants-BQ1-lyZI.mjs} +4 -2
  44. package/dist/chunks/{cose-bilkent-S5V4N54A-Bpcs2jA_.mjs → cose-bilkent-S5V4N54A-D-Xgf_Xn.mjs} +2 -2
  45. package/dist/chunks/{cpp-BdjvAny0.mjs → cpp-DaTV1RSp.mjs} +2 -2
  46. package/dist/chunks/{dagre-KV5264BT-DUD9ikgN.mjs → dagre-KV5264BT-BB3SAlfA.mjs} +15 -15
  47. package/dist/chunks/{dagre-CGNbYTKq.mjs → dagre-dysBn-m8.mjs} +499 -552
  48. package/dist/chunks/diagram-5BDNPKRD-B1410bPG.mjs +112 -0
  49. package/dist/chunks/{diagram-G4DWMVQ6-CuS0-h95.mjs → diagram-G4DWMVQ6-CdhBBETB.mjs} +82 -82
  50. package/dist/chunks/{diagram-MMDJMWI5-C-AEApYz.mjs → diagram-MMDJMWI5-B3HWfHe1.mjs} +48 -48
  51. package/dist/chunks/{diagram-TYMM5635-CiwAJVMq.mjs → diagram-TYMM5635-D0JzRYCN.mjs} +51 -51
  52. package/dist/chunks/{erDiagram-SMLLAGMA-DeH5yck2.mjs → erDiagram-SMLLAGMA-DfIG0QBk.mjs} +142 -142
  53. package/dist/chunks/{flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs → flowDiagram-DWJPFMVM-BOL8JsQX.mjs} +176 -176
  54. package/dist/chunks/{ganttDiagram-T4ZO3ILL-K-divBg_.mjs → ganttDiagram-T4ZO3ILL-CiUr_YRw.mjs} +230 -230
  55. package/dist/chunks/gitGraph-7Q5UKJZL-B3aq166w.mjs +3 -0
  56. package/dist/chunks/{gitGraphDiagram-UUTBAWPF-UytPZv72.mjs → gitGraphDiagram-UUTBAWPF-CtNkTTWO.mjs} +218 -218
  57. package/dist/chunks/{graphlib-Cye9EPNq.mjs → graphlib-BXNPwKuI.mjs} +48 -46
  58. package/dist/chunks/{graphql-BSnqmqgO.mjs → graphql-DNumR9m-.mjs} +2 -2
  59. package/dist/chunks/{html-BLNeZvnp.mjs → html-CanPsi1Y.mjs} +2 -2
  60. package/dist/chunks/{i18next-loader-D_v0EmDP.mjs → i18next-loader-CIXsptng.mjs} +1 -1
  61. package/dist/chunks/info-OMHHGYJF-SX91-Wub.mjs +3 -0
  62. package/dist/chunks/{infoDiagram-42DDH7IO-DuYnDbF3.mjs → infoDiagram-42DDH7IO-CD7nVBvi.mjs} +14 -14
  63. package/dist/chunks/isArrayLikeObject-DzUNFfIK.mjs +578 -0
  64. package/dist/chunks/isEmpty-D8B0aRsG.mjs +35 -0
  65. package/dist/chunks/{ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs → ishikawaDiagram-UXIWVN3A-BOaC9qJs.mjs} +81 -81
  66. package/dist/chunks/{journeyDiagram-VCZTEJTY-CD25C4_n.mjs → journeyDiagram-VCZTEJTY-DKf55ZdJ.mjs} +6 -6
  67. package/dist/chunks/{kanban-definition-6JOO6SKY-CTCT6N_p.mjs → kanban-definition-6JOO6SKY-D2CrAXqB.mjs} +11 -11
  68. package/dist/chunks/{latex-24n3TcOR.mjs → latex-DY1HNB4U.mjs} +1 -1
  69. package/dist/chunks/line-CuvDsrkE.mjs +34 -0
  70. package/dist/chunks/{linear-BRCpMvtr.mjs → linear-JRIqMpGQ.mjs} +3 -3
  71. package/dist/chunks/{lua-DV0fuZWx.mjs → lua-COOfzihE.mjs} +1 -1
  72. package/dist/chunks/{mermaid-parser.core-CA3DKkuk.mjs → mermaid-parser.core-BhpZC2lA.mjs} +10 -10
  73. package/dist/chunks/mermaid.core-C40gcVfv.mjs +977 -0
  74. package/dist/chunks/{micromark-extension-math-BbkUb36G.mjs → micromark-extension-math-D-s54WWf.mjs} +1 -1
  75. package/dist/chunks/{mindmap-definition-QFDTVHPH-hNnyBkEP.mjs → mindmap-definition-QFDTVHPH-C-0fwUUS.mjs} +13 -13
  76. package/dist/chunks/{ordinal-B-kolV-i.mjs → ordinal-fyJMP-lj.mjs} +1 -1
  77. package/dist/chunks/packet-4T2RLAQJ-suhU85JN.mjs +3 -0
  78. package/dist/chunks/{php-DmXKyPwJ.mjs → php-DA-SOiqC.mjs} +6 -6
  79. package/dist/chunks/pie-ZZUOXDRM-DF5e16CP.mjs +3 -0
  80. package/dist/chunks/pieDiagram-DEJITSTG-BPyqheXv.mjs +179 -0
  81. package/dist/chunks/{quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs → quadrantDiagram-34T5L4WZ-kOZ1zIXB.mjs} +4 -4
  82. package/dist/chunks/radar-PYXPWWZC-DgzodpRv.mjs +3 -0
  83. package/dist/chunks/{requirementDiagram-MS252O5E-DjWKB42c.mjs → requirementDiagram-MS252O5E-C8Zkq6Lq.mjs} +64 -64
  84. package/dist/chunks/{ruby-DdOo03Kg.mjs → ruby-HDUjp8gK.mjs} +11 -11
  85. package/dist/chunks/{sankeyDiagram-XADWPNL6-BIN2evSB.mjs → sankeyDiagram-XADWPNL6-B0FhkAL9.mjs} +3 -3
  86. package/dist/chunks/{sequenceDiagram-FGHM5R23-CQz2lMoS.mjs → sequenceDiagram-FGHM5R23-Dv2H5Lbc.mjs} +447 -447
  87. package/dist/chunks/stateDiagram-FHFEXIEX-D1vcO7H_.mjs +218 -0
  88. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-AoHzFiaI.mjs +28 -0
  89. package/dist/chunks/{timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs → timeline-definition-GMOUNBTQ-DJmJ0TPa.mjs} +195 -195
  90. package/dist/chunks/{tools-KZmhOKEo.mjs → tools-MuBQQyZ-.mjs} +102 -100
  91. package/dist/chunks/treeView-SZITEDCU-C1mc9PWf.mjs +3 -0
  92. package/dist/chunks/treemap-W4RFUUIX-ClV9Slyp.mjs +3 -0
  93. package/dist/chunks/{vennDiagram-DHZGUBPP-B0DmLQqe.mjs → vennDiagram-DHZGUBPP-Dx1rMP24.mjs} +76 -76
  94. package/dist/chunks/wardley-RL74JXVD-Dj7t7jHR.mjs +3 -0
  95. package/dist/chunks/{wardleyDiagram-NUSXRM2D-CzoKesUw.mjs → wardleyDiagram-NUSXRM2D-Dnm6lvMn.mjs} +15 -15
  96. package/dist/chunks/{xml-g8kXXALs.mjs → xml-Dq1lpp8G.mjs} +1 -1
  97. package/dist/chunks/{xychartDiagram-5P7HB3ND-CixwR8r2.mjs → xychartDiagram-5P7HB3ND-C9wFc2e9.mjs} +120 -120
  98. package/dist/full.mjs +3 -3
  99. package/dist/markdown.mjs +1 -1
  100. package/dist/react.mjs +2 -2
  101. package/dist/tools.mjs +2 -2
  102. package/dist/vendor.LICENSE.txt +64 -64
  103. package/package.json +3 -2
  104. package/src/components/block/index.ts +2 -2
  105. package/src/components/block-tunes/block-tune-delete.ts +1 -0
  106. package/src/components/modules/blockEvents/composers/markdownShortcuts.ts +105 -2
  107. package/src/components/modules/blockEvents/constants.ts +24 -0
  108. package/src/components/modules/blockManager/blockManager.ts +1 -1
  109. package/src/components/modules/blockManager/types.ts +1 -1
  110. package/src/components/modules/themeManager.ts +13 -3
  111. package/src/components/modules/toolbar/blockSettings.ts +89 -11
  112. package/src/components/modules/yjs/document-store.ts +1 -1
  113. package/src/components/modules/yjs/index.ts +1 -1
  114. package/src/components/utils/popover/popover-abstract.ts +9 -0
  115. package/src/tools/code/index.ts +1 -0
  116. package/src/tools/quote/index.ts +1 -0
  117. package/types/configs/blok-config.d.ts +13 -3
  118. package/types/configs/index.d.ts +1 -0
  119. package/types/configs/user-info.d.ts +14 -0
  120. package/types/data-formats/output-data.d.ts +2 -2
  121. package/types/index.d.ts +1 -0
  122. package/dist/chunks/_basePickBy-DISiGhsr.mjs +0 -410
  123. package/dist/chunks/_baseUniq-gAuHRtRF.mjs +0 -1045
  124. package/dist/chunks/_getTag-Aj56Wgor.mjs +0 -26
  125. package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +0 -3
  126. package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +0 -1692
  127. package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +0 -30
  128. package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +0 -30
  129. package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +0 -112
  130. package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +0 -3
  131. package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +0 -3
  132. package/dist/chunks/line-Dct5pMmw.mjs +0 -34
  133. package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +0 -989
  134. package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +0 -3
  135. package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +0 -3
  136. package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +0 -179
  137. package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +0 -3
  138. package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +0 -218
  139. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +0 -28
  140. package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +0 -3
  141. package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +0 -3
  142. package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +0 -3
  143. /package/dist/chunks/{am-BxlkYGsI.mjs → am-Bbd7cTHS.mjs} +0 -0
  144. /package/dist/chunks/{ar-9vlpr9V8.mjs → ar-Bo71sCQE.mjs} +0 -0
  145. /package/dist/chunks/{array-BsrkCVSZ.mjs → array-DbiMs_0t.mjs} +0 -0
  146. /package/dist/chunks/{az-ON63W_FP.mjs → az-BnNrO_xK.mjs} +0 -0
  147. /package/dist/chunks/{bg-CtXWTP5w.mjs → bg-CMd2n-OG.mjs} +0 -0
  148. /package/dist/chunks/{bn-BERvhXM4.mjs → bn-B3lorfXA.mjs} +0 -0
  149. /package/dist/chunks/{bs-CBg8NVPG.mjs → bs-_zM8QBsA.mjs} +0 -0
  150. /package/dist/chunks/{c-C6JXJf5K.mjs → c-DmKJe6GM.mjs} +0 -0
  151. /package/dist/chunks/{core-Bm6DWt7D.mjs → core-C942GvJO.mjs} +0 -0
  152. /package/dist/chunks/{cs-DeQddxS7.mjs → cs-nodpmLBf.mjs} +0 -0
  153. /package/dist/chunks/{csharp-YHxeHpeH.mjs → csharp-Drv96dbi.mjs} +0 -0
  154. /package/dist/chunks/{css-DdLevFaX.mjs → css-82tNAoU6.mjs} +0 -0
  155. /package/dist/chunks/{cytoscape.esm-BvD8wo00.mjs → cytoscape.esm-DSb9a7HE.mjs} +0 -0
  156. /package/dist/chunks/{da-DyTo-ec_.mjs → da-DwzgQcXQ.mjs} +0 -0
  157. /package/dist/chunks/{dart-DrPWqfcC.mjs → dart-DE9j8McI.mjs} +0 -0
  158. /package/dist/chunks/{de-Cu7545m1.mjs → de-BvWPiNt6.mjs} +0 -0
  159. /package/dist/chunks/{defaultLocale-ChuSeAxU.mjs → defaultLocale-yTyMJ3IT.mjs} +0 -0
  160. /package/dist/chunks/{dist-Ctq-pyfb.mjs → dist-X14EnMrO.mjs} +0 -0
  161. /package/dist/chunks/{dockerfile-C68ALcaN.mjs → dockerfile-D9DFksUy.mjs} +0 -0
  162. /package/dist/chunks/{el-oiubLRBq.mjs → el-B_D7wUrZ.mjs} +0 -0
  163. /package/dist/chunks/{engine-javascript-CJpnSvzf.mjs → engine-javascript-Dd6ViPCH.mjs} +0 -0
  164. /package/dist/chunks/{es-DZUC6Klv.mjs → es-Bn_ZFyW9.mjs} +0 -0
  165. /package/dist/chunks/{et-CDeklAog.mjs → et-CUcULjoh.mjs} +0 -0
  166. /package/dist/chunks/{fa-Cafp7_Li.mjs → fa-BRhCTsOy.mjs} +0 -0
  167. /package/dist/chunks/{fi-BD_V_aVW.mjs → fi-BEvyU9n6.mjs} +0 -0
  168. /package/dist/chunks/{fil-Crsfbtx4.mjs → fil-Dlp1_W2B.mjs} +0 -0
  169. /package/dist/chunks/{fr-BGGc04Zv.mjs → fr-DJBeOAx1.mjs} +0 -0
  170. /package/dist/chunks/{go-Fm5N96DN.mjs → go-jyWjtO8q.mjs} +0 -0
  171. /package/dist/chunks/{gu-Vg_BgCTp.mjs → gu-0hWvx16l.mjs} +0 -0
  172. /package/dist/chunks/{he-DTY9chlZ.mjs → he-CYe88qXp.mjs} +0 -0
  173. /package/dist/chunks/{hi-DChMXk0x.mjs → hi-DuLkkPWn.mjs} +0 -0
  174. /package/dist/chunks/{hr-BWVgNU8k.mjs → hr-BwCB1IMW.mjs} +0 -0
  175. /package/dist/chunks/{hu-B37awHXA.mjs → hu-C2dLyTeX.mjs} +0 -0
  176. /package/dist/chunks/{hy-DGC_GDHh.mjs → hy-DXKoDpv9.mjs} +0 -0
  177. /package/dist/chunks/{i18next-CXx5niYF.mjs → i18next-CLUkHqmV.mjs} +0 -0
  178. /package/dist/chunks/{id-V7cw6La2.mjs → id-D4chLuW_.mjs} +0 -0
  179. /package/dist/chunks/{init-C6T-mugb.mjs → init-BlLeEogJ.mjs} +0 -0
  180. /package/dist/chunks/{it-DrTGP8Rn.mjs → it-Hto3G26t.mjs} +0 -0
  181. /package/dist/chunks/{ja-DS4pbJEG.mjs → ja-UxHm_PPZ.mjs} +0 -0
  182. /package/dist/chunks/{java-83DWBpzu.mjs → java-Dhv78FEb.mjs} +0 -0
  183. /package/dist/chunks/{javascript-CBgeF1Xx.mjs → javascript-DilE9EuZ.mjs} +0 -0
  184. /package/dist/chunks/{json-BI17y-1H.mjs → json-LUtHrtDA.mjs} +0 -0
  185. /package/dist/chunks/{ka-BueyosRh.mjs → ka-BnjXwPUq.mjs} +0 -0
  186. /package/dist/chunks/{katex-CmTPfM0f.mjs → katex-B8jUB5Cv.mjs} +0 -0
  187. /package/dist/chunks/{km-B0K891yW.mjs → km-exgzZBIE.mjs} +0 -0
  188. /package/dist/chunks/{kn-BQ__skg8.mjs → kn-DjjUg8aO.mjs} +0 -0
  189. /package/dist/chunks/{ko-BuPxi_7e.mjs → ko-Cu0YUSV6.mjs} +0 -0
  190. /package/dist/chunks/{kotlin-DjnvsrfO.mjs → kotlin-DFLPXbOQ.mjs} +0 -0
  191. /package/dist/chunks/{ku-nQjwPRw2.mjs → ku-D-IxJ0fx.mjs} +0 -0
  192. /package/dist/chunks/{lo-K5NVFoq1.mjs → lo-BcwjJBcv.mjs} +0 -0
  193. /package/dist/chunks/{lt-D3xD6Eb2.mjs → lt-Bt05MFPC.mjs} +0 -0
  194. /package/dist/chunks/{lv-DH13mzZj.mjs → lv-B01TmEFW.mjs} +0 -0
  195. /package/dist/chunks/{markdown-BqQYT45f.mjs → markdown-C6pnqcPd.mjs} +0 -0
  196. /package/dist/chunks/{mdast-util-math-BlK2Zu-1.mjs → mdast-util-math-D56mMxhB.mjs} +0 -0
  197. /package/dist/chunks/{mermaid-vF0cEnZ0.mjs → mermaid-BKA834jS.mjs} +0 -0
  198. /package/dist/chunks/{messages-Buwm8xrX2.mjs → messages--G2XLc8E.mjs} +0 -0
  199. /package/dist/chunks/{messages-DKjUcEfs.mjs → messages-3kHDtQLN.mjs} +0 -0
  200. /package/dist/chunks/{messages-f-YBthdd2.mjs → messages-4Y8dL_1j2.mjs} +0 -0
  201. /package/dist/chunks/{messages--tSqMtkx2.mjs → messages-9Nx7kteY2.mjs} +0 -0
  202. /package/dist/chunks/{messages-B5ZVSxG4.mjs → messages-B29Wm2zT.mjs} +0 -0
  203. /package/dist/chunks/{messages-CDtmVcBc.mjs → messages-B9mzGzZ_.mjs} +0 -0
  204. /package/dist/chunks/{messages-B9PUHq4t.mjs → messages-BCfsOOlp.mjs} +0 -0
  205. /package/dist/chunks/{messages-adEATsLK.mjs → messages-BJTwY1tq.mjs} +0 -0
  206. /package/dist/chunks/{messages-DqGv-lj6.mjs → messages-BK6AwU6C.mjs} +0 -0
  207. /package/dist/chunks/{messages-DGYjioKM.mjs → messages-BPxMr5HC.mjs} +0 -0
  208. /package/dist/chunks/{messages-DKZHsfXy2.mjs → messages-BS9zk4mI2.mjs} +0 -0
  209. /package/dist/chunks/{messages-CEWKcK-Q.mjs → messages-BSXBVdsp.mjs} +0 -0
  210. /package/dist/chunks/{messages-gNK1EolD.mjs → messages-BSyO1EWC.mjs} +0 -0
  211. /package/dist/chunks/{messages-DggaAu362.mjs → messages-BUQTXTew2.mjs} +0 -0
  212. /package/dist/chunks/{messages-Bg8uBETk2.mjs → messages-Bhn5V9FQ2.mjs} +0 -0
  213. /package/dist/chunks/{messages-bteFpBer.mjs → messages-Bi629xgG.mjs} +0 -0
  214. /package/dist/chunks/{messages-Dle6Hv30.mjs → messages-BimpUMRx.mjs} +0 -0
  215. /package/dist/chunks/{messages-Bedied602.mjs → messages-BkaUIuz-2.mjs} +0 -0
  216. /package/dist/chunks/{messages-DIUegdwv2.mjs → messages-BmC2yhsC2.mjs} +0 -0
  217. /package/dist/chunks/{messages-Blg1X6YL.mjs → messages-Bo7Cbk_O.mjs} +0 -0
  218. /package/dist/chunks/{messages-CdWS0hvw.mjs → messages-Bq7fo8X0.mjs} +0 -0
  219. /package/dist/chunks/{messages-3w1e16T2.mjs → messages-BsqBho4T.mjs} +0 -0
  220. /package/dist/chunks/{messages-BqKIunt0.mjs → messages-C7E8C3-S.mjs} +0 -0
  221. /package/dist/chunks/{messages-JRjsu_bC.mjs → messages-C9QhLDA2.mjs} +0 -0
  222. /package/dist/chunks/{messages-D5lY22F4.mjs → messages-C9UIaF6N.mjs} +0 -0
  223. /package/dist/chunks/{messages-BmDMK9Dg.mjs → messages-CAX3qQi0.mjs} +0 -0
  224. /package/dist/chunks/{messages-CrCalcxK.mjs → messages-CEJtxBxU.mjs} +0 -0
  225. /package/dist/chunks/{messages-D5NWb-B9.mjs → messages-CF0SW1zy.mjs} +0 -0
  226. /package/dist/chunks/{messages--X-ZzYSb.mjs → messages-CIre8L_r.mjs} +0 -0
  227. /package/dist/chunks/{messages-DalLfJNC.mjs → messages-CJ8IkF1P.mjs} +0 -0
  228. /package/dist/chunks/{messages-b8XGiuAa2.mjs → messages-CKP6aUXN2.mjs} +0 -0
  229. /package/dist/chunks/{messages-DlTG06-j.mjs → messages-CMMq-u7e.mjs} +0 -0
  230. /package/dist/chunks/{messages-ByHXyVi6.mjs → messages-CR5irc8q.mjs} +0 -0
  231. /package/dist/chunks/{messages-IjEU7XAq.mjs → messages-CRH0RWBs.mjs} +0 -0
  232. /package/dist/chunks/{messages-DpnhbDoK2.mjs → messages-CWm_2RvD2.mjs} +0 -0
  233. /package/dist/chunks/{messages-cR48x2Aq2.mjs → messages-CY76MvbX2.mjs} +0 -0
  234. /package/dist/chunks/{messages-Dk-d3mmM.mjs → messages-CpLq4ZZg.mjs} +0 -0
  235. /package/dist/chunks/{messages-C9HPruJj2.mjs → messages-CrpOkt8c2.mjs} +0 -0
  236. /package/dist/chunks/{messages-CmGixnBb2.mjs → messages-D3fu2FHB2.mjs} +0 -0
  237. /package/dist/chunks/{messages-CXjSY5Fy.mjs → messages-D6_I0L06.mjs} +0 -0
  238. /package/dist/chunks/{messages-DgoJDjHm.mjs → messages-DHzT8CZv.mjs} +0 -0
  239. /package/dist/chunks/{messages-BmDw1fZF2.mjs → messages-DIVQmVS92.mjs} +0 -0
  240. /package/dist/chunks/{messages-DSMFg80t.mjs → messages-DJYT0upW.mjs} +0 -0
  241. /package/dist/chunks/{messages-DIH2U0ZD.mjs → messages-DPcc6xp-.mjs} +0 -0
  242. /package/dist/chunks/{messages-D3wlt9eE.mjs → messages-Dass0QsQ.mjs} +0 -0
  243. /package/dist/chunks/{messages-vqR3RAU4.mjs → messages-DcUYfD6m.mjs} +0 -0
  244. /package/dist/chunks/{messages-BAxCMQgm.mjs → messages-DfLcy0CY.mjs} +0 -0
  245. /package/dist/chunks/{messages-Cic0Y1z6.mjs → messages-DhoZXmg_.mjs} +0 -0
  246. /package/dist/chunks/{messages-DslnYTHU2.mjs → messages-DiQkvwE32.mjs} +0 -0
  247. /package/dist/chunks/{messages-BvoElEE_.mjs → messages-DmvWmURo.mjs} +0 -0
  248. /package/dist/chunks/{messages-DOPK-Xif2.mjs → messages-Dobxrshu2.mjs} +0 -0
  249. /package/dist/chunks/{messages-BKeL1zk-2.mjs → messages-DsMIxm6I2.mjs} +0 -0
  250. /package/dist/chunks/{messages-BHUQs6402.mjs → messages-DtssWM8x2.mjs} +0 -0
  251. /package/dist/chunks/{messages-BIXCvkbG.mjs → messages-E1tsNNG5.mjs} +0 -0
  252. /package/dist/chunks/{messages-BDhWRN6Y.mjs → messages-PFfYbqlm.mjs} +0 -0
  253. /package/dist/chunks/{messages-DT6eM0I22.mjs → messages-bIzBNzdr2.mjs} +0 -0
  254. /package/dist/chunks/{messages-W2zpf0Mu2.mjs → messages-dGYum7sj2.mjs} +0 -0
  255. /package/dist/chunks/{messages-B5BaA6AV.mjs → messages-kKXlI5xZ.mjs} +0 -0
  256. /package/dist/chunks/{messages-BGpx2ecP2.mjs → messages-mo5OrbVj2.mjs} +0 -0
  257. /package/dist/chunks/{messages-DZTQIS9F.mjs → messages-nAdoEqRi.mjs} +0 -0
  258. /package/dist/chunks/{messages-wSX_4fK1.mjs → messages-rNLuCrAb.mjs} +0 -0
  259. /package/dist/chunks/{messages-PkO_43Eb.mjs → messages-v26RM5PC.mjs} +0 -0
  260. /package/dist/chunks/{messages-fUpUvsRN.mjs → messages-x0kzc2oy.mjs} +0 -0
  261. /package/dist/chunks/{messages-DoD9yWMu2.mjs → messages-x6y6csd52.mjs} +0 -0
  262. /package/dist/chunks/{messages-DhgEjOjw2.mjs → messages-x_eMclsl2.mjs} +0 -0
  263. /package/dist/chunks/{messages-BszGK0ox.mjs → messages-z5pham9o.mjs} +0 -0
  264. /package/dist/chunks/{messages-CRLvJfNU2.mjs → messages-zcqQ8x232.mjs} +0 -0
  265. /package/dist/chunks/{mk-Bb48BcDA.mjs → mk-DlZNyDhn.mjs} +0 -0
  266. /package/dist/chunks/{ml-BHPEj1kD.mjs → ml-CizMIOxl.mjs} +0 -0
  267. /package/dist/chunks/{mn-BNGzpdI6.mjs → mn-B_pDvxok.mjs} +0 -0
  268. /package/dist/chunks/{mr-D5PgU-cH.mjs → mr-D8D_7YmW.mjs} +0 -0
  269. /package/dist/chunks/{ms-DPkxqKz5.mjs → ms-CM93I8ec.mjs} +0 -0
  270. /package/dist/chunks/{my-DZGcyfxy.mjs → my-BGnGdDAV.mjs} +0 -0
  271. /package/dist/chunks/{ne-BU_Wh4Wv.mjs → ne-C6ZmmqhH.mjs} +0 -0
  272. /package/dist/chunks/{nl-DtAPk1mK.mjs → nl-UGFOU80W.mjs} +0 -0
  273. /package/dist/chunks/{no-CdW3n3BY.mjs → no-as-DKhC4.mjs} +0 -0
  274. /package/dist/chunks/{notifier-CuvTt9pe.mjs → notifier-PpnFhM0m.mjs} +0 -0
  275. /package/dist/chunks/{one-light-DmNO_Y4X.mjs → one-light-Di_o5Kb7.mjs} +0 -0
  276. /package/dist/chunks/{pa-BacCHz87.mjs → pa-DiOAveAI.mjs} +0 -0
  277. /package/dist/chunks/{path-rIMjg_tH.mjs → path-7pA19U_d.mjs} +0 -0
  278. /package/dist/chunks/{pl-8zBJbmhZ.mjs → pl-DXk8ye3B.mjs} +0 -0
  279. /package/dist/chunks/{ps-c6nGXD-W.mjs → ps-CuxilZ3F.mjs} +0 -0
  280. /package/dist/chunks/{pt-B5yR8Qhr.mjs → pt-DsT6E77q.mjs} +0 -0
  281. /package/dist/chunks/{python-DfwfY9t5.mjs → python-DYiHKGPV.mjs} +0 -0
  282. /package/dist/chunks/{r-BD2D7qEW.mjs → r-BZ4pC-Uz.mjs} +0 -0
  283. /package/dist/chunks/{ro-Nscylsqb.mjs → ro-CcAQOL-B.mjs} +0 -0
  284. /package/dist/chunks/{rough.esm-cmMIcj7N.mjs → rough.esm-BPA_YwbP.mjs} +0 -0
  285. /package/dist/chunks/{ru-DxERQkVJ.mjs → ru-hD41D0Fd.mjs} +0 -0
  286. /package/dist/chunks/{rust-DEDueB5R.mjs → rust-Db_HEGL5.mjs} +0 -0
  287. /package/dist/chunks/{scala-CsjqvxE4.mjs → scala-B1kK21mu.mjs} +0 -0
  288. /package/dist/chunks/{sd-5z-QY3q9.mjs → sd-Biu7f00A.mjs} +0 -0
  289. /package/dist/chunks/{shellscript-Bh5zEpnQ.mjs → shellscript-BBh7AxMC.mjs} +0 -0
  290. /package/dist/chunks/{si-DTL0mzrx.mjs → si-Bhto6prC.mjs} +0 -0
  291. /package/dist/chunks/{sk-DrGczTvY.mjs → sk-Ce7J4sHX.mjs} +0 -0
  292. /package/dist/chunks/{sl-D8nJjig4.mjs → sl-Fz7idR9w.mjs} +0 -0
  293. /package/dist/chunks/{sq-C74Hm3YL.mjs → sq-CnLb3bAQ.mjs} +0 -0
  294. /package/dist/chunks/{sql-D9CrOi1i.mjs → sql-DHkazX4B.mjs} +0 -0
  295. /package/dist/chunks/{sr-DAwB05Gj.mjs → sr-Bc5JbF-b.mjs} +0 -0
  296. /package/dist/chunks/{src-DVJl6f6s.mjs → src-B3rrEIze.mjs} +0 -0
  297. /package/dist/chunks/{sv-BkHBsN4y.mjs → sv-B86P2LyK.mjs} +0 -0
  298. /package/dist/chunks/{sw-BBQLTq_z.mjs → sw-CnQXriTg.mjs} +0 -0
  299. /package/dist/chunks/{swift-Dpyt0s2c.mjs → swift-DZdprfb-.mjs} +0 -0
  300. /package/dist/chunks/{ta-DRRzdKky.mjs → ta-CG4BbxjE.mjs} +0 -0
  301. /package/dist/chunks/{te-CedXLsKM.mjs → te-CkE35V1X.mjs} +0 -0
  302. /package/dist/chunks/{th-DDOlGA0W.mjs → th-BCtkHu3E.mjs} +0 -0
  303. /package/dist/chunks/{tr-ClgvwOlL.mjs → tr-D5Cexvko.mjs} +0 -0
  304. /package/dist/chunks/{typescript-DO5cd4m8.mjs → typescript-DhtGMhWX.mjs} +0 -0
  305. /package/dist/chunks/{ug-bXxwiinM.mjs → ug-Bt9xMT4p.mjs} +0 -0
  306. /package/dist/chunks/{uk-Dp46o_VT.mjs → uk-D1g7UV0v.mjs} +0 -0
  307. /package/dist/chunks/{ur-MfEEhdFq.mjs → ur-B69faQh_.mjs} +0 -0
  308. /package/dist/chunks/{vi-bt-3LPGO.mjs → vi--gW42cZG.mjs} +0 -0
  309. /package/dist/chunks/{vitesse-dark-CcorSKT2.mjs → vitesse-dark-B5oAIYZ5.mjs} +0 -0
  310. /package/dist/chunks/{yaml-CrNNZyLb.mjs → yaml-T4MCc8o4.mjs} +0 -0
  311. /package/dist/chunks/{zh-Dgyb5Ly8.mjs → zh-DgQ6P8Lu.mjs} +0 -0
@@ -4,6 +4,7 @@ import {API, LogLevels, OutputData} from '../index';
4
4
  import {SanitizerConfig} from './sanitizer-config';
5
5
  import {I18nConfig} from './i18n-config';
6
6
  import { BlockMutationEvent } from '../events/block';
7
+ import type { UserInfo } from './user-info';
7
8
 
8
9
  /**
9
10
  * Data model format for input/output
@@ -202,12 +203,21 @@ export interface BlokConfig {
202
203
 
203
204
  /**
204
205
  * User identity for edit tracking.
205
- * When set, the user's name is recorded on each block they edit.
206
+ * When set, the user's ID is recorded on each block they edit.
206
207
  */
207
208
  user?: {
208
209
  /**
209
- * Display name shown in the "Last edited by" footer in block settings.
210
+ * Stable unique identifier for the current editor.
211
+ * Stored on each block the user edits.
210
212
  */
211
- name: string;
213
+ id: string;
212
214
  };
215
+
216
+ /**
217
+ * Resolves a user ID to display information.
218
+ * Called when Blok needs to show who edited a block (e.g., block settings footer).
219
+ * Can return synchronously or asynchronously.
220
+ * Return null/undefined for unknown users — Blok will fall back to showing only the date.
221
+ */
222
+ resolveUser?: (id: string) => UserInfo | Promise<UserInfo | null> | null;
213
223
  }
@@ -5,3 +5,4 @@ export * from './conversion-config';
5
5
  export * from './log-levels';
6
6
  export * from './i18n-config';
7
7
  export * from './i18n-dictionary';
8
+ export * from './user-info';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Display information for a user, returned by the resolveUser callback.
3
+ * The host application can attach any additional fields beyond `name`.
4
+ */
5
+ export interface UserInfo {
6
+ /**
7
+ * Display name for the user.
8
+ * This is the only field Blok reads — shown in the "Last edited by" footer.
9
+ */
10
+ name: string;
11
+
12
+ /** Host app can attach any additional fields */
13
+ [key: string]: unknown;
14
+ }
@@ -50,8 +50,8 @@ export interface OutputBlockData<Type extends string = string, Data extends obje
50
50
  lastEditedAt?: number;
51
51
 
52
52
  /**
53
- * Display name of the user who last edited this block.
54
- * Set from the `user.name` config option. Omit if no user is configured.
53
+ * ID of the user who last edited this block.
54
+ * Set from the `user.id` config option. Omit if no user is configured.
55
55
  */
56
56
  lastEditedBy?: string;
57
57
  }
package/types/index.d.ts CHANGED
@@ -83,6 +83,7 @@ export {
83
83
  Dictionary,
84
84
  DictValue,
85
85
  I18nConfig,
86
+ UserInfo,
86
87
  } from './configs';
87
88
 
88
89
  export * from './utils/popover';
@@ -1,410 +0,0 @@
1
- import { $ as e, A as t, C as n, D as r, E as i, G as a, H as o, I as s, K as c, M as l, N as u, P as d, R as f, S as p, T as m, U as ee, V as h, X as g, Y as _, ct as v, dt as y, et as te, f as ne, ft as re, h as b, j as ie, k as ae, lt as oe, mt as se, nt as x, ot as ce, pt as le, q as S, st as C, ut as w, v as ue, w as de, z as fe } from "./_baseUniq-gAuHRtRF.mjs";
2
- //#region node_modules/lodash-es/_trimmedEndIndex.js
3
- var pe = /\s/;
4
- function me(e) {
5
- for (var t = e.length; t-- && pe.test(e.charAt(t)););
6
- return t;
7
- }
8
- //#endregion
9
- //#region node_modules/lodash-es/_baseTrim.js
10
- var he = /^\s+/;
11
- function ge(e) {
12
- return e && e.slice(0, me(e) + 1).replace(he, "");
13
- }
14
- //#endregion
15
- //#region node_modules/lodash-es/toNumber.js
16
- var T = NaN, _e = /^[-+]0x[0-9a-f]+$/i, ve = /^0b[01]+$/i, ye = /^0o[0-7]+$/i, be = parseInt;
17
- function xe(e) {
18
- if (typeof e == "number") return e;
19
- if (w(e)) return T;
20
- if (C(e)) {
21
- var t = typeof e.valueOf == "function" ? e.valueOf() : e;
22
- e = C(t) ? t + "" : t;
23
- }
24
- if (typeof e != "string") return e === 0 ? e : +e;
25
- e = ge(e);
26
- var n = ve.test(e);
27
- return n || ye.test(e) ? be(e.slice(2), n ? 2 : 8) : _e.test(e) ? T : +e;
28
- }
29
- //#endregion
30
- //#region node_modules/lodash-es/toFinite.js
31
- var E = Infinity, Se = 17976931348623157e292;
32
- function D(e) {
33
- return e ? (e = xe(e), e === E || e === -E ? (e < 0 ? -1 : 1) * Se : e === e ? e : 0) : e === 0 ? e : 0;
34
- }
35
- //#endregion
36
- //#region node_modules/lodash-es/toInteger.js
37
- function O(e) {
38
- var t = D(e), n = t % 1;
39
- return t === t ? n ? t - n : t : 0;
40
- }
41
- //#endregion
42
- //#region node_modules/lodash-es/_baseCreate.js
43
- var Ce = Object.create, we = function() {
44
- function e() {}
45
- return function(t) {
46
- if (!C(t)) return {};
47
- if (Ce) return Ce(t);
48
- e.prototype = t;
49
- var n = new e();
50
- return e.prototype = void 0, n;
51
- };
52
- }();
53
- //#endregion
54
- //#region node_modules/lodash-es/_copyArray.js
55
- function Te(e, t) {
56
- var n = -1, r = e.length;
57
- for (t || (t = Array(r)); ++n < r;) t[n] = e[n];
58
- return t;
59
- }
60
- //#endregion
61
- //#region node_modules/lodash-es/_baseAssignValue.js
62
- function k(e, t, n) {
63
- t == "__proto__" && x ? x(e, t, {
64
- configurable: !0,
65
- enumerable: !0,
66
- value: n,
67
- writable: !0
68
- }) : e[t] = n;
69
- }
70
- //#endregion
71
- //#region node_modules/lodash-es/_assignValue.js
72
- var Ee = Object.prototype.hasOwnProperty;
73
- function A(e, t, n) {
74
- var r = e[t];
75
- (!(Ee.call(e, t) && _(r, n)) || n === void 0 && !(t in e)) && k(e, t, n);
76
- }
77
- //#endregion
78
- //#region node_modules/lodash-es/_copyObject.js
79
- function j(e, t, n, r) {
80
- var i = !n;
81
- n || (n = {});
82
- for (var a = -1, o = t.length; ++a < o;) {
83
- var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
84
- c === void 0 && (c = e[s]), i ? k(n, s, c) : A(n, s, c);
85
- }
86
- return n;
87
- }
88
- //#endregion
89
- //#region node_modules/lodash-es/_isIterateeCall.js
90
- function M(e, t, n) {
91
- if (!C(n)) return !1;
92
- var r = typeof t;
93
- return (r == "number" ? c(n) && g(t, n.length) : r == "string" && t in n) ? _(n[t], e) : !1;
94
- }
95
- //#endregion
96
- //#region node_modules/lodash-es/_createAssigner.js
97
- function De(e) {
98
- return S(function(t, n) {
99
- var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
100
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && M(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
101
- var s = n[r];
102
- s && e(t, s, r, a);
103
- }
104
- return t;
105
- });
106
- }
107
- //#endregion
108
- //#region node_modules/lodash-es/_nativeKeysIn.js
109
- function Oe(e) {
110
- var t = [];
111
- if (e != null) for (var n in Object(e)) t.push(n);
112
- return t;
113
- }
114
- //#endregion
115
- //#region node_modules/lodash-es/_baseKeysIn.js
116
- var ke = Object.prototype.hasOwnProperty;
117
- function Ae(e) {
118
- if (!C(e)) return Oe(e);
119
- var t = a(e), n = [];
120
- for (var r in e) r == "constructor" && (t || !ke.call(e, r)) || n.push(r);
121
- return n;
122
- }
123
- //#endregion
124
- //#region node_modules/lodash-es/keysIn.js
125
- function N(e) {
126
- return c(e) ? fe(e, !0) : Ae(e);
127
- }
128
- //#endregion
129
- //#region node_modules/lodash-es/flatten.js
130
- function je(e) {
131
- return e != null && e.length ? t(e, 1) : [];
132
- }
133
- //#endregion
134
- //#region node_modules/lodash-es/_getPrototype.js
135
- var P = f(Object.getPrototypeOf, Object);
136
- //#endregion
137
- //#region node_modules/lodash-es/_baseAssign.js
138
- function Me(e, t) {
139
- return e && j(t, s(t), e);
140
- }
141
- //#endregion
142
- //#region node_modules/lodash-es/_baseAssignIn.js
143
- function Ne(e, t) {
144
- return e && j(t, N(t), e);
145
- }
146
- //#endregion
147
- //#region node_modules/lodash-es/_cloneBuffer.js
148
- var F = typeof exports == "object" && exports && !exports.nodeType && exports, I = F && typeof module == "object" && module && !module.nodeType && module, L = I && I.exports === F ? se.Buffer : void 0, R = L ? L.allocUnsafe : void 0;
149
- function z(e, t) {
150
- if (t) return e.slice();
151
- var n = e.length, r = R ? R(n) : new e.constructor(n);
152
- return e.copy(r), r;
153
- }
154
- //#endregion
155
- //#region node_modules/lodash-es/_copySymbols.js
156
- function Pe(e, t) {
157
- return j(e, i(e), t);
158
- }
159
- //#endregion
160
- //#region node_modules/lodash-es/_getSymbolsIn.js
161
- var B = Object.getOwnPropertySymbols ? function(e) {
162
- for (var t = []; e;) ie(t, i(e)), e = P(e);
163
- return t;
164
- } : r;
165
- //#endregion
166
- //#region node_modules/lodash-es/_copySymbolsIn.js
167
- function Fe(e, t) {
168
- return j(e, B(e), t);
169
- }
170
- //#endregion
171
- //#region node_modules/lodash-es/_getAllKeysIn.js
172
- function V(e) {
173
- return m(e, N, B);
174
- }
175
- //#endregion
176
- //#region node_modules/lodash-es/_initCloneArray.js
177
- var Ie = Object.prototype.hasOwnProperty;
178
- function Le(e) {
179
- var t = e.length, n = new e.constructor(t);
180
- return t && typeof e[0] == "string" && Ie.call(e, "index") && (n.index = e.index, n.input = e.input), n;
181
- }
182
- //#endregion
183
- //#region node_modules/lodash-es/_cloneArrayBuffer.js
184
- function H(e) {
185
- var t = new e.constructor(e.byteLength);
186
- return new p(t).set(new p(e)), t;
187
- }
188
- //#endregion
189
- //#region node_modules/lodash-es/_cloneDataView.js
190
- function Re(e, t) {
191
- var n = t ? H(e.buffer) : e.buffer;
192
- return new e.constructor(n, e.byteOffset, e.byteLength);
193
- }
194
- //#endregion
195
- //#region node_modules/lodash-es/_cloneRegExp.js
196
- var ze = /\w*$/;
197
- function Be(e) {
198
- var t = new e.constructor(e.source, ze.exec(e));
199
- return t.lastIndex = e.lastIndex, t;
200
- }
201
- //#endregion
202
- //#region node_modules/lodash-es/_cloneSymbol.js
203
- var U = le ? le.prototype : void 0, W = U ? U.valueOf : void 0;
204
- function Ve(e) {
205
- return W ? Object(W.call(e)) : {};
206
- }
207
- //#endregion
208
- //#region node_modules/lodash-es/_cloneTypedArray.js
209
- function G(e, t) {
210
- var n = t ? H(e.buffer) : e.buffer;
211
- return new e.constructor(n, e.byteOffset, e.length);
212
- }
213
- //#endregion
214
- //#region node_modules/lodash-es/_initCloneByTag.js
215
- var He = "[object Boolean]", Ue = "[object Date]", We = "[object Map]", Ge = "[object Number]", Ke = "[object RegExp]", qe = "[object Set]", Je = "[object String]", Ye = "[object Symbol]", Xe = "[object ArrayBuffer]", Ze = "[object DataView]", Qe = "[object Float32Array]", $e = "[object Float64Array]", et = "[object Int8Array]", tt = "[object Int16Array]", nt = "[object Int32Array]", rt = "[object Uint8Array]", it = "[object Uint8ClampedArray]", at = "[object Uint16Array]", ot = "[object Uint32Array]";
216
- function st(e, t, n) {
217
- var r = e.constructor;
218
- switch (t) {
219
- case Xe: return H(e);
220
- case He:
221
- case Ue: return new r(+e);
222
- case Ze: return Re(e, n);
223
- case Qe:
224
- case $e:
225
- case et:
226
- case tt:
227
- case nt:
228
- case rt:
229
- case it:
230
- case at:
231
- case ot: return G(e, n);
232
- case We: return new r();
233
- case Ge:
234
- case Je: return new r(e);
235
- case Ke: return Be(e);
236
- case qe: return new r();
237
- case Ye: return Ve(e);
238
- }
239
- }
240
- //#endregion
241
- //#region node_modules/lodash-es/_initCloneObject.js
242
- function K(e) {
243
- return typeof e.constructor == "function" && !a(e) ? we(P(e)) : {};
244
- }
245
- //#endregion
246
- //#region node_modules/lodash-es/_baseIsMap.js
247
- var ct = "[object Map]";
248
- function lt(e) {
249
- return y(e) && n(e) == ct;
250
- }
251
- //#endregion
252
- //#region node_modules/lodash-es/isMap.js
253
- var q = h && h.isMap, ut = q ? o(q) : lt, dt = "[object Set]";
254
- function ft(e) {
255
- return y(e) && n(e) == dt;
256
- }
257
- //#endregion
258
- //#region node_modules/lodash-es/isSet.js
259
- var J = h && h.isSet, pt = J ? o(J) : ft, mt = 1, ht = 2, gt = 4, Y = "[object Arguments]", _t = "[object Array]", vt = "[object Boolean]", yt = "[object Date]", bt = "[object Error]", X = "[object Function]", xt = "[object GeneratorFunction]", St = "[object Map]", Ct = "[object Number]", Z = "[object Object]", wt = "[object RegExp]", Tt = "[object Set]", Et = "[object String]", Dt = "[object Symbol]", Ot = "[object WeakMap]", kt = "[object ArrayBuffer]", At = "[object DataView]", jt = "[object Float32Array]", Mt = "[object Float64Array]", Nt = "[object Int8Array]", Pt = "[object Int16Array]", Ft = "[object Int32Array]", It = "[object Uint8Array]", Lt = "[object Uint8ClampedArray]", Rt = "[object Uint16Array]", zt = "[object Uint32Array]", Q = {};
260
- Q[Y] = Q[_t] = Q[kt] = Q[At] = Q[vt] = Q[yt] = Q[jt] = Q[Mt] = Q[Nt] = Q[Pt] = Q[Ft] = Q[St] = Q[Ct] = Q[Z] = Q[wt] = Q[Tt] = Q[Et] = Q[Dt] = Q[It] = Q[Lt] = Q[Rt] = Q[zt] = !0, Q[bt] = Q[X] = Q[Ot] = !1;
261
- function $(e, t, r, i, a, o) {
262
- var c, l = t & mt, u = t & ht, d = t & gt;
263
- if (r && (c = a ? r(e, i, a, o) : r(e)), c !== void 0) return c;
264
- if (!C(e)) return e;
265
- var f = v(e);
266
- if (f) {
267
- if (c = Le(e), !l) return Te(e, c);
268
- } else {
269
- var p = n(e), m = p == X || p == xt;
270
- if (ee(e)) return z(e, l);
271
- if (p == Z || p == Y || m && !a) {
272
- if (c = u || m ? {} : K(e), !l) return u ? Fe(e, Ne(c, e)) : Pe(e, Me(c, e));
273
- } else {
274
- if (!Q[p]) return a ? e : {};
275
- c = st(e, p, l);
276
- }
277
- }
278
- o || (o = new ae());
279
- var h = o.get(e);
280
- if (h) return h;
281
- o.set(e, c), pt(e) ? e.forEach(function(n) {
282
- c.add($(n, t, r, n, e, o));
283
- }) : ut(e) && e.forEach(function(n, i) {
284
- c.set(i, $(n, t, r, i, e, o));
285
- });
286
- var g = f ? void 0 : (d ? u ? V : de : u ? N : s)(e);
287
- return te(g || e, function(n, i) {
288
- g && (i = n, n = e[i]), A(c, i, $(n, t, r, i, e, o));
289
- }), c;
290
- }
291
- //#endregion
292
- //#region node_modules/lodash-es/defaults.js
293
- var Bt = Object.prototype, Vt = Bt.hasOwnProperty, Ht = S(function(e, t) {
294
- e = Object(e);
295
- var n = -1, r = t.length, i = r > 2 ? t[2] : void 0;
296
- for (i && M(t[0], t[1], i) && (r = 1); ++n < r;) for (var a = t[n], o = N(a), s = -1, c = o.length; ++s < c;) {
297
- var l = o[s], u = e[l];
298
- (u === void 0 || _(u, Bt[l]) && !Vt.call(e, l)) && (e[l] = a[l]);
299
- }
300
- return e;
301
- });
302
- //#endregion
303
- //#region node_modules/lodash-es/last.js
304
- function Ut(e) {
305
- var t = e == null ? 0 : e.length;
306
- return t ? e[t - 1] : void 0;
307
- }
308
- //#endregion
309
- //#region node_modules/lodash-es/_createFind.js
310
- function Wt(e) {
311
- return function(t, n, r) {
312
- var i = Object(t);
313
- if (!c(t)) {
314
- var a = b(n, 3);
315
- t = s(t), n = function(e) {
316
- return a(i[e], e, i);
317
- };
318
- }
319
- var o = e(t, n, r);
320
- return o > -1 ? i[a ? t[o] : o] : void 0;
321
- };
322
- }
323
- //#endregion
324
- //#region node_modules/lodash-es/findIndex.js
325
- var Gt = Math.max;
326
- function Kt(t, n, r) {
327
- var i = t == null ? 0 : t.length;
328
- if (!i) return -1;
329
- var a = r == null ? 0 : O(r);
330
- return a < 0 && (a = Gt(i + a, 0)), e(t, b(n, 3), a);
331
- }
332
- //#endregion
333
- //#region node_modules/lodash-es/find.js
334
- var qt = Wt(Kt);
335
- //#endregion
336
- //#region node_modules/lodash-es/_baseMap.js
337
- function Jt(e, t) {
338
- var n = -1, r = c(e) ? Array(e.length) : [];
339
- return ne(e, function(e, i, a) {
340
- r[++n] = t(e, i, a);
341
- }), r;
342
- }
343
- //#endregion
344
- //#region node_modules/lodash-es/map.js
345
- function Yt(e, t) {
346
- return (v(e) ? oe : Jt)(e, b(t, 3));
347
- }
348
- //#endregion
349
- //#region node_modules/lodash-es/_baseHas.js
350
- var Xt = Object.prototype.hasOwnProperty;
351
- function Zt(e, t) {
352
- return e != null && Xt.call(e, t);
353
- }
354
- //#endregion
355
- //#region node_modules/lodash-es/has.js
356
- function Qt(e, t) {
357
- return e != null && ue(e, t, Zt);
358
- }
359
- //#endregion
360
- //#region node_modules/lodash-es/isString.js
361
- var $t = "[object String]";
362
- function en(e) {
363
- return typeof e == "string" || !v(e) && y(e) && re(e) == $t;
364
- }
365
- //#endregion
366
- //#region node_modules/lodash-es/_baseLt.js
367
- function tn(e, t) {
368
- return e < t;
369
- }
370
- //#endregion
371
- //#region node_modules/lodash-es/_baseExtremum.js
372
- function nn(e, t, n) {
373
- for (var r = -1, i = e.length; ++r < i;) {
374
- var a = e[r], o = t(a);
375
- if (o != null && (s === void 0 ? o === o && !w(o) : n(o, s))) var s = o, c = a;
376
- }
377
- return c;
378
- }
379
- //#endregion
380
- //#region node_modules/lodash-es/min.js
381
- function rn(e) {
382
- return e && e.length ? nn(e, ce, tn) : void 0;
383
- }
384
- //#endregion
385
- //#region node_modules/lodash-es/_baseSet.js
386
- function an(e, t, n, r) {
387
- if (!C(e)) return e;
388
- t = d(t, e);
389
- for (var i = -1, a = t.length, o = a - 1, s = e; s != null && ++i < a;) {
390
- var c = u(t[i]), l = n;
391
- if (c === "__proto__" || c === "constructor" || c === "prototype") return e;
392
- if (i != o) {
393
- var f = s[c];
394
- l = r ? r(f, c, s) : void 0, l === void 0 && (l = C(f) ? f : g(t[i + 1]) ? [] : {});
395
- }
396
- A(s, c, l), s = s[c];
397
- }
398
- return e;
399
- }
400
- //#endregion
401
- //#region node_modules/lodash-es/_basePickBy.js
402
- function on(e, t, n) {
403
- for (var r = -1, i = t.length, a = {}; ++r < i;) {
404
- var o = t[r], s = l(e, o);
405
- n(s, o) && an(a, d(o, e), s);
406
- }
407
- return a;
408
- }
409
- //#endregion
410
- export { A as C, D, O as E, j as S, Te as T, P as _, en as a, De as b, Jt as c, Ht as d, $ as f, z as g, V as h, tn as i, qt as l, G as m, rn as n, Qt as o, K as p, nn as r, Yt as s, on as t, Ut as u, je as v, k as w, M as x, N as y };