@kinetis/vector-ui 0.11.1 → 0.11.3

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 (233) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/static/200.html +1 -1
  3. package/dist/static/404.html +1 -1
  4. package/dist/static/_nuxt/1aNtrH5X.js +1 -0
  5. package/dist/static/_nuxt/{BvHF-Z-c.js → 2c1vZ90H.js} +1 -1
  6. package/dist/static/_nuxt/{BU5ZZxSI.js → 2oUN-NEf.js} +1 -1
  7. package/dist/static/_nuxt/{DS06smGS.js → 42EY5Fp0.js} +1 -1
  8. package/dist/static/_nuxt/51OWHj8c.js +2 -0
  9. package/dist/static/_nuxt/{B84pnpa0.js → 5WvxG0mj.js} +1 -1
  10. package/dist/static/_nuxt/{CvYs9vdO.js → 9MD1hlLT.js} +1 -1
  11. package/dist/static/_nuxt/9mpX2szp.js +1 -0
  12. package/dist/static/_nuxt/{C9s0nkkI.js → B0GD7QJy.js} +1 -1
  13. package/dist/static/_nuxt/{Cjk5iewy.js → B1-Pqo_7.js} +1 -1
  14. package/dist/static/_nuxt/{CsxNfAL8.js → B1NXg37X.js} +1 -1
  15. package/dist/static/_nuxt/B4joN-Do.js +1 -0
  16. package/dist/static/_nuxt/{704AOQgv.js → B9psIVnP.js} +1 -1
  17. package/dist/static/_nuxt/{BiSoCgYL.js → BBBFJ6ov.js} +1 -1
  18. package/dist/static/_nuxt/{DA90LVQc.js → BFZ46Edz.js} +1 -1
  19. package/dist/static/_nuxt/BFcl4Vn9.js +1 -0
  20. package/dist/static/_nuxt/BH3E4sUK.js +1 -0
  21. package/dist/static/_nuxt/BHPSB5VN.js +1 -0
  22. package/dist/static/_nuxt/{BsuNB234.js → BHcm7bNA.js} +1 -1
  23. package/dist/static/_nuxt/{Cszrg0h8.js → BIv9Nyve.js} +1 -1
  24. package/dist/static/_nuxt/BKpxsGPP.js +1 -0
  25. package/dist/static/_nuxt/{BmETWtxq.js → BKxQp7go.js} +3 -3
  26. package/dist/static/_nuxt/{BpAdDrzk.js → BOc3bd5G.js} +1 -1
  27. package/dist/static/_nuxt/BQKTPMnh.js +1 -0
  28. package/dist/static/_nuxt/BQnpCLjt.js +1 -0
  29. package/dist/static/_nuxt/{DlidQ2Aq.js → BSfpIrlx.js} +1 -1
  30. package/dist/static/_nuxt/{D-oBCPmo.js → BTI9wOw3.js} +1 -1
  31. package/dist/static/_nuxt/BVRr96yG.js +1 -0
  32. package/dist/static/_nuxt/{CZcQaOv1.js → BVjSh6vC.js} +1 -1
  33. package/dist/static/_nuxt/{DVr7GQVt.js → BWrwqNAK.js} +1 -1
  34. package/dist/static/_nuxt/BZweJiQx.js +1 -0
  35. package/dist/static/_nuxt/B_DG2saj.js +1 -0
  36. package/dist/static/_nuxt/B_RjakRk.js +1 -0
  37. package/dist/static/_nuxt/{g4Mjoenv.js → B_fQu_h2.js} +1 -1
  38. package/dist/static/_nuxt/{zi3w18zk.js → BfsupGyC.js} +1 -1
  39. package/dist/static/_nuxt/BgRi2kFj.js +1 -0
  40. package/dist/static/_nuxt/{pevRwwGL.js → BiIirvgR.js} +2 -2
  41. package/dist/static/_nuxt/BkHt6U4C.js +1 -0
  42. package/dist/static/_nuxt/{6XZ9vj4j.js → Bm_wsdTH.js} +1 -1
  43. package/dist/static/_nuxt/{DpBm5g9z.js → BnlaqUIK.js} +1 -1
  44. package/dist/static/_nuxt/BpaVnQT3.js +1 -0
  45. package/dist/static/_nuxt/Bs6-HCEW.js +1 -0
  46. package/dist/static/_nuxt/{DvuSvxCC.js → BtRqSK7K.js} +1 -1
  47. package/dist/static/_nuxt/{BX4Ngs0H.js → Bt_KgVrY.js} +1 -1
  48. package/dist/static/_nuxt/BwHwQnM0.js +1 -0
  49. package/dist/static/_nuxt/BzKz2oL1.js +1 -0
  50. package/dist/static/_nuxt/C-MpSlvO.js +1 -0
  51. package/dist/static/_nuxt/{Ca3ZVEe7.js → C32HLL_3.js} +1 -1
  52. package/dist/static/_nuxt/C3XkRFds.js +1 -0
  53. package/dist/static/_nuxt/{DM8YsT9L.js → C4rsQhBq.js} +1 -1
  54. package/dist/static/_nuxt/{BbqOSiaD.js → C5Ez1FXH.js} +1 -1
  55. package/dist/static/_nuxt/C6FXj6mJ.js +1 -0
  56. package/dist/static/_nuxt/{gXzQcNWB.js → CADHRY6v.js} +1 -1
  57. package/dist/static/_nuxt/CCr9dqOM.js +1 -0
  58. package/dist/static/_nuxt/CEMM7MyS.js +100 -0
  59. package/dist/static/_nuxt/{93QUVg9x.js → CHpNSaGi.js} +1 -1
  60. package/dist/static/_nuxt/CHyInEhw.js +1 -0
  61. package/dist/static/_nuxt/CIQLz04l.js +1 -0
  62. package/dist/static/_nuxt/CJCvPySI.js +1 -0
  63. package/dist/static/_nuxt/{wYohQiph.js → COHV16dX.js} +1 -1
  64. package/dist/static/_nuxt/CPAF2hi7.js +10 -0
  65. package/dist/static/_nuxt/{BHJ6uF5H.js → CQQ-wIWC.js} +1 -1
  66. package/dist/static/_nuxt/CQnAjs6t.js +1 -0
  67. package/dist/static/_nuxt/{BIgwsxdM.js → CRQyQuGt.js} +1 -1
  68. package/dist/static/_nuxt/CSzw4ySZ.js +1 -0
  69. package/dist/static/_nuxt/CTHeqfU5.js +1 -0
  70. package/dist/static/_nuxt/CXIZ5vIr.js +1 -0
  71. package/dist/static/_nuxt/{saFSMwUn.js → CXxZ_oTv.js} +1 -1
  72. package/dist/static/_nuxt/C_2GgX80.js +1 -0
  73. package/dist/static/_nuxt/{CMtLDUtW.js → C_Ouo24Z.js} +1 -1
  74. package/dist/static/_nuxt/{NeV2yZqu.js → C_zyLiGr.js} +1 -1
  75. package/dist/static/_nuxt/{BrZywLMU.js → Cc0_Jvm0.js} +1 -1
  76. package/dist/static/_nuxt/CdjG3WTk.js +1 -0
  77. package/dist/static/_nuxt/ChHm6L68.js +1 -0
  78. package/dist/static/_nuxt/{B9haHkUY.js → Ci1-hOA9.js} +1 -1
  79. package/dist/static/_nuxt/CmQyigb3.js +1 -0
  80. package/dist/static/_nuxt/{BZZ1FAx7.js → CsTzOWPJ.js} +1 -1
  81. package/dist/static/_nuxt/{L-WHmHIv.js → CtrzPVjw.js} +1 -1
  82. package/dist/static/_nuxt/Cuw0Qa9p.js +1 -0
  83. package/dist/static/_nuxt/{Cy7gYmkN.js → CxFDmUjN.js} +20 -20
  84. package/dist/static/_nuxt/Cya8cjkR.js +2 -0
  85. package/dist/static/_nuxt/D-rB2fWZ.js +1 -0
  86. package/dist/static/_nuxt/D7DEE4gN.js +1 -0
  87. package/dist/static/_nuxt/D8kTmNUH.js +1 -0
  88. package/dist/static/_nuxt/{CYenBSuZ.js → D9BNw4XE.js} +1 -1
  89. package/dist/static/_nuxt/{BD9kIZPf.js → DBgKGXIj.js} +1 -1
  90. package/dist/static/_nuxt/DDEIDAa0.js +1 -0
  91. package/dist/static/_nuxt/DFQG9ZD0.js +1 -0
  92. package/dist/static/_nuxt/DFsV0Sjv.js +1 -0
  93. package/dist/static/_nuxt/DGCS1_Oy.js +1 -0
  94. package/dist/static/_nuxt/{CP1X_5v-.js → DGOB4cMy.js} +1 -1
  95. package/dist/static/_nuxt/DI2U4Yky.js +1 -0
  96. package/dist/static/_nuxt/DLzA6Iec.js +1 -0
  97. package/dist/static/_nuxt/DQ1z3A04.js +1 -0
  98. package/dist/static/_nuxt/DR4qylKa.js +1 -0
  99. package/dist/static/_nuxt/DS8Zc0uz.js +1 -0
  100. package/dist/static/_nuxt/DVIiT5EL.js +1 -0
  101. package/dist/static/_nuxt/{DYuO8gvM.js → DVRz0uUW.js} +1 -1
  102. package/dist/static/_nuxt/DZo3dYLJ.js +3 -0
  103. package/dist/static/_nuxt/DZwwQ4WY.js +1 -0
  104. package/dist/static/_nuxt/DcteQ4TC.js +1 -0
  105. package/dist/static/_nuxt/DdqPXmq8.js +1 -0
  106. package/dist/static/_nuxt/Dg_tXu9P.js +1 -0
  107. package/dist/static/_nuxt/DhECW-Pr.js +1 -0
  108. package/dist/static/_nuxt/DjL4J8kw.js +2 -0
  109. package/dist/static/_nuxt/{BX3vnbKN.js → DkQpAs16.js} +1 -1
  110. package/dist/static/_nuxt/DmrPXKlp.js +1 -0
  111. package/dist/static/_nuxt/{B2iJ1o_3.js → Dnv1kjao.js} +1 -1
  112. package/dist/static/_nuxt/{DYAzCAVa.js → Dorn4eG1.js} +1 -1
  113. package/dist/static/_nuxt/DvnG2kZK.js +1 -0
  114. package/dist/static/_nuxt/DzOxWOFX.js +1 -0
  115. package/dist/static/_nuxt/{BaOEsdpg.js → E-mWtnN5.js} +1 -1
  116. package/dist/static/_nuxt/F676SWHd.js +1 -0
  117. package/dist/static/_nuxt/{C6NpYgVC.js → Ge5l3uM8.js} +1 -1
  118. package/dist/static/_nuxt/{jDoGFcUw.js → JjWUotQr.js} +1 -1
  119. package/dist/static/_nuxt/K6puNuXp.js +2 -0
  120. package/dist/static/_nuxt/Lj7y5-JX.js +1 -0
  121. package/dist/static/_nuxt/MAzsrRZz.js +1 -0
  122. package/dist/static/_nuxt/{69zFoWZ_.js → MEvklnEE.js} +1 -1
  123. package/dist/static/_nuxt/{BQpOsqaq.js → OMRlJR6k.js} +1 -1
  124. package/dist/static/_nuxt/ORpfF6Nb.js +1 -0
  125. package/dist/static/_nuxt/R0rf_l_C.js +1 -0
  126. package/dist/static/_nuxt/{BybtooSc.js → RChVezE9.js} +1 -1
  127. package/dist/static/_nuxt/{QG4-_pWI.js → UfoGua8K.js} +1 -1
  128. package/dist/static/_nuxt/VList.DLBes6Xg.css +1 -0
  129. package/dist/static/_nuxt/VProgressCircular.CHg-6LCa.css +1 -0
  130. package/dist/static/_nuxt/VProgressLinear.QSXru69E.css +1 -0
  131. package/dist/static/_nuxt/VRow.B-PxQg6o.css +1 -0
  132. package/dist/static/_nuxt/VSelect.4i15hLH6.css +1 -0
  133. package/dist/static/_nuxt/VSelectionControl.B4WFlrqD.css +1 -0
  134. package/dist/static/_nuxt/VTabs.buBMAvtA.css +1 -0
  135. package/dist/static/_nuxt/{CUiMQC3Z.js → bmIlMXFn.js} +1 -1
  136. package/dist/static/_nuxt/builds/latest.json +1 -1
  137. package/dist/static/_nuxt/builds/meta/ba4cc360-829e-4272-bb1c-7391e700bb32.json +1 -0
  138. package/dist/static/_nuxt/cDe9iywT.js +1 -0
  139. package/dist/static/_nuxt/{B4cVd0we.js → csgWgQhm.js} +1 -1
  140. package/dist/static/_nuxt/{entry.C1pc8lLu.css → entry.BW8eGVIg.css} +1 -1
  141. package/dist/static/_nuxt/error-404.B1_4-op0.css +1 -0
  142. package/dist/static/_nuxt/error-500.ueligmdw.css +1 -0
  143. package/dist/static/_nuxt/{GcJARbV4.js → go_nGSOr.js} +1 -1
  144. package/dist/static/_nuxt/iEEDTq6e.js +1 -0
  145. package/dist/static/_nuxt/{CwwYMGxb.js → mtQhqX_4.js} +1 -1
  146. package/dist/static/_nuxt/{CElnT3Ea.js → qpVO-NAo.js} +1 -1
  147. package/dist/static/_nuxt/rSRjHK_a.js +1 -0
  148. package/dist/static/_nuxt/rSy2G_Qb.js +1 -0
  149. package/dist/static/_nuxt/{vector.Ib8iLFrj.css → vector.ClRRJOjR.css} +1 -1
  150. package/dist/static/_nuxt/xkua0wtW.js +1 -0
  151. package/dist/static/index.html +1 -1
  152. package/dist/static/jobs/index.html +1 -1
  153. package/dist/static/login/index.html +1 -1
  154. package/dist/static/settings/index.html +1 -1
  155. package/dist/static/vector-bundle.json +155 -149
  156. package/package.json +8 -8
  157. package/dist/static/_nuxt/1Wg893CJ.js +0 -2
  158. package/dist/static/_nuxt/3cwKifVI.js +0 -1
  159. package/dist/static/_nuxt/B2ZK7XbG.js +0 -1
  160. package/dist/static/_nuxt/B2pW6ekA.js +0 -1
  161. package/dist/static/_nuxt/BBei3q3a.js +0 -1
  162. package/dist/static/_nuxt/BC_L7UUo.js +0 -1
  163. package/dist/static/_nuxt/BGE18wmh.js +0 -1
  164. package/dist/static/_nuxt/BKVNzrl4.js +0 -1
  165. package/dist/static/_nuxt/BMHE9eI3.js +0 -1
  166. package/dist/static/_nuxt/BP_xa6id.js +0 -100
  167. package/dist/static/_nuxt/BUnmJXi2.js +0 -1
  168. package/dist/static/_nuxt/BVzyobUY.js +0 -1
  169. package/dist/static/_nuxt/BeQ1SIR7.js +0 -1
  170. package/dist/static/_nuxt/BfJMvdNP.js +0 -1
  171. package/dist/static/_nuxt/Bj2vN0T9.js +0 -10
  172. package/dist/static/_nuxt/BqDUx8zK.js +0 -1
  173. package/dist/static/_nuxt/BsEAcWqN.js +0 -1
  174. package/dist/static/_nuxt/BuZABq4H.js +0 -1
  175. package/dist/static/_nuxt/BvfcQlwq.js +0 -1
  176. package/dist/static/_nuxt/BxwA8VwS.js +0 -1
  177. package/dist/static/_nuxt/Bxx2DVz5.js +0 -1
  178. package/dist/static/_nuxt/ByOYBmCq.js +0 -1
  179. package/dist/static/_nuxt/C-EQLWId.js +0 -1
  180. package/dist/static/_nuxt/C0qu28Eu.js +0 -1
  181. package/dist/static/_nuxt/C6-lyaez.js +0 -1
  182. package/dist/static/_nuxt/C8M6zdzu.js +0 -1
  183. package/dist/static/_nuxt/C8xgvyo9.js +0 -1
  184. package/dist/static/_nuxt/CEwqGRFH.js +0 -1
  185. package/dist/static/_nuxt/CIM0ajR7.js +0 -1
  186. package/dist/static/_nuxt/CMwYQ92K.js +0 -1
  187. package/dist/static/_nuxt/CPVoOeRV.js +0 -1
  188. package/dist/static/_nuxt/CX8RCGtF.js +0 -1
  189. package/dist/static/_nuxt/CXziPYlW.js +0 -1
  190. package/dist/static/_nuxt/Cdoe66Zd.js +0 -1
  191. package/dist/static/_nuxt/CgjA3YY0.js +0 -1
  192. package/dist/static/_nuxt/CmjaJiRg.js +0 -1
  193. package/dist/static/_nuxt/CvbtZrze.js +0 -1
  194. package/dist/static/_nuxt/Cx1ACnK3.js +0 -2
  195. package/dist/static/_nuxt/D1CkASkf.js +0 -1
  196. package/dist/static/_nuxt/DE8nYAuE.js +0 -1
  197. package/dist/static/_nuxt/DIqqC1EB.js +0 -1
  198. package/dist/static/_nuxt/DItAGJFi.js +0 -1
  199. package/dist/static/_nuxt/DIxSw9NQ.js +0 -1
  200. package/dist/static/_nuxt/DJBZZkxI.js +0 -1
  201. package/dist/static/_nuxt/DKI3Cf8m.js +0 -1
  202. package/dist/static/_nuxt/DLGdZt4R.js +0 -1
  203. package/dist/static/_nuxt/DMxy4sGz.js +0 -1
  204. package/dist/static/_nuxt/DTBUCbOt.js +0 -1
  205. package/dist/static/_nuxt/DVQyySRy.js +0 -1
  206. package/dist/static/_nuxt/DVRkMeDb.js +0 -3
  207. package/dist/static/_nuxt/DaDDSelo.js +0 -1
  208. package/dist/static/_nuxt/Dd3TSBVv.js +0 -1
  209. package/dist/static/_nuxt/DedM_X8L.js +0 -1
  210. package/dist/static/_nuxt/DhF2C9iz.js +0 -1
  211. package/dist/static/_nuxt/DlN2nZBa.js +0 -1
  212. package/dist/static/_nuxt/DmB3Fuvb.js +0 -1
  213. package/dist/static/_nuxt/DmzLSENm.js +0 -1
  214. package/dist/static/_nuxt/Dv0nv4zm.js +0 -1
  215. package/dist/static/_nuxt/Dzuf69-R.js +0 -1
  216. package/dist/static/_nuxt/HNL_HkJH.js +0 -1
  217. package/dist/static/_nuxt/PLkDYH36.js +0 -2
  218. package/dist/static/_nuxt/UDkDGLOZ.js +0 -1
  219. package/dist/static/_nuxt/UpSSkYPx.js +0 -1
  220. package/dist/static/_nuxt/VList.-4d3zhl1.css +0 -1
  221. package/dist/static/_nuxt/VProgressLinear.DJ_RCe6L.css +0 -1
  222. package/dist/static/_nuxt/VRow.CqfueTd7.css +0 -1
  223. package/dist/static/_nuxt/VSelect.CuBPwPXI.css +0 -1
  224. package/dist/static/_nuxt/VSelectionControl.DhiKR_Yu.css +0 -1
  225. package/dist/static/_nuxt/VTabs.Bt5lJEqb.css +0 -1
  226. package/dist/static/_nuxt/XOH5_ek4.js +0 -1
  227. package/dist/static/_nuxt/builds/meta/755e9ed8-4ffb-4390-9d94-f8197e95ca6d.json +0 -1
  228. package/dist/static/_nuxt/error-404.DweuTGbQ.css +0 -1
  229. package/dist/static/_nuxt/error-500.CBLdpBQ_.css +0 -1
  230. package/dist/static/_nuxt/ftNSi8op.js +0 -1
  231. package/dist/static/_nuxt/gTiVm3t5.js +0 -2
  232. package/dist/static/_nuxt/rRvgHT1I.js +0 -2
  233. package/dist/static/_nuxt/wYGZ1W5f.js +0 -1
@@ -0,0 +1,100 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C6FXj6mJ.js","./BiIirvgR.js","./BBBFJ6ov.js","./DZo3dYLJ.js","./BW3xJdEx.js","./go_nGSOr.js","./BDLrTt6l.js","./DLzA6Iec.js","./DmrPXKlp.js","./cDe9iywT.js","./CPAF2hi7.js","./51OWHj8c.js","./BQnpCLjt.js","./D-rB2fWZ.js","./E-mWtnN5.js","./DBgKGXIj.js","./B4joN-Do.js","./CTHeqfU5.js","./csgWgQhm.js","./Dnv1kjao.js","./CJCvPySI.js","./D7DEE4gN.js","./B_DG2saj.js","./CQQ-wIWC.js","./BIv9Nyve.js","./BHPSB5VN.js","./CmQyigb3.js","./OMRlJR6k.js","./Dg_tXu9P.js","./CIQLz04l.js","./bmIlMXFn.js","./rSRjHK_a.js","./BHcm7bNA.js","./Lj7y5-JX.js","./B9psIVnP.js","./iEEDTq6e.js","./BVjSh6vC.js","./DVIiT5EL.js","./BKlyjday.js","./COHV16dX.js","./xkua0wtW.js","./C_2GgX80.js","./rSy2G_Qb.js","./DR4qylKa.js","./DI2U4Yky.js","./CRQyQuGt.js","./DQ1z3A04.js","./Dorn4eG1.js","./D9BNw4XE.js","./BFZ46Edz.js","./Cya8cjkR.js","./CHyInEhw.js","./UfoGua8K.js","./Ci1-hOA9.js","./Cuw0Qa9p.js","./VIcon.DTxGzRyY.css","./ripple.BF-Re9AG.css","./VBreadcrumbs.wcEtvk8_.css","./VImg.DG7aP0kv.css","./VEmptyState.CUCeAAw2.css","./VAvatar.DDw3_L_i.css","./VDivider.DvkP_iX7.css","./VList.DLBes6Xg.css","./VOverlay.DObTzQ9r.css","./VMenu.DCy1EQlK.css","./VSlideGroup.BEHBZMHn.css","./VTabs.buBMAvtA.css","./VRow.B-PxQg6o.css","./VSpacer.DfbUir7X.css","./Form.BfskSJ5D.css","./CQnAjs6t.js","./CtrzPVjw.js","./VSkeletonLoader.BXLoM9sb.css","./DdqPXmq8.js","./DcteQ4TC.js","./ORpfF6Nb.js","./BKpxsGPP.js","./DvnG2kZK.js","./9MD1hlLT.js","./2c1vZ90H.js","./ChHm6L68.js","./CCr9dqOM.js","./B_fQu_h2.js","./BzKz2oL1.js","./MAzsrRZz.js","./B_RjakRk.js","./CxFDmUjN.js","./BE_w8iyq.js","./CHpNSaGi.js","./DDEIDAa0.js","./K6puNuXp.js","./Bs6-HCEW.js","./VInput.BzI_hIki.css","./VSelectionControl.B4WFlrqD.css","./VChip.DriYwOm3.css","./VProgressLinear.QSXru69E.css","./autofocus.Dpzbb23r.css","./VSelect.4i15hLH6.css","./VDialog.CZWf1yfq.css","./Dialog.B6aT2GLZ.css","./_id_.DBl2xP4F.css","./BVRr96yG.js","./C_Ouo24Z.js","./CXIZ5vIr.js","./DjL4J8kw.js","./D8kTmNUH.js","./BSfpIrlx.js","./DZwwQ4WY.js","./BZweJiQx.js","./DhECW-Pr.js","./BDNMzG2s.js","./BiGgsuAF.js","./VFileInput.DPM4qn3r.css","./_resource_.C0QgZA88.css","./C3XkRFds.js","./BpaVnQT3.js","./DVRz0uUW.js","./VContainer.ku9EbwM-.css","./DS8Zc0uz.js","./BwHwQnM0.js","./R0rf_l_C.js","./2oUN-NEf.js","./BgRi2kFj.js","./1aNtrH5X.js","./VProgressCircular.CHg-6LCa.css","./Notifications.BvaCltQH.css","./F676SWHd.js","./C_ix0rE_.js","./vector.ClRRJOjR.css","./C5Ez1FXH.js","./error-404.B1_4-op0.css","./B1-Pqo_7.js","./error-500.ueligmdw.css"])))=>i.map(i=>d[i]);
2
+ import{$ as e,A as t,At as n,Ct as r,Ft as i,Ht as a,Jt as o,K as s,Kt as c,L as l,Lt as u,M as d,Mt as f,N as p,Pt as m,S as h,Tt as g,V as _,_ as v,a as y,bt as b,c as x,ct as S,d as C,dt as w,et as T,g as E,h as ee,ht as te,i as ne,j as re,k as ie,lt as ae,m as oe,o as se,p as D,pt as O,r as ce,s as le,t as ue,u as de,v as fe,x as pe,xt as me,zt as he}from"./CPAF2hi7.js";import{_ as ge,a as _e,b as ve,c as ye,d as be,f as xe,g as Se,h as Ce,i as we,l as Te,m as Ee,n as De,o as Oe,s as ke,t as Ae,v as je,x as Me,y as Ne}from"./BBBFJ6ov.js";import{$n as Pe,B as Fe,Cn as Ie,D as k,E as Le,En as Re,H as ze,Ht as A,J as Be,L as Ve,O as He,On as j,Pt as Ue,St as We,Ut as Ge,Yt as Ke,Z as qe,Zn as Je,_ as M,an as Ye,b as Xe,ct as Ze,d as Qe,er as $e,et,fn as tt,ft as nt,g as N,gn as rt,gt as it,h as at,in as ot,it as st,k as ct,l as lt,ln as ut,mt as dt,nt as ft,o as pt,ot as mt,pn as ht,qt as gt,rt as _t,s as vt,st as yt,tr as bt,tt as xt,un as St,v as Ct,vn as wt,vt as Tt,wn as Et,wt as Dt,xn as P,y as Ot,yn as kt,z as At}from"./DZo3dYLJ.js";import{a as jt,i as Mt,x as Nt}from"./51OWHj8c.js";import{A as Pt,C as Ft,D as It,E as Lt,M as Rt,O as zt,S as Bt,_ as Vt,a as Ht,b as Ut,c as Wt,d as Gt,f as Kt,g as qt,h as Jt,i as Yt,j as Xt,l as Zt,m as Qt,n as $t,o as en,p as tn,r as nn,s as rn,t as an,u as on,v as sn,w as cn,x as ln,y as un}from"./BiIirvgR.js";import{a as dn,i as fn,n as pn,o as mn,r as hn,t as gn}from"./go_nGSOr.js";import{n as _n,t as vn}from"./CmQyigb3.js";import{i as yn,n as bn,t as xn}from"./BQnpCLjt.js";import{a as Sn,c as Cn,d as wn,f as Tn,h as En,i as Dn,l as On,m as kn,n as An,o as jn,p as Mn,r as Nn,s as Pn,t as Fn,u as In}from"./ORpfF6Nb.js";import{a as Ln,i as Rn,n as zn,r as Bn,s as Vn,t as Hn}from"./CTHeqfU5.js";import{a as Un,r as Wn,t as Gn}from"./D7DEE4gN.js";import{o as Kn}from"./MAzsrRZz.js";import{t as qn}from"./CIQLz04l.js";import{n as Jn,t as Yn}from"./Dnv1kjao.js";import{a as Xn,i as Zn,r as Qn,t as $n}from"./Dg_tXu9P.js";import{a as er,i as tr,n as nr,o as rr,r as ir,s as ar,t as or}from"./D-rB2fWZ.js";import{A as sr,B as cr,C as lr,D as ur,E as dr,F as fr,G as pr,H as mr,I as hr,L as gr,M as F,N as _r,O as vr,P as yr,R as br,S as xr,T as Sr,U as Cr,V as wr,W as Tr,_ as Er,a as Dr,c as Or,d as kr,f as Ar,g as jr,h as Mr,i as Nr,j as Pr,k as Fr,l as Ir,m as Lr,n as Rr,o as zr,p as Br,r as Vr,s as Hr,t as Ur,u as Wr,v as Gr,w as Kr,y as qr,z as Jr}from"./Ci1-hOA9.js";import{a as Yr,c as Xr,i as Zr,n as Qr,o as $r,r as ei,s as ti,t as ni,u as ri}from"./CSzw4ySZ.js";import{t as ii}from"./DLzA6Iec.js";import{n as ai,r as oi,t as si}from"./BDLrTt6l.js";import{l as ci,t as li}from"./DDEIDAa0.js";import{i as ui,t as di}from"./bmIlMXFn.js";import{t as fi}from"./iEEDTq6e.js";import{n as pi,r as mi,t as hi}from"./E-mWtnN5.js";import{t as gi}from"./B_DG2saj.js";import{n as _i,t as vi}from"./DBgKGXIj.js";import{n as yi,t as bi}from"./CQQ-wIWC.js";import{t as xi}from"./BIv9Nyve.js";import{a as Si,i as Ci,n as wi,r as Ti,t as Ei}from"./rSRjHK_a.js";import{a as Di,c as Oi,l as ki,o as Ai,r as ji,s as Mi,t as Ni,u as Pi}from"./B4joN-Do.js";import{t as Fi}from"./1aNtrH5X.js";import{t as Ii}from"./BzKz2oL1.js";import{n as Li,r as Ri,t as zi}from"./B_fQu_h2.js";import{n as Bi,t as Vi}from"./BKpxsGPP.js";import{t as Hi}from"./Lj7y5-JX.js";import{n as Ui,t as Wi}from"./DvnG2kZK.js";import{i as Gi,n as Ki,o as qi,r as Ji,s as Yi,t as Xi}from"./9MD1hlLT.js";import{t as Zi}from"./COHV16dX.js";import{i as Qi,t as $i}from"./DQ1z3A04.js";import{t as ea}from"./2c1vZ90H.js";import{a as ta,i as na}from"./C_2GgX80.js";import{t as ra}from"./B9psIVnP.js";import{a as ia,i as aa,n as oa,o as sa,r as ca,t as la}from"./CCr9dqOM.js";import{n as ua,t as da}from"./ChHm6L68.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);function fa(e=Ve()){let t=e;t&&!t.sp&&(t.sp=[])}var pa=Me({docsBase:Ne,reporters:ve});function ma(e,t){return t&&typeof e==`function`&&(e.key=t),e}var ha=/\\/g,ga=/</g,_a=/"/g,va=/%\w+(?:\.\w+)?/g,ya=`%separator`;function ba(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0){let e=String(typeof r==`number`?r:r||``);return n?e.replace(ha,`\\\\`).replace(ga,`\\u003C`).replace(_a,`\\"`):e}}function xa(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(va);if(!a)return e;let o=e.includes(ya);return e=e.replace(va,e=>{if(e===ya||!a.includes(e))return e;let n=ba(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(ya).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var Sa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ca=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),wa=ma({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=Ca(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=Ca(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Sa))}}}),Ta=ma({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function Ea(e){return typeof e?.then==`function`}var Da=256;function Oa(e,t){if(t===e.length)return;if(t===Da){let n=Array(e.length),r=!1;for(;t<e.length;t++){let i=Aa(e[t]);n[t]=i,r||=Ea(i)}return r?n:void 0}let n=Aa(e[t]);if(Ea(n)){let r=Array(e.length);r[t]=n;for(let n=t+1;n<e.length;n++)r[n]=Aa(e[n]);return r}let r=Oa(e,t+1);return r&&(r[t]=n),r}function ka(e,t,n){if(n===t.length)return;if(n===Da){let r=Array(t.length),i=!1;for(;n<t.length;n++){let a=Aa(e[t[n]]);r[n]=a,i||=Ea(a)}return i?r:void 0}let r=Aa(e[t[n]]);if(Ea(r)){let i=Array(t.length);i[n]=r;for(let r=n+1;r<t.length;r++)i[r]=Aa(e[t[r]]);return i}let i=ka(e,t,n+1);return i&&(i[n]=r),i}function Aa(e){if(typeof e==`function`)return e;if(Ea(e))return Promise.resolve(e).then(Aa);if(Array.isArray(e)){let t=Oa(e,0);return t?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=ka(e,t,0);if(n)return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var ja=ma(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=Aa(a);Ea(o)?(t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})):t.delete(i)}}}}},`promises`),Ma={meta:`content`,link:`href`,htmlAttrs:`lang`},Na=[`innerHTML`,`textContent`];function Pa(e,t,n,r=!1){return typeof e==`string`&&e.includes(`%`)?xa(e,t,n,r):e}var Fa=ma(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Pa(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=Ma[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Pa(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of Na)typeof e[t]==`string`&&(e[t]=Pa(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Pa(n.textContent,e._templateParams,e._separator))}}}),`template-params`),Ia=new Set([`link`,`style`,`script`,`noscript`]),La=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Ra=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),za=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Ba=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Va=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Ha=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Ua=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Wa={critical:-8,high:-1,low:2},Ga=e=>typeof e==`number`?Number.isFinite(e):e;function Ka(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function qa(e){let t=new ge;for(let n in e||{})t.hook(n,e[n]);return t}function Ja(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}var Ya=/^(?:viewport|description|keywords|robots)$/,Xa=[`name`,`property`,`http-equiv`];function Za(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return Ua.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function Qa(e){let{props:t,tag:n,key:r}=e;if(Ba.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Xa){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Ya.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:La.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function $a(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function eo(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=eo(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=Ka(n),a=i?void 0:eo(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var to=/[\s"'<>/=\x00-\x1F\x7F]/;function no(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function ro(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Ra.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Ka(r))continue;let i=r.startsWith(`data-`),a=n&&!Va.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||to.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=no(r,s);else if(Va.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function io(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),eo(e,n)}function ao(e,t){let n=ro({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&Ia.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function oo(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function so(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=io(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)oo(n,ao(t,e));else oo(n,ao(t,r))}}return n}var co=/</g,lo=/<\/script/g,uo=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,fo=()=>100;function po(e){for(let t in e)return!1;return!0}var mo=/^tags:|:render/;function ho(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function go(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function _o(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(uo)}function vo(e){let t=!1;for(let n of e.tags.sort(uo)){let r=n._d||$a(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(Ha.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&Za(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function yo(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function bo(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(za.has(i)&&(!po(a)||Ga(r)||Ga(n.textContent))&&(i!==`meta`||Ga(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(co,`\\u003C`):typeof e==`string`?e.replace(lo,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=Qa(n)}e[t++]=n}}return e.length=t,e}function xo(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??fo,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};ho(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&Ja(e,`entries:resolve`,{entries:a,...r})),ho(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||po(t.options)))a=t._precomputedTags;else{if(a=so(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!po(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};Ja(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=Qa(r),r._d||(r._h=$a(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&mo.test(e)){go(r.tags);break}let o=vo(r);return yo(r,e),_o(r,o),Ja(e,`tags:beforeResolve`,r),Ja(e,`tags:resolve`,r),Ja(e,`tags:afterResolve`,r),bo(r.tags)}var So=`usehead`;function Co(){if(ze()){let e=Be(So);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function wo(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(So,e)}}.install}var To=Object.assign((e,t)=>St(t)?Re(t):t,{_static:!0});function Eo(e,t={}){let n=t.head||Co();return n.ssr?n.push(e||{},t):Do(n,e,t)}function Do(e,t,n={}){let r=Ye();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=wt(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let a;return Ge(()=>{let r=i.value?{}:eo(t,To);a?a.patch(r):a=e.push(r,n)}),Ve()?(st(()=>{a.dispose()}),mt(()=>{i.value=!0}),ft(()=>{i.value=!1})):r&&ht(()=>a.dispose()),a}function Oo(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function ko(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Oo(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}function Ao(e){let t=e||ke();return t.ssrContext?.head||t.runWithContext(()=>{if(ze()){let e=Be(`usehead`);if(!e)throw pa.NUXT_E6001();return e}})}function jo(e,t={}){return Eo(e,{head:t.head||Ao(t.nuxt),...t})}var Mo=Me({docsBase:Ne,reporters:ve}),No=()=>({}),Po=`modulepreload`,Fo=function(e,t){return new URL(e,t).href},Io={},Lo=function(e){return e.pathname.endsWith(`.css`)},Ro=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},zo=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=Fo(t,n);let r=s(t),i=Lo(r);return Ro(Io,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:Po,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Bo=dn;function Vo(e){return No(e)}var Ho;function Uo(){let e;return e=Bo(mn(`builds/meta/${ye().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw Mo.NUXT_E5004();return e}),Ho=e,e.catch(t=>{Ho===e&&(Ho=void 0),Mo.NUXT_E5002({cause:t})}),e}function Wo(){return Ho||Uo()}function Go(e){let t=typeof e==`string`?e:e.path;try{return Vo(t)}catch(e){return Mo.NUXT_E5003({path:t,cause:e}),{}}}function Ko(e,t){ke()._payloadRevivers[e]=t}var qo=_e(()=>{Ko(`skipHydrate`,e=>void 0)});function Jo(e,t={}){let{duration:n=1e3,repeat:r=!1}=t;function i(){return Re(n)}let a=P(i()),o=P(!1),s=P(!1),c,l,u=0,d=a.value;function f(){he(c)||(globalThis.clearTimeout(c),c=void 0)}function p(){m(),yn&&(l=globalThis.setInterval(()=>{if(!o.value||s.value)return;let e=Date.now()-u;a.value=Math.max(0,d-e)},100))}function m(){he(l)||(globalThis.clearInterval(l),l=void 0)}function h(){f(),m(),e(),r?g(i()):(o.value=!1,a.value=0)}function g(e){f(),m(),d=e,u=Date.now(),a.value=e,o.value=!0,s.value=!1,c=globalThis.setTimeout(h,e),p()}function _(){let e=i();e<0||g(e)}function v(){f(),m(),o.value=!1,s.value=!1,a.value=i()}function y(){if(!o.value||s.value)return;let e=Date.now()-u;d=Math.max(0,d-e),a.value=d,f(),m(),s.value=!0}function b(){s.value&&(s.value=!1,u=Date.now(),c=globalThis.setTimeout(h,d),p())}return ht(()=>{f(),m()},!0),{start:_,stop:v,pause:y,resume:b,remaining:a,isActive:o,isPaused:s}}var Yo={collapse:`mdi-chevron-up`,complete:`mdi-check`,cancel:`mdi-close-circle`,close:`mdi-close`,delete:`mdi-close-circle`,clear:`mdi-close-circle`,success:`mdi-check-circle`,info:`mdi-information`,warning:`mdi-alert-circle`,error:`mdi-close-circle`,prev:`mdi-chevron-left`,next:`mdi-chevron-right`,checkboxOn:`mdi-checkbox-marked`,checkboxOff:`mdi-checkbox-blank-outline`,checkboxIndeterminate:`mdi-minus-box`,delimiter:`mdi-circle`,sortAsc:`mdi-arrow-up`,sortDesc:`mdi-arrow-down`,expand:`mdi-chevron-down`,menu:`mdi-menu`,subgroup:`mdi-menu-down`,dropdown:`mdi-menu-down`,radioOn:`mdi-radiobox-marked`,radioOff:`mdi-radiobox-blank`,edit:`mdi-pencil`,ratingEmpty:`mdi-star-outline`,ratingFull:`mdi-star`,ratingHalf:`mdi-star-half-full`,loading:`mdi-cached`,first:`mdi-page-first`,last:`mdi-page-last`,unfold:`mdi-unfold-more-horizontal`,file:`mdi-paperclip`,plus:`mdi-plus`,minus:`mdi-minus`,calendar:`mdi-calendar`,clock:`mdi-clock-outline`,treeviewCollapse:`mdi-menu-down`,treeviewExpand:`mdi-menu-right`,tableGroupCollapse:`mdi-chevron-down`,tableGroupExpand:`mdi-chevron-right`,eyeDropper:`mdi-eyedropper`,upload:`mdi-cloud-upload`,color:`mdi-palette`,command:`mdi-apple-keyboard-command`,ctrl:`mdi-apple-keyboard-control`,space:`mdi-keyboard-space`,shift:`mdi-apple-keyboard-shift`,alt:`mdi-apple-keyboard-option`,enter:`mdi-keyboard-return`,arrowup:`mdi-arrow-up`,arrowdown:`mdi-arrow-down`,arrowleft:`mdi-arrow-left`,arrowright:`mdi-arrow-right`,backspace:`mdi-backspace`,play:`mdi-play`,pause:`mdi-pause`,fullscreen:`mdi-fullscreen`,fullscreenExit:`mdi-fullscreen-exit`,volumeHigh:`mdi-volume-high`,volumeMedium:`mdi-volume-medium`,volumeLow:`mdi-volume-low`,volumeOff:`mdi-volume-variant-off`,search:`mdi-magnify`},Xo={component:e=>Fe(rr,{...e,class:`mdi`})};function Zo(){return{defaultSet:`mdi`,aliases:Yo,sets:{mdi:Xo}}}function Qo(e){{let t=Zo();if(t?.defaultSet===`custom`)return;e.icons=t}}var $o=we({name:`vuetify:icons:plugin`,order:-25,parallel:!0,setup(e){e.hook(`vuetify:configuration`,({vuetifyOptions:e})=>{Qo(e)})}});function es(e,t){t.push(Te),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function ts(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Oo(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var ns=/\s+/;function rs(e={}){return t=>ss(t,e)}function is(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function as(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(ns))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function ss(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!is(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Ja(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=as(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=xo(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&Za(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):Ra.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!Ra.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=ro({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=Qa(i)||$a(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,Ja(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||is(e))&&ss(e,t),a}var cs=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Wa[e.tagPriority]||0);function ls(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||rs({document:e.document}),n=ts(ko(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:cs,init:[]}),qa(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function us(e={}){let t=rs(),n,r=0;return n=ls({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=wo(n),n}var ds={disableDefaults:!0,plugins:[Ta,ja,Fa,wa]},fs=we({name:`nuxt:head`,enforce:`pre`,setup(e){es(e,us(ds))}}),ps=/(:\w+)\([^)]+\)/g,ms=/(:\w+)[?+*]/g,hs=/:\w+/g,gs=(e,t)=>t.path.replace(ps,`$1`).replace(ms,`$1`).replace(hs,t=>e.params[t.slice(1)]?.toString()||``),_s=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&gs(e.route,n));return typeof r==`function`?r(e.route):r},vs=(e,t)=>({default:()=>e?Fe(vt,e===!0?{}:e,t):t});function ys(e){return Array.isArray(e)?e:[e]}var bs=()=>location.protocol+`//`+location.host;function xs(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),vr(n,``)}return vr(n,e)+r+i}function Ss(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=xs(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(F({},e.state,{scroll:Rr()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function Cs(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function ws(e){let{history:t,location:n}=window,r={value:xs(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:bs()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){let o=F({},t.state,Cs(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});a(e,o,!0),Ar(o.position,!0),r.value=e}function s(e,n){let o=F({},i.value,t.state,{forward:e,scroll:Rr()});a(o.current,o,!0),a(e,F({},Cs(r.value,e,null),{position:o.position+1},n),!1),Ar(o.position),r.value=e}return{location:r,state:i,push:s,replace:o}}function Ts(e){e=Gr(e);let t=ws(e),n=Ss(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=F({location:``,base:e,go:r,createHref:Vr.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Es={type:0,value:``},Ds=/[a-zA-Z0-9_]/;function Os(e){if(!e)return[[]];if(e===`/`)return[[Es]];if(!yr(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:Ds.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ks=`[^/]+?`,As={sensitive:!1,strict:!1,start:!0,end:!0},js=/[.+*?^${}()[\]/\\]/g;function Ms(e,t){let n=F({},As,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(js,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ks;if(u!==ks){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){r&&n.endsWith(`/`)||(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(fr(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=fr(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function Ns(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ps(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=Ns(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Fs(r))return 1;if(Fs(i))return-1}return i.length-r.length}function Fs(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Is={strict:!1,end:!0,sensitive:!1};function Ls(e,t,n){let r=Ms(Os(e.path),n),i=F(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Rs(e,t){let n=[],r=new Map;t=br(Is,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=Bs(e);s.aliasOf=r&&r.record;let l=br(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(Bs(F({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!yr(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Ls(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Hs(d)&&o(e.name)),Ks(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Jr}function o(e){if(Lr(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Ws(e,n);n.splice(t,0,e),e.record.name&&!Hs(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw _r(1,{location:e});s=i.record.name,a=F(zs(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&zs(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw _r(1,{location:e,currentLocation:t});s=i.record.name,a=F({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Us(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function zs(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function Bs(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Vs(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Vs(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Hs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Us(e){return e.reduce((e,t)=>F(e,t.meta),{})}function Ws(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Ps(e,t[i])<0?r=i:n=i+1}let i=Gs(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Gs(e){let t=e;for(;t=t.parent;)if(Ks(t)&&Ps(e,t)===0)return t}function Ks({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qs(e){let t=Be(wr),n=Be(cr),r=N(()=>{let n=j(e.to);return t.resolve(n)}),i=N(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Er.bind(null,i));if(o>-1)return o;let s=Qs(e[t-2]);return t>1&&Qs(i)===s&&a[a.length-1].path!==s?a.findIndex(Er.bind(null,e[t-2])):o}),a=N(()=>i.value>-1&&Zs(n.params,r.value.params)),o=N(()=>i.value>-1&&i.value===n.matched.length-1&&jr(n.params,r.value.params));function s(n={}){if(Xs(n)){let n=t[j(e.replace)?`replace`:`push`](j(e.to)).catch(Jr);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:N(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function Js(e){return e.length===1?e[0]:e}var Ys=ct({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:qs,setup(e,{slots:t}){let n=rt(qs(e)),{options:r}=Be(wr),i=N(()=>({[$s(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[$s(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Js(t.default(n));return e.custom?r:Fe(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Xs(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Zs(e,t){for(let n in t){let r=t[n],i=e[n];if(fr(r)){if(!fr(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function Qs(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var $s=(e,t,n)=>e??t??n,ec=ct({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=Be(mr),i=N(()=>e.route||r.value),a=Be(pr,0),o=N(()=>{let e=j(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=N(()=>i.value.matched[o.value]);it(pr,N(()=>o.value+1)),it(gr,s),it(mr,i);let c=new Set;it(Cr,c);let l=wt(),u=Ur,{app:d}=Ve().appContext;return A(()=>[l.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&Er(t,i)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,f=o&&o.components[a];if(!f)return tc(n.default,{Component:f,route:r});let p=o.props[a],m=p?p===!0?r.params:typeof p==`function`?p(r):p:null,h=e=>{e.component.isUnmounted&&(o.instances[a]=null)},g=e=>xt(()=>{if(u===r||i.value!==r||e.el.getRootNode()!==d._container.getRootNode())return;let t=u;u=r;for(let e of c)e(r,t)}),_=Fe(f,F({},m,t,{onVnodeUnmounted:h,onVnodeMounted:g,onVnodeUpdated:g,ref:l}));return tc(n.default,{Component:_,route:r})||_}}});function tc(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var nc=ec;function rc(e){let t=e.matcher||Rs(e.routes,e),n=e.parseQuery||xr,r=e.stringifyQuery||dr,i=e.history,a=Fr(),o=Fr(),s=Fr(),c=P(Ur),l=P(0),u=Ur;Br&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=Pr.bind(null,e=>``+e),f=Pr.bind(null,zr),p=Pr.bind(null,Nr);function m(e,n){let r,i;Lr(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function _(){return t.getRoutes().map(e=>e.record)}function v(e){return!!t.getRecordMatcher(e)}function y(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?Ur:c.value;let r=lr(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return F(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=F({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?Ur:c.value));let o;if(e.path!=null)o=F({},e,{path:lr(n,e.path,a.path).path});else{let t=F({},e.params);for(let e in t)t[e]??delete t[e];o=F({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=ur(r,F({},e,{hash:Dr(u),path:s.path})),h=i.createHref(m);return F({fullPath:m,hash:u,query:r===dr?qr(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function b(e){return typeof e==`string`?lr(n,e,c.value.path):F({},e)}function x(e,t){if(u!==e)return _r(8,{from:t,to:e})}function S(e){return T(e)}function C(e){return S(F(b(e),{replace:!0}))}function w(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=b(i):{path:i},i.params={}),F({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function T(e,t){let n=u=y(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=w(n,i);if(l)return T(F(b(l),{state:typeof l==`object`?F({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Mr(r,i,n)&&(f=_r(16,{to:d,from:i}),ue(i,i,!0,!1)),(f?Promise.resolve(f):te(d,i)).catch(e=>hr(e)?hr(e,2)?e:le(e):O(e,d,i)).then(e=>{if(e){if(hr(e,2))return T(F({replace:s},b(e.to),{state:typeof e.to==`object`?F({},a,e.to.state):a,force:o}),t||d)}else e=re(d,i,!0,s,a);return ne(d,i,e),e})}function E(e,t){let n=x(e,t);return n?Promise.reject(n):Promise.resolve()}function ee(e){let t=pe.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function te(e,t){let n,[r,i,s]=Hr(e,t);n=Or(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(kr(r,e,t))});let c=E.bind(null,e,t);return n.push(c),he(n).then(()=>{n=[];for(let r of a.list())n.push(kr(r,e,t));return n.push(c),he(n)}).then(()=>{n=Or(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(kr(r,e,t))});return n.push(c),he(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(fr(r.beforeEnter))for(let i of r.beforeEnter)n.push(kr(i,e,t));else n.push(kr(r.beforeEnter,e,t))}return n.push(c),he(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Or(s,`beforeRouteEnter`,e,t,ee),n.push(c),he(n))).then(()=>{n=[];for(let r of o.list())n.push(kr(r,e,t));return n.push(c),he(n)}).catch(e=>hr(e,8)?e:Promise.reject(e))}function ne(e,t,n){s.list().forEach(r=>ee(()=>r(e,t,n)))}function re(e,t,n,r,a){let o=x(e,t);if(o)return o;let s=t===Ur,l=Br?history.state:{};n&&(r||s?i.replace(e.fullPath,F({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,ue(e,t,n,s),le()}let ie;function ae(){ie||=i.listen((e,t,n)=>{if(!me.listening)return;let r=y(e),a=w(r,me.currentRoute.value);if(a){T(F(a,{replace:!0,force:!0}),r).catch(Jr);return}u=r;let o=c.value;Br&&n.delta&&Kr(Wr(o.fullPath,n.delta)),te(r,o).catch(e=>hr(e,12)?e:hr(e,2)?(T(F(b(e.to),{force:!0}),r).then(e=>{hr(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Jr),Promise.reject()):(n.delta&&i.go(-n.delta,!1),O(e,r,o))).then(e=>{e||=re(r,o,!1),e&&(n.delta&&!hr(e,8)?i.go(-n.delta,!1):n.type===`pop`&&hr(e,20)&&i.go(-1,!1)),ne(r,o,e)}).catch(Jr)})}let oe=Fr(),se=Fr(),D;function O(e,t,n){le(e);let r=se.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function ce(){return D&&c.value!==Ur?Promise.resolve():new Promise((e,t)=>{oe.add([e,t])})}function le(e){return D||(D=!e,ae(),oe.list().forEach(([t,n])=>e?n(e):t()),oe.reset()),e}function ue(t,n,r,i){let{scrollBehavior:a}=e;if(!Br||!a)return Promise.resolve();let o=!r&&Ir(Wr(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return xt().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&Sr(e)).catch(e=>t===c.value&&O(e,t,n))}let de=e=>i.go(e),fe,pe=new Set,me={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:v,getRoutes:_,resolve:y,options:e,push:S,replace:C,go:de,back:()=>de(-1),forward:()=>de(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:se.add,isReady:ce,install(e){e.component(`RouterLink`,Ys),e.component(`RouterView`,nc),e.config.globalProperties.$router=me,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>j(c)}),Br&&!fe&&c.value===Ur&&(fe=!0,S(i.location).catch(e=>{}));let t={};for(let e in Ur)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(wr,me),e.provide(cr,kt(t)),e.provide(mr,c);let n=e.unmount;pe.add(e),e.unmount=function(){pe.delete(e),pe.size<1&&(u=Ur,ie&&ie(),ie=null,c.value=Ur,fe=!1,D=!1),n()}}};function he(e){return e.reduce((e,t)=>e.then(()=>ee(t)),Promise.resolve())}return me}var ic={scrollBehavior(e,t,n){let r=ke(),i=Gt(),a=i.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?n??{left:0,top:0}:e.hash?{el:e.hash,top:ac(e.hash),behavior:a}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===Ur?oc(e,t,n,a):new Promise(o=>{let s=()=>{requestAnimationFrame(()=>{i.currentRoute.value.fullPath===e.fullPath?o(oc(e,t,n,a)):o(!1)})};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(s):s()})})}};function ac(e){let t=document.getElementById(e.slice(1));return t?(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0):0}function oc(e,t,n,r){return n||(e.hash?{el:e.hash,top:ac(e.hash),behavior:Xr(e,t)?r:`instant`}:{left:0,top:0})}var sc={hashMode:!1,scrollBehaviorType:`auto`,sensitive:!1,...ic},cc=[en(async e=>{if(!e.meta?.validate)return;let t=await Promise.resolve(e.meta.validate(e));if(t!==!0)return Ut({fatal:!0,status:t&&(t.status||t.statusCode)||404,statusText:t&&(t.statusText||t.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})}),en(e=>{let t=Go({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return qt(n)?(window.location.href=n,!1):n}})],lc={"vector-auth":()=>zo(()=>import(`./C6FXj6mJ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)},uc={layout:`vector`,key:e=>e.fullPath},dc={layout:`vector`,key:e=>e.fullPath},fc={layout:`vector`,key:e=>e.fullPath},pc={layout:`vector`,key:e=>e.fullPath},mc={layout:`vector`,key:e=>e.fullPath},hc={layout:`vector`,key:e=>e.fullPath},gc={layout:`vector`,key:e=>e.fullPath},_c={layout:`vector`},vc={layout:`default`},yc={layout:`vector`},bc={layout:`vector`},xc=[{name:`r-resource-create`,path:`/r/:resource()/create`,meta:{...uc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./DmrPXKlp.js`),__vite__mapDeps([8,3,1,2,4,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,6,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69]),import.meta.url)},{name:`r-resource-id-edit`,path:`/r/:resource()/:id()/edit`,meta:{...dc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./CQnAjs6t.js`),__vite__mapDeps([70,3,1,2,4,7,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,6,71,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,72]),import.meta.url)},{name:`r-resource-id`,path:`/r/:resource()/:id()`,meta:{...fc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./DdqPXmq8.js`),__vite__mapDeps([73,10,3,11,1,2,4,5,6,26,12,17,18,74,75,21,42,19,27,28,29,13,30,14,15,23,31,16,32,33,22,24,34,35,36,37,38,39,76,77,78,46,79,41,80,81,82,83,84,7,85,44,45,47,86,87,88,43,50,89,9,20,25,40,48,49,71,90,54,91,51,56,55,58,60,61,62,63,64,92,93,65,94,95,96,97,98,68,67,99,57,59,66,69,72,100]),import.meta.url)},{name:`d-name`,path:`/d/:name()`,meta:{...pc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./BVRr96yG.js`),__vite__mapDeps([101,3,1,2,4,102,13,10,11,43,21,12,14,103,26,89,104,75,17,18,42,19,27,28,29,30,15,23,31,16,32,33,22,24,34,35,36,37,38,39,76,77,78,46,79,41,80,81,82,83,84,7,51,55,67,56,58,60,61,62,63,64,92,93,65,94,95,96,97]),import.meta.url)},{name:`jobs-id`,path:`/jobs/:id()`,meta:{...mc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./D8kTmNUH.js`),__vite__mapDeps([105,3,1,2,4,7,89,83,10,11,12,17,18,42,84,79,19,13,30,14,31,16,33,22,15,23,24,41,21,38,9,71,51,106,47,95,56,55,58,60,65,94,57,72]),import.meta.url)},{name:`p-name`,path:`/p/:name()`,meta:{...hc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./DZwwQ4WY.js`),__vite__mapDeps([107,3,1,2,4,26,13,10,11,7,83,12,17,18,42,84,20,21,14,22,15,23,24,51,55,95,58,59]),import.meta.url)},{name:`r-resource`,path:`/r/:resource()`,meta:{...gc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./BZweJiQx.js`),__vite__mapDeps([108,3,11,1,2,4,26,75,10,12,17,18,21,42,19,27,28,29,13,30,14,15,23,31,16,32,33,22,24,34,35,36,37,38,39,76,77,78,46,79,41,80,81,82,83,84,74,7,85,44,45,47,86,87,88,6,43,50,53,89,20,109,110,111,49,90,54,104,103,51,56,55,58,60,61,62,63,64,92,93,65,94,95,96,97,98,68,67,99,59,112,113]),import.meta.url)},{name:`jobs`,path:`/jobs`,meta:{..._c||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./C3XkRFds.js`),__vite__mapDeps([114,3,11,1,2,4,7,89,79,10,12,17,18,19,13,30,14,31,16,33,22,15,23,24,41,21,42,38,49,51,106,47,56,55,58,60,65,94]),import.meta.url)},{name:`login`,path:`/login`,meta:vc||{},component:()=>zo(()=>import(`./BpaVnQT3.js`),__vite__mapDeps([115,3,11,1,2,4,5,6,26,7,80,10,17,12,18,24,78,13,30,14,15,23,46,39,81,36,38,82,83,42,84,116,43,21,45,87,51,55,92,95,96,117,67]),import.meta.url)},{name:`settings`,path:`/settings`,meta:{...yc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./DS8Zc0uz.js`),__vite__mapDeps([118,3,11,26,2,34,10,40,17,12,18,36,38,27,14,23,16,19,32,39,41,21,42,13,30,44,29,20,22,15,24,45,46,103,89,51,88,6,43,50,7,4,61,56,55,65,66,68,58,59,67]),import.meta.url)},{name:`index`,path:`/`,meta:{...bc||{},middleware:`vector-auth`},component:()=>zo(()=>import(`./BwHwQnM0.js`),__vite__mapDeps([119,3,102,13,10,11,43,21,12,14,103,2,26,89,104,75,17,18,42,19,27,28,29,30,15,23,31,16,32,33,22,24,34,35,36,37,38,39,76,77,78,46,79,41,80,81,82,83,84,7,4,51,55,67,56,58,60,61,62,63,64,92,93,65,94,95,96,97]),import.meta.url)}],Sc=/\/(?=$|[?#])/;function Cc(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Xt(n,``)}let s=Xt(r,e),c=!n||Ft(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var wc=we({name:`nuxt:router`,enforce:`pre`,async setup(e){let t=ye().app.baseURL,n=sc.history?.(t)??Ts(t),r=sc.routes?await sc.routes(xc)??xc:xc,i,a=rc({...sc,scrollBehavior:(e,t,n)=>{if(t===Ur)i=n;else if(sc.scrollBehavior){if(a.options.scrollBehavior=sc.scrollBehavior,`scrollRestoration`in window.history){let e=a.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return sc.scrollBehavior(e,Ur,i||n)}},history:n,routes:r});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(a);let o=P(a.currentRoute.value);a.afterEach((e,t)=>{o.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>o.value});let s=Cc(t,window.location,e.payload.path),c=Xt(window.location.pathname,t),l=P(a.currentRoute.value),u=()=>{l.value=a.currentRoute.value};a.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;n===r?_s({route:e,Component:{type:n}})===_s({route:t,Component:{type:r}})&&u():e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&u()});let d={sync:u};for(let e in l.value)Object.defineProperty(d,e,{get:()=>l.value[e],enumerable:!0});e._route=kt(d),e._middleware||={global:[],named:{}};let f=Ht();function p(t){e._middlewareTo&&(e._middlewareTo.redirectedFrom??e._middlewareTo)===(t.redirectedFrom??t)&&delete e._middlewareTo}a.afterEach(async(t,n,r)=>{p(t),!e.isHydrating&&f.value&&!hr(r,sr.aborted|sr.cancelled)&&await e.runWithContext(nn),r&&await e.callHook(`page:loading:end`)}),a.onError(async(t,n)=>{p(n),await e.callHook(`page:loading:end`)});try{await a.isReady()}catch(t){await $t(e,t)}let m=s===a.currentRoute.value.fullPath?a.currentRoute.value:a.resolve(s),h=a.currentRoute.value.fullPath,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&s.replace(Sc,``)!==e.payload.path.replace(Sc,``)&&Ft(a.currentRoute.value.path,e.payload.path);u();function _(r){!e.isHydrating&&r.fullPath!==Cc(t,window.location)&&n.push(r.fullPath)}a.beforeEach(t=>{if(!e.isHydrating&&No(t.path).noScripts)return window.location.assign(a.resolve(t.fullPath).href),!1}),a.beforeResolve(e=>{if(e.matched.length||Ft(e.path,c))return;let n=new URL(zt(e.fullPath,t),window.location.href);if(n.origin===window.location.origin)return window.location.assign(n),!1});let v=e.payload.state._layout,y=0;a.beforeEach(async(t,n)=>{y++;try{return await b(t,n)}finally{--y===0&&delete e._processingMiddleware}});async function b(t,n){await e.callHook(`page:loading:start`),t.meta=rt(t.meta),e.isHydrating&&v&&!ut(t.meta.layout)&&(t.meta.layout=v),e._processingMiddleware=!0,e._middlewareTo=t;{let r=new Set([...cc,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of ys(t))r.add(e)}let i=Go({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await lc[i]?.().then(e=>e.default||e):i;if(!r)throw Kt.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Ut({status:404,statusText:`Page Not Found: ${s}`});return await e.runWithContext(()=>Yt(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return ln(i)&&i.fatal&&(await e.runWithContext(()=>Yt(i)),_(t)),i}catch(n){let r=Ut(n);return r.fatal&&(await e.runWithContext(()=>Yt(r)),_(t)),r}}}}return a.afterEach((t,n,r)=>{if(t.matched.length===0&&!f.value&&!hr(r,sr.aborted|sr.cancelled))return e.runWithContext(()=>Yt(Ut({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in m&&(m.name=void 0),a.currentRoute.value.fullPath===h){if(g){let t=a.resolve(e.payload.path);`name`in t&&(t.name=void 0),await a.replace({...t,force:!0});let n=()=>{if(!e[`~restoreDeferredRoute`])return;e[`~restoreDeferredRoute`]=void 0;let t=a.currentRoute,n=a.resolve(s);n.matched.at(-1)===t.value.matched.at(-1)&&(n.meta=t.value.meta),t.value=n,u(),a.replace({...m,force:!0}).catch(()=>{})};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await a.replace({...m,force:!0})}a.options.scrollBehavior=sc.scrollBehavior}catch(t){await $t(e,t)}}),{provide:{router:a}}}}),Tc=typeof window<`u`,Ec=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Dc=(e,t,n)=>Oc({l:e,k:t,s:n}),Oc=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),kc=e=>typeof e==`number`&&isFinite(e),Ac=e=>Uc(e)===`[object Date]`,jc=e=>Uc(e)===`[object RegExp]`,Mc=e=>H(e)&&Object.keys(e).length===0,Nc=Object.assign,Pc=Object.create,I=(e=null)=>Pc(e),Fc,Ic=()=>Fc||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:I(),Lc=Object.prototype.hasOwnProperty;function Rc(e,t){return Lc.call(e,t)}function zc(e,t){let n=e[t];return Rc(e,t)?n:void 0}function Bc(e){return Rc(Object.prototype,e)}var L=Array.isArray,R=e=>typeof e==`function`,z=e=>typeof e==`string`,B=e=>typeof e==`boolean`,V=e=>typeof e==`object`&&!!e,Vc=e=>V(e)&&R(e.then)&&R(e.catch),Hc=Object.prototype.toString,Uc=e=>Hc.call(e),H=e=>Uc(e)===`[object Object]`,Wc=e=>e==null?``:L(e)||H(e)&&e.toString===Hc?JSON.stringify(e,null,2):String(e);function Gc(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}function Kc(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}function qc(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/\//g,`&#x2F;`).replace(/=/g,`&#x3D;`)}function Jc(e){return e.replace(/&(?![a-z0-9#]{2,6};)/gi,`&amp;`).replace(/"/g,`&quot;`).replace(/'/g,`&apos;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var Yc=/^javascript:/i,Xc=/^(?:href|src|action|formaction)$/i,Zc=/&#(?:x([0-9a-f]+)|(\d+));?/gi,Qc=/&(?:Tab|NewLine);/g,$c=/&colon;?/gi,el=/[\u0000-\u0020\u007f-\u009f]/g,tl=/(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i,nl=/(^|[\s"'<>/])on(\w+\s*=)/gi,rl=/(?:^|[\s"'<>/])srcdoc\s*=/i,il=/(^|[\s"'<>/])s(rcdoc\s*=)/gi,al=/(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;function ol(e,t,n){let r=t||n;if(!r)return e;let i=Number.parseInt(r,t?16:10);return i<=127?String.fromCharCode(i):e}function sl(e){let t=e.replace(Zc,ol).replace(Qc,``).replace($c,`:`).replace(el,``);return Yc.test(t)}function cl(e){let t=/url\s*\(/gi,n=``,r=0,i;for(;(i=t.exec(e))!==null;){let a=i.index,o=t.lastIndex-1,s=o+1,c=1,l=null;for(;s<e.length;s++){let t=e[s];if(l)t===l&&(l=null);else if(t===`"`||t===`'`)l=t;else if(t===`(`)c++;else if(t===`)`&&(c--,c===0))break}if(c!==0)break;let u=e.slice(o+1,s).trim(),d=u.startsWith(`"`)&&u.endsWith(`"`)||u.startsWith(`'`)&&u.endsWith(`'`)?u.slice(1,-1).trim():u;n+=e.slice(r,a),n+=sl(d)?`url(about:blank)`:e.slice(a,s+1),r=s+1}return n+e.slice(r)}function ll(e,t){return Xc.test(e)&&sl(t)?`about:blank`:Jc(e.toLowerCase()===`style`?cl(t):t)}function ul(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${ll(t,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${ll(t,n)}'`),tl.test(e)&&(e=e.replace(nl,`$1&#111;n$2`)),rl.test(e)&&(e=e.replace(il,`$1&#115;$2`)),e=e.replace(al,(e,t,n,r)=>sl(r)?`${t}${n}about:blank`:e),e}var dl=e=>!V(e)||L(e);function fl(e,t){if(dl(e)||dl(t)||t===Object.prototype)throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{if(r===`__proto__`)return;let i=e[r];if(L(i)){let e=[];e.length=i.length,t[r]=e,n.push({src:i,des:e})}else V(i)?((!V(t[r])||L(t[r]))&&(t[r]=I()),n.push({src:i,des:t[r]})):t[r]=i})}}function pl(e,t,n){return{line:e,column:t,offset:n}}function ml(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};U.EXPECTED_TOKEN,U.INVALID_TOKEN_IN_PLACEHOLDER,U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,U.UNKNOWN_ESCAPE_SEQUENCE,U.INVALID_UNICODE_ESCAPE_SEQUENCE,U.UNBALANCED_CLOSING_BRACE,U.UNTERMINATED_CLOSING_BRACE,U.EMPTY_PLACEHOLDER,U.NOT_ALLOW_NEST_PLACEHOLDER,U.INVALID_LINKED_FORMAT,U.MUST_HAVE_MESSAGES_IN_PLURAL,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,U.UNEXPECTED_EMPTY_LINKED_KEY,U.UNEXPECTED_LEXICAL_ANALYSIS,U.UNHANDLED_CODEGEN_NODE_TYPE,U.UNHANDLED_MINIFIER_NODE_TYPE;function hl(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function gl(e){throw e}var _l=` `,vl=`\r`,yl=`
3
+ `,bl=`\u2028`,xl=`\u2029`;function Sl(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===vl&&t[e+1]===yl,s=e=>t[e]===yl,c=e=>t[e]===xl,l=e=>t[e]===bl,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?yl:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var Cl=void 0,wl=`'`,Tl=`tokenizer`;function El(e,t={}){let n=t.location!==!1,r=Sl(e),i=()=>r.index(),a=()=>pl(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();if(t.column+=r,t.offset+=r,u){let r=hl(e,n?ml(a.startLoc,t):null,{domain:Tl,args:i});u(r)}}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=ml(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(U.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===_l||e.currentPeek()===yl;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===Cl)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===Cl)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===wl;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(n!==7&&n!==11)return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===_l||!t?!1:t===yl?(e.peek(),r()):ee(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function ee(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?r!==_l&&r!==yl:i===_l?(e.peek(),n(!0,_l)):i!==yl||(e.peek(),n(!0,yl))},r=n();return t&&e.resetPeek(),r}function te(e,t){let n=e.currentChar();if(n!==Cl)return t(n)?(e.next(),n):null}function ne(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function re(e){return te(e,ne)}function ie(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function ae(e){return te(e,ie)}function oe(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function se(e){return te(e,oe)}function D(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function O(e){return te(e,D)}function ce(e){let t=``,n=``;for(;t=se(e);)n+=t;return n}function le(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===_l||n===yl){if(ee(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next()}else t+=n,e.next()}return t}function ue(e){g(e);let t=``,n=``;for(;t=ae(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==Cl&&r!==_l&&r!==yl&&r!==` `){let t=_e(e);return d(U.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===Cl&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),n}function de(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${ce(e)}`):t+=ce(e),e.currentChar()===Cl&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),t}function fe(e){return e!==wl&&e!==yl}function pe(e){g(e),m(e,`'`);let t=``,n=``;for(;t=te(e,fe);)n+=t===`\\`?me(e):t;let r=e.currentChar();return r===yl||r===Cl?(d(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===yl&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function me(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return he(e,t,4);case`U`:return he(e,t,6);default:return d(U.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function he(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=O(e);if(!n){d(U.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function ge(e){return e!==`{`&&e!==`}`&&e!==_l&&e!==yl}function _e(e){g(e);let t=``,n=``;for(;t=te(e,ge);)n+=t;return n}function ve(e){let t=``,n=``;for(;t=re(e);)n+=t;return n}function ye(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===_l?n:(n+=r,e.next(),t(n))};return t(``)}function be(e){g(e);let t=m(e,`|`);return g(e),t}function xe(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(U.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(U.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),n=Se(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(U.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,Ce(e,t);if(r=y(e,t))return n=f(t,4,ue(e)),g(e),n;if(i=b(e,t))return n=f(t,5,de(e)),g(e),n;if(o=x(e,t))return n=f(t,6,pe(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,_e(e)),d(U.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function Se(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch(n!==7&&n!==8&&n!==11&&n!==9||i!==yl&&i!==_l||d(U.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return E(e)?(r=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),Se(e,t)):C(e,t)?(g(e),f(t,11,ve(e))):T(e,t)?(g(e),i===`{`?xe(e,t)||r:f(t,10,ye(e))):(n===7&&d(U.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,Ce(e,t))}}function Ce(e,t){let n={type:13};if(t.braceNest>0)return xe(e,t)||p(t);if(t.inLinked)return Se(e,t)||p(t);switch(e.currentChar()){case`{`:return xe(e,t)||p(t);case`}`:return d(U.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return Se(e,t)||p(t);default:if(E(e))return n=f(t,1,be(e)),t.braceNest=0,t.inLinked=!1,n;if(ee(e))return f(t,0,le(e))}return n}function we(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===Cl?f(c,13):Ce(r,c)}return{nextToken:we,currentOffset:i,currentPosition:a,context:l}}var Dl=`parser`,Ol=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,kl=/\\([\\@{}|])/g;function Al(e,t){return t}function jl(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function Ml(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,n){let e=hl(r,t?ml(i,s):null,{domain:Dl,args:o});n(e)}}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t.replace(kl,Al),a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(Ol,jl),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Nl(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(o)),n.key=l(e,o.value||``);break;default:{r(e,U.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Nl(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,U.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=El(n,Nc({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,U.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function Nl(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function Pl(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function Fl(e,t){for(let n=0;n<e.length;n++)Il(e[n],t)}function Il(e,t){switch(e.type){case 1:Fl(e.cases,t),t.helper(`plural`);break;case 2:Fl(e.items,t);break;case 6:Il(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`)}}function Ll(e,t={}){let n=Pl(e);n.helper(`normalize`),e.body&&Il(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function Rl(e){let t=e.body;return t.type===2?zl(t):t.cases.forEach(e=>zl(e)),e}function zl(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(r.type!==3&&r.type!==9||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Gc(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}function Bl(e){switch(e.t=e.type,e.type){case 0:{let t=e;Bl(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)Bl(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)Bl(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;Bl(t.key),t.k=t.key,delete t.key,t.modifier&&(Bl(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}}delete e.type}function Vl(e,t){let{filename:n,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,o={filename:n,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);let s=()=>o;function c(e,t){o.code+=e}function l(e,t=!0){let n=t?r:``;c(i?n+` `.repeat(e):n)}function u(e=!0){let t=++o.indentLevel;e&&l(t)}function d(e=!0){let t=--o.indentLevel;e&&l(t)}function f(){l(o.indentLevel)}return{context:s,push:c,indent:u,deindent:d,newline:f,helper:e=>`_${e}`,needIndent:()=>o.needIndent}}function Hl(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),Kl(e,t.key),t.modifier?(e.push(`, `),Kl(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function Ul(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(Kl(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function Wl(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(Kl(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function Gl(e,t){t.body?Kl(e,t.body):e.push(`null`)}function Kl(e,t){let{helper:n}=e;switch(t.type){case 0:Gl(e,t);break;case 1:Wl(e,t);break;case 2:Ul(e,t);break;case 6:Hl(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t)}}var ql=(e,t={})=>{let n=z(t.mode)?t.mode:`normal`,r=z(t.filename)?t.filename:`message.intl`;t.sourceMap;let i=t.breakLineCode==null?n===`arrow`?`;`:`
4
+ `:t.breakLineCode,a=t.needIndent?t.needIndent:n!==`arrow`,o=e.helpers||[],s=Vl(e,{filename:r,breakLineCode:i,needIndent:a});s.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),s.indent(a),o.length>0&&(s.push(`const { ${Gc(o.map(e=>`${e}: _${e}`),`, `)} } = ctx`),s.newline()),s.push(`return `),Kl(s,e),s.deindent(a),s.push(`}`),delete e.helpers;let{code:c,map:l}=s.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function Jl(e,t={}){let n=Nc({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null||n.optimize,o=Ml(n).parse(e);return r?(a&&Rl(o),i&&Bl(o),{ast:o,code:``}):(Ll(o,n),ql(o,n))}function Yl(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Ic().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Ic().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Xl(e){return V(e)&&ou(e)===0&&(Rc(e,`b`)||Rc(e,`body`))}var Zl=[`b`,`body`];function Ql(e){return pu(e,Zl)}var $l=[`c`,`cases`];function eu(e){return pu(e,$l,[])}var tu=[`s`,`static`];function nu(e){return pu(e,tu)}var ru=[`i`,`items`];function iu(e){return pu(e,ru,[])}var au=[`t`,`type`];function ou(e){return pu(e,au)}var su=[`v`,`value`];function cu(e,t){let n=pu(e,su);if(n!=null)return n;throw hu(t)}var lu=[`m`,`modifier`];function uu(e){return pu(e,lu)}var du=[`k`,`key`];function fu(e){let t=pu(e,du);if(t)return t;throw hu(6)}function pu(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(Rc(e,r)&&e[r]!=null)return e[r]}return n}var mu=[...Zl,...$l,...tu,...ru,...du,...lu,...su,...au];function hu(e){return Error(`unhandled node type: ${e}`)}function gu(e){return t=>_u(t,e)}function _u(e,t){let n=Ql(t);if(n==null)throw hu(0);if(ou(n)===1){let t=eu(n);return e.plural(t.reduce((t,n)=>[...t,vu(e,n)],[]))}return vu(e,n)}function vu(e,t){let n=nu(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=iu(t).reduce((t,n)=>[...t,yu(e,n)],[]);return e.normalize(n)}}function yu(e,t){let n=ou(t);switch(n){case 3:return cu(t,n);case 9:return cu(t,n);case 4:{let r=t;if(Rc(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(Rc(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw hu(n)}case 5:{let r=t;if(Rc(r,`i`)&&kc(r.i))return e.interpolate(e.list(r.i));if(Rc(r,`index`)&&kc(r.index))return e.interpolate(e.list(r.index));throw hu(n)}case 6:{let n=t,r=uu(n),i=fu(n);return e.linked(yu(e,i),r?yu(e,r):void 0,e.type)}case 7:return cu(t,n);case 8:return cu(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var bu=e=>e,xu=I();function Su(e,t={}){let n=!1,r=t.onError||gl;return t.onError=e=>{n=!0,r(e)},{...Jl(e,t),detectError:n}}function Cu(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&z(e)){B(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||bu)(e),r=xu[n];if(r)return r;let{ast:i,detectError:a}=Su(e,{...t,location:!1,jit:!0}),o=gu(i);return a?o:xu[n]=o}{if(!Xl(e))return(()=>e);let t=e.cacheKey;return t?xu[t]||(xu[t]=gu(e)):gu(e)}}var wu=null;function Tu(e){wu=e}function Eu(e,t,n){wu&&wu.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var Du=Ou(`function:translate`);function Ou(e){return t=>wu&&wu.emit(e,t)}var ku={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Au(e){return hl(e,null,void 0)}ku.INVALID_ARGUMENT,ku.INVALID_DATE_ARGUMENT,ku.INVALID_ISO_DATE_ARGUMENT,ku.NOT_SUPPORT_NON_STRING_MESSAGE,ku.NOT_SUPPORT_LOCALE_PROMISE_VALUE,ku.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,ku.NOT_SUPPORT_LOCALE_TYPE;function ju(e,t){return t.locale==null?Nu(e.locale):Nu(t.locale)}var Mu;function Nu(e){if(z(e))return e;if(R(e)){if(e.resolvedOnce&&Mu!=null)return Mu;if(e.constructor.name===`Function`){let t=e();if(Vc(t))throw Au(ku.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Mu=t}throw Au(ku.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Au(ku.NOT_SUPPORT_LOCALE_TYPE)}function Pu(e,t,n){return[...new Set([n,...L(t)?t:V(t)?Object.keys(t).filter(e=>e!=="default"):z(t)?[t]:[n]])]}function Fu(e,t,n){let r=z(n)?n:Zu,i=e,a;V(t)?(i.__localeChainObjectCache||=new WeakMap,a=i.__localeChainObjectCache.get(t),a||(a=new Map,i.__localeChainObjectCache.set(t,a))):(i.__localeChainCache||=new Map,a=i.__localeChainCache.get(t),a||(a=new Map,i.__localeChainCache.set(t,a)));let o=a.get(r);if(o)return o;let s=[],c=[n];for(;L(c);)c=Iu(s,c,t);let l=L(t)||!H(t)?t:t.default?t.default:null;return c=z(l)?[l]:l,L(c)&&Iu(s,c,!1),a.set(r,s),s}function Iu(e,t,n){let r=!0;for(let i=0;i<t.length&&B(r);i++){let a=t[i];z(a)&&(r=Lu(e,t[i],n))}return r}function Lu(e,t,n){let r,i=t.split(`-`);do r=Ru(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function Ru(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(L(n)||H(n))&&n[i]&&(r=n[i])}return r}var zu=[];zu[0]={w:[0],i:[3,0],"[":[4],o:[7]},zu[1]={w:[1],".":[2],"[":[4],o:[7]},zu[2]={w:[2],i:[3,0],0:[3,0]},zu[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},zu[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},zu[5]={"'":[4,0],o:8,l:[5,0]},zu[6]={'"':[4,0],o:8,l:[6,0]};var Bu=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Vu(e){return Bu.test(e)}function Hu(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function Uu(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function Wu(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:Vu(t)?Hu(t):`*`+t}function Gu(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=Wu(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=Uu(a),d=zu[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var Ku=new Map;function qu(e,t){return V(e)?zc(e,t):null}function Ju(e,t){if(!V(e))return null;let n=Ku.get(t);if(n||(n=Gu(t),n&&Ku.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(mu.includes(e)&&Xl(i)||!V(i)||!Rc(i,e))return null;let t=i[e];if(t===void 0||R(i))return null;i=t,a++}return i}var Yu={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};Yu.NOT_FOUND_KEY,Yu.FALLBACK_TO_TRANSLATE,Yu.CANNOT_FORMAT_NUMBER,Yu.FALLBACK_TO_NUMBER_FORMAT,Yu.CANNOT_FORMAT_DATE,Yu.FALLBACK_TO_DATE_FORMAT,Yu.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER,Yu.INVALID_NUMBER_ARGUMENT,Yu.INVALID_DATE_ARGUMENT;var Xu=`11.4.16`,Zu=`en-US`,Qu=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $u(){return{upper:(e,t)=>t===`text`&&z(e)?e.toUpperCase():t===`vnode`&&V(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&z(e)?e.toLowerCase():t===`vnode`&&V(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&z(e)?Qu(e):t===`vnode`&&V(e)&&`__v_isVNode`in e?Qu(e.children):e}}var ed;function td(e){ed=e}var nd;function rd(e){nd=e}var id;function ad(e){id=e}var od=null,sd=()=>od,cd=null,ld=e=>{cd=e},ud=()=>cd,dd=0;function fd(e={}){let t=R(e.onWarn)?e.onWarn:Kc,n=z(e.version)?e.version:Xu,r=z(e.locale)||R(e.locale)?e.locale:Zu,i=R(r)?Zu:r,a=L(e.fallbackLocale)||H(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=H(e.messages)?e.messages:pd(i),s=H(e.datetimeFormats)?e.datetimeFormats:pd(i),c=H(e.numberFormats)?e.numberFormats:pd(i),l=Nc(I(),e.modifiers,$u()),u=e.pluralRules||I(),d=R(e.missing)?e.missing:null,f=B(e.missingWarn)||jc(e.missingWarn)?e.missingWarn:!0,p=B(e.fallbackWarn)||jc(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=R(e.postTranslation)?e.postTranslation:null,_=H(e.processor)?e.processor:null,v=!B(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,b=R(e.messageCompiler)?e.messageCompiler:ed,x=R(e.messageResolver)?e.messageResolver:nd||qu,S=R(e.localeFallbacker)?e.localeFallbacker:id||Pu,C=V(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=V(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,E=V(w.__numberFormatters)?w.__numberFormatters:new Map,ee=V(w.__meta)?w.__meta:{};dd++;let te={version:n,cid:dd,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:ee};return te.datetimeFormats=s,te.numberFormats=c,te.__datetimeFormatters=T,te.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&Eu(te,n,ee),te}var pd=e=>({[e]:I()});function md(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return z(r)?r:t}return t}function hd(e,t){let n=e;V(t)?n.__localeChainObjectCache?.delete(t):n.__localeChainCache?.delete(t)}function gd(e,t,n){hd(e,n),e.fallbackContext&&hd(e.fallbackContext,n),e.localeFallbacker(e,n,t)}function _d(e,t){return e!==t&&e.split(`-`)[0]===t.split(`-`)[0]}function vd(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(_d(e,t[r]))return!0;return!1}function yd(e,t,n,r,i,a,o){let{fallbackLocale:s,localeFallbacker:c,onWarn:l}=e,u=c(e,s,n);for(let n=0;n<u.length;n++){let a=u[n];if(H(zc(zc(r,a)||{},t))&&z(a))return a;md(e,t,a,i,o)}return null}function bd(e,t,n){let r=`${e}__${t}`;return H(n)&&!Mc(n)&&(r=`${r}__${JSON.stringify(n)}`),r}function xd(e,t,n){for(let r in n){let n=`${t}__${r}`;for(let t of e.keys())(t===n||t.startsWith(`${n}__`))&&e.delete(t)}}function Sd(e,t,n,r){let[,i,a,o]=e,s=n;return z(i)?t.key=i:H(i)&&Object.keys(i).forEach(e=>{r.includes(e)?s[e]=i[e]:t[e]=i[e]}),z(a)?t.locale=a:H(a)&&(s=a),H(o)&&(s=o),s}var Cd=typeof Intl<`u`;Cd&&Intl.DateTimeFormat,Cd&&Intl.NumberFormat;function wd(e,...t){let{datetimeFormats:n,unresolving:r,onWarn:i}=e,{__datetimeFormatters:a}=e;if(!z(t[0])&&!Ac(t[0])&&!kc(t[0]))return``;let[o,s,c,l]=Ed(...t),u=B(c.missingWarn)?c.missingWarn:e.missingWarn,d=B(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=!!c.part,p=ju(e,c);if(!z(o)||o===``){let e=new Intl.DateTimeFormat(p.replace(/!/g,``),l);return f?e.formatToParts(s):e.format(s)}let m=yd(e,o,p,n,u,d,`datetime format`);if(!z(m))return r?-1:o;let h=n[m][o],g=bd(m,o,l),_=a.get(g);return _||(_=new Intl.DateTimeFormat(m,Nc({},h,l)),a.set(g,_)),f?_.formatToParts(s):_.format(s)}var Td=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function Ed(...e){let[t]=e,n=I(),r=I(),i;if(z(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Au(ku.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(n);try{i.toISOString()}catch{throw Au(ku.INVALID_ISO_DATE_ARGUMENT)}}else if(Ac(t)){if(isNaN(t.getTime()))throw Au(ku.INVALID_DATE_ARGUMENT);i=t}else if(kc(t))i=t;else throw Au(ku.INVALID_ARGUMENT);let a=Sd(e,n,r,Td);return[n.key||``,i,n,a]}function Dd(e,t,n){xd(e.__datetimeFormatters,t,n)}function Od(e,...t){let{numberFormats:n,unresolving:r,onWarn:i}=e,{__numberFormatters:a}=e;if(!kc(t[0]))return``;let[o,s,c,l]=Ad(...t),u=B(c.missingWarn)?c.missingWarn:e.missingWarn,d=B(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=!!c.part,p=ju(e,c);if(!z(o)||o===``){let e=new Intl.NumberFormat(p.replace(/!/g,``),l);return f?e.formatToParts(s):e.format(s)}let m=yd(e,o,p,n,u,d,`number format`);if(!z(m))return r?-1:o;let h=n[m][o],g=bd(m,o,l),_=a.get(g);return _||(_=new Intl.NumberFormat(m,Nc({},h,l)),a.set(g,_)),f?_.formatToParts(s):_.format(s)}var kd=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function Ad(...e){let[t]=e,n=I(),r=I();if(!kc(t))throw Au(ku.INVALID_ARGUMENT);let i=t,a=Sd(e,n,r,kd);return[n.key||``,i,n,a]}function jd(e,t,n){xd(e.__numberFormatters,t,n)}var Md=e=>e,Nd=e=>``,Pd=`text`,Fd=e=>e.length===0?``:Gc(e),Id=Wc;function Ld(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Rd(e){let t=kc(e.pluralIndex)?e.pluralIndex:-1;return kc(e.named?.count)?e.named.count:kc(e.named?.n)?e.named.n:t}function zd(e={}){let t=e.locale,n=Rd(e),r=z(t)&&e.pluralRules&&R(zc(e.pluralRules,t))?e.pluralRules[t]:Ld,i=r===Ld?void 0:Ld,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||I(),l=kc(e.pluralIndex),u=t=>{let n=Bc(t)?zc(c,t):c[t];return l&&!n&&(t===`count`||t===`n`)?e.pluralIndex:n};function d(t,n){return(R(e.messages)?e.messages(t,!!n):V(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):Nd)}let f=t=>e.modifiers?zc(e.modifiers,t):Md,p=R(e.processor?.normalize)?e.processor.normalize:Fd,m=R(e.processor?.interpolate)?e.processor.interpolate:Id,h={list:s,named:u,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?V(n)?(a=n.modifier||a,i=n.type||i):z(n)&&(a=n||a):t.length===2&&(z(n)&&(a=n||a),z(r)&&(i=r||i));let o=d(e,!0)(h),s=o===``||o===void 0?e:o,c=i===`vnode`&&L(s)&&a?s[0]:s;if(!a)return c;let l=f(a);return R(l)?l(c,i):c},message:d,type:z(e.processor?.type)?e.processor.type:Pd,interpolate:m,normalize:p,values:Nc(I(),o,c,l?{count:u(`count`),n:u(`n`)}:{})};return h}var Bd=()=>``,Vd=e=>R(e),Hd=e=>z(e)||Xl(e)||Vd(e);function Ud(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=Jd(...t),u=B(l.missingWarn)?l.missingWarn:e.missingWarn,d=B(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=B(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=z(l.default)||B(l.default)?B(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(z(m)||R(m)),g=ju(e,l);f&&Wd(l);let[_,v,y]=p?[c,g,zc(s,g)||I()]:Gd(e,c,g,o,d,u),b=_,x=c;if(!p&&!Hd(b)&&h&&(b=m,x=b),!p&&(!Hd(b)||!z(v)))return i?-1:c;let S=!1,C=Vd(b)?b:Kd(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=qd(e,C,zd(Xd(e,v,y,l))),T=r?r(w,c):w;if(f&&z(T)&&(T=ul(T)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:z(c)?c:Vd(b)?b.key:``,locale:v||(Vd(b)?b.locale:``),format:z(b)?b:Vd(b)?b.source:``,message:T};t.meta=Nc({},e.__meta,sd()||{}),Du(t)}return T}function Wd(e){if(L(e.list)&&(e.list=e.list.map(e=>z(e)?qc(e):e)),V(e.named)){let t=e.named,n=I();for(let e of Object.keys(t)){let r=t[e];n[e]=z(r)?qc(r):r}e.named=n}}function Gd(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=I(),f,p=null;for(let n=0;n<u.length&&(f=u[n],d=zc(o,f)||I(),(p=c(d,t))===null&&(p=zc(d,t)),!Hd(p));n++)if(!vd(f,u)){let n=md(e,t,f,a,`translate`);n!==t&&(p=n)}return[p,f,d]}function Kd(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(Vd(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=o(r,Yd(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function qd(e,t,n){return t(n)}function Jd(...e){let[t,n,r]=e,i=I();if(!z(t)&&!kc(t)&&!Vd(t)&&!Xl(t))throw Au(ku.INVALID_ARGUMENT);let a=kc(t)?String(t):(Vd(t),t);return kc(n)?i.plural=n:z(n)?i.default=n:H(n)&&!Mc(n)?i.named=n:L(n)&&(i.list=n),kc(r)?i.plural=r:z(r)?i.default=r:H(r)&&Nc(i,r),[a,i]}function Yd(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>Dc(t,n,e)}}function Xd(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[n,,i]=Gd(u||e,r,t,s,c,l);a=n??o(i,r)}if(z(a)||Xl(a)){let n=!1,i=Kd(e,r,t,a,r,()=>{n=!0});return n?Bd:i}return Vd(a)?a:Bd}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),kc(r.plural)&&(d.pluralIndex=r.plural),d}Yl();var Zd=`11.4.16`;function Qd(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(Ic().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(Ic().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Ic().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Ic().__INTLIFY_PROD_DEVTOOLS__=!1)}var W={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function $d(e,...t){return hl(e,null,void 0)}W.UNEXPECTED_RETURN_TYPE,W.INVALID_ARGUMENT,W.MUST_BE_CALL_SETUP_TOP,W.NOT_INSTALLED,W.UNEXPECTED_ERROR,W.REQUIRED_VALUE,W.INVALID_VALUE,W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,W.NOT_INSTALLED_WITH_PROVIDE,W.NOT_COMPATIBLE_LEGACY_VUE_I18N,W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var ef=Ec(`__translateVNode`),tf=Ec(`__datetimeParts`),nf=Ec(`__numberParts`),rf=Ec(`__setPluralRules`);Ec(`__intlifyMeta`);var af=Ec(`__injectWithOption`),of=Ec(`__dispose`),sf={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15,IGNORE_UNSAFE_LOCALE:16};sf.FALLBACK_TO_ROOT,sf.NOT_FOUND_PARENT_SCOPE,sf.IGNORE_OBJ_FLATTEN,sf.DEPRECATE_LEGACY_MODE,sf.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,sf.DUPLICATE_USE_I18N_CALLING,sf.IGNORE_UNSAFE_LOCALE;var cf=null;{let e=Ic().__VUE_INSTANCE_SETTERS__;L(e)&&e.push(e=>{cf=e})}function lf(e){return!!Bc(e)}function uf(e){if(!V(e)||Xl(e))return e;for(let t in e)if(Rc(e,t)){if(!t.includes(`.`))V(e[t])&&uf(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=I()),!V(i[n[e]])||Xl(i[n[e]])&&(mu.includes(n[e+1])||n[e+1]===`cacheKey`)){a=!0;break}i=i[n[e]]}a||(i[n[r]]=e[t],delete e[t]);let o=i[n[r]];V(o)&&uf(o)}}return e}function df(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=H(n)?n:L(r)?I():{[e]:I()};if(L(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;if(t){if(lf(t))return;o[t]=zc(o,t)||I(),fl(n,o[t])}else fl(n,o)}else z(e)&&fl(JSON.parse(e),o)}),i==null&&a)for(let e in o)Rc(o,e)&&uf(o[e]);return o}function ff(e){return e.type}function pf(e,t,n){let r=V(t.messages)?t.messages:I();`__i18nGlobal`in n&&(r=df(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),V(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(V(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function mf(e){return k(Qe,null,e,0)}function hf(){return cf??Ve()}var gf=()=>[],_f=()=>!1,vf=0;function yf(e){return((t,n,r,i)=>e(n,r,hf()||void 0,i))}function bf(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=Tc?wt:P,o=!B(e.inheritLocale)||e.inheritLocale,s=a(t&&o?t.locale.value:z(e.locale)?e.locale:Zu),c=a(t&&o?t.fallbackLocale.value:z(e.fallbackLocale)||L(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(df(s.value,e)),u=a(H(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(H(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:B(e.missingWarn)||jc(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:B(e.fallbackWarn)||jc(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:!B(e.fallbackRoot)||e.fallbackRoot,h=!!e.fallbackFormat,g=R(e.missing)?e.missing:null,_=R(e.missing)?yf(e.missing):null,v=R(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!B(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,x=t?t.modifiers:H(e.modifiers)?e.modifiers:{},S=e.pluralRules||t&&t.pluralRules,C;C=(()=>{r&&ld(null);let t={version:Zd,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:x,pluralRules:S,missing:_===null?void 0:_,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value;let n=fd(t);return r&&ld(n),n})(),gd(C,s.value,c.value);function w(){return[s.value,c.value,l.value,u.value,d.value]}let T=N({get:()=>s.value,set:e=>{C.locale=e,s.value=e}});function E(e){r||(C.fallbackContext=ud());try{return e()}finally{r||(C.fallbackContext=void 0)}}function ee(e){E(()=>gd(C,s.value,e))}let te=N({get:()=>c.value,set:e=>{c.value=e,C.fallbackLocale=c.value,ee(c.value)}}),ne=N(()=>l.value),re=N(()=>u.value),ie=N(()=>d.value);function ae(){return R(v)?v:null}function oe(e){v=e,C.postTranslation=e}function se(){return g}function D(e){e!==null&&(_=yf(e)),g=e,C.missing=_}let O=(e,n,r,i,a,o)=>{w();let s;try{__INTLIFY_PROD_DEVTOOLS__,s=E(()=>e(C))}finally{__INTLIFY_PROD_DEVTOOLS__}if(r!==`translate exists`&&kc(s)&&s===-1||r===`translate exists`&&!s){let[e,r]=n();return t&&m?i(t):a(e)}if(o(s))return s;throw $d(W.UNEXPECTED_RETURN_TYPE)};function ce(...e){return O(t=>Reflect.apply(Ud,null,[t,...e]),()=>Jd(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>z(e))}function le(...e){let[t,n,r]=e;if(r&&!V(r))throw $d(W.INVALID_ARGUMENT);return ce(t,n,Nc({resolvedMessage:!0},r||{}))}function ue(...e){return O(t=>Reflect.apply(wd,null,[t,...e]),()=>Ed(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>z(e)||L(e))}function de(...e){return O(t=>Reflect.apply(Od,null,[t,...e]),()=>Ad(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>z(e)||L(e))}function fe(e){return e.map(e=>z(e)||kc(e)||B(e)?mf(String(e)):e)}let pe={normalize:fe,interpolate:e=>e,type:`vnode`};function me(...e){return O(t=>{let n,r=t;try{r.processor=pe,n=Reflect.apply(Ud,null,[r,...e])}finally{r.processor=null}return n},()=>Jd(...e),`translate`,t=>t[ef](...e),e=>[mf(e)],e=>L(e))}function he(...e){return O(t=>Reflect.apply(Od,null,[t,...e]),()=>Ad(...e),`number format`,t=>t[nf](...e),gf,e=>z(e)||L(e))}function ge(...e){return O(t=>Reflect.apply(wd,null,[t,...e]),()=>Ed(...e),`datetime format`,t=>t[tf](...e),gf,e=>z(e)||L(e))}function _e(e){S=e,C.pluralRules=S}function ve(e,t){let n=Se(e),r=C.messageResolver(n,t);return r===null?zc(n,t):r}function ye(e,t){return O(()=>{if(!e)return!1;let n=z(t)?t:s.value,r=z(t)?[n]:C.localeFallbacker(C,c.value,n);for(let t=0;t<r.length;t++)if(Hd(ve(r[t],e)))return!0;return!1},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),_f,e=>B(e))}function be(e){let t=null,n=C.localeFallbacker(C,c.value,s.value);for(let r=0;r<n.length;r++){let i=ve(n[r],e);if(i!=null){t=i;break}}return t}function xe(e){return be(e)??(t&&t.tm(e)||{})}function Se(e){return zc(l.value,e)||{}}function Ce(e,t){lf(e)||(i&&uf(t),l.value[e]=t,C.messages=l.value)}function we(e,t){lf(e)||(l.value[e]=zc(l.value,e)||{},i&&uf(t),fl(t,l.value[e]),C.messages=l.value)}function Te(e){return zc(u.value,e)||{}}function Ee(e,t){lf(e)||(u.value[e]=t,C.datetimeFormats=u.value,Dd(C,e,t))}function De(e,t){lf(e)||(u.value[e]=Nc(zc(u.value,e)||{},t),C.datetimeFormats=u.value,Dd(C,e,t))}function Oe(e){return zc(d.value,e)||{}}function ke(e,t){lf(e)||(d.value[e]=t,C.numberFormats=d.value,jd(C,e,t))}function Ae(e,t){lf(e)||(d.value[e]=Nc(zc(d.value,e)||{},t),C.numberFormats=d.value,jd(C,e,t))}vf++,A(c,()=>ee(c.value),{deep:!0,flush:`sync`}),t&&Tc&&(A(t.locale,e=>{o&&(s.value=e,C.locale=e,gd(C,s.value,c.value))}),A(t.fallbackLocale,e=>{o&&(c.value=e,C.fallbackLocale=c.value,gd(C,s.value,c.value))}));let je={id:vf,locale:T,fallbackLocale:te,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(T.value=t.locale.value,te.value=t.fallbackLocale.value)},get availableLocales(){return Object.keys(l.value).sort()},messages:ne,get modifiers(){return x},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,C.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,C.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return h},set fallbackFormat(e){h=e,C.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,C.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,C.escapeParameter=e},t:ce,getLocaleMessage:Se,setLocaleMessage:Ce,mergeLocaleMessage:we,getPostTranslationHandler:ae,setPostTranslationHandler:oe,getMissingHandler:se,setMissingHandler:D,[rf]:_e};return je.datetimeFormats=re,je.numberFormats=ie,je.rt=le,je.te=ye,je.tm=xe,je.d=ue,je.n=de,je.getDateTimeFormat=Te,je.setDateTimeFormat=Ee,je.mergeDateTimeFormat=De,je.getNumberFormat=Oe,je.setNumberFormat=ke,je.mergeNumberFormat=Ae,je[af]=n,je[ef]=me,je[tf]=ge,je[nf]=he,je}function xf(e){let t=z(e.locale)?e.locale:Zu,n=z(e.fallbackLocale)||L(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=R(e.missing)?e.missing:void 0,i=B(e.silentTranslationWarn)||jc(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=B(e.silentFallbackWarn)||jc(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=!B(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,c=H(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,u=R(e.postTranslation)?e.postTranslation:void 0,d=!z(e.warnHtmlInMessage)||e.warnHtmlInMessage!==`off`,f=!!e.escapeParameterHtml,p=!B(e.sync)||e.sync,m=e.messages;if(H(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,n)=>(lf(n)||Nc(zc(e,n)||(e[n]={}),t[n]),e),m||{})}let{__i18n:h,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:b,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:l,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:g,__injectWithOption:_}}function Sf(e={}){let t=bf(xf(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return B(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=B(e)?!e:e},get silentFallbackWarn(){return B(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=B(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function Cf(e,t,n){return{beforeCreate(){let r=hf();if(!r)throw $d(W.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=Nc({},i.i18n);if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=wf(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Sf(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n){if(this===this.$root)this.$i18n=wf(e,i);else{this.$i18n=Sf({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else this.$i18n=e;i.__i18nGlobal&&pf(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){let e=hf();if(!e)throw $d(W.UNEXPECTED_ERROR);let t=this.$i18n;t&&(delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t?.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n)}}}function wf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[rf](t.pluralizationRules||e.pluralizationRules);let n=df(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var Tf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function Ef({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===pt?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},I())}function Df(){return pt}var Of=ct({name:`i18n-t`,props:Nc({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>kc(e)||!isNaN(e)}},Tf),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||zf({useScope:e.scope,__useComponent:!0});return()=>{let a=()=>{let r=Object.keys(n).filter(e=>e[0]!==`_`),a=I();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=z(e.plural)?+e.plural:e.plural);let o=Ef(t,r);return i[ef](e.keypath,o,a)},o=Nc(I(),r),s=z(e.tag)||V(e.tag)?e.tag:Df();return V(s)?Fe(s,o,{default:a}):Fe(s,o,a())}}});function kf(e){return L(e)&&!z(e[0])}function Af(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t=()=>{let t={part:!0},a=I();e.locale&&(t.locale=e.locale),z(e.format)?t.key=e.format:V(e.format)&&(z(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,r)=>n.includes(r)?Nc(I(),t,{[r]:e.format[r]}):t,I()));let o=r(e.value,t,a),s=[t.key];return L(o)?s=o.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:o}):[e.value];return kf(r)&&(r[0].key=`${e.type}-${t}`),r}):z(o)&&(s=[o]),s},o=Nc(I(),a),s=z(e.tag)||V(e.tag)?e.tag:Df();return V(s)?Fe(s,o,{default:t}):Fe(s,o,t())}}var jf=ct({name:`i18n-n`,props:Nc({value:{type:Number,required:!0},format:{type:[String,Object]}},Tf),setup(e,t){let n=e.i18n||zf({useScope:e.scope,__useComponent:!0});return Af(e,t,kd,(...e)=>n[nf](...e))}});function Mf(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Nf(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw $d(W.UNEXPECTED_ERROR);let i=Mf(e,n.$),a=Pf(r);return[Reflect.apply(i.t,i,[...Ff(a)]),i]};return{created:(e,n)=>{let[r,i]=t(n);Tc&&(e.__i18nWatcher=A(i.locale,()=>{n.instance&&n.instance.$forceUpdate()})),e.__composer=i,e.textContent=r},unmounted:e=>{Tc&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=Pf(t);e.textContent=Reflect.apply(n.t,n,[...Ff(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function Pf(e){if(z(e))return{path:e};if(H(e)){if(!(`path`in e))throw $d(W.REQUIRED_VALUE,`path`);return e}throw $d(W.INVALID_VALUE)}function Ff(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return z(n)&&(o.locale=n),kc(i)&&(o.plural=i),kc(a)&&(o.plural=a),[t,s,o]}function If(e,t,...n){let r=H(n[0])?n[0]:{};(!B(r.globalInstall)||r.globalInstall)&&([Of.name,`I18nT`].forEach(t=>e.component(t,Of)),[jf.name,`I18nN`].forEach(t=>e.component(t,jf)),[Xf.name,`I18nD`].forEach(t=>e.component(t,Xf))),e.directive(`t`,Nf(t))}var Lf=Ec(`global-vue-i18n`);function Rf(e={}){let t=__VUE_I18N_LEGACY_API__&&B(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!B(e.globalInjection)||e.globalInjection,r=new Map,[i,a]=Bf(e,t),o=Ec(``);function s(e){return r.get(e)||null}function c(e,t){r.set(e,t)}function l(e){r.delete(e)}let u={get mode(){return __VUE_I18N_LEGACY_API__&&t?`legacy`:`composition`},async install(e,...r){if(e.__VUE_I18N_SYMBOL__=o,e.provide(e.__VUE_I18N_SYMBOL__,u),H(r[0])){let e=r[0];u.__composerExtend=e.__composerExtend,u.__vueI18nExtend=e.__vueI18nExtend}let i=null;!t&&n&&(i=Yf(e,u.global)),__VUE_I18N_FULL_INSTALL__&&If(e,u,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin(Cf(a,a.__composer,u));let s=e.unmount;e.unmount=()=>{i&&i(),u.dispose(),s()}},get global(){return a},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:c,__deleteInstance:l};return u}function zf(e={}){let t=hf();if(t==null)throw $d(W.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $d(W.NOT_INSTALLED);let n=Vf(t),r=Uf(n),i=ff(t),a=Hf(e,i);if(a===`global`)return pf(r,e,i),r;if(a===`parent`){let i=Wf(n,t,e.__useComponent);return i??=r,i}if(a===`isolated`){if(n.mode!==`composition`)throw $d(W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);let i=n,a=Nc({},e);a.__root=Wf(n,t)||r;let o=bf(a);return i.__composerExtend&&(o[of]=i.__composerExtend(o)),Ye()&&ht(()=>{let e=o[of];e&&(e(),delete o[of])}),o}let o=n,s=o.__getInstance(t);if(s==null){let n=Nc({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=bf(n),o.__composerExtend&&(s[of]=o.__composerExtend(s)),Kf(o,t,s),o.__setInstance(t,s)}return s}function Bf(e,t){let n=ot(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Sf(e)):n.run(()=>bf(e));if(r==null)throw $d(W.UNEXPECTED_ERROR);return[n,r]}function Vf(e){let t=Be(e.isCE?Lf:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $d(e.isCE?W.NOT_INSTALLED_WITH_PROVIDE:W.UNEXPECTED_ERROR);return t}function Hf(e,t){return Mc(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function Uf(e){return e.mode===`composition`?e.global:e.global.__composer}function Wf(e,t,n=!1){let r=null,i=t.root,a=Gf(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[af]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function Gf(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Kf(e,t,n){Ze(()=>{},t),nt(()=>{let r=n;e.__deleteInstance(t);let i=r[of];i&&(i(),delete r[of])},t)}var qf=[`locale`,`fallbackLocale`,`availableLocales`],Jf=[`t`,`rt`,`d`,`n`,`tm`,`te`];function Yf(e,t){let n=Object.create(null);return qf.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw $d(W.UNEXPECTED_ERROR);let i=St(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,Jf.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw $d(W.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,Jf.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}var Xf=ct({name:`i18n-d`,props:Nc({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Tf),setup(e,t){let n=e.i18n||zf({useScope:e.scope,__useComponent:!0});return Af(e,t,Td,(...e)=>n[tf](...e))}});if(Qd(),td(Cu),rd(Ju),ad(Fu),__INTLIFY_PROD_DEVTOOLS__){let e=Ic();e.__INTLIFY__=!0,Tu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var Zf={en:{common:{save:`Save`,cancel:`Cancel`,create:`Create`,edit:`Edit`,delete:`Delete`,deleteForever:`Delete forever`,restore:`Restore`,close:`Close`,apply:`Apply`,remove:`Remove`,search:`Search`,loading:`Loading…`,required:`Required`,none:`—`,yes:`Yes`,no:`No`,download:`Download`,actions:`Actions`,confirm:`Confirm`,serverRejected:`The server rejected the request.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Admin`,account:`Account`,signOut:`Sign out`,toggleNavigation:`Toggle navigation`,toggleTheme:`Toggle theme`,language:`Language: {name}`,languageFailed:`The language could not be saved: {error}`,unsupportedDescriptor:`The API publishes descriptor version {version}; this admin reads version {supported}. {remedy}`,version:{mismatch:`This admin UI is version {current}; kinetis/vector expects {expected}.`,dismiss:`Dismiss`,hostedRemedy:`Run vendor/bin/kinetis vector:install-ui on the server, then restart the workers.`,layeredRemedy:`Upgrade {package} to {version} and rebuild.`,layeredRemedyAny:`Install the {package} release this kinetis/vector expects and rebuild.`},nav:{main:`Main`,dashboard:`Dashboard`,jobs:`Jobs`,settings:`Settings`,pages:`Pages`,badge:`{count} {label}`},page:{unknown:`Unknown page`,loading:`Loading the page`},impersonation:{actingAs:`You are acting as {name}.`,anotherUser:`another user`,stop:`Stop impersonating`,noAccess:`{name} has no access to the admin, so there is nothing to see as them. Impersonation was stopped.`,noToken:`The application answered without a token or a reload, so nothing changed.`,ended:`Your impersonation ran out, so you are back in your own account.`},palette:{placeholder:`Search records and resources…`,records:`Records`,resources:`Resources`,noMatch:`No records match`},inbox:{title:`Notifications`,markAllRead:`Mark all read`,empty:`Nothing yet`},login:{pageTitle:`Sign in · {brand}`,subtitle:`Sign in to the admin`,email:`E-mail`,password:`Password`,submit:`Sign in`,invalidEmail:`Enter a valid e-mail address`,welcome:`Welcome back, {name}.`,signedOutIdle:`You were signed out after {minutes} minutes of inactivity. Sign in again to continue where you left off.`,impersonationEnded:`Your impersonation ran out and your own session could not be renewed. Sign in again to continue.`},home:{title:`Dashboard`}},list:{field:`Field`,search:`Search {label}…`,noSearch:`No searchable fields`,noGrouping:`No grouping`,groupBy:`Group by`,groupHeader:`{label}:`,expandGroup:`Expand group`,collapseGroup:`Collapse group`,trash:{label:`Trash`,active:`Active`,only:`Trash`,with:`Active and trash`},exportCsv:`Export CSV`,importCsv:`Import CSV`,exportQueued:`The export is large and was queued; you are notified when it is ready.`,exportPrepared:`The export is being prepared; you are notified when it is ready.`,export:`Export`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nothing matches`,empty:`No {label} yet`,summary:{sum:`Sum`,avg:`Average`,min:`Min`,max:`Max`,count:`Count`},operation:{deleteTitle:`Delete {count} {noun}?`,restoreTitle:`Restore {count} {noun}?`,forceDeleteTitle:`Delete {count} {noun} forever?`,deleteAllTitle:`Delete all matching {noun}?`,restoreAllTitle:`Restore all matching {noun}?`,forceDeleteAllTitle:`Delete all matching {noun} forever?`,toTrash:`They move to the trash and can be restored.`,irreversible:`This cannot be undone.`,restored:`{count} {noun} restored.`,deleted:`{count} {noun} deleted.`},bulk:{allMatching:`All {total} matching`,allMatchingUncounted:`All matching records`,selected:`{count} selected`,selectAllMatching:`Select all {total} matching`,selectAllMatchingUncounted:`Select all matching records`,onlyChecked:`Only checked rows`,clearSelection:`Clear selection`},bulkEdit:{everyMatching:`every matching {noun} ({count})`,everyMatchingUncounted:`every matching {noun}`,some:`{count} {noun}`,title:`Edit {subject}`,fieldsToChange:`Fields to change`,fieldsHint:`Only the fields you pick are written; every other value stays as it is.`,applyTo:`Apply to {count}`,applyToAll:`Apply to all matching`,updated:`{count} {noun} updated.`},columns:{title:`Columns`,moveUp:`Move up`,moveDown:`Move down`,reset:`Reset`},filter:{add:`Add filter`,condition:`Condition`,value:`Value`,from:`From`,to:`To`,commaSeparated:`Comma-separated`,clear:`Clear`,yes:`yes`,no:`no`,and:`and`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Any of`,anyOfGroup:`Any of, group {n}`,alternative:`Alternative {n}`,or:`or`,orCondition:`or…`,addAnyOf:`Add “any of”`,addToAlternative:`Add a condition to alternative {n}`,removeGroup:`Remove group {n}`,advanced:`Advanced condition`,operators:{eq:`is`,ne:`is not`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`is any of`,nin:`is none of`,like:`contains`,nlike:`does not contain`,between:`is between`,null:`is empty`,nnull:`is not empty`}},views:{menu:`Views`,allRecords:`All records`,default:`Default`,updateWithCurrent:`Update view with the current list`,delete:`Delete view`,deleteTitle:`Delete view “{name}”?`,saveCurrent:`Save current as view…`,saveTitle:`Save view`,updateTitle:`Update “{name}”`,name:`Name`,share:`Share with every admin`,openWith:`Open this resource with this view`,openWithForEveryone:`Open it this way for everyone without a default of their own`,shareFirst:`Share the view to make it everyone’s default.`,everyoneDefault:`Default for everyone`,saved:`View “{name}” saved.`},import:{title:`Import {label}`,file:`CSV file`,analyse:`Analyse`,instructions:"{rows} rows. Map each column to a field, or leave it unmapped to skip it. A `manyToMany` column takes identifiers separated by `{pipe}`.",csvColumn:`CSV column`,sample:`Sample`,skip:`— skip —`,start:`Import {rows} rows`,queued:`Import of {rows} rows queued.`,mode:`Rows`,modes:{create:`Create new records`,update:`Update existing records`,upsert:`Update or create`},key:`Match rows by`,noKey:`Map a column to the key or a unique field first.`,modeHelp:{update:`Each row updates the record whose value matches; a row that matches none goes to the failed-rows file.`,upsert:`Each row updates the record whose value matches, or creates one when none does.`}},pager:{page:`Page {page}`},page:{create:`New {noun}`,unknown:`Unknown resource`,unknownText:`Nothing is registered as “{slug}”.`},inline:{editLabel:`Edit {label}`,pending:`{count} unsaved change | {count} unsaved changes`,save:`Save changes`,discard:`Discard`,saved:`One record saved. | {count} records saved.`,conflict:`A record changed since the list loaded. Reload it and edit again.`,leaveTitle:`Discard {count} unsaved change? | Discard {count} unsaved changes?`,leaveText:`Leaving the list drops the edits you have not saved.`}},record:{unknownResource:`Unknown resource`,new:`New`,newTitle:`New {label}`,editTitle:`Edit {title}`,createNotAllowed:`This resource does not allow creating records here.`,editNotAllowed:`You may not edit this record.`,saved:`{label} saved.`,duplicate:`Duplicate`,copyOf:`A copy of “{title}”. Values that must be unique, and files, start empty.`,variants:{menu:`More ways to save`,saveContinue:`Save and continue editing`,createContinue:`Create and continue editing`,createAnother:`Create and add another`},leave:{title:`Discard your changes?`,text:`Leaving this page drops the changes you have not saved.`,discard:`Discard`},inTrash:`In the trash`,deleteTitle:`Delete {noun} “{title}”?`,deleteForeverTitle:`Delete forever {noun} “{title}”?`,deleteSoftText:`It moves to the trash and can be restored.`,deleteHardText:`This cannot be undone.`,trashed:`{label} moved to the trash.`,deleted:`{label} deleted.`,restored:`{label} restored.`,impersonate:{action:`Impersonate`,title:`Act as “{title}”?`,text:`You see and do what they can, and every change is logged as theirs, with you as the impersonator.`,started:`You are now acting as {title}.`},audit:{title:`History`,byUser:`by user {actor}`,impersonatedBy:`(as impersonated by {impersonator})`,empty:`No recorded changes.`,revert:`Revert`,revertLabel:`Revert this change`,revertTitle:`Revert this change?`,revertText:`Puts back the earlier value of {fields}. The revert is recorded in the history too.`,reverted:`Change reverted.`},panel:{attach:`Attach`,attachTitle:`Attach {label}`,attachCount:`Attach {count}`,attached:`{count} {label} attached.`,records:`records`,record:`record`,empty:`No {label} yet.`,detach:`Detach`,detachLabel:`Detach {title}`,detachTitle:`Detach “{title}”?`,detachText:`It stays a {target}; only its link to this {owner} is removed.`,detached:`{title} detached.`}},actions:{runOn:`Run {action} on {subject}?`,subjectAll:`every matching {label} ({count})`,subjectAllUncounted:`every matching {label}`,subjectCount:`{count} {label}`,done:`{label} done.`,declined:`The action declined.`,redirectRefused:`The action asked to open a page outside the admin; it was not opened.`,downloadStarted:`Download started.`,queued:`{label} was queued.`},dashboard:{title:`Dashboard`,range:`Range`,loading:`Loading`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nothing in this range.`},progress:{of:`of {target}`,label:`Progress`},stat:{previous:`vs {value} before`},table:{empty:`Nothing to show.`,seeAll:`See all`},trend:{total:`Total {value}`}},jobs:{title:`Jobs`,heading:`Background jobs`,columns:{job:`Job`,resource:`Resource`,status:`Status`,progress:`Progress`,started:`Started`},empty:`No jobs yet. Large exports, imports and queued actions appear here.`,kind:{action:`action`,export:`export`,import:`import`},status:{queued:`queued`,running:`running`,done:`done`,failed:`failed`,stalled:`stalled`},detail:{pageTitle:`Job #{id}`,fallbackTitle:`Job`,started:`started {date}`,finished:`finished {date}`,progress:`Job progress`,processed:`{processed} processed`,processedOfTotal:`{processed} of {total} processed`,download:`Download {file}`,file:`file`}},settings:{pageTitle:`Settings`,heading:`Settings`,empty:{title:`No settings`,text:`Nothing is registered for this account to manage.`},saved:`{label} saved.`},fields:{cell:{loading:`Loading {label}`},keyValue:{key:`Key`,value:`Value`,entry:`Entry {n}`,add:`Add entry`,remove:`Remove entry {n}`,more:`+{count} more`,repeated:`Used more than once: {keys}. The last one is kept.`},repeater:{add:`Add {label}`,remove:`Remove {label} {n}`,row:`{label} {n}`,count:`{count} of at most {max}`,unavailable:`You may not see these rows.`},relation:{placeholder:`Type to search`,dependsFirst:`Choose {label} first`},upload:{storageKey:`The storage key of the file.`,tooLarge:`The file is larger than {size} MB.`,rejected:`The file {message}`,uploaded:`Uploaded {name} ({size} KB)`,theFile:`the file`,upTo:`up to {size} MB`,preview:`{label} preview`,remove:`Remove {label}`},richtext:{toolbar:`{label} formatting`,bold:`Bold`,italic:`Italic`,underline:`Underline`,strike:`Strikethrough`,code:`Code`,heading:`Heading {level}`,bulletList:`Bulleted list`,orderedList:`Numbered list`,blockquote:`Quote`,codeBlock:`Code block`,horizontalRule:`Divider`,link:`Link`,linkUrl:`Link address`,linkRefused:`Use an http(s), mailto or relative link`,insertTable:`Insert table`,addRow:`Add row`,addColumn:`Add column`,deleteRow:`Delete row`,deleteColumn:`Delete column`,deleteTable:`Delete table`,image:`Insert image`,undo:`Undo`,redo:`Redo`,source:`Source`,visual:`Visual`,sourceOf:`{label} source`},rules:{maxLength:`At most {max} characters`,minLength:`At least {min} characters`,email:`Enter a valid e-mail address`,url:`Enter a valid URL`,greaterThan:`Must be greater than {limit}`,greaterThanOrEqual:`Must be at least {limit}`,lessThan:`Must be less than {limit}`,lessThanOrEqual:`Must be at most {limit}`,invalidFormat:`Invalid format`,notAllowed:`Not an allowed value`}}},de:{common:{save:`Speichern`,cancel:`Abbrechen`,create:`Anlegen`,edit:`Bearbeiten`,delete:`Löschen`,deleteForever:`Endgültig löschen`,restore:`Wiederherstellen`,close:`Schließen`,apply:`Anwenden`,remove:`Entfernen`,search:`Suchen`,loading:`Wird geladen…`,required:`Erforderlich`,none:`—`,yes:`Ja`,no:`Nein`,download:`Herunterladen`,actions:`Aktionen`,confirm:`Bestätigen`,serverRejected:`Der Server hat die Anfrage abgelehnt.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Admin`,account:`Konto`,signOut:`Abmelden`,toggleNavigation:`Navigation ein-/ausblenden`,toggleTheme:`Design wechseln`,language:`Sprache: {name}`,languageFailed:`Die Sprache konnte nicht gespeichert werden: {error}`,unsupportedDescriptor:`Die API veröffentlicht die Deskriptor-Version {version}; dieser Admin liest Version {supported}. {remedy}`,version:{mismatch:`Diese Admin-Oberfläche ist Version {current}; kinetis/vector erwartet {expected}.`,dismiss:`Ausblenden`,hostedRemedy:`Führen Sie vendor/bin/kinetis vector:install-ui auf dem Server aus und starten Sie die Worker neu.`,layeredRemedy:`Aktualisieren Sie {package} auf {version} und bauen Sie neu.`,layeredRemedyAny:`Installieren Sie die von diesem kinetis/vector erwartete Version von {package} und bauen Sie neu.`},nav:{main:`Hauptmenü`,dashboard:`Dashboard`,jobs:`Jobs`,settings:`Einstellungen`,pages:`Seiten`,badge:`{count} {label}`},page:{unknown:`Unbekannte Seite`,loading:`Seite wird geladen`},impersonation:{actingAs:`Sie handeln als {name}.`,anotherUser:`ein anderer Benutzer`,stop:`Identitätswechsel beenden`,noAccess:`{name} hat keinen Zugriff auf den Admin, daher gibt es in dieser Rolle nichts zu sehen. Der Identitätswechsel wurde beendet.`,noToken:`Die Anwendung hat weder ein Token noch ein Neuladen geliefert, daher wurde nichts geändert.`,ended:`Ihre Identitätsübernahme ist abgelaufen; Sie sind wieder in Ihrem eigenen Konto.`},palette:{placeholder:`Datensätze und Ressourcen suchen…`,records:`Datensätze`,resources:`Ressourcen`,noMatch:`Keine passenden Datensätze`},inbox:{title:`Benachrichtigungen`,markAllRead:`Alle als gelesen markieren`,empty:`Noch nichts`},login:{pageTitle:`Anmelden · {brand}`,subtitle:`Beim Admin anmelden`,email:`E-Mail`,password:`Passwort`,submit:`Anmelden`,invalidEmail:`Geben Sie eine gültige E-Mail-Adresse ein`,welcome:`Willkommen zurück, {name}.`,signedOutIdle:`Sie wurden nach {minutes} Minuten ohne Aktivität abgemeldet. Melden Sie sich erneut an, um dort weiterzumachen, wo Sie aufgehört haben.`,impersonationEnded:`Ihre Identitätsübernahme ist abgelaufen, und Ihre eigene Sitzung konnte nicht erneuert werden. Melden Sie sich erneut an, um fortzufahren.`},home:{title:`Dashboard`}},list:{field:`Feld`,search:`{label} durchsuchen…`,noSearch:`Keine durchsuchbaren Felder`,noGrouping:`Keine Gruppierung`,groupBy:`Gruppieren nach`,groupHeader:`{label}:`,expandGroup:`Gruppe aufklappen`,collapseGroup:`Gruppe zuklappen`,trash:{label:`Papierkorb`,active:`Aktiv`,only:`Papierkorb`,with:`Aktiv und Papierkorb`},exportCsv:`CSV exportieren`,importCsv:`CSV importieren`,exportQueued:`Der Export ist umfangreich und wurde in die Warteschlange gestellt; Sie werden benachrichtigt, sobald er bereit ist.`,exportPrepared:`Der Export wird vorbereitet; Sie werden benachrichtigt, sobald er bereit ist.`,export:`Exportieren`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Keine Treffer`,empty:`Noch keine {label}`,summary:{sum:`Summe`,avg:`Durchschnitt`,min:`Min.`,max:`Max.`,count:`Anzahl`},operation:{deleteTitle:`{count} {noun} löschen?`,restoreTitle:`{count} {noun} wiederherstellen?`,forceDeleteTitle:`{count} {noun} endgültig löschen?`,deleteAllTitle:`Alle passenden {noun} löschen?`,restoreAllTitle:`Alle passenden {noun} wiederherstellen?`,forceDeleteAllTitle:`Alle passenden {noun} endgültig löschen?`,toTrash:`Sie werden in den Papierkorb verschoben und können wiederhergestellt werden.`,irreversible:`Dies kann nicht rückgängig gemacht werden.`,restored:`{count} {noun} wiederhergestellt.`,deleted:`{count} {noun} gelöscht.`},bulk:{allMatching:`Alle {total} Treffer`,allMatchingUncounted:`Alle Treffer`,selected:`{count} ausgewählt`,selectAllMatching:`Alle {total} Treffer auswählen`,selectAllMatchingUncounted:`Alle Treffer auswählen`,onlyChecked:`Nur markierte Zeilen`,clearSelection:`Auswahl aufheben`},bulkEdit:{everyMatching:`alle passenden {noun} ({count})`,everyMatchingUncounted:`alle passenden {noun}`,some:`{count} {noun}`,title:`{subject} bearbeiten`,fieldsToChange:`Zu ändernde Felder`,fieldsHint:`Nur die ausgewählten Felder werden geschrieben; alle anderen Werte bleiben unverändert.`,applyTo:`Auf {count} anwenden`,applyToAll:`Auf alle Treffer anwenden`,updated:`{count} {noun} aktualisiert.`},columns:{title:`Spalten`,moveUp:`Nach oben`,moveDown:`Nach unten`,reset:`Zurücksetzen`},filter:{add:`Filter hinzufügen`,condition:`Bedingung`,value:`Wert`,from:`Von`,to:`Bis`,commaSeparated:`Kommagetrennt`,clear:`Leeren`,yes:`ja`,no:`nein`,and:`und`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Eines von`,anyOfGroup:`Eines von, Gruppe {n}`,alternative:`Alternative {n}`,or:`oder`,orCondition:`oder…`,addAnyOf:`„Eines von“ hinzufügen`,addToAlternative:`Bedingung zu Alternative {n} hinzufügen`,removeGroup:`Gruppe {n} entfernen`,advanced:`Erweiterte Bedingung`,operators:{eq:`ist`,ne:`ist nicht`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`ist eines von`,nin:`ist keines von`,like:`enthält`,nlike:`enthält nicht`,between:`liegt zwischen`,null:`ist leer`,nnull:`ist nicht leer`}},views:{menu:`Ansichten`,allRecords:`Alle Datensätze`,default:`Standard`,updateWithCurrent:`Ansicht mit der aktuellen Liste aktualisieren`,delete:`Ansicht löschen`,deleteTitle:`Ansicht „{name}“ löschen?`,saveCurrent:`Aktuelle Liste als Ansicht speichern…`,saveTitle:`Ansicht speichern`,updateTitle:`„{name}“ aktualisieren`,name:`Name`,share:`Mit allen Admins teilen`,openWith:`Diese Ressource mit dieser Ansicht öffnen`,openWithForEveryone:`Für alle ohne eigene Standardansicht so öffnen`,shareFirst:`Teilen Sie die Ansicht, um sie zur Standardansicht für alle zu machen.`,everyoneDefault:`Standard für alle`,saved:`Ansicht „{name}“ gespeichert.`},import:{title:`{label} importieren`,file:`CSV-Datei`,analyse:`Analysieren`,instructions:"{rows} Zeilen. Ordnen Sie jede Spalte einem Feld zu, oder lassen Sie sie unzugeordnet, um sie zu überspringen. Eine `manyToMany`-Spalte nimmt durch `{pipe}` getrennte Kennungen auf.",csvColumn:`CSV-Spalte`,sample:`Beispiel`,skip:`— überspringen —`,start:`{rows} Zeilen importieren`,queued:`Import von {rows} Zeilen in die Warteschlange gestellt.`,mode:`Zeilen`,modes:{create:`Neue Datensätze anlegen`,update:`Bestehende Datensätze aktualisieren`,upsert:`Aktualisieren oder anlegen`},key:`Zeilen abgleichen über`,noKey:`Ordnen Sie zuerst eine Spalte dem Schlüssel oder einem eindeutigen Feld zu.`,modeHelp:{update:`Jede Zeile aktualisiert den Datensatz mit dem passenden Wert; eine Zeile ohne Treffer landet in der Datei der fehlgeschlagenen Zeilen.`,upsert:`Jede Zeile aktualisiert den Datensatz mit dem passenden Wert oder legt einen neuen an, wenn es keinen gibt.`}},pager:{page:`Seite {page}`},page:{create:`{noun} anlegen`,unknown:`Unbekannte Ressource`,unknownText:`Unter „{slug}“ ist nichts registriert.`},inline:{editLabel:`{label} bearbeiten`,pending:`{count} ungespeicherte Änderung | {count} ungespeicherte Änderungen`,save:`Änderungen speichern`,discard:`Verwerfen`,saved:`Ein Datensatz gespeichert. | {count} Datensätze gespeichert.`,conflict:`Ein Datensatz wurde seit dem Laden der Liste geändert. Laden Sie ihn neu und bearbeiten Sie ihn erneut.`,leaveTitle:`{count} ungespeicherte Änderung verwerfen? | {count} ungespeicherte Änderungen verwerfen?`,leaveText:`Wenn Sie die Liste verlassen, gehen nicht gespeicherte Änderungen verloren.`}},record:{unknownResource:`Unbekannte Ressource`,new:`Neu`,newTitle:`{label} anlegen`,editTitle:`{title} bearbeiten`,createNotAllowed:`Diese Ressource erlaubt hier keine neuen Datensätze.`,editNotAllowed:`Sie dürfen diesen Datensatz nicht bearbeiten.`,saved:`{label} gespeichert.`,duplicate:`Duplizieren`,copyOf:`Eine Kopie von „{title}“. Werte, die eindeutig sein müssen, und Dateien sind zunächst leer.`,variants:{menu:`Weitere Speicheroptionen`,saveContinue:`Speichern und weiter bearbeiten`,createContinue:`Anlegen und weiter bearbeiten`,createAnother:`Anlegen und weiteren hinzufügen`},leave:{title:`Änderungen verwerfen?`,text:`Wenn Sie diese Seite verlassen, gehen nicht gespeicherte Änderungen verloren.`,discard:`Verwerfen`},inTrash:`Im Papierkorb`,deleteTitle:`{noun} „{title}“ löschen?`,deleteForeverTitle:`{noun} „{title}“ endgültig löschen?`,deleteSoftText:`Der Datensatz wird in den Papierkorb verschoben und kann wiederhergestellt werden.`,deleteHardText:`Dies kann nicht rückgängig gemacht werden.`,trashed:`{label} in den Papierkorb verschoben.`,deleted:`{label} gelöscht.`,restored:`{label} wiederhergestellt.`,impersonate:{action:`Identität wechseln`,title:`Als „{title}“ handeln?`,text:`Sie sehen und tun, was diese Person kann; jede Änderung wird in ihrem Namen protokolliert, mit Ihnen als ausführender Person.`,started:`Sie handeln jetzt als {title}.`},audit:{title:`Verlauf`,byUser:`von Benutzer {actor}`,impersonatedBy:`(ausgeführt von {impersonator})`,empty:`Keine aufgezeichneten Änderungen.`,revert:`Zurücksetzen`,revertLabel:`Diese Änderung zurücksetzen`,revertTitle:`Diese Änderung zurücksetzen?`,revertText:`Stellt den früheren Wert von {fields} wieder her. Das Zurücksetzen wird ebenfalls im Verlauf festgehalten.`,reverted:`Änderung zurückgesetzt.`},panel:{attach:`Verknüpfen`,attachTitle:`{label} verknüpfen`,attachCount:`{count} verknüpfen`,attached:`{count} {label} verknüpft.`,records:`Datensätze`,record:`Datensatz`,empty:`Noch keine {label}.`,detach:`Verknüpfung lösen`,detachLabel:`Verknüpfung von {title} lösen`,detachTitle:`Verknüpfung von „{title}“ lösen?`,detachText:`Der Datensatz bleibt als {target} erhalten; nur die Verknüpfung zu {owner} wird entfernt.`,detached:`Verknüpfung von {title} gelöst.`}},actions:{runOn:`{action} für {subject} ausführen?`,subjectAll:`alle passenden {label} ({count})`,subjectAllUncounted:`alle passenden {label}`,subjectCount:`{count} {label}`,done:`{label} abgeschlossen.`,declined:`Die Aktion wurde abgelehnt.`,redirectRefused:`Die Aktion wollte eine Seite außerhalb des Admin-Bereichs öffnen; sie wurde nicht geöffnet.`,downloadStarted:`Download gestartet.`,queued:`{label} wurde in die Warteschlange gestellt.`},dashboard:{title:`Dashboard`,range:`Zeitraum`,loading:`Wird geladen`,percent:`{value} %`,duration:{minutes:`{value} Min.`,hours:`{value} Std.`},partition:{empty:`Nichts in diesem Zeitraum.`},progress:{of:`von {target}`,label:`Fortschritt`},stat:{previous:`ggü. {value} zuvor`},table:{empty:`Nichts anzuzeigen.`,seeAll:`Alle anzeigen`},trend:{total:`Gesamt {value}`}},jobs:{title:`Jobs`,heading:`Hintergrundjobs`,columns:{job:`Job`,resource:`Ressource`,status:`Status`,progress:`Fortschritt`,started:`Gestartet`},empty:`Noch keine Jobs. Große Exporte, Importe und Aktionen in der Warteschlange erscheinen hier.`,kind:{action:`Aktion`,export:`Export`,import:`Import`},status:{queued:`in Warteschlange`,running:`läuft`,done:`abgeschlossen`,failed:`fehlgeschlagen`,stalled:`hängend`},detail:{pageTitle:`Job #{id}`,fallbackTitle:`Job`,started:`gestartet {date}`,finished:`beendet {date}`,progress:`Jobfortschritt`,processed:`{processed} verarbeitet`,processedOfTotal:`{processed} von {total} verarbeitet`,download:`{file} herunterladen`,file:`Datei`}},settings:{pageTitle:`Einstellungen`,heading:`Einstellungen`,empty:{title:`Keine Einstellungen`,text:`Für dieses Konto ist nichts zur Verwaltung registriert.`},saved:`{label} gespeichert.`},fields:{cell:{loading:`{label} wird geladen`},keyValue:{key:`Schlüssel`,value:`Wert`,entry:`Eintrag {n}`,add:`Eintrag hinzufügen`,remove:`Eintrag {n} entfernen`,more:`+{count} weitere`,repeated:`Mehrfach verwendet: {keys}. Der letzte wird beibehalten.`},repeater:{add:`{label} hinzufügen`,remove:`{label} {n} entfernen`,row:`{label} {n}`,count:`{count} von höchstens {max}`,unavailable:`Sie dürfen diese Zeilen nicht sehen.`},relation:{placeholder:`Zum Suchen tippen`,dependsFirst:`Wählen Sie zuerst {label}`},upload:{storageKey:`Der Speicherschlüssel der Datei.`,tooLarge:`Die Datei ist größer als {size} MB.`,rejected:`Die Datei {message}`,uploaded:`{name} hochgeladen ({size} KB)`,theFile:`die Datei`,upTo:`bis zu {size} MB`,preview:`Vorschau von {label}`,remove:`{label} entfernen`},richtext:{toolbar:`Formatierung für {label}`,bold:`Fett`,italic:`Kursiv`,underline:`Unterstrichen`,strike:`Durchgestrichen`,code:`Code`,heading:`Überschrift {level}`,bulletList:`Aufzählung`,orderedList:`Nummerierte Liste`,blockquote:`Zitat`,codeBlock:`Codeblock`,horizontalRule:`Trennlinie`,link:`Link`,linkUrl:`Linkadresse`,linkRefused:`Verwenden Sie einen http(s)-, mailto- oder relativen Link`,insertTable:`Tabelle einfügen`,addRow:`Zeile hinzufügen`,addColumn:`Spalte hinzufügen`,deleteRow:`Zeile löschen`,deleteColumn:`Spalte löschen`,deleteTable:`Tabelle löschen`,image:`Bild einfügen`,undo:`Rückgängig`,redo:`Wiederholen`,source:`Quelltext`,visual:`Visuell`,sourceOf:`Quelltext von {label}`},rules:{maxLength:`Höchstens {max} Zeichen`,minLength:`Mindestens {min} Zeichen`,email:`Geben Sie eine gültige E-Mail-Adresse ein`,url:`Geben Sie eine gültige URL ein`,greaterThan:`Muss größer als {limit} sein`,greaterThanOrEqual:`Muss mindestens {limit} sein`,lessThan:`Muss kleiner als {limit} sein`,lessThanOrEqual:`Muss höchstens {limit} sein`,invalidFormat:`Ungültiges Format`,notAllowed:`Kein zulässiger Wert`}}},fr:{common:{save:`Enregistrer`,cancel:`Annuler`,create:`Créer`,edit:`Modifier`,delete:`Supprimer`,deleteForever:`Supprimer définitivement`,restore:`Restaurer`,close:`Fermer`,apply:`Appliquer`,remove:`Retirer`,search:`Rechercher`,loading:`Chargement…`,required:`Obligatoire`,none:`—`,yes:`Oui`,no:`Non`,download:`Télécharger`,actions:`Actions`,confirm:`Confirmer`,serverRejected:`Le serveur a rejeté la requête.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administration`,account:`Compte`,signOut:`Se déconnecter`,toggleNavigation:`Afficher/masquer la navigation`,toggleTheme:`Changer de thème`,language:`Langue : {name}`,languageFailed:`La langue n’a pas pu être enregistrée : {error}`,unsupportedDescriptor:`L’API publie la version {version} du descripteur ; cette administration lit la version {supported}. {remedy}`,version:{mismatch:`Cette interface d’administration est en version {current} ; kinetis/vector attend {expected}.`,dismiss:`Masquer`,hostedRemedy:`Exécutez vendor/bin/kinetis vector:install-ui sur le serveur, puis redémarrez les workers.`,layeredRemedy:`Mettez {package} à jour vers {version} et recompilez.`,layeredRemedyAny:`Installez la version de {package} attendue par ce kinetis/vector et recompilez.`},nav:{main:`Principal`,dashboard:`Tableau de bord`,jobs:`Tâches`,settings:`Paramètres`,pages:`Pages`,badge:`{count} {label}`},page:{unknown:`Page inconnue`,loading:`Chargement de la page`},impersonation:{actingAs:`Vous agissez en tant que {name}.`,anotherUser:`un autre utilisateur`,stop:`Reprendre votre identité`,noAccess:`{name} n’a pas accès à l’administration, il n’y a donc rien à voir en son nom. L’action en son nom a été arrêtée.`,noToken:`L’application a répondu sans jeton ni rechargement, rien n’a donc changé.`,ended:`Votre usurpation d’identité a expiré : vous êtes de retour dans votre propre compte.`},palette:{placeholder:`Rechercher des enregistrements et des ressources…`,records:`Enregistrements`,resources:`Ressources`,noMatch:`Aucun enregistrement ne correspond`},inbox:{title:`Notifications`,markAllRead:`Tout marquer comme lu`,empty:`Rien pour l’instant`},login:{pageTitle:`Connexion · {brand}`,subtitle:`Connectez-vous à l’administration`,email:`E-mail`,password:`Mot de passe`,submit:`Se connecter`,invalidEmail:`Saisissez une adresse e-mail valide`,welcome:`Ravi de vous revoir, {name}.`,signedOutIdle:`Vous avez été déconnecté après {minutes} minutes d’inactivité. Reconnectez-vous pour reprendre où vous en étiez.`,impersonationEnded:`Votre usurpation d’identité a expiré et votre propre session n’a pas pu être renouvelée. Reconnectez-vous pour continuer.`},home:{title:`Tableau de bord`}},list:{field:`Champ`,search:`Rechercher {label}…`,noSearch:`Aucun champ de recherche`,noGrouping:`Aucun regroupement`,groupBy:`Regrouper par`,groupHeader:`{label} :`,expandGroup:`Développer le groupe`,collapseGroup:`Réduire le groupe`,trash:{label:`Corbeille`,active:`Actifs`,only:`Corbeille`,with:`Actifs et corbeille`},exportCsv:`Exporter en CSV`,importCsv:`Importer un CSV`,exportQueued:`L’export est volumineux et a été mis en file d’attente ; vous serez averti lorsqu’il sera prêt.`,exportPrepared:`L’export est en cours de préparation ; vous serez averti lorsqu’il sera prêt.`,export:`Exporter`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Aucun résultat`,empty:`Aucun {label} pour l’instant`,summary:{sum:`Somme`,avg:`Moyenne`,min:`Min`,max:`Max`,count:`Nombre`},operation:{deleteTitle:`Supprimer {count} {noun} ?`,restoreTitle:`Restaurer {count} {noun} ?`,forceDeleteTitle:`Supprimer définitivement {count} {noun} ?`,deleteAllTitle:`Supprimer tous les {noun} correspondants ?`,restoreAllTitle:`Restaurer tous les {noun} correspondants ?`,forceDeleteAllTitle:`Supprimer définitivement tous les {noun} correspondants ?`,toTrash:`Ils sont placés dans la corbeille et peuvent être restaurés.`,irreversible:`Cette action est irréversible.`,restored:`{count} {noun} restauré(s).`,deleted:`{count} {noun} supprimé(s).`},bulk:{allMatching:`Les {total} correspondants`,allMatchingUncounted:`Tous les enregistrements correspondants`,selected:`{count} sélectionné(s)`,selectAllMatching:`Sélectionner les {total} correspondants`,selectAllMatchingUncounted:`Sélectionner tous les enregistrements correspondants`,onlyChecked:`Seulement les lignes cochées`,clearSelection:`Effacer la sélection`},bulkEdit:{everyMatching:`tous les {noun} correspondants ({count})`,everyMatchingUncounted:`tous les {noun} correspondants`,some:`{count} {noun}`,title:`Modifier {subject}`,fieldsToChange:`Champs à modifier`,fieldsHint:`Seuls les champs choisis sont écrits ; toutes les autres valeurs restent inchangées.`,applyTo:`Appliquer à {count}`,applyToAll:`Appliquer à tous les correspondants`,updated:`{count} {noun} mis à jour.`},columns:{title:`Colonnes`,moveUp:`Monter`,moveDown:`Descendre`,reset:`Réinitialiser`},filter:{add:`Ajouter un filtre`,condition:`Condition`,value:`Valeur`,from:`De`,to:`À`,commaSeparated:`Séparés par des virgules`,clear:`Effacer`,yes:`oui`,no:`non`,and:`et`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`L’un de`,anyOfGroup:`L’un de, groupe {n}`,alternative:`Alternative {n}`,or:`ou`,orCondition:`ou…`,addAnyOf:`Ajouter « l’un de »`,addToAlternative:`Ajouter une condition à l’alternative {n}`,removeGroup:`Retirer le groupe {n}`,advanced:`Condition avancée`,operators:{eq:`est`,ne:`n’est pas`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`est l’un de`,nin:`n’est aucun de`,like:`contient`,nlike:`ne contient pas`,between:`est entre`,null:`est vide`,nnull:`n’est pas vide`}},views:{menu:`Vues`,allRecords:`Tous les enregistrements`,default:`Par défaut`,updateWithCurrent:`Mettre à jour la vue avec la liste actuelle`,delete:`Supprimer la vue`,deleteTitle:`Supprimer la vue « {name} » ?`,saveCurrent:`Enregistrer comme vue…`,saveTitle:`Enregistrer la vue`,updateTitle:`Mettre à jour « {name} »`,name:`Nom`,share:`Partager avec tous les administrateurs`,openWith:`Ouvrir cette ressource avec cette vue`,openWithForEveryone:`L’ouvrir ainsi pour tous ceux qui n’ont pas leur propre vue par défaut`,shareFirst:`Partagez la vue pour en faire la vue par défaut de tous.`,everyoneDefault:`Par défaut pour tous`,saved:`Vue « {name} » enregistrée.`},import:{title:`Importer {label}`,file:`Fichier CSV`,analyse:`Analyser`,instructions:"{rows} lignes. Associez chaque colonne à un champ, ou laissez-la non associée pour l’ignorer. Une colonne `manyToMany` accepte des identifiants séparés par `{pipe}`.",csvColumn:`Colonne CSV`,sample:`Exemple`,skip:`— ignorer —`,start:`Importer {rows} lignes`,queued:`Import de {rows} lignes mis en file d’attente.`,mode:`Lignes`,modes:{create:`Créer de nouveaux enregistrements`,update:`Mettre à jour les enregistrements existants`,upsert:`Mettre à jour ou créer`},key:`Associer les lignes par`,noKey:`Associez d’abord une colonne à la clé ou à un champ unique.`,modeHelp:{update:`Chaque ligne met à jour l’enregistrement dont la valeur correspond ; une ligne sans correspondance va dans le fichier des lignes en échec.`,upsert:`Chaque ligne met à jour l’enregistrement dont la valeur correspond, ou en crée un s’il n’y en a aucun.`}},pager:{page:`Page {page}`},page:{create:`Nouveau {noun}`,unknown:`Ressource inconnue`,unknownText:`Rien n’est enregistré sous « {slug} ».`},inline:{editLabel:`Modifier {label}`,pending:`{count} modification non enregistrée | {count} modifications non enregistrées`,save:`Enregistrer les modifications`,discard:`Abandonner`,saved:`Un enregistrement sauvegardé. | {count} enregistrements sauvegardés.`,conflict:`Un enregistrement a changé depuis le chargement de la liste. Rechargez-la et modifiez à nouveau.`,leaveTitle:`Abandonner {count} modification non enregistrée ? | Abandonner {count} modifications non enregistrées ?`,leaveText:`Quitter la liste abandonne les modifications non enregistrées.`}},record:{unknownResource:`Ressource inconnue`,new:`Nouveau`,newTitle:`Nouveau : {label}`,editTitle:`Modifier {title}`,createNotAllowed:`Cette ressource ne permet pas de créer des enregistrements ici.`,editNotAllowed:`Vous ne pouvez pas modifier cet enregistrement.`,saved:`{label} enregistré.`,duplicate:`Dupliquer`,copyOf:`Une copie de « {title} ». Les valeurs qui doivent être uniques, ainsi que les fichiers, commencent vides.`,variants:{menu:`Autres façons d’enregistrer`,saveContinue:`Enregistrer et continuer la modification`,createContinue:`Créer et continuer la modification`,createAnother:`Créer et en ajouter un autre`},leave:{title:`Abandonner vos modifications ?`,text:`Quitter cette page abandonne les modifications non enregistrées.`,discard:`Abandonner`},inTrash:`Dans la corbeille`,deleteTitle:`Supprimer {noun} « {title} » ?`,deleteForeverTitle:`Supprimer définitivement {noun} « {title} » ?`,deleteSoftText:`Il est placé dans la corbeille et peut être restauré.`,deleteHardText:`Cette action est irréversible.`,trashed:`{label} placé dans la corbeille.`,deleted:`{label} supprimé.`,restored:`{label} restauré.`,impersonate:{action:`Agir en tant que`,title:`Agir en tant que « {title} » ?`,text:`Vous voyez et faites ce que cette personne peut faire, et chaque modification est journalisée en son nom, en précisant que vous agissiez pour cette personne.`,started:`Vous agissez désormais en tant que {title}.`},audit:{title:`Historique`,byUser:`par l’utilisateur {actor}`,impersonatedBy:`(par {impersonator}, agissant en son nom)`,empty:`Aucune modification enregistrée.`,revert:`Rétablir`,revertLabel:`Rétablir la valeur précédente`,revertTitle:`Rétablir la valeur précédente ?`,revertText:`Rétablit la valeur précédente de {fields}. Le rétablissement est également enregistré dans l’historique.`,reverted:`Valeur précédente rétablie.`},panel:{attach:`Associer`,attachTitle:`Associer {label}`,attachCount:`Associer {count}`,attached:`{count} {label} associé(s).`,records:`enregistrements`,record:`enregistrement`,empty:`Aucun {label} pour l’instant.`,detach:`Dissocier`,detachLabel:`Dissocier {title}`,detachTitle:`Dissocier « {title} » ?`,detachText:`Il reste un {target} ; seul son lien avec ce {owner} est supprimé.`,detached:`{title} dissocié.`}},actions:{runOn:`Exécuter {action} sur {subject} ?`,subjectAll:`tous les {label} correspondants ({count})`,subjectAllUncounted:`tous les {label} correspondants`,subjectCount:`{count} {label}`,done:`{label} terminé.`,declined:`L’action a été refusée.`,redirectRefused:`L’action demandait d’ouvrir une page hors de l’administration ; elle n’a pas été ouverte.`,downloadStarted:`Téléchargement lancé.`,queued:`{label} a été mis en file d’attente.`},dashboard:{title:`Tableau de bord`,range:`Période`,loading:`Chargement`,percent:`{value} %`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Rien sur cette période.`},progress:{of:`sur {target}`,label:`Progression`},stat:{previous:`contre {value} auparavant`},table:{empty:`Rien à afficher.`,seeAll:`Tout voir`},trend:{total:`Total {value}`}},jobs:{title:`Tâches`,heading:`Tâches en arrière-plan`,columns:{job:`Tâche`,resource:`Ressource`,status:`Statut`,progress:`Progression`,started:`Démarrée`},empty:`Aucune tâche pour l’instant. Les exports volumineux, les imports et les actions en file d’attente apparaissent ici.`,kind:{action:`action`,export:`export`,import:`import`},status:{queued:`en attente`,running:`en cours`,done:`terminée`,failed:`échouée`,stalled:`bloquée`},detail:{pageTitle:`Tâche n° {id}`,fallbackTitle:`Tâche`,started:`démarrée le {date}`,finished:`terminée le {date}`,progress:`Progression de la tâche`,processed:`{processed} traités`,processedOfTotal:`{processed} sur {total} traités`,download:`Télécharger {file}`,file:`le fichier`}},settings:{pageTitle:`Paramètres`,heading:`Paramètres`,empty:{title:`Aucun paramètre`,text:`Rien n’est enregistré pour que ce compte puisse le gérer.`},saved:`{label} enregistré.`},fields:{cell:{loading:`Chargement de {label}`},keyValue:{key:`Clé`,value:`Valeur`,entry:`Entrée {n}`,add:`Ajouter une entrée`,remove:`Retirer l’entrée {n}`,more:`+{count} de plus`,repeated:`Utilisé plus d’une fois : {keys}. La dernière occurrence est conservée.`},repeater:{add:`Ajouter {label}`,remove:`Retirer {label} {n}`,row:`{label} {n}`,count:`{count} sur {max} au maximum`,unavailable:`Vous ne pouvez pas voir ces lignes.`},relation:{placeholder:`Saisissez pour rechercher`,dependsFirst:`Choisissez d’abord {label}`},upload:{storageKey:`La clé de stockage du fichier.`,tooLarge:`Le fichier dépasse {size} Mo.`,rejected:`Le fichier {message}`,uploaded:`{name} envoyé ({size} Ko)`,theFile:`le fichier`,upTo:`jusqu’à {size} Mo`,preview:`Aperçu de {label}`,remove:`Retirer {label}`},richtext:{toolbar:`Mise en forme de {label}`,bold:`Gras`,italic:`Italique`,underline:`Souligné`,strike:`Barré`,code:`Code`,heading:`Titre {level}`,bulletList:`Liste à puces`,orderedList:`Liste numérotée`,blockquote:`Citation`,codeBlock:`Bloc de code`,horizontalRule:`Séparateur`,link:`Lien`,linkUrl:`Adresse du lien`,linkRefused:`Utilisez un lien http(s), mailto ou relatif`,insertTable:`Insérer un tableau`,addRow:`Ajouter une ligne`,addColumn:`Ajouter une colonne`,deleteRow:`Supprimer la ligne`,deleteColumn:`Supprimer la colonne`,deleteTable:`Supprimer le tableau`,image:`Insérer une image`,undo:`Annuler`,redo:`Rétablir`,source:`Source`,visual:`Visuel`,sourceOf:`Source de {label}`},rules:{maxLength:`{max} caractères au maximum`,minLength:`{min} caractères au minimum`,email:`Saisissez une adresse e-mail valide`,url:`Saisissez une URL valide`,greaterThan:`Doit être supérieur à {limit}`,greaterThanOrEqual:`Doit être au moins {limit}`,lessThan:`Doit être inférieur à {limit}`,lessThanOrEqual:`Doit être au plus {limit}`,invalidFormat:`Format non valide`,notAllowed:`Valeur non autorisée`}}},nl:{common:{save:`Opslaan`,cancel:`Annuleren`,create:`Aanmaken`,edit:`Bewerken`,delete:`Verwijderen`,deleteForever:`Definitief verwijderen`,restore:`Herstellen`,close:`Sluiten`,apply:`Toepassen`,remove:`Verwijderen`,search:`Zoeken`,loading:`Laden…`,required:`Verplicht`,none:`—`,yes:`Ja`,no:`Nee`,download:`Downloaden`,actions:`Acties`,confirm:`Bevestigen`,serverRejected:`De server heeft het verzoek geweigerd.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Beheer`,account:`Account`,signOut:`Afmelden`,toggleNavigation:`Navigatie in-/uitschakelen`,toggleTheme:`Thema wisselen`,language:`Taal: {name}`,languageFailed:`De taal kon niet worden opgeslagen: {error}`,unsupportedDescriptor:`De API publiceert descriptorversie {version}; deze beheeromgeving leest versie {supported}. {remedy}`,version:{mismatch:`Deze beheeromgeving is versie {current}; kinetis/vector verwacht {expected}.`,dismiss:`Sluiten`,hostedRemedy:`Voer vendor/bin/kinetis vector:install-ui uit op de server en herstart de workers.`,layeredRemedy:`Werk {package} bij naar {version} en bouw opnieuw.`,layeredRemedyAny:`Installeer de versie van {package} die deze kinetis/vector verwacht en bouw opnieuw.`},nav:{main:`Hoofdmenu`,dashboard:`Dashboard`,jobs:`Taken`,settings:`Instellingen`,pages:`Pagina’s`,badge:`{count} {label}`},page:{unknown:`Onbekende pagina`,loading:`De pagina wordt geladen`},impersonation:{actingAs:`U handelt als {name}.`,anotherUser:`een andere gebruiker`,stop:`Terug naar uw eigen account`,noAccess:`{name} heeft geen toegang tot het beheer, dus er is niets te zien namens deze gebruiker. Het handelen als deze gebruiker is gestopt.`,noToken:`De applicatie antwoordde zonder token of herlaadopdracht, dus er is niets gewijzigd.`,ended:`Uw imitatie is verlopen; u bent weer in uw eigen account.`},palette:{placeholder:`Records en resources zoeken…`,records:`Records`,resources:`Resources`,noMatch:`Geen overeenkomende records`},inbox:{title:`Meldingen`,markAllRead:`Alles als gelezen markeren`,empty:`Nog niets`},login:{pageTitle:`Aanmelden · {brand}`,subtitle:`Meld u aan bij het beheer`,email:`E-mail`,password:`Wachtwoord`,submit:`Aanmelden`,invalidEmail:`Voer een geldig e-mailadres in`,welcome:`Welkom terug, {name}.`,signedOutIdle:`U bent na {minutes} minuten zonder activiteit afgemeld. Meld u opnieuw aan om verder te gaan waar u gebleven was.`,impersonationEnded:`Uw imitatie is verlopen en uw eigen sessie kon niet worden vernieuwd. Meld u opnieuw aan om verder te gaan.`},home:{title:`Dashboard`}},list:{field:`Veld`,search:`{label} zoeken…`,noSearch:`Geen doorzoekbare velden`,noGrouping:`Geen groepering`,groupBy:`Groeperen op`,groupHeader:`{label}:`,expandGroup:`Groep uitvouwen`,collapseGroup:`Groep samenvouwen`,trash:{label:`Prullenbak`,active:`Actief`,only:`Prullenbak`,with:`Actief en prullenbak`},exportCsv:`CSV exporteren`,importCsv:`CSV importeren`,exportQueued:`De export is groot en staat in de wachtrij; u krijgt een melding zodra deze klaar is.`,exportPrepared:`De export wordt voorbereid; u krijgt een melding zodra deze klaar is.`,export:`Exporteren`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Geen resultaten`,empty:`Nog geen {label}`,summary:{sum:`Som`,avg:`Gemiddelde`,min:`Min`,max:`Max`,count:`Aantal`},operation:{deleteTitle:`{count} {noun} verwijderen?`,restoreTitle:`{count} {noun} herstellen?`,forceDeleteTitle:`{count} {noun} definitief verwijderen?`,deleteAllTitle:`Alle overeenkomende {noun} verwijderen?`,restoreAllTitle:`Alle overeenkomende {noun} herstellen?`,forceDeleteAllTitle:`Alle overeenkomende {noun} definitief verwijderen?`,toTrash:`Ze worden naar de prullenbak verplaatst en kunnen worden hersteld.`,irreversible:`Dit kan niet ongedaan worden gemaakt.`,restored:`{count} {noun} hersteld.`,deleted:`{count} {noun} verwijderd.`},bulk:{allMatching:`Alle {total} overeenkomende`,allMatchingUncounted:`Alle overeenkomende records`,selected:`{count} geselecteerd`,selectAllMatching:`Alle {total} overeenkomende selecteren`,selectAllMatchingUncounted:`Alle overeenkomende records selecteren`,onlyChecked:`Alleen aangevinkte rijen`,clearSelection:`Selectie wissen`},bulkEdit:{everyMatching:`alle overeenkomende {noun} ({count})`,everyMatchingUncounted:`alle overeenkomende {noun}`,some:`{count} {noun}`,title:`{subject} bewerken`,fieldsToChange:`Te wijzigen velden`,fieldsHint:`Alleen de gekozen velden worden opgeslagen; alle andere waarden blijven ongewijzigd.`,applyTo:`Toepassen op {count}`,applyToAll:`Toepassen op alle overeenkomende`,updated:`{count} {noun} bijgewerkt.`},columns:{title:`Kolommen`,moveUp:`Omhoog`,moveDown:`Omlaag`,reset:`Standaard herstellen`},filter:{add:`Filter toevoegen`,condition:`Voorwaarde`,value:`Waarde`,from:`Van`,to:`Tot`,commaSeparated:`Kommagescheiden`,clear:`Wissen`,yes:`ja`,no:`nee`,and:`en`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Een van`,anyOfGroup:`Een van, groep {n}`,alternative:`Alternatief {n}`,or:`of`,orCondition:`of…`,addAnyOf:`“Een van” toevoegen`,addToAlternative:`Voorwaarde toevoegen aan alternatief {n}`,removeGroup:`Groep {n} verwijderen`,advanced:`Geavanceerde voorwaarde`,operators:{eq:`is`,ne:`is niet`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`is een van`,nin:`is geen van`,like:`bevat`,nlike:`bevat niet`,between:`ligt tussen`,null:`is leeg`,nnull:`is niet leeg`}},views:{menu:`Weergaven`,allRecords:`Alle records`,default:`Standaard`,updateWithCurrent:`Weergave bijwerken met de huidige lijst`,delete:`Weergave verwijderen`,deleteTitle:`Weergave “{name}” verwijderen?`,saveCurrent:`Huidige opslaan als weergave…`,saveTitle:`Weergave opslaan`,updateTitle:`“{name}” bijwerken`,name:`Naam`,share:`Delen met alle beheerders`,openWith:`Deze resource met deze weergave openen`,openWithForEveryone:`Zo openen voor iedereen zonder eigen standaardweergave`,shareFirst:`Deel de weergave om deze voor iedereen de standaard te maken.`,everyoneDefault:`Standaard voor iedereen`,saved:`Weergave “{name}” opgeslagen.`},import:{title:`{label} importeren`,file:`CSV-bestand`,analyse:`Analyseren`,instructions:"{rows} rijen. Koppel elke kolom aan een veld, of laat deze ongekoppeld om hem over te slaan. Een `manyToMany`-kolom accepteert ID’s gescheiden door `{pipe}`.",csvColumn:`CSV-kolom`,sample:`Voorbeeld`,skip:`— overslaan —`,start:`{rows} rijen importeren`,queued:`Import van {rows} rijen in de wachtrij geplaatst.`,mode:`Rijen`,modes:{create:`Nieuwe records aanmaken`,update:`Bestaande records bijwerken`,upsert:`Bijwerken of aanmaken`},key:`Rijen koppelen op`,noKey:`Koppel eerst een kolom aan de sleutel of een uniek veld.`,modeHelp:{update:`Elke rij werkt het record bij waarvan de waarde overeenkomt; een rij zonder overeenkomst gaat naar het bestand met mislukte rijen.`,upsert:`Elke rij werkt het record bij waarvan de waarde overeenkomt, of maakt er een aan als er geen overeenkomt.`}},pager:{page:`Pagina {page}`},page:{create:`Nieuw: {noun}`,unknown:`Onbekende resource`,unknownText:`Er is niets geregistreerd als “{slug}”.`},inline:{editLabel:`{label} bewerken`,pending:`{count} niet-opgeslagen wijziging | {count} niet-opgeslagen wijzigingen`,save:`Wijzigingen opslaan`,discard:`Verwerpen`,saved:`Eén record opgeslagen. | {count} records opgeslagen.`,conflict:`Een record is gewijzigd sinds de lijst is geladen. Laad het opnieuw en bewerk het nogmaals.`,leaveTitle:`{count} niet-opgeslagen wijziging verwerpen? | {count} niet-opgeslagen wijzigingen verwerpen?`,leaveText:`Als u de lijst verlaat, gaan de niet-opgeslagen bewerkingen verloren.`}},record:{unknownResource:`Onbekende resource`,new:`Nieuw`,newTitle:`Nieuw: {label}`,editTitle:`{title} bewerken`,createNotAllowed:`Deze resource staat het aanmaken van records hier niet toe.`,editNotAllowed:`U mag dit record niet bewerken.`,saved:`{label} opgeslagen.`,duplicate:`Dupliceren`,copyOf:`Een kopie van “{title}”. Waarden die uniek moeten zijn en bestanden beginnen leeg.`,variants:{menu:`Meer opslagopties`,saveContinue:`Opslaan en verder bewerken`,createContinue:`Aanmaken en verder bewerken`,createAnother:`Aanmaken en nog een toevoegen`},leave:{title:`Wijzigingen verwerpen?`,text:`Als u deze pagina verlaat, gaan de niet-opgeslagen wijzigingen verloren.`,discard:`Verwerpen`},inTrash:`In de prullenbak`,deleteTitle:`{noun} “{title}” verwijderen?`,deleteForeverTitle:`{noun} “{title}” definitief verwijderen?`,deleteSoftText:`Het wordt naar de prullenbak verplaatst en kan worden hersteld.`,deleteHardText:`Dit kan niet ongedaan worden gemaakt.`,trashed:`{label} naar de prullenbak verplaatst.`,deleted:`{label} verwijderd.`,restored:`{label} hersteld.`,impersonate:{action:`Inloggen als`,title:`Handelen als “{title}”?`,text:`U ziet en doet wat deze gebruiker kan, en elke wijziging wordt op diens naam vastgelegd, met de vermelding dat u namens deze gebruiker handelde.`,started:`U handelt nu als {title}.`},audit:{title:`Geschiedenis`,byUser:`door gebruiker {actor}`,impersonatedBy:`(uitgevoerd door {impersonator})`,empty:`Geen vastgelegde wijzigingen.`,revert:`Terugdraaien`,revertLabel:`Deze wijziging terugdraaien`,revertTitle:`Deze wijziging terugdraaien?`,revertText:`Zet de eerdere waarde van {fields} terug. Het terugdraaien wordt ook in de geschiedenis vastgelegd.`,reverted:`Wijziging teruggedraaid.`},panel:{attach:`Koppelen`,attachTitle:`{label} koppelen`,attachCount:`{count} koppelen`,attached:`{count} {label} gekoppeld.`,records:`records`,record:`record`,empty:`Nog geen {label}.`,detach:`Ontkoppelen`,detachLabel:`{title} ontkoppelen`,detachTitle:`“{title}” ontkoppelen?`,detachText:`Het blijft een {target}; alleen de koppeling met deze {owner} wordt verwijderd.`,detached:`{title} ontkoppeld.`}},actions:{runOn:`{action} uitvoeren op {subject}?`,subjectAll:`alle overeenkomende {label} ({count})`,subjectAllUncounted:`alle overeenkomende {label}`,subjectCount:`{count} {label}`,done:`{label} voltooid.`,declined:`De actie is geweigerd.`,redirectRefused:`De actie vroeg een pagina buiten de beheeromgeving te openen; die is niet geopend.`,downloadStarted:`Download gestart.`,queued:`{label} is in de wachtrij geplaatst.`},dashboard:{title:`Dashboard`,range:`Periode`,loading:`Laden`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} u`},partition:{empty:`Niets in deze periode.`},progress:{of:`van {target}`,label:`Voortgang`},stat:{previous:`vs. {value} eerder`},table:{empty:`Niets om te tonen.`,seeAll:`Alles bekijken`},trend:{total:`Totaal {value}`}},jobs:{title:`Taken`,heading:`Achtergrondtaken`,columns:{job:`Taak`,resource:`Resource`,status:`Status`,progress:`Voortgang`,started:`Gestart`},empty:`Nog geen taken. Grote exports, imports en acties in de wachtrij verschijnen hier.`,kind:{action:`actie`,export:`export`,import:`import`},status:{queued:`in wachtrij`,running:`bezig`,done:`voltooid`,failed:`mislukt`,stalled:`vastgelopen`},detail:{pageTitle:`Taak #{id}`,fallbackTitle:`Taak`,started:`gestart {date}`,finished:`voltooid {date}`,progress:`Voortgang van de taak`,processed:`{processed} verwerkt`,processedOfTotal:`{processed} van {total} verwerkt`,download:`{file} downloaden`,file:`bestand`}},settings:{pageTitle:`Instellingen`,heading:`Instellingen`,empty:{title:`Geen instellingen`,text:`Er is niets geregistreerd dat dit account kan beheren.`},saved:`{label} opgeslagen.`},fields:{cell:{loading:`{label} laden`},keyValue:{key:`Sleutel`,value:`Waarde`,entry:`Item {n}`,add:`Item toevoegen`,remove:`Item {n} verwijderen`,more:`+{count} meer`,repeated:`Meer dan eens gebruikt: {keys}. De laatste wordt behouden.`},repeater:{add:`{label} toevoegen`,remove:`{label} {n} verwijderen`,row:`{label} {n}`,count:`{count} van maximaal {max}`,unavailable:`U mag deze rijen niet zien.`},relation:{placeholder:`Typ om te zoeken`,dependsFirst:`Kies eerst {label}`},upload:{storageKey:`De opslagsleutel van het bestand.`,tooLarge:`Het bestand is groter dan {size} MB.`,rejected:`Het bestand {message}`,uploaded:`{name} geüpload ({size} KB)`,theFile:`het bestand`,upTo:`tot {size} MB`,preview:`Voorbeeld van {label}`,remove:`{label} verwijderen`},richtext:{toolbar:`Opmaak van {label}`,bold:`Vet`,italic:`Cursief`,underline:`Onderstrepen`,strike:`Doorhalen`,code:`Code`,heading:`Kop {level}`,bulletList:`Lijst met opsommingstekens`,orderedList:`Genummerde lijst`,blockquote:`Citaat`,codeBlock:`Codeblok`,horizontalRule:`Scheidingslijn`,link:`Link`,linkUrl:`Linkadres`,linkRefused:`Gebruik een http(s)-, mailto- of relatieve link`,insertTable:`Tabel invoegen`,addRow:`Rij toevoegen`,addColumn:`Kolom toevoegen`,deleteRow:`Rij verwijderen`,deleteColumn:`Kolom verwijderen`,deleteTable:`Tabel verwijderen`,image:`Afbeelding invoegen`,undo:`Ongedaan maken`,redo:`Opnieuw`,source:`Bron`,visual:`Visueel`,sourceOf:`Bron van {label}`},rules:{maxLength:`Maximaal {max} tekens`,minLength:`Minimaal {min} tekens`,email:`Voer een geldig e-mailadres in`,url:`Voer een geldige URL in`,greaterThan:`Moet groter zijn dan {limit}`,greaterThanOrEqual:`Moet minimaal {limit} zijn`,lessThan:`Moet kleiner zijn dan {limit}`,lessThanOrEqual:`Moet maximaal {limit} zijn`,invalidFormat:`Ongeldige notatie`,notAllowed:`Geen toegestane waarde`}}},it:{common:{save:`Salva`,cancel:`Annulla`,create:`Crea`,edit:`Modifica`,delete:`Elimina`,deleteForever:`Elimina definitivamente`,restore:`Ripristina`,close:`Chiudi`,apply:`Applica`,remove:`Rimuovi`,search:`Cerca`,loading:`Caricamento…`,required:`Obbligatorio`,none:`—`,yes:`Sì`,no:`No`,download:`Scarica`,actions:`Azioni`,confirm:`Conferma`,serverRejected:`Il server ha rifiutato la richiesta.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Amministrazione`,account:`Account`,signOut:`Esci`,toggleNavigation:`Mostra/nascondi navigazione`,toggleTheme:`Cambia tema`,language:`Lingua: {name}`,languageFailed:`Impossibile salvare la lingua: {error}`,unsupportedDescriptor:`L’API pubblica la versione {version} del descrittore; questo pannello legge la versione {supported}. {remedy}`,version:{mismatch:`Questa interfaccia di amministrazione è la versione {current}; kinetis/vector si aspetta {expected}.`,dismiss:`Chiudi`,hostedRemedy:`Esegui vendor/bin/kinetis vector:install-ui sul server, poi riavvia i worker.`,layeredRemedy:`Aggiorna {package} alla versione {version} e ricompila.`,layeredRemedyAny:`Installa la versione di {package} attesa da questo kinetis/vector e ricompila.`},nav:{main:`Principale`,dashboard:`Dashboard`,jobs:`Job`,settings:`Impostazioni`,pages:`Pagine`,badge:`{count} {label}`},page:{unknown:`Pagina sconosciuta`,loading:`Caricamento della pagina`},impersonation:{actingAs:`Stai agendo come {name}.`,anotherUser:`un altro utente`,stop:`Termina impersonazione`,noAccess:`{name} non ha accesso all’amministrazione, quindi non c’è nulla da vedere al suo posto. L’impersonazione è stata interrotta.`,noToken:`L’applicazione ha risposto senza un token né un ricaricamento, quindi non è cambiato nulla.`,ended:`L’impersonificazione è scaduta: sei di nuovo nel tuo account.`},palette:{placeholder:`Cerca record e risorse…`,records:`Record`,resources:`Risorse`,noMatch:`Nessun record corrispondente`},inbox:{title:`Notifiche`,markAllRead:`Segna tutte come lette`,empty:`Ancora niente`},login:{pageTitle:`Accedi · {brand}`,subtitle:`Accedi all’amministrazione`,email:`E-mail`,password:`Password`,submit:`Accedi`,invalidEmail:`Inserisci un indirizzo e-mail valido`,welcome:`Ti diamo il bentornato, {name}.`,signedOutIdle:`Sei stato disconnesso dopo {minutes} minuti di inattività. Accedi di nuovo per riprendere da dove eri rimasto.`,impersonationEnded:`L’impersonificazione è scaduta e non è stato possibile rinnovare la tua sessione. Accedi di nuovo per continuare.`},home:{title:`Dashboard`}},list:{field:`Campo`,search:`Cerca {label}…`,noSearch:`Nessun campo ricercabile`,noGrouping:`Nessun raggruppamento`,groupBy:`Raggruppa per`,groupHeader:`{label}:`,expandGroup:`Espandi gruppo`,collapseGroup:`Comprimi gruppo`,trash:{label:`Cestino`,active:`Attivi`,only:`Cestino`,with:`Attivi e cestino`},exportCsv:`Esporta CSV`,importCsv:`Importa CSV`,exportQueued:`L’esportazione è di grandi dimensioni ed è stata messa in coda; riceverai una notifica quando sarà pronta.`,exportPrepared:`L’esportazione è in preparazione; riceverai una notifica quando sarà pronta.`,export:`Esporta`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nessun risultato`,empty:`Ancora nessun {label}`,summary:{sum:`Somma`,avg:`Media`,min:`Min`,max:`Max`,count:`Conteggio`},operation:{deleteTitle:`Eliminare {count} {noun}?`,restoreTitle:`Ripristinare {count} {noun}?`,forceDeleteTitle:`Eliminare definitivamente {count} {noun}?`,deleteAllTitle:`Eliminare tutti i {noun} corrispondenti?`,restoreAllTitle:`Ripristinare tutti i {noun} corrispondenti?`,forceDeleteAllTitle:`Eliminare definitivamente tutti i {noun} corrispondenti?`,toTrash:`Vengono spostati nel cestino e possono essere ripristinati.`,irreversible:`L’operazione non può essere annullata.`,restored:`{count} {noun} ripristinati.`,deleted:`{count} {noun} eliminati.`},bulk:{allMatching:`Tutti i {total} corrispondenti`,allMatchingUncounted:`Tutti i record corrispondenti`,selected:`{count} selezionati`,selectAllMatching:`Seleziona tutti i {total} corrispondenti`,selectAllMatchingUncounted:`Seleziona tutti i record corrispondenti`,onlyChecked:`Solo le righe selezionate`,clearSelection:`Annulla selezione`},bulkEdit:{everyMatching:`tutti i {noun} corrispondenti ({count})`,everyMatchingUncounted:`tutti i {noun} corrispondenti`,some:`{count} {noun}`,title:`Modifica {subject}`,fieldsToChange:`Campi da modificare`,fieldsHint:`Vengono scritti solo i campi scelti; tutti gli altri valori restano invariati.`,applyTo:`Applica a {count}`,applyToAll:`Applica a tutti i corrispondenti`,updated:`{count} {noun} aggiornati.`},columns:{title:`Colonne`,moveUp:`Sposta su`,moveDown:`Sposta giù`,reset:`Ripristina`},filter:{add:`Aggiungi filtro`,condition:`Condizione`,value:`Valore`,from:`Da`,to:`A`,commaSeparated:`Separati da virgola`,clear:`Cancella`,yes:`sì`,no:`no`,and:`e`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Uno qualsiasi di`,anyOfGroup:`Uno qualsiasi di, gruppo {n}`,alternative:`Alternativa {n}`,or:`o`,orCondition:`o…`,addAnyOf:`Aggiungi “uno qualsiasi di”`,addToAlternative:`Aggiungi una condizione all’alternativa {n}`,removeGroup:`Rimuovi gruppo {n}`,advanced:`Condizione avanzata`,operators:{eq:`è`,ne:`non è`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`è uno di`,nin:`non è nessuno di`,like:`contiene`,nlike:`non contiene`,between:`è compreso tra`,null:`è vuoto`,nnull:`non è vuoto`}},views:{menu:`Viste`,allRecords:`Tutti i record`,default:`Predefinita`,updateWithCurrent:`Aggiorna la vista con l’elenco corrente`,delete:`Elimina vista`,deleteTitle:`Eliminare la vista “{name}”?`,saveCurrent:`Salva come vista…`,saveTitle:`Salva vista`,updateTitle:`Aggiorna “{name}”`,name:`Nome`,share:`Condividi con tutti gli amministratori`,openWith:`Apri questa risorsa con questa vista`,openWithForEveryone:`Aprila così per chiunque non abbia una vista predefinita propria`,shareFirst:`Condividi la vista per renderla predefinita per tutti.`,everyoneDefault:`Predefinita per tutti`,saved:`Vista “{name}” salvata.`},import:{title:`Importa {label}`,file:`File CSV`,analyse:`Analizza`,instructions:"{rows} righe. Associa ogni colonna a un campo, oppure lasciala non associata per ignorarla. Una colonna `manyToMany` accetta identificatori separati da `{pipe}`.",csvColumn:`Colonna CSV`,sample:`Esempio`,skip:`— ignora —`,start:`Importa {rows} righe`,queued:`Importazione di {rows} righe in coda.`,mode:`Righe`,modes:{create:`Crea nuovi record`,update:`Aggiorna record esistenti`,upsert:`Aggiorna o crea`},key:`Associa le righe per`,noKey:`Associa prima una colonna alla chiave o a un campo univoco.`,modeHelp:{update:`Ogni riga aggiorna il record con il valore corrispondente; una riga senza corrispondenze finisce nel file delle righe non riuscite.`,upsert:`Ogni riga aggiorna il record con il valore corrispondente, oppure ne crea uno se non ce ne sono.`}},pager:{page:`Pagina {page}`},page:{create:`Nuovo {noun}`,unknown:`Risorsa sconosciuta`,unknownText:`Nulla è registrato come “{slug}”.`},inline:{editLabel:`Modifica {label}`,pending:`{count} modifica non salvata | {count} modifiche non salvate`,save:`Salva modifiche`,discard:`Scarta`,saved:`Un record salvato. | {count} record salvati.`,conflict:`Un record è cambiato dopo il caricamento dell’elenco. Ricaricalo e modificalo di nuovo.`,leaveTitle:`Scartare {count} modifica non salvata? | Scartare {count} modifiche non salvate?`,leaveText:`Uscendo dall’elenco perderai le modifiche non salvate.`}},record:{unknownResource:`Risorsa sconosciuta`,new:`Nuovo`,newTitle:`Nuovo {label}`,editTitle:`Modifica {title}`,createNotAllowed:`Questa risorsa non consente di creare record qui.`,editNotAllowed:`Non puoi modificare questo record.`,saved:`{label} salvato.`,duplicate:`Duplica`,copyOf:`Una copia di “{title}”. I valori che devono essere univoci e i file partono vuoti.`,variants:{menu:`Altri modi di salvare`,saveContinue:`Salva e continua a modificare`,createContinue:`Crea e continua a modificare`,createAnother:`Crea e aggiungine un altro`},leave:{title:`Scartare le modifiche?`,text:`Uscendo da questa pagina perderai le modifiche non salvate.`,discard:`Scarta`},inTrash:`Nel cestino`,deleteTitle:`Eliminare {noun} “{title}”?`,deleteForeverTitle:`Eliminare definitivamente {noun} “{title}”?`,deleteSoftText:`Viene spostato nel cestino e può essere ripristinato.`,deleteHardText:`L’operazione non può essere annullata.`,trashed:`{label} spostato nel cestino.`,deleted:`{label} eliminato.`,restored:`{label} ripristinato.`,impersonate:{action:`Impersona`,title:`Agire come “{title}”?`,text:`Vedi e fai ciò che può fare questo utente, e ogni modifica viene registrata a suo nome, con te come impersonatore.`,started:`Ora stai agendo come {title}.`},audit:{title:`Cronologia`,byUser:`dall’utente {actor}`,impersonatedBy:`(impersonato da {impersonator})`,empty:`Nessuna modifica registrata.`,revert:`Ripristina`,revertLabel:`Ripristina il valore precedente`,revertTitle:`Ripristinare il valore precedente?`,revertText:`Ripristina il valore precedente di {fields}. Anche il ripristino viene registrato nella cronologia.`,reverted:`Valore precedente ripristinato.`},panel:{attach:`Collega`,attachTitle:`Collega {label}`,attachCount:`Collega {count}`,attached:`{count} {label} collegati.`,records:`record`,record:`record`,empty:`Ancora nessun {label}.`,detach:`Scollega`,detachLabel:`Scollega {title}`,detachTitle:`Scollegare “{title}”?`,detachText:`Resta un {target}; viene rimosso solo il suo collegamento a questo {owner}.`,detached:`{title} scollegato.`}},actions:{runOn:`Eseguire {action} su {subject}?`,subjectAll:`tutti i {label} corrispondenti ({count})`,subjectAllUncounted:`tutti i {label} corrispondenti`,subjectCount:`{count} {label}`,done:`{label} completato.`,declined:`L’azione è stata rifiutata.`,redirectRefused:`L’azione chiedeva di aprire una pagina esterna al pannello; non è stata aperta.`,downloadStarted:`Download avviato.`,queued:`{label} è stato messo in coda.`},dashboard:{title:`Dashboard`,range:`Intervallo`,loading:`Caricamento`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nessun dato in questo intervallo.`},progress:{of:`di {target}`,label:`Avanzamento`},stat:{previous:`rispetto a {value} prima`},table:{empty:`Niente da mostrare.`,seeAll:`Vedi tutto`},trend:{total:`Totale {value}`}},jobs:{title:`Job`,heading:`Job in background`,columns:{job:`Job`,resource:`Risorsa`,status:`Stato`,progress:`Avanzamento`,started:`Avviato`},empty:`Ancora nessun job. Qui compaiono le esportazioni e importazioni di grandi dimensioni e le azioni in coda.`,kind:{action:`azione`,export:`esportazione`,import:`importazione`},status:{queued:`in coda`,running:`in esecuzione`,done:`completato`,failed:`non riuscito`,stalled:`bloccata`},detail:{pageTitle:`Job #{id}`,fallbackTitle:`Job`,started:`avviato {date}`,finished:`terminato {date}`,progress:`Avanzamento del job`,processed:`{processed} elaborati`,processedOfTotal:`{processed} di {total} elaborati`,download:`Scarica {file}`,file:`file`}},settings:{pageTitle:`Impostazioni`,heading:`Impostazioni`,empty:{title:`Nessuna impostazione`,text:`Non c’è nulla di registrato che questo account possa gestire.`},saved:`{label} salvato.`},fields:{cell:{loading:`Caricamento di {label}`},keyValue:{key:`Chiave`,value:`Valore`,entry:`Voce {n}`,add:`Aggiungi voce`,remove:`Rimuovi voce {n}`,more:`+{count} altri`,repeated:`Usate più di una volta: {keys}. Viene mantenuta l’ultima.`},repeater:{add:`Aggiungi {label}`,remove:`Rimuovi {label} {n}`,row:`{label} {n}`,count:`{count} su un massimo di {max}`,unavailable:`Non puoi vedere queste righe.`},relation:{placeholder:`Digita per cercare`,dependsFirst:`Scegli prima {label}`},upload:{storageKey:`La chiave di archiviazione del file.`,tooLarge:`Il file supera {size} MB.`,rejected:`Il file {message}`,uploaded:`Caricato {name} ({size} KB)`,theFile:`il file`,upTo:`fino a {size} MB`,preview:`Anteprima di {label}`,remove:`Rimuovi {label}`},richtext:{toolbar:`Formattazione di {label}`,bold:`Grassetto`,italic:`Corsivo`,underline:`Sottolineato`,strike:`Barrato`,code:`Codice`,heading:`Titolo {level}`,bulletList:`Elenco puntato`,orderedList:`Elenco numerato`,blockquote:`Citazione`,codeBlock:`Blocco di codice`,horizontalRule:`Separatore`,link:`Link`,linkUrl:`Indirizzo del link`,linkRefused:`Usa un link http(s), mailto o relativo`,insertTable:`Inserisci tabella`,addRow:`Aggiungi riga`,addColumn:`Aggiungi colonna`,deleteRow:`Elimina riga`,deleteColumn:`Elimina colonna`,deleteTable:`Elimina tabella`,image:`Inserisci immagine`,undo:`Annulla`,redo:`Ripeti`,source:`Sorgente`,visual:`Visuale`,sourceOf:`Sorgente di {label}`},rules:{maxLength:`Al massimo {max} caratteri`,minLength:`Almeno {min} caratteri`,email:`Inserisci un indirizzo e-mail valido`,url:`Inserisci un URL valido`,greaterThan:`Deve essere maggiore di {limit}`,greaterThanOrEqual:`Deve essere almeno {limit}`,lessThan:`Deve essere minore di {limit}`,lessThanOrEqual:`Deve essere al massimo {limit}`,invalidFormat:`Formato non valido`,notAllowed:`Valore non consentito`}}},es:{common:{save:`Guardar`,cancel:`Cancelar`,create:`Crear`,edit:`Editar`,delete:`Eliminar`,deleteForever:`Eliminar definitivamente`,restore:`Restaurar`,close:`Cerrar`,apply:`Aplicar`,remove:`Quitar`,search:`Buscar`,loading:`Cargando…`,required:`Obligatorio`,none:`—`,yes:`Sí`,no:`No`,download:`Descargar`,actions:`Acciones`,confirm:`Confirmar`,serverRejected:`El servidor rechazó la solicitud.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administración`,account:`Cuenta`,signOut:`Cerrar sesión`,toggleNavigation:`Mostrar u ocultar la navegación`,toggleTheme:`Cambiar tema`,language:`Idioma: {name}`,languageFailed:`No se pudo guardar el idioma: {error}`,unsupportedDescriptor:`La API publica la versión {version} del descriptor; este panel lee la versión {supported}. {remedy}`,version:{mismatch:`Esta interfaz de administración es la versión {current}; kinetis/vector espera {expected}.`,dismiss:`Descartar`,hostedRemedy:`Ejecute vendor/bin/kinetis vector:install-ui en el servidor y reinicie los workers.`,layeredRemedy:`Actualice {package} a {version} y vuelva a compilar.`,layeredRemedyAny:`Instale la versión de {package} que espera este kinetis/vector y vuelva a compilar.`},nav:{main:`Principal`,dashboard:`Panel`,jobs:`Tareas`,settings:`Configuración`,pages:`Páginas`,badge:`{count} {label}`},page:{unknown:`Página desconocida`,loading:`Cargando la página`},impersonation:{actingAs:`Está actuando como {name}.`,anotherUser:`otro usuario`,stop:`Dejar de actuar como otro usuario`,noAccess:`{name} no tiene acceso a la administración, así que no hay nada que ver en su nombre. Se dejó de actuar en su nombre.`,noToken:`La aplicación respondió sin un token ni una recarga, así que no cambió nada.`,ended:`Tu suplantación ha caducado, así que vuelves a estar en tu propia cuenta.`},palette:{placeholder:`Buscar registros y recursos…`,records:`Registros`,resources:`Recursos`,noMatch:`Ningún registro coincide`},inbox:{title:`Notificaciones`,markAllRead:`Marcar todo como leído`,empty:`Aún no hay nada`},login:{pageTitle:`Iniciar sesión · {brand}`,subtitle:`Inicie sesión en la administración`,email:`Correo electrónico`,password:`Contraseña`,submit:`Iniciar sesión`,invalidEmail:`Introduzca una dirección de correo electrónico válida`,welcome:`Hola de nuevo, {name}.`,signedOutIdle:`Se cerró la sesión tras {minutes} minutos de inactividad. Inicie sesión de nuevo para continuar donde lo dejó.`,impersonationEnded:`Tu suplantación ha caducado y no se pudo renovar tu propia sesión. Inicia sesión de nuevo para continuar.`},home:{title:`Panel`}},list:{field:`Campo`,search:`Buscar {label}…`,noSearch:`No hay campos en los que buscar`,noGrouping:`Sin agrupar`,groupBy:`Agrupar por`,groupHeader:`{label}:`,expandGroup:`Expandir grupo`,collapseGroup:`Contraer grupo`,trash:{label:`Papelera`,active:`Activos`,only:`Papelera`,with:`Activos y papelera`},exportCsv:`Exportar CSV`,importCsv:`Importar CSV`,exportQueued:`La exportación es grande y se puso en cola; recibirá un aviso cuando esté lista.`,exportPrepared:`La exportación se está preparando; recibirá un aviso cuando esté lista.`,export:`Exportar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Sin coincidencias`,empty:`Aún no hay {label}`,summary:{sum:`Suma`,avg:`Media`,min:`Mín.`,max:`Máx.`,count:`Recuento`},operation:{deleteTitle:`¿Eliminar {count} {noun}?`,restoreTitle:`¿Restaurar {count} {noun}?`,forceDeleteTitle:`¿Eliminar definitivamente {count} {noun}?`,deleteAllTitle:`¿Eliminar todos los {noun} coincidentes?`,restoreAllTitle:`¿Restaurar todos los {noun} coincidentes?`,forceDeleteAllTitle:`¿Eliminar definitivamente todos los {noun} coincidentes?`,toTrash:`Se mueven a la papelera y se pueden restaurar.`,irreversible:`Esta acción no se puede deshacer.`,restored:`Restaurados: {count} {noun}.`,deleted:`Eliminados: {count} {noun}.`},bulk:{allMatching:`Los {total} coincidentes`,allMatchingUncounted:`Todos los registros coincidentes`,selected:`{count} seleccionados`,selectAllMatching:`Seleccionar los {total} coincidentes`,selectAllMatchingUncounted:`Seleccionar todos los registros coincidentes`,onlyChecked:`Solo las filas marcadas`,clearSelection:`Borrar selección`},bulkEdit:{everyMatching:`todos los {noun} coincidentes ({count})`,everyMatchingUncounted:`todos los {noun} coincidentes`,some:`{count} {noun}`,title:`Editar {subject}`,fieldsToChange:`Campos que cambiar`,fieldsHint:`Solo se escriben los campos que elija; el resto de valores no cambia.`,applyTo:`Aplicar a {count}`,applyToAll:`Aplicar a todos los coincidentes`,updated:`Actualizados: {count} {noun}.`},columns:{title:`Columnas`,moveUp:`Subir`,moveDown:`Bajar`,reset:`Restablecer`},filter:{add:`Añadir filtro`,condition:`Condición`,value:`Valor`,from:`Desde`,to:`Hasta`,commaSeparated:`Separados por comas`,clear:`Borrar`,yes:`sí`,no:`no`,and:`y`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Cualquiera de`,anyOfGroup:`Cualquiera de, grupo {n}`,alternative:`Alternativa {n}`,or:`o`,orCondition:`o…`,addAnyOf:`Añadir “cualquiera de”`,addToAlternative:`Añadir una condición a la alternativa {n}`,removeGroup:`Quitar grupo {n}`,advanced:`Condición avanzada`,operators:{eq:`es`,ne:`no es`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`es uno de`,nin:`no es ninguno de`,like:`contiene`,nlike:`no contiene`,between:`está entre`,null:`está vacío`,nnull:`no está vacío`}},views:{menu:`Vistas`,allRecords:`Todos los registros`,default:`Predeterminada`,updateWithCurrent:`Actualizar la vista con la lista actual`,delete:`Eliminar vista`,deleteTitle:`¿Eliminar la vista “{name}”?`,saveCurrent:`Guardar la actual como vista…`,saveTitle:`Guardar vista`,updateTitle:`Actualizar “{name}”`,name:`Nombre`,share:`Compartir con todos los administradores`,openWith:`Abrir este recurso con esta vista`,openWithForEveryone:`Abrirlo así para todos los que no tengan una vista predeterminada propia`,shareFirst:`Comparta la vista para que sea la predeterminada de todos.`,everyoneDefault:`Predeterminada para todos`,saved:`Vista “{name}” guardada.`},import:{title:`Importar {label}`,file:`Archivo CSV`,analyse:`Analizar`,instructions:"{rows} filas. Asigne cada columna a un campo o déjela sin asignar para omitirla. Una columna `manyToMany` admite identificadores separados por `{pipe}`.",csvColumn:`Columna CSV`,sample:`Ejemplo`,skip:`— omitir —`,start:`Importar {rows} filas`,queued:`Importación de {rows} filas en cola.`,mode:`Filas`,modes:{create:`Crear registros nuevos`,update:`Actualizar registros existentes`,upsert:`Actualizar o crear`},key:`Hacer coincidir las filas por`,noKey:`Asigne primero una columna a la clave o a un campo único.`,modeHelp:{update:`Cada fila actualiza el registro cuyo valor coincide; una fila que no coincide con ninguno va al archivo de filas fallidas.`,upsert:`Cada fila actualiza el registro cuyo valor coincide, o crea uno cuando no hay ninguno.`}},pager:{page:`Página {page}`},page:{create:`Crear {noun}`,unknown:`Recurso desconocido`,unknownText:`No hay nada registrado como “{slug}”.`},inline:{editLabel:`Editar {label}`,pending:`{count} cambio sin guardar | {count} cambios sin guardar`,save:`Guardar cambios`,discard:`Descartar`,saved:`Se guardó un registro. | Se guardaron {count} registros.`,conflict:`Un registro cambió desde que se cargó la lista. Vuelva a cargarlo y edítelo de nuevo.`,leaveTitle:`¿Descartar {count} cambio sin guardar? | ¿Descartar {count} cambios sin guardar?`,leaveText:`Al salir de la lista se pierden las modificaciones no guardadas.`}},record:{unknownResource:`Recurso desconocido`,new:`Nuevo`,newTitle:`Crear {label}`,editTitle:`Editar {title}`,createNotAllowed:`Este recurso no permite crear registros aquí.`,editNotAllowed:`No puede editar este registro.`,saved:`Se guardó {label}.`,duplicate:`Duplicar`,copyOf:`Una copia de “{title}”. Los valores que deben ser únicos y los archivos empiezan vacíos.`,variants:{menu:`Más formas de guardar`,saveContinue:`Guardar y seguir editando`,createContinue:`Crear y seguir editando`,createAnother:`Crear y añadir otro`},leave:{title:`¿Descartar los cambios?`,text:`Al salir de esta página se pierden los cambios no guardados.`,discard:`Descartar`},inTrash:`En la papelera`,deleteTitle:`¿Eliminar {noun} “{title}”?`,deleteForeverTitle:`¿Eliminar definitivamente {noun} “{title}”?`,deleteSoftText:`Se mueve a la papelera y se puede restaurar.`,deleteHardText:`Esta acción no se puede deshacer.`,trashed:`Se movió {label} a la papelera.`,deleted:`Se eliminó {label}.`,restored:`Se restauró {label}.`,impersonate:{action:`Actuar como`,title:`¿Actuar como “{title}”?`,text:`Verá y hará lo que esa persona puede hacer, y cada cambio se registrará como suyo, indicando que usted actuaba en su nombre.`,started:`Ahora actúa como {title}.`},audit:{title:`Historial`,byUser:`por el usuario {actor}`,impersonatedBy:`(actuando en su nombre: {impersonator})`,empty:`No hay cambios registrados.`,revert:`Revertir`,revertLabel:`Revertir este cambio`,revertTitle:`¿Revertir este cambio?`,revertText:`Restaura el valor anterior de {fields}. La reversión también queda registrada en el historial.`,reverted:`Cambio revertido.`},panel:{attach:`Vincular`,attachTitle:`Vincular {label}`,attachCount:`Vincular {count}`,attached:`Vinculados: {count} {label}.`,records:`registros`,record:`registro`,empty:`Aún no hay {label}.`,detach:`Desvincular`,detachLabel:`Desvincular {title}`,detachTitle:`¿Desvincular “{title}”?`,detachText:`Se conserva como {target}; solo se quita su vínculo con {owner}.`,detached:`Se desvinculó {title}.`}},actions:{runOn:`¿Ejecutar {action} en {subject}?`,subjectAll:`todos los {label} coincidentes ({count})`,subjectAllUncounted:`todos los {label} coincidentes`,subjectCount:`{count} {label}`,done:`Se completó {label}.`,declined:`La acción se rechazó.`,redirectRefused:`La acción pidió abrir una página fuera del panel; no se ha abierto.`,downloadStarted:`Descarga iniciada.`,queued:`{label} se puso en cola.`},dashboard:{title:`Panel`,range:`Periodo`,loading:`Cargando`,percent:`{value} %`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`No hay nada en este periodo.`},progress:{of:`de {target}`,label:`Progreso`},stat:{previous:`frente a {value} antes`},table:{empty:`No hay nada que mostrar.`,seeAll:`Ver todo`},trend:{total:`Total {value}`}},jobs:{title:`Tareas`,heading:`Tareas en segundo plano`,columns:{job:`Tarea`,resource:`Recurso`,status:`Estado`,progress:`Progreso`,started:`Inicio`},empty:`Aún no hay tareas. Aquí aparecen las exportaciones e importaciones grandes y las acciones en cola.`,kind:{action:`acción`,export:`exportación`,import:`importación`},status:{queued:`en cola`,running:`en curso`,done:`completada`,failed:`fallida`,stalled:`bloqueada`},detail:{pageTitle:`Tarea #{id}`,fallbackTitle:`Tarea`,started:`inicio: {date}`,finished:`fin: {date}`,progress:`Progreso de la tarea`,processed:`{processed} procesados`,processedOfTotal:`{processed} de {total} procesados`,download:`Descargar {file}`,file:`archivo`}},settings:{pageTitle:`Configuración`,heading:`Configuración`,empty:{title:`Sin configuración`,text:`No hay nada registrado que esta cuenta pueda gestionar.`},saved:`Se guardó {label}.`},fields:{cell:{loading:`Cargando {label}`},keyValue:{key:`Clave`,value:`Valor`,entry:`Entrada {n}`,add:`Añadir entrada`,remove:`Quitar entrada {n}`,more:`+{count} más`,repeated:`Se usa más de una vez: {keys}. Se conserva la última.`},repeater:{add:`Añadir {label}`,remove:`Quitar {label} {n}`,row:`{label} {n}`,count:`{count} de {max} como máximo`,unavailable:`No tiene permiso para ver estas filas.`},relation:{placeholder:`Escriba para buscar`,dependsFirst:`Elija primero {label}`},upload:{storageKey:`La clave de almacenamiento del archivo.`,tooLarge:`El archivo supera los {size} MB.`,rejected:`El archivo {message}`,uploaded:`Se subió {name} ({size} KB)`,theFile:`el archivo`,upTo:`hasta {size} MB`,preview:`Vista previa de {label}`,remove:`Quitar {label}`},richtext:{toolbar:`Formato de {label}`,bold:`Negrita`,italic:`Cursiva`,underline:`Subrayado`,strike:`Tachado`,code:`Código`,heading:`Título {level}`,bulletList:`Lista con viñetas`,orderedList:`Lista numerada`,blockquote:`Cita`,codeBlock:`Bloque de código`,horizontalRule:`Separador`,link:`Enlace`,linkUrl:`Dirección del enlace`,linkRefused:`Use un enlace http(s), mailto o relativo`,insertTable:`Insertar tabla`,addRow:`Añadir fila`,addColumn:`Añadir columna`,deleteRow:`Eliminar fila`,deleteColumn:`Eliminar columna`,deleteTable:`Eliminar tabla`,image:`Insertar imagen`,undo:`Deshacer`,redo:`Rehacer`,source:`Código fuente`,visual:`Visual`,sourceOf:`Código fuente de {label}`},rules:{maxLength:`Como máximo {max} caracteres`,minLength:`Al menos {min} caracteres`,email:`Introduzca una dirección de correo electrónico válida`,url:`Introduzca una URL válida`,greaterThan:`Debe ser mayor que {limit}`,greaterThanOrEqual:`Debe ser como mínimo {limit}`,lessThan:`Debe ser menor que {limit}`,lessThanOrEqual:`Debe ser como máximo {limit}`,invalidFormat:`Formato no válido`,notAllowed:`Valor no permitido`}}},pt:{common:{save:`Guardar`,cancel:`Cancelar`,create:`Criar`,edit:`Editar`,delete:`Eliminar`,deleteForever:`Eliminar definitivamente`,restore:`Restaurar`,close:`Fechar`,apply:`Aplicar`,remove:`Remover`,search:`Pesquisar`,loading:`A carregar…`,required:`Obrigatório`,none:`—`,yes:`Sim`,no:`Não`,download:`Transferir`,actions:`Ações`,confirm:`Confirmar`,serverRejected:`O servidor rejeitou o pedido.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administração`,account:`Conta`,signOut:`Terminar sessão`,toggleNavigation:`Alternar navegação`,toggleTheme:`Alternar tema`,language:`Idioma: {name}`,languageFailed:`Não foi possível guardar o idioma: {error}`,unsupportedDescriptor:`A API publica a versão {version} do descritor; este painel lê a versão {supported}. {remedy}`,version:{mismatch:`Este painel está na versão {current}; o kinetis/vector espera {expected}.`,dismiss:`Dispensar`,hostedRemedy:`Execute vendor/bin/kinetis vector:install-ui no servidor e reinicie os workers.`,layeredRemedy:`Atualize {package} para {version} e volte a compilar.`,layeredRemedyAny:`Instale a versão de {package} que este kinetis/vector espera e volte a compilar.`},nav:{main:`Principal`,dashboard:`Painel`,jobs:`Tarefas`,settings:`Definições`,pages:`Páginas`,badge:`{count} {label}`},page:{unknown:`Página desconhecida`,loading:`A carregar a página`},impersonation:{actingAs:`Está a agir como {name}.`,anotherUser:`outro utilizador`,stop:`Parar de personificar`,noAccess:`{name} não tem acesso à administração, por isso não há nada para ver em seu nome. A personificação foi interrompida.`,noToken:`A aplicação respondeu sem um token nem um recarregamento, por isso nada mudou.`,ended:`A sua personificação expirou, por isso voltou à sua própria conta.`},palette:{placeholder:`Pesquisar registos e recursos…`,records:`Registos`,resources:`Recursos`,noMatch:`Nenhum registo corresponde`},inbox:{title:`Notificações`,markAllRead:`Marcar tudo como lido`,empty:`Ainda nada`},login:{pageTitle:`Iniciar sessão · {brand}`,subtitle:`Inicie sessão na administração`,email:`E-mail`,password:`Palavra-passe`,submit:`Iniciar sessão`,invalidEmail:`Insira um endereço de e-mail válido`,welcome:`Bem-vindo de volta, {name}.`,signedOutIdle:`A sessão terminou após {minutes} minutos de inatividade. Inicie sessão novamente para continuar onde estava.`,impersonationEnded:`A sua personificação expirou e não foi possível renovar a sua própria sessão. Inicie sessão novamente para continuar.`},home:{title:`Painel`}},list:{field:`Campo`,search:`Pesquisar {label}…`,noSearch:`Sem campos pesquisáveis`,noGrouping:`Sem agrupamento`,groupBy:`Agrupar por`,groupHeader:`{label}:`,expandGroup:`Expandir grupo`,collapseGroup:`Recolher grupo`,trash:{label:`Lixo`,active:`Ativos`,only:`Lixo`,with:`Ativos e lixo`},exportCsv:`Exportar CSV`,importCsv:`Importar CSV`,exportQueued:`A exportação é grande e foi colocada na fila; será notificado quando estiver pronta.`,exportPrepared:`A exportação está a ser preparada; será notificado quando estiver pronta.`,export:`Exportar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nenhum resultado`,empty:`Ainda não há {label}`,summary:{sum:`Soma`,avg:`Média`,min:`Mín.`,max:`Máx.`,count:`Contagem`},operation:{deleteTitle:`Eliminar {count} {noun}?`,restoreTitle:`Restaurar {count} {noun}?`,forceDeleteTitle:`Eliminar definitivamente {count} {noun}?`,deleteAllTitle:`Eliminar todos os {noun} correspondentes?`,restoreAllTitle:`Restaurar todos os {noun} correspondentes?`,forceDeleteAllTitle:`Eliminar definitivamente todos os {noun} correspondentes?`,toTrash:`São movidos para o lixo e podem ser restaurados.`,irreversible:`Esta ação não pode ser anulada.`,restored:`{count} {noun} restaurados.`,deleted:`{count} {noun} eliminados.`},bulk:{allMatching:`Todos os {total} correspondentes`,allMatchingUncounted:`Todos os registos correspondentes`,selected:`{count} selecionados`,selectAllMatching:`Selecionar todos os {total} correspondentes`,selectAllMatchingUncounted:`Selecionar todos os registos correspondentes`,onlyChecked:`Apenas as linhas marcadas`,clearSelection:`Limpar seleção`},bulkEdit:{everyMatching:`todos os {noun} correspondentes ({count})`,everyMatchingUncounted:`todos os {noun} correspondentes`,some:`{count} {noun}`,title:`Editar {subject}`,fieldsToChange:`Campos a alterar`,fieldsHint:`Só são gravados os campos que escolher; todos os outros valores ficam como estão.`,applyTo:`Aplicar a {count}`,applyToAll:`Aplicar a todos os correspondentes`,updated:`{count} {noun} atualizados.`},columns:{title:`Colunas`,moveUp:`Mover para cima`,moveDown:`Mover para baixo`,reset:`Repor`},filter:{add:`Adicionar filtro`,condition:`Condição`,value:`Valor`,from:`De`,to:`Até`,commaSeparated:`Separados por vírgulas`,clear:`Limpar`,yes:`sim`,no:`não`,and:`e`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Qualquer um de`,anyOfGroup:`Qualquer um de, grupo {n}`,alternative:`Alternativa {n}`,or:`ou`,orCondition:`ou…`,addAnyOf:`Adicionar “qualquer um de”`,addToAlternative:`Adicionar uma condição à alternativa {n}`,removeGroup:`Remover grupo {n}`,advanced:`Condição avançada`,operators:{eq:`é`,ne:`não é`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`é um de`,nin:`não é nenhum de`,like:`contém`,nlike:`não contém`,between:`está entre`,null:`está vazio`,nnull:`não está vazio`}},views:{menu:`Vistas`,allRecords:`Todos os registos`,default:`Predefinida`,updateWithCurrent:`Atualizar a vista com a lista atual`,delete:`Eliminar vista`,deleteTitle:`Eliminar a vista “{name}”?`,saveCurrent:`Guardar a atual como vista…`,saveTitle:`Guardar vista`,updateTitle:`Atualizar “{name}”`,name:`Nome`,share:`Partilhar com todos os administradores`,openWith:`Abrir este recurso com esta vista`,openWithForEveryone:`Abri-lo assim para todos os que não tenham uma predefinição própria`,shareFirst:`Partilhe a vista para a tornar a predefinição de todos.`,everyoneDefault:`Predefinida para todos`,saved:`Vista “{name}” guardada.`},import:{title:`Importar {label}`,file:`Ficheiro CSV`,analyse:`Analisar`,instructions:"{rows} linhas. Associe cada coluna a um campo, ou deixe-a sem associação para a ignorar. Uma coluna `manyToMany` aceita identificadores separados por `{pipe}`.",csvColumn:`Coluna CSV`,sample:`Exemplo`,skip:`— ignorar —`,start:`Importar {rows} linhas`,queued:`Importação de {rows} linhas colocada na fila.`,mode:`Linhas`,modes:{create:`Criar novos registos`,update:`Atualizar registos existentes`,upsert:`Atualizar ou criar`},key:`Associar linhas por`,noKey:`Associe primeiro uma coluna à chave ou a um campo único.`,modeHelp:{update:`Cada linha atualiza o registo cujo valor corresponde; uma linha sem correspondência vai para o ficheiro de linhas com falha.`,upsert:`Cada linha atualiza o registo cujo valor corresponde, ou cria um quando não há nenhum.`}},pager:{page:`Página {page}`},page:{create:`Novo {noun}`,unknown:`Recurso desconhecido`,unknownText:`Nada está registado como “{slug}”.`},inline:{editLabel:`Editar {label}`,pending:`{count} alteração não guardada | {count} alterações não guardadas`,save:`Guardar alterações`,discard:`Descartar`,saved:`Um registo guardado. | {count} registos guardados.`,conflict:`Um registo foi alterado desde que a lista foi carregada. Recarregue-o e edite novamente.`,leaveTitle:`Descartar {count} alteração não guardada? | Descartar {count} alterações não guardadas?`,leaveText:`Sair da lista descarta as edições que não guardou.`}},record:{unknownResource:`Recurso desconhecido`,new:`Novo`,newTitle:`Novo {label}`,editTitle:`Editar {title}`,createNotAllowed:`Este recurso não permite criar registos aqui.`,editNotAllowed:`Não tem permissão para editar este registo.`,saved:`{label} guardado.`,duplicate:`Duplicar`,copyOf:`Uma cópia de “{title}”. Os valores que têm de ser únicos, e os ficheiros, começam vazios.`,variants:{menu:`Mais formas de guardar`,saveContinue:`Guardar e continuar a editar`,createContinue:`Criar e continuar a editar`,createAnother:`Criar e adicionar outro`},leave:{title:`Descartar as alterações?`,text:`Sair desta página descarta as alterações que não guardou.`,discard:`Descartar`},inTrash:`No lixo`,deleteTitle:`Eliminar {noun} “{title}”?`,deleteForeverTitle:`Eliminar definitivamente {noun} “{title}”?`,deleteSoftText:`É movido para o lixo e pode ser restaurado.`,deleteHardText:`Esta ação não pode ser anulada.`,trashed:`{label} movido para o lixo.`,deleted:`{label} eliminado.`,restored:`{label} restaurado.`,impersonate:{action:`Personificar`,title:`Agir como “{title}”?`,text:`Vê e faz o que essa pessoa pode, e cada alteração fica registada em nome dela, consigo como personificador.`,started:`Está agora a agir como {title}.`},audit:{title:`Histórico`,byUser:`pelo utilizador {actor}`,impersonatedBy:`(personificado por {impersonator})`,empty:`Sem alterações registadas.`,revert:`Reverter`,revertLabel:`Reverter esta alteração`,revertTitle:`Reverter esta alteração?`,revertText:`Repõe o valor anterior de {fields}. A reversão também fica registada no histórico.`,reverted:`Alteração revertida.`},panel:{attach:`Associar`,attachTitle:`Associar {label}`,attachCount:`Associar {count}`,attached:`{count} {label} associados.`,records:`registos`,record:`registo`,empty:`Ainda não há {label}.`,detach:`Desassociar`,detachLabel:`Desassociar {title}`,detachTitle:`Desassociar “{title}”?`,detachText:`Continua a ser um {target}; só é removida a sua ligação a este {owner}.`,detached:`{title} desassociado.`}},actions:{runOn:`Executar {action} em {subject}?`,subjectAll:`todos os {label} correspondentes ({count})`,subjectAllUncounted:`todos os {label} correspondentes`,subjectCount:`{count} {label}`,done:`{label}: concluído.`,declined:`A ação foi recusada.`,redirectRefused:`A ação pediu para abrir uma página fora do painel; não foi aberta.`,downloadStarted:`Transferência iniciada.`,queued:`{label}: colocado na fila.`},dashboard:{title:`Painel`,range:`Período`,loading:`A carregar`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nada neste período.`},progress:{of:`de {target}`,label:`Progresso`},stat:{previous:`vs. {value} antes`},table:{empty:`Nada a mostrar.`,seeAll:`Ver tudo`},trend:{total:`Total {value}`}},jobs:{title:`Tarefas`,heading:`Tarefas em segundo plano`,columns:{job:`Tarefa`,resource:`Recurso`,status:`Estado`,progress:`Progresso`,started:`Iniciada`},empty:`Ainda não há tarefas. As exportações e importações grandes e as ações em fila aparecem aqui.`,kind:{action:`ação`,export:`exportação`,import:`importação`},status:{queued:`em fila`,running:`em execução`,done:`concluída`,failed:`com falha`,stalled:`bloqueada`},detail:{pageTitle:`Tarefa #{id}`,fallbackTitle:`Tarefa`,started:`iniciada em {date}`,finished:`concluída em {date}`,progress:`Progresso da tarefa`,processed:`{processed} processados`,processedOfTotal:`{processed} de {total} processados`,download:`Download de {file}`,file:`ficheiro`}},settings:{pageTitle:`Definições`,heading:`Definições`,empty:{title:`Sem definições`,text:`Não há nada registado que esta conta possa gerir.`},saved:`{label} guardado.`},fields:{cell:{loading:`A carregar {label}`},keyValue:{key:`Chave`,value:`Valor`,entry:`Entrada {n}`,add:`Adicionar entrada`,remove:`Remover entrada {n}`,more:`+{count} mais`,repeated:`Usado mais de uma vez: {keys}. É mantido o último.`},repeater:{add:`Adicionar {label}`,remove:`Remover {label} {n}`,row:`{label} {n}`,count:`{count} de no máximo {max}`,unavailable:`Não tem permissão para ver estas linhas.`},relation:{placeholder:`Escreva para pesquisar`,dependsFirst:`Escolha primeiro {label}`},upload:{storageKey:`A chave de armazenamento do ficheiro.`,tooLarge:`O ficheiro excede {size} MB.`,rejected:`O ficheiro {message}`,uploaded:`Carregado: {name} ({size} KB)`,theFile:`o ficheiro`,upTo:`até {size} MB`,preview:`Pré-visualização de {label}`,remove:`Remover {label}`},richtext:{toolbar:`Formatação de {label}`,bold:`Negrito`,italic:`Itálico`,underline:`Sublinhado`,strike:`Riscado`,code:`Código`,heading:`Título {level}`,bulletList:`Lista com marcadores`,orderedList:`Lista numerada`,blockquote:`Citação`,codeBlock:`Bloco de código`,horizontalRule:`Linha divisória`,link:`Link`,linkUrl:`Endereço do link`,linkRefused:`Use um link http(s), mailto ou relativo`,insertTable:`Inserir tabela`,addRow:`Adicionar linha`,addColumn:`Adicionar coluna`,deleteRow:`Eliminar linha`,deleteColumn:`Eliminar coluna`,deleteTable:`Eliminar tabela`,image:`Inserir imagem`,undo:`Desfazer`,redo:`Refazer`,source:`Código-fonte`,visual:`Visual`,sourceOf:`Código-fonte de {label}`},rules:{maxLength:`No máximo {max} caracteres`,minLength:`Pelo menos {min} caracteres`,email:`Insira um endereço de e-mail válido`,url:`Insira um URL válido`,greaterThan:`Tem de ser maior que {limit}`,greaterThanOrEqual:`Tem de ser pelo menos {limit}`,lessThan:`Tem de ser menor que {limit}`,lessThanOrEqual:`Tem de ser no máximo {limit}`,invalidFormat:`Formato inválido`,notAllowed:`Valor não permitido`}}},"pt-BR":{common:{save:`Salvar`,cancel:`Cancelar`,create:`Criar`,edit:`Editar`,delete:`Excluir`,deleteForever:`Excluir permanentemente`,restore:`Restaurar`,close:`Fechar`,apply:`Aplicar`,remove:`Remover`,search:`Pesquisar`,loading:`Carregando…`,required:`Obrigatório`,none:`—`,yes:`Sim`,no:`Não`,download:`Baixar`,actions:`Ações`,confirm:`Confirmar`,serverRejected:`O servidor recusou a solicitação.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administração`,account:`Conta`,signOut:`Sair`,toggleNavigation:`Alternar navegação`,toggleTheme:`Alternar tema`,language:`Idioma: {name}`,languageFailed:`Não foi possível salvar o idioma: {error}`,unsupportedDescriptor:`A API publica a versão {version} do descritor; este painel lê a versão {supported}. {remedy}`,version:{mismatch:`Este painel está na versão {current}; o kinetis/vector espera {expected}.`,dismiss:`Dispensar`,hostedRemedy:`Execute vendor/bin/kinetis vector:install-ui no servidor e reinicie os workers.`,layeredRemedy:`Atualize {package} para {version} e recompile.`,layeredRemedyAny:`Instale a versão de {package} que este kinetis/vector espera e recompile.`},nav:{main:`Principal`,dashboard:`Painel`,jobs:`Tarefas`,settings:`Configurações`,pages:`Páginas`,badge:`{count} {label}`},page:{unknown:`Página desconhecida`,loading:`Carregando a página`},impersonation:{actingAs:`Você está agindo como {name}.`,anotherUser:`outro usuário`,stop:`Parar de personificar`,noAccess:`{name} não tem acesso à administração, então não há nada para ver como essa pessoa. A personificação foi interrompida.`,noToken:`O aplicativo respondeu sem um token nem um recarregamento, então nada mudou.`,ended:`Sua personificação expirou, então você voltou para a sua própria conta.`},palette:{placeholder:`Pesquisar registros e recursos…`,records:`Registros`,resources:`Recursos`,noMatch:`Nenhum registro corresponde`},inbox:{title:`Notificações`,markAllRead:`Marcar tudo como lido`,empty:`Nada ainda`},login:{pageTitle:`Entrar · {brand}`,subtitle:`Entre na administração`,email:`E-mail`,password:`Senha`,submit:`Entrar`,invalidEmail:`Digite um endereço de e-mail válido`,welcome:`Bem-vindo de volta, {name}.`,signedOutIdle:`Você foi desconectado após {minutes} minutos de inatividade. Entre novamente para continuar de onde parou.`,impersonationEnded:`Sua personificação expirou e não foi possível renovar a sua própria sessão. Entre novamente para continuar.`},home:{title:`Painel`}},list:{field:`Campo`,search:`Pesquisar {label}…`,noSearch:`Nenhum campo pesquisável`,noGrouping:`Sem agrupamento`,groupBy:`Agrupar por`,groupHeader:`{label}:`,expandGroup:`Expandir grupo`,collapseGroup:`Recolher grupo`,trash:{label:`Lixeira`,active:`Ativos`,only:`Lixeira`,with:`Ativos e lixeira`},exportCsv:`Exportar CSV`,importCsv:`Importar CSV`,exportQueued:`A exportação é grande e foi adicionada à fila; você será notificado quando estiver pronta.`,exportPrepared:`A exportação está sendo preparada; você será notificado quando estiver pronta.`,export:`Exportar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nenhum resultado`,empty:`Ainda não há {label}`,summary:{sum:`Soma`,avg:`Média`,min:`Mín.`,max:`Máx.`,count:`Contagem`},operation:{deleteTitle:`Excluir {count} {noun}?`,restoreTitle:`Restaurar {count} {noun}?`,forceDeleteTitle:`Excluir permanentemente {count} {noun}?`,deleteAllTitle:`Excluir todos os {noun} correspondentes?`,restoreAllTitle:`Restaurar todos os {noun} correspondentes?`,forceDeleteAllTitle:`Excluir permanentemente todos os {noun} correspondentes?`,toTrash:`Eles vão para a lixeira e podem ser restaurados.`,irreversible:`Esta ação não pode ser desfeita.`,restored:`{count} {noun} restaurados.`,deleted:`{count} {noun} excluídos.`},bulk:{allMatching:`Todos os {total} correspondentes`,allMatchingUncounted:`Todos os registros correspondentes`,selected:`{count} selecionados`,selectAllMatching:`Selecionar todos os {total} correspondentes`,selectAllMatchingUncounted:`Selecionar todos os registros correspondentes`,onlyChecked:`Somente as linhas marcadas`,clearSelection:`Limpar seleção`},bulkEdit:{everyMatching:`todos os {noun} correspondentes ({count})`,everyMatchingUncounted:`todos os {noun} correspondentes`,some:`{count} {noun}`,title:`Editar {subject}`,fieldsToChange:`Campos a alterar`,fieldsHint:`Somente os campos que você escolher são gravados; todos os outros valores permanecem como estão.`,applyTo:`Aplicar a {count}`,applyToAll:`Aplicar a todos os correspondentes`,updated:`{count} {noun} atualizados.`},columns:{title:`Colunas`,moveUp:`Mover para cima`,moveDown:`Mover para baixo`,reset:`Redefinir`},filter:{add:`Adicionar filtro`,condition:`Condição`,value:`Valor`,from:`De`,to:`Até`,commaSeparated:`Separados por vírgula`,clear:`Limpar`,yes:`sim`,no:`não`,and:`e`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Qualquer um de`,anyOfGroup:`Qualquer um de, grupo {n}`,alternative:`Alternativa {n}`,or:`ou`,orCondition:`ou…`,addAnyOf:`Adicionar “qualquer um de”`,addToAlternative:`Adicionar uma condição à alternativa {n}`,removeGroup:`Remover grupo {n}`,advanced:`Condição avançada`,operators:{eq:`é`,ne:`não é`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`é um de`,nin:`não é nenhum de`,like:`contém`,nlike:`não contém`,between:`está entre`,null:`está vazio`,nnull:`não está vazio`}},views:{menu:`Visualizações`,allRecords:`Todos os registros`,default:`Padrão`,updateWithCurrent:`Atualizar a visualização com a lista atual`,delete:`Excluir visualização`,deleteTitle:`Excluir a visualização “{name}”?`,saveCurrent:`Salvar a atual como visualização…`,saveTitle:`Salvar visualização`,updateTitle:`Atualizar “{name}”`,name:`Nome`,share:`Compartilhar com todos os administradores`,openWith:`Abrir este recurso com esta visualização`,openWithForEveryone:`Abrir assim para todos que não tenham um padrão próprio`,shareFirst:`Compartilhe a visualização para torná-la o padrão de todos.`,everyoneDefault:`Padrão para todos`,saved:`Visualização “{name}” salva.`},import:{title:`Importar {label}`,file:`Arquivo CSV`,analyse:`Analisar`,instructions:"{rows} linhas. Mapeie cada coluna para um campo ou deixe-a sem mapeamento para ignorá-la. Uma coluna `manyToMany` aceita identificadores separados por `{pipe}`.",csvColumn:`Coluna CSV`,sample:`Amostra`,skip:`— ignorar —`,start:`Importar {rows} linhas`,queued:`Importação de {rows} linhas adicionada à fila.`,mode:`Linhas`,modes:{create:`Criar novos registros`,update:`Atualizar registros existentes`,upsert:`Atualizar ou criar`},key:`Corresponder linhas por`,noKey:`Primeiro mapeie uma coluna para a chave ou para um campo único.`,modeHelp:{update:`Cada linha atualiza o registro cujo valor corresponde; uma linha sem correspondência vai para o arquivo de linhas com falha.`,upsert:`Cada linha atualiza o registro cujo valor corresponde, ou cria um quando não há nenhum.`}},pager:{page:`Página {page}`},page:{create:`Novo {noun}`,unknown:`Recurso desconhecido`,unknownText:`Nada está registrado como “{slug}”.`},inline:{editLabel:`Editar {label}`,pending:`{count} alteração não salva | {count} alterações não salvas`,save:`Salvar alterações`,discard:`Descartar`,saved:`Um registro salvo. | {count} registros salvos.`,conflict:`Um registro foi alterado desde que a lista foi carregada. Recarregue-o e edite novamente.`,leaveTitle:`Descartar {count} alteração não salva? | Descartar {count} alterações não salvas?`,leaveText:`Sair da lista descarta as edições que você não salvou.`}},record:{unknownResource:`Recurso desconhecido`,new:`Novo`,newTitle:`Novo {label}`,editTitle:`Editar {title}`,createNotAllowed:`Este recurso não permite criar registros aqui.`,editNotAllowed:`Você não tem permissão para editar este registro.`,saved:`{label} salvo.`,duplicate:`Duplicar`,copyOf:`Uma cópia de “{title}”. Valores que devem ser únicos, e arquivos, começam vazios.`,variants:{menu:`Mais opções para salvar`,saveContinue:`Salvar e continuar editando`,createContinue:`Criar e continuar editando`,createAnother:`Criar e adicionar outro`},leave:{title:`Descartar suas alterações?`,text:`Sair desta página descarta as alterações que você não salvou.`,discard:`Descartar`},inTrash:`Na lixeira`,deleteTitle:`Excluir {noun} “{title}”?`,deleteForeverTitle:`Excluir permanentemente {noun} “{title}”?`,deleteSoftText:`Ele vai para a lixeira e pode ser restaurado.`,deleteHardText:`Esta ação não pode ser desfeita.`,trashed:`{label} movido para a lixeira.`,deleted:`{label} excluído.`,restored:`{label} restaurado.`,impersonate:{action:`Personificar`,title:`Agir como “{title}”?`,text:`Você vê e faz o que essa pessoa pode, e cada alteração é registrada em nome dela, com você como personificador.`,started:`Agora você está agindo como {title}.`},audit:{title:`Histórico`,byUser:`pelo usuário {actor}`,impersonatedBy:`(personificado por {impersonator})`,empty:`Nenhuma alteração registrada.`,revert:`Reverter`,revertLabel:`Reverter esta alteração`,revertTitle:`Reverter esta alteração?`,revertText:`Restaura o valor anterior de {fields}. A reversão também fica registrada no histórico.`,reverted:`Alteração revertida.`},panel:{attach:`Vincular`,attachTitle:`Vincular {label}`,attachCount:`Vincular {count}`,attached:`{count} {label} vinculados.`,records:`registros`,record:`registro`,empty:`Ainda não há {label}.`,detach:`Desvincular`,detachLabel:`Desvincular {title}`,detachTitle:`Desvincular “{title}”?`,detachText:`Continua sendo um {target}; apenas o vínculo com este {owner} é removido.`,detached:`{title} desvinculado.`}},actions:{runOn:`Executar {action} em {subject}?`,subjectAll:`todos os {label} correspondentes ({count})`,subjectAllUncounted:`todos os {label} correspondentes`,subjectCount:`{count} {label}`,done:`{label}: concluído.`,declined:`A ação foi recusada.`,redirectRefused:`A ação pediu para abrir uma página fora do painel; ela não foi aberta.`,downloadStarted:`Download iniciado.`,queued:`{label}: adicionado à fila.`},dashboard:{title:`Painel`,range:`Período`,loading:`Carregando`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nada neste período.`},progress:{of:`de {target}`,label:`Progresso`},stat:{previous:`vs. {value} antes`},table:{empty:`Nada para mostrar.`,seeAll:`Ver tudo`},trend:{total:`Total {value}`}},jobs:{title:`Tarefas`,heading:`Tarefas em segundo plano`,columns:{job:`Tarefa`,resource:`Recurso`,status:`Status`,progress:`Progresso`,started:`Iniciada`},empty:`Nenhuma tarefa ainda. Exportações e importações grandes e ações na fila aparecem aqui.`,kind:{action:`ação`,export:`exportação`,import:`importação`},status:{queued:`na fila`,running:`em execução`,done:`concluída`,failed:`falhou`,stalled:`travada`},detail:{pageTitle:`Tarefa #{id}`,fallbackTitle:`Tarefa`,started:`iniciada em {date}`,finished:`concluída em {date}`,progress:`Progresso da tarefa`,processed:`{processed} processados`,processedOfTotal:`{processed} de {total} processados`,download:`Baixar {file}`,file:`arquivo`}},settings:{pageTitle:`Configurações`,heading:`Configurações`,empty:{title:`Nenhuma configuração`,text:`Não há nada registrado para esta conta gerenciar.`},saved:`{label} salvo.`},fields:{cell:{loading:`Carregando {label}`},keyValue:{key:`Chave`,value:`Valor`,entry:`Entrada {n}`,add:`Adicionar entrada`,remove:`Remover entrada {n}`,more:`+{count} a mais`,repeated:`Usado mais de uma vez: {keys}. O último é mantido.`},repeater:{add:`Adicionar {label}`,remove:`Remover {label} {n}`,row:`{label} {n}`,count:`{count} de no máximo {max}`,unavailable:`Você não tem permissão para ver estas linhas.`},relation:{placeholder:`Digite para pesquisar`,dependsFirst:`Escolha {label} primeiro`},upload:{storageKey:`A chave de armazenamento do arquivo.`,tooLarge:`O arquivo tem mais de {size} MB.`,rejected:`O arquivo {message}`,uploaded:`Enviado: {name} ({size} KB)`,theFile:`o arquivo`,upTo:`até {size} MB`,preview:`Visualização de {label}`,remove:`Remover {label}`},richtext:{toolbar:`Formatação de {label}`,bold:`Negrito`,italic:`Itálico`,underline:`Sublinhado`,strike:`Tachado`,code:`Código`,heading:`Título {level}`,bulletList:`Lista com marcadores`,orderedList:`Lista numerada`,blockquote:`Citação`,codeBlock:`Bloco de código`,horizontalRule:`Divisor`,link:`Link`,linkUrl:`Endereço do link`,linkRefused:`Use um link http(s), mailto ou relativo`,insertTable:`Inserir tabela`,addRow:`Adicionar linha`,addColumn:`Adicionar coluna`,deleteRow:`Excluir linha`,deleteColumn:`Excluir coluna`,deleteTable:`Excluir tabela`,image:`Inserir imagem`,undo:`Desfazer`,redo:`Refazer`,source:`Código-fonte`,visual:`Visual`,sourceOf:`Código-fonte de {label}`},rules:{maxLength:`No máximo {max} caracteres`,minLength:`No mínimo {min} caracteres`,email:`Digite um endereço de e-mail válido`,url:`Digite uma URL válida`,greaterThan:`Deve ser maior que {limit}`,greaterThanOrEqual:`Deve ser no mínimo {limit}`,lessThan:`Deve ser menor que {limit}`,lessThanOrEqual:`Deve ser no máximo {limit}`,invalidFormat:`Formato inválido`,notAllowed:`Valor não permitido`}}},pl:{common:{save:`Zapisz`,cancel:`Anuluj`,create:`Utwórz`,edit:`Edytuj`,delete:`Usuń`,deleteForever:`Usuń trwale`,restore:`Przywróć`,close:`Zamknij`,apply:`Zastosuj`,remove:`Usuń`,search:`Szukaj`,loading:`Ładowanie…`,required:`Wymagane`,none:`—`,yes:`Tak`,no:`Nie`,download:`Pobierz`,actions:`Akcje`,confirm:`Potwierdź`,serverRejected:`Serwer odrzucił żądanie.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administracja`,account:`Konto`,signOut:`Wyloguj`,toggleNavigation:`Przełącz nawigację`,toggleTheme:`Przełącz motyw`,language:`Język: {name}`,languageFailed:`Nie udało się zapisać języka: {error}`,unsupportedDescriptor:`API publikuje deskryptor w wersji {version}; ten panel odczytuje wersję {supported}. {remedy}`,version:{mismatch:`Ten panel ma wersję {current}; kinetis/vector oczekuje {expected}.`,dismiss:`Zamknij`,hostedRemedy:`Uruchom vendor/bin/kinetis vector:install-ui na serwerze, a następnie zrestartuj workery.`,layeredRemedy:`Zaktualizuj {package} do wersji {version} i zbuduj ponownie.`,layeredRemedyAny:`Zainstaluj wydanie {package}, którego oczekuje ten kinetis/vector, i zbuduj ponownie.`},nav:{main:`Główne`,dashboard:`Pulpit`,jobs:`Zadania`,settings:`Ustawienia`,pages:`Strony`,badge:`{count} {label}`},page:{unknown:`Nieznana strona`,loading:`Ładowanie strony`},impersonation:{actingAs:`Działasz jako {name}.`,anotherUser:`inny użytkownik`,stop:`Wróć do swojego konta`,noAccess:`{name} nie ma dostępu do panelu administracyjnego, więc nie ma nic do wyświetlenia w jego imieniu. Działanie jako ten użytkownik zostało zakończone.`,noToken:`Aplikacja odpowiedziała bez tokenu i bez przeładowania, więc nic się nie zmieniło.`,ended:`Podszywanie się wygasło, więc wróciłeś na własne konto.`},palette:{placeholder:`Szukaj rekordów i zasobów…`,records:`Rekordy`,resources:`Zasoby`,noMatch:`Brak pasujących rekordów`},inbox:{title:`Powiadomienia`,markAllRead:`Oznacz wszystkie jako przeczytane`,empty:`Na razie nic`},login:{pageTitle:`Logowanie · {brand}`,subtitle:`Zaloguj się do panelu administracyjnego`,email:`E-mail`,password:`Hasło`,submit:`Zaloguj się`,invalidEmail:`Podaj prawidłowy adres e-mail`,welcome:`Witaj ponownie, {name}.`,signedOutIdle:`Sesja została zakończona po {minutes} minutach bezczynności. Zaloguj się ponownie, aby wrócić do przerwanej pracy.`,impersonationEnded:`Podszywanie się wygasło i nie udało się odnowić Twojej sesji. Zaloguj się ponownie, aby kontynuować.`},home:{title:`Pulpit`}},list:{field:`Pole`,search:`Szukaj: {label}…`,noSearch:`Brak pól do wyszukiwania`,noGrouping:`Bez grupowania`,groupBy:`Grupuj według`,groupHeader:`{label}:`,expandGroup:`Rozwiń grupę`,collapseGroup:`Zwiń grupę`,trash:{label:`Kosz`,active:`Aktywne`,only:`Kosz`,with:`Aktywne i kosz`},exportCsv:`Eksportuj CSV`,importCsv:`Importuj CSV`,exportQueued:`Eksport jest duży i trafił do kolejki; otrzymasz powiadomienie, gdy będzie gotowy.`,exportPrepared:`Eksport jest przygotowywany; otrzymasz powiadomienie, gdy będzie gotowy.`,export:`Eksportuj`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Brak wyników`,empty:`Brak: {label}`,summary:{sum:`Suma`,avg:`Średnia`,min:`Min.`,max:`Maks.`,count:`Liczba`},operation:{deleteTitle:`Usunąć {count} {noun}?`,restoreTitle:`Przywrócić {count} {noun}?`,forceDeleteTitle:`Trwale usunąć {count} {noun}?`,deleteAllTitle:`Usunąć wszystkie pasujące: {noun}?`,restoreAllTitle:`Przywrócić wszystkie pasujące: {noun}?`,forceDeleteAllTitle:`Trwale usunąć wszystkie pasujące: {noun}?`,toTrash:`Zostaną przeniesione do kosza i można je przywrócić.`,irreversible:`Tej operacji nie można cofnąć.`,restored:`Przywrócono: {count} {noun}.`,deleted:`Usunięto: {count} {noun}.`},bulk:{allMatching:`Wszystkie pasujące ({total})`,allMatchingUncounted:`Wszystkie pasujące rekordy`,selected:`Zaznaczono: {count}`,selectAllMatching:`Zaznacz wszystkie pasujące ({total})`,selectAllMatchingUncounted:`Zaznacz wszystkie pasujące rekordy`,onlyChecked:`Tylko zaznaczone wiersze`,clearSelection:`Wyczyść zaznaczenie`},bulkEdit:{everyMatching:`wszystkie pasujące: {noun} ({count})`,everyMatchingUncounted:`wszystkie pasujące: {noun}`,some:`{count} {noun}`,title:`Edytuj: {subject}`,fieldsToChange:`Pola do zmiany`,fieldsHint:`Zapisywane są tylko wybrane pola; pozostałe wartości nie zmieniają się.`,applyTo:`Zastosuj do {count}`,applyToAll:`Zastosuj do wszystkich pasujących`,updated:`Zaktualizowano: {count} {noun}.`},columns:{title:`Kolumny`,moveUp:`Przesuń w górę`,moveDown:`Przesuń w dół`,reset:`Resetuj`},filter:{add:`Dodaj filtr`,condition:`Warunek`,value:`Wartość`,from:`Od`,to:`Do`,commaSeparated:`Oddzielone przecinkami`,clear:`Wyczyść`,yes:`tak`,no:`nie`,and:`i`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Dowolny z`,anyOfGroup:`Dowolny z, grupa {n}`,alternative:`Alternatywa {n}`,or:`lub`,orCondition:`lub…`,addAnyOf:`Dodaj „dowolny z”`,addToAlternative:`Dodaj warunek do alternatywy {n}`,removeGroup:`Usuń grupę {n}`,advanced:`Warunek zaawansowany`,operators:{eq:`jest`,ne:`nie jest`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`jest jednym z`,nin:`nie jest żadnym z`,like:`zawiera`,nlike:`nie zawiera`,between:`jest między`,null:`jest puste`,nnull:`nie jest puste`}},views:{menu:`Widoki`,allRecords:`Wszystkie rekordy`,default:`Domyślny`,updateWithCurrent:`Zaktualizuj widok bieżącą listą`,delete:`Usuń widok`,deleteTitle:`Usunąć widok „{name}”?`,saveCurrent:`Zapisz bieżący jako widok…`,saveTitle:`Zapisz widok`,updateTitle:`Zaktualizuj „{name}”`,name:`Nazwa`,share:`Udostępnij wszystkim administratorom`,openWith:`Otwieraj ten zasób w tym widoku`,openWithForEveryone:`Otwieraj go tak dla wszystkich, którzy nie mają własnego domyślnego`,shareFirst:`Udostępnij widok, aby ustawić go jako domyślny dla wszystkich.`,everyoneDefault:`Domyślny dla wszystkich`,saved:`Zapisano widok „{name}”.`},import:{title:`Import: {label}`,file:`Plik CSV`,analyse:`Analizuj`,instructions:"Wiersze: {rows}. Przypisz każdą kolumnę do pola albo pozostaw nieprzypisaną, aby ją pominąć. Kolumna `manyToMany` przyjmuje identyfikatory oddzielone znakiem `{pipe}`.",csvColumn:`Kolumna CSV`,sample:`Przykład`,skip:`— pomiń —`,start:`Importuj wiersze: {rows}`,queued:`Import wierszy ({rows}) dodano do kolejki.`,mode:`Wiersze`,modes:{create:`Utwórz nowe rekordy`,update:`Zaktualizuj istniejące rekordy`,upsert:`Zaktualizuj lub utwórz`},key:`Dopasuj wiersze według`,noKey:`Najpierw przypisz kolumnę do klucza lub pola unikalnego.`,modeHelp:{update:`Każdy wiersz aktualizuje rekord o pasującej wartości; wiersz bez dopasowania trafia do pliku błędnych wierszy.`,upsert:`Każdy wiersz aktualizuje rekord o pasującej wartości lub tworzy nowy, gdy żaden nie pasuje.`}},pager:{page:`Strona {page}`},page:{create:`Nowy: {noun}`,unknown:`Nieznany zasób`,unknownText:`Nic nie jest zarejestrowane jako „{slug}”.`},inline:{editLabel:`Edytuj: {label}`,pending:`{count} niezapisana zmiana | {count} niezapisane zmiany | {count} niezapisanych zmian`,save:`Zapisz zmiany`,discard:`Odrzuć`,saved:`Zapisano {count} rekord. | Zapisano {count} rekordy. | Zapisano {count} rekordów.`,conflict:`Rekord zmienił się od załadowania listy. Załaduj ją ponownie i edytuj jeszcze raz.`,leaveTitle:`Odrzucić {count} niezapisaną zmianę? | Odrzucić {count} niezapisane zmiany? | Odrzucić {count} niezapisanych zmian?`,leaveText:`Opuszczenie listy odrzuci niezapisane zmiany.`}},record:{unknownResource:`Nieznany zasób`,new:`Nowy`,newTitle:`Nowy: {label}`,editTitle:`Edytuj: {title}`,createNotAllowed:`Ten zasób nie pozwala tutaj tworzyć rekordów.`,editNotAllowed:`Nie możesz edytować tego rekordu.`,saved:`{label}: zapisano.`,duplicate:`Duplikuj`,copyOf:`Kopia „{title}”. Wartości, które muszą być unikalne, oraz pliki są puste.`,variants:{menu:`Więcej opcji zapisu`,saveContinue:`Zapisz i kontynuuj edycję`,createContinue:`Utwórz i kontynuuj edycję`,createAnother:`Utwórz i dodaj kolejny`},leave:{title:`Odrzucić zmiany?`,text:`Opuszczenie tej strony odrzuci niezapisane zmiany.`,discard:`Odrzuć`},inTrash:`W koszu`,deleteTitle:`Usunąć {noun} „{title}”?`,deleteForeverTitle:`Trwale usunąć {noun} „{title}”?`,deleteSoftText:`Zostanie przeniesiony do kosza i można go przywrócić.`,deleteHardText:`Tej operacji nie można cofnąć.`,trashed:`{label}: przeniesiono do kosza.`,deleted:`{label}: usunięto.`,restored:`{label}: przywrócono.`,impersonate:{action:`Działaj jako`,title:`Działać jako „{title}”?`,text:`Widzisz i robisz to, co ten użytkownik, a każda zmiana jest zapisywana jako jego, z Tobą jako osobą działającą w jego imieniu.`,started:`Działasz teraz jako {title}.`},audit:{title:`Historia`,byUser:`przez użytkownika {actor}`,impersonatedBy:`(działał w jego imieniu: {impersonator})`,empty:`Brak zarejestrowanych zmian.`,revert:`Cofnij`,revertLabel:`Cofnij tę zmianę`,revertTitle:`Cofnąć tę zmianę?`,revertText:`Przywraca wcześniejszą wartość pól: {fields}. Cofnięcie również zostaje zapisane w historii.`,reverted:`Zmianę cofnięto.`},panel:{attach:`Dołącz`,attachTitle:`Dołącz: {label}`,attachCount:`Dołącz {count}`,attached:`Dołączono: {count} {label}.`,records:`rekordy`,record:`rekord`,empty:`Brak: {label}.`,detach:`Odłącz`,detachLabel:`Odłącz {title}`,detachTitle:`Odłączyć „{title}”?`,detachText:`Pozostaje jako {target}; usuwane jest tylko jego powiązanie z: {owner}.`,detached:`Odłączono {title}.`}},actions:{runOn:`Wykonać {action} dla: {subject}?`,subjectAll:`wszystkie pasujące: {label} ({count})`,subjectAllUncounted:`wszystkie pasujące: {label}`,subjectCount:`{count} {label}`,done:`{label}: gotowe.`,declined:`Akcja została odrzucona.`,redirectRefused:`Akcja chciała otworzyć stronę spoza panelu; nie została otwarta.`,downloadStarted:`Rozpoczęto pobieranie.`,queued:`{label}: dodano do kolejki.`},dashboard:{title:`Pulpit`,range:`Zakres`,loading:`Ładowanie`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} godz.`},partition:{empty:`Brak danych w tym zakresie.`},progress:{of:`z {target}`,label:`Postęp`},stat:{previous:`wobec {value} wcześniej`},table:{empty:`Brak danych do wyświetlenia.`,seeAll:`Zobacz wszystko`},trend:{total:`Łącznie {value}`}},jobs:{title:`Zadania`,heading:`Zadania w tle`,columns:{job:`Zadanie`,resource:`Zasób`,status:`Status`,progress:`Postęp`,started:`Rozpoczęto`},empty:`Brak zadań. Pojawią się tu duże eksporty, importy i akcje w kolejce.`,kind:{action:`akcja`,export:`eksport`,import:`import`},status:{queued:`w kolejce`,running:`w toku`,done:`gotowe`,failed:`niepowodzenie`,stalled:`zawieszone`},detail:{pageTitle:`Zadanie #{id}`,fallbackTitle:`Zadanie`,started:`rozpoczęto {date}`,finished:`zakończono {date}`,progress:`Postęp zadania`,processed:`Przetworzono: {processed}`,processedOfTotal:`Przetworzono {processed} z {total}`,download:`Pobierz {file}`,file:`plik`}},settings:{pageTitle:`Ustawienia`,heading:`Ustawienia`,empty:{title:`Brak ustawień`,text:`Dla tego konta nie zarejestrowano niczego do zarządzania.`},saved:`{label}: zapisano.`},fields:{cell:{loading:`Ładowanie: {label}`},keyValue:{key:`Klucz`,value:`Wartość`,entry:`Wpis {n}`,add:`Dodaj wpis`,remove:`Usuń wpis {n}`,more:`+{count} więcej`,repeated:`Użyte więcej niż raz: {keys}. Zachowywany jest ostatni.`},repeater:{add:`Dodaj: {label}`,remove:`Usuń: {label} {n}`,row:`{label} {n}`,count:`{count} z maksymalnie {max}`,unavailable:`Nie masz dostępu do tych wierszy.`},relation:{placeholder:`Wpisz, aby wyszukać`,dependsFirst:`Najpierw wybierz: {label}`},upload:{storageKey:`Klucz pliku w magazynie.`,tooLarge:`Plik jest większy niż {size} MB.`,rejected:`Plik {message}`,uploaded:`Przesłano {name} ({size} KB)`,theFile:`plik`,upTo:`maks. {size} MB`,preview:`Podgląd: {label}`,remove:`Usuń: {label}`},richtext:{toolbar:`Formatowanie: {label}`,bold:`Pogrubienie`,italic:`Kursywa`,underline:`Podkreślenie`,strike:`Przekreślenie`,code:`Kod`,heading:`Nagłówek {level}`,bulletList:`Lista punktowana`,orderedList:`Lista numerowana`,blockquote:`Cytat`,codeBlock:`Blok kodu`,horizontalRule:`Separator`,link:`Link`,linkUrl:`Adres linku`,linkRefused:`Użyj linku http(s), mailto lub względnego`,insertTable:`Wstaw tabelę`,addRow:`Dodaj wiersz`,addColumn:`Dodaj kolumnę`,deleteRow:`Usuń wiersz`,deleteColumn:`Usuń kolumnę`,deleteTable:`Usuń tabelę`,image:`Wstaw obraz`,undo:`Cofnij`,redo:`Ponów`,source:`Źródło`,visual:`Wizualny`,sourceOf:`Źródło: {label}`},rules:{maxLength:`Maksymalnie {max} znaków`,minLength:`Co najmniej {min} znaków`,email:`Podaj prawidłowy adres e-mail`,url:`Podaj prawidłowy URL`,greaterThan:`Musi być większe niż {limit}`,greaterThanOrEqual:`Musi wynosić co najmniej {limit}`,lessThan:`Musi być mniejsze niż {limit}`,lessThanOrEqual:`Musi wynosić co najwyżej {limit}`,invalidFormat:`Nieprawidłowy format`,notAllowed:`Niedozwolona wartość`}}},tr:{common:{save:`Kaydet`,cancel:`İptal`,create:`Oluştur`,edit:`Düzenle`,delete:`Sil`,deleteForever:`Kalıcı olarak sil`,restore:`Geri yükle`,close:`Kapat`,apply:`Uygula`,remove:`Kaldır`,search:`Ara`,loading:`Yükleniyor…`,required:`Zorunlu`,none:`—`,yes:`Evet`,no:`Hayır`,download:`İndir`,actions:`Eylemler`,confirm:`Onayla`,serverRejected:`Sunucu isteği reddetti.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Yönetim`,account:`Hesap`,signOut:`Oturumu kapat`,toggleNavigation:`Gezinmeyi aç/kapat`,toggleTheme:`Temayı değiştir`,language:`Dil: {name}`,languageFailed:`Dil kaydedilemedi: {error}`,unsupportedDescriptor:`API, tanımlayıcı sürümü {version} yayımlıyor; bu yönetim paneli sürüm {supported} okuyor. {remedy}`,version:{mismatch:`Bu yönetim paneli {current} sürümünde; kinetis/vector {expected} bekliyor.`,dismiss:`Kapat`,hostedRemedy:`Sunucuda vendor/bin/kinetis vector:install-ui komutunu çalıştırın ve worker’ları yeniden başlatın.`,layeredRemedy:`{package} paketini {version} sürümüne yükseltin ve yeniden derleyin.`,layeredRemedyAny:`Bu kinetis/vector’un beklediği {package} sürümünü yükleyin ve yeniden derleyin.`},nav:{main:`Ana`,dashboard:`Pano`,jobs:`İşler`,settings:`Ayarlar`,pages:`Sayfalar`,badge:`{count} {label}`},page:{unknown:`Bilinmeyen sayfa`,loading:`Sayfa yükleniyor`},impersonation:{actingAs:`Şu anda {name} olarak işlem yapıyorsunuz.`,anotherUser:`başka bir kullanıcı`,stop:`Kimliğine bürünmeyi bitir`,noAccess:`{name} yönetim paneline erişemiyor, bu yüzden onun gözünden görülecek bir şey yok. Kimliğine bürünme sonlandırıldı.`,noToken:`Uygulama belirteç veya yeniden yükleme olmadan yanıt verdi; hiçbir şey değişmedi.`,ended:`Kimliğe bürünme süresi doldu; kendi hesabınıza geri döndünüz.`},palette:{placeholder:`Kayıt ve kaynak ara…`,records:`Kayıtlar`,resources:`Kaynaklar`,noMatch:`Eşleşen kayıt yok`},inbox:{title:`Bildirimler`,markAllRead:`Tümünü okundu işaretle`,empty:`Henüz bir şey yok`},login:{pageTitle:`Oturum aç · {brand}`,subtitle:`Yönetim paneline oturum açın`,email:`E-posta`,password:`Parola`,submit:`Oturum aç`,invalidEmail:`Geçerli bir e-posta adresi girin`,welcome:`Tekrar hoş geldiniz, {name}.`,signedOutIdle:`{minutes} dakika boyunca işlem yapılmadığı için oturumunuz kapatıldı. Kaldığınız yerden devam etmek için yeniden giriş yapın.`,impersonationEnded:`Kimliğe bürünme süresi doldu ve kendi oturumunuz yenilenemedi. Devam etmek için yeniden oturum açın.`},home:{title:`Pano`}},list:{field:`Alan`,search:`{label} içinde ara…`,noSearch:`Aranabilir alan yok`,noGrouping:`Gruplama yok`,groupBy:`Grupla`,groupHeader:`{label}:`,expandGroup:`Grubu genişlet`,collapseGroup:`Grubu daralt`,trash:{label:`Çöp kutusu`,active:`Etkin`,only:`Çöp kutusu`,with:`Etkin ve çöp kutusu`},exportCsv:`CSV dışa aktar`,importCsv:`CSV içe aktar`,exportQueued:`Dışa aktarma büyük olduğu için kuyruğa alındı; hazır olduğunda bildirim alacaksınız.`,exportPrepared:`Dışa aktarma hazırlanıyor; hazır olduğunda bildirim alacaksınız.`,export:`Dışa aktar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Eşleşen bir şey yok`,empty:`Henüz {label} yok`,summary:{sum:`Toplam`,avg:`Ortalama`,min:`En düşük`,max:`En yüksek`,count:`Sayı`},operation:{deleteTitle:`{count} {noun} silinsin mi?`,restoreTitle:`{count} {noun} geri yüklensin mi?`,forceDeleteTitle:`{count} {noun} kalıcı olarak silinsin mi?`,deleteAllTitle:`Eşleşen tüm {noun} silinsin mi?`,restoreAllTitle:`Eşleşen tüm {noun} geri yüklensin mi?`,forceDeleteAllTitle:`Eşleşen tüm {noun} kalıcı olarak silinsin mi?`,toTrash:`Çöp kutusuna taşınırlar ve geri yüklenebilirler.`,irreversible:`Bu işlem geri alınamaz.`,restored:`{count} {noun} geri yüklendi.`,deleted:`{count} {noun} silindi.`},bulk:{allMatching:`Eşleşen tüm kayıtlar: {total}`,allMatchingUncounted:`Eşleşen tüm kayıtlar`,selected:`{count} seçili`,selectAllMatching:`Eşleşen tüm kayıtları seç: {total}`,selectAllMatchingUncounted:`Eşleşen tüm kayıtları seç`,onlyChecked:`Yalnızca işaretli satırlar`,clearSelection:`Seçimi temizle`},bulkEdit:{everyMatching:`eşleşen her {noun} ({count})`,everyMatchingUncounted:`eşleşen her {noun}`,some:`{count} {noun}`,title:`Düzenle: {subject}`,fieldsToChange:`Değiştirilecek alanlar`,fieldsHint:`Yalnızca seçtiğiniz alanlar yazılır; diğer tüm değerler olduğu gibi kalır.`,applyTo:`Uygula ({count})`,applyToAll:`Eşleşen tümüne uygula`,updated:`{count} {noun} güncellendi.`},columns:{title:`Sütunlar`,moveUp:`Yukarı taşı`,moveDown:`Aşağı taşı`,reset:`Sıfırla`},filter:{add:`Filtre ekle`,condition:`Koşul`,value:`Değer`,from:`Başlangıç`,to:`Bitiş`,commaSeparated:`Virgülle ayrılmış`,clear:`Temizle`,yes:`evet`,no:`hayır`,and:`ve`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Herhangi biri`,anyOfGroup:`Herhangi biri, grup {n}`,alternative:`Alternatif {n}`,or:`veya`,orCondition:`veya…`,addAnyOf:`“Herhangi biri” ekle`,addToAlternative:`{n}. alternatife koşul ekle`,removeGroup:`{n}. grubu kaldır`,advanced:`Gelişmiş koşul`,operators:{eq:`eşittir`,ne:`eşit değildir`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`şunlardan biri`,nin:`şunlardan hiçbiri`,like:`içerir`,nlike:`içermez`,between:`arasında`,null:`boş`,nnull:`boş değil`}},views:{menu:`Görünümler`,allRecords:`Tüm kayıtlar`,default:`Varsayılan`,updateWithCurrent:`Görünümü mevcut listeyle güncelle`,delete:`Görünümü sil`,deleteTitle:`“{name}” görünümü silinsin mi?`,saveCurrent:`Mevcut durumu görünüm olarak kaydet…`,saveTitle:`Görünümü kaydet`,updateTitle:`“{name}” görünümünü güncelle`,name:`Ad`,share:`Tüm yöneticilerle paylaş`,openWith:`Bu kaynağı bu görünümle aç`,openWithForEveryone:`Kendi varsayılanı olmayan herkes için bu şekilde aç`,shareFirst:`Herkesin varsayılanı yapmak için görünümü paylaşın.`,everyoneDefault:`Herkes için varsayılan`,saved:`“{name}” görünümü kaydedildi.`},import:{title:`İçe aktar: {label}`,file:`CSV dosyası`,analyse:`Analiz et`,instructions:"{rows} satır. Her sütunu bir alanla eşleyin ya da atlamak için eşlenmemiş bırakın. Bir `manyToMany` sütunu, `{pipe}` ile ayrılmış tanımlayıcılar alır.",csvColumn:`CSV sütunu`,sample:`Örnek`,skip:`— atla —`,start:`{rows} satırı içe aktar`,queued:`{rows} satırın içe aktarımı kuyruğa alındı.`,mode:`Satırlar`,modes:{create:`Yeni kayıtlar oluştur`,update:`Mevcut kayıtları güncelle`,upsert:`Güncelle veya oluştur`},key:`Satırları eşleştirme ölçütü`,noKey:`Önce bir sütunu anahtara veya benzersiz bir alana eşleyin.`,modeHelp:{update:`Her satır, değeri eşleşen kaydı günceller; hiçbir kayıtla eşleşmeyen satır, başarısız satırlar dosyasına gider.`,upsert:`Her satır, değeri eşleşen kaydı günceller ya da eşleşen yoksa yeni bir kayıt oluşturur.`}},pager:{page:`Sayfa {page}`},page:{create:`Yeni {noun}`,unknown:`Bilinmeyen kaynak`,unknownText:`“{slug}” olarak kayıtlı bir şey yok.`},inline:{editLabel:`Düzenle: {label}`,pending:`{count} kaydedilmemiş değişiklik | {count} kaydedilmemiş değişiklik`,save:`Değişiklikleri kaydet`,discard:`Değişiklikleri at`,saved:`Bir kayıt kaydedildi. | {count} kayıt kaydedildi.`,conflict:`Liste yüklendikten sonra bir kayıt değişti. Yeniden yükleyip tekrar düzenleyin.`,leaveTitle:`Kaydedilmemiş {count} değişiklik atılsın mı? | Kaydedilmemiş {count} değişiklik atılsın mı?`,leaveText:`Listeden ayrılırsanız kaydetmediğiniz düzenlemeler kaybolur.`}},record:{unknownResource:`Bilinmeyen kaynak`,new:`Yeni`,newTitle:`Yeni {label}`,editTitle:`Düzenle: {title}`,createNotAllowed:`Bu kaynak burada kayıt oluşturmaya izin vermiyor.`,editNotAllowed:`Bu kaydı düzenleyemezsiniz.`,saved:`{label} kaydedildi.`,duplicate:`Çoğalt`,copyOf:`“{title}” kaydının bir kopyası. Benzersiz olması gereken değerler ve dosyalar boş başlar.`,variants:{menu:`Diğer kaydetme seçenekleri`,saveContinue:`Kaydet ve düzenlemeye devam et`,createContinue:`Oluştur ve düzenlemeye devam et`,createAnother:`Oluştur ve yenisini ekle`},leave:{title:`Değişiklikleriniz atılsın mı?`,text:`Bu sayfadan ayrılırsanız kaydetmediğiniz değişiklikler kaybolur.`,discard:`Değişiklikleri at`},inTrash:`Çöp kutusunda`,deleteTitle:`{noun} “{title}” silinsin mi?`,deleteForeverTitle:`{noun} “{title}” kalıcı olarak silinsin mi?`,deleteSoftText:`Çöp kutusuna taşınır ve geri yüklenebilir.`,deleteHardText:`Bu işlem geri alınamaz.`,trashed:`{label} çöp kutusuna taşındı.`,deleted:`{label} silindi.`,restored:`{label} geri yüklendi.`,impersonate:{action:`Kimliğine bürün`,title:`“{title}” olarak işlem yapılsın mı?`,text:`Onun görebildiklerini görür, yapabildiklerini yaparsınız; her değişiklik onun adına, kimliğine bürünen olarak siz belirtilerek kaydedilir.`,started:`Artık {title} olarak işlem yapıyorsunuz.`},audit:{title:`Geçmiş`,byUser:`kullanıcı: {actor}`,impersonatedBy:`(kimliğine bürünen: {impersonator})`,empty:`Kayıtlı değişiklik yok.`,revert:`Geri al`,revertLabel:`Bu değişikliği geri al`,revertTitle:`Bu değişiklik geri alınsın mı?`,revertText:`Şu alanların önceki değerini geri getirir: {fields}. Geri alma işlemi de geçmişe kaydedilir.`,reverted:`Değişiklik geri alındı.`},panel:{attach:`İlişkilendir`,attachTitle:`İlişkilendir: {label}`,attachCount:`İlişkilendir ({count})`,attached:`{count} {label} ilişkilendirildi.`,records:`kayıt`,record:`kayıt`,empty:`Henüz {label} yok.`,detach:`Ayır`,detachLabel:`Ayır: {title}`,detachTitle:`“{title}” ayrılsın mı?`,detachText:`Bir {target} olarak kalır; yalnızca bu {owner} ile bağlantısı kaldırılır.`,detached:`{title} ayrıldı.`}},actions:{runOn:`{subject} için {action} çalıştırılsın mı?`,subjectAll:`eşleşen her {label} ({count})`,subjectAllUncounted:`eşleşen her {label}`,subjectCount:`{count} {label}`,done:`{label} tamamlandı.`,declined:`Eylem reddedildi.`,redirectRefused:`Eylem, yönetim paneli dışında bir sayfa açmak istedi; sayfa açılmadı.`,downloadStarted:`İndirme başladı.`,queued:`{label} kuyruğa alındı.`},dashboard:{title:`Pano`,range:`Aralık`,loading:`Yükleniyor`,percent:`%{value}`,duration:{minutes:`{value} dk`,hours:`{value} sa`},partition:{empty:`Bu aralıkta veri yok.`},progress:{of:`/ {target}`,label:`İlerleme`},stat:{previous:`önceki: {value}`},table:{empty:`Gösterilecek bir şey yok.`,seeAll:`Tümünü gör`},trend:{total:`Toplam {value}`}},jobs:{title:`İşler`,heading:`Arka plan işleri`,columns:{job:`İş`,resource:`Kaynak`,status:`Durum`,progress:`İlerleme`,started:`Başlangıç`},empty:`Henüz iş yok. Büyük dışa aktarmalar, içe aktarmalar ve kuyruğa alınan eylemler burada görünür.`,kind:{action:`eylem`,export:`dışa aktarma`,import:`içe aktarma`},status:{queued:`kuyrukta`,running:`çalışıyor`,done:`tamamlandı`,failed:`başarısız`,stalled:`takıldı`},detail:{pageTitle:`İş #{id}`,fallbackTitle:`İş`,started:`başlangıç: {date}`,finished:`bitiş: {date}`,progress:`İş ilerlemesi`,processed:`{processed} işlendi`,processedOfTotal:`{processed} / {total} işlendi`,download:`İndir: {file}`,file:`dosya`}},settings:{pageTitle:`Ayarlar`,heading:`Ayarlar`,empty:{title:`Ayar yok`,text:`Bu hesabın yönetebileceği kayıtlı bir şey yok.`},saved:`{label} kaydedildi.`},fields:{cell:{loading:`{label} yükleniyor`},keyValue:{key:`Anahtar`,value:`Değer`,entry:`Girdi {n}`,add:`Girdi ekle`,remove:`{n}. girdiyi kaldır`,more:`+{count} daha`,repeated:`Birden fazla kez kullanıldı: {keys}. Sonuncusu korunur.`},repeater:{add:`{label} ekle`,remove:`{label} {n} kaldır`,row:`{label} {n}`,count:`{count} / en fazla {max}`,unavailable:`Bu satırları göremezsiniz.`},relation:{placeholder:`Aramak için yazın`,dependsFirst:`Önce {label} seçin`},upload:{storageKey:`Dosyanın depolama anahtarı.`,tooLarge:`Dosya {size} MB sınırından büyük.`,rejected:`Dosya: {message}`,uploaded:`{name} yüklendi ({size} KB)`,theFile:`dosya`,upTo:`en fazla {size} MB`,preview:`{label} önizlemesi`,remove:`{label} kaldır`},richtext:{toolbar:`{label} biçimlendirme`,bold:`Kalın`,italic:`İtalik`,underline:`Altı çizili`,strike:`Üstü çizili`,code:`Kod`,heading:`Başlık {level}`,bulletList:`Madde işaretli liste`,orderedList:`Numaralı liste`,blockquote:`Alıntı`,codeBlock:`Kod bloğu`,horizontalRule:`Ayırıcı`,link:`Bağlantı`,linkUrl:`Bağlantı adresi`,linkRefused:`http(s), mailto veya göreli bir bağlantı kullanın`,insertTable:`Tablo ekle`,addRow:`Satır ekle`,addColumn:`Sütun ekle`,deleteRow:`Satırı sil`,deleteColumn:`Sütunu sil`,deleteTable:`Tabloyu sil`,image:`Resim ekle`,undo:`Geri al`,redo:`Yinele`,source:`Kaynak`,visual:`Görsel`,sourceOf:`{label} kaynağı`},rules:{maxLength:`En fazla {max} karakter`,minLength:`En az {min} karakter`,email:`Geçerli bir e-posta adresi girin`,url:`Geçerli bir URL girin`,greaterThan:`{limit} değerinden büyük olmalı`,greaterThanOrEqual:`En az {limit} olmalı`,lessThan:`{limit} değerinden küçük olmalı`,lessThanOrEqual:`En fazla {limit} olmalı`,invalidFormat:`Geçersiz biçim`,notAllowed:`İzin verilen bir değer değil`}}},ru:{common:{save:`Сохранить`,cancel:`Отмена`,create:`Создать`,edit:`Изменить`,delete:`Удалить`,deleteForever:`Удалить навсегда`,restore:`Восстановить`,close:`Закрыть`,apply:`Применить`,remove:`Убрать`,search:`Поиск`,loading:`Загрузка…`,required:`Обязательно`,none:`—`,yes:`Да`,no:`Нет`,download:`Скачать`,actions:`Действия`,confirm:`Подтвердить`,serverRejected:`Сервер отклонил запрос.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Админ-панель`,account:`Учётная запись`,signOut:`Выйти`,toggleNavigation:`Показать или скрыть навигацию`,toggleTheme:`Сменить тему`,language:`Язык: {name}`,languageFailed:`Не удалось сохранить язык: {error}`,unsupportedDescriptor:`API публикует дескриптор версии {version}, а эта панель читает версию {supported}. {remedy}`,version:{mismatch:`Эта панель имеет версию {current}, а kinetis/vector ожидает {expected}.`,dismiss:`Скрыть`,hostedRemedy:`Выполните vendor/bin/kinetis vector:install-ui на сервере и перезапустите воркеры.`,layeredRemedy:`Обновите {package} до {version} и пересоберите.`,layeredRemedyAny:`Установите выпуск {package}, который ожидает этот kinetis/vector, и пересоберите.`},nav:{main:`Главное`,dashboard:`Панель управления`,jobs:`Задачи`,settings:`Настройки`,pages:`Страницы`,badge:`{label}: {count}`},page:{unknown:`Неизвестная страница`,loading:`Загрузка страницы`},impersonation:{actingAs:`Вы действуете от имени {name}.`,anotherUser:`другого пользователя`,stop:`Прекратить действовать от чужого имени`,noAccess:`У {name} нет доступа к админ-панели, поэтому от этого имени нечего показать. Действие от чужого имени прекращено.`,noToken:`Приложение ответило без токена и без перезагрузки, поэтому ничего не изменилось.`,ended:`Срок работы от имени другого пользователя истёк, вы снова в своей учётной записи.`},palette:{placeholder:`Поиск записей и ресурсов…`,records:`Записи`,resources:`Ресурсы`,noMatch:`Нет подходящих записей`},inbox:{title:`Уведомления`,markAllRead:`Отметить все как прочитанные`,empty:`Пока ничего нет`},login:{pageTitle:`Вход · {brand}`,subtitle:`Вход в админ-панель`,email:`Эл. почта`,password:`Пароль`,submit:`Войти`,invalidEmail:`Введите корректный адрес электронной почты`,welcome:`С возвращением, {name}.`,signedOutIdle:`Сеанс завершён после {minutes} минут бездействия. Войдите снова, чтобы продолжить с того же места.`,impersonationEnded:`Срок работы от имени другого пользователя истёк, а ваш собственный сеанс не удалось продлить. Войдите снова, чтобы продолжить.`},home:{title:`Панель управления`}},list:{field:`Поле`,search:`Поиск: {label}…`,noSearch:`Нет полей для поиска`,noGrouping:`Без группировки`,groupBy:`Группировать по`,groupHeader:`{label}:`,expandGroup:`Развернуть группу`,collapseGroup:`Свернуть группу`,trash:{label:`Корзина`,active:`Активные`,only:`Корзина`,with:`Активные и корзина`},exportCsv:`Экспорт в CSV`,importCsv:`Импорт из CSV`,exportQueued:`Экспорт большой и поставлен в очередь; вы получите уведомление, когда он будет готов.`,exportPrepared:`Экспорт готовится; вы получите уведомление, когда он будет готов.`,export:`Экспорт`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Ничего не найдено`,empty:`Пока нет записей ({label})`,summary:{sum:`Сумма`,avg:`Среднее`,min:`Мин.`,max:`Макс.`,count:`Количество`},operation:{deleteTitle:`Удалить {noun} ({count})?`,restoreTitle:`Восстановить {noun} ({count})?`,forceDeleteTitle:`Удалить {noun} ({count}) навсегда?`,deleteAllTitle:`Удалить все подходящие {noun}?`,restoreAllTitle:`Восстановить все подходящие {noun}?`,forceDeleteAllTitle:`Удалить все подходящие {noun} навсегда?`,toTrash:`Записи будут перемещены в корзину и могут быть восстановлены.`,irreversible:`Это действие нельзя отменить.`,restored:`{noun}: восстановлено {count}.`,deleted:`{noun}: удалено {count}.`},bulk:{allMatching:`Все подходящие ({total})`,allMatchingUncounted:`Все подходящие записи`,selected:`Выбрано: {count}`,selectAllMatching:`Выбрать все подходящие ({total})`,selectAllMatchingUncounted:`Выбрать все подходящие записи`,onlyChecked:`Только отмеченные строки`,clearSelection:`Снять выделение`},bulkEdit:{everyMatching:`все подходящие {noun} ({count})`,everyMatchingUncounted:`все подходящие {noun}`,some:`{noun} ({count})`,title:`Изменить: {subject}`,fieldsToChange:`Изменяемые поля`,fieldsHint:`Записываются только выбранные поля; все остальные значения остаются без изменений.`,applyTo:`Применить к {count}`,applyToAll:`Применить ко всем подходящим`,updated:`{noun}: обновлено {count}.`},columns:{title:`Столбцы`,moveUp:`Переместить вверх`,moveDown:`Переместить вниз`,reset:`Сбросить`},filter:{add:`Добавить фильтр`,condition:`Условие`,value:`Значение`,from:`С`,to:`По`,commaSeparated:`Через запятую`,clear:`Очистить`,yes:`да`,no:`нет`,and:`и`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Любое из`,anyOfGroup:`Любое из, группа {n}`,alternative:`Вариант {n}`,or:`или`,orCondition:`или…`,addAnyOf:`Добавить «любое из»`,addToAlternative:`Добавить условие к варианту {n}`,removeGroup:`Удалить группу {n}`,advanced:`Расширенное условие`,operators:{eq:`равно`,ne:`не равно`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`любое из`,nin:`ни одно из`,like:`содержит`,nlike:`не содержит`,between:`между`,null:`пусто`,nnull:`не пусто`}},views:{menu:`Представления`,allRecords:`Все записи`,default:`По умолчанию`,updateWithCurrent:`Обновить представление текущим списком`,delete:`Удалить представление`,deleteTitle:`Удалить представление «{name}»?`,saveCurrent:`Сохранить текущее как представление…`,saveTitle:`Сохранить представление`,updateTitle:`Обновить «{name}»`,name:`Название`,share:`Открыть доступ всем администраторам`,openWith:`Открывать этот ресурс с этим представлением`,openWithForEveryone:`Открывать так для всех, у кого нет собственного представления по умолчанию`,shareFirst:`Откройте общий доступ к представлению, чтобы сделать его представлением по умолчанию для всех.`,everyoneDefault:`По умолчанию для всех`,saved:`Представление «{name}» сохранено.`},import:{title:`Импорт: {label}`,file:`Файл CSV`,analyse:`Анализировать`,instructions:"Строк: {rows}. Сопоставьте каждый столбец с полем или оставьте его несопоставленным, чтобы пропустить. Столбец `manyToMany` принимает идентификаторы, разделённые символом `{pipe}`.",csvColumn:`Столбец CSV`,sample:`Пример`,skip:`— пропустить —`,start:`Импортировать строки: {rows}`,queued:`Импорт строк ({rows}) поставлен в очередь.`,mode:`Строки`,modes:{create:`Создать новые записи`,update:`Обновить существующие записи`,upsert:`Обновить или создать`},key:`Сопоставлять строки по`,noKey:`Сначала сопоставьте столбец с ключом или уникальным полем.`,modeHelp:{update:`Каждая строка обновляет запись с совпадающим значением; строка без совпадений попадает в файл строк с ошибками.`,upsert:`Каждая строка обновляет запись с совпадающим значением или создаёт новую, если совпадений нет.`}},pager:{page:`Страница {page}`},page:{create:`Создать: {noun}`,unknown:`Неизвестный ресурс`,unknownText:`Под именем «{slug}» ничего не зарегистрировано.`},inline:{editLabel:`Изменить: {label}`,pending:`{count} несохранённое изменение | {count} несохранённых изменения | {count} несохранённых изменений`,save:`Сохранить изменения`,discard:`Не сохранять`,saved:`{count} запись сохранена. | {count} записи сохранены. | {count} записей сохранено.`,conflict:`Запись изменилась после загрузки списка. Обновите его и внесите изменения снова.`,leaveTitle:`Отменить {count} несохранённое изменение? | Отменить {count} несохранённых изменения? | Отменить {count} несохранённых изменений?`,leaveText:`Если покинуть список, несохранённые изменения будут потеряны.`}},record:{unknownResource:`Неизвестный ресурс`,new:`Создать`,newTitle:`Новая запись: {label}`,editTitle:`Изменение: {title}`,createNotAllowed:`Этот ресурс не позволяет создавать записи здесь.`,editNotAllowed:`Вам нельзя изменять эту запись.`,saved:`{label}: сохранено.`,duplicate:`Дублировать`,copyOf:`Копия «{title}». Уникальные значения и файлы изначально пусты.`,variants:{menu:`Другие способы сохранения`,saveContinue:`Сохранить и продолжить редактирование`,createContinue:`Создать и продолжить редактирование`,createAnother:`Создать и добавить ещё`},leave:{title:`Отменить изменения?`,text:`Если покинуть эту страницу, несохранённые изменения будут потеряны.`,discard:`Не сохранять`},inTrash:`В корзине`,deleteTitle:`Удалить «{title}» ({noun})?`,deleteForeverTitle:`Удалить навсегда «{title}» ({noun})?`,deleteSoftText:`Запись будет перемещена в корзину и может быть восстановлена.`,deleteHardText:`Это действие нельзя отменить.`,trashed:`{label}: перемещено в корзину.`,deleted:`{label}: удалено.`,restored:`{label}: восстановлено.`,impersonate:{action:`Войти от имени`,title:`Действовать от имени «{title}»?`,text:`Вы видите и делаете то же, что и этот пользователь, а каждое изменение записывается от его имени с указанием вас как действующего от его имени.`,started:`Теперь вы действуете от имени {title}.`},audit:{title:`История`,byUser:`пользователем {actor}`,impersonatedBy:`(от его имени действовал {impersonator})`,empty:`Изменений не зафиксировано.`,revert:`Откатить`,revertLabel:`Откатить это изменение`,revertTitle:`Откатить это изменение?`,revertText:`Возвращает прежнее значение полей: {fields}. Откат также записывается в историю.`,reverted:`Изменение откачено.`},panel:{attach:`Привязать`,attachTitle:`Привязать: {label}`,attachCount:`Привязать ({count})`,attached:`{label}: привязано {count}.`,records:`записи`,record:`запись`,empty:`Пока нет записей ({label}).`,detach:`Отвязать`,detachLabel:`Отвязать {title}`,detachTitle:`Отвязать «{title}»?`,detachText:`Объект «{target}» сохраняется; удаляется только его связь с «{owner}».`,detached:`{title}: отвязано.`}},actions:{runOn:`Выполнить {action}: {subject}?`,subjectAll:`все подходящие {label} ({count})`,subjectAllUncounted:`все подходящие {label}`,subjectCount:`{label} ({count})`,done:`{label}: выполнено.`,declined:`Действие отклонено.`,redirectRefused:`Действие пыталось открыть страницу вне панели; она не открыта.`,downloadStarted:`Загрузка началась.`,queued:`{label}: поставлено в очередь.`},dashboard:{title:`Панель управления`,range:`Период`,loading:`Загрузка`,percent:`{value}%`,duration:{minutes:`{value} мин`,hours:`{value} ч`},partition:{empty:`За этот период ничего нет.`},progress:{of:`из {target}`,label:`Прогресс`},stat:{previous:`против {value} ранее`},table:{empty:`Нечего показать.`,seeAll:`Показать все`},trend:{total:`Всего {value}`}},jobs:{title:`Задачи`,heading:`Фоновые задачи`,columns:{job:`Задача`,resource:`Ресурс`,status:`Статус`,progress:`Прогресс`,started:`Начало`},empty:`Задач пока нет. Здесь появляются крупные экспорты, импорты и действия в очереди.`,kind:{action:`действие`,export:`экспорт`,import:`импорт`},status:{queued:`в очереди`,running:`выполняется`,done:`готово`,failed:`ошибка`,stalled:`зависла`},detail:{pageTitle:`Задача #{id}`,fallbackTitle:`Задача`,started:`начата {date}`,finished:`завершена {date}`,progress:`Ход выполнения задачи`,processed:`Обработано: {processed}`,processedOfTotal:`Обработано {processed} из {total}`,download:`Скачать {file}`,file:`файл`}},settings:{pageTitle:`Настройки`,heading:`Настройки`,empty:{title:`Нет настроек`,text:`Для этой учётной записи нет настроек, которыми можно управлять.`},saved:`{label}: сохранено.`},fields:{cell:{loading:`Загрузка: {label}`},keyValue:{key:`Ключ`,value:`Значение`,entry:`Запись {n}`,add:`Добавить запись`,remove:`Удалить запись {n}`,more:`ещё {count}`,repeated:`Используются более одного раза: {keys}. Сохраняется последнее значение.`},repeater:{add:`Добавить: {label}`,remove:`Удалить: {label} {n}`,row:`{label} {n}`,count:`{count} из максимум {max}`,unavailable:`У вас нет доступа к этим строкам.`},relation:{placeholder:`Введите текст для поиска`,dependsFirst:`Сначала выберите: {label}`},upload:{storageKey:`Ключ файла в хранилище.`,tooLarge:`Размер файла превышает {size} МБ.`,rejected:`Файл: {message}`,uploaded:`Загружено: {name} ({size} КБ)`,theFile:`файл`,upTo:`до {size} МБ`,preview:`Предпросмотр: {label}`,remove:`Удалить: {label}`},richtext:{toolbar:`Форматирование: {label}`,bold:`Полужирный`,italic:`Курсив`,underline:`Подчёркнутый`,strike:`Зачёркнутый`,code:`Код`,heading:`Заголовок {level}`,bulletList:`Маркированный список`,orderedList:`Нумерованный список`,blockquote:`Цитата`,codeBlock:`Блок кода`,horizontalRule:`Разделитель`,link:`Ссылка`,linkUrl:`Адрес ссылки`,linkRefused:`Используйте ссылку http(s), mailto или относительную ссылку`,insertTable:`Вставить таблицу`,addRow:`Добавить строку`,addColumn:`Добавить столбец`,deleteRow:`Удалить строку`,deleteColumn:`Удалить столбец`,deleteTable:`Удалить таблицу`,image:`Вставить изображение`,undo:`Отменить`,redo:`Повторить`,source:`Исходный код`,visual:`Визуальный`,sourceOf:`Исходный код: {label}`},rules:{maxLength:`Максимум символов: {max}`,minLength:`Минимум символов: {min}`,email:`Введите корректный адрес электронной почты`,url:`Введите корректный URL`,greaterThan:`Должно быть больше {limit}`,greaterThanOrEqual:`Должно быть не меньше {limit}`,lessThan:`Должно быть меньше {limit}`,lessThanOrEqual:`Должно быть не больше {limit}`,invalidFormat:`Неверный формат`,notAllowed:`Недопустимое значение`}}},uk:{common:{save:`Зберегти`,cancel:`Скасувати`,create:`Створити`,edit:`Редагувати`,delete:`Видалити`,deleteForever:`Видалити назавжди`,restore:`Відновити`,close:`Закрити`,apply:`Застосувати`,remove:`Прибрати`,search:`Пошук`,loading:`Завантаження…`,required:`Обов’язкове`,none:`—`,yes:`Так`,no:`Ні`,download:`Завантажити`,actions:`Дії`,confirm:`Підтвердити`,serverRejected:`Сервер відхилив запит.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Адмінпанель`,account:`Обліковий запис`,signOut:`Вийти`,toggleNavigation:`Перемкнути навігацію`,toggleTheme:`Перемкнути тему`,language:`Мова: {name}`,languageFailed:`Не вдалося зберегти мову: {error}`,unsupportedDescriptor:`API публікує дескриптор версії {version}, а ця панель читає версію {supported}. {remedy}`,version:{mismatch:`Ця панель має версію {current}, а kinetis/vector очікує {expected}.`,dismiss:`Сховати`,hostedRemedy:`Виконайте vendor/bin/kinetis vector:install-ui на сервері й перезапустіть воркери.`,layeredRemedy:`Оновіть {package} до {version} і перезберіть.`,layeredRemedyAny:`Установіть випуск {package}, який очікує цей kinetis/vector, і перезберіть.`},nav:{main:`Головне`,dashboard:`Панель керування`,jobs:`Завдання`,settings:`Налаштування`,pages:`Сторінки`,badge:`{count} {label}`},page:{unknown:`Невідома сторінка`,loading:`Завантаження сторінки`},impersonation:{actingAs:`Ви дієте від імені {name}.`,anotherUser:`іншого користувача`,stop:`Повернутися до свого облікового запису`,noAccess:`{name} не має доступу до адмінпанелі, тож від цього імені нічого не видно. Дію від імені користувача припинено.`,noToken:`Застосунок відповів без токена й без перезавантаження, тож нічого не змінилося.`,ended:`Термін роботи від імені іншого користувача сплив, ви знову у своєму обліковому записі.`},palette:{placeholder:`Пошук записів і ресурсів…`,records:`Записи`,resources:`Ресурси`,noMatch:`Немає відповідних записів`},inbox:{title:`Сповіщення`,markAllRead:`Позначити все як прочитане`,empty:`Поки що нічого немає`},login:{pageTitle:`Вхід · {brand}`,subtitle:`Увійдіть до адмінпанелі`,email:`Електронна пошта`,password:`Пароль`,submit:`Увійти`,invalidEmail:`Введіть дійсну адресу електронної пошти`,welcome:`З поверненням, {name}.`,signedOutIdle:`Сеанс завершено після {minutes} хвилин бездіяльності. Увійдіть знову, щоб продовжити з того самого місця.`,impersonationEnded:`Термін роботи від імені іншого користувача сплив, а ваш власний сеанс не вдалося продовжити. Увійдіть знову, щоб продовжити.`},home:{title:`Панель керування`}},list:{field:`Поле`,search:`Пошук: {label}…`,noSearch:`Немає полів для пошуку`,noGrouping:`Без групування`,groupBy:`Групувати за`,groupHeader:`{label}:`,expandGroup:`Розгорнути групу`,collapseGroup:`Згорнути групу`,trash:{label:`Кошик`,active:`Активні`,only:`Кошик`,with:`Активні й кошик`},exportCsv:`Експорт CSV`,importCsv:`Імпорт CSV`,exportQueued:`Експорт великий, тому його додано до черги; ви отримаєте сповіщення, коли він буде готовий.`,exportPrepared:`Експорт готується; ви отримаєте сповіщення, коли він буде готовий.`,export:`Експорт`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Нічого не знайдено`,empty:`Поки що немає записів: {label}`,summary:{sum:`Сума`,avg:`Середнє`,min:`Мін.`,max:`Макс.`,count:`Кількість`},operation:{deleteTitle:`Видалити {noun} ({count})?`,restoreTitle:`Відновити {noun} ({count})?`,forceDeleteTitle:`Видалити {noun} ({count}) назавжди?`,deleteAllTitle:`Видалити всі відповідні {noun}?`,restoreAllTitle:`Відновити всі відповідні {noun}?`,forceDeleteAllTitle:`Видалити всі відповідні {noun} назавжди?`,toTrash:`Їх буде переміщено до кошика, звідки їх можна відновити.`,irreversible:`Цю дію неможливо скасувати.`,restored:`{noun}: відновлено {count}.`,deleted:`{noun}: видалено {count}.`},bulk:{allMatching:`Усі відповідні: {total}`,allMatchingUncounted:`Усі відповідні записи`,selected:`Вибрано: {count}`,selectAllMatching:`Вибрати всі відповідні ({total})`,selectAllMatchingUncounted:`Вибрати всі відповідні записи`,onlyChecked:`Лише позначені рядки`,clearSelection:`Скасувати вибір`},bulkEdit:{everyMatching:`усі відповідні {noun} ({count})`,everyMatchingUncounted:`усі відповідні {noun}`,some:`{noun} ({count})`,title:`Редагувати {subject}`,fieldsToChange:`Поля для зміни`,fieldsHint:`Записуються лише вибрані поля; усі інші значення залишаються без змін.`,applyTo:`Застосувати до {count}`,applyToAll:`Застосувати до всіх відповідних`,updated:`{noun}: оновлено {count}.`},columns:{title:`Стовпці`,moveUp:`Перемістити вгору`,moveDown:`Перемістити вниз`,reset:`Скинути`},filter:{add:`Додати фільтр`,condition:`Умова`,value:`Значення`,from:`Від`,to:`До`,commaSeparated:`Через кому`,clear:`Очистити`,yes:`так`,no:`ні`,and:`і`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Будь-яка з`,anyOfGroup:`Будь-яка з, група {n}`,alternative:`Варіант {n}`,or:`або`,orCondition:`або…`,addAnyOf:`Додати «будь-яка з»`,addToAlternative:`Додати умову до варіанта {n}`,removeGroup:`Видалити групу {n}`,advanced:`Розширена умова`,operators:{eq:`дорівнює`,ne:`не дорівнює`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`є одним із`,nin:`не є жодним із`,like:`містить`,nlike:`не містить`,between:`у межах`,null:`порожнє`,nnull:`не порожнє`}},views:{menu:`Подання`,allRecords:`Усі записи`,default:`Типове`,updateWithCurrent:`Оновити подання поточним списком`,delete:`Видалити подання`,deleteTitle:`Видалити подання «{name}»?`,saveCurrent:`Зберегти поточне як подання…`,saveTitle:`Зберегти подання`,updateTitle:`Оновити «{name}»`,name:`Назва`,share:`Поділитися з усіма адміністраторами`,openWith:`Відкривати цей ресурс із цим поданням`,openWithForEveryone:`Відкривати так для всіх, хто не має власного типового подання`,shareFirst:`Поділіться поданням, щоб зробити його типовим для всіх.`,everyoneDefault:`Типове для всіх`,saved:`Подання «{name}» збережено.`},import:{title:`Імпорт: {label}`,file:`Файл CSV`,analyse:`Проаналізувати`,instructions:"Рядків: {rows}. Зіставте кожен стовпець із полем або залиште його без зіставлення, щоб пропустити. Стовпець `manyToMany` приймає ідентифікатори, розділені символом `{pipe}`.",csvColumn:`Стовпець CSV`,sample:`Приклад`,skip:`— пропустити —`,start:`Імпортувати рядки: {rows}`,queued:`Імпорт рядків ({rows}) додано до черги.`,mode:`Рядки`,modes:{create:`Створювати нові записи`,update:`Оновлювати наявні записи`,upsert:`Оновлювати або створювати`},key:`Зіставляти рядки за`,noKey:`Спершу зіставте стовпець із ключем або унікальним полем.`,modeHelp:{update:`Кожен рядок оновлює запис із відповідним значенням; рядок без відповідника потрапляє до файлу з невдалими рядками.`,upsert:`Кожен рядок оновлює запис із відповідним значенням або створює новий, якщо такого немає.`}},pager:{page:`Сторінка {page}`},page:{create:`Створити: {noun}`,unknown:`Невідомий ресурс`,unknownText:`Під назвою «{slug}» нічого не зареєстровано.`},inline:{editLabel:`Редагувати {label}`,pending:`{count} незбережена зміна | {count} незбережені зміни | {count} незбережених змін`,save:`Зберегти зміни`,discard:`Відкинути`,saved:`{count} запис збережено. | {count} записи збережено. | {count} записів збережено.`,conflict:`Запис змінився після завантаження списку. Перезавантажте його й відредагуйте знову.`,leaveTitle:`Відкинути {count} незбережену зміну? | Відкинути {count} незбережені зміни? | Відкинути {count} незбережених змін?`,leaveText:`Якщо залишити список, незбережені зміни буде втрачено.`}},record:{unknownResource:`Невідомий ресурс`,new:`Новий`,newTitle:`Новий запис: {label}`,editTitle:`Редагування: {title}`,createNotAllowed:`Цей ресурс не дозволяє створювати записи тут.`,editNotAllowed:`Ви не можете редагувати цей запис.`,saved:`{label}: збережено.`,duplicate:`Дублювати`,copyOf:`Копія «{title}». Значення, які мають бути унікальними, і файли спочатку порожні.`,variants:{menu:`Інші способи збереження`,saveContinue:`Зберегти й продовжити редагування`,createContinue:`Створити й продовжити редагування`,createAnother:`Створити й додати ще`},leave:{title:`Відкинути зміни?`,text:`Якщо залишити цю сторінку, незбережені зміни буде втрачено.`,discard:`Відкинути`},inTrash:`У кошику`,deleteTitle:`Видалити {noun} «{title}»?`,deleteForeverTitle:`Видалити назавжди {noun} «{title}»?`,deleteSoftText:`Запис буде переміщено до кошика, звідки його можна відновити.`,deleteHardText:`Цю дію неможливо скасувати.`,trashed:`{label}: переміщено до кошика.`,deleted:`{label}: видалено.`,restored:`{label}: відновлено.`,impersonate:{action:`Увійти від імені`,title:`Діяти від імені «{title}»?`,text:`Ви бачите й робите те саме, що й цей користувач, а кожна зміна записується на нього із зазначенням вас як того, хто діяв від його імені.`,started:`Тепер ви дієте від імені {title}.`},audit:{title:`Історія`,byUser:`користувачем {actor}`,impersonatedBy:`(від його імені діяв {impersonator})`,empty:`Змін не зафіксовано.`,revert:`Відкотити`,revertLabel:`Відкотити цю зміну`,revertTitle:`Відкотити цю зміну?`,revertText:`Повертає попереднє значення: {fields}. Відкат також записується в історію.`,reverted:`Зміну відкочено.`},panel:{attach:`Прикріпити`,attachTitle:`Прикріпити: {label}`,attachCount:`Прикріпити ({count})`,attached:`Прикріплено: {count} {label}.`,records:`записи`,record:`запис`,empty:`Поки що немає записів: {label}.`,detach:`Від’єднати`,detachLabel:`Від’єднати {title}`,detachTitle:`Від’єднати «{title}»?`,detachText:`Сам запис ({target}) залишається; вилучається лише його зв’язок із цим записом ({owner}).`,detached:`{title}: від’єднано.`}},actions:{runOn:`Виконати {action} для {subject}?`,subjectAll:`усіх відповідних записів ({label}: {count})`,subjectAllUncounted:`усіх відповідних записів ({label})`,subjectCount:`{count} {label}`,done:`{label}: виконано.`,declined:`Дію відхилено.`,redirectRefused:`Дія намагалася відкрити сторінку поза панеллю; її не відкрито.`,downloadStarted:`Завантаження розпочато.`,queued:`{label}: додано до черги.`},dashboard:{title:`Панель керування`,range:`Період`,loading:`Завантаження`,percent:`{value}%`,duration:{minutes:`{value} хв`,hours:`{value} год`},partition:{empty:`За цей період нічого немає.`},progress:{of:`з {target}`,label:`Прогрес`},stat:{previous:`проти {value} раніше`},table:{empty:`Немає даних для показу.`,seeAll:`Переглянути все`},trend:{total:`Усього {value}`}},jobs:{title:`Завдання`,heading:`Фонові завдання`,columns:{job:`Завдання`,resource:`Ресурс`,status:`Статус`,progress:`Прогрес`,started:`Розпочато`},empty:`Завдань ще немає. Тут з’являються великі експорти, імпорти й дії в черзі.`,kind:{action:`дія`,export:`експорт`,import:`імпорт`},status:{queued:`у черзі`,running:`виконується`,done:`виконано`,failed:`помилка`,stalled:`зависло`},detail:{pageTitle:`Завдання #{id}`,fallbackTitle:`Завдання`,started:`розпочато {date}`,finished:`завершено {date}`,progress:`Прогрес завдання`,processed:`Оброблено: {processed}`,processedOfTotal:`Оброблено {processed} з {total}`,download:`Завантажити {file}`,file:`файл`}},settings:{pageTitle:`Налаштування`,heading:`Налаштування`,empty:{title:`Немає налаштувань`,text:`Для цього облікового запису немає налаштувань, якими можна керувати.`},saved:`{label}: збережено.`},fields:{cell:{loading:`Завантаження: {label}`},keyValue:{key:`Ключ`,value:`Значення`,entry:`Запис {n}`,add:`Додати запис`,remove:`Видалити запис {n}`,more:`ще +{count}`,repeated:`Використано більше одного разу: {keys}. Зберігається останнє.`},repeater:{add:`Додати {label}`,remove:`Видалити {label} {n}`,row:`{label} {n}`,count:`{count} з {max} можливих`,unavailable:`Ви не можете переглядати ці рядки.`},relation:{placeholder:`Почніть вводити для пошуку`,dependsFirst:`Спершу виберіть {label}`},upload:{storageKey:`Ключ файлу у сховищі.`,tooLarge:`Файл більший за {size} МБ.`,rejected:`Файл {message}`,uploaded:`Завантажено {name} ({size} КБ)`,theFile:`файл`,upTo:`до {size} МБ`,preview:`Попередній перегляд: {label}`,remove:`Видалити {label}`},richtext:{toolbar:`Форматування: {label}`,bold:`Жирний`,italic:`Курсив`,underline:`Підкреслений`,strike:`Закреслений`,code:`Код`,heading:`Заголовок {level}`,bulletList:`Маркований список`,orderedList:`Нумерований список`,blockquote:`Цитата`,codeBlock:`Блок коду`,horizontalRule:`Роздільник`,link:`Посилання`,linkUrl:`Адреса посилання`,linkRefused:`Використовуйте посилання http(s), mailto або відносне`,insertTable:`Вставити таблицю`,addRow:`Додати рядок`,addColumn:`Додати стовпець`,deleteRow:`Видалити рядок`,deleteColumn:`Видалити стовпець`,deleteTable:`Видалити таблицю`,image:`Вставити зображення`,undo:`Скасувати`,redo:`Повторити`,source:`Вихідний код`,visual:`Візуальний`,sourceOf:`Вихідний код: {label}`},rules:{maxLength:`Максимум символів: {max}`,minLength:`Мінімум символів: {min}`,email:`Введіть дійсну адресу електронної пошти`,url:`Введіть дійсну URL-адресу`,greaterThan:`Має бути більше за {limit}`,greaterThanOrEqual:`Має бути не менше {limit}`,lessThan:`Має бути менше за {limit}`,lessThanOrEqual:`Має бути не більше {limit}`,invalidFormat:`Неправильний формат`,notAllowed:`Недопустиме значення`}}},he:{common:{save:`שמירה`,cancel:`ביטול`,create:`יצירה`,edit:`עריכה`,delete:`מחיקה`,deleteForever:`מחיקה לצמיתות`,restore:`שחזור`,close:`סגירה`,apply:`החלה`,remove:`הסרה`,search:`חיפוש`,loading:`טוען…`,required:`שדה חובה`,none:`—`,yes:`כן`,no:`לא`,download:`הורדה`,actions:`פעולות`,confirm:`אישור`,serverRejected:`השרת דחה את הבקשה.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`ניהול`,account:`חשבון`,signOut:`התנתקות`,toggleNavigation:`הצגה או הסתרה של הניווט`,toggleTheme:`החלפת ערכת נושא`,language:`שפה: {name}`,languageFailed:`לא ניתן לשמור את השפה: {error}`,unsupportedDescriptor:`ה-API מפרסם את גרסה {version} של המתאר; ממשק הניהול הזה קורא את גרסה {supported}. {remedy}`,version:{mismatch:`ממשק הניהול הזה הוא בגרסה {current}; kinetis/vector מצפה לגרסה {expected}.`,dismiss:`סגירה`,hostedRemedy:`הריצו vendor/bin/kinetis vector:install-ui בשרת והפעילו מחדש את ה-workers.`,layeredRemedy:`שדרגו את {package} לגרסה {version} ובנו מחדש.`,layeredRemedyAny:`התקינו את גרסת {package} ש-kinetis/vector הזה מצפה לה ובנו מחדש.`},nav:{main:`ראשי`,dashboard:`לוח בקרה`,jobs:`משימות`,settings:`הגדרות`,pages:`דפים`,badge:`{count} {label}`},page:{unknown:`דף לא מוכר`,loading:`טוען את הדף`},impersonation:{actingAs:`הפעולות שלך מתבצעות כעת בשם {name}.`,anotherUser:`משתמש אחר`,stop:`הפסקת ההתחזות`,noAccess:`ל־{name} אין גישה לממשק הניהול, כך שאין מה להציג בשם משתמש זה. ההתחזות הופסקה.`,noToken:`האפליקציה השיבה בלי אסימון ובלי טעינה מחדש, ולכן דבר לא השתנה.`,ended:`תוקף ההתחזות פג, ולכן חזרת לחשבון שלך.`},palette:{placeholder:`חיפוש רשומות ומשאבים…`,records:`רשומות`,resources:`משאבים`,noMatch:`אין רשומות תואמות`},inbox:{title:`התראות`,markAllRead:`סימון הכול כנקרא`,empty:`אין עדיין התראות`},login:{pageTitle:`התחברות · {brand}`,subtitle:`התחברות לממשק הניהול`,email:`דוא״ל`,password:`סיסמה`,submit:`התחברות`,invalidEmail:`יש להזין כתובת דוא״ל תקינה`,welcome:`שמחים לראות אותך שוב, {name}.`,signedOutIdle:`יצאת מהמערכת לאחר {minutes} דקות ללא פעילות. יש להיכנס שוב כדי להמשיך מאותו מקום.`,impersonationEnded:`תוקף ההתחזות פג ולא ניתן היה לחדש את ההפעלה שלך. התחבר מחדש כדי להמשיך.`},home:{title:`לוח בקרה`}},list:{field:`שדה`,search:`חיפוש {label}…`,noSearch:`אין שדות לחיפוש`,noGrouping:`ללא קיבוץ`,groupBy:`קיבוץ לפי`,groupHeader:`{label}:`,expandGroup:`הרחבת הקבוצה`,collapseGroup:`כיווץ הקבוצה`,trash:{label:`סל מחזור`,active:`פעילות`,only:`סל מחזור`,with:`פעילות וסל מחזור`},exportCsv:`ייצוא CSV`,importCsv:`ייבוא CSV`,exportQueued:`הייצוא גדול ולכן נוסף לתור; תישלח התראה כשיהיה מוכן.`,exportPrepared:`הייצוא בהכנה; תישלח התראה כשיהיה מוכן.`,export:`ייצוא`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`אין תוצאות תואמות`,empty:`אין עדיין {label}`,summary:{sum:`סכום`,avg:`ממוצע`,min:`מינימום`,max:`מקסימום`,count:`ספירה`},operation:{deleteTitle:`למחוק {count} {noun}?`,restoreTitle:`לשחזר {count} {noun}?`,forceDeleteTitle:`למחוק לצמיתות {count} {noun}?`,deleteAllTitle:`למחוק את כל הרשומות התואמות מסוג {noun}?`,restoreAllTitle:`לשחזר את כל הרשומות התואמות מסוג {noun}?`,forceDeleteAllTitle:`למחוק לצמיתות את כל הרשומות התואמות מסוג {noun}?`,toTrash:`הרשומות יועברו לסל המחזור וניתן יהיה לשחזר אותן.`,irreversible:`לא ניתן לבטל פעולה זו.`,restored:`שוחזרו: {count} {noun}.`,deleted:`נמחקו: {count} {noun}.`},bulk:{allMatching:`כל {total} הרשומות התואמות`,allMatchingUncounted:`כל הרשומות התואמות`,selected:`{count} נבחרו`,selectAllMatching:`בחירת כל {total} הרשומות התואמות`,selectAllMatchingUncounted:`בחירת כל הרשומות התואמות`,onlyChecked:`רק השורות המסומנות`,clearSelection:`ניקוי הבחירה`},bulkEdit:{everyMatching:`כל הרשומות התואמות מסוג {noun} ({count})`,everyMatchingUncounted:`כל הרשומות התואמות מסוג {noun}`,some:`{count} {noun}`,title:`עריכת {subject}`,fieldsToChange:`שדות לשינוי`,fieldsHint:`ייכתבו רק השדות שנבחרו; כל שאר הערכים יישארו כפי שהם.`,applyTo:`החלה על {count}`,applyToAll:`החלה על כל הרשומות התואמות`,updated:`עודכנו: {count} {noun}.`},columns:{title:`עמודות`,moveUp:`הזזה למעלה`,moveDown:`הזזה למטה`,reset:`איפוס`},filter:{add:`הוספת מסנן`,condition:`תנאי`,value:`ערך`,from:`מ־`,to:`עד`,commaSeparated:`מופרד בפסיקים`,clear:`ניקוי`,yes:`כן`,no:`לא`,and:`וגם`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`אחד מאלה`,anyOfGroup:`אחד מאלה, קבוצה {n}`,alternative:`חלופה {n}`,or:`או`,orCondition:`או…`,addAnyOf:`הוספת "אחד מאלה"`,addToAlternative:`הוספת תנאי לחלופה {n}`,removeGroup:`הסרת קבוצה {n}`,advanced:`תנאי מתקדם`,operators:{eq:`הוא`,ne:`אינו`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`הוא אחד מתוך`,nin:`אינו אף אחד מתוך`,like:`מכיל`,nlike:`אינו מכיל`,between:`בין`,null:`ריק`,nnull:`אינו ריק`}},views:{menu:`תצוגות`,allRecords:`כל הרשומות`,default:`ברירת מחדל`,updateWithCurrent:`עדכון התצוגה לפי הרשימה הנוכחית`,delete:`מחיקת התצוגה`,deleteTitle:`למחוק את התצוגה "{name}"?`,saveCurrent:`שמירת הרשימה הנוכחית כתצוגה…`,saveTitle:`שמירת תצוגה`,updateTitle:`עדכון "{name}"`,name:`שם`,share:`שיתוף עם כל מנהלי המערכת`,openWith:`פתיחת משאב זה בתצוגה זו`,openWithForEveryone:`פתיחה בתצוגה זו לכל מי שלא הגדיר ברירת מחדל משלו`,shareFirst:`יש לשתף את התצוגה כדי להגדיר אותה כברירת מחדל לכולם.`,everyoneDefault:`ברירת מחדל לכולם`,saved:`התצוגה "{name}" נשמרה.`},import:{title:`ייבוא {label}`,file:`קובץ CSV`,analyse:`ניתוח`,instructions:"{rows} שורות. יש למפות כל עמודה לשדה, או להשאיר אותה ללא מיפוי כדי לדלג עליה. עמודת `manyToMany` מקבלת מזהים המופרדים ב־`{pipe}`.",csvColumn:`עמודת CSV`,sample:`דוגמה`,skip:`— דילוג —`,start:`ייבוא {rows} שורות`,queued:`ייבוא של {rows} שורות נוסף לתור.`,mode:`שורות`,modes:{create:`יצירת רשומות חדשות`,update:`עדכון רשומות קיימות`,upsert:`עדכון או יצירה`},key:`התאמת שורות לפי`,noKey:`יש קודם למפות עמודה למפתח או לשדה ייחודי.`,modeHelp:{update:`כל שורה מעדכנת את הרשומה שהערך שלה תואם; שורה שאינה תואמת אף רשומה עוברת לקובץ השורות שנכשלו.`,upsert:`כל שורה מעדכנת את הרשומה שהערך שלה תואם, או יוצרת רשומה חדשה כשאין התאמה.`}},pager:{page:`עמוד {page}`},page:{create:`יצירת {noun}`,unknown:`משאב לא מוכר`,unknownText:`לא רשום דבר בשם "{slug}".`},inline:{editLabel:`עריכת {label}`,pending:`שינוי אחד שלא נשמר | שני שינויים שלא נשמרו | {count} שינויים שלא נשמרו`,save:`שמירת השינויים`,discard:`ביטול השינויים`,saved:`רשומה אחת נשמרה. | שתי רשומות נשמרו. | {count} רשומות נשמרו.`,conflict:`רשומה השתנתה מאז שהרשימה נטענה. יש לטעון אותה מחדש ולערוך שוב.`,leaveTitle:`לבטל שינוי אחד שלא נשמר? | לבטל שני שינויים שלא נשמרו? | לבטל {count} שינויים שלא נשמרו?`,leaveText:`יציאה מהרשימה תבטל את העריכות שלא נשמרו.`}},record:{unknownResource:`משאב לא מוכר`,new:`חדש`,newTitle:`יצירת {label}`,editTitle:`עריכת {title}`,createNotAllowed:`משאב זה אינו מאפשר ליצור כאן רשומות.`,editNotAllowed:`אין לך הרשאה לערוך רשומה זו.`,saved:`הרשומה מסוג {label} נשמרה.`,duplicate:`שכפול`,copyOf:`עותק של "{title}". ערכים שחייבים להיות ייחודיים, וכן קבצים, מתחילים ריקים.`,variants:{menu:`אפשרויות שמירה נוספות`,saveContinue:`שמירה והמשך עריכה`,createContinue:`יצירה והמשך עריכה`,createAnother:`יצירה והוספת רשומה נוספת`},leave:{title:`לבטל את השינויים?`,text:`יציאה מדף זה תבטל את השינויים שלא נשמרו.`,discard:`ביטול השינויים`},inTrash:`בסל המחזור`,deleteTitle:`למחוק את "{title}" ({noun})?`,deleteForeverTitle:`למחוק לצמיתות את "{title}" ({noun})?`,deleteSoftText:`הרשומה תועבר לסל המחזור וניתן יהיה לשחזר אותה.`,deleteHardText:`לא ניתן לבטל פעולה זו.`,trashed:`הרשומה מסוג {label} הועברה לסל המחזור.`,deleted:`הרשומה מסוג {label} נמחקה.`,restored:`הרשומה מסוג {label} שוחזרה.`,impersonate:{action:`התחזות`,title:`לפעול בשם "{title}"?`,text:`ניתן לראות ולעשות כל מה שמשתמש זה יכול, וכל שינוי יתועד בשמו, בציון שמך כמתחזה.`,started:`הפעולות שלך מתבצעות כעת בשם {title}.`},audit:{title:`היסטוריה`,byUser:`על ידי המשתמש {actor}`,impersonatedBy:`(בהתחזות על ידי {impersonator})`,empty:`אין שינויים מתועדים.`,revert:`החזרה`,revertLabel:`החזרת שינוי זה`,revertTitle:`להחזיר את השינוי?`,revertText:`מחזיר את הערך הקודם של {fields}. גם ההחזרה מתועדת בהיסטוריה.`,reverted:`השינוי הוחזר.`},panel:{attach:`צירוף`,attachTitle:`צירוף {label}`,attachCount:`צירוף {count}`,attached:`צורפו: {count} {label}.`,records:`רשומות`,record:`רשומה`,empty:`אין עדיין {label}.`,detach:`ניתוק`,detachLabel:`ניתוק {title}`,detachTitle:`לנתק את "{title}"?`,detachText:`הרשומה ({target}) נשארת; מוסר רק הקישור שלה לרשומה הנוכחית מסוג {owner}.`,detached:`הקישור אל {title} הוסר.`}},actions:{runOn:`להריץ את {action} על {subject}?`,subjectAll:`כל הרשומות התואמות מסוג {label} ({count})`,subjectAllUncounted:`כל הרשומות התואמות מסוג {label}`,subjectCount:`{count} {label}`,done:`הפעולה "{label}" הושלמה.`,declined:`הפעולה נדחתה.`,redirectRefused:`הפעולה ביקשה לפתוח דף מחוץ לממשק הניהול, והוא לא נפתח.`,downloadStarted:`ההורדה החלה.`,queued:`הפעולה "{label}" נוספה לתור.`},dashboard:{title:`לוח בקרה`,range:`טווח`,loading:`טוען`,percent:`{value}%`,duration:{minutes:`{value} דק׳`,hours:`{value} שע׳`},partition:{empty:`אין נתונים בטווח זה.`},progress:{of:`מתוך {target}`,label:`התקדמות`},stat:{previous:`לעומת {value} קודם לכן`},table:{empty:`אין מה להציג.`,seeAll:`הצגת הכול`},trend:{total:`סה״כ {value}`}},jobs:{title:`משימות`,heading:`משימות רקע`,columns:{job:`משימה`,resource:`משאב`,status:`סטטוס`,progress:`התקדמות`,started:`התחלה`},empty:`אין עדיין משימות. ייצואים וייבואים גדולים ופעולות שנוספו לתור מופיעים כאן.`,kind:{action:`פעולה`,export:`ייצוא`,import:`ייבוא`},status:{queued:`בתור`,running:`בריצה`,done:`הושלמה`,failed:`נכשלה`,stalled:`תקועה`},detail:{pageTitle:`משימה #{id}`,fallbackTitle:`משימה`,started:`החלה: {date}`,finished:`הסתיימה: {date}`,progress:`התקדמות המשימה`,processed:`{processed} עובדו`,processedOfTotal:`{processed} מתוך {total} עובדו`,download:`הורדת {file}`,file:`קובץ`}},settings:{pageTitle:`הגדרות`,heading:`הגדרות`,empty:{title:`אין הגדרות`,text:`לא רשומות הגדרות שחשבון זה יכול לנהל.`},saved:`הגדרות {label} נשמרו.`},fields:{cell:{loading:`טוען את {label}`},keyValue:{key:`מפתח`,value:`ערך`,entry:`פריט {n}`,add:`הוספת פריט`,remove:`הסרת פריט {n}`,more:`+{count} נוספים`,repeated:`בשימוש יותר מפעם אחת: {keys}. נשמר האחרון.`},repeater:{add:`הוספת {label}`,remove:`הסרת {label} {n}`,row:`{label} {n}`,count:`{count} מתוך {max} לכל היותר`,unavailable:`אין לך הרשאה לראות שורות אלה.`},relation:{placeholder:`יש להקליד כדי לחפש`,dependsFirst:`יש לבחור קודם {label}`},upload:{storageKey:`מפתח האחסון של הקובץ.`,tooLarge:`הקובץ גדול מ־{size} MB.`,rejected:`הקובץ {message}`,uploaded:`הקובץ {name} הועלה ({size} KB)`,theFile:`הקובץ`,upTo:`עד {size} MB`,preview:`תצוגה מקדימה של {label}`,remove:`הסרת {label}`},richtext:{toolbar:`עיצוב {label}`,bold:`מודגש`,italic:`נטוי`,underline:`קו תחתון`,strike:`קו חוצה`,code:`קוד`,heading:`כותרת {level}`,bulletList:`רשימת תבליטים`,orderedList:`רשימה ממוספרת`,blockquote:`ציטוט`,codeBlock:`בלוק קוד`,horizontalRule:`קו מפריד`,link:`קישור`,linkUrl:`כתובת הקישור`,linkRefused:`יש להשתמש בקישור מסוג http(s), mailto או בקישור יחסי`,insertTable:`הוספת טבלה`,addRow:`הוספת שורה`,addColumn:`הוספת עמודה`,deleteRow:`מחיקת שורה`,deleteColumn:`מחיקת עמודה`,deleteTable:`מחיקת טבלה`,image:`הוספת תמונה`,undo:`ביטול פעולה`,redo:`ביצוע מחדש`,source:`קוד מקור`,visual:`חזותי`,sourceOf:`קוד המקור של {label}`},rules:{maxLength:`עד {max} תווים`,minLength:`לפחות {min} תווים`,email:`יש להזין כתובת דוא״ל תקינה`,url:`יש להזין URL תקין`,greaterThan:`הערך חייב להיות גדול מ־{limit}`,greaterThanOrEqual:`הערך חייב להיות לפחות {limit}`,lessThan:`הערך חייב להיות קטן מ־{limit}`,lessThanOrEqual:`הערך חייב להיות לכל היותר {limit}`,invalidFormat:`תבנית לא תקינה`,notAllowed:`ערך לא מותר`}}},ar:{common:{save:`حفظ`,cancel:`إلغاء`,create:`إنشاء`,edit:`تعديل`,delete:`حذف`,deleteForever:`حذف نهائي`,restore:`استعادة`,close:`إغلاق`,apply:`تطبيق`,remove:`إزالة`,search:`بحث`,loading:`جارٍ التحميل…`,required:`مطلوب`,none:`—`,yes:`نعم`,no:`لا`,download:`تنزيل`,actions:`الإجراءات`,confirm:`تأكيد`,serverRejected:`رفض الخادم الطلب.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`الإدارة`,account:`الحساب`,signOut:`تسجيل الخروج`,toggleNavigation:`إظهار التنقل أو إخفاؤه`,toggleTheme:`تبديل السمة`,language:`اللغة: {name}`,languageFailed:`تعذّر حفظ اللغة: {error}`,unsupportedDescriptor:`تنشر الواجهة البرمجية الإصدار {version} من الواصف، وهذه الإدارة تقرأ الإصدار {supported}. {remedy}`,version:{mismatch:`إصدار واجهة الإدارة هذه {current}، بينما يتوقع kinetis/vector الإصدار {expected}.`,dismiss:`إخفاء`,hostedRemedy:`شغّل vendor/bin/kinetis vector:install-ui على الخادم، ثم أعد تشغيل العمّال.`,layeredRemedy:`رقِّ {package} إلى الإصدار {version} وأعد البناء.`,layeredRemedyAny:`ثبّت إصدار {package} الذي يتوقعه kinetis/vector هذا وأعد البناء.`},nav:{main:`الرئيسية`,dashboard:`لوحة المعلومات`,jobs:`المهام`,settings:`الإعدادات`,pages:`الصفحات`,badge:`{count} {label}`},page:{unknown:`صفحة غير معروفة`,loading:`جارٍ تحميل الصفحة`},impersonation:{actingAs:`أنت تتصرف باسم {name}.`,anotherUser:`مستخدم آخر`,stop:`إنهاء التصرف باسم مستخدم آخر`,noAccess:`ليس لدى {name} صلاحية الوصول إلى لوحة الإدارة، لذا لا يوجد ما يمكن رؤيته باسمه. تم إنهاء التصرف باسمه.`,noToken:`استجاب التطبيق دون رمز مميز أو إعادة تحميل، لذا لم يتغير شيء.`,ended:`انتهت مدة انتحال الهوية، فعدت إلى حسابك الخاص.`},palette:{placeholder:`البحث في السجلات والموارد…`,records:`السجلات`,resources:`الموارد`,noMatch:`لا توجد سجلات مطابقة`},inbox:{title:`الإشعارات`,markAllRead:`تعليم الكل كمقروء`,empty:`لا شيء بعد`},login:{pageTitle:`تسجيل الدخول · {brand}`,subtitle:`تسجيل الدخول إلى لوحة الإدارة`,email:`البريد الإلكتروني`,password:`كلمة المرور`,submit:`تسجيل الدخول`,invalidEmail:`يُرجى إدخال عنوان بريد إلكتروني صالح`,welcome:`مرحبًا بعودتك، {name}.`,signedOutIdle:`تم تسجيل خروجك بعد {minutes} دقيقة من عدم النشاط. سجّل الدخول مجددًا للمتابعة من حيث توقفت.`,impersonationEnded:`انتهت مدة انتحال الهوية وتعذّر تجديد جلستك الخاصة. سجّل الدخول مجددًا للمتابعة.`},home:{title:`لوحة المعلومات`}},list:{field:`الحقل`,search:`بحث في {label}…`,noSearch:`لا توجد حقول قابلة للبحث`,noGrouping:`بلا تجميع`,groupBy:`تجميع حسب`,groupHeader:`{label}:`,expandGroup:`توسيع المجموعة`,collapseGroup:`طي المجموعة`,trash:{label:`سلة المهملات`,active:`النشطة`,only:`سلة المهملات`,with:`النشطة وسلة المهملات`},exportCsv:`تصدير CSV`,importCsv:`استيراد CSV`,exportQueued:`التصدير كبير فأُضيف إلى قائمة الانتظار؛ سيصلك إشعار عند جاهزيته.`,exportPrepared:`يجري إعداد التصدير؛ سيصلك إشعار عند جاهزيته.`,export:`تصدير`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`لا توجد نتائج مطابقة`,empty:`لا توجد {label} بعد`,summary:{sum:`المجموع`,avg:`المتوسط`,min:`الأدنى`,max:`الأقصى`,count:`العدد`},operation:{deleteTitle:`حذف {count} {noun}؟`,restoreTitle:`استعادة {count} {noun}؟`,forceDeleteTitle:`حذف {count} {noun} نهائيًا؟`,deleteAllTitle:`حذف جميع {noun} المطابقة؟`,restoreAllTitle:`استعادة جميع {noun} المطابقة؟`,forceDeleteAllTitle:`حذف جميع {noun} المطابقة نهائيًا؟`,toTrash:`تُنقل إلى سلة المهملات ويمكن استعادتها.`,irreversible:`لا يمكن التراجع عن هذا الإجراء.`,restored:`تمت استعادة {count} {noun}.`,deleted:`تم حذف {count} {noun}.`},bulk:{allMatching:`جميع العناصر المطابقة ({total})`,allMatchingUncounted:`جميع السجلات المطابقة`,selected:`المحدد: {count}`,selectAllMatching:`تحديد جميع العناصر المطابقة ({total})`,selectAllMatchingUncounted:`تحديد جميع السجلات المطابقة`,onlyChecked:`الصفوف المحددة فقط`,clearSelection:`مسح التحديد`},bulkEdit:{everyMatching:`جميع {noun} المطابقة ({count})`,everyMatchingUncounted:`جميع {noun} المطابقة`,some:`{count} {noun}`,title:`تعديل {subject}`,fieldsToChange:`الحقول المراد تغييرها`,fieldsHint:`تُكتب الحقول المختارة فقط؛ وتبقى كل القيم الأخرى كما هي.`,applyTo:`تطبيق على {count}`,applyToAll:`تطبيق على جميع العناصر المطابقة`,updated:`تم تحديث {count} {noun}.`},columns:{title:`الأعمدة`,moveUp:`نقل لأعلى`,moveDown:`نقل لأسفل`,reset:`إعادة تعيين`},filter:{add:`إضافة عامل تصفية`,condition:`الشرط`,value:`القيمة`,from:`من`,to:`إلى`,commaSeparated:`مفصولة بفواصل`,clear:`مسح`,yes:`نعم`,no:`لا`,and:`و`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`أيٌّ من`,anyOfGroup:`أيٌّ من، المجموعة {n}`,alternative:`البديل {n}`,or:`أو`,orCondition:`أو…`,addAnyOf:`إضافة «أيٌّ من»`,addToAlternative:`إضافة شرط إلى البديل {n}`,removeGroup:`إزالة المجموعة {n}`,advanced:`شرط متقدم`,operators:{eq:`يساوي`,ne:`لا يساوي`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`أيٌّ من`,nin:`ليس أيًّا من`,like:`يحتوي على`,nlike:`لا يحتوي على`,between:`بين`,null:`فارغ`,nnull:`غير فارغ`}},views:{menu:`طرق العرض`,allRecords:`جميع السجلات`,default:`الافتراضية`,updateWithCurrent:`تحديث طريقة العرض بالقائمة الحالية`,delete:`حذف طريقة العرض`,deleteTitle:`حذف طريقة العرض «{name}»؟`,saveCurrent:`حفظ الحالية كطريقة عرض…`,saveTitle:`حفظ طريقة العرض`,updateTitle:`تحديث «{name}»`,name:`الاسم`,share:`مشاركة مع جميع المسؤولين`,openWith:`فتح هذا المورد بطريقة العرض هذه`,openWithForEveryone:`فتحه بهذه الطريقة لكل من ليست لديه طريقة عرض افتراضية خاصة به`,shareFirst:`تجب مشاركة طريقة العرض لجعلها الافتراضية للجميع.`,everyoneDefault:`الافتراضية للجميع`,saved:`تم حفظ طريقة العرض «{name}».`},import:{title:`استيراد {label}`,file:`ملف CSV`,analyse:`تحليل`,instructions:"عدد الصفوف: {rows}. يمكن ربط كل عمود بحقل، أو تركه دون ربط لتخطيه. يقبل عمود `manyToMany` معرّفات مفصولة بـ `{pipe}`.",csvColumn:`عمود CSV`,sample:`عيّنة`,skip:`— تخطٍّ —`,start:`استيراد الصفوف ({rows})`,queued:`أُضيف استيراد الصفوف ({rows}) إلى قائمة الانتظار.`,mode:`الصفوف`,modes:{create:`إنشاء سجلات جديدة`,update:`تحديث السجلات الموجودة`,upsert:`تحديث أو إنشاء`},key:`مطابقة الصفوف حسب`,noKey:`يجب أولًا ربط عمود بالمفتاح أو بحقل فريد.`,modeHelp:{update:`يحدّث كل صف السجل الذي تطابق قيمته؛ والصف الذي لا يطابق أي سجل يُنقل إلى ملف الصفوف الفاشلة.`,upsert:`يحدّث كل صف السجل الذي تطابق قيمته، أو ينشئ سجلًا جديدًا إذا لم يطابق أي سجل.`}},pager:{page:`الصفحة {page}`},page:{create:`إنشاء {noun}`,unknown:`مورد غير معروف`,unknownText:`لا يوجد شيء مسجّل باسم «{slug}».`},inline:{editLabel:`تعديل {label}`,pending:`لا توجد تغييرات غير محفوظة | تغيير واحد غير محفوظ | تغييران غير محفوظين | {count} تغييرات غير محفوظة | {count} تغييرًا غير محفوظ | {count} تغيير غير محفوظ`,save:`حفظ التغييرات`,discard:`تجاهل`,saved:`لم يُحفظ أي سجل. | تم حفظ سجل واحد. | تم حفظ سجلين. | تم حفظ {count} سجلات. | تم حفظ {count} سجلًا. | تم حفظ {count} سجل.`,conflict:`تغيّر أحد السجلات منذ تحميل القائمة. يجب إعادة تحميله وتعديله مجددًا.`,leaveTitle:`تجاهل التغييرات غير المحفوظة؟ | تجاهل تغيير واحد غير محفوظ؟ | تجاهل تغييرين غير محفوظين؟ | تجاهل {count} تغييرات غير محفوظة؟ | تجاهل {count} تغييرًا غير محفوظ؟ | تجاهل {count} تغيير غير محفوظ؟`,leaveText:`تؤدي مغادرة القائمة إلى فقدان التعديلات غير المحفوظة.`}},record:{unknownResource:`مورد غير معروف`,new:`جديد`,newTitle:`إنشاء {label}`,editTitle:`تعديل {title}`,createNotAllowed:`لا يسمح هذا المورد بإنشاء سجلات هنا.`,editNotAllowed:`لا يُسمح لك بتعديل هذا السجل.`,saved:`تم حفظ {label}.`,duplicate:`تكرار`,copyOf:`نسخة من «{title}». القيم التي يجب أن تكون فريدة والملفات تبدأ فارغة.`,variants:{menu:`طرق حفظ أخرى`,saveContinue:`حفظ ومتابعة التعديل`,createContinue:`إنشاء ومتابعة التعديل`,createAnother:`إنشاء وإضافة آخر`},leave:{title:`تجاهل التغييرات؟`,text:`تؤدي مغادرة هذه الصفحة إلى فقدان التغييرات غير المحفوظة.`,discard:`تجاهل`},inTrash:`في سلة المهملات`,deleteTitle:`حذف {noun} «{title}»؟`,deleteForeverTitle:`حذف {noun} «{title}» نهائيًا؟`,deleteSoftText:`يُنقل إلى سلة المهملات ويمكن استعادته.`,deleteHardText:`لا يمكن التراجع عن هذا الإجراء.`,trashed:`نُقل {label} إلى سلة المهملات.`,deleted:`تم حذف {label}.`,restored:`تمت استعادة {label}.`,impersonate:{action:`التصرف باسم المستخدم`,title:`التصرف باسم «{title}»؟`,text:`سترى وتفعل ما يمكن لهذا المستخدم فعله، ويُسجَّل كل تغيير باسمه، مع الإشارة إلى أنك من تصرّف باسمه.`,started:`أنت الآن تتصرف باسم {title}.`},audit:{title:`سجل التغييرات`,byUser:`بواسطة المستخدم {actor}`,impersonatedBy:`(نيابةً عنه: {impersonator})`,empty:`لا توجد تغييرات مسجّلة.`,revert:`إرجاع`,revertLabel:`إرجاع هذا التغيير`,revertTitle:`إرجاع هذا التغيير؟`,revertText:`يعيد القيمة السابقة لـ {fields}. ويُسجَّل الإرجاع في سجل التغييرات أيضًا.`,reverted:`تم إرجاع التغيير.`},panel:{attach:`ربط`,attachTitle:`ربط {label}`,attachCount:`ربط {count}`,attached:`تم ربط {count} {label}.`,records:`سجلات`,record:`سجل`,empty:`لا توجد {label} بعد.`,detach:`فك الربط`,detachLabel:`فك ربط {title}`,detachTitle:`فك ربط «{title}»؟`,detachText:`يبقى {target}؛ ولا يُزال سوى ارتباطه بهذا {owner}.`,detached:`تم فك ربط {title}.`}},actions:{runOn:`تنفيذ {action} على {subject}؟`,subjectAll:`جميع {label} المطابقة ({count})`,subjectAllUncounted:`جميع {label} المطابقة`,subjectCount:`{count} {label}`,done:`تم تنفيذ {label}.`,declined:`رُفض الإجراء.`,redirectRefused:`طلب الإجراء فتح صفحة خارج لوحة الإدارة، ولم تُفتح.`,downloadStarted:`بدأ التنزيل.`,queued:`أُضيف {label} إلى قائمة الانتظار.`},dashboard:{title:`لوحة المعلومات`,range:`النطاق`,loading:`جارٍ التحميل`,percent:`{value}%`,duration:{minutes:`{value} دقيقة`,hours:`{value} ساعة`},partition:{empty:`لا شيء في هذا النطاق.`},progress:{of:`من {target}`,label:`التقدم`},stat:{previous:`مقابل {value} سابقًا`},table:{empty:`لا شيء لعرضه.`,seeAll:`عرض الكل`},trend:{total:`الإجمالي {value}`}},jobs:{title:`المهام`,heading:`مهام الخلفية`,columns:{job:`المهمة`,resource:`المورد`,status:`الحالة`,progress:`التقدم`,started:`وقت البدء`},empty:`لا توجد مهام بعد. تظهر هنا عمليات التصدير والاستيراد الكبيرة والإجراءات الموضوعة في قائمة الانتظار.`,kind:{action:`إجراء`,export:`تصدير`,import:`استيراد`},status:{queued:`في قائمة الانتظار`,running:`قيد التشغيل`,done:`مكتملة`,failed:`فاشلة`,stalled:`متوقفة`},detail:{pageTitle:`المهمة #{id}`,fallbackTitle:`مهمة`,started:`بدأت {date}`,finished:`انتهت {date}`,progress:`تقدم المهمة`,processed:`تمت معالجة {processed}`,processedOfTotal:`تمت معالجة {processed} من {total}`,download:`تنزيل {file}`,file:`الملف`}},settings:{pageTitle:`الإعدادات`,heading:`الإعدادات`,empty:{title:`لا توجد إعدادات`,text:`لا يوجد شيء مسجّل لإدارته في هذا الحساب.`},saved:`تم حفظ {label}.`},fields:{cell:{loading:`جارٍ تحميل {label}`},keyValue:{key:`المفتاح`,value:`القيمة`,entry:`الإدخال {n}`,add:`إضافة إدخال`,remove:`إزالة الإدخال {n}`,more:`+{count} أخرى`,repeated:`مستخدم أكثر من مرة: {keys}. يُحتفظ بالأخير.`},repeater:{add:`إضافة {label}`,remove:`إزالة {label} {n}`,row:`{label} {n}`,count:`{count} من {max} كحد أقصى`,unavailable:`لا يمكنك رؤية هذه الصفوف.`},relation:{placeholder:`اكتب للبحث`,dependsFirst:`يُرجى اختيار {label} أولًا`},upload:{storageKey:`مفتاح تخزين الملف.`,tooLarge:`حجم الملف أكبر من {size} ميغابايت.`,rejected:`الملف {message}`,uploaded:`تم رفع {name} ({size} كيلوبايت)`,theFile:`الملف`,upTo:`حتى {size} ميغابايت`,preview:`معاينة {label}`,remove:`إزالة {label}`},richtext:{toolbar:`تنسيق {label}`,bold:`غامق`,italic:`مائل`,underline:`تسطير`,strike:`يتوسطه خط`,code:`تعليمات برمجية`,heading:`عنوان {level}`,bulletList:`قائمة نقطية`,orderedList:`قائمة مرقمة`,blockquote:`اقتباس`,codeBlock:`كتلة تعليمات برمجية`,horizontalRule:`فاصل`,link:`رابط`,linkUrl:`عنوان الرابط`,linkRefused:`يُرجى استخدام رابط http(s) أو mailto أو رابط نسبي`,insertTable:`إدراج جدول`,addRow:`إضافة صف`,addColumn:`إضافة عمود`,deleteRow:`حذف الصف`,deleteColumn:`حذف العمود`,deleteTable:`حذف الجدول`,image:`إدراج صورة`,undo:`تراجع`,redo:`إعادة`,source:`المصدر`,visual:`مرئي`,sourceOf:`مصدر {label}`},rules:{maxLength:`بحد أقصى {max} من الأحرف`,minLength:`بحد أدنى {min} من الأحرف`,email:`يُرجى إدخال عنوان بريد إلكتروني صالح`,url:`يُرجى إدخال عنوان URL صالح`,greaterThan:`يجب أن تكون القيمة أكبر من {limit}`,greaterThanOrEqual:`يجب ألا تقل القيمة عن {limit}`,lessThan:`يجب أن تكون القيمة أقل من {limit}`,lessThanOrEqual:`يجب ألا تزيد القيمة على {limit}`,invalidFormat:`تنسيق غير صالح`,notAllowed:`قيمة غير مسموح بها`}}},ko:{common:{save:`저장`,cancel:`취소`,create:`생성`,edit:`편집`,delete:`삭제`,deleteForever:`영구 삭제`,restore:`복원`,close:`닫기`,apply:`적용`,remove:`제거`,search:`검색`,loading:`불러오는 중…`,required:`필수`,none:`—`,yes:`예`,no:`아니요`,download:`다운로드`,actions:`액션`,confirm:`확인`,serverRejected:`서버가 요청을 거부했습니다.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`관리자`,account:`계정`,signOut:`로그아웃`,toggleNavigation:`탐색 메뉴 전환`,toggleTheme:`테마 전환`,language:`언어: {name}`,languageFailed:`언어를 저장할 수 없습니다: {error}`,unsupportedDescriptor:`API가 디스크립터 버전 {version}을(를) 게시하지만 이 관리자는 버전 {supported}을(를) 읽습니다. {remedy}`,version:{mismatch:`이 관리자 UI는 버전 {current}이지만 kinetis/vector는 {expected}을(를) 기대합니다.`,dismiss:`닫기`,hostedRemedy:`서버에서 vendor/bin/kinetis vector:install-ui를 실행한 뒤 워커를 다시 시작하세요.`,layeredRemedy:`{package}을(를) {version}(으)로 업그레이드하고 다시 빌드하세요.`,layeredRemedyAny:`이 kinetis/vector가 기대하는 {package} 릴리스를 설치하고 다시 빌드하세요.`},nav:{main:`메인`,dashboard:`대시보드`,jobs:`작업`,settings:`설정`,pages:`페이지`,badge:`{label} {count}개`},page:{unknown:`알 수 없는 페이지`,loading:`페이지를 불러오는 중`},impersonation:{actingAs:`{name} 계정으로 작업하고 있습니다.`,anotherUser:`다른 사용자`,stop:`대리 로그인 종료`,noAccess:`{name} 계정은 관리자 화면에 접근할 수 없어 해당 사용자로 볼 수 있는 내용이 없습니다. 대리 로그인이 종료되었습니다.`,noToken:`애플리케이션이 토큰이나 새로고침 없이 응답하여 아무것도 변경되지 않았습니다.`,ended:`대리 접속이 만료되어 본인 계정으로 돌아왔습니다.`},palette:{placeholder:`레코드 및 리소스 검색…`,records:`레코드`,resources:`리소스`,noMatch:`일치하는 레코드가 없습니다`},inbox:{title:`알림`,markAllRead:`모두 읽음으로 표시`,empty:`아직 알림이 없습니다`},login:{pageTitle:`로그인 · {brand}`,subtitle:`관리자 화면에 로그인`,email:`이메일`,password:`비밀번호`,submit:`로그인`,invalidEmail:`올바른 이메일 주소를 입력하세요`,welcome:`{name}님, 다시 오신 것을 환영합니다.`,signedOutIdle:`{minutes}분 동안 활동이 없어 로그아웃되었습니다. 다시 로그인하면 중단한 곳에서 계속할 수 있습니다.`,impersonationEnded:`대리 접속이 만료되었고 본인 세션을 갱신할 수 없었습니다. 계속하려면 다시 로그인하세요.`},home:{title:`대시보드`}},list:{field:`필드`,search:`{label} 검색…`,noSearch:`검색 가능한 필드 없음`,noGrouping:`그룹 없음`,groupBy:`그룹 기준`,groupHeader:`{label}:`,expandGroup:`그룹 펼치기`,collapseGroup:`그룹 접기`,trash:{label:`휴지통`,active:`활성`,only:`휴지통`,with:`활성 및 휴지통`},exportCsv:`CSV 내보내기`,importCsv:`CSV 가져오기`,exportQueued:`내보낼 데이터가 많아 대기열에 추가되었습니다. 준비되면 알려 드립니다.`,exportPrepared:`내보내기를 준비하고 있습니다. 준비되면 알려 드립니다.`,export:`내보내기`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`일치하는 항목 없음`,empty:`아직 {label} 항목이 없습니다`,summary:{sum:`합계`,avg:`평균`,min:`최소`,max:`최대`,count:`개수`},operation:{deleteTitle:`{noun} {count}개를 삭제하시겠습니까?`,restoreTitle:`{noun} {count}개를 복원하시겠습니까?`,forceDeleteTitle:`{noun} {count}개를 영구 삭제하시겠습니까?`,deleteAllTitle:`일치하는 {noun} 모두를 삭제하시겠습니까?`,restoreAllTitle:`일치하는 {noun} 모두를 복원하시겠습니까?`,forceDeleteAllTitle:`일치하는 {noun} 모두를 영구 삭제하시겠습니까?`,toTrash:`휴지통으로 이동되며 복원할 수 있습니다.`,irreversible:`이 작업은 되돌릴 수 없습니다.`,restored:`{noun} {count}개를 복원했습니다.`,deleted:`{noun} {count}개를 삭제했습니다.`},bulk:{allMatching:`일치하는 {total}개 모두`,allMatchingUncounted:`일치하는 모든 레코드`,selected:`{count}개 선택됨`,selectAllMatching:`일치하는 {total}개 모두 선택`,selectAllMatchingUncounted:`일치하는 모든 레코드 선택`,onlyChecked:`선택한 행만`,clearSelection:`선택 해제`},bulkEdit:{everyMatching:`일치하는 모든 {noun} ({count})`,everyMatchingUncounted:`일치하는 모든 {noun}`,some:`{noun} {count}개`,title:`{subject} 편집`,fieldsToChange:`변경할 필드`,fieldsHint:`선택한 필드만 저장되며, 다른 값은 모두 그대로 유지됩니다.`,applyTo:`{count}개에 적용`,applyToAll:`일치하는 모든 항목에 적용`,updated:`{noun} {count}개를 업데이트했습니다.`},columns:{title:`열`,moveUp:`위로 이동`,moveDown:`아래로 이동`,reset:`초기화`},filter:{add:`필터 추가`,condition:`조건`,value:`값`,from:`시작`,to:`끝`,commaSeparated:`쉼표로 구분`,clear:`지우기`,yes:`예`,no:`아니요`,and:`그리고`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`다음 중 하나`,anyOfGroup:`다음 중 하나, 그룹 {n}`,alternative:`대안 {n}`,or:`또는`,orCondition:`또는…`,addAnyOf:`“다음 중 하나” 추가`,addToAlternative:`대안 {n}에 조건 추가`,removeGroup:`그룹 {n} 제거`,advanced:`고급 조건`,operators:{eq:`같음`,ne:`같지 않음`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`다음 중 하나임`,nin:`다음 중 어느 것도 아님`,like:`포함`,nlike:`포함하지 않음`,between:`범위 내`,null:`비어 있음`,nnull:`비어 있지 않음`}},views:{menu:`보기`,allRecords:`모든 레코드`,default:`기본값`,updateWithCurrent:`현재 목록으로 보기 업데이트`,delete:`보기 삭제`,deleteTitle:`“{name}” 보기를 삭제하시겠습니까?`,saveCurrent:`현재 상태를 보기로 저장…`,saveTitle:`보기 저장`,updateTitle:`“{name}” 업데이트`,name:`이름`,share:`모든 관리자와 공유`,openWith:`이 리소스를 이 보기로 열기`,openWithForEveryone:`자체 기본값이 없는 모든 사용자에게 이 방식으로 열기`,shareFirst:`모든 사용자의 기본값으로 지정하려면 먼저 보기를 공유하세요.`,everyoneDefault:`모든 사용자의 기본값`,saved:`“{name}” 보기를 저장했습니다.`},import:{title:`{label} 가져오기`,file:`CSV 파일`,analyse:`분석`,instructions:"{rows}개 행. 각 열을 필드에 매핑하거나, 건너뛰려면 매핑하지 않은 상태로 두세요. `manyToMany` 열에는 `{pipe}` 기호로 구분된 식별자를 입력합니다.",csvColumn:`CSV 열`,sample:`샘플`,skip:`— 건너뛰기 —`,start:`{rows}개 행 가져오기`,queued:`{rows}개 행 가져오기가 대기열에 추가되었습니다.`,mode:`행`,modes:{create:`새 레코드 생성`,update:`기존 레코드 업데이트`,upsert:`업데이트 또는 생성`},key:`행 일치 기준`,noKey:`먼저 열을 키 또는 고유 필드에 매핑하세요.`,modeHelp:{update:`각 행은 값이 일치하는 레코드를 업데이트합니다. 일치하는 레코드가 없는 행은 실패한 행 파일로 이동합니다.`,upsert:`각 행은 값이 일치하는 레코드를 업데이트하거나, 일치하는 레코드가 없으면 새로 만듭니다.`}},pager:{page:`{page}페이지`},page:{create:`새 {noun}`,unknown:`알 수 없는 리소스`,unknownText:`“{slug}” 이름으로 등록된 항목이 없습니다.`},inline:{editLabel:`{label} 편집`,pending:`저장되지 않은 변경 사항 {count}개`,save:`변경 사항 저장`,discard:`버리기`,saved:`레코드 {count}개를 저장했습니다.`,conflict:`목록을 불러온 후 레코드가 변경되었습니다. 다시 불러온 후 편집하세요.`,leaveTitle:`저장되지 않은 변경 사항 {count}개를 버리시겠습니까?`,leaveText:`목록을 떠나면 저장하지 않은 편집 내용이 사라집니다.`}},record:{unknownResource:`알 수 없는 리소스`,new:`새로 만들기`,newTitle:`새 {label}`,editTitle:`{title} 편집`,createNotAllowed:`이 리소스에서는 여기서 레코드를 만들 수 없습니다.`,editNotAllowed:`이 레코드를 편집할 권한이 없습니다.`,saved:`{label}을(를) 저장했습니다.`,duplicate:`복제`,copyOf:`“{title}”의 사본입니다. 고유해야 하는 값과 파일은 비어 있는 상태로 시작합니다.`,variants:{menu:`다른 저장 방법`,saveContinue:`저장 후 계속 편집`,createContinue:`생성 후 계속 편집`,createAnother:`생성 후 새로 추가`},leave:{title:`변경 사항을 버리시겠습니까?`,text:`이 페이지를 떠나면 저장하지 않은 변경 사항이 사라집니다.`,discard:`버리기`},inTrash:`휴지통에 있음`,deleteTitle:`{noun} “{title}”을(를) 삭제하시겠습니까?`,deleteForeverTitle:`{noun} “{title}”을(를) 영구 삭제하시겠습니까?`,deleteSoftText:`휴지통으로 이동되며 복원할 수 있습니다.`,deleteHardText:`이 작업은 되돌릴 수 없습니다.`,trashed:`{label}을(를) 휴지통으로 이동했습니다.`,deleted:`{label}을(를) 삭제했습니다.`,restored:`{label}을(를) 복원했습니다.`,impersonate:{action:`대리 로그인`,title:`“{title}” 계정으로 작업하시겠습니까?`,text:`해당 사용자가 할 수 있는 것을 보고 수행하게 되며, 모든 변경 사항은 해당 사용자의 것으로 기록되고 본인은 대리 사용자로 함께 기록됩니다.`,started:`이제 {title} 계정으로 작업하고 있습니다.`},audit:{title:`변경 기록`,byUser:`사용자 {actor}`,impersonatedBy:`({impersonator}의 대리 작업)`,empty:`기록된 변경 사항이 없습니다.`,revert:`되돌리기`,revertLabel:`이 변경 되돌리기`,revertTitle:`이 변경을 되돌리시겠습니까?`,revertText:`{fields}의 이전 값을 복원합니다. 되돌린 내용도 기록에 남습니다.`,reverted:`변경을 되돌렸습니다.`},panel:{attach:`연결`,attachTitle:`{label} 연결`,attachCount:`{count}개 연결`,attached:`{label} {count}개를 연결했습니다.`,records:`레코드`,record:`레코드`,empty:`아직 {label} 항목이 없습니다.`,detach:`연결 해제`,detachLabel:`{title} 연결 해제`,detachTitle:`“{title}” 연결을 해제하시겠습니까?`,detachText:`{target} 레코드는 그대로 유지되며, 이 {owner}과(와)의 연결만 제거됩니다.`,detached:`{title} 연결을 해제했습니다.`}},actions:{runOn:`{subject}에 대해 {action}을(를) 실행하시겠습니까?`,subjectAll:`일치하는 모든 {label} ({count})`,subjectAllUncounted:`일치하는 모든 {label}`,subjectCount:`{label} {count}개`,done:`{label} 작업을 완료했습니다.`,declined:`액션이 거부되었습니다.`,redirectRefused:`액션이 관리자 밖의 페이지를 열려고 해서 열지 않았습니다.`,downloadStarted:`다운로드가 시작되었습니다.`,queued:`{label} 작업이 대기열에 추가되었습니다.`},dashboard:{title:`대시보드`,range:`기간`,loading:`불러오는 중`,percent:`{value}%`,duration:{minutes:`{value}분`,hours:`{value}시간`},partition:{empty:`이 기간에는 데이터가 없습니다.`},progress:{of:`/ {target}`,label:`진행률`},stat:{previous:`이전 {value} 대비`},table:{empty:`표시할 항목이 없습니다.`,seeAll:`모두 보기`},trend:{total:`합계 {value}`}},jobs:{title:`작업`,heading:`백그라운드 작업`,columns:{job:`작업`,resource:`리소스`,status:`상태`,progress:`진행률`,started:`시작 시간`},empty:`아직 작업이 없습니다. 대용량 내보내기, 가져오기 및 대기열에 추가된 액션이 여기에 표시됩니다.`,kind:{action:`액션`,export:`내보내기`,import:`가져오기`},status:{queued:`대기 중`,running:`실행 중`,done:`완료`,failed:`실패`,stalled:`중단됨`},detail:{pageTitle:`작업 #{id}`,fallbackTitle:`작업`,started:`{date} 시작`,finished:`{date} 완료`,progress:`작업 진행률`,processed:`{processed}건 처리됨`,processedOfTotal:`{total}건 중 {processed}건 처리됨`,download:`{file} 다운로드`,file:`파일`}},settings:{pageTitle:`설정`,heading:`설정`,empty:{title:`설정 없음`,text:`이 계정에서 관리할 항목이 등록되어 있지 않습니다.`},saved:`{label}을(를) 저장했습니다.`},fields:{cell:{loading:`{label} 불러오는 중`},keyValue:{key:`키`,value:`값`,entry:`항목 {n}`,add:`항목 추가`,remove:`항목 {n} 제거`,more:`+{count}개 더 보기`,repeated:`두 번 이상 사용됨: {keys}. 마지막 항목이 유지됩니다.`},repeater:{add:`{label} 추가`,remove:`{label} {n} 제거`,row:`{label} {n}`,count:`{count} / 최대 {max}`,unavailable:`이 행을 볼 수 있는 권한이 없습니다.`},relation:{placeholder:`입력하여 검색`,dependsFirst:`먼저 {label} 항목을 선택하세요`},upload:{storageKey:`파일의 저장소 키입니다.`,tooLarge:`파일 크기가 {size} MB를 초과합니다.`,rejected:`파일 오류: {message}`,uploaded:`{name} 업로드됨 ({size} KB)`,theFile:`파일`,upTo:`최대 {size} MB`,preview:`{label} 미리보기`,remove:`{label} 제거`},richtext:{toolbar:`{label} 서식`,bold:`굵게`,italic:`기울임꼴`,underline:`밑줄`,strike:`취소선`,code:`코드`,heading:`제목 {level}`,bulletList:`글머리 기호 목록`,orderedList:`번호 매기기 목록`,blockquote:`인용`,codeBlock:`코드 블록`,horizontalRule:`구분선`,link:`링크`,linkUrl:`링크 주소`,linkRefused:`http(s), mailto 또는 상대 링크를 사용하세요`,insertTable:`표 삽입`,addRow:`행 추가`,addColumn:`열 추가`,deleteRow:`행 삭제`,deleteColumn:`열 삭제`,deleteTable:`표 삭제`,image:`이미지 삽입`,undo:`실행 취소`,redo:`다시 실행`,source:`소스`,visual:`비주얼`,sourceOf:`{label} 소스`},rules:{maxLength:`최대 {max}자`,minLength:`최소 {min}자`,email:`올바른 이메일 주소를 입력하세요`,url:`올바른 URL을 입력하세요`,greaterThan:`{limit}보다 커야 합니다`,greaterThanOrEqual:`{limit} 이상이어야 합니다`,lessThan:`{limit}보다 작아야 합니다`,lessThanOrEqual:`{limit} 이하여야 합니다`,invalidFormat:`잘못된 형식`,notAllowed:`허용되지 않는 값`}}},ja:{common:{save:`保存`,cancel:`キャンセル`,create:`作成`,edit:`編集`,delete:`削除`,deleteForever:`完全に削除`,restore:`復元`,close:`閉じる`,apply:`適用`,remove:`削除`,search:`検索`,loading:`読み込み中…`,required:`必須`,none:`—`,yes:`はい`,no:`いいえ`,download:`ダウンロード`,actions:`アクション`,confirm:`確認`,serverRejected:`サーバーがリクエストを拒否しました。`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`管理画面`,account:`アカウント`,signOut:`ログアウト`,toggleNavigation:`ナビゲーションの切り替え`,toggleTheme:`テーマの切り替え`,language:`言語:{name}`,languageFailed:`言語を保存できませんでした:{error}`,unsupportedDescriptor:`API はディスクリプタのバージョン {version} を公開していますが、この管理画面が読めるのはバージョン {supported} です。{remedy}`,version:{mismatch:`この管理画面のバージョンは {current} ですが、kinetis/vector は {expected} を想定しています。`,dismiss:`閉じる`,hostedRemedy:`サーバーで vendor/bin/kinetis vector:install-ui を実行し、ワーカーを再起動してください。`,layeredRemedy:`{package} を {version} にアップグレードして再ビルドしてください。`,layeredRemedyAny:`この kinetis/vector が想定する {package} のリリースをインストールして再ビルドしてください。`},nav:{main:`メイン`,dashboard:`ダッシュボード`,jobs:`ジョブ`,settings:`設定`,pages:`ページ`,badge:`{count} {label}`},page:{unknown:`不明なページ`,loading:`ページを読み込み中`},impersonation:{actingAs:`{name} として操作しています。`,anotherUser:`別のユーザー`,stop:`代理操作を終了`,noAccess:`{name} は管理画面へのアクセス権がないため、表示できる内容がありません。代理操作を終了しました。`,noToken:`アプリケーションがトークンも再読み込みも返さなかったため、何も変更されていません。`,ended:`なりすましの有効期限が切れたため、ご自身のアカウントに戻りました。`},palette:{placeholder:`レコードとリソースを検索…`,records:`レコード`,resources:`リソース`,noMatch:`一致するレコードがありません`},inbox:{title:`通知`,markAllRead:`すべて既読にする`,empty:`まだ何もありません`},login:{pageTitle:`ログイン · {brand}`,subtitle:`管理画面にログイン`,email:`メールアドレス`,password:`パスワード`,submit:`ログイン`,invalidEmail:`有効なメールアドレスを入力してください`,welcome:`おかえりなさい、{name} さん。`,signedOutIdle:`{minutes} 分間操作がなかったためサインアウトしました。もう一度サインインすると、続きから再開できます。`,impersonationEnded:`なりすましの有効期限が切れ、ご自身のセッションを更新できませんでした。続けるには再度サインインしてください。`},home:{title:`ダッシュボード`}},list:{field:`フィールド`,search:`{label} を検索…`,noSearch:`検索可能なフィールドがありません`,noGrouping:`グループ化なし`,groupBy:`グループ化`,groupHeader:`{label}:`,expandGroup:`グループを展開`,collapseGroup:`グループを折りたたむ`,trash:{label:`ゴミ箱`,active:`有効`,only:`ゴミ箱`,with:`有効とゴミ箱`},exportCsv:`CSV をエクスポート`,importCsv:`CSV をインポート`,exportQueued:`エクスポートのデータ量が多いため、キューに追加しました。準備ができたら通知されます。`,exportPrepared:`エクスポートを準備しています。準備ができたら通知されます。`,export:`エクスポート`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`一致する項目がありません`,empty:`{label} はまだありません`,summary:{sum:`合計`,avg:`平均`,min:`最小`,max:`最大`,count:`件数`},operation:{deleteTitle:`{count} 件の{noun}を削除しますか?`,restoreTitle:`{count} 件の{noun}を復元しますか?`,forceDeleteTitle:`{count} 件の{noun}を完全に削除しますか?`,deleteAllTitle:`一致するすべての{noun}を削除しますか?`,restoreAllTitle:`一致するすべての{noun}を復元しますか?`,forceDeleteAllTitle:`一致するすべての{noun}を完全に削除しますか?`,toTrash:`ゴミ箱に移動され、後で復元できます。`,irreversible:`この操作は元に戻せません。`,restored:`{count} 件の{noun}を復元しました。`,deleted:`{count} 件の{noun}を削除しました。`},bulk:{allMatching:`一致する全 {total} 件`,allMatchingUncounted:`一致するすべてのレコード`,selected:`{count} 件選択中`,selectAllMatching:`一致する全 {total} 件を選択`,selectAllMatchingUncounted:`一致するすべてのレコードを選択`,onlyChecked:`チェックした行のみ`,clearSelection:`選択を解除`},bulkEdit:{everyMatching:`条件に一致するすべての{noun}({count})`,everyMatchingUncounted:`条件に一致するすべての{noun}`,some:`{count} 件の{noun}`,title:`{subject}を編集`,fieldsToChange:`変更するフィールド`,fieldsHint:`選択したフィールドのみが書き込まれ、その他の値はそのまま保持されます。`,applyTo:`{count} 件に適用`,applyToAll:`一致するすべてに適用`,updated:`{count} 件の{noun}を更新しました。`},columns:{title:`列`,moveUp:`上へ移動`,moveDown:`下へ移動`,reset:`リセット`},filter:{add:`フィルターを追加`,condition:`条件`,value:`値`,from:`開始`,to:`終了`,commaSeparated:`カンマ区切り`,clear:`クリア`,yes:`はい`,no:`いいえ`,and:`かつ`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`いずれか`,anyOfGroup:`いずれか、グループ {n}`,alternative:`候補 {n}`,or:`または`,orCondition:`または…`,addAnyOf:`「いずれか」を追加`,addToAlternative:`候補 {n} に条件を追加`,removeGroup:`グループ {n} を削除`,advanced:`詳細条件`,operators:{eq:`等しい`,ne:`等しくない`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`いずれかに一致`,nin:`いずれにも一致しない`,like:`含む`,nlike:`含まない`,between:`範囲内`,null:`空`,nnull:`空ではない`}},views:{menu:`ビュー`,allRecords:`すべてのレコード`,default:`デフォルト`,updateWithCurrent:`現在のリストでビューを更新`,delete:`ビューを削除`,deleteTitle:`ビュー「{name}」を削除しますか?`,saveCurrent:`現在の表示をビューとして保存…`,saveTitle:`ビューを保存`,updateTitle:`「{name}」を更新`,name:`名前`,share:`すべての管理者と共有`,openWith:`このリソースをこのビューで開く`,openWithForEveryone:`独自のデフォルトを持たないすべてのユーザーに対してこの表示で開く`,shareFirst:`ビューを全員のデフォルトにするには、先に共有してください。`,everyoneDefault:`全員のデフォルト`,saved:`ビュー「{name}」を保存しました。`},import:{title:`{label} をインポート`,file:`CSV ファイル`,analyse:`分析`,instructions:"{rows} 行。各列をフィールドに割り当てるか、割り当てずにスキップしてください。`manyToMany` 列には `{pipe}` で区切った識別子を指定します。",csvColumn:`CSV の列`,sample:`サンプル`,skip:`— スキップ —`,start:`{rows} 行をインポート`,queued:`{rows} 行のインポートをキューに追加しました。`,mode:`行`,modes:{create:`新しいレコードを作成`,update:`既存のレコードを更新`,upsert:`更新または作成`},key:`行の照合キー`,noKey:`先にキーまたは一意のフィールドに列を割り当ててください。`,modeHelp:{update:`各行は値が一致するレコードを更新します。一致しない行は失敗行ファイルに出力されます。`,upsert:`各行は値が一致するレコードを更新し、一致しない場合は新しいレコードを作成します。`}},pager:{page:`{page} ページ`},page:{create:`新規{noun}`,unknown:`不明なリソース`,unknownText:`「{slug}」として登録されているものはありません。`},inline:{editLabel:`{label} を編集`,pending:`未保存の変更 {count} 件`,save:`変更を保存`,discard:`破棄`,saved:`{count} 件のレコードを保存しました。`,conflict:`リストの読み込み後にレコードが変更されました。再読み込みしてから編集し直してください。`,leaveTitle:`未保存の変更 {count} 件を破棄しますか?`,leaveText:`リストを離れると、保存していない編集内容は失われます。`}},record:{unknownResource:`不明なリソース`,new:`新規`,newTitle:`新規{label}`,editTitle:`{title} を編集`,createNotAllowed:`このリソースではここでレコードを作成できません。`,editNotAllowed:`このレコードを編集する権限がありません。`,saved:`{label} を保存しました。`,duplicate:`複製`,copyOf:`「{title}」のコピーです。一意である必要がある値とファイルは空の状態で始まります。`,variants:{menu:`その他の保存方法`,saveContinue:`保存して編集を続ける`,createContinue:`作成して編集を続ける`,createAnother:`作成してもう 1 件追加`},leave:{title:`変更を破棄しますか?`,text:`このページを離れると、保存していない変更は失われます。`,discard:`破棄`},inTrash:`ゴミ箱内`,deleteTitle:`{noun}「{title}」を削除しますか?`,deleteForeverTitle:`{noun}「{title}」を完全に削除しますか?`,deleteSoftText:`ゴミ箱に移動され、後で復元できます。`,deleteHardText:`この操作は元に戻せません。`,trashed:`{label} をゴミ箱に移動しました。`,deleted:`{label} を削除しました。`,restored:`{label} を復元しました。`,impersonate:{action:`代理操作`,title:`「{title}」として操作しますか?`,text:`そのユーザーが閲覧・操作できる範囲で操作でき、すべての変更はそのユーザーによるものとして記録され、あなたが代理操作者として併記されます。`,started:`{title} として操作しています。`},audit:{title:`履歴`,byUser:`ユーザー {actor} による`,impersonatedBy:`({impersonator} が代理操作)`,empty:`記録された変更はありません。`,revert:`元に戻す`,revertLabel:`この変更を元に戻す`,revertTitle:`この変更を元に戻しますか?`,revertText:`{fields} を以前の値に戻します。この取り消しも履歴に記録されます。`,reverted:`変更を元に戻しました。`},panel:{attach:`関連付け`,attachTitle:`{label} を関連付け`,attachCount:`{count} 件を関連付け`,attached:`{count} 件の{label}を関連付けました。`,records:`レコード`,record:`レコード`,empty:`{label} はまだありません。`,detach:`関連付けを解除`,detachLabel:`{title} の関連付けを解除`,detachTitle:`「{title}」の関連付けを解除しますか?`,detachText:`{target} としては残り、この{owner}とのリンクのみが削除されます。`,detached:`{title} の関連付けを解除しました。`}},actions:{runOn:`{subject} に対して {action} を実行しますか?`,subjectAll:`条件に一致するすべての{label}({count})`,subjectAllUncounted:`条件に一致するすべての{label}`,subjectCount:`{count} 件の{label}`,done:`{label} が完了しました。`,declined:`アクションは拒否されました。`,redirectRefused:`アクションが管理画面外のページを開こうとしたため、開きませんでした。`,downloadStarted:`ダウンロードを開始しました。`,queued:`{label} をキューに追加しました。`},dashboard:{title:`ダッシュボード`,range:`期間`,loading:`読み込み中`,percent:`{value}%`,duration:{minutes:`{value} 分`,hours:`{value} 時間`},partition:{empty:`この期間にはデータがありません。`},progress:{of:`/ {target}`,label:`進捗`},stat:{previous:`前期間 {value}`},table:{empty:`表示する項目がありません。`,seeAll:`すべて表示`},trend:{total:`合計 {value}`}},jobs:{title:`ジョブ`,heading:`バックグラウンドジョブ`,columns:{job:`ジョブ`,resource:`リソース`,status:`ステータス`,progress:`進捗`,started:`開始日時`},empty:`ジョブはまだありません。大規模なエクスポート、インポート、キューに追加されたアクションがここに表示されます。`,kind:{action:`アクション`,export:`エクスポート`,import:`インポート`},status:{queued:`待機中`,running:`実行中`,done:`完了`,failed:`失敗`,stalled:`停滞`},detail:{pageTitle:`ジョブ #{id}`,fallbackTitle:`ジョブ`,started:`{date} に開始`,finished:`{date} に終了`,progress:`ジョブの進捗`,processed:`{processed} 件処理済み`,processedOfTotal:`{total} 件中 {processed} 件処理済み`,download:`{file} をダウンロード`,file:`ファイル`}},settings:{pageTitle:`設定`,heading:`設定`,empty:{title:`設定はありません`,text:`このアカウントで管理できる設定は登録されていません。`},saved:`{label} を保存しました。`},fields:{cell:{loading:`{label} を読み込み中`},keyValue:{key:`キー`,value:`値`,entry:`エントリー {n}`,add:`エントリーを追加`,remove:`エントリー {n} を削除`,more:`他 {count} 件`,repeated:`複数回使用されています:{keys}。最後のものが保持されます。`},repeater:{add:`{label} を追加`,remove:`{label} {n} を削除`,row:`{label} {n}`,count:`{count} / 最大 {max}`,unavailable:`これらの行を表示する権限がありません。`},relation:{placeholder:`入力して検索`,dependsFirst:`先に {label} を選択してください`},upload:{storageKey:`ファイルのストレージキー。`,tooLarge:`ファイルが {size} MB を超えています。`,rejected:`ファイル:{message}`,uploaded:`{name}({size} KB)をアップロードしました`,theFile:`ファイル`,upTo:`最大 {size} MB`,preview:`{label} のプレビュー`,remove:`{label} を削除`},richtext:{toolbar:`{label} の書式設定`,bold:`太字`,italic:`斜体`,underline:`下線`,strike:`取り消し線`,code:`コード`,heading:`見出し {level}`,bulletList:`箇条書き`,orderedList:`番号付きリスト`,blockquote:`引用`,codeBlock:`コードブロック`,horizontalRule:`区切り線`,link:`リンク`,linkUrl:`リンク先`,linkRefused:`http(s)、mailto、または相対リンクを使用してください`,insertTable:`表を挿入`,addRow:`行を追加`,addColumn:`列を追加`,deleteRow:`行を削除`,deleteColumn:`列を削除`,deleteTable:`表を削除`,image:`画像を挿入`,undo:`元に戻す`,redo:`やり直す`,source:`ソース`,visual:`ビジュアル`,sourceOf:`{label} のソース`},rules:{maxLength:`{max} 文字以内で入力してください`,minLength:`{min} 文字以上で入力してください`,email:`有効なメールアドレスを入力してください`,url:`有効な URL を入力してください`,greaterThan:`{limit} より大きい値にしてください`,greaterThanOrEqual:`{limit} 以上にしてください`,lessThan:`{limit} より小さい値にしてください`,lessThanOrEqual:`{limit} 以下にしてください`,invalidFormat:`形式が正しくありません`,notAllowed:`許可されていない値です`}}},"zh-Hans":{common:{save:`保存`,cancel:`取消`,create:`创建`,edit:`编辑`,delete:`删除`,deleteForever:`永久删除`,restore:`恢复`,close:`关闭`,apply:`应用`,remove:`移除`,search:`搜索`,loading:`加载中…`,required:`必填`,none:`—`,yes:`是`,no:`否`,download:`下载`,actions:`操作`,confirm:`确认`,serverRejected:`服务器拒绝了该请求。`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`管理后台`,account:`账户`,signOut:`退出登录`,toggleNavigation:`切换导航`,toggleTheme:`切换主题`,language:`语言:{name}`,languageFailed:`无法保存语言:{error}`,unsupportedDescriptor:`API 发布的描述符版本为 {version},而此管理界面读取版本 {supported}。{remedy}`,version:{mismatch:`此管理界面的版本为 {current},而 kinetis/vector 需要 {expected}。`,dismiss:`关闭`,hostedRemedy:`请在服务器上运行 vendor/bin/kinetis vector:install-ui,然后重启 worker。`,layeredRemedy:`请将 {package} 升级到 {version} 并重新构建。`,layeredRemedyAny:`请安装此 kinetis/vector 所需的 {package} 版本并重新构建。`},nav:{main:`主菜单`,dashboard:`仪表盘`,jobs:`任务`,settings:`设置`,pages:`页面`,badge:`{count} 个{label}`},page:{unknown:`未知页面`,loading:`正在加载页面`},impersonation:{actingAs:`你正在以 {name} 的身份操作。`,anotherUser:`其他用户`,stop:`停止模拟登录`,noAccess:`{name} 无权访问管理后台,因此无法以其身份查看任何内容。模拟登录已停止。`,noToken:`应用返回的响应中既没有令牌也没有重新加载,因此未做任何更改。`,ended:`模拟身份已过期,你已回到自己的账户。`},palette:{placeholder:`搜索记录和资源…`,records:`记录`,resources:`资源`,noMatch:`没有匹配的记录`},inbox:{title:`通知`,markAllRead:`全部标为已读`,empty:`暂无内容`},login:{pageTitle:`登录 · {brand}`,subtitle:`登录管理后台`,email:`电子邮件`,password:`密码`,submit:`登录`,invalidEmail:`请输入有效的电子邮件地址`,welcome:`欢迎回来,{name}。`,signedOutIdle:`由于 {minutes} 分钟内没有操作,你已被登出。重新登录即可从上次离开的地方继续。`,impersonationEnded:`模拟身份已过期,且无法续期你自己的会话。请重新登录以继续。`},home:{title:`仪表盘`}},list:{field:`字段`,search:`搜索{label}…`,noSearch:`没有可搜索的字段`,noGrouping:`不分组`,groupBy:`分组依据`,groupHeader:`{label}:`,expandGroup:`展开分组`,collapseGroup:`折叠分组`,trash:{label:`回收站`,active:`正常`,only:`回收站`,with:`正常和回收站`},exportCsv:`导出 CSV`,importCsv:`导入 CSV`,exportQueued:`导出数据量较大,已加入队列;完成后会通知你。`,exportPrepared:`正在准备导出;完成后会通知你。`,export:`导出`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`没有匹配项`,empty:`暂无{label}`,summary:{sum:`合计`,avg:`平均值`,min:`最小值`,max:`最大值`,count:`计数`},operation:{deleteTitle:`删除 {count} 个{noun}?`,restoreTitle:`恢复 {count} 个{noun}?`,forceDeleteTitle:`永久删除 {count} 个{noun}?`,deleteAllTitle:`删除所有匹配的{noun}?`,restoreAllTitle:`恢复所有匹配的{noun}?`,forceDeleteAllTitle:`永久删除所有匹配的{noun}?`,toTrash:`它们将移至回收站,可以恢复。`,irreversible:`此操作无法撤销。`,restored:`已恢复 {count} 个{noun}。`,deleted:`已删除 {count} 个{noun}。`},bulk:{allMatching:`全部 {total} 个匹配项`,allMatchingUncounted:`所有匹配的记录`,selected:`已选择 {count} 个`,selectAllMatching:`选择全部 {total} 个匹配项`,selectAllMatchingUncounted:`选择所有匹配的记录`,onlyChecked:`仅勾选的行`,clearSelection:`清除选择`},bulkEdit:{everyMatching:`所有匹配的{noun}({count})`,everyMatchingUncounted:`所有匹配的{noun}`,some:`{count} 个{noun}`,title:`编辑{subject}`,fieldsToChange:`要更改的字段`,fieldsHint:`只写入你选择的字段;其他值保持不变。`,applyTo:`应用到 {count} 个`,applyToAll:`应用到所有匹配项`,updated:`已更新 {count} 个{noun}。`},columns:{title:`列`,moveUp:`上移`,moveDown:`下移`,reset:`重置`},filter:{add:`添加筛选`,condition:`条件`,value:`值`,from:`从`,to:`至`,commaSeparated:`以逗号分隔`,clear:`清除`,yes:`是`,no:`否`,and:`且`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`任一满足`,anyOfGroup:`任一满足,第 {n} 组`,alternative:`备选 {n}`,or:`或`,orCondition:`或…`,addAnyOf:`添加“任一满足”`,addToAlternative:`向备选 {n} 添加条件`,removeGroup:`移除第 {n} 组`,advanced:`高级条件`,operators:{eq:`等于`,ne:`不等于`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`属于任一`,nin:`不属于任一`,like:`包含`,nlike:`不包含`,between:`介于`,null:`为空`,nnull:`不为空`}},views:{menu:`视图`,allRecords:`所有记录`,default:`默认`,updateWithCurrent:`用当前列表更新视图`,delete:`删除视图`,deleteTitle:`删除视图“{name}”?`,saveCurrent:`将当前保存为视图…`,saveTitle:`保存视图`,updateTitle:`更新“{name}”`,name:`名称`,share:`与所有管理员共享`,openWith:`使用此视图打开该资源`,openWithForEveryone:`对所有未设置个人默认视图的人都以此方式打开`,shareFirst:`共享该视图后才能将其设为所有人的默认视图。`,everyoneDefault:`所有人的默认视图`,saved:`视图“{name}”已保存。`},import:{title:`导入{label}`,file:`CSV 文件`,analyse:`分析`,instructions:"共 {rows} 行。将每一列映射到一个字段,或不映射以跳过该列。`manyToMany` 列接受以 `{pipe}` 分隔的标识符。",csvColumn:`CSV 列`,sample:`示例`,skip:`— 跳过 —`,start:`导入 {rows} 行`,queued:`已将 {rows} 行的导入加入队列。`,mode:`行`,modes:{create:`创建新记录`,update:`更新现有记录`,upsert:`更新或创建`},key:`行匹配依据`,noKey:`请先将一列映射到主键或唯一字段。`,modeHelp:{update:`每一行更新值匹配的记录;没有匹配记录的行会写入失败行文件。`,upsert:`每一行更新值匹配的记录;没有匹配时则新建一条记录。`}},pager:{page:`第 {page} 页`},page:{create:`新建{noun}`,unknown:`未知资源`,unknownText:`没有注册为“{slug}”的内容。`},inline:{editLabel:`编辑{label}`,pending:`{count} 项未保存的更改`,save:`保存更改`,discard:`放弃`,saved:`已保存 {count} 条记录。`,conflict:`自列表加载以来有记录已更改。请重新加载后再编辑。`,leaveTitle:`放弃 {count} 项未保存的更改?`,leaveText:`离开列表将丢弃你尚未保存的编辑。`}},record:{unknownResource:`未知资源`,new:`新建`,newTitle:`新建{label}`,editTitle:`编辑{title}`,createNotAllowed:`此资源不允许在此处创建记录。`,editNotAllowed:`你无权编辑此记录。`,saved:`{label}已保存。`,duplicate:`复制`,copyOf:`“{title}”的副本。必须唯一的值和文件初始为空。`,variants:{menu:`更多保存方式`,saveContinue:`保存并继续编辑`,createContinue:`创建并继续编辑`,createAnother:`创建并继续添加`},leave:{title:`放弃你的更改?`,text:`离开此页面将丢弃你尚未保存的更改。`,discard:`放弃`},inTrash:`在回收站中`,deleteTitle:`删除{noun}“{title}”?`,deleteForeverTitle:`永久删除{noun}“{title}”?`,deleteSoftText:`它将移至回收站,可以恢复。`,deleteHardText:`此操作无法撤销。`,trashed:`{label}已移至回收站。`,deleted:`{label}已删除。`,restored:`{label}已恢复。`,impersonate:{action:`模拟登录`,title:`以“{title}”的身份操作?`,text:`你将看到并执行对方权限内的操作,每项更改都会记录为对方所做,并注明你是模拟登录者。`,started:`你现在正以 {title} 的身份操作。`},audit:{title:`历史记录`,byUser:`由用户 {actor}`,impersonatedBy:`(由 {impersonator} 模拟登录)`,empty:`没有已记录的更改。`,revert:`还原`,revertLabel:`还原此更改`,revertTitle:`还原此更改?`,revertText:`恢复 {fields} 的先前值。此次还原也会记录在历史记录中。`,reverted:`更改已还原。`},panel:{attach:`关联`,attachTitle:`关联{label}`,attachCount:`关联 {count} 个`,attached:`已关联 {count} 个{label}。`,records:`记录`,record:`记录`,empty:`暂无{label}。`,detach:`取消关联`,detachLabel:`取消关联{title}`,detachTitle:`取消关联“{title}”?`,detachText:`它仍是一个{target};只会移除它与此{owner}的关联。`,detached:`已取消关联{title}。`}},actions:{runOn:`对{subject}执行{action}?`,subjectAll:`所有匹配的{label}({count})`,subjectAllUncounted:`所有匹配的{label}`,subjectCount:`{count} 个{label}`,done:`{label}已完成。`,declined:`该操作已被拒绝。`,redirectRefused:`该操作要求打开管理后台之外的页面,未予打开。`,downloadStarted:`已开始下载。`,queued:`{label}已加入队列。`},dashboard:{title:`仪表盘`,range:`时间范围`,loading:`加载中`,percent:`{value}%`,duration:{minutes:`{value} 分钟`,hours:`{value} 小时`},partition:{empty:`此范围内没有数据。`},progress:{of:`/ {target}`,label:`进度`},stat:{previous:`之前为 {value}`},table:{empty:`暂无内容。`,seeAll:`查看全部`},trend:{total:`合计 {value}`}},jobs:{title:`任务`,heading:`后台任务`,columns:{job:`任务`,resource:`资源`,status:`状态`,progress:`进度`,started:`开始时间`},empty:`暂无任务。大型导出、导入和排队的操作会显示在这里。`,kind:{action:`操作`,export:`导出`,import:`导入`},status:{queued:`排队中`,running:`运行中`,done:`已完成`,failed:`失败`,stalled:`停滞`},detail:{pageTitle:`任务 #{id}`,fallbackTitle:`任务`,started:`开始于 {date}`,finished:`完成于 {date}`,progress:`任务进度`,processed:`已处理 {processed} 条`,processedOfTotal:`已处理 {processed} / {total} 条`,download:`下载{file}`,file:`文件`}},settings:{pageTitle:`设置`,heading:`设置`,empty:{title:`没有设置`,text:`此账户没有可管理的设置。`},saved:`{label}已保存。`},fields:{cell:{loading:`正在加载{label}`},keyValue:{key:`键`,value:`值`,entry:`条目 {n}`,add:`添加条目`,remove:`移除条目 {n}`,more:`另外 +{count} 项`,repeated:`重复使用:{keys}。将保留最后一个。`},repeater:{add:`添加{label}`,remove:`移除{label} {n}`,row:`{label} {n}`,count:`{count} / 最多 {max}`,unavailable:`你无权查看这些行。`},relation:{placeholder:`输入以搜索`,dependsFirst:`请先选择{label}`},upload:{storageKey:`文件的存储键。`,tooLarge:`文件大于 {size} MB。`,rejected:`文件{message}`,uploaded:`已上传 {name}({size} KB)`,theFile:`该文件`,upTo:`最大 {size} MB`,preview:`{label}预览`,remove:`移除{label}`},richtext:{toolbar:`{label}格式`,bold:`粗体`,italic:`斜体`,underline:`下划线`,strike:`删除线`,code:`代码`,heading:`标题 {level}`,bulletList:`项目符号列表`,orderedList:`编号列表`,blockquote:`引用`,codeBlock:`代码块`,horizontalRule:`分隔线`,link:`链接`,linkUrl:`链接地址`,linkRefused:`请使用 http(s)、mailto 或相对链接`,insertTable:`插入表格`,addRow:`添加行`,addColumn:`添加列`,deleteRow:`删除行`,deleteColumn:`删除列`,deleteTable:`删除表格`,image:`插入图片`,undo:`撤销`,redo:`重做`,source:`源码`,visual:`可视化`,sourceOf:`{label}源码`},rules:{maxLength:`最多 {max} 个字符`,minLength:`至少 {min} 个字符`,email:`请输入有效的电子邮件地址`,url:`请输入有效的 URL`,greaterThan:`必须大于 {limit}`,greaterThanOrEqual:`必须至少为 {limit}`,lessThan:`必须小于 {limit}`,lessThanOrEqual:`必须最多为 {limit}`,invalidFormat:`格式无效`,notAllowed:`不是允许的值`}}}},Qf=[`ar`,`fa`,`he`,`ur`,`yi`];function $f(e){return Qf.includes(e.split(`-`)[0].toLowerCase())}function ep(e){return e.replace(/-([a-z])/gi,(e,t)=>t.toUpperCase())}function tp(e,t){let n=ep(e);if(t[n])return n;let r=e.split(`-`)[0];return t[r]?r:`en`}function np(e){return $f(e)?`rtl`:`ltr`}function rp(e,t,n){try{let r=new Intl.DisplayNames([t],{type:`language`}).of(e);return r&&r!==e&&r.toLocaleLowerCase(t)!==n?.toLocaleLowerCase(t)?r:null}catch{return null}}var ip=[`zero`,`one`,`two`,`few`,`many`,`other`],ap=[...Array.from({length:1001},(e,t)=>t),1e4,1e5],op=new Map;function sp(e){let t=op.get(e);if(!t){let n;try{n=new Intl.PluralRules(e)}catch{n=new Intl.PluralRules(`en`)}let r=new Set(ap.map(e=>n.select(e)));t=ip.filter(e=>r.has(e)),op.set(e,t)}return t}function cp(e){return(t,n)=>{let r=sp(e);if(n===r.length){let i;try{i=new Intl.PluralRules(e).select(t)}catch{i=`other`}let a=r.indexOf(i);return a>=0?a:r.includes(`other`)?r.indexOf(`other`):n-1}return n===2?Math.abs(t)===1?0:1:Math.min(Math.max(n-1,0),Math.abs(t)===1?0:n-1)}}var lp=we({name:`vector-i18n`,enforce:`pre`,setup(e){let t=ii(),n=window.__VECTOR__?.locale,r=null;try{r=window.localStorage.getItem(`vector.locale`)}catch{}let i=n||r||t.vector.locale||`en`,a=[...new Set([...Object.keys(Zf),...Object.keys(t.vector.messages??{}),i])],o=Rf({legacy:!1,locale:i,fallbackLocale:`en`,messages:{...Zf},pluralRules:Object.fromEntries(a.map(e=>[e,cp(e)])),missingWarn:!1,fallbackWarn:!1});for(let[e,n]of Object.entries(t.vector.messages??{}))o.global.mergeLocaleMessage(e,n);e.vueApp.use(o);let s=o;return si(s),ci(i),document.documentElement.lang=i,document.documentElement.dir=$f(i)?`rtl`:`ltr`,e.hook(`vuetify:before-create`,async({vuetifyOptions:e})=>{let t=await zo(()=>import(`./R0rf_l_C.js`),__vite__mapDeps([120,18]),import.meta.url),n=Object.fromEntries(Object.entries(t).filter(([,e])=>e&&typeof e==`object`&&!Array.isArray(e))),r=tp(i,n);e.locale={...typeof e.locale==`object`?e.locale:{},locale:r,fallback:`en`,messages:n,rtl:Object.fromEntries(Qf.map(e=>[e,!0]))}}),{provide:{vectorI18n:s}}}}),up=we(()=>{let e=Gt();ni(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),dp=we(e=>{let t;async function n(){let r;try{r=await Wo()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,Ce);try{let n=await dn(mn(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}ni(()=>{t=setTimeout(n,Ce)})});function fp(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw Kt.NUXT_E2010({path:t});if(n.protocol&&cn(n.protocol))throw Kt.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:ke().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var pp=we({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Vt(navigator.userAgent)&&fp()})}}),mp=we({name:`nuxt:chunk-reload`,setup(e){let t=Gt(),n=ye(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){fp({path:Lt(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),hp=/2g/;function gp(){let e=navigator.connection;return!e||!e.saveData&&!hp.test(e.effectiveType||``)}function _p(e){let{pathname:t,search:n}=new URL(e,window.location.href);return t+n}function vp(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}function yp(e){return Promise.all(e.map(e=>{let t=e.components?.default;return typeof t==`function`?Promise.resolve(t()).catch(()=>{}):void 0}))}function bp(e,t){let{fullPath:n,path:r,matched:i}=t.resolve(e);if(!i.length)return;let a=Oe()?._prefetch;a?a.schedule({key:`route:${r}`,priority:`route`,scope:`navigation`,group:_p(n),run:e=>e.aborted?void 0:yp(i)}):yp(i)}var xp=(...e)=>e.find(e=>e!==void 0);function Sp(e){let t=e.componentName||`NuxtLink`;function n(e){return typeof e==`string`&&e.startsWith(`#`)}function r(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return wp(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:wp(a,i)}}function i(t){let i=Gt(),a=ye(),o=i.options?.history?.createHref??(e=>Lt(a.app.baseURL,e)),s=N(()=>!!j(t.target)&&j(t.target)!==`_self`),c=N(()=>{let e=j(t.to)||j(t.href)||``;return typeof e==`string`&&qt(e)}),l=N(()=>{if(j(t.external))return!0;let e=j(t.to)||j(t.href)||``;return typeof e==`object`?!1:e===``||c.value}),u=N(()=>{let e=j(t.to)||j(t.href)||``;return l.value?e:r(e,i.resolve,j(t.trailingSlash))}),d=N(()=>{let r=j(t.trailingSlash)??e.trailingSlash;if(!u.value||c.value||n(u.value)){let e=u.value;return typeof e==`string`?un(e):e}if(l.value){let e=typeof u.value==`object`&&`path`in u.value?Zt(u.value):u.value,t=typeof e==`object`?i.resolve(e).href:e,n=typeof t==`string`?un(t):t;return n===null?null:wp(n,r)}return typeof u.value==`object`?i.resolve(u.value)?.href??null:wp(sn(u.value)?o(u.value):i.resolve(u.value).href,r)});return{to:u,hasTarget:s,isAbsoluteUrl:c,isExternal:l,href:d,async navigate(e){d.value!==null&&await Wt(d.value,{replace:j(t.replace),external:l.value||s.value})}}}function a(e){let t=Gt(),n=i(e),r=We(`RouterLink`),a=r&&typeof r!=`string`?r.useLink:void 0,o=n.isExternal.value?void 0:a?.({...e,to:n.to,viewTransition:j(e.viewTransition)});return{...n,isActive:o?.isActive??N(()=>n.to.value===t.currentRoute.value.path),isExactActive:o?.isExactActive??N(()=>n.to.value===t.currentRoute.value.path),route:o?.route??N(()=>t.resolve(n.to.value))}}return ct({name:t,props:{to:{type:[String,Object],required:!1},href:{type:[String,Object],required:!1},target:{type:String,required:!1},rel:{type:String,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},prefetchedClass:{type:String,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,required:!1}},useLink:a,setup(t,{slots:r}){let a=Gt(),o=We(`RouterLink`),{to:s,href:c,navigate:l,isExternal:u,hasTarget:d,isAbsoluteUrl:f}=i(t),p=P(!1),m=wt(null),h=e=>{m.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function g(n){return typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n]}function _(){return!!((t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&gp())}function v(e){return!!(!p.value&&g(e)&&_())}function y(){let e=typeof s.value==`string`?s.value:u.value?Zt(s.value):a.resolve(s.value).fullPath;return u.value?new URL(e,window.location.href).href:e}function b(){p.value?u.value||ke()._prefetch?.promote(_p(y())):g(`interaction`)&&x()}async function x(e=ke()){if(p.value||c.value===null)return;p.value=!0;let t=y();await Promise.all([e.hooks.callHook(`link:prefetch`,t)?.catch(()=>{}),!u.value&&!d.value&&bp(s.value,a)])}if(!t.custom&&v(`visibility`)){let e=ke(),t,n=null;Ze(()=>{let r=Tp();ni(()=>{t=ei(()=>{m?.value?.tagName&&(n=r.observe(m.value,async()=>{n?.(),n=null,await x(e)}))})})}),st(()=>{t&&Qr(t),n?.(),n=null})}return()=>{let i=t.target||null,y=xp(t.noRel?``:t.rel,e.externalRelAttribute,f.value||d.value?`noopener noreferrer`:``)||null,S=e=>({navigate:l,get route(){if(!c.value)return;let e=new URL(c.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return It(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:y,target:i,isExternal:u.value||d.value,isActive:!1,isExactActive:!1,...e,href:typeof e?.href==`string`?un(e.href):c.value,prefetch:x,prefetched:p.value,shouldPrefetch:v});if(!u.value&&!d.value&&!n(s.value)){let n={ref:h,to:s.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||((g(`interaction`)||p.value)&&_()&&(n.onPointerenter=b,n.onFocus=b,n.onPointerdown=b),p.value&&(n.class=t.prefetchedClass||e.prefetchedClass),n.rel=t.rel||void 0),Fe(o,n,t.custom&&r.default?{default:e=>r.default(S(e))}:r.default)}return t.custom?r.default?r.default(S()):null:Fe(`a`,{ref:m,href:c.value||null,rel:y,target:i,onClick:async e=>{if(!(u.value||d.value)){e.preventDefault();try{let e=rn(c.value??``);return await(t.replace?a.replace(e):a.push(e))}finally{if(n(s.value)){let e=s.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},r.default?.())}}})}var Cp=Sp(Ee);function wp(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?Pt:Rt;return Bt(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Tp(){let e=ke();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var Ep=we({name:`nuxt:island-link-navigation`,setup(e){}}),Dp=`0123456789abcdef`;Array.from({length:256},(e,t)=>Dp.charAt(t>>4)+Dp.charAt(t&15));function Op(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=kp(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,Tt(()=>{r=!1;let a=o??e;o=void 0;let c=t.leading?n:s(this,a);for(let e of i)e(c);i=[]})),c?(n=s(this,e),a(n)):i.push(a)})}}async function kp(e,t,n){return await e.apply(t,n)}ct({name:`ServerPlaceholder`,render(){return Xe(`div`)}});var Ap=Symbol.for(`nuxt:client-only`);ct({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let r=P(!1);Ze(()=>{r.value=!0});let i=Ve();return i&&(i._nuxtClientOnly=!0),it(Ap,!0),()=>{if(r.value){let e=t.default?.();return e&&e.length===1?[at(e[0],n)]:e}let i=t.fallback||t.placeholder;if(i)return Fe(i);let a=e.fallback||e.placeholder||``,o=ri(e.fallbackTag||e.placeholderTag,`span`);return Xe(o,n,a)}}});var jp=Me({docsBase:Ne,reporters:ve});function Mp(e={}){{function t(...t){let n=typeof t[t.length-1]==`string`?t.pop():void 0;Fp(t[0],t[1])&&t.unshift(n);let[r,i,a={}]=t,o=!1,s=St(r)||typeof r==`function`,c=s?N(()=>Re(r)):{value:r};if(!c.value||typeof c.value!=`string`)throw jp.NUXT_E3008();if(typeof i!=`function`)throw jp.NUXT_E3009();let l=typeof e==`function`,u=ke(),d=l?e(a):e;if(!l)for(let e in d)d[e]!==void 0&&a[e]===void 0&&(a[e]=d[e]);if(a.server??=!0,a.default??=zp,a.getCachedData??=Bp,a.lazy??=!1,a.immediate??=!0,a.deep??=xe.deep,a.dedupe??=`cancel`,a.enabled??=!0,l)for(let e in d)d[e]!==void 0&&(a[e]=d[e]);u._asyncData[c.value];let f,p=()=>u._asyncData[c.value]??f;function m(){let e={cause:`initial`,dedupe:a.dedupe},t=u._asyncData[c.value];return t?._init?u._asyncDataPromises[c.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=a.getCachedData(c.value,u,{cause:`initial`}),u._asyncData[c.value]=Rp(u,c.value,i,a,e.cachedData),u._asyncData[c.value]._initialCachedData=e.cachedData),f=u._asyncData[c.value],()=>u._asyncData[c.value].execute(e)}let h=m(),g=u._asyncData[c.value];g._deps++;let _=a.server!==!1&&u.payload.serverRendered,v=()=>!1;{let e=Ve(),t=!!e||v();if(_&&a.immediate&&fa(),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;_t(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),nt(()=>t.splice(0,t.length))}let n=t&&(e?._nuxtClientOnly||Be(Ap,!1)),r=c.value in u.payload.data;_&&u.isHydrating&&(g.error.value||g.data.value!==void 0&&(r||g._initialCachedData!==void 0))?g.status.value=g.error.value?`error`:`success`:t&&(!n&&u.payload.serverRendered&&u.isHydrating&&(!_||r)||a.lazy)&&a.immediate?e?e._nuxtOnBeforeMountCbs.push(h):_t(()=>{h()}):a.immediate&&g.status.value!==`success`&&h();function l(e){let t=u._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let d=Ye(),p=()=>{},m=s?A(c,(e,t)=>{if((e||t)&&e!==t){o=!0;let n=u._asyncData[t]?.data.value!==void 0,r=u._asyncDataPromises[t]!==void 0,s={cause:`initial`,dedupe:a.dedupe};if(!u._asyncData[e]?._init){let r=a.getCachedData(e,u,{cause:`initial`});s.cachedData=r;let o=t&&n&&r===void 0?u._asyncData[t].data.value:r;u._asyncData[e]=Rp(u,e,i,a,o),u._asyncData[e]._initialCachedData=r}u._asyncData[e]._deps++,f=u._asyncData[e],t&&l(t),a._keyTriggersExecute!==!1&&(a.immediate||n||r)&&u._asyncData[e].execute(s),Tt(()=>{o=!1})}},{flush:`sync`}):p,y=a.watch?A(a.watch,()=>{o||u._asyncData[c.value]?._execute({cause:`watch`,dedupe:a.dedupe})}):p,b=St(a.enabled)||typeof a.enabled==`function`?A(()=>Re(a.enabled),e=>{let t=u._asyncData[c.value];!e&&t&&u._asyncDataPromises[c.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete u._asyncDataPromises[c.value],t.status.value=`idle`)}):p;d&&ht(()=>{m(),y(),b(),l(c.value)})}let y={data:Pp(()=>p()?.data,!a.deep),pending:Pp(()=>p()?.pending),status:Pp(()=>p()?.status),error:Pp(()=>p()?.error),refresh:(...e)=>u._asyncData[c.value]?._init?u._asyncData[c.value].execute(...e):m()(),execute:(...e)=>y.refresh(...e),clear:()=>{let e=u._asyncData[c.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}Ip(u,c.value)}},b=Promise.resolve(a.lazy?void 0:u._asyncDataPromises[c.value]).then(()=>y);return Object.assign(b,y),Object.defineProperties(b,{then:{enumerable:!0,value:b.then.bind(b)},catch:{enumerable:!0,value:b.catch.bind(b)},finally:{enumerable:!0,value:b.finally.bind(b)}}),b}return t}}var Np=Mp();function Pp(e,t=!1){let n=N({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}});return t&&(n.__v_isShallow=!0),n}function Fp(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function Ip(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=j(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`,e._asyncData[t]._initialCachedData=void 0),delete e._asyncDataPromises[t]}function Lp(e,t){let n={};for(let r of t)n[r]=e[r];return n}function Rp(e,t,n,r,i){e.payload._errors[t]??=void 0;let a=r.getCachedData!==Bp,o=n,s=r.deep?wt:P,c=i!==void 0,l=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await u.execute({cause:`refresh:hook`})}),u={data:s(c?i:r.default()),pending:N(()=>u.status.value===`pending`),error:Et(e.payload._errors,t),status:P(`idle`),execute:(...n)=>{let[i,a=void 0]=n,s=i&&a===void 0&&typeof i==`object`?i:{};if(e._asyncDataPromises[t]&&(s.dedupe??r.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in s?s.cachedData:r.getCachedData(t,e,{cause:s.cause??`refresh:manual`});if(n!==void 0)return r.serialize!==!1&&(e.payload.data[t]=n),u.data.value=n,u.error.value=void 0,u.status.value=`success`,Promise.resolve(n)}if(Re(r.enabled)===!1)return Promise.resolve(u.data.value);u._abortController&&u._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),u._abortController=new AbortController,u.status.value=`pending`;let c=new AbortController,l=new Promise((t,n)=>{try{let i=s.timeout??r.timeout,a=Vp([u._abortController?.signal,s?.signal],c.signal,i);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:c.signal});let l={signal:a},d=()=>Promise.resolve(o(e,l));if(r.middleware?.length)for(let e=r.middleware.length-1;e>=0;e--){let t=r.middleware[e],n=d;d=()=>Promise.resolve(t(n,l))}return d().then(t,n)}catch(e){n(e)}}).then(async n=>{if(e._asyncDataPromises[t]!==l)return;let i=n;r.transform&&(i=await r.transform(n)),r.pick&&(i=Lp(i,r.pick)),r.serialize!==!1&&(e.payload.data[t]=i),u.data.value=i,u.error.value=void 0,u.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]!==l||u._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return u.status.value=`idle`,e._asyncDataPromises[t];u.error.value=Ut(n),u.data.value=j(r.default()),u.status.value=`error`}).finally(()=>{c.abort(),e._asyncDataPromises[t]===l&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=l,e._asyncDataPromises[t]},_execute:Op((...e)=>u.execute(...e)),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{l(),e._asyncData[t]===u&&(e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),e._asyncDataPromises[t]&&(u._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[t],u.status.value===`pending`&&(u.status.value=`idle`)),a||xt(()=>{u._deps>0||(u.execute=()=>Promise.resolve(),e._asyncData[t]===u&&(Ip(e,t),delete e._asyncData[t]))}))}};return u}var zp=()=>void 0,Bp=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function Vp(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}globalThis.cookieStore;function Hp(e){return No(e)}function Up(e,t){return j(t)??e?.meta.layout??Hp(e?.path??`/`).appLayout??`default`}var Wp=we({name:`pinia`,setup(e){let t=hn();return e.vueApp.use(t),fn(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){let e=ke();e.payload.pinia=Ie(e.$pinia).state.value,fn(void 0)}}}),Gp=we({name:`nuxt:global-components`}),Kp={default:He(()=>zo(()=>import(`./2oUN-NEf.js`).then(e=>e.default||e),__vite__mapDeps([121,3,122,10,11,26,2,12,17,18,42,37,21,36,19,38,27,15,23,16,13,14,31,32,123,84,83,76,33,22,24,39,110,56,63,55,124,95,58,60,125]),import.meta.url)),vector:He(()=>zo(()=>import(`./F676SWHd.js`).then(e=>e.default||e),__vite__mapDeps([126,10,3,11,1,2,4,5,6,26,12,17,18,21,42,37,36,19,38,27,15,23,16,28,29,13,30,14,31,32,33,22,24,34,7,89,122,123,84,83,76,39,35,79,41,80,78,46,81,82,85,116,44,127,111,49,48,87,54,103,91,56,63,55,58,60,61,62,124,95,125,64,65,94,92,96,98,117,68,128]),import.meta.url))},qp=[`route`,`payload`,`island`,`hint`],Jp=12,Yp={route:8,payload:8,island:4,hint:8};function Xp(e={}){let t={...Yp,...e.concurrency},n=e.total??Jp,r=e.canPrefetch,i=e.defer,a={route:[],payload:[],island:[],hint:[]},o=qp.map(e=>a[e]),s=new WeakSet,c=new Map,l={route:0,payload:0,island:0,hint:0},u=0,d=new Map,f=new AbortController,p=new AbortController;p.abort();function m(e){c.get(e.key)===e&&c.delete(e.key)}function h(e){m(e),Promise.resolve().then(()=>e.run(p.signal,!1)).catch(()=>{})}function g(){if(!r||r())for(;u<n;){let e=qp.find(e=>a[e].length&&l[e]<t[e]);if(!e)return;let n=a[e].shift();_(n,s.delete(n))}}function _(e,t){let n=e.scope===`app`?f:new AbortController;e.scope===`navigation`&&d.set(e,n),l[e.priority]++,u++;let r=!1,a=()=>{r||(r=!0,l[e.priority]--,u--,d.delete(e),m(e),g())};n.signal.addEventListener(`abort`,a,{once:!0});let o=()=>Promise.resolve().then(()=>e.run(n.signal,t)).then(a,a);i?i(o,t,e.priority):o()}let v=(e,t)=>t!==void 0&&e.group===t&&e.priority!==`hint`;return{schedule(e){let t=[];for(let n of Array.isArray(e)?e:[e])c.has(n.key)?h(n):(c.set(n.key,n),t.push(n));for(let e=t.length-1;e>=0;e--)a[t[e].priority].unshift(t[e]);g()},promote(e){for(let t of o){let n=[],r=[];for(let i of t)i.group===e&&s.add(i),(i.group===e?n:r).push(i);t.length=0,t.push(...n,...r)}g()},reset(e){for(let t of o)for(let n=t.length-1;n>=0;n--){let r=t[n];r.scope===`navigation`&&!v(r,e)&&(t.splice(n,1),h(r))}for(let[t,n]of[...d])v(t,e)||n.abort();g()},resume:g}}var Zp=1e3;function Qp(e,t,n){if(t||n===`route`)return e();let r=globalThis.scheduler;r?.postTask?r.postTask(e,{priority:`background`}).catch(()=>{}):ei(e,{timeout:Zp})}function $p(e=ke()){if(e._prefetch)return e._prefetch;let t=!1,n=Xp({canPrefetch:()=>gp()&&!t&&document.visibilityState!==`hidden`,defer:Qp});e._prefetch=n,navigator.connection?.addEventListener?.(`change`,()=>n.resume()),document.addEventListener(`visibilitychange`,()=>n.resume());let r=e.$router;return r.beforeEach(()=>{t=!0}),r.afterEach(e=>{t=!1,n.reset(_p(e.fullPath))}),r.onError(()=>{t=!1,n.resume()}),n}var em=we({name:`nuxt:prefetch`,setup(e){let t=Gt();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;typeof t==`string`&&t in Kp&&await vp(Kp[t])})});let{schedule:n}=$p(e);e.hooks.hook(`link:prefetch`,async e=>{if(Bt(e))return;let r=t.resolve(e);if(!r)return;let i=r.meta.layout,a=ys(r.meta.middleware).filter(e=>typeof e==`string`);n({key:`route:chunks:${e}`,priority:`route`,scope:`navigation`,group:_p(e),run:e=>{if(e.aborted)return;let t=[];for(let e of a){let n=lc[e];typeof n==`function`&&t.push(n())}return typeof i==`string`&&i in Kp&&t.push(vp(Kp[i])),Promise.all(t).catch(()=>{})}})})}}),tm=we(()=>({provide:rt({ssrClientHints:{firstRequest:!1,prefersColorSchemeAvailable:!1,prefersReducedMotionAvailable:!1,viewportHeightAvailable:!1,viewportWidthAvailable:!1}})})),nm=we(e=>{e.hook(`vuetify:before-create`,({vuetifyOptions:e})=>{let t=window.__VECTOR__?.cspNonce;t&&(e.theme={...typeof e.theme==`object`?e.theme:{},cspNonce:t})})});function rm(){let e=_n(`vector.ext.cells`,()=>kt(new Map)),t=_n(`vector.ext.inputs`,()=>kt(new Map)),n=_n(`vector.ext.widgets`,()=>kt(new Map)),r=_n(`vector.ext.pages`,()=>kt(new Map)),i=_n(`vector.ext.richText`,()=>kt(new Map)),a=_n(`vector.ext.ready`,()=>!1);return{cells:e.value,inputs:t.value,widgets:n.value,pages:r.value,richText:i.value,ready:a}}function im(){let e=ii(),{pages:t}=rm();return N(()=>({...e.vector.pages,...Object.fromEntries(t.entries())}))}function am(){let e=pm(),t=_n(`vector.preferences`,()=>null);async function n(){return t.value===null&&(t.value=(await e(`/vector/preferences`)).data),t.value}function r(e){return t.value?.[e]}async function i(n){t.value=(await e(`/vector/preferences`,{method:`PUT`,body:n})).data}function a(){t.value=null}return{preferences:t,load:n,get:r,put:i,clear:a}}var om=`vector.uiVersion.dismissed`,sm=`@kinetis/vector-ui`;function cm(e,t){return t?oi(`shell.version.hostedRemedy`):e===null?oi(`shell.version.layeredRemedyAny`,{package:sm}):oi(`shell.version.layeredRemedy`,{package:sm,version:e})}function lm(){let{schema:e}=dm(),t=String(ye().public.vector.uiVersion??``),n=N(()=>e.value?.ui?.expected??null),r=N(()=>`${t}→${n.value}`),i=_n(om,()=>sessionStorage.getItem(om)),a=N(()=>n.value!==null&&n.value!==t),o=N(()=>a.value&&i.value!==r.value),{hosted:s}=pn(),c=N(()=>cm(n.value,s));function l(){i.value=r.value,sessionStorage.setItem(om,r.value)}return{current:t,expected:n,mismatch:a,visible:o,remedy:c,dismiss:l}}var um=0;function dm(){let e=_n(`vector.schema`,()=>null),t=_n(`vector.schema.loading`,()=>!1),n=pm();async function r(r=!1){if(e.value&&!r)return li(e.value.minorUnits??{}),e.value;t.value=!0;let i=++um,{hosted:a}=pn();try{let t=await n(`/vector/schema`);if(t?.version!==4)throw Error(oi(`shell.unsupportedDescriptor`,{version:String(t?.version),supported:4,remedy:cm(t?.ui?.expected??null,a)}));return i===um&&(e.value=t,li(t.minorUnits??{})),t}finally{i===um&&(t.value=!1)}}function i(){e.value=null}function a(t){return e.value?.resources[t]}return{schema:e,loading:t,load:r,clear:i,resource:a,menu:N(()=>(e.value?.menu??[]).map(t=>({label:t.label,items:t.resources.map(t=>e.value.resources[t]).filter(e=>e!==void 0)})))}}var fm=null;function pm(){let e=ye(),t=ii(),n=pn(),r=gn(),i=Gt();return dn.create({baseURL:n.hosted?n.apiBase??``:e.public.vector.apiBase,credentials:n.hosted?`same-origin`:`omit`,async onRequest({options:e}){if(n.hosted){let t=String(e.method??`GET`).toUpperCase();n.csrfToken&&![`GET`,`HEAD`,`OPTIONS`].includes(t)&&e.headers.set(`X-CSRF-Token`,n.csrfToken)}else{let t=await r.fresh();t!==null&&(fm=null),Object.assign(e,{vectorToken:t,vectorUser:r.user===null?null:String(r.user.id)}),t&&e.headers.set(`Authorization`,`Bearer ${t}`)}},async onResponseError({response:e,options:t}){let i=t,o=r.token!==i.vectorToken,s=o&&r.token!==null&&r.user!==null&&String(r.user.id)===i.vectorUser;if(e.status===401&&!n.hosted&&!i.vectorRenewed&&(s||!o&&r.canRefresh&&await r.refresh()))i.vectorRenewed=!0,t.retry=1,t.retryStatusCodes=[401];else if(e.status===401){if(n.hosted&&n.loginUrl){window.location.assign(n.loginUrl);return}if(fm!==null&&fm.token===i.vectorToken){await fm.done;return}if(o&&r.token!==null)return;fm={token:i.vectorToken,done:a()},await fm.done}}});async function a(){let e=r.impersonating,n=t.vector.basePath||``;try{if(e&&await r.resume()){_n(`vector.impersonator`).value=null,am().clear(),vn().notify(oi(`shell.impersonation.ended`)),await dm().load(!0).catch(()=>void 0),await Wt(n||`/`);return}r.clear();let t=i.currentRoute.value.fullPath,a=t.startsWith(`${n}/login`)?{}:{redirect:t};await Wt({path:`${n}/login`,query:e?{...a,reason:`impersonation`}:a})}catch{}}}function mm(e){let t=e,n=t?.data;if(n&&typeof n==`object`){if(typeof n.error==`string`)return n.error;if(typeof n.detail==`string`)return n.detail;if(typeof n.title==`string`)return n.title}return typeof t?.message==`string`?t.message:String(e)}var hm=Object.defineProperty,gm=(e,t)=>{let n={};for(var r in e)hm(n,r,{get:e[r],enumerable:!0});return t||hm(n,Symbol.toStringTag,{value:`Module`}),n};function _m(e){this.content=e}_m.prototype={constructor:_m,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),a=r.content.slice();return i==-1?a.push(n||e,t):(a[i+1]=t,n&&(a[i]=n)),new _m(a)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new _m(n)},addToStart:function(e,t){return new _m([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new _m(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),a=r.find(e);return i.splice(a==-1?i.length:a,0,t,n),new _m(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=_m.from(e),e.size?new _m(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=_m.from(e),e.size?new _m(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=_m.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},_m.from=function(e){if(e instanceof _m)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new _m(t)};function vm(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),a=t.child(r);if(i==a)n+=i.nodeSize;else{if(!i.sameMarkup(a))return n;if(i.isText&&i.text!=a.text){let e=i.text,t=a.text,r=0;for(;e[r]==t[r];r++)n++;return r&&r<e.length&&r<t.length&&xm(e.charCodeAt(r-1))&&bm(e.charCodeAt(r))&&n--,n}if(i.content.size||a.content.size){let e=vm(i.content,a.content,n+1);if(e!=null)return e}n+=i.nodeSize}}}function ym(e,t,n,r){for(let i=e.childCount,a=t.childCount;;){if(i==0||a==0)return i==a?null:{a:n,b:r};let o=e.child(--i),s=t.child(--a),c=o.nodeSize;if(o==s)n-=c,r-=c;else{if(!o.sameMarkup(s))return{a:n,b:r};if(o.isText&&o.text!=s.text){let e=o.text,t=s.text,i=e.length,a=t.length;for(;i>0&&a>0&&e[i-1]==t[a-1];)i--,a--,n--,r--;return i&&a&&i<e.length&&xm(e.charCodeAt(i-1))&&bm(e.charCodeAt(i))&&(n++,r++),{a:n,b:r}}if(o.content.size||s.content.size){let e=ym(o.content,s.content,n-1,r-1);if(e)return e}n-=c,r-=c}}}function bm(e){return e>=56320&&e<57344}function xm(e){return e>=55296&&e<56320}var G=class e{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,r=0,i){for(let a=0,o=0;o<t;a++){let s=this.content[a],c=o+s.nodeSize;if(c>e&&n(s,r+o,i||null,a)!==!1&&s.content.size){let i=o+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}o=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i=``,a=!0;return this.nodesBetween(e,t,(o,s)=>{let c=o.isText?o.text.slice(Math.max(e,s)-s,t-s):o.isLeaf?r?typeof r==`function`?r(o):r:o.type.spec.leafText?o.type.spec.leafText(o):``:``;o.isBlock&&(o.isLeaf&&c||o.isTextblock)&&n&&(a?a=!1:i+=n),i+=c},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),a=1);a<t.content.length;a++)i.push(t.content[a]);return new e(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let e=0,a=0;a<n;e++){let o=this.content[e],s=a+o.nodeSize;s>t&&((a<t||s>n)&&(o=o.isText?o.cut(Math.max(0,t-a),Math.min(o.text.length,n-a)):o.cut(Math.max(0,t-a-1),Math.min(o.content.size,n-a-1))),r.push(o),i+=o.nodeSize),a=s}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:t==0&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,a)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw RangeError(`Index `+e+` out of range for `+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return vm(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return ym(this,e,t,n)}findIndex(e){if(e==0)return Cm(0,e);if(e==this.size)return Cm(this.content.length,e);if(e>this.size||e<0)throw RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=this.child(t),i=n+r.nodeSize;if(i>=e)return i==e?Cm(t+1,i):Cm(t,n);n=i}}toString(){return`<`+this.toStringInner()+`>`}toStringInner(){return this.content.join(`, `)}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw RangeError(`Invalid input for Fragment.fromJSON`);return e.fromArray(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let e=0;e<t.length;e++){let i=t[e];r+=i.nodeSize,e&&i.isText&&t[e-1].sameMarkup(i)?(n||=t.slice(0,e),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new e(n||t,r)}static from(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw RangeError(`Can not convert `+t+` to a Fragment`+(t.nodesBetween?` (looks like multiple versions of prosemirror-model were loaded)`:``))}};G.empty=new G([],0);var Sm={index:0,offset:0};function Cm(e,t){return Sm.index=e,Sm.offset=t,Sm}function wm(e,t){if(e===t)return!0;if(!(e&&typeof e==`object`)||!(t&&typeof t==`object`))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!wm(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!wm(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}var K=class e{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(this.eq(i))return e;if(this.type.excludes(i.type))t||=e.slice(0,r);else if(i.type.excludes(this.type))return e;else!n&&i.type.rank>this.type.rank&&(t||=e.slice(0,r),t.push(this),n=!0),t&&t.push(i)}return t||=e.slice(),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&wm(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Mark.fromJSON`);let n=e.marks[t.type];if(!n)throw RangeError(`There is no mark type ${t.type} in this schema`);return n.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort((e,t)=>e.type.rank-t.type.rank),n}};K.none=[];var Tm=class extends Error{},q=class e{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=Dm(this.content,t+this.openStart,n,this.openStart+1,this.openEnd+1);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(Em(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+`(`+this.openStart+`,`+this.openEnd+`)`}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(t,n){if(!n)return e.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!=`number`||typeof i!=`number`)throw RangeError(`Invalid input for Slice.fromJSON`);return new e(G.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let e=t.firstChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.firstChild)r++;for(let e=t.lastChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.lastChild)i++;return new e(t,r,i)}};q.empty=new q(G.empty,0,0);function Em(e,t,n){let{index:r,offset:i}=e.findIndex(t),a=e.maybeChild(r),{index:o,offset:s}=e.findIndex(n);if(i==t||a.isText){if(s!=n&&!e.child(o).isText)throw RangeError(`Removing non-flat range`);return e.cut(0,t).append(e.cut(n))}if(r!=o)throw RangeError(`Removing non-flat range`);return e.replaceChild(r,a.copy(Em(a.content,t-i-1,n-i-1)))}function Dm(e,t,n,r,i,a){let{index:o,offset:s}=e.findIndex(t),c=e.maybeChild(o);if(s==t||c.isText)return a&&r<=0&&i<=0&&!a.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let l=Dm(c.content,t-s-1,n,o==0?r-1:0,o==e.childCount-1?i-1:0,c);return l&&e.replaceChild(o,c.copy(l))}function Om(e,t,n){if(n.openStart>e.depth)throw new Tm(`Inserted content deeper than insertion position`);if(e.depth-n.openStart!=t.depth-n.openEnd)throw new Tm(`Inconsistent open depths`);return km(e,t,n,0)}function km(e,t,n,r){let i=e.index(r),a=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let o=km(e,t,n,r+1);return a.copy(a.content.replaceChild(i,o))}if(!n.content.size)return Pm(a,Im(e,t,r));if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let r=e.parent,i=r.content;return Pm(r,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}{let{start:i,end:o}=Lm(n,e);return Pm(a,Fm(e,i,o,t,r))}}function Am(e,t){if(!t.type.compatibleContent(e.type))throw new Tm(`Cannot join `+t.type.name+` onto `+e.type.name)}function jm(e,t,n){let r=e.node(n);return Am(r,t.node(n)),r}function Mm(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Nm(e,t,n,r){let i=(t||e).node(n),a=0,o=t?t.index(n):i.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&(Mm(e.nodeAfter,r),a++));for(let e=a;e<o;e++)Mm(i.child(e),r);t&&t.depth==n&&t.textOffset&&Mm(t.nodeBefore,r)}function Pm(e,t){if(!e.type.validContent(t))throw new Tm(`Invalid content for node `+e.type.name);return e.copy(t)}function Fm(e,t,n,r,i){let a=e.depth>i&&jm(e,t,i+1),o=r.depth>i&&jm(n,r,i+1),s=[];return Nm(null,e,i,s),a&&o&&t.index(i)==n.index(i)?(Am(a,o),Mm(Pm(a,Fm(e,t,n,r,i+1)),s)):(a&&Mm(Pm(a,Im(e,t,i+1)),s),Nm(t,n,i,s),o&&Mm(Pm(o,Im(n,r,i+1)),s)),Nm(r,null,i,s),new G(s)}function Im(e,t,n){let r=[];return Nm(null,e,n,r),e.depth>n&&Mm(Pm(jm(e,t,n+1),Im(e,t,n+1)),r),Nm(t,null,n,r),new G(r)}function Lm(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)r=t.node(e).copy(G.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}var Rm=class e{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position before the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position after the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[t*3],r=t==0?0:this.path[t*3-1]+1;for(let t=0;t<e;t++)r+=n.child(t).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return K.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let i=n.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive!==!1||r&&i[a].isInSet(r.marks)||(i=i[a--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)n[i].type.spec.inclusive!==!1||r&&n[i].isInSet(r.marks)||(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new Hm(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e=``;for(let t=1;t<=this.depth;t++)e+=(e?`/`:``)+this.node(t).type.name+`_`+this.index(t-1);return e+`:`+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw RangeError(`Position `+n+` out of range`);let r=[],i=0,a=n;for(let e=t;;){let{index:t,offset:n}=e.content.findIndex(a),o=a-n;if(r.push(e,t,i+n),!o||(e=e.child(t),e.isText))break;a=o-1,i+=n+1}return new e(n,r,a)}static resolveCached(t,n){let r=Vm.get(t);if(r)for(let e=0;e<r.elts.length;e++){let t=r.elts[e];if(t.pos==n)return t}else Vm.set(t,r=new zm);let i=r.elts[r.i]=e.resolve(t,n);return r.i=(r.i+1)%Bm,i}},zm=class{constructor(){this.elts=[],this.i=0}},Bm=12,Vm=new WeakMap,Hm=class{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}},Um=Object.create(null),Wm=class e{constructor(e,t,n,r=K.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||G.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,``)}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&wm(this.attrs,t||e.defaultAttrs||Um)&&K.sameSet(this.marks,n||K.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return q.empty;let r=this.resolve(e),i=this.resolve(t),a=n?0:r.sharedDepth(t),o=r.start(a);return new q(r.node(a).content.cut(r.pos-o,i.pos-o),r.depth-a,i.depth-a)}replace(e,t,n){return Om(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return Rm.resolveCached(this,e)}resolveNoCache(e){return Rm.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+=`(`+this.content.toStringInner()+`)`),Km(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error(`Called contentMatchAt on a node with invalid content`);return t}canReplace(e,t,n=G.empty,r=0,i=n.childCount){let a=this.contentMatchAt(e).matchFragment(n,r,i),o=a&&a.matchFragment(this.content,t);if(!o||!o.validEnd)return!1;for(let e=r;e<i;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(e).matchType(n),a=i&&i.matchFragment(this.content,t);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),qm(this.type.attrs,this.attrs,`node`,this.type.name);let e=K.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];qm(n.type.attrs,n.attrs,`mark`,n.type.name),e=n.addToSet(e)}if(!K.sameSet(e,this.marks))throw RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Node.fromJSON`);let n;if(t.marks){if(!Array.isArray(t.marks))throw RangeError(`Invalid mark data for Node.fromJSON`);n=t.marks.map(e.markFromJSON)}if(t.type==`text`){if(typeof t.text!=`string`)throw RangeError(`Invalid text node in JSON`);return e.text(t.text,n)}let r=G.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}};Wm.prototype.text=void 0;var Gm=class e extends Wm{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw RangeError(`Empty text nodes are not allowed`);this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Km(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function Km(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+`(`+t+`)`;return t}function qm(e,t,n,r){for(let i in t)if(!(i in e))throw RangeError(`Unsupported attribute ${i} for ${n} of type ${r}`);for(let n in e)e[n].validate&&e[n].validate(t[n])}var Jm=class e{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new Ym(t,n);if(r.next==null)return e.empty;let i=Xm(r);r.next&&r.err(`Unexpected trailing text`);let a=oh(rh(i));return sh(a,r),a}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let i=t;r&&i<n;i++)r=r.matchType(e.child(i).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];function i(a,o){let s=a.matchFragment(e,n);if(s&&(!t||s.validEnd))return G.from(o.map(e=>e.createAndFill()));for(let e=0;e<a.next.length;e++){let{type:t,next:n}=a.next[e];if(!(t.isText||t.hasRequiredAttrs())&&r.indexOf(n)==-1){r.push(n);let e=i(n,o.concat(t));if(e)return e}}return null}return i(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:a,next:o}=i.next[e];a.isLeaf||a.hasRequiredAttrs()||a.name in t||r.type&&!o.validEnd||(n.push({match:a.contentMatch,type:a,via:r}),t[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(n){e.push(n);for(let r=0;r<n.next.length;r++)e.indexOf(n.next[r].next)==-1&&t(n.next[r].next)}return t(this),e.map((t,n)=>{let r=n+(t.validEnd?`*`:` `)+` `;for(let n=0;n<t.next.length;n++)r+=(n?`, `:``)+t.next[n].type.name+`->`+e.indexOf(t.next[n].next);return r}).join(`
5
+ `)}};Jm.empty=new Jm(!0);var Ym=class{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==``&&this.tokens.pop(),this.tokens[0]==``&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw SyntaxError(e+` (in content expression '`+this.string+`')`)}};function Xm(e){let t=[];do t.push(Zm(e));while(e.eat(`|`));return t.length==1?t[0]:{type:`choice`,exprs:t}}function Zm(e){let t=[];do t.push(Qm(e));while(e.next&&e.next!=`)`&&e.next!=`|`);return t.length==1?t[0]:{type:`seq`,exprs:t}}function Qm(e){let t=nh(e);for(;;)if(e.eat(`+`))t={type:`plus`,expr:t};else if(e.eat(`*`))t={type:`star`,expr:t};else if(e.eat(`?`))t={type:`opt`,expr:t};else if(e.eat(`{`))t=eh(e,t);else break;return t}function $m(e){/\D/.test(e.next)&&e.err(`Expected number, got '`+e.next+`'`);let t=Number(e.next);return e.pos++,t}function eh(e,t){let n=$m(e),r=n;return e.eat(`,`)&&(r=e.next==`}`?-1:$m(e)),e.eat(`}`)||e.err(`Unclosed braced range`),{type:`range`,min:n,max:r,expr:t}}function th(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let e in n){let r=n[e];r.isInGroup(t)&&i.push(r)}return i.length==0&&e.err(`No node type or group '`+t+`' found`),i}function nh(e){if(e.eat(`(`)){let t=Xm(e);return e.eat(`)`)||e.err(`Missing closing paren`),t}if(/\W/.test(e.next))e.err(`Unexpected token '`+e.next+`'`);else{let t=th(e,e.next).map(t=>(e.inline==null?e.inline=t.isInline:e.inline!=t.isInline&&e.err(`Mixing inline and block content`),{type:`name`,value:t}));return e.pos++,t.length==1?t[0]:{type:`choice`,exprs:t}}}function rh(e){let t=[[]];return i(a(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}function a(e,t){if(e.type==`choice`)return e.exprs.reduce((e,n)=>e.concat(a(n,t)),[]);if(e.type==`seq`)for(let r=0;;r++){let o=a(e.exprs[r],t);if(r==e.exprs.length-1)return o;i(o,t=n())}else if(e.type==`star`){let o=n();return r(t,o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`plus`){let o=n();return i(a(e.expr,t),o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`opt`)return[r(t)].concat(a(e.expr,t));else if(e.type==`range`){let o=t;for(let t=0;t<e.min;t++){let t=n();i(a(e.expr,o),t),o=t}if(e.max==-1)i(a(e.expr,o),o);else for(let t=e.min;t<e.max;t++){let t=n();r(o,t),i(a(e.expr,o),t),o=t}return[r(o)]}else if(e.type==`name`)return[r(t,void 0,e.value)];else throw Error(`Unknown expr type`)}}function ih(e,t){return t-e}function ah(e,t){let n=[];return r(t),n.sort(ih);function r(t){let i=e[t];if(i.length==1&&!i[0].term)return r(i[0].to);n.push(t);for(let e=0;e<i.length;e++){let{term:t,to:a}=i[e];!t&&n.indexOf(a)==-1&&r(a)}}}function oh(e){let t=Object.create(null);return n(ah(e,0));function n(r){let i=[];r.forEach(t=>{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<i.length;e++)i[e][0]==t&&(r=i[e][1]);ah(e,n).forEach(e=>{r||i.push([t,r=[]]),r.indexOf(e)==-1&&r.push(e)})})});let a=t[r.join(`,`)]=new Jm(r.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let r=i[e][1].sort(ih);a.next.push({type:i[e][0],next:t[r.join(`,`)]||n(r)})}return a}}function sh(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],i=!e.validEnd,a=[];for(let t=0;t<e.next.length;t++){let{type:n,next:o}=e.next[t];a.push(n.name),i&&!(n.isText||n.hasRequiredAttrs())&&(i=!1),r.indexOf(o)==-1&&r.push(o)}i&&t.err(`Only non-generatable nodes (`+a.join(`, `)+`) in a required position (see https://prosemirror.net/docs/guide/#generatable)`)}}function ch(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function lh(e,t){let n=Object.create(null);for(let r in e){let i=e[r],a=t&&t[r];if(a===void 0){if(i.hasDefault)a=i.default;else throw RangeError(`No value supplied for attribute `+r)}else i.validate&&i.validate(a);n[r]=a}return n}function uh(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new ph(e,r,t[r]);return n}var dh=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(` `):[],this.attrs=uh(e,n.attrs),this.defaultAttrs=ch(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||e==`text`),this.isText=e==`text`}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Jm.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?`pre`:`normal`)}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:lh(this.attrs,e)}create(e=null,t,n){if(this.isText)throw Error(`NodeType.create can't construct text nodes`);return new Wm(this,this.computeAttrs(e),G.from(t),K.setFrom(n))}createChecked(e=null,t,n){return t=G.from(t),this.checkContent(t),new Wm(this,this.computeAttrs(e),t,K.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),t=G.from(t),t.size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),i=r&&r.fillBefore(G.empty,!0);return i?new Wm(this,e,t.append(i),K.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||=e.slice(0,n);return t?t.length?t:K.none:e}static compile(t,n){let r=Object.create(null);t.forEach((t,i)=>r[t]=new e(t,n,i));let i=n.spec.topNode||`doc`;if(!r[i])throw RangeError(`Schema is missing its top node type ('`+i+`')`);if(!r.text)throw RangeError(`Every schema needs a 'text' type`);for(let e in r.text.attrs)throw RangeError(`The text node type should not have attributes`);return r}};function fh(e,t,n){let r=n.split(`|`);return n=>{let i=n===null?`null`:typeof n;if(r.indexOf(i)<0)throw RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}var ph=class{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,`default`),this.default=n.default,this.validate=typeof n.validate==`string`?fh(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}},mh=class e{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=uh(e,r.attrs),this.excluded=null;let i=ch(this.attrs);this.instance=i?new K(this,i):null}create(e=null){return!e&&this.instance?this.instance:new K(this,lh(this.attrs,e))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((t,a)=>r[t]=new e(t,i++,n,a)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}},hh=class{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=_m.from(e.nodes),t.marks=_m.from(e.marks||{}),this.nodes=dh.compile(this.spec.nodes,this),this.marks=mh.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw RangeError(e+` can not be both a node and a mark`);let t=this.nodes[e],r=t.spec.content||``,i=t.spec.marks;if(t.contentMatch=n[r]||(n[r]=Jm.parse(r,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError(`Multiple linebreak nodes defined`);if(!t.isInline||!t.isLeaf)throw RangeError(`Linebreak replacement nodes must be inline leaf nodes`);this.linebreakReplacement=t}t.markSet=i==`_`?null:i?gh(this,i.split(` `)):i==``||!t.inlineContent?[]:null}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=n==null?[t]:n==``?[]:gh(this,n.split(` `))}this.nodeFromJSON=e=>Wm.fromJSON(this,e),this.markFromJSON=e=>K.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||`doc`],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if(typeof e==`string`)e=this.nodeType(e);else if(!(e instanceof dh))throw RangeError(`Invalid node type: `+e);else if(e.schema!=this)throw RangeError(`Node type from different schema used (`+e.name+`)`);return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new Gm(n,n.defaultAttrs,e,K.setFrom(t))}mark(e,t){return typeof e==`string`&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw RangeError(`Unknown node type: `+e);return t}};function gh(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e.marks[i],o=a;if(a)n.push(a);else for(let t in e.marks){let r=e.marks[t];(i==`_`||r.spec.group&&r.spec.group.split(` `).indexOf(i)>-1)&&n.push(o=r)}if(!o)throw SyntaxError(`Unknown mark type: '`+t[r]+`'`)}return n}function _h(e){return e.tag!=null}function vh(e){return e.style!=null}var yh=class e{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(_h(e))this.tags.push(e);else if(vh(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new Oh(this,t,!1);return n.addAll(e,K.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Oh(this,t,!0);return n.addAll(e,K.none,t.from,t.to),q.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(Ah(e,n.tag)&&(n.namespace===void 0||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(t===!1)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],a=r.style;if(!(a.indexOf(e)!=0||r.context&&!n.matchesContext(r.context)||a.length>e.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(e===!1)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=e.priority==null?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((e.priority==null?50:e.priority)<n)break}t.splice(r,0,e)}for(let t in e.marks){let r=e.marks[t].spec.parseDOM;r&&r.forEach(e=>{n(e=jh(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})}for(let t in e.nodes){let r=e.nodes[t].spec.parseDOM;r&&r.forEach(e=>{n(e=jh(e)),e.node||e.ignore||e.mark||(e.node=t)})}return t}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}},bh={address:!0,article:!0,aside:!0,blockquote:!0,body:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},xh={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Sh={ol:!0,ul:!0},Ch=1,wh=2,Th=4;function Eh(e,t,n){return t==null?e&&e.whitespace==`pre`?3:n&-5:(t?Ch:0)|(t===`full`?wh:0)}var Dh=class{constructor(e,t,n,r,i,a){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=a,this.content=[],this.activeMarks=K.none,this.match=i||(a&Th?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(G.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let t=this.type.contentMatch,n;return(n=t.findWrapping(e.type))?(this.match=t,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Ch)){let e=this.content[this.content.length-1],t;if(e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))){let n=e;e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-t[0].length))}}let t=G.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(G.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!bh.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}},Oh=class{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r=t.topNode,i,a=Eh(null,t.preserveWhitespace,0)|(n?Th:0);i=r?new Dh(r.type,r.attrs,K.none,!0,t.topMatch||r.type.contentMatch,a):n?new Dh(null,null,K.none,!0,null,a):new Dh(e.schema.topNodeType,null,K.none,!0,null,a),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=r.options&wh?`full`:this.localPreserveWS||(r.options&Ch)>0,{schema:a}=this.parser;if(i===`full`||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(!i){if(n=n.replace(/[ \t\r\n\u000c]+/g,` `),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],i=e.previousSibling;(!t||i&&i.nodeName==`BR`||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}}else if(i===`full`)n=n.replace(/\r\n?/g,`
6
+ `);else if(a.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(a.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n<e.length;n++)n&&this.insertNode(a.linebreakReplacement.create(),t,!0),e[n]&&this.insertNode(a.text(e[n]),t,!/\S/.test(e[n]));n=``}else n=n.replace(/\r?\n|\r/g,` `);n&&this.insertNode(a.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r=this.localPreserveWS,i=this.top;(e.tagName==`PRE`||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),o;Sh.hasOwnProperty(a)&&this.parser.normalizeLists&&kh(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,n));out:if(s?s.ignore:xh.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,t);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let n,r=this.needsBlock;if(bh.hasOwnProperty(a))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break out}let o=s&&s.skip?t:this.readStyles(e,t);o&&this.addAll(e,o),n&&this.sync(i),this.needsBlock=r}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,s,n,s.consuming===!1?o:void 0)}this.localPreserveWS=r}leafFallback(e,t){e.nodeName==`BR`&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
7
+ `),t)}ignoreFallback(e,t){e.nodeName!=`BR`||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text(`-`),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let r=this.parser.matchedStyles[e],i=n.getPropertyValue(r);if(i)for(let e;;){let n=this.parser.matchStyle(r,i,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter(e=>!n.clearMark(e)):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),n.consuming===!1)e=n;else break}}return t}addElementByRule(e,t,n,r){let i,a;if(t.node){if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),n,e.nodeName==`BR`)||this.leafFallback(e,n);else{let e=this.enter(a,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;typeof t.contentElement==`string`?r=e.querySelector(t.contentElement):typeof t.contentElement==`function`?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let a=n?e.childNodes[n]:e.firstChild,o=r==null?null:e.childNodes[r];a!=o;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let t=this.open,a=0;t>=0;t--){let o=this.nodes[t],s=o.findWrapping(e);if(s&&(!r||r.length>s.length+a)&&(r=s,i=o,!s.length))break;if(o.solid){if(n)break;a+=2}}if(!r)return null;this.sync(i);for(let e=0;e<r.length;e++)t=this.enterInner(r[e],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let r=this.findPlace(e,t,n);if(r){this.closeExtra();let t=this.top;t.match&&=t.match.matchType(e.type);let n=K.none;for(let i of r.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):Mh(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,r){let i=this.findPlace(e.create(t),n,!1);return i&&=this.enterInner(e,t,n,!0,r),i}enterInner(e,t,n,r=!1,i){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let o=Eh(e,i,a.options);a.options&Th&&a.content.length==0&&(o|=Th);let s=K.none;return n=n.filter(t=>!(a.type?a.type.allowsMarkType(t.type):Mh(t.type,e))||(s=t.addToSet(s),!1)),this.nodes.push(new Dh(e,t,s,r,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;else this.localPreserveWS&&(this.nodes[t].options|=Ch);return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&e.nodeType==1&&e.contains(this.find[r].node)&&t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf(`|`)>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split(`/`),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),i=-(n?n.depth+1:0)+ +!r,a=(e,o)=>{for(;e>=0;e--){let s=t[e];if(s==``){if(e==t.length-1||e==0)continue;for(;o>=i;o--)if(a(e-1,o))return!0;return!1}{let e=o>0||o==0&&r?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;o--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}};function kh(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=t.nodeType==1?t.nodeName.toLowerCase():null;e&&Sh.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):e==`li`?n=t:e&&(n=null)}}function Ah(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function jh(e){let t={};for(let n in e)t[n]=e[n];return t}function Mh(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let a=[],o=e=>{a.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:i}=e.edge(n);if(r==t||a.indexOf(i)<0&&o(i))return!0}};if(o(i.contentMatch))return!0}}var Nh=class e{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||=Fh(t).createDocumentFragment();let r=n,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let n=0,a=0;for(;n<i.length&&a<e.marks.length;){let t=e.marks[a];if(!this.marks[t.type.name])a++;else{if(!t.eq(i[n][0])||t.type.spec.spanning===!1)break;n++,a++}}for(;n<i.length;)r=i.pop()[1];for(;a<e.marks.length;){let n=e.marks[a++],o=this.serializeMark(n,e.isInline,t);o&&(i.push([n,r]),r.appendChild(o.dom),r=o.contentDOM||o.dom)}}r.appendChild(this.serializeNodeInner(e,t))}),n}serializeNodeInner(e,t){if(e.isText)return Fh(t).createTextNode(e.text);let{dom:n,contentDOM:r}=zh(Fh(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw RangeError(`Content hole not allowed in a leaf node spec`);this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&zh(Fh(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return typeof t==`string`?{dom:e.createTextNode(t)}:zh(e,t,n,r)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(e){let t=Ph(e.nodes);return t.text||=e=>e.text,t}static marksFromSchema(e){return Ph(e.marks)}};function Ph(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Fh(e){return e.document||window.document}var Ih=new WeakMap;function Lh(e){let t=Ih.get(e);return t===void 0&&Ih.set(e,t=Rh(e)),t}function Rh(e){let t=null;function n(e){if(e&&typeof e==`object`){if(Array.isArray(e)){if(typeof e[0]==`string`)t||=[],t.push(e);else for(let t=0;t<e.length;t++)n(e[t])}else for(let t in e)n(e[t])}}return n(e),t}function zh(e,t,n,r){if(t.nodeType==1)return{dom:t};if(t.dom&&t.dom.nodeType==1)return t;let i=t[0],a;if(typeof i!=`string`)throw RangeError(`Invalid array passed to renderSpec`);if(r&&(a=Lh(r))&&a.indexOf(t)>-1)throw RangeError(`Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.`);let o=i.indexOf(` `);o>0&&(n=i.slice(0,o),i=i.slice(o+1));let s,c=n?e.createElementNS(n,i):e.createElement(i),l=t[1],u=1;if(l&&typeof l==`object`&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let e in l)if(l[e]!=null){let t=e.indexOf(` `);t>0?c.setAttributeNS(e.slice(0,t),e.slice(t+1),l[e]):e==`style`&&c.style?c.style.cssText=l[e]:c.setAttribute(e,l[e])}}for(let i=u;i<t.length;i++){let a=t[i];if(a===0){if(i<t.length-1||i>u)throw RangeError(`Content hole must be the only child of its parent node`);return{dom:c,contentDOM:c}}if(typeof a==`string`)c.appendChild(e.createTextNode(a));else{let{dom:t,contentDOM:i}=zh(e,a,n,r);if(c.appendChild(t),i){if(s)throw RangeError(`Multiple content holes`);s=i}}}return{dom:c,contentDOM:s}}var Bh=65535,Vh=2**16;function Hh(e,t){return e+t*Vh}function Uh(e){return e&Bh}function Wh(e){return(e-(e&Bh))/Vh}var Gh=1,Kh=2,qh=4,Jh=8,Yh=class{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(this.delInfo&Jh)>0}get deletedBefore(){return(this.delInfo&5)>0}get deletedAfter(){return(this.delInfo&6)>0}get deletedAcross(){return(this.delInfo&qh)>0}},Xh=class e{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}recover(e){let t=0,n=Uh(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[e*3+2]-this.ranges[e*3+1];return this.ranges[n*3]+t+Wh(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let o=0;o<this.ranges.length;o+=3){let s=this.ranges[o]-(this.inverted?r:0);if(s>e)break;let c=this.ranges[o+i],l=this.ranges[o+a],u=s+c;if(e<=u){let i=c?e==s?-1:e==u?1:t:t,a=s+r+(i<0?0:l);if(n)return a;let d=e==(t<0?s:u)?null:Hh(o/3,e-s),f=0;return c&&(f|=e==s?Kh:e==u?Gh:qh,(t<0?e!=s:e!=u)&&(f|=Jh)),new Yh(a,f,d)}r+=l-c}return n?e+r:new Yh(e+r,0,null)}touches(e,t){let n=0,r=Uh(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let o=this.ranges[t]-(this.inverted?n:0);if(o>e)break;let s=this.ranges[t+i];if(e<=o+s&&t==r*3)return!0;n+=this.ranges[t+a]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let a=this.ranges[r],o=a-(this.inverted?i:0),s=a+(this.inverted?0:i),c=this.ranges[r+t],l=this.ranges[r+n];e(o,o+c,s,s+l),i+=l-c}}invert(){return new e(this.ranges,!this.inverted)}toString(){return(this.inverted?`-`:``)+JSON.stringify(this.ranges)}static offset(t){return t==0?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}};Xh.empty=new Xh([]);var Zh=class e{constructor(e,t,n=0,r=e?e.length:0){this.mirror=t,this.from=n,this.to=r,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(t=0,n=this.maps.length){return new e(this._maps,this.mirror,t,n)}appendMap(e,t){this.ownData||=(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),!0),this.to=this._maps.push(e),t!=null&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let r=e.getMirror(t);this.appendMap(e._maps[t],r!=null&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||=[],this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),r!=null&&r>t?n-r-1:void 0)}}invert(){let t=new e;return t.appendMappingInverted(this),t}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let n=this.from;n<this.to;n++){let i=this._maps[n].mapResult(e,t);if(i.recover!=null){let t=this.getMirror(n);if(t!=null&&t>n&&t<this.to){n=t,e=this._maps[t].recover(i.recover);continue}}r|=i.delInfo,e=i.pos}return n?e:new Yh(e,r,null)}},Qh=Object.create(null),$h=class{getMap(){return Xh.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw RangeError(`Invalid input for Step.fromJSON`);let n=Qh[t.stepType];if(!n)throw RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in Qh)throw RangeError(`Duplicate use of step JSON ID `+e);return Qh[e]=t,t.prototype.jsonID=e,t}},eg=class e{constructor(e,t){this.doc=e,this.failed=t}static ok(t){return new e(t,null)}static fail(t){return new e(null,t)}static fromReplace(t,n,r,i){try{return e.ok(t.replace(n,r,i))}catch(t){if(t instanceof Tm)return e.fail(t.message);throw t}}};function tg(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let a=e.child(i);a.content.size&&(a=a.copy(tg(a.content,t,a))),a.isInline&&(a=t(a,n,i)),r.push(a)}return G.fromArray(r)}var ng=class e extends $h{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),i=new q(tg(t.content,(e,t)=>!e.isAtom||!t.type.allowsMarkType(this.mark.type)?e:e.mark(this.mark.addToSet(e.marks)),r),t.openStart,t.openEnd);return eg.fromReplace(e,this.from,this.to,i)}invert(){return new rg(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`addMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for AddMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};$h.jsonID(`addMark`,ng);var rg=class e extends $h{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new q(tg(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return eg.fromReplace(e,this.from,this.to,n)}invert(){return new ng(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`removeMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for RemoveMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};$h.jsonID(`removeMark`,rg);var ig=class e extends $h{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return eg.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return eg.fromReplace(e,this.pos,this.pos+1,new q(G.from(n),0,+!t.isLeaf))}invert(t){let n=t.nodeAt(this.pos);if(n){let t=this.mark.addToSet(n.marks);if(t.length==n.marks.length){for(let r=0;r<n.marks.length;r++)if(!n.marks[r].isInSet(t))return new e(this.pos,n.marks[r]);return new e(this.pos,this.mark)}}return new ag(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:`addNodeMark`,pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for AddNodeMarkStep.fromJSON`);return new e(n.pos,t.markFromJSON(n.mark))}};$h.jsonID(`addNodeMark`,ig);var ag=class e extends $h{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return eg.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return eg.fromReplace(e,this.pos,this.pos+1,new q(G.from(n),0,+!t.isLeaf))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new ig(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:`removeNodeMark`,pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for RemoveNodeMarkStep.fromJSON`);return new e(n.pos,t.markFromJSON(n.mark))}};$h.jsonID(`removeNodeMark`,ag);var og=class e extends $h{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&cg(e,this.from,this.to)?eg.fail(`Structure replace would overwrite content`):eg.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Xh([this.from,this.to-this.from,this.slice.size])}invert(t){return new e(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.to,-1),r=this.from==this.to&&e.MAP_BIAS<0?n:t.mapResult(this.from,1);return r.deletedAcross&&n.deletedAcross?null:new e(r.pos,Math.max(r.pos,n.pos),this.slice,this.structure)}merge(t){if(!(t instanceof e)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?q.empty:new q(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new e(this.from,this.to+(t.to-t.from),n,this.structure)}if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?q.empty:new q(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new e(t.from,this.to,n,this.structure)}return null}toJSON(){let e={stepType:`replace`,from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for ReplaceStep.fromJSON`);return new e(n.from,n.to,q.fromJSON(t,n.slice),!!n.structure)}};og.MAP_BIAS=1,$h.jsonID(`replace`,og);var sg=class e extends $h{constructor(e,t,n,r,i,a,o=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=a,this.structure=o}apply(e){if(this.structure&&(cg(e,this.from,this.gapFrom)||cg(e,this.gapTo,this.to)))return eg.fail(`Structure gap-replace would overwrite content`);let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return eg.fail(`Gap is not a flat range`);let n=this.slice.insertAt(this.insert,t.content);return n?eg.fromReplace(e,this.from,this.to,n):eg.fail(`Content does not fit in gap`)}getMap(){return new Xh([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new e(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:t.map(this.gapFrom,-1),a=this.to==this.gapTo?r.pos:t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||a>r.pos?null:new e(n.pos,r.pos,i,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:`replaceAround`,from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`||typeof n.gapFrom!=`number`||typeof n.gapTo!=`number`||typeof n.insert!=`number`)throw RangeError(`Invalid input for ReplaceAroundStep.fromJSON`);return new e(n.from,n.to,n.gapFrom,n.gapTo,q.fromJSON(t,n.slice),n.insert,!!n.structure)}};$h.jsonID(`replaceAround`,sg);function cg(e,t,n){let r=e.resolve(t),i=n-t,a=r.depth;for(;i>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,i--;if(i>0){let e=r.node(a).maybeChild(r.indexAfter(a));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function lg(e,t,n,r){let i=[],a=[],o,s;e.doc.nodesBetween(t,n,(e,c,l)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&l.type.allowsMarkType(r.type)){let l=Math.max(c,t),d=Math.min(c+e.nodeSize,n),f=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(f)||(o&&o.to==l&&o.mark.eq(u[e])?o.to=d:i.push(o=new rg(l,d,u[e])));s&&s.to==l?s.to=d:a.push(s=new ng(l,d,r))}}),i.forEach(t=>e.step(t)),a.forEach(t=>e.step(t))}function ug(e,t,n,r){let i=[],a=0;e.doc.nodesBetween(t,n,(e,o)=>{if(!e.isInline)return;a++;let s=null;if(r instanceof mh){let t=e.marks,n;for(;n=r.isInSet(t);)(s||=[]).push(n),t=n.removeFromSet(t)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(o+e.nodeSize,n);for(let e=0;e<s.length;e++){let n=s[e],c;for(let e=0;e<i.length;e++){let t=i[e];t.step==a-1&&n.eq(i[e].style)&&(c=t)}c?(c.to=r,c.step=a):i.push({style:n,from:Math.max(o,t),to:r,step:a})}}}),i.forEach(t=>e.step(new rg(t.from,t.to,t.style)))}function dg(e,t,n,r=n.contentMatch,i=!0){let a=e.doc.nodeAt(t),o=[],s=t+1;for(let t=0;t<a.childCount;t++){let c=a.child(t),l=s+c.nodeSize,u=r.matchType(c.type);if(!u)o.push(new og(s,l,q.empty));else{r=u;for(let t=0;t<c.marks.length;t++)n.allowsMarkType(c.marks[t].type)||e.step(new rg(s,l,c.marks[t]));if(i&&c.isText&&n.whitespace!=`pre`){let e,t=/\r?\n|\r/g,r;for(;e=t.exec(c.text);)r||=new q(G.from(n.schema.text(` `,n.allowedMarks(c.marks))),0,0),o.push(new og(s+e.index,s+e.index+e[0].length,r))}}s=l}if(!r.validEnd){let t=r.fillBefore(G.empty,!0);e.replace(s,s,new q(t,0,0))}for(let t=o.length-1;t>=0;t--)e.step(o[t])}function fg(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function pg(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let a=e.$from.node(n),o=e.$from.index(n)+r,s=e.$to.indexAfter(n)-i;if(n<e.depth&&a.canReplace(o,s,t))return n;if(n==0||a.type.spec.isolating||!fg(a,o,s))break;o&&(r=1),s<a.childCount&&(i=1)}return null}function mg(e,t,n){let{$from:r,$to:i,depth:a}=t,o=r.before(a+1),s=i.after(a+1),c=o,l=s,u=G.empty,d=0;for(let e=a,t=!1;e>n;e--)t||r.index(e)>0?(t=!0,u=G.from(r.node(e).copy(u)),d++):c--;let f=G.empty,p=0;for(let e=a,t=!1;e>n;e--)t||i.after(e+1)<i.end(e)?(t=!0,f=G.from(i.node(e).copy(f)),p++):l++;e.step(new sg(c,l,o,s,new q(u.append(f),d,p),u.size-d,!0))}function hg(e,t,n=null,r=e){let i=_g(e,t),a=i&&vg(r,t);return a?i.map(gg).concat({type:t,attrs:n}).concat(a.map(gg)):null}function gg(e){return{type:e,attrs:null}}function _g(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.contentMatchAt(r).findWrapping(t);if(!a)return null;let o=a.length?a[0]:t;return n.canReplaceWith(r,i,o)?a:null}function vg(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.child(r),o=t.contentMatch.findWrapping(a.type);if(!o)return null;let s=(o.length?o[o.length-1]:t).contentMatch;for(let e=r;s&&e<i;e++)s=s.matchType(n.child(e).type);return!s||!s.validEnd?null:o}function yg(e,t,n){let r=G.empty;for(let e=n.length-1;e>=0;e--){if(r.size){let t=n[e].type.contentMatch.matchFragment(r);if(!t||!t.validEnd)throw RangeError(`Wrapper type given to Transform.wrap does not form valid content of its parent wrapper`)}r=G.from(n[e].type.create(n[e].attrs,r))}let i=t.start,a=t.end;e.step(new sg(i,a,i,a,new q(r,0,0),n.length,!0))}function bg(e,t,n,r,i){if(!r.isTextblock)throw RangeError(`Type given to setBlockType should be a textblock`);let a=e.steps.length;e.doc.nodesBetween(t,n,(t,n)=>{let o=typeof i==`function`?i(t):i;if(t.isTextblock&&!t.hasMarkup(r,o)&&Cg(e.doc,e.mapping.slice(a).map(n),r)){let i=null;if(r.schema.linebreakReplacement){let e=r.whitespace==`pre`,t=!!r.contentMatch.matchType(r.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}i===!1&&Sg(e,t,n,a),dg(e,e.mapping.slice(a).map(n,1),r,void 0,i===null);let s=e.mapping.slice(a),c=s.map(n,1),l=s.map(n+t.nodeSize,1);return e.step(new sg(c,l,c+1,l-1,new q(G.from(r.create(o,null,t.marks)),0,0),1,!0)),i===!0&&xg(e,t,n,a),!1}})}function xg(e,t,n,r){t.forEach((i,a)=>{if(i.isText){let o,s=/\r?\n|\r/g;for(;o=s.exec(i.text);){let i=e.mapping.slice(r).map(n+1+a+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function Sg(e,t,n,r){t.forEach((i,a)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+a);e.replaceWith(i,i+1,t.type.schema.text(`
8
+ `))}})}function Cg(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function wg(e,t,n,r,i){let a=e.doc.nodeAt(t);if(!a)throw RangeError(`No node at given position`);n||=a.type;let o=n.create(r,null,i||a.marks);if(a.isLeaf)return e.replaceWith(t,t+a.nodeSize,o);if(!n.validContent(a.content))throw RangeError(`Invalid content for node type `+n.name);e.step(new sg(t,t+a.nodeSize,t+1,t+a.nodeSize-1,new q(G.from(o),0,0),1,!0))}function Tg(e,t,n=1,r){let i=e.resolve(t),a=i.depth-n,o=r&&r[r.length-1]||i.parent;if(a<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>a;e--,t--){let n=i.node(e),a=i.index(e);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(a,n.childCount),s=r&&r[t+1];s&&(o=o.replaceChild(0,s.type.create(s.attrs)));let c=r&&r[t]||n;if(!n.canReplace(a+1,n.childCount)||!c.type.validContent(o))return!1}let s=i.indexAfter(a),c=r&&r[0];return i.node(a).canReplaceWith(s,s,c?c.type:i.node(a+1).type)}function Eg(e,t,n=1,r){let i=e.doc.resolve(t),a=G.empty,o=G.empty;for(let e=i.depth,t=i.depth-n,s=n-1;e>t;e--,s--){a=G.from(i.node(e).copy(a));let t=r&&r[s];o=G.from(t?t.type.create(t.attrs,o):i.node(e).copy(o))}e.step(new og(t,t,new q(a.append(o),n,n),!0))}function Dg(e,t){let n=e.resolve(t),r=n.index();return kg(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function Og(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i<t.childCount;i++){let a=t.child(i),o=a.type==r?e.type.schema.nodes.text:a.type;if(n=n.matchType(o),!n||!e.type.allowsMarks(a.marks))return!1}return n.validEnd}function kg(e,t){return!!(e&&t&&!e.isLeaf&&Og(e,t))}function Ag(e,t,n=-1){let r=e.resolve(t);for(let e=r.depth;;e--){let i,a,o=r.index(e);if(e==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(e+1),o++,a=r.node(e).maybeChild(o)):(i=r.node(e).maybeChild(o-1),a=r.node(e+1)),i&&!i.isTextblock&&kg(i,a)&&r.node(e).canReplace(o,o+1))return t;if(e==0)break;t=n<0?r.before(e):r.after(e)}}function jg(e,t,n){let r=null,{linebreakReplacement:i}=e.doc.type.schema,a=e.doc.resolve(t-n),o=a.node().type;if(i&&o.inlineContent){let e=o.whitespace==`pre`,t=!!o.contentMatch.matchType(i);e&&!t?r=!1:!e&&t&&(r=!0)}let s=e.steps.length;if(r===!1){let r=e.doc.resolve(t+n);Sg(e,r.node(),r.before(),s)}o.inlineContent&&dg(e,t+n-1,o,a.node().contentMatchAt(a.index()),r==null);let c=e.mapping.slice(s),l=c.map(t-n);if(e.step(new og(l,c.map(t+n,-1),q.empty,!0)),r===!0){let t=e.doc.resolve(l);xg(e,t.node(),t.before(),e.steps.length)}return e}function Mg(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let e=r.depth-1;e>=0;e--){let t=r.index(e);if(r.node(e).canReplaceWith(t,t,n))return r.before(e+1);if(t>0)return null}if(r.parentOffset==r.parent.content.size)for(let e=r.depth-1;e>=0;e--){let t=r.indexAfter(e);if(r.node(e).canReplaceWith(t,t,n))return r.after(e+1);if(t<r.node(e).childCount)return null}return null}function Ng(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let e=0;e<n.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(n.openStart==0&&n.size?2:1);e++)for(let t=r.depth;t>=0;t--){let n=t==r.depth?0:r.pos<=(r.start(t+1)+r.end(t+1))/2?-1:1,a=r.index(t)+ +(n>0),o=r.node(t),s=!1;if(e==1)s=o.canReplace(a,a,i);else{let e=o.contentMatchAt(a).findWrapping(i.firstChild.type);s=e&&o.canReplaceWith(a,a,e[0])}if(s)return n==0?r.pos:n<0?r.before(t+1):r.after(t+1)}return null}function Pg(e,t,n=t,r=q.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),a=e.resolve(n);return Fg(i,a,r)?new og(t,n,r):new Ig(i,a,r).fit()}function Fg(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}var Ig=class{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=G.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=G.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,a=n.depth,o=r.depth;for(;a&&o&&i.childCount==1;)i=i.firstChild.content,a--,o--;let s=new q(i,a,o);return e>-1?new sg(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new og(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=t==1?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=zg(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e>=0;e--){let{type:a,match:o}=this.frontier[e],s,c=null;if(t==1&&(i?o.matchType(i.type)||(c=o.fillBefore(G.from(i),!1)):r&&a.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:e,parent:r,inject:c};if(t==2&&i&&(s=o.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:r,wrap:s};if(r&&o.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced;return Wg(e,-1)<=t?!1:(this.unplaced.size>1&&Wg(e,1)>n&&n++,this.unplaced=new q(e,t+1,n),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=zg(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new q(Lg(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new q(Lg(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let e=0;e<i.length;e++)this.openFrontierNode(i[e]);let a=this.unplaced,o=n?n.content:a.content,s=a.openStart-e,c=0,l=[],{match:u,type:d}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)l.push(r.child(e));u=u.matchFragment(r)}let f=o.size+e-(a.content.size-a.openEnd);for(;c<o.childCount;){let e=o.child(c),t=u.matchType(e.type);if(!t)break;c++,(c>1||s==0||e.content.size)&&(u=t,l.push(Bg(e.mark(d.allowedMarks(e.marks)),c==1?s:0,c==o.childCount?f:-1)))}let p=c==o.childCount;p||(f=-1),this.placed=Rg(this.placed,t,G.from(l)),this.frontier[t].match=u,p&&f<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=o;e<f;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=p?e==0?q.empty:new q(Lg(a.content,e-1,1),e-1,f<0?a.openEnd:e-1):new q(Lg(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!Vg(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){scan:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=Vg(e,t,r,n,i);if(a){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],i=Vg(e,n,r,t,!0);if(!i||i.childCount)continue scan}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Rg(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=Rg(this.placed,this.depth,G.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(G.empty,!0);e.childCount&&(this.placed=Rg(this.placed,this.frontier.length,e))}};function Lg(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(Lg(e.firstChild.content,t-1,n)))}function Rg(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(Rg(e.lastChild.content,t-1,n)))}function zg(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function Bg(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,Bg(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(G.empty,!0)))),e.copy(r)}function Vg(e,t,n,r,i){let a=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let s=r.fillBefore(a.content,!0,o);return s&&!Hg(n,a.content,o)?s:null}function Hg(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function Ug(e){return e.spec.defining||e.spec.definingForContent}function Wg(e,t){for(let n=0;;n++){let r=t<0?e.firstChild:e.lastChild;if(!r||r.isAtom)return n;e=r.content}}function Gg(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),a=e.doc.resolve(n);if(Fg(i,a,r))return e.step(new og(t,n,r));let o=Yg(i,a);o[o.length-1]==0&&o.pop();let s=-(i.depth+1);o.unshift(s);for(let e=i.depth,t=i.pos-1;e>0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;o.indexOf(e)>-1?s=e:i.before(e)==t&&o.splice(1,0,-e)}let c=o.indexOf(s),l=[],u=r.openStart;for(let e=r.content,t=0;;t++){let n=e.firstChild;if(l.push(n),t==r.openStart)break;e=n.content}for(let e=u-1;e>=0;e--){let t=l[e],n=Ug(t.type);if(n&&!t.sameMarkup(i.node(Math.abs(s)-1)))u=e;else if(n||!t.type.isTextblock)break}for(let t=r.openStart;t>=0;t--){let s=(t+u+1)%(r.openStart+1),d=l[s];if(d)for(let t=0;t<o.length;t++){let l=o[(t+c)%o.length],u=!0;l<0&&(u=!1,l=-l);let f=i.node(l-1),p=i.index(l-1);if(f.canReplaceWith(p,p,d.type,d.marks))return e.replace(i.before(l),u?a.after(l):n,new q(Kg(r.content,0,r.openStart,s),s,r.openEnd))}}let d=e.steps.length;for(let s=o.length-1;s>=0&&(e.replace(t,n,r),!(e.steps.length>d));s--){let e=o[s];e<0||(t=i.before(e),n=a.after(e))}}function Kg(e,t,n,r,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(Kg(i.content,t+1,n,r,i)))}if(t>r){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(G.empty,!0))}return e}function qg(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=Mg(e.doc,t,r.type);i!=null&&(t=n=i)}e.replaceRange(t,n,new q(G.from(r),0,0))}function Jg(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n);if(r.parent.isTextblock&&i.parent.isTextblock&&r.start()!=i.start()&&r.parentOffset==0&&i.parentOffset==0){let a=r.sharedDepth(n),o=!1;for(let e=r.depth;e>a;e--)r.node(e).type.spec.isolating&&(o=!0);for(let e=i.depth;e>a;e--)i.node(e).type.spec.isolating&&(o=!0);if(!o){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let a=Yg(r,i);for(let t=0;t<a.length;t++){let n=a[t],o=t==a.length-1;if(o&&n==0||r.node(n).type.contentMatch.validEnd)return e.delete(r.start(n),i.end(n));if(n>0&&(o||r.node(n-1).canReplace(r.index(n-1),i.indexAfter(n-1))))return e.delete(r.before(n),i.after(n))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return e.delete(r.before(a),n);e.delete(t,n)}function Yg(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let r=e.start(i);if(r<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(r==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==r-1)&&n.push(i)}return n}var Xg=class e extends $h{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return eg.fail(`No node at attribute step's position`);let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return eg.fromReplace(e,this.pos,this.pos+1,new q(G.from(r),0,+!t.isLeaf))}getMap(){return Xh.empty}invert(t){return new e(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.attr,this.value)}toJSON(){return{stepType:`attr`,pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!=`number`||typeof n.attr!=`string`)throw RangeError(`Invalid input for AttrStep.fromJSON`);return new e(n.pos,n.attr,n.value)}};$h.jsonID(`attr`,Xg);var Zg=class e extends $h{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return eg.ok(n)}getMap(){return Xh.empty}invert(t){return new e(this.attr,t.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:`docAttr`,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!=`string`)throw RangeError(`Invalid input for DocAttrStep.fromJSON`);return new e(n.attr,n.value)}};$h.jsonID(`docAttr`,Zg);var Qg=class extends Error{};Qg=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},Qg.prototype=Object.create(Error.prototype),Qg.prototype.constructor=Qg,Qg.prototype.name=`TransformError`;var $g=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Zh}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Qg(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n<this.mapping.maps.length;n++){let r=this.mapping.maps[n];n&&(e=r.map(e,1),t=r.map(t,-1)),r.forEach((n,r,i,a)=>{e=Math.min(e,i),t=Math.max(t,a)})}return e==1e9?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=q.empty){let r=Pg(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new q(G.from(n),0,0))}delete(e,t){return this.replace(e,t,q.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return Gg(this,e,t,n),this}replaceRangeWith(e,t,n){return qg(this,e,t,n),this}deleteRange(e,t){return Jg(this,e,t),this}lift(e,t){return mg(this,e,t),this}join(e,t=1){return jg(this,e,t),this}wrap(e,t){return yg(this,e,t),this}setBlockType(e,t=e,n,r=null){return bg(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return wg(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new Xg(e,t,n)),this}setDocAttribute(e,t){return this.step(new Zg(e,t)),this}addNodeMark(e,t){return this.step(new ig(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw RangeError(`No node at position `+e);if(t instanceof K)t.isInSet(n.marks)&&this.step(new ag(e,t));else{let r=n.marks,i,a=[];for(;i=t.isInSet(r);)a.push(new ag(e,i)),r=i.removeFromSet(r);for(let e=a.length-1;e>=0;e--)this.step(a[e])}return this}split(e,t=1,n){return Eg(this,e,t,n),this}addMark(e,t,n){return lg(this,e,t,n),this}removeMark(e,t,n){return ug(this,e,t,n),this}clearIncompatible(e,t,n){return dg(this,e,t,n),this}},e_=Object.create(null),J=class{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new t_(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=q.empty){let n=t.content.lastChild,r=null;for(let e=0;e<t.openEnd;e++)r=n,n=n.lastChild;let i=e.steps.length,a=this.ranges;for(let o=0;o<a.length;o++){let{$from:s,$to:c}=a[o],l=e.mapping.slice(i);e.replaceRange(l.map(s.pos),l.map(c.pos),o?q.empty:t),o==0&&l_(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:a,$to:o}=r[i],s=e.mapping.slice(n),c=s.map(a.pos),l=s.map(o.pos);i?e.deleteRange(c,l):(e.replaceRangeWith(c,l,t),l_(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new Y(e):c_(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let r=e.depth-1;r>=0;r--){let i=t<0?c_(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):c_(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new o_(e.node(0))}static atStart(e){return c_(e,e,0,0,1)||new o_(e)}static atEnd(e){return c_(e,e,e.content.size,e.childCount,-1)||new o_(e)}static fromJSON(e,t){if(!t||!t.type)throw RangeError(`Invalid input for Selection.fromJSON`);let n=e_[t.type];if(!n)throw RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in e_)throw RangeError(`Duplicate use of selection JSON ID `+e);return e_[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Y.between(this.$anchor,this.$head).getBookmark()}};J.prototype.visible=!0;var t_=class{constructor(e,t){this.$from=e,this.$to=t}},n_=!1;function r_(e){!n_&&!e.parent.inlineContent&&(n_=!0,console.warn(`TextSelection endpoint not pointing into a node with inline content (`+e.parent.type.name+`)`))}var Y=class e extends J{constructor(e,t=e){r_(e),r_(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return J.near(r);let i=t.resolve(n.map(this.anchor));return new e(i.parent.inlineContent?i:r,r)}replace(e,t=q.empty){if(super.replace(e,t),t==q.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(t){return t instanceof e&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new i_(this.anchor,this.head)}toJSON(){return{type:`text`,anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!=`number`||typeof n.head!=`number`)throw RangeError(`Invalid input for TextSelection.fromJSON`);return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let e=J.findFrom(n,r,!0)||J.findFrom(n,-r,!0);if(e)n=e.$head;else return J.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(J.findFrom(t,-r,!0)||J.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=i<0&&(t=n))),new e(t,n)}};J.jsonID(`text`,Y);var i_=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){return Y.between(e.resolve(this.anchor),e.resolve(this.head))}},X=class e extends J{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(t,n){let{deleted:r,pos:i}=n.mapResult(this.anchor),a=t.resolve(i);return r?J.near(a):new e(a)}content(){return new q(G.from(this.node),0,0)}eq(t){return t instanceof e&&t.anchor==this.anchor}toJSON(){return{type:`node`,anchor:this.anchor}}getBookmark(){return new a_(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!=`number`)throw RangeError(`Invalid input for NodeSelection.fromJSON`);return new e(t.resolve(n.anchor))}static create(t,n){return new e(t.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}};X.prototype.visible=!1,J.jsonID(`node`,X);var a_=class e{constructor(e){this.anchor=e}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new i_(r,r):new e(r)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&X.isSelectable(n)?new X(t):J.near(t)}},o_=class e extends J{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=q.empty){if(t==q.empty){e.delete(0,e.doc.content.size);let t=J.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:`all`}}static fromJSON(t){return new e(t)}map(t){return new e(t)}eq(t){return t instanceof e}getBookmark(){return s_}};J.jsonID(`all`,o_);var s_={map(){return this},resolve(e){return new o_(e)}};function c_(e,t,n,r,i,a=!1){if(t.inlineContent)return Y.create(e,n);for(let o=r-(i>0?0:1);i>0?o<t.childCount:o>=0;o+=i){let r=t.child(o);if(!r.isAtom){let t=c_(e,r,n+i,i<0?r.childCount:0,i,a);if(t)return t}else if(!a&&X.isSelectable(r))return X.create(e,n-(i<0?r.nodeSize:0));n+=r.nodeSize*i}return null}function l_(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof og||i instanceof sg))return;let a=e.mapping.maps[r],o;a.forEach((e,t,n,r)=>{o??=r}),e.setSelection(J.near(e.doc.resolve(o),n))}var u_=1,d_=2,f_=4,p_=class extends $g{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw RangeError(`Selection passed to setSelection must point at the current document`);return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|u_)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&u_)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=d_,this}ensureMarks(e){return K.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&d_)>0}addStep(e,t){super.addStep(e,t),this.updated&=-3,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||K.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(n??=t,!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),!this.selection.empty&&this.selection.to==t+e.length&&this.setSelection(J.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e==`string`?e:e.key]=t,this}getMeta(e){return this.meta[typeof e==`string`?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=f_,this}get scrolledIntoView(){return(this.updated&f_)>0}};function m_(e,t){return!t||!e?e:e.bind(t)}var h_=class{constructor(e,t,n){this.name=e,this.init=m_(t.init,n),this.apply=m_(t.apply,n)}},g_=[new h_(`doc`,{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new h_(`selection`,{init(e,t){return e.selection||J.atStart(t.doc)},apply(e){return e.selection}}),new h_(`storedMarks`,{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new h_(`scrollToSelection`,{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})],__=class{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=g_.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw RangeError(`Adding different instances of a keyed plugin (`+e.key+`)`);this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new h_(e.key,e.spec.state,e))})}},v_=class e{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let o=this.config.plugins[a];if(o.spec.appendTransaction){let s=r?r[a].n:0,c=r?r[a].state:this,l=s<t.length&&o.spec.appendTransaction.call(o,s?t.slice(s):t,c,n);if(l&&n.filterTransaction(l,a)){if(l.setMeta(`appendedTransaction`,e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<a?{state:n,n:t.length}:{state:this,n:0})}t.push(l),n=n.applyInner(l),i=!0}r&&(r[a]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(t){if(!t.before.eq(this.doc))throw RangeError(`Applying a mismatched transaction`);let n=new e(this.config),r=this.config.fields;for(let e=0;e<r.length;e++){let i=r[e];n[i.name]=i.apply(t,this[i.name],this,n)}return n}get tr(){return new p_(this)}static create(t){let n=new __(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new e(n);for(let e=0;e<n.fields.length;e++)r[n.fields[e].name]=n.fields[e].init(t,r);return r}reconfigure(t){let n=new __(this.schema,t.plugins),r=n.fields,i=new e(n);for(let e=0;e<r.length;e++){let n=r[e].name;i[n]=this.hasOwnProperty(n)?this[n]:r[e].init(t,i)}return i}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&typeof e==`object`)for(let n in e){if(n==`doc`||n==`selection`)throw RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(t,n,r){if(!n)throw RangeError(`Invalid input for EditorState.fromJSON`);if(!t.schema)throw RangeError(`Required config field 'schema' missing`);let i=new __(t.schema,t.plugins),a=new e(i);return i.fields.forEach(e=>{if(e.name==`doc`)a.doc=Wm.fromJSON(t.schema,n.doc);else if(e.name==`selection`)a.selection=J.fromJSON(a.doc,n.selection);else if(e.name==`storedMarks`)n.storedMarks&&(a.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let i in r){let o=r[i],s=o.spec.state;if(o.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,i)){a[e.name]=s.fromJSON.call(o,t,n[i],a);return}}a[e.name]=e.init(t,a)}}),a}};function y_(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r==`handleDOMEvents`&&(i=y_(i,t,{})),n[r]=i}return n}var b_=class{constructor(e){this.spec=e,this.props={},e.props&&y_(e.props,this,this.props),this.key=e.key?e.key.key:S_(`plugin`)}getState(e){return e[this.key]}},x_=Object.create(null);function S_(e){return e in x_?e+`$`+ ++x_[e]:(x_[e]=0,e+`$`)}var C_=class{constructor(e=`key`){this.key=S_(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}},w_=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function T_(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`backward`,e):n.parentOffset>0)?null:n}var E_=(e,t,n)=>{let r=T_(e,n);if(!r)return!1;let i=M_(r);if(!i){let n=r.blockRange(),i=n&&pg(n);return i!=null&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let a=i.nodeBefore;if(X_(e,i,t,-1))return!0;if(r.parent.content.size==0&&(A_(a,`end`)||X.isSelectable(a)))for(let n=r.depth;;n--){let o=Pg(e.doc,r.before(n),r.after(n),q.empty);if(o&&o.slice.size<o.to-o.from){if(t){let n=e.tr.step(o);n.setSelection(A_(a,`end`)?J.findFrom(n.doc.resolve(n.mapping.map(i.pos,-1)),-1):X.create(n.doc,i.pos-a.nodeSize)),t(n.scrollIntoView())}return!0}if(n==1||r.node(n-1).childCount>1)break}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-a.nodeSize,i.pos).scrollIntoView()),!0):!1},D_=(e,t,n)=>{let r=T_(e,n);if(!r)return!1;let i=M_(r);return i?k_(e,i,t):!1},O_=(e,t,n)=>{let r=N_(e,n);if(!r)return!1;let i=I_(r);return i?k_(e,i,t):!1};function k_(e,t,n){let r=t.nodeBefore,i=t.pos-1;for(;!r.isTextblock;i--){if(r.type.spec.isolating)return!1;let e=r.lastChild;if(!e)return!1;r=e}let a=t.nodeAfter,o=t.pos+1;for(;!a.isTextblock;o++){if(a.type.spec.isolating)return!1;let e=a.firstChild;if(!e)return!1;a=e}let s=Pg(e.doc,i,o,q.empty);if(!s||s.from!=i||s instanceof og&&s.slice.size>=o-i)return!1;if(n){let t=e.tr.step(s);t.setSelection(Y.create(t.doc,i)),n(t.scrollIntoView())}return!0}function A_(e,t,n=!1){for(let r=e;r;r=t==`start`?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}var j_=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`backward`,e):r.parentOffset>0)return!1;a=M_(r)}let o=a&&a.nodeBefore;return!o||!X.isSelectable(o)?!1:(t&&t(e.tr.setSelection(X.create(e.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function M_(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function N_(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`forward`,e):n.parentOffset<n.parent.content.size)?null:n}var P_=(e,t,n)=>{let r=N_(e,n);if(!r)return!1;let i=I_(r);if(!i)return!1;let a=i.nodeAfter;if(X_(e,i,t,1))return!0;if(r.parent.content.size==0&&(A_(a,`start`)||X.isSelectable(a))){let n=Pg(e.doc,r.before(),r.after(),q.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(A_(a,`start`)?J.findFrom(r.doc.resolve(r.mapping.map(i.pos)),1):X.create(r.doc,r.mapping.map(i.pos))),t(r.scrollIntoView())}return!0}}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos,i.pos+a.nodeSize).scrollIntoView()),!0):!1},F_=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`forward`,e):r.parentOffset<r.parent.content.size)return!1;a=I_(r)}let o=a&&a.nodeAfter;return!o||!X.isSelectable(o)?!1:(t&&t(e.tr.setSelection(X.create(e.doc,a.pos)).scrollIntoView()),!0)};function I_(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}var L_=(e,t)=>{let n=e.selection,r=n instanceof X,i;if(r){if(n.node.isTextblock||!Dg(e.doc,n.from))return!1;i=n.from}else if(i=Ag(e.doc,n.from,-1),i==null)return!1;if(t){let n=e.tr.join(i);r&&n.setSelection(X.create(n.doc,i-e.doc.resolve(i).nodeBefore.nodeSize)),t(n.scrollIntoView())}return!0},R_=(e,t)=>{let n=e.selection,r;if(n instanceof X){if(n.node.isTextblock||!Dg(e.doc,n.to))return!1;r=n.to}else if(r=Ag(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},z_=(e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),a=i&&pg(i);return a!=null&&(t&&t(e.tr.lift(i,a).scrollIntoView()),!0)},B_=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(`
9
+ `).scrollIntoView()),!0)};function V_(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var H_=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),o=V_(i.contentMatchAt(a));if(!o||!i.canReplaceWith(a,a,o))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,o.createAndFill());i.setSelection(J.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},U_=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof o_||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=V_(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,o=e.tr.insert(n,a.createAndFill());o.setSelection(Y.create(o.doc,n+1)),t(o.scrollIntoView())}return!0},W_=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(Tg(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&pg(r);return i!=null&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function G_(e){return(t,n)=>{if(t.selection instanceof X&&t.selection.node.isBlock){let{$from:e}=t.selection;return!e.parentOffset||!Tg(t.doc,e.pos)?!1:(n&&n(t.tr.split(e.pos).scrollIntoView()),!0)}if(!t.selection.$from.depth)return!1;let r=t.tr;!t.selection.empty&&(t.selection instanceof Y||t.selection instanceof o_)&&r.deleteSelection();let{$from:i}=r.selection,a=r.steps.length,o=[],s,c,l=!1,u=!1;for(let t=i.depth;;t--)if(i.node(t).isBlock){l=i.end(t)==i.pos+(i.depth-t),u=i.start(t)==i.pos-(i.depth-t),c=V_(i.node(t-1).contentMatchAt(i.indexAfter(t-1)));let n=e&&e(i.parent,l,i);o.unshift(n||(l&&c?{type:c}:null)),s=t;break}else{if(t==1)return!1;o.unshift(null)}let d=i.pos,f=Tg(r.doc,d,o.length,o);if(f||=(o[0]=c?{type:c}:null,Tg(r.doc,d,o.length,o)),!f)return!1;if(r.split(d,o.length,o),!l&&u&&i.node(s).type!=c){let e=r.mapping.slice(a),t=e.map(i.before(s)),n=r.doc.resolve(t);c&&i.node(s-1).canReplaceWith(n.index(),n.index()+1,c)&&r.setNodeMarkup(e.map(i.before(s)),c)}return n&&n(r.scrollIntoView()),!0}}var K_=G_(),q_=(e,t)=>{let{$from:n,to:r}=e.selection,i,a=n.sharedDepth(r);return a!=0&&(i=n.before(a),t&&t(e.tr.setSelection(X.create(e.doc,i))),!0)},J_=(e,t)=>(t&&t(e.tr.setSelection(new o_(e.doc))),!0);function Y_(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,a=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(a,a+1)||!(i.isTextblock||Dg(e.doc,t.pos))?!1:(n&&n(e.tr.join(t.pos).scrollIntoView()),!0)}function X_(e,t,n,r){let i=t.nodeBefore,a=t.nodeAfter,o,s,c=i.type.spec.isolating||a.type.spec.isolating;if(!c&&Y_(e,t,n))return!0;let l=!c&&t.parent.canReplace(t.index(),t.index()+1);if(l&&(o=(s=i.contentMatchAt(i.childCount)).findWrapping(a.type))&&s.matchType(o[0]||a.type).validEnd){if(n){let r=t.pos+a.nodeSize,s=G.empty;for(let e=o.length-1;e>=0;e--)s=G.from(o[e].create(null,s));s=G.from(i.copy(s));let c=e.tr.step(new sg(t.pos-1,r,t.pos,r,new q(s,1,0),o.length,!0)),l=c.doc.resolve(r+2*o.length);l.nodeAfter&&l.nodeAfter.type==i.type&&Dg(c.doc,l.pos)&&c.join(l.pos),n(c.scrollIntoView())}return!0}let u=a.type.spec.isolating||r>0&&c?null:J.findFrom(t,1),d=u&&u.$from.blockRange(u.$to),f=d&&pg(d);if(f!=null&&f>=t.depth)return n&&n(e.tr.lift(d,f).scrollIntoView()),!0;if(l&&A_(a,`start`,!0)&&A_(i,`end`)){let r=i,o=[];for(;o.push(r),!r.isTextblock;)r=r.lastChild;let s=a,c=1;for(;!s.isTextblock;s=s.firstChild)c++;if(r.canReplace(r.childCount,r.childCount,s.content)){if(n){let r=G.empty;for(let e=o.length-1;e>=0;e--)r=G.from(o[e].copy(r));n(e.tr.step(new sg(t.pos-o.length,t.pos+a.nodeSize,t.pos+c,t.pos+a.nodeSize-c,new q(r,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function Z_(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;for(;i.node(a).isInline;){if(!a)return!1;a--}return i.node(a).isTextblock?(n&&n(t.tr.setSelection(Y.create(t.doc,e<0?i.start(a):i.end(a)))),!0):!1}}var Q_=Z_(-1),$_=Z_(1);function ev(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a),s=o&&hg(o,e,t);return s?(r&&r(n.tr.wrap(o,s).scrollIntoView()),!0):!1}}function tv(e,t=null){return function(n,r){let i=!1;for(let r=0;r<n.selection.ranges.length&&!i;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];n.doc.nodesBetween(a,o,(r,a)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t)){if(r.type==e)i=!0;else{let t=n.doc.resolve(a),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];i.setBlockType(a,o,e,t)}r(i.scrollIntoView())}return!0}}function nv(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}var rv=nv(w_,E_,j_),iv=nv(w_,P_,F_),av={Enter:nv(B_,U_,W_,K_),"Mod-Enter":H_,Backspace:rv,"Mod-Backspace":rv,"Shift-Backspace":rv,Delete:iv,"Mod-Delete":iv,"Mod-a":J_},ov={"Ctrl-h":av.Backspace,"Alt-Backspace":av[`Mod-Backspace`],"Ctrl-d":av.Delete,"Ctrl-Alt-Backspace":av[`Mod-Delete`],"Alt-Delete":av[`Mod-Delete`],"Alt-d":av[`Mod-Delete`],"Ctrl-a":Q_,"Ctrl-e":$_};for(let e in av)ov[e]=av[e];typeof navigator<`u`?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<`u`&&os.platform&&os.platform();function sv(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a);if(!o)return!1;let s=r?n.tr:null;return cv(s,o,e,t)?(r&&r(s.scrollIntoView()),!0):!1}}function cv(e,t,n,r=null){let i=!1,a=t,o=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&t.startIndex==0){if(t.$from.index(t.depth-1)==0)return!1;let e=o.resolve(t.start-2);a=new Hm(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new Hm(t.$from,o.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let s=hg(a,n,r,t);return s?(e&&lv(e,t,s,i,n),!0):!1}function lv(e,t,n,r,i){let a=G.empty;for(let e=n.length-1;e>=0;e--)a=G.from(n[e].type.create(n[e].attrs,a));e.step(new sg(t.start-(r?2:0),t.end,t.start,t.end,new q(a,0,0),n.length,!0));let o=0;for(let e=0;e<n.length;e++)n[e].type==i&&(o=e+1);let s=n.length-o,c=t.start+n.length-(r?2:0),l=t.parent;for(let n=t.startIndex,r=t.endIndex,i=!0;n<r;n++,i=!1)!i&&Tg(e.doc,c,s)&&(e.split(c,s),c+=2*s),c+=l.child(n).nodeSize;return e}function uv(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);return a?n?r.node(a.depth-1).type==e?dv(t,n,e,a):fv(t,n,a):!0:!1}}function dv(e,t,n,r){let i=e.tr,a=r.end,o=r.$to.end(r.depth);a<o&&(i.step(new sg(a-1,o,a,o,new q(G.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new Hm(i.doc.resolve(r.$from.pos),i.doc.resolve(o),r.depth));let s=pg(r);if(s==null)return!1;i.lift(r,s);let c=i.doc.resolve(i.mapping.map(a,-1)-1);return Dg(i.doc,c.pos)&&c.nodeBefore.type==c.nodeAfter.type&&i.join(c.pos),t(i.scrollIntoView()),!0}function fv(e,t,n){let r=e.tr,i=n.parent;for(let e=n.end,t=n.endIndex-1,a=n.startIndex;t>a;t--)e-=i.child(t).nodeSize,r.delete(e-1,e+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==i.childCount,l=a.node(-1),u=a.index(-1);if(!l.canReplace(u+ +!s,u+1,o.content.append(c?G.empty:G.from(i))))return!1;let d=a.pos,f=d+o.nodeSize;return r.step(new sg(d-+!!s,f+ +!!c,d+1,f-1,new q((s?G.empty:G.from(i.copy(G.empty))).append(c?G.empty:G.from(i.copy(G.empty))),+!s,+!c),+!s)),t(r.scrollIntoView()),!0}function pv(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);if(!a)return!1;let o=a.startIndex;if(o==0)return!1;let s=a.parent,c=s.child(o-1);if(c.type!=e)return!1;if(n){let r=c.lastChild&&c.lastChild.type==s.type,i=G.from(r?e.create():null),o=new q(G.from(e.create(null,G.from(s.type.create(null,i)))),r?3:1,0),l=a.start,u=a.end;n(t.tr.step(new sg(l-(r?3:1),u,l,u,o,1,!0)).scrollIntoView())}return!0}}var mv=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},hv=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t},gv=null,_v=function(e,t,n){let r=gv||=document.createRange();return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},vv=function(){gv=null},yv=function(e,t,n,r){return n&&(xv(e,t,n,r,-1)||xv(e,t,n,r,1))},bv=/^(img|br|input|textarea|hr)$/i;function xv(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:Sv(e))){let n=e.parentNode;if(!n||!Z(n)||Ov(e)||bv.test(e.nodeName)||e.contentEditable==`false`)return!1;t=mv(e)+(i<0?0:1),e=n}else if(Z(e)){let n=e.childNodes[t+(i<0?-1:0)];if(Z(n)&&n.contentEditable==`false`){if(n.pmViewDesc?.ignoreForSelection)t+=i;else return!1}else e=n,t=i<0?Sv(e):0}else return!1}}function Sv(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Z(e){return e.nodeType==1}function Cv(e){return e.nodeType==3}function wv(e,t){return t?e.contains(Z(t)?t:t.parentNode):!1}function Tv(e,t){for(;;){if(Cv(e)&&t)return e;if(Z(e)&&t>0){if(e.contentEditable==`false`)return null;e=e.childNodes[t-1],t=Sv(e)}else if(e.parentNode&&!Ov(e))t=mv(e),e=e.parentNode;else return null}}function Ev(e,t){for(;;){if(Cv(e)&&t<e.nodeValue.length)return e;if(Z(e)&&t<e.childNodes.length){if(e.contentEditable==`false`)return null;e=e.childNodes[t],t=0}else if(e.parentNode&&!Ov(e))t=mv(e)+1,e=e.parentNode;else return null}}function Dv(e,t,n){for(let r=t==0,i=t==Sv(e);r||i;){if(e==n)return!0;let t=mv(e);if(e=e.parentNode,!e)return!1;r&&=t==0,i&&=t==Sv(e)}}function Ov(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var kv=function(e){return e.focusNode&&yv(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function Av(e,t){let n=document.createEvent(`Event`);return n.initEvent(`keydown`,!0,!0),n.keyCode=e,n.key=n.code=t,n}function jv(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function Mv(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(Sv(r.offsetNode),r.offset)}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(Sv(r.startContainer),r.startOffset)}}}var Nv=typeof navigator<`u`?navigator:null,Pv=typeof document<`u`?document:null,Fv=Nv&&Nv.userAgent||``,Iv=/Edge\/(\d+)/.exec(Fv),Lv=/MSIE \d/.exec(Fv),Rv=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Fv),zv=!!(Lv||Rv||Iv),Bv=Lv?document.documentMode:Rv?+Rv[1]:Iv?+Iv[1]:0,Vv=!zv&&/gecko\/(\d+)/i.test(Fv);Vv&&+(/Firefox\/(\d+)/.exec(Fv)||[0,0])[1];var Hv=!zv&&/Chrome\/(\d+)/.exec(Fv),Uv=!!Hv,Wv=Hv?+Hv[1]:0,Gv=!zv&&!!Nv&&/Apple Computer/.test(Nv.vendor),Kv=Gv&&(/Mobile\/\w+/.test(Fv)||!!Nv&&Nv.maxTouchPoints>2),qv=Kv||(Nv?/Mac/.test(Nv.platform):!1),Jv=Nv?/Win/.test(Nv.platform):!1,Yv=/Android \d/.test(Fv),Xv=!!Pv&&`webkitFontSmoothing`in Pv.documentElement.style,Zv=Xv?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Qv(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function $v(e,t){return typeof e==`number`?e:e[t]}function ey(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function ty(e,t,n){if(!gy(t)&&t.left==0)return;let r=e.someProp(`scrollThreshold`)||0,i=e.someProp(`scrollMargin`)||5,a=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(!Z(o)){o=hv(o);continue}let e=o==a.body,n=e?Qv(a):ey(o),s=0,c=0;if(t.top<n.top+$v(r,`top`)?c=-(n.top-t.top+$v(i,`top`)):t.bottom>n.bottom-$v(r,`bottom`)&&(c=t.bottom-t.top>n.bottom-n.top?t.top+$v(i,`top`)-n.top:t.bottom-n.bottom+$v(i,`bottom`)),t.left<n.left+$v(r,`left`)?s=-(n.left-t.left+$v(i,`left`)):t.right>n.right-$v(r,`right`)&&(s=t.right-n.right+$v(i,`right`)),s||c){if(e)a.defaultView.scrollBy(s,c);else{let e=o.scrollLeft,n=o.scrollTop;c&&(o.scrollTop+=c),s&&(o.scrollLeft+=s);let r=o.scrollLeft-e,i=o.scrollTop-n;t={left:t.left-r,top:t.top-i,right:t.right-r,bottom:t.bottom-i}}}let l=e?`fixed`:getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(l))break;o=l==`absolute`?o.offsetParent:hv(o)}}function ny(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let a=(t.left+t.right)/2,o=n+1;o<Math.min(innerHeight,t.bottom);o+=5){let t=e.root.elementFromPoint(a,o);if(!t||t==e.dom||!e.dom.contains(t))continue;let s=t.getBoundingClientRect();if(s.top>=n-20){r=t,i=s.top;break}}return{refDOM:r,refTop:i,stack:ry(e.dom)}}function ry(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=hv(r));return t}function iy({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;ay(n,r==0?0:r-t)}function ay(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:a}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=a&&(r.scrollLeft=a)}}var oy=null;function sy(e){if(e.setActive)return e.setActive();if(oy)return e.focus(oy);let t=ry(e);e.focus(oy==null?{get preventScroll(){return oy={preventScroll:!0},!0}}:void 0),oy||(oy=!1,ay(t,0))}function cy(e,t){let n,r=2e8,i,a=0,o=t.top,s=t.top,c,l;for(let u=e.firstChild,d=0;u;u=u.nextSibling,d++){let e;if(Z(u))e=u.getClientRects();else if(Cv(u))e=_v(u).getClientRects();else continue;for(let f=0;f<e.length;f++){let p=e[f];if(p.top<=o&&p.bottom>=s){o=Math.max(p.bottom,o),s=Math.min(p.top,s);let e=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(e<r){n=u,r=e,i=e&&Cv(n)?{left:p.right<t.left?p.right:p.left,top:t.top}:t,Z(u)&&e&&(a=d+ +(t.left>=(p.left+p.right)/2));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(a=d+1)}}return!n&&c&&(n=c,i=l,r=0),n&&Cv(n)?ly(n,i):!n||r?{node:e,offset:a}:cy(n,i)}function ly(e,t){let n=e.nodeValue.length,r=document.createRange(),i;for(let a=0;a<n;a++){r.setEnd(e,a+1),r.setStart(e,a);let n=_y(r,1);if(n.top!=n.bottom&&uy(t,n)){i={node:e,offset:a+ +(t.left>=(n.left+n.right)/2)};break}}return r.detach(),i||{node:e,offset:0}}function uy(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function dy(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}function fy(e,t,n){let{node:r,offset:i}=cy(t,n),a=-1;if(Z(r)&&!r.firstChild){let e=r.getBoundingClientRect();a=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,a)}function py(e,t,n,r){let i=-1;for(let n=t,a=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0),o;if(!t)return null;if(Z(t.dom)&&(t.node.isBlock&&t.parent||!t.contentDOM)&&((o=t.dom.getBoundingClientRect()).width||o.height)&&(t.node.isBlock&&t.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(t.dom.nodeName)&&(!a&&o.left>r.left||o.top>r.top?i=t.posBefore:(!a&&o.right<r.left||o.bottom<r.top)&&(i=t.posAfter),a=!0),!t.contentDOM&&i<0&&!t.node.isText))return(t.node.isBlock?r.top<(o.top+o.bottom)/2:r.left<(o.left+o.right)/2)?t.posBefore:t.posAfter;n=t.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}function my(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),a=i;;){let n=e.childNodes[a];if(Z(n)){let e=n.getClientRects();for(let r=0;r<e.length;r++){let i=e[r];if(uy(t,i))return my(n,t,i)}}if((a=(a+1)%r)==i)break}return e}function hy(e,t){let n=e.dom.ownerDocument,r,i=0,a=Mv(n,t.left,t.top);a&&({node:r,offset:i}=a);let o=(e.root.elementFromPoint?e.root:n).elementFromPoint(t.left,t.top),s;if(!o||!e.dom.contains(o)){let n=e.dom.getBoundingClientRect();if(!uy(t,n)||(o=my(e.dom,t,n),!o))return null}if(Gv)for(let e=o;r&&e;e=hv(e))e.draggable&&(r=void 0);if(o=dy(o,t),r){if(Vv&&Z(r)&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let e=r.childNodes[i],n;e.nodeName==`IMG`&&(n=e.getBoundingClientRect()).right<=t.left&&n.bottom>t.top&&i++}let n;Xv&&i&&Z(r)&&Z(n=r.childNodes[i-1])&&n.contentEditable==`false`&&n.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&Z(r.lastChild)&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:i!=0&&Z(r)&&r.childNodes[i-1].nodeName==`BR`||(s=py(e,r,i,t))}s??=fy(e,o,t);let c=e.docView.nearestDesc(o,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function gy(e){return e.top<e.bottom||e.left<e.right}function _y(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(gy(e))return e}return Array.prototype.find.call(n,gy)||e.getBoundingClientRect()}var vy=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function yy(e,t,n){let{node:r,offset:i,atom:a}=e.docView.domFromPos(t,n<0?-1:1),o=Xv||Vv;if(Cv(r)){if(o&&(vy.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let e=_y(_v(r,i,i),n);if(Vv&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let t=_y(_v(r,i-1,i-1),-1);if(t.top==e.top){let n=_y(_v(r,i,i+1),-1);if(n.top!=e.top)return by(n,n.left<t.left)}}return e}{let e=i,t=i,a=n<0?1:-1;return n<0&&!i?(t++,a=-1):n>=0&&i==r.nodeValue.length?(e--,a=1):n<0?e--:t++,by(_y(_v(r,e,t),a),a<0)}}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(a==null&&i&&(n<0||i==Sv(r))){let e=r.childNodes[i-1];if(Z(e))return xy(e.getBoundingClientRect(),!1)}if(a==null&&i<Sv(r)){let e=r.childNodes[i];if(Z(e))return xy(e.getBoundingClientRect(),!0)}return xy(r.getBoundingClientRect(),n>=0)}if(a==null&&i&&(n<0||i==Sv(r))){let e=r.childNodes[i-1],t=Cv(e)?_v(e,Sv(e)-+!o):Z(e)&&(e.nodeName!=`BR`||!e.nextSibling)?e:null;if(t)return by(_y(t,1),!1)}if(a==null&&i<Sv(r)){let e=r.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?Cv(e)?_v(e,0,+!o):Z(e)?e:null:null;if(t)return by(_y(t,-1),!0)}return by(_y(Cv(r)?_v(r):r,-n),n>=0)}function by(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function xy(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Sy(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function Cy(e,t,n){let r=t.selection,i=n==`up`?r.$from:r.$to;return Sy(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,n==`up`?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=yy(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(Z(e))t=e.getClientRects();else if(Cv(e))t=_v(e,0,e.nodeValue.length).getClientRects();else continue;for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&(n==`up`?r.top-i.top>(i.bottom-r.top)*2:i.bottom-r.bottom>(r.bottom-i.top)*2))return!1}}return!0})}var wy=/[\u0590-\u08ac]/;function Ty(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,a=!i,o=i==r.parent.content.size,s=e.domSelection();return s?!wy.test(r.parent.textContent)||!s.modify?n==`left`||n==`backward`?a:o:Sy(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:a,anchorOffset:o}=e.domSelectionRange(),c=s.caretBidiLevel;s.modify(`move`,n,`character`);let l=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),f=u&&!wv(l,u)||t==u&&i==d;try{s.collapse(a,o),t&&(t!=a||i!=o)&&s.extend&&s.extend(t,i)}catch{}return c!=null&&(s.caretBidiLevel=c),f}):r.pos==r.start()||r.pos==r.end()}var Ey=null,Dy=null,Oy=!1;function ky(e,t,n){return Ey==t&&Dy==n?Oy:(Ey=t,Dy=n,Oy=n==`up`||n==`down`?Cy(e,t,n):Ty(e,t,n))}var Ay=0,jy=1,My=2,Ny=3,Py=class{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=Ay,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(e){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&wv(this.contentDOM,e)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&!((r=n.pmViewDesc)&&r.parent==this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&!((r=n.pmViewDesc)&&r.parent==this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>mv(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=!!(e.compareDocumentPosition(this.contentDOM)&4);else if(this.dom.firstChild){if(t==0)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(r==null&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return r??n>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i=this.getDesc(r),a;if(i&&(!t||i.node)){if(n&&(a=i.nodeDOM)&&!(Z(a)?wv(a,e):a==e))n=!1;else return i}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],i=n+r.size;if(n==e&&i!=n){for(;!r.border&&r.children.length;)for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.size){r=t;break}}return r}if(e<i)return r.descAt(e-n-r.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let t=0;n<this.children.length;n++){let i=this.children[n],a=t+i.size;if(a>e){r=e-t;break}t=a}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(;n>0;n--){let e=this.children[n-1];if(e.size||!(e instanceof Vy||e instanceof Fy&&e.side>=0))break}if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?mv(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?mv(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let a=n,o=0;;o++){let n=this.children[o],s=a+n.size;if(r==-1&&e<=s){let i=a+n.border;if(e>=i&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=a;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=mv(n.dom)+1;break}e-=n.size}r==-1&&(r=0)}if(r>-1&&(s>t||o==this.children.length-1)){t=s;for(let e=o+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=mv(n.dom);break}t+=n.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=s}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(!Z(t)||n==t.childNodes.length)throw RangeError(`No node after pos `+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let i=Math.min(e,t),a=Math.max(e,t);for(let o=0,s=0;o<this.children.length;o++){let c=this.children[o],l=s+c.size;if(i>s&&a<l)return c.setSelection(e-s-c.border,t-s-c.border,n,r);s=l}let o=this.domFromPos(e,e?-1:1),s=t==e?o:this.domFromPos(t,t?-1:1),c=n.root.getSelection(),l=n.domSelectionRange(),u=!1;if((Vv||Gv)&&e==t){let{node:e,offset:t}=o;if(Cv(e)){if(u=!!(t&&e.nodeValue[t-1]==`
10
+ `),u&&t==e.nodeValue.length)for(let t=e,n;t;t=t.parentNode){if(n=t.nextSibling){n.nodeName==`BR`&&(o=s={node:n.parentNode,offset:mv(n)+1});break}let e=t.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];u=n&&(n.nodeName==`BR`||n.contentEditable==`false`)}}if(Vv&&l.focusNode&&l.focusNode!=s.node&&Z(l.focusNode)){let e=l.focusNode.childNodes[l.focusOffset];e&&e.contentEditable==`false`&&(r=!0)}if(!(r||u&&Gv)&&yv(o.node,o.offset,l.anchorNode,l.anchorOffset)&&yv(s.node,s.offset,l.focusNode,l.focusOffset))return;let d=!1;if((c.extend||e==t)&&!(u&&Vv)){c.collapse(o.node,o.offset);try{e!=t&&c.extend(s.node,s.offset),d=!0}catch{}}if(!d){if(e>t){let e=o;o=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&e.type!=`selection`}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],a=n+i.size;if(n==a?e<=a&&t>=n:e<a&&t>n){let r=n+i.border,o=a-i.border;if(e>=r&&t<=o){this.dirty=e==n||t==a?My:jy,e==r&&t==o&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=Ny:i.markDirty(e-r,t-r);return}i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?My:Ny}n=a}this.dirty=My}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=e==1?My:jy;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}},Fy=class extends Py{constructor(e,t,n,r){let i,a=t.type.toDOM;if(typeof a==`function`&&(a=a(n,()=>{if(!i)return r;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){let e=Z(a)?a:document.createElement(`span`);e!=a&&e.appendChild(a),e.hasAttribute(`contenteditable`)||(e.contentEditable=`false`),e.classList.add(`ProseMirror-widget`)}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==Ay&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!=`selection`||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}},Iy=class extends Py{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e==this.textDOM?this.posAtStart+t:this.posAtStart+(t?this.size:0)}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type===`characterData`&&e.target.nodeValue==e.oldValue}},Ly=class e extends Py{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}static create(t,n,r,i){let a=i.nodeViews[n.type.name],o=a&&a(n,i,r);return o&&o.dom||(o=Nh.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e(t,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&Ny||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Ny&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=Ay){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=Ay}}slice(t,n,r){let i=e.create(this.parent,this.mark,!0,r),a=this.children,o=this.size;n<o&&(a=ib(a,n,o,r)),t>0&&(a=ib(a,0,t,r));for(let e=0;e<a.length;e++)a[e].parent=i;return i.children=a,i}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}},Ry=class e extends Py{constructor(e,t,n,r,i,a,o){super(e,[],i,a),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=o}static create(t,n,r,i,a,o){let s=a.nodeViews[n.type.name],c,l=s&&s(n,a,()=>{if(!c)return o;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,d=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(!Cv(u))throw RangeError(`Text must be rendered as a DOM text node`)}else if(!u){let e=Nh.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs);({dom:u,contentDOM:d}=e)}!d&&!n.isText&&u.nodeName!=`BR`&&(u.hasAttribute(`contenteditable`)||(u.contentEditable=`false`),n.type.spec.draggable&&(u.draggable=!0));let f=u;return u=Yy(u,r,n),l?c=new Hy(t,n,r,i,u,d||null,f,l):n.isText?new By(t,n,r,i,u,f):new e(t,n,r,i,u,d||null,f)}parseRule(e){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace==`pre`&&(t.preserveWhitespace=`full`),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let e=this.children.length-1;e>=0;e--){let n=this.children[e];if(this.dom.contains(n.dom.parentNode)){t.contentElement=n.dom.parentNode;break}}if(!t.contentElement){let n=e&&e.find(t=>Z(t)&&e.indexOf(t.parentNode)<0&&this.dom.contains(t));n?t.contentElement=n:t.getContent=()=>G.empty}}return t}matchesNode(e,t,n){return this.dirty==Ay&&e.eq(this.node)&&Xy(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return+!this.node.isLeaf}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,o=i&&i.pos<0,s=new Qy(this,a&&a.node,e),c=this.node.inlineContent,l=c&&this.node.isBlock;tb(this.node,this.innerDeco,(t,i,a)=>{t.spec.marks?s.syncToMarks(t.spec.marks,n,e,i):t.type.side>=0&&!a&&s.syncToMarks(i==this.node.childCount?K.none:this.node.child(i).marks,n,e,i),s.placeWidget(t,e,r)},(t,a,u,d)=>{s.syncToMarks(t.marks,n,e,d),l&&t.isAtom&&!t.isText&&s.addHackNode(`IMG`,s.top);let f;s.findNodeMatch(t,a,u,d)||o&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(f=s.findIndexWithChild(i.node))>-1&&s.updateNodeAt(t,a,u,f,e)||s.updateNextNode(t,a,u,e,d,r)||s.addNode(t,a,u,e,r),r+=t.nodeSize,c&&(l=t.isAtom&&!t.isText)}),s.syncToMarks([],n,e,0),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||this.dirty==My)&&(a&&this.protectLocalComposition(e,a),Uy(this.contentDOM,this.children,e),Kv&&nb(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof Y)||n<t||r>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,a=rb(this.node.content,e,n-t,r-t);return a<0?null:{node:i,pos:a,text:e}}return{node:i,pos:-1,text:``}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new Iy(this,i,t,r);e.input.compositionNodes.push(a),this.children=ib(this.children,n,n+r.length,e,a)}update(e,t,n,r){return this.dirty==Ny||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=Ay}updateOuterDeco(e){if(Xy(e,this.outerDeco))return;let t=!Z(this.nodeDOM),n=this.dom;this.dom=qy(this.dom,this.nodeDOM,Ky(this.outerDeco,this.node,t),Ky(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){Z(this.nodeDOM)&&(this.nodeDOM.classList.add(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){Z(this.nodeDOM)&&(this.nodeDOM.classList.remove(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute(`draggable`))}get domAtom(){return this.node.isAtom}};function zy(e,t,n,r,i){Yy(r,t,e);let a=new Ry(void 0,e,t,n,r,r,r);return a.contentDOM&&a.updateChildren(i,0),a}var By=class e extends Ry{constructor(e,t,n,r,i,a){super(e,t,n,r,i,null,a)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return this.dirty==Ny||this.dirty!=Ay&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=Ay||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=Ay,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return e.type!=`characterData`&&e.type!=`selection`}slice(t,n,r){let i=this.node.cut(t,n),a=document.createTextNode(i.text);return new e(this.parent,i,this.outerDeco,this.innerDeco,a,a)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=Ny)}get domAtom(){return!1}isText(e){return this.node.text==e}},Vy=class extends Py{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Ay&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName==`IMG`}},Hy=class extends Ry{constructor(e,t,n,r,i,a,o,s){super(e,t,n,r,i,a,o),this.spec=s}update(e,t,n,r){if(this.dirty==Ny)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};function Uy(e,t,n){let r=e.firstChild,i=!1;for(let a=0;a<t.length;a++){let o=t[a],s=o.dom;if(s.parentNode==e){for(;s!=r;)r=Zy(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(o instanceof Ly){let t=r?r.previousSibling:e.lastChild;Uy(o.contentDOM,o.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=Zy(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}var Wy=function(e){e&&(this.nodeName=e)};Wy.prototype=Object.create(null);var Gy=[new Wy];function Ky(e,t,n){if(e.length==0)return Gy;let r=n?Gy[0]:new Wy,i=[r];for(let a=0;a<e.length;a++){let o=e[a].type.attrs;if(o){o.nodeName&&i.push(r=new Wy(o.nodeName));for(let e in o){let a=o[e];a!=null&&(n&&i.length==1&&i.push(r=new Wy(t.isInline?`span`:`div`)),e==`class`?r.class=(r.class?r.class+` `:``)+a:e==`style`?r.style=(r.style?r.style+`;`:``)+a:e!=`nodeName`&&(r[e]=a))}}}return i}function qy(e,t,n,r){if(n==Gy&&r==Gy)return t;let i=t;for(let t=0;t<r.length;t++){let a=r[t],o=n[t];if(t){let t;o&&o.nodeName==a.nodeName&&i!=e&&(t=i.parentNode)&&t.nodeName.toLowerCase()==a.nodeName||(t=document.createElement(a.nodeName),t.pmIsDeco=!0,t.appendChild(i),o=Gy[0]),i=t}Jy(i,o||Gy[0],a)}return i}function Jy(e,t,n){for(let r in t)r!=`class`&&r!=`style`&&r!=`nodeName`&&!(r in n)&&e.removeAttribute(r);for(let r in n)r!=`class`&&r!=`style`&&r!=`nodeName`&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(` `).filter(Boolean):[],i=n.class?n.class.split(` `).filter(Boolean):[];for(let t=0;t<r.length;t++)i.indexOf(r[t])==-1&&e.classList.remove(r[t]);for(let t=0;t<i.length;t++)r.indexOf(i[t])==-1&&e.classList.add(i[t]);e.classList.length==0&&e.removeAttribute(`class`)}if(t.style!=n.style){if(t.style){let n=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,r;for(;r=n.exec(t.style);)e.style.removeProperty(r[1])}n.style&&(e.style.cssText+=n.style)}}function Yy(e,t,n){return qy(e,e,Gy,Ky(t,n,!Z(e)))}function Xy(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Zy(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}var Qy=class{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=$y(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n,r){let i=0,a=this.stack.length>>1,o=Math.min(a,e.length);for(;i<o&&(i==a-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&e[i].type.spec.spanning!==!1;)i++;for(;i<a;)this.destroyRest(),this.top.dirty=Ay,this.index=this.stack.pop(),this.top=this.stack.pop(),a--;for(;a<e.length;){this.stack.push(this.top,this.index+1);let i=-1,o=this.top.children.length;r<this.preMatch.index&&(o=Math.min(this.index+3,o));for(let t=this.index;t<o;t++){let n=this.top.children[t];if(n.matchesMark(e[a])&&!this.isLocked(n.dom)){i=t;break}}if(i<0&&this.index<this.top.children.length){let t=this.top.children[this.index];t instanceof Ly&&t.dirty!=Ny&&t.mark.type==e[a].type&&t.spec.update&&!this.isLocked(t.dom)&&t.spec.update(e[a])&&(t.mark=e[a],i=this.index,this.changed=!0)}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=Ly.create(this.top,e[a],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,a++}}findNodeMatch(e,t,n,r){let i=-1,a;if(r>=this.preMatch.index&&(a=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&a.matchesNode(e,t,n))i=this.top.children.indexOf(a,this.index);else for(let r=this.index,a=Math.min(this.top.children.length,r+5);r<a;r++){let a=this.top.children[r];if(a.matchesNode(e,t,n)&&!this.preMatch.matched.has(a)){i=r;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,n,r,i){let a=this.top.children[r];return a.dirty==Ny&&a.dom==a.contentDOM&&(a.dirty=My),a.update(e,t,n,i)?(this.destroyBetween(this.index,r),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t){for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e}return-1}e=t}}updateNextNode(e,t,n,r,i,a){for(let o=this.index;o<this.top.children.length;o++){let s=this.top.children[o];if(s instanceof Ry){let c=this.preMatch.matched.get(s);if(c!=null&&c!=i)return!1;let l=s.dom,u,d=this.isLocked(l)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&s.dirty!=Ny&&Xy(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,o),s.dom!=l&&(this.changed=!0),this.index++,!0;if(!d&&(u=this.recreateWrapper(s,e,t,n,r,a)))return this.destroyBetween(this.index,o),this.top.children[this.index]=u,u.contentDOM&&(u.dirty=My,u.updateChildren(r,a+1),u.dirty=Ay),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!Xy(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let o=Ry.create(this.top,t,n,r,i,a);if(o.contentDOM){o.children=e.children,e.children=[];for(let e of o.children)e.parent=o}return e.destroy(),o}addNode(e,t,n,r,i){let a=Ry.create(this.top,e,t,n,r,i);a.contentDOM&&a.updateChildren(r,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(r&&r.matchesWidget(e)&&(e==r.widget||!r.widget.type.toDOM.parentNode))this.index++;else{let r=new Fy(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof Ly;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof By)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Gv||Uv)&&e&&e.dom.contentEditable==`false`&&this.addHackNode(`IMG`,t),this.addHackNode(`BR`,this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);e==`IMG`&&(n.className=`ProseMirror-separator`,n.alt=``),e==`BR`&&(n.className=`ProseMirror-trailingBreak`);let r=new Vy(this.top,[],n,null);t==this.top?t.children.splice(this.index++,0,r):t.children.push(r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||Z(e)&&e.contains(this.lock.parentNode))}};function $y(e,t){let n=t,r=n.children.length,i=e.childCount,a=new Map,o=[];outer:for(;i>0;){let s;for(;;)if(r){let e=n.children[r-1];if(e instanceof Ly)n=e,r=e.children.length;else{s=e,r--;break}}else if(n==t)break outer;else r=n.parent.children.indexOf(n),n=n.parent;let c=s.node;if(c){if(c!=e.child(i-1))break;--i,a.set(s,i),o.push(s)}}return{index:i,matched:a,matches:o.reverse()}}function eb(e,t){return e.type.side-t.type.side}function tb(e,t,n,r){let i=t.locals(e),a=0;if(i.length==0){for(let n=0;n<e.childCount;n++){let o=e.child(n);r(o,i,t.forChild(a,o),n),a+=o.nodeSize}return}let o=0,s=[],c=null;for(let l=0;;){let u,d;for(;o<i.length&&i[o].to==a;){let e=i[o++];e.widget&&(u?(d||=[u]).push(e):u=e)}if(u){if(d){d.sort(eb);for(let e=0;e<d.length;e++)n(d[e],l,!!c)}else n(u,l,!!c)}let f,p;if(c)p=-1,f=c,c=null;else if(l<e.childCount)p=l,f=e.child(l++);else break;for(let e=0;e<s.length;e++)s[e].to<=a&&s.splice(e--,1);for(;o<i.length&&i[o].from<=a&&i[o].to>a;)s.push(i[o++]);let m=a+f.nodeSize;if(f.isText){let e=m;o<i.length&&i[o].from<e&&(e=i[o].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<m&&(c=f.cut(e-a),f=f.cut(0,e-a),m=e,p=-1)}else for(;o<i.length&&i[o].to<m;)o++;let h=f.isInline&&!f.isLeaf?s.filter(e=>!e.inline):s.slice();r(f,h,t.forChild(a,f),p),a=m}}function nb(e){if(e.nodeName==`UL`||e.nodeName==`OL`){let t=e.style.cssText;e.style.cssText=t+`; list-style: square !important`,window.getComputedStyle(e).listStyle,e.style.cssText=t}}function rb(e,t,n,r){for(let i=0,a=0;i<e.childCount&&a<=r;){let o=e.child(i++),s=a;if(a+=o.nodeSize,!o.isText)continue;let c=o.text;for(;i<e.childCount;){let t=e.child(i++);if(a+=t.nodeSize,!t.isText)break;c+=t.text}if(a>=n){if(a>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?c.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function ib(e,t,n,r,i){let a=[];for(let o=0,s=0;o<e.length;o++){let c=e[o],l=s,u=s+=c.size;l>=n||u<=t?a.push(c):(l<t&&a.push(c.slice(0,t-l,r)),i&&=(a.push(i),void 0),u>n&&a.push(c.slice(n-l,c.size,r)))}return a}function ab(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),a=i&&i.size==0,o=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let s=r.resolve(o),c,l;if(kv(n)){for(c=o;i&&!i.node;)i=i.parent;if(i&&i.node.isAtom&&X.isSelectable(i.node)&&i.parent&&!(i.node.isInline&&Dv(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;l=new X(o==e?s:r.resolve(e))}else if(Vv&&t==`key`&&o>e.state.selection.to&&Z(n.focusNode)&&n.focusOffset==n.focusNode.childNodes.length&&i&&i.posAtStart>e.state.selection.to)for(let e=n.focusNode;;e=e.parentNode){if(getComputedStyle(e).overflow!=`visible`){l=J.findFrom(r.resolve(i.posAtStart),1);break}if(e==i.dom||e.nextSibling||!e.parentNode||!Z(e.parentNode))break}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=o,i=o;for(let r=0;r<n.rangeCount;r++){let a=n.getRangeAt(r);t=Math.min(t,e.docView.posFromDOM(a.startContainer,a.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(a.endContainer,a.endOffset,-1))}if(t<0)return null;[c,o]=i==e.state.selection.anchor?[i,t]:[t,i],s=r.resolve(o)}else c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let u=r.resolve(c);if(!l){let n=t==`pointer`||e.state.selection.head<s.pos&&!a?1:-1;l=gb(e,u,s,n)}return l}function ob(e){return e.editable?e.hasFocus():vb(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function sb(e,t=!1){let n=e.state.selection;if(mb(e,n),!ob(e))return;let r=e.input.mouseDown;if(!t&&Uv&&r){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&yv(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset)&&r.delaySelUpdate()){e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)pb(e);else{let{anchor:r,head:i}=n,a,o;cb&&!(n instanceof Y)&&(n.$from.parent.inlineContent||(a=lb(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(o=lb(e,n.to))),e.docView.setSelection(r,i,e,t),cb&&(a&&db(a),o&&db(o)),n.visible?e.dom.classList.remove(`ProseMirror-hideselection`):(e.dom.classList.add(`ProseMirror-hideselection`),`onselectionchange`in document&&fb(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}var cb=Gv||Uv&&Wv<63;function lb(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,a=r?n.childNodes[r-1]:null;if(Gv&&i&&i.contentEditable==`false`)return ub(i);if((!i||i.contentEditable==`false`)&&(!a||a.contentEditable==`false`)){if(i)return ub(i);if(a)return ub(a)}}function ub(e){return e.contentEditable=`true`,Gv&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function db(e){e.contentEditable=`false`,e.wasDraggable&&=(e.draggable=!0,null)}function fb(e){let t=e.dom.ownerDocument;t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener(`selectionchange`,e.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=i)&&(t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard),setTimeout(()=>{(!ob(e)||e.state.selection.visible)&&e.dom.classList.remove(`ProseMirror-hideselection`)},20))})}function pb(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,r=n.nodeName==`IMG`;r?t.collapse(n.parentNode,mv(n)+1):t.collapse(n,0),!r&&!e.state.selection.visible&&zv&&Bv<=11&&(n.disabled=!0,n.disabled=!1)}function mb(e,t){if(t instanceof X){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(hb(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else hb(e)}function hb(e){e.lastSelectedViewDesc&&=(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),void 0)}function gb(e,t,n,r){return e.someProp(`createSelectionBetween`,r=>r(e,t,n))||Y.between(t,n,r)}function _b(e){return e.editable&&!e.hasFocus()?!1:vb(e)}function vb(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return wv(e.dom,t.anchorNode)&&(e.editable||wv(e.dom,t.focusNode))}catch{return!1}}function yb(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return yv(t.node,t.offset,n.anchorNode,n.anchorOffset)}function bb(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&J.findFrom(a,t)}function xb(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Sb(e,t,n){let r=e.state.selection;if(r instanceof Y){if(n.indexOf(`s`)>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return xb(e,new Y(r.$anchor,a))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`)){let n=bb(e.state,t);return n&&n instanceof X?xb(e,n):!1}if(!(qv&&n.indexOf(`m`)>-1)){let n=r.$head,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter,a;if(!i||i.isText)return!1;let o=t<0?n.pos-i.nodeSize:n.pos;return i.isAtom||(a=e.docView.descAt(o))&&!a.contentDOM?X.isSelectable(i)?xb(e,new X(t<0?e.state.doc.resolve(n.pos-i.nodeSize):n)):xb(e,new Y(e.state.doc.resolve(t<0?o:o+i.nodeSize))):!1}}else if(r instanceof X&&r.node.isInline)return xb(e,new Y(t>0?r.$to:r.$from));else{let n=bb(e.state,t);return n?xb(e,n):!1}}function Cb(e,t){let n=e.pmViewDesc;return n?n.size==0&&(t<0||e.nextSibling||e.nodeName!=`BR`):Z(e)&&e.contentEditable==`false`}function wb(e,t){return t<0?Tb(e):Eb(e)}function Tb(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,a,o=!1;for(Vv&&Z(n)&&r<Sv(n)&&Cb(n.childNodes[r],-1)&&(o=!0);;)if(r>0){if(!Z(n))break;let e=n.childNodes[r-1];if(Cb(e,-1))i=n,a=--r;else if(Cv(e))n=e,r=n.nodeValue.length;else break}else if(Db(n))break;else{let t=n.previousSibling;for(;t&&Cb(t,-1);)i=n.parentNode,a=mv(t),t=t.previousSibling;if(t)n=t,r=Sv(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}o?Ab(e,n,r):i&&Ab(e,i,a)}function Eb(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i=Sv(n),a,o;for(;;)if(r<i){if(!Z(n))break;let e=n.childNodes[r];if(Cb(e,1))a=n,o=++r;else break}else if(Db(n))break;else{let t=n.nextSibling;for(;t&&Cb(t,1);)a=t.parentNode,o=mv(t)+1,t=t.nextSibling;if(t)n=t,r=0,i=Sv(n);else{if(n=n.parentNode,n==e.dom)break;r=i=0}}a&&Ab(e,a,o)}function Db(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Ob(e,t){for(;e&&t==e.childNodes.length&&!Ov(e);)t=mv(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(Cv(n))return n;if(Z(n)&&n.contentEditable==`false`)break;e=n,t=0}}function kb(e,t){for(;e&&!t&&!Ov(e);)t=mv(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(Cv(n))return n;if(Z(n)&&n.contentEditable==`false`)break;e=n,t=e.childNodes.length}}function Ab(e,t,n){if(!Cv(t)){let e,r;(r=Ob(t,n))?(t=r,n=0):(e=kb(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(!r)return;if(kv(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout(()=>{e.state==i&&sb(e)},50)}function jb(e,t){let n=e.state.doc.resolve(t);if(!(Uv||Jv)&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?`ltr`:`rtl`}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?`ltr`:`rtl`}}return getComputedStyle(e.dom).direction==`rtl`?`rtl`:`ltr`}function Mb(e,t,n){let r=e.state.selection;if(r instanceof Y&&!r.empty||n.indexOf(`s`)>-1||qv&&n.indexOf(`m`)>-1)return!1;let{$from:i,$to:a}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?`up`:`down`)){let n=bb(e.state,t);if(n&&n instanceof X)return xb(e,n)}if(!i.parent.inlineContent){let n=t<0?i:a,o=r instanceof o_?J.near(n,t):J.findFrom(n,t);return o?xb(e,o):!1}return!1}function Nb(e,t){if(!(e.state.selection instanceof Y))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function Pb(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function Fb(e){if(!Gv||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&Z(t)&&n==0&&t.firstChild&&Z(t.firstChild)&&t.firstChild.contentEditable==`false`){let n=t.firstChild;Pb(e,n,`true`),setTimeout(()=>Pb(e,n,`false`),20)}return!1}function Ib(e){let t=``;return e.ctrlKey&&(t+=`c`),e.metaKey&&(t+=`m`),e.altKey&&(t+=`a`),e.shiftKey&&(t+=`s`),t}function Lb(e,t){let n=t.keyCode,r=Ib(t);if(n==8||qv&&n==72&&r==`c`)return Nb(e,-1)||wb(e,-1);if(n==46&&!t.shiftKey||qv&&n==68&&r==`c`)return Nb(e,1)||wb(e,1);if(n==13||n==27)return!0;if(n==37||qv&&n==66&&r==`c`){let t=n==37?jb(e,e.state.selection.from)==`ltr`?-1:1:-1;return Sb(e,t,r)||wb(e,t)}if(n==39||qv&&n==70&&r==`c`){let t=n==39?jb(e,e.state.selection.from)==`ltr`?1:-1:1;return Sb(e,t,r)||wb(e,t)}return n==38||qv&&n==80&&r==`c`?Mb(e,-1,r)||wb(e,-1):n==40||qv&&n==78&&r==`c`?Fb(e)||Mb(e,1,r)||wb(e,1):!(r!=(qv?`m`:`c`)||n!=66&&n!=73&&n!=89&&n!=90)}function Rb(e,t){e.someProp(`transformCopied`,n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:a}=t;for(;i>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,a--;let e=r.firstChild;n.push(e.type.name,e.attrs==e.type.defaultAttrs?null:e.attrs),r=e.content}let o=e.someProp(`clipboardSerializer`)||Nh.fromSchema(e.state.schema),s=Jb(),c=s.createElement(`div`);c.appendChild(o.serializeFragment(r,{document:s}));let l=c.firstChild,u,d=0;for(;l&&Z(l)&&(u=qb[l.nodeName.toLowerCase()]);){for(let e=u.length-1;e>=0;e--){let t=s.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),d++}l=c.firstChild}return l&&Z(l)&&l.setAttribute(`data-pm-slice`,`${i} ${a}${d?` -${d}`:``} ${JSON.stringify(n)}`),{dom:c,text:e.someProp(`clipboardTextSerializer`,n=>n(t,e))||t.content.textBetween(0,t.content.size,`
11
+
12
+ `),slice:t}}function zb(e,t,n,r,i){let a=i.parent.type.spec.code,o,s;if(!n&&!t)return null;let c=!!t&&(r||a||!n);if(c){if(e.someProp(`transformPastedText`,n=>{t=n(t,a||r,e)}),a)return s=new q(G.from(e.state.schema.text(t.replace(/\r\n?/g,`
13
+ `))),0,0),e.someProp(`transformPasted`,t=>{s=t(s,e,!0)}),s;let n=e.someProp(`clipboardTextParser`,n=>n(t,i,r,e));if(n)s=n;else{let n=i.marks(),{schema:r}=e.state,a=Nh.fromSchema(r);o=document.createElement(`div`),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=o.appendChild(document.createElement(`p`));e&&t.appendChild(a.serializeNode(r.text(e,n)))})}}else e.someProp(`transformPastedHTML`,t=>{n=t(n,e)}),o=Zb(n),Xv&&Qb(o);let l=o&&o.querySelector(`[data-pm-slice]`),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute(`data-pm-slice`)||``);if(u&&u[3])for(let e=+u[3];e>0;e--){let e=o.firstChild;for(;e&&!Z(e);)e=e.nextSibling;if(!e)break;o=e}if(s||=(e.someProp(`clipboardParser`)||e.someProp(`domParser`)||yh.fromSchema(e.state.schema)).parseSlice(o,{preserveWhitespace:!!(c||u),context:i,ruleFromNode(e){return e.nodeName==`BR`&&!e.nextSibling&&e.parentNode&&!Bb.test(e.parentNode.nodeName)?{ignore:!0}:null}}),u)s=$b(Kb(s,+u[1],+u[2]),u[4]);else if(s=q.maxOpen(Vb(s.content,i),!0),s.openStart||s.openEnd){let e=0,t=0;for(let t=s.content.firstChild;e<s.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=s.content.lastChild;t<s.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);s=Kb(s,e,t)}return e.someProp(`transformPasted`,t=>{s=t(s,e,c)}),s}var Bb=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Vb(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(e=>{if(!a)return;let t=r.findWrapping(e.type),n;if(!t)return a=null;if(n=a.length&&i.length&&Ub(t,i,e,a[a.length-1],0))a[a.length-1]=n;else{a.length&&(a[a.length-1]=Wb(a[a.length-1],i.length));let n=Hb(e,t);a.push(n),r=r.matchType(n.type),i=t}}),a)return G.from(a)}return e}function Hb(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,G.from(e));return e}function Ub(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let a=Ub(e,t,n,r.lastChild,i+1);if(a)return r.copy(r.content.replaceChild(r.childCount-1,a));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(G.from(Hb(n,e,i+1))))}}function Wb(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,Wb(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(G.empty,!0);return e.copy(n.append(r))}function Gb(e,t,n,r,i,a){let o=t<0?e.firstChild:e.lastChild,s=o.content;return e.childCount>1&&(a=0),i<r-1&&(s=Gb(s,t,n,r,i+1,a)),i>=n&&(s=t<0?o.contentMatchAt(0).fillBefore(s,a<=i).append(s):s.append(o.contentMatchAt(o.childCount).fillBefore(G.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,o.copy(s))}function Kb(e,t,n){return t<e.openStart&&(e=new q(Gb(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new q(Gb(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}var qb={thead:[`table`],tbody:[`table`],tfoot:[`table`],caption:[`table`],colgroup:[`table`],col:[`table`,`colgroup`],tr:[`table`,`tbody`],td:[`table`,`tbody`,`tr`],th:[`table`,`tbody`,`tr`]};function Jb(){return document.implementation.createHTMLDocument(`title`)}var Yb=null;function Xb(e){let t=window.trustedTypes;if(!t)return e;if(!Yb){if(Yb=t.defaultPolicy)try{return Yb.createHTML(e)}catch{}Yb=t.createPolicy(`ProseMirrorClipboard`,{createHTML:e=>e})}return Yb.createHTML(e)}function Zb(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=Jb(),r=n.body,i=/<([a-z][^>\s]+)/i.exec(e),a;if((a=i&&qb[i[1].toLowerCase()])&&(e=a.map(e=>`<`+e+`>`).join(``)+e+a.map(e=>`</`+e+`>`).reverse().join(``)),r.innerHTML=Xb(e),a)for(let e=0;e<a.length;e++)r=r.querySelector(a[e])||r;for(let e=0;e<n.styleSheets.length;e++){let t=n.styleSheets[e];for(let e=0;e<t.rules.length;e++){let n=t.rules[e];if(n instanceof CSSStyleRule){let e=r.querySelectorAll(n.selectorText);for(let t=0;t<e.length;t++)e[t].style.cssText+=n.style.cssText}}}return r}function Qb(e){let t=e.querySelectorAll(Uv?`span:not([class]):not([style])`:`span.Apple-converted-space`);for(let n=0;n<t.length;n++){let r=t[n];r.childNodes.length==1&&r.textContent==`\xA0`&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(` `),r)}}function $b(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,r;try{r=JSON.parse(t)}catch{return e}let{content:i,openStart:a,openEnd:o}=e;for(let e=r.length-2;e>=0;e-=2){let t=n.nodes[r[e]];if(!t||t.hasRequiredAttrs())break;try{i=G.from(t.create(r[e+1],i))}catch{break}a++,o++}return new q(i,a,o)}var ex={},tx={},nx={touchstart:!0,touchmove:!0},rx=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:``,button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function ix(e){for(let t in ex){let n=ex[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{lx(e,t)&&!cx(e,t)&&(e.editable||!(t.type in tx))&&n(e,t)},nx[t]?{passive:!0}:void 0)}Gv&&e.dom.addEventListener(`input`,()=>null),sx(e)}function ax(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function ox(e){e.input.mouseDown&&e.input.mouseDown.done(),e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function sx(e){e.someProp(`handleDOMEvents`,t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>cx(e,t))})}function cx(e,t){return e.someProp(`handleDOMEvents`,n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function lx(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function ux(e,t){!cx(e,t)&&ex[t.type]&&(e.editable||!(t.type in tx))&&ex[t.type](e,t)}tx.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!Dx(e)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(Yv&&Uv&&n.keyCode==13))){if(n.keyCode!=229&&e.domObserver.forceFlush(),Kv&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp(`handleKeyDown`,t=>t(e,Av(13,`Enter`))),e.input.lastIOSEnter=0)},200)}else e.someProp(`handleKeyDown`,t=>t(e,n))||Lb(e,n)?n.preventDefault():ax(e,`key`)}},tx.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)},tx.keypress=(e,t)=>{let n=t;if(Dx(e)||!n.charCode||n.ctrlKey&&!n.altKey||qv&&n.metaKey)return;if(e.someProp(`handleKeyPress`,t=>t(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof Y)||!r.$from.sameParent(r.$to)){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();!/[\r\n]/.test(t)&&!e.someProp(`handleTextInput`,n=>n(e,r.$from.pos,r.$to.pos,t,i))&&e.dispatch(i()),n.preventDefault()}};function dx(e){return{left:e.clientX,top:e.clientY}}function fx(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function px(e,t,n,r,i){if(r==-1)return!1;let a=e.state.doc.resolve(r);for(let r=a.depth+1;r>0;r--)if(e.someProp(t,t=>r>a.depth?t(e,n,a.nodeAfter,a.before(r),i,!0):t(e,n,a.node(r),a.before(r),i,!1)))return!0;return!1}function mx(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);r.setMeta(`pointer`,!0),e.dispatch(r)}function hx(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&X.isSelectable(r)?(mx(e,new X(n)),!0):!1}function gx(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof X&&(r=n.node);let a=e.state.doc.resolve(t);for(let e=a.depth+1;e>0;e--){let t=e>a.depth?a.nodeAfter:a.node(e);if(X.isSelectable(t)){i=r&&n.$from.depth>0&&e>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?a.before(n.$from.depth):a.before(e);break}}return i!=null&&(mx(e,X.create(e.state.doc,i)),!0)}function _x(e,t,n,r,i){return px(e,`handleClickOn`,t,n,r)||e.someProp(`handleClick`,n=>n(e,t,r))||(i?gx(e,n):hx(e,n))}function vx(e,t,n,r){return px(e,`handleDoubleClickOn`,t,n,r)||e.someProp(`handleDoubleClick`,n=>n(e,t,r))}function yx(e,t,n,r){return px(e,`handleTripleClickOn`,t,n,r)||e.someProp(`handleTripleClick`,n=>n(e,t,r))||bx(e,n,r)}function bx(e,t,n){if(n.button!=0)return!1;let r=xx(e,t,!0),i=e.state.doc;return r?(mx(e,r),r instanceof Y&&i.eq(e.state.doc)&&(e.input.mouseDown=new Ex(e,r)),!0):!1}function xx(e,t,n){let r=e.state.doc;if(t==-1)return r.inlineContent?Y.create(r,0,r.content.size):null;let i=r.resolve(t);for(let e=i.depth+1;e>0;e--){let t=e>i.depth?i.nodeAfter:i.node(e),a=i.before(e);if(t.inlineContent)return Y.create(r,a+1,a+1+t.content.size);if(n&&X.isSelectable(t))return X.create(r,a)}return null}function Sx(e){return Nx(e)}var Cx=qv?`metaKey`:`ctrlKey`;ex.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Sx(e),i=Date.now(),a=`singleClick`;i-e.input.lastClick.time<500&&fx(n,e.input.lastClick)&&!n[Cx]&&e.input.lastClick.button==n.button&&(e.input.lastClick.type==`singleClick`?a=`doubleClick`:e.input.lastClick.type==`doubleClick`&&(a=`tripleClick`)),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:a,button:n.button},e.input.mouseDown&&e.input.mouseDown.done();let o=e.posAtCoords(dx(n));o&&(a==`singleClick`?e.input.mouseDown=new Tx(e,o,n,!!r):(a==`doubleClick`?vx:yx)(e,o.pos,o.inside,n)?n.preventDefault():ax(e,`pointer`))};var wx=class{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener(`mouseup`,this.up=this.up.bind(this)),e.root.addEventListener(`mousemove`,this.move=this.move.bind(this))}up(e){this.done()}move(e){e.buttons==0&&this.done()}done(){this.view.root.removeEventListener(`mouseup`,this.up),this.view.root.removeEventListener(`mousemove`,this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}},Tx=class extends wx{constructor(e,t,n,r){super(e),this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!n[Cx],this.allowDefault=n.shiftKey;let i,a;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,a=n.depth?n.before():0}let o=r?null:n.target,s=o?e.docView.nearestDesc(o,!0):null;this.target=s&&Z(s.nodeDOM)?s.nodeDOM:null;let{selection:c}=e.state;n.button==0&&(i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof X&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!!(this.target&&Vv&&!this.target.hasAttribute(`contentEditable`))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute(`contentEditable`,`false`)},20),this.view.domObserver.start()),ax(e,`pointer`)}done(){super.done(),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute(`draggable`),this.mightDrag.setUneditable&&this.target.removeAttribute(`contentEditable`),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>{this.view.isDestroyed||sb(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(dx(e))),this.updateAllowDefault(e),this.allowDefault||!t?ax(this.view,`pointer`):_x(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Gv&&this.mightDrag&&!this.mightDrag.node.isAtom||Uv&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(mx(this.view,J.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):ax(this.view,`pointer`)}move(e){this.updateAllowDefault(e),ax(this.view,`pointer`),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return this.allowDefault?(this.delayedSelectionSync=!0,!0):!1}},Ex=class extends wx{constructor(e,t){super(e),this.startSelection=t,this.startDoc=e.state.doc}move(e){if(e.buttons==0||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc)){this.done();return}e.preventDefault(),ax(this.view,`pointer`);let t=this.view.posAtCoords(dx(e)),n=t&&xx(this.view,t.inside,!1);if(!n)return;let{doc:r}=this.view.state,i=this.startSelection,[a,o]=n.from<i.from?[i.to,n.from]:[i.from,n.to];mx(this.view,Y.create(r,a,o))}};ex.touchstart=e=>{e.input.lastTouch=Date.now(),Sx(e),ax(e,`pointer`)},ex.touchmove=e=>{e.input.lastTouch=Date.now(),ax(e,`pointer`)},ex.contextmenu=e=>Sx(e);function Dx(e,t){return e.composing?!0:Gv&&Math.abs(Date.now()-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}var Ox=Yv?5e3:-1;tx.compositionstart=tx.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof Y&&t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>e.type.spec.inclusive===!1)||Uv&&Jv&&kx(e)))e.markCursor=e.state.storedMarks||n.marks(),Nx(e,!0),e.markCursor=null;else if(Nx(e,!t.selection.empty),Vv&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&Z(n)&&r!=0;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(Cv(t)){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}Ax(e,Ox)};function kx(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||!Z(t)||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return Z(r)&&r.contentEditable==`false`}tx.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now(),e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,Ax(e,20))};function Ax(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>Nx(e),t))}function jx(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function Mx(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=Tv(t.focusNode,t.focusOffset),r=Ev(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return r}}return n||r}function Nx(e,t=!1){if(!(Yv&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),jx(e),t||e.docView&&e.docView.dirty){let n=ab(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):(e.markCursor||t)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.dispatch(e.state.tr.deleteSelection()):e.updateState(e.state),!0}return!1}}function Px(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement(`div`));n.appendChild(t),n.style.cssText=`position: fixed; left: -10000px; top: 10px`;let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}var Fx=zv&&Bv<15||Kv&&Zv<604;ex.copy=tx.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type==`cut`;if(r.empty)return;let a=Fx?null:n.clipboardData,{dom:o,text:s}=Rb(e,r.content());a?(n.preventDefault(),a.clearData(),a.setData(`text/html`,o.innerHTML),a.setData(`text/plain`,s)):Px(e,o),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta(`uiEvent`,`cut`))};function Ix(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function Lx(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?`textarea`:`div`));n||(r.contentEditable=`true`),r.style.cssText=`position: fixed; left: -10000px; top: 10px`,r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Rx(e,r.value,null,i,t):Rx(e,r.textContent,r.innerHTML,i,t)},50)}function Rx(e,t,n,r,i){let a=zb(e,t,n,r,e.state.selection.$from);if(e.someProp(`handlePaste`,t=>t(e,i,a||q.empty)))return!0;if(!a)return!1;let o=Ix(a),s=o?e.state.tr.replaceSelectionWith(o,r):e.state.tr.replaceSelection(a);return e.dispatch(s.scrollIntoView().setMeta(`paste`,!0).setMeta(`uiEvent`,`paste`)),!0}function zx(e){let t=e.getData(`text/plain`)||e.getData(`Text`);if(t)return t;let n=e.getData(`text/uri-list`);return n?n.replace(/\r?\n/g,` `):``}tx.paste=(e,t)=>{let n=t;if(e.composing&&!Yv)return;let r=Fx?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&Rx(e,zx(r),r.getData(`text/html`),i,n)?n.preventDefault():Lx(e,n)};var Bx=class{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}},Vx=qv?`altKey`:`ctrlKey`;function Hx(e,t){let n;return e.someProp(`dragCopies`,e=>{n||=e(t)}),n==null?!t[Vx]:!n}ex.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,a=i.empty?null:e.posAtCoords(dx(n)),o;if(!(a&&a.pos>=i.from&&a.pos<=(i instanceof X?i.to-1:i.to))){if(r&&r.mightDrag)o=X.create(e.state.doc,r.mightDrag.pos);else if(n.target&&Z(n.target)){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(o=X.create(e.state.doc,t.posBefore))}}let{dom:s,text:c,slice:l}=Rb(e,(o||e.state.selection).content());(!n.dataTransfer.files.length||!Uv||Wv>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Fx?`Text`:`text/html`,s.innerHTML),n.dataTransfer.effectAllowed=`copyMove`,Fx||n.dataTransfer.setData(`text/plain`,c),e.dragging=new Bx(l,Hx(e,n),o)},ex.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},tx.dragover=tx.dragenter=(e,t)=>t.preventDefault(),tx.drop=(e,t)=>{try{Ux(e,t,e.dragging)}finally{e.dragging=null}};function Ux(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(dx(t));if(!r)return;let i=e.state.doc.resolve(r.pos),a=n&&n.slice;a?e.someProp(`transformPasted`,t=>{a=t(a,e,!1)}):a=zb(e,zx(t.dataTransfer),Fx?null:t.dataTransfer.getData(`text/html`),!1,i);let o=!!(n&&Hx(e,t));if(e.someProp(`handleDrop`,n=>n(e,t,a||q.empty,o))){t.preventDefault();return}if(!a)return;t.preventDefault();let s=a?Ng(e.state.doc,i.pos,a):i.pos;s??=i.pos;let c=e.state.tr;if(o){let{node:e}=n;e?e.replace(c):c.deleteSelection()}let l=c.mapping.map(s),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=c.doc;if(u?c.replaceRangeWith(l,l,a.content.firstChild):c.replaceRange(l,l,a),c.doc.eq(d))return;let f=c.doc.resolve(l);if(u&&X.isSelectable(a.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new X(f));else{let t=c.mapping.map(s);c.mapping.maps[c.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),c.setSelection(gb(e,f,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta(`uiEvent`,`drop`))}ex.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add(`ProseMirror-focused`),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&sb(e)},20))},ex.blur=(e,t)=>{let n=t;e.focused&&=(e.domObserver.stop(),e.dom.classList.remove(`ProseMirror-focused`),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),!1)},ex.beforeinput=(e,t)=>{if(Yv&&t.inputType==`deleteContentBackward`){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp(`handleKeyDown`,t=>t(e,Av(8,`Backspace`)))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let e in tx)ex[e]=tx[e];function Wx(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}var Gx=class e{constructor(e,t){this.toDOM=e,this.spec=t||Xx,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:a}=e.mapResult(t.from+r,this.side<0?-1:1);return a?null:new Jx(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&Wx(this.spec,t.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},Kx=class e{constructor(e,t){this.attrs=e,this.spec=t||Xx}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,a=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=a?null:new Jx(i,a,this)}valid(e,t){return t.from<t.to}eq(t){return this==t||t instanceof e&&Wx(this.attrs,t.attrs)&&Wx(this.spec,t.spec)}static is(t){return t.type instanceof e}destroy(){}},qx=class e{constructor(e,t){this.attrs=e,this.spec=t||Xx}map(e,t,n,r){let i=e.mapResult(t.from+r,1);if(i.deleted)return null;let a=e.mapResult(t.to+r,-1);return a.deleted||a.pos<=i.pos?null:new Jx(i.pos-n,a.pos-n,this)}valid(e,t){let{index:n,offset:r}=e.content.findIndex(t.from),i;return r==t.from&&!(i=e.child(n)).isText&&r+i.nodeSize==t.to}eq(t){return this==t||t instanceof e&&Wx(this.attrs,t.attrs)&&Wx(this.spec,t.spec)}destroy(){}},Jx=class e{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(t,n){return new e(t,n,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(t,n,r){return new e(t,t,new Gx(n,r))}static inline(t,n,r,i){return new e(t,n,new Kx(r,i))}static node(t,n,r,i){return new e(t,n,new qx(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Kx}get widget(){return this.type instanceof Gx}},Yx=[],Xx={},Zx=class e{constructor(e,t){this.local=e.length?e:Yx,this.children=t.length?t:Yx}static create(e,t){return t.length?aS(t,e,0,Xx):Qx}find(e,t,n){let r=[];return this.findInner(e??0,t??1e9,r,0,n),r}findInner(e,t,n,r,i){for(let a=0;a<this.local.length;a++){let o=this.local[a];o.from<=t&&o.to>=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+r,o.to+r))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){let o=this.children[a]+1;this.children[a+2].findInner(e-o,t-o,n,r+o,i)}}map(e,t,n){return this==Qx||e.maps.length==0?this:this.mapInner(e,t,0,0,n||Xx)}mapInner(t,n,r,i,a){let o;for(let e=0;e<this.local.length;e++){let s=this.local[e].map(t,r,i);s&&s.type.valid(n,s)?(o||=[]).push(s):a.onRemove&&a.onRemove(this.local[e].spec)}return this.children.length?eS(this.children,o||[],t,n,r,i,a):o?new e(o.sort(oS),Yx):Qx}add(t,n){return n.length?this==Qx?e.create(t,n):this.addInner(t,n,0):this}addInner(t,n,r){let i,a=0;t.forEach((e,t)=>{let o=t+r,s;if(s=rS(n,e,o)){for(i||=this.children.slice();a<i.length&&i[a]<t;)a+=3;i[a]==t?i[a+2]=i[a+2].addInner(e,s,o+1):i.splice(a,0,t,t+e.nodeSize,aS(s,e,o+1,Xx)),a+=3}});let o=tS(a?iS(n):n,-r);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||o.splice(e--,1);return new e(o.length?this.local.concat(o).sort(oS):this.local,i||this.children)}remove(e){return e.length==0||this==Qx?this:this.removeInner(e,0)}removeInner(t,n){let r=this.children,i=this.local;for(let e=0;e<r.length;e+=3){let i,a=r[e]+n,o=r[e+1]+n;for(let e=0,n;e<t.length;e++)(n=t[e])&&n.from>a&&n.to<o&&(t[e]=null,(i||=[]).push(n));if(!i)continue;r==this.children&&(r=this.children.slice());let s=r[e+2].removeInner(i,a+1);s==Qx?(r.splice(e,3),e-=3):r[e+2]=s}if(i.length){for(let e=0,r;e<t.length;e++)if(r=t[e])for(let e=0;e<i.length;e++)i[e].eq(r,n)&&(i==this.local&&(i=this.local.slice()),i.splice(e--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new e(i,r):Qx}forChild(t,n){if(this==Qx)return this;if(n.isLeaf)return e.empty;let r,i;for(let e=0;e<this.children.length;e+=3)if(this.children[e]>=t){this.children[e]==t&&(r=this.children[e+2]);break}let a=t+1,o=a+n.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<o&&t.to>a&&t.type instanceof Kx){let e=Math.max(a,t.from)-a,n=Math.min(o,t.to)-a;e<n&&(i||=[]).push(t.copy(e,n))}}if(i){let t=new e(i.sort(oS),Yx);return r?new $x([t,r]):t}return r||Qx}eq(t){if(this==t)return!0;if(!(t instanceof e)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1;for(let e=0;e<this.children.length;e+=3)if(this.children[e]!=t.children[e]||this.children[e+1]!=t.children[e+1]||!this.children[e+2].eq(t.children[e+2]))return!1;return!0}locals(e){return sS(this.localsInner(e))}localsInner(e){if(this==Qx)return Yx;if(e.inlineContent||!this.local.some(Kx.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof Kx||t.push(this.local[e]);return t}forEachSet(e){e(this)}};Zx.empty=new Zx([],[]),Zx.removeOverlap=sS;var Qx=Zx.empty,$x=class e{constructor(e){this.members=e}map(t,n){let r=this.members.map(e=>e.map(t,n,Xx));return e.from(r)}forChild(t,n){if(n.isLeaf)return Zx.empty;let r=[];for(let i=0;i<this.members.length;i++){let a=this.members[i].forChild(t,n);a!=Qx&&(a instanceof e?r=r.concat(a.members):r.push(a))}return e.from(r)}eq(t){if(!(t instanceof e)||t.members.length!=this.members.length)return!1;for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(e);if(i.length){if(!t)t=i;else{n&&=(t=t.slice(),!1);for(let e=0;e<i.length;e++)t.push(i[e])}}}return t?sS(n?t:t.sort(oS)):Yx}static from(t){switch(t.length){case 0:return Qx;case 1:return t[0];default:return new e(t.every(e=>e instanceof Zx)?t:t.reduce((e,t)=>e.concat(t instanceof Zx?t:t.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}};function eS(e,t,n,r,i,a,o){let s=e.slice();for(let e=0,t=a;e<n.maps.length;e++){let r=0;n.maps[e].forEach((e,n,i,a)=>{let o=a-i-(n-e);for(let i=0;i<s.length;i+=3){let a=s[i+1];if(a<0||e>a+t-r)continue;let c=s[i]+t-r;n>=c?s[i+1]=e<=c?-2:-1:e>=t&&o&&(s[i]+=o,s[i+1]+=o)}r+=o}),t=n.maps[e].map(t,-1)}let c=!1;for(let t=0;t<s.length;t+=3)if(s[t+1]<0){if(s[t+1]==-2){c=!0,s[t+1]=-1;continue}let l=n.map(e[t]+a),u=l-i;if(u<0||u>=r.content.size){c=!0;continue}let d=n.map(e[t+1]+a,-1)-i,{index:f,offset:p}=r.content.findIndex(u),m=r.maybeChild(f);if(m&&p==u&&p+m.nodeSize==d){let r=s[t+2].mapInner(n,m,l+1,e[t]+a+1,o);r==Qx?(s[t+1]=-2,c=!0):(s[t]=u,s[t+1]=d,s[t+2]=r)}else c=!0}if(c){let c=aS(nS(s,e,t,n,i,a,o),r,0,o);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new Zx(t.sort(oS),s)}function tS(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new Jx(i.from+t,i.to+t,i.type))}return n}function nS(e,t,n,r,i,a,o){function s(e,t){for(let a=0;a<e.local.length;a++){let s=e.local[a].map(r,i,t);s?n.push(s):o.onRemove&&o.onRemove(e.local[a].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let n=0;n<e.length;n+=3)e[n+1]==-1&&s(e[n+2],t[n]+a+1);return n}function rS(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let t=0,a;t<e.length;t++)(a=e[t])&&a.from>n&&a.to<r&&((i||=[]).push(a),e[t]=null);return i}function iS(e){let t=[];for(let n=0;n<e.length;n++)e[n]!=null&&t.push(e[n]);return t}function aS(e,t,n,r){let i=[],a=!1;t.forEach((t,o)=>{let s=rS(e,t,o+n);if(s){a=!0;let e=aS(s,t,n+o+1,r);e!=Qx&&i.push(o,o+t.nodeSize,e)}});let o=tS(a?iS(e):e,-n).sort(oS);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||(r.onRemove&&r.onRemove(o[e].spec),o.splice(e--,1));return o.length||i.length?new Zx(o,i):Qx}function oS(e,t){return e.from-t.from||e.to-t.to}function sS(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let a=t[i];if(a.from==r.from)a.to!=r.to&&(t==e&&(t=e.slice()),t[i]=a.copy(a.from,r.to),cS(t,i+1,a.copy(r.to,a.to)));else{a.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,a.from),cS(t,i,r.copy(a.from,r.to)));break}}}return t}function cS(e,t,n){for(;t<e.length&&oS(n,e[t])>0;)t++;e.splice(t,0,n)}function lS(e){let t=[];return e.someProp(`decorations`,n=>{let r=n(e.state);r&&r!=Qx&&t.push(r)}),e.cursorWrapper&&t.push(Zx.create(e.state.doc,[e.cursorWrapper.deco])),$x.from(t)}var uS={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},dS=zv&&Bv<=11,fS=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},pS=class{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new fS,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);zv&&Bv<=11&&t.some(e=>e.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():Gv&&e.composing&&t.some(e=>e.type==`childList`&&e.target.nodeName==`TR`)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),dS&&(this.onCharData=e=>{this.queue.push({target:e.target,type:`characterData`,oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,uS)),this.onCharData&&this.view.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener(`selectionchange`,this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener(`selectionchange`,this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(_b(this.view)){if(this.suppressingSelectionUpdates)return sb(this.view);if(zv&&Bv<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&yv(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,n;for(let n=e.focusNode;n;n=hv(n))t.add(n);for(let r=e.anchorNode;r;r=hv(r))if(t.has(r)){n=r;break}let r=n&&this.view.docView.nearestDesc(n);if(r&&r.ignoreMutation({type:`selection`,target:Cv(n)?n.parentNode:n}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&_b(e)&&!this.ignoreSelectionChange(n),i=-1,a=-1,o=!1,s=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],s);n&&(i=i<0?n.from:Math.min(n.from,i),a=a<0?n.to:Math.max(n.to,a),n.typeOver&&(o=!0))}if(s.some(e=>e.nodeName==`BR`)&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46||Uv&&(e.composing||e.input.compositionEndedAt>Date.now()-50)&&t.some(e=>e.type==`childList`&&e.removedNodes.length))){for(let e of s)if(e.nodeName==`BR`&&e.parentNode){let t=e.nextSibling;for(;t&&Z(t);){if(t.contentEditable==`false`){e.parentNode.removeChild(e);break}t=t.firstChild}}}else if(Vv&&s.length){let t=s.filter(e=>e.nodeName==`BR`);if(t.length==2){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;t&&t.nodeName==`LI`&&(!n||yS(e,n)!=t)&&r.remove()}}}let c=null;i<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&kv(n)&&(c=ab(e))&&c.eq(J.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,sb(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||r)&&(i>-1&&(e.docView.markDirty(i,a),gS(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,bS(e,s)),this.handleDOMChange(i,a,o,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||sb(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if(e.type==`attributes`&&(n==this.view.docView||e.attributeName==`contenteditable`||e.attributeName==`style`&&!e.oldValue&&!e.target.getAttribute(`style`))||!n||n.ignoreMutation(e))return null;if(e.type==`childList`){for(let n=0;n<e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),Cv(r)&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,i=e.nextSibling;if(zv&&Bv<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:a}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!a||Array.prototype.indexOf.call(e.addedNodes,a)<0)&&(i=a)}let a=r&&r.parentNode==e.target?mv(r)+1:0,o=n.localPosFromDOM(e.target,a,-1),s=i&&i.parentNode==e.target?mv(i):e.target.childNodes.length;return{from:o,to:n.localPosFromDOM(e.target,s,1)}}return e.type==`attributes`?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}},mS=new WeakMap,hS=!1;function gS(e){if(!mS.has(e)&&(mS.set(e,null),[`normal`,`nowrap`,`pre-line`].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=Vv,hS)return;console.warn(`ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package.`),hS=!0}}function _S(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,a=t.endOffset,o=e.domAtPos(e.state.selection.anchor);return yv(o.node,o.offset,i,a)&&([n,r,i,a]=[i,a,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}}function vS(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return _S(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener(`beforeinput`,r,!0),document.execCommand(`indent`),e.dom.removeEventListener(`beforeinput`,r,!0),n?_S(e,n):null}function yS(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function bS(e,t){let{focusNode:n,focusOffset:r}=e.domSelectionRange();for(let i of t)if(i.parentNode?.nodeName==`TR`){let t=i.nextSibling;for(;t&&t.nodeName!=`TD`&&t.nodeName!=`TH`;)t=t.nextSibling;if(t){let a=t;for(;;){let e=a.firstChild;if(!e||!Z(e)||e.contentEditable==`false`||/^(BR|IMG)$/.test(e.nodeName))break;a=e}a.insertBefore(i,a.firstChild),n==i&&e.domSelection().collapse(i,r)}else i.parentNode.removeChild(i)}}function xS(e,t,n,r){let{node:i,fromOffset:a,toOffset:o,from:s,to:c}=e.docView.parseRange(t,n),l=e.domSelectionRange(),u,d=l.anchorNode;if(d&&wv(e.dom,d)&&(u=[{node:d,offset:l.anchorOffset}],kv(l)||u.push({node:l.focusNode,offset:l.focusOffset})),Uv&&e.input.lastKeyCode===8)for(let e=o;e>a;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if(t.nodeName==`BR`&&!n){o=e;break}if(!n||n.size)break}let f=e.state.doc,p=e.someProp(`domParser`)||yh.fromSchema(e.state.schema),m=f.resolve(s),h=null,g=p.parse(i,{topNode:m.parent,topMatch:m.parent.contentMatchAt(m.index()),topOpen:!0,from:a,to:o,preserveWhitespace:m.parent.type.whitespace!=`pre`||`full`,findPositions:u,ruleFromNode:SS(r),context:m});if(u&&u[0].pos!=null){let e=u[0].pos,t=u[1]&&u[1].pos;t??=e,h={anchor:e+s,head:t+s}}return{doc:g,sel:h,from:s,to:c}}var SS=e=>t=>{let n=t.pmViewDesc;if(n)return n.parseRule(e);if(t.nodeName==`BR`&&t.parentNode){if(Gv&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let e=document.createElement(`div`);return e.appendChild(document.createElement(`li`)),{skip:e}}if(t.parentNode.lastChild==t||Gv&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName==`IMG`&&t.getAttribute(`mark-placeholder`))return{ignore:!0};return null},CS=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function wS(e,t,n,r,i){let a=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=ab(e,t);if(n&&!e.state.selection.eq(n)){if(Uv&&Yv&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp(`handleKeyDown`,t=>t(e,Av(13,`Enter`))))return;let r=e.state.tr.setSelection(n);t==`pointer`?r.setMeta(`pointer`,!0):t==`key`&&r.scrollIntoView(),a&&r.setMeta(`composition`,a),e.dispatch(r)}return}let o=e.state.doc.resolve(t),s=o.sharedDepth(n);t=o.before(s+1),n=e.state.doc.resolve(n).after(s+1);let c=e.state.selection,l=xS(e,t,n,i),u=e.state.doc,d=u.slice(l.from,l.to),f,p;e.input.lastKeyCode===8&&Date.now()-100<e.input.lastKeyCodeTime?(f=e.state.selection.to,p=`end`):(f=e.state.selection.from,p=`start`),e.input.lastKeyCode=null;let m=AS(d.content,l.doc.content,l.from,f,p);if(m&&e.input.domChangeCount++,(Kv&&e.input.lastIOSEnter>Date.now()-225||Yv)&&i.some(e=>Z(e)&&!CS.test(e.nodeName))&&(!m||m.endA>=m.endB)&&e.someProp(`handleKeyDown`,t=>t(e,Av(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(!m){if(r&&c instanceof Y&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))m={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let t=TS(e,e.state.doc,l.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);a&&n.setMeta(`composition`,a),e.dispatch(n)}}return}}e.state.selection.from<e.state.selection.to&&m.start==m.endB&&e.state.selection instanceof Y&&(m.start>e.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?m.start=e.state.selection.from:m.endA<e.state.selection.to&&m.endA>=e.state.selection.to-2&&e.state.selection.to<=l.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),zv&&Bv<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>l.from&&l.doc.textBetween(m.start-l.from-1,m.start-l.from+1)==` \xA0`&&(m.start--,m.endA--,m.endB--);let h=l.doc.resolveNoCache(m.start-l.from),g=l.doc.resolveNoCache(m.endB-l.from),_=u.resolve(m.start),v=h.sameParent(g)&&h.parent.inlineContent&&_.end()>=m.endA;if((Kv&&e.input.lastIOSEnter>Date.now()-225&&(!v||i.some(e=>e.nodeName==`DIV`||e.nodeName==`P`))||!v&&OS(l.doc,h.pos,g.pos))&&e.someProp(`handleKeyDown`,t=>t(e,Av(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>m.start&&DS(u,m.start,m.endA,h,g)&&e.someProp(`handleKeyDown`,t=>t(e,Av(8,`Backspace`)))){Yv&&Uv&&e.domObserver.suppressSelectionUpdates();return}Uv&&m.endB==m.start&&(e.input.lastChromeDelete=Date.now()),Yv&&!v&&h.start()!=g.start()&&g.parentOffset==0&&h.depth==g.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==m.endA&&(m.endB-=2,g=l.doc.resolveNoCache(m.endB-l.from),setTimeout(()=>{e.someProp(`handleKeyDown`,function(t){return t(e,Av(13,`Enter`))})},20));let y=m.start,b=m.endA,x=t=>{let n=t||e.state.tr.replace(y,b,l.doc.slice(m.start-l.from,m.endB-l.from));if(l.sel){let t=TS(e,n.doc,l.sel);t&&!(Uv&&e.composing&&t.empty&&(m.start!=m.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==y||t.head==n.mapping.map(b)-1)||zv&&t.empty&&t.head==y)&&n.setSelection(t)}return a&&n.setMeta(`composition`,a),n.scrollIntoView()},S;if(v){if(h.pos==g.pos){zv&&Bv<=11&&h.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>sb(e),20));let t=x(e.state.tr.delete(y,b)),n=u.resolve(m.start).marksAcross(u.resolve(m.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(m.endA==m.endB&&(S=ES(h.parent.content.cut(h.parentOffset,g.parentOffset),_.parent.content.cut(_.parentOffset,m.endA-_.start())))){let t=x(e.state.tr);S.type==`add`?t.addMark(y,b,S.mark):t.removeMark(y,b,S.mark),e.dispatch(t)}else if(h.parent.child(h.index()).isText&&h.index()==g.index()-+!g.textOffset){let t=h.parent.textBetween(h.parentOffset,g.parentOffset),n=()=>x(e.state.tr.insertText(t,y,b));e.someProp(`handleTextInput`,r=>r(e,y,b,t,n))||e.dispatch(n())}else e.dispatch(x())}else e.dispatch(x())}function TS(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:gb(e,t.resolve(n.anchor),t.resolve(n.head))}function ES(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,i=n,a=r,o,s,c;for(let e=0;e<r.length;e++)i=r[e].removeFromSet(i);for(let e=0;e<n.length;e++)a=n[e].removeFromSet(a);if(i.length==1&&a.length==0)s=i[0],o=`add`,c=e=>e.mark(s.addToSet(e.marks));else if(i.length==0&&a.length==1)s=a[0],o=`remove`,c=e=>e.mark(s.removeFromSet(e.marks));else return null;let l=[];for(let e=0;e<t.childCount;e++)l.push(c(t.child(e)));if(G.from(l).eq(e))return{mark:s,type:o}}function DS(e,t,n,r,i){if(n-t<=i.pos-r.pos||kS(r,!0,!1)<i.pos)return!1;let a=e.resolve(t);if(!r.parent.isTextblock){let e=a.nodeAfter;return e!=null&&n==t+e.nodeSize}if(a.parentOffset<a.parent.content.size||!a.parent.isTextblock)return!1;let o=e.resolve(kS(a,!0,!0));return!o.parent.isTextblock||o.pos>n||kS(o,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(o.parent.content)}function OS(e,t,n){let r=0,i=0;return e.nodesBetween(t,n,(e,a)=>{e.isTextblock&&a>=t&&a<n?r++:(e.isText?/\S/.test(e.text.slice(Math.max(0,t-a),Math.min(e.nodeSize,n-a))):e.isLeaf)&&i++}),i==0&&r==1}function kS(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function AS(e,t,n,r,i){let a=e.findDiffStart(t,n),o=n+e.size,s=n+t.size;if(a==null)return null;let{a:c,b:l}=e.findDiffEnd(t,o,s);if(i==`end`){let e=Math.max(0,a-Math.min(c,l));r-=c+e-a}if(c<a&&o<s){let e=r<=a&&r>=c?a-r:0;a-=e,l=a+(l-c),c=a}else if(l<a){let e=r<=a&&r>=l?a-r:0;a-=e,c=a+(c-l),l=a}return{start:a,endA:c,endB:l}}var jS=class{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new rx,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(RS),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement(`div`),e&&(e.appendChild?e.appendChild(this.dom):typeof e==`function`?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=PS(this),NS(this),this.nodeViews=IS(this),this.docView=zy(this.state.doc,MS(this),lS(this),this.dom,this),this.domObserver=new pS(this,(e,t,n,r)=>wS(this,e,t,n,r)),this.domObserver.start(),ix(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&sx(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(RS),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){let n=this.state,r=!1,i=!1;e.storedMarks&&this.composing&&(jx(this),i=!0),this.state=e;let a=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=IS(this);LS(e,this.nodeViews)&&(this.nodeViews=e,r=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&sx(this),this.editable=PS(this),NS(this);let o=lS(this),s=MS(this),c=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?`reset`:e.scrollToSelection>n.scrollToSelection?`to selection`:`preserve`,l=r||!this.docView.matchesNode(e.doc,s,o);(l||!e.selection.eq(n.selection))&&(i=!0);let u=c==`preserve`&&i&&this.dom.style.overflowAnchor==null&&ny(this);if(i){this.domObserver.stop();let t=l&&(zv||Uv)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&FS(n.selection,e.selection);if(l){let n=Uv?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Mx(this)),(r||!this.docView.update(e.doc,s,o,this))&&(this.docView.updateOuterDeco(s),this.docView.destroy(),this.docView=zy(e.doc,s,o,this.dom,this)),!n||this.trackWrites&&this.dom.contains(this.trackWrites)||(t=!0)}let i=this.input.mouseDown;t||!(i&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&yb(this)&&i.delaySelUpdate())?sb(this,t):(mb(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),this.dragging?.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),c==`reset`?this.dom.scrollTop=0:c==`to selection`?this.scrollToSelection():u&&iy(u)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&wv(this.dom,e)&&!this.someProp(`handleScrollToSelection`,e=>e(this))){if(this.state.selection instanceof X){let t=this.docView.domAfterPos(this.state.selection.from);Z(t)&&ty(this,t.getBoundingClientRect(),e)}else ty(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}}updateDraggedNode(e,t){let n=e.node,r=-1;if(n.from<this.state.doc.content.size&&this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&e<this.state.doc.content.size&&this.state.doc.nodeAt(e))==n.node&&(r=e)}this.dragging=new Bx(e.slice,e.move,r<0?void 0:X.create(this.state.doc,r))}someProp(e,t){let n=this._props&&this._props[e],r;if(n!=null&&(r=t?t(n):n))return r;for(let n=0;n<this.directPlugins.length;n++){let i=this.directPlugins[n].props[e];if(i!=null&&(r=t?t(i):i))return r}let i=this.state.plugins;if(i)for(let n=0;n<i.length;n++){let a=i[n].props[e];if(a!=null&&(r=t?t(a):a))return r}}hasFocus(){if(zv){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable==`false`)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&sy(this.dom),sb(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let e=this.dom.parentNode;e;e=e.parentNode)if(e.nodeType==9||e.nodeType==11&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e}return e||document}updateRoot(){this._root=null}posAtCoords(e){return hy(this,e)}coordsAtPos(e,t=1){return yy(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(r==null)throw RangeError(`DOM position not inside the editor`);return r}endOfTextblock(e,t){return ky(this,t||this.state,e)}pasteHTML(e,t){return Rx(this,``,e,!1,t||new ClipboardEvent(`paste`))}pasteText(e,t){return Rx(this,e,null,!0,t||new ClipboardEvent(`paste`))}serializeForClipboard(e){return Rb(this,e)}destroy(){this.docView&&(ox(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],lS(this),this),this.dom.textContent=``):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,vv())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return ux(this,e)}domSelectionRange(){let e=this.dom.isConnected!==!1&&this.domSelection();return e?Gv&&this.root.nodeType===11&&jv(this.dom.ownerDocument)==this.dom&&vS(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};jS.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};function MS(e){let t=Object.create(null);return t.class=`ProseMirror`,t.contenteditable=String(e.editable),e.someProp(`attributes`,n=>{if(typeof n==`function`&&(n=n(e.state)),n)for(let e in n)e==`class`?t.class+=` `+n[e]:e==`style`?t.style=(t.style?t.style+`;`:``)+n[e]:!t[e]&&e!=`contenteditable`&&e!=`nodeName`&&(t[e]=String(n[e]))}),t.translate||=`no`,[Jx.node(0,e.state.doc.content.size,t)]}function NS(e){if(e.markCursor){let t=document.createElement(`img`);t.className=`ProseMirror-separator`,t.setAttribute(`mark-placeholder`,`true`),t.setAttribute(`alt`,``),e.cursorWrapper={dom:t,deco:Jx.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function PS(e){return!e.someProp(`editable`,t=>t(e.state)===!1)}function FS(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function IS(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp(`nodeViews`,n),e.someProp(`markViews`,n),t}function LS(e,t){let n=0,r=0;for(let r in e){if(e[r]!=t[r])return!0;n++}for(let e in t)r++;return n!=r}function RS(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw RangeError(`Plugins passed directly to the view must not have a state component`)}for(var zS={8:`Backspace`,9:`Tab`,10:`Enter`,12:`NumLock`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,44:`PrintScreen`,45:`Insert`,46:`Delete`,59:`;`,61:`=`,91:`Meta`,92:`Meta`,106:`*`,107:`+`,108:`,`,109:`-`,110:`.`,111:`/`,144:`NumLock`,145:`ScrollLock`,160:`Shift`,161:`Shift`,162:`Control`,163:`Control`,164:`Alt`,165:`Alt`,173:`-`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},BS={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},VS=typeof navigator<`u`&&/Mac/.test(navigator.platform),HS=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),US=0;US<10;US++)zS[48+US]=zS[96+US]=String(US);for(var US=1;US<=24;US++)zS[US+111]=`F`+US;for(var US=65;US<=90;US++)zS[US]=String.fromCharCode(US+32),BS[US]=String.fromCharCode(US);for(var WS in zS)BS.hasOwnProperty(WS)||(BS[WS]=zS[WS]);function GS(e){var t=!(VS&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||HS&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?BS:zS)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}var KS=typeof navigator<`u`&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),qS=typeof navigator<`u`&&/Win/.test(navigator.platform);function JS(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n==`Space`&&(n=` `);let r,i,a,o;for(let e=0;e<t.length-1;e++){let n=t[e];if(/^(cmd|meta|m)$/i.test(n))o=!0;else if(/^a(lt)?$/i.test(n))r=!0;else if(/^(c|ctrl|control)$/i.test(n))i=!0;else if(/^s(hift)?$/i.test(n))a=!0;else if(/^mod$/i.test(n))KS?o=!0:i=!0;else throw Error(`Unrecognized modifier name: `+n)}return r&&(n=`Alt-`+n),i&&(n=`Ctrl-`+n),o&&(n=`Meta-`+n),a&&(n=`Shift-`+n),n}function YS(e){let t=Object.create(null);for(let n in e)t[JS(n)]=e[n];return t}function XS(e,t,n=!0){return t.altKey&&(e=`Alt-`+e),t.ctrlKey&&(e=`Ctrl-`+e),t.metaKey&&(e=`Meta-`+e),n&&t.shiftKey&&(e=`Shift-`+e),e}function ZS(e){return new b_({props:{handleKeyDown:QS(e)}})}function QS(e){let t=YS(e);return function(e,n){let r=GS(n),i,a=t[XS(r,n)];if(a&&a(e.state,e.dispatch,e))return!0;if(r.length==1&&r!=` `){if(n.shiftKey){let i=t[XS(r,n,!1)];if(i&&i(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(qS&&n.ctrlKey&&n.altKey)&&(i=zS[n.keyCode])&&i!=r){let r=t[XS(i,n)];if(r&&r(e.state,e.dispatch,e))return!0}}return!1}}var $S=200,eC=function(){};eC.prototype.append=function(e){return e.length?(e=eC.from(e),!this.length&&e||e.length<$S&&this.leafAppend(e)||this.length<$S&&e.leafPrepend(this)||this.appendInner(e)):this},eC.prototype.prepend=function(e){return e.length?eC.from(e).append(this):this},eC.prototype.appendInner=function(e){return new nC(this,e)},eC.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?eC.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},eC.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},eC.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},eC.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},eC.from=function(e){return e instanceof eC?e:e&&e.length?new tC(e):eC.empty};var tC=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return e==0&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(e(this.values[i],r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(e(this.values[i],r+i)===!1)return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=$S)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=$S)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(eC);eC.empty=new tC([]);var nC=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;if(t<i&&this.left.forEachInner(e,t,Math.min(n,i),r)===!1||n>i&&this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;if(t>i&&this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i)===!1||n<i&&this.left.forEachInvertedInner(e,Math.min(t,i),n,r)===!1)return!1},t.prototype.sliceInner=function(e,t){if(e==0&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(eC),rC=500,iC=class e{constructor(e,t){this.items=e,this.eventCount=t}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,a;n&&(i=this.remapping(r,this.items.length),a=i.maps.length);let o=t.tr,s,c,l=[],u=[];return this.items.forEach((t,n)=>{if(!t.step)i||(i=this.remapping(r,n+1),a=i.maps.length),a--,u.push(t);else{if(i){u.push(new oC(t.map));let e=t.step.map(i.slice(a)),n;e&&o.maybeStep(e).doc&&(n=o.mapping.maps[o.mapping.maps.length-1],l.push(new oC(n,void 0,void 0,l.length+u.length))),a--,n&&i.appendMap(n,a)}else o.maybeStep(t.step);if(t.selection)return s=i?t.selection.map(i.slice(a)):t.selection,c=new e(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1}},this.items.length,0),{remaining:c,transform:o,selection:s}}addTransform(t,n,r,i){let a=[],o=this.eventCount,s=this.items,c=!i&&s.length?s.get(s.length-1):null;for(let e=0;e<t.steps.length;e++){let r=t.steps[e].invert(t.docs[e]),l=new oC(t.mapping.maps[e],r,n),u;(u=c&&c.merge(l))&&(l=u,e?a.pop():s=s.slice(0,s.length-1)),a.push(l),n&&=(o++,void 0),i||(c=l)}let l=o-r.depth;return l>cC&&(s=aC(s,l),o-=l),new e(s.append(a),o)}remapping(e,t){let n=new Zh;return this.items.forEach((t,r)=>{let i=t.mirrorOffset!=null&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(t){return this.eventCount==0?this:new e(this.items.append(t.map(e=>new oC(e))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;n=Math.min(this.items.length,n);let r=[],i=this.items.length-n,a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(e=>{e.selection&&s--},i);let c=n;this.items.forEach(e=>{let n=a.getMirror(--c);if(n==null)return;o=Math.min(o,n);let i=a.maps[n];if(e.step){let o=t.steps[n].invert(t.docs[n]),l=e.selection&&e.selection.map(a.slice(c+1,n));l&&s++,r.push(new oC(i,o,l))}else r.push(new oC(i))},i);let l=[];for(let e=n;e<o;e++)l.push(new oC(a.maps[e]));let u=this.items.slice(0,i).append(l).append(r),d=new e(u,s);return d.emptyItemCount()>rC&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],a=0;return this.items.forEach((e,o)=>{if(o>=t)i.push(e),e.selection&&a++;else if(e.step){let t=e.step.map(n.slice(r)),o=t&&t.getMap();if(r--,o&&n.appendMap(o,r),t){let s=e.selection&&e.selection.map(n.slice(r));s&&a++;let c=new oC(o.invert(),t,s),l,u=i.length-1;(l=i.length&&i[u].merge(c))?i[u]=l:i.push(c)}}else e.map&&r--},this.items.length,0),new e(eC.from(i.reverse()),a)}};iC.empty=new iC(eC.empty,0);function aC(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&t--==0)return n=r,!1}),e.slice(n)}var oC=class e{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new e(n.getMap().invert(),n,this.selection)}}},sC=class{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}},cC=20;function lC(e,t,n,r){let i=n.getMeta(vC),a;if(i)return i.historyState;n.getMeta(yC)&&(e=new sC(e.done,e.undone,null,0,-1));let o=n.getMeta(`appendedTransaction`);if(n.steps.length==0)return e;if(o&&o.getMeta(vC))return o.getMeta(vC).redo?new sC(e.done.addTransform(n,void 0,r,gC(t)),e.undone,dC(n.mapping.maps),e.prevTime,e.prevComposition):new sC(e.done,e.undone.addTransform(n,void 0,r,gC(t)),null,e.prevTime,e.prevComposition);if(n.getMeta(`addToHistory`)!==!1&&!(o&&o.getMeta(`addToHistory`)===!1)){let i=n.getMeta(`composition`),a=e.prevTime==0||!o&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!uC(n,e.prevRanges)),s=o?fC(e.prevRanges,n.mapping):dC(n.mapping.maps);return new sC(e.done.addTransform(n,a?t.selection.getBookmark():void 0,r,gC(t)),iC.empty,s,n.time,i??e.prevComposition)}return(a=n.getMeta(`rebased`))?new sC(e.done.rebased(n,a),e.undone.rebased(n,a),fC(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new sC(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),fC(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function uC(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&r>=t[i]&&(n=!0)}),n}function dC(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function fC(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),a=t.map(e[r+1],-1);i<=a&&n.push(i,a)}return n}function pC(e,t,n){let r=gC(t),i=vC.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,r);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,r),c=new sC(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(vC,{redo:n,historyState:c})}var mC=!1,hC=null;function gC(e){let t=e.plugins;if(hC!=t){mC=!1,hC=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){mC=!0;break}}return mC}function _C(e){return e.setMeta(yC,!0)}var vC=new C_(`history`),yC=new C_(`closeHistory`);function bC(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new b_({key:vC,state:{init(){return new sC(iC.empty,iC.empty,null,0,-1)},apply(t,n,r){return lC(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r=n==`historyUndo`?SC:n==`historyRedo`?CC:null;return!r||!e.editable?!1:(t.preventDefault(),r(e.state,e.dispatch))}}}})}function xC(e,t){return(n,r)=>{let i=vC.getState(n);if(!i||(e?i.undone:i.done).eventCount==0)return!1;if(r){let a=pC(i,n,e);a&&r(t?a.scrollIntoView():a)}return!0}}var SC=xC(!1,!0),CC=xC(!0,!0);function wC(e){return e.getMeta(vC)!=null}function TC(e){let{state:t,transaction:n}=e,{selection:r}=n,{doc:i}=n,{storedMarks:a}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return a},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,a=n.storedMarks,n}}}var EC=class e{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){let{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:i}=n,a=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,(...e)=>{let n=t(...e)(a);return!i.getMeta(`preventDispatch`)&&!this.hasCustomState&&r.dispatch(i),n}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o=[],s=!!e,c=e||i.tr,l=()=>(!s&&t&&!c.getMeta(`preventDispatch`)&&!this.hasCustomState&&a.dispatch(c),o.every(e=>e===!0)),u={...Object.fromEntries(Object.entries(n).map(([e,n])=>[e,(...e)=>{let r=this.buildProps(c,t),i=n(...e)(r);return o.push(i),u}])),run:l};return u}static createFakeChain(){let e=new Proxy({},{get:(t,n)=>{if(n!==`then`)return n===`run`?()=>!1:()=>e}});return e}createCan(e){let{rawCommands:t,state:n}=this,r=e||n.tr,i=this.buildProps(r,!1);return{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})])),chain:()=>this.createChain(r,!1)}}static createFallbackCan(){let t=e.createFakeChain();return new Proxy({chain:()=>t},{get:(e,t)=>{if(t!==`then`)return t===`chain`?e.chain:()=>!1}})}buildProps(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o={tr:e,editor:r,view:a,state:TC({state:i,transaction:e}),dispatch:t?()=>void 0:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map(([e,t])=>[e,(...e)=>t(...e)(o)]))}};return o}},DC=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{if(!e.isDestroyed){var n;t.dom.blur(),(n=window)==null||(n=n.getSelection())==null||n.removeAllRanges()}}),!0),OC=(e=!0)=>({commands:t})=>t.setContent(``,{emitUpdate:e}),kC=()=>({state:e,tr:t,dispatch:n})=>{let{selection:r}=t,{ranges:i}=r;return n&&i.forEach(({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,(e,n)=>{if(e.type.isText)return;let{doc:r,mapping:i}=t,a=r.resolve(i.map(n)),o=r.resolve(i.map(n+e.nodeSize)),s=a.blockRange(o);if(!s)return;let c=pg(s);if(e.type.isTextblock){let{defaultType:e}=a.parent.contentMatchAt(a.index());t.setNodeMarkup(s.start,e)}(c||c===0)&&t.lift(s,c)})}),!0},AC=e=>t=>e(t),jC=()=>({state:e,dispatch:t})=>U_(e,t),MC=(e,t)=>({editor:n,tr:r})=>{let{state:i}=n,a=i.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);let o=r.mapping.map(t);return r.insert(o,a.content),r.setSelection(new Y(r.doc.resolve(Math.max(o-1,0)))),!0},NC=()=>({tr:e,dispatch:t})=>{let{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;let i=e.selection.$anchor;for(let n=i.depth;n>0;--n)if(i.node(n).type===r.type){if(t){let t=i.before(n),r=i.after(n);e.delete(t,r).scrollIntoView()}return!0}return!1};function PC(e,t){if(typeof e==`string`){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}var FC=e=>({tr:t,state:n,dispatch:r})=>{let i=PC(e,n.schema),a=t.selection.$anchor;for(let e=a.depth;e>0;--e)if(a.node(e).type===i){if(r){let n=a.before(e),r=a.after(e);t.delete(n,r).scrollIntoView()}return!0}return!1},IC=e=>({tr:t,dispatch:n})=>{let{from:r,to:i}=e;return n&&t.delete(r,i),!0},LC=e=>e.content?/^text(\*|\+)/.test(e.content):!1,RC=(e,t,n)=>{if(!e.parent.isInline||n===`left`&&e.pos>e.start()||n===`right`&&e.pos<e.end())return e.pos;let r=t.nodes[e.parent.type.name].spec;return LC(r)?n===`left`?e.start()-1:e.end()+1:e.pos},zC=(e,t,n)=>({from:RC(e,n,`left`),to:RC(t,n,`right`)}),BC=()=>({state:e,dispatch:t})=>{if(e.selection.empty)return!1;if(t){let n=e.tr,{ranges:r}=e.selection,i=n.steps.length;r.forEach(t=>{let r=n.mapping.slice(i),{from:a,to:o}=zC(n.doc.resolve(r.map(t.$from.pos)),n.doc.resolve(r.map(t.$to.pos)),e.schema);n.deleteRange(a,o)}),n.selection.empty||n.setSelection(Y.near(n.doc.resolve(n.selection.from))),n.scrollIntoView(),t(n)}return!0},VC=()=>({commands:e})=>e.keyboardShortcut(`Enter`),HC=()=>({state:e,dispatch:t})=>H_(e,t);function UC(e){return Object.prototype.toString.call(e)===`[object RegExp]`}function WC(e,t,n={strict:!0}){let r=Object.keys(t);return!r.length||r.every(r=>n.strict?t[r]===e[r]:UC(t[r])?t[r].test(e[r]):t[r]===e[r])}function GC(e,t,n={}){return e.find(e=>e.type===t&&WC(Object.fromEntries(Object.keys(n).map(t=>[t,e.attrs[t]])),n))}function KC(e,t,n={}){return!!GC(e,t,n)}function qC(e,t,n){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if(r.node&&r.node.marks.some(e=>e.type===t)||(r=e.parent.childBefore(e.parentOffset)),!r.node||!r.node.marks.some(e=>e.type===t))return;if(!n){let e=r.node.marks.find(e=>e.type===t);e&&(n=e.attrs)}if(!GC([...r.node.marks],t,n))return;let i=r.index,a=e.start()+r.offset,o=i+1,s=a+r.node.nodeSize;for(;i>0&&KC([...e.parent.child(i-1).marks],t,n);)--i,a-=e.parent.child(i).nodeSize;for(;o<e.parent.childCount&&KC([...e.parent.child(o).marks],t,n);)s+=e.parent.child(o).nodeSize,o+=1;return{from:a,to:s}}function JC(e,t){if(typeof e==`string`){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}var YC=(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=JC(e,r.schema),{doc:o,selection:s}=n,{$from:c,from:l,to:u}=s;if(i){let e=qC(c,a,t);if(e&&e.from<=l&&e.to>=u){let t=Y.create(o,e.from,e.to);n.setSelection(t)}}return!0},XC=e=>t=>{let n=typeof e==`function`?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1};function ZC(e){return e instanceof Y}function QC(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function $C(e,t=null){if(!t)return null;let n=J.atStart(e),r=J.atEnd(e);if(t===`start`||t===!0)return n;if(t===`end`)return r;let i=n.from,a=r.to;return t===`all`?Y.create(e,QC(0,i,a),QC(e.content.size,i,a)):Y.create(e,QC(t,i,a),QC(t,i,a))}function ew(){return[`Android`].includes(navigator.platform)||/android/i.test(navigator.userAgent)}function tw(){return[`iPad Simulator`,`iPhone Simulator`,`iPod Simulator`,`iPad`,`iPhone`,`iPod`].includes(navigator.platform)||navigator.userAgent.includes(`Mac`)&&`ontouchend`in document}function nw(){return typeof navigator<`u`&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}var rw=(e=null,t={})=>({editor:n,view:r,tr:i,dispatch:a})=>{t={scrollIntoView:!0,...t};let o=()=>{(tw()||ew())&&r.dom.focus(),nw()&&!tw()&&!ew()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),t?.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&e===null||e===!1)return!0}catch{return!1}if(a&&e===null&&!ZC(n.state.selection))return o(),!0;let s=$C(i.doc,e)||n.state.selection,c=n.state.selection.eq(s);return a&&(c||i.setSelection(s),c&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},iw=(e,t)=>n=>e.every((e,r)=>t(e,{...n,index:r})),aw=(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),ow=e=>{let t=e.childNodes;for(let n=t.length-1;n>=0;--n){let r=t[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):r.nodeType===1&&ow(r)}return e};function sw(e){if(typeof window>`u`)throw Error(`[tiptap error]: there is no window object available, so this function cannot be used`);let t=`<body>${e}</body>`,n=new window.DOMParser().parseFromString(t,`text/html`).body;return ow(n)}function cw(e){return typeof e?.nodesBetween==`function`}function lw(e,t,n){if(cw(e))return e;let r=typeof e==`object`&&!!e;n={slice:!0,parseOptions:{},...n};let i=typeof e==`string`;if(r)try{if(Array.isArray(e)&&e.length>0)return G.fromArray(e.map(e=>t.nodeFromJSON(e)));let r=t.nodeFromJSON(e);return n.errorOnInvalidContent&&r.check(),r}catch(r){if(n.errorOnInvalidContent)throw Error(`[tiptap error]: Invalid JSON content`,{cause:r});return console.warn(`[tiptap warn]: Invalid content.`,`Passed value:`,e,`Error:`,r),lw(``,t,n)}if(i){if(n.errorOnInvalidContent){let r=!1,i=``,a=new hh({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:`inline*`,group:`block`,parseDOM:[{tag:`*`,getAttrs:e=>(r=!0,i=typeof e==`string`?e:e.outerHTML,null)}]}})});if(n.slice?yh.fromSchema(a).parseSlice(sw(e),n.parseOptions):yh.fromSchema(a).parse(sw(e),n.parseOptions),n.errorOnInvalidContent&&r)throw Error(`[tiptap error]: Invalid HTML content`,{cause:Error(`Invalid element found: ${i}`)})}let r=yh.fromSchema(t);return n.slice?r.parseSlice(sw(e),n.parseOptions).content:r.parse(sw(e),n.parseOptions)}return lw(``,t,n)}function uw(e){return!(`type`in e)}function dw(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof og||i instanceof sg))return;let a=e.mapping.maps[r],o=0;a.forEach((e,t,n,r)=>{o===0&&(o=r)}),e.setSelection(J.near(e.doc.resolve(o),n))}var fw=(e,t,n)=>({tr:r,dispatch:i,editor:a})=>{if(i){n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let i,o=e=>{a.emit(`contentError`,{editor:a,error:e,disableCollaboration:()=>{`collaboration`in a.storage&&typeof a.storage.collaboration==`object`&&a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}})},s={preserveWhitespace:`full`,...n.parseOptions};if(!n.errorOnInvalidContent&&!a.options.enableContentCheck&&a.options.emitContentError)try{lw(t,a.schema,{parseOptions:s,errorOnInvalidContent:!0})}catch(e){o(e)}try{i=lw(t,a.schema,{parseOptions:s,errorOnInvalidContent:n.errorOnInvalidContent??a.options.enableContentCheck})}catch(e){return o(e),!1}let{from:c,to:l}=typeof e==`number`?{from:e,to:e}:{from:e.from,to:e.to},u=!0,d=!0,f=uw(i)?i.content:[i];if(f.forEach(e=>{e.check(),u=u?e.isText&&e.marks.length===0:!1,d=d?e.isBlock:!1}),c===l&&d){let{parent:e}=r.doc.resolve(c);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(--c,l+=1)}let p;if(u)p=Array.isArray(t)?t.map(e=>e.text||``).join(``):cw(t)?f.map(e=>e.text??``).join(``):typeof t==`object`&&t&&t.text?t.text:t,r.insertText(p,c,l);else{p=G.from(f);let e=r.doc.resolve(c),t=e.node(),n=e.parentOffset===0,i=t.isText||t.isTextblock,a=t.content.size>0;n&&i&&a&&d&&(c=Math.max(0,c-1)),r.replaceWith(c,l,f)}n.updateSelection&&dw(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta(`applyInputRules`,{from:c,text:p}),n.applyPasteRules&&r.setMeta(`applyPasteRules`,{from:c,text:p})}return!0};function pw(e){for(let t=0;t<e.edgeCount;t+=1){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var mw=(e={})=>({tr:t,dispatch:n,editor:r})=>{let{pos:i,attrs:a,content:o,updateSelection:s=!0}=e,c;c=typeof i==`number`?t.doc.resolve(i):i||t.selection.$from;let l=pw(c.parent.contentMatchAt(c.index()));if(!l)return!1;let u=Object.keys(l.spec.attrs||{}),d=a?Object.fromEntries(Object.entries(a).filter(([e])=>u.includes(e))):{},f;if(o){let e=lw(o,r.schema);f=l.createAndFill(d,e)}else f=l.createAndFill(d);return f?(n&&(t.insert(c.pos,f),s&&dw(t,t.steps.length-1,-1)),!0):!1},hw=()=>({state:e,dispatch:t})=>L_(e,t),gw=()=>({state:e,dispatch:t})=>R_(e,t),_w=()=>({state:e,dispatch:t})=>E_(e,t),vw=()=>({state:e,dispatch:t})=>P_(e,t),yw=(e,t)=>{let n=e.resolve(t),r=n.nodeBefore,i=n.nodeAfter;return!r||!i?!1:!r.type.spec.isolating&&!i.type.spec.isolating},bw=()=>({state:e,dispatch:t,tr:n})=>{try{let r=Ag(e.doc,e.selection.$from.pos,-1);return r==null||!yw(e.doc,r)?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},xw=()=>({state:e,dispatch:t,tr:n})=>{try{let r=Ag(e.doc,e.selection.$from.pos,1);return r==null||!yw(e.doc,r)?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},Sw=()=>({state:e,dispatch:t})=>D_(e,t),Cw=()=>({state:e,dispatch:t})=>O_(e,t);function ww(){return typeof navigator<`u`&&/Mac/.test(navigator.platform)}function Tw(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n===`Space`&&(n=` `);let r,i,a,o;for(let e=0;e<t.length-1;e+=1){let n=t[e];if(/^(cmd|meta|m)$/i.test(n))o=!0;else if(/^a(lt)?$/i.test(n))r=!0;else if(/^(c|ctrl|control)$/i.test(n))i=!0;else if(/^s(hift)?$/i.test(n))a=!0;else if(/^mod$/i.test(n))tw()||ww()?o=!0:i=!0;else throw Error(`Unrecognized modifier name: ${n}`)}return r&&(n=`Alt-${n}`),i&&(n=`Ctrl-${n}`),o&&(n=`Meta-${n}`),a&&(n=`Shift-${n}`),n}var Ew=e=>({editor:t,view:n,tr:r,dispatch:i})=>{let a=Tw(e).split(/-(?!$)/),o=a.find(e=>![`Alt`,`Ctrl`,`Meta`,`Shift`].includes(e)),s=new KeyboardEvent(`keydown`,{key:o===`Space`?` `:o,altKey:a.includes(`Alt`),ctrlKey:a.includes(`Ctrl`),metaKey:a.includes(`Meta`),shiftKey:a.includes(`Shift`),bubbles:!0,cancelable:!0});return t.captureTransaction(()=>{n.someProp(`handleKeyDown`,e=>e(n,s))})?.steps.forEach(e=>{let t=e.map(r.mapping);t&&i&&r.maybeStep(t)}),!0};function Dw(e,t,n={}){let{from:r,to:i,empty:a}=e.selection,o=t?PC(t,e.schema):null,s=[];e.doc.nodesBetween(r,i,(e,t)=>{if(e.isText)return;let n=Math.max(r,t),a=Math.min(i,t+e.nodeSize);s.push({node:e,from:n,to:a})});let c=i-r,l=s.filter(e=>!o||o.name===e.node.type.name).filter(e=>WC(e.node.attrs,n,{strict:!1}));return a?!!l.length:l.reduce((e,t)=>e+t.to-t.from,0)>=c}var Ow=(e,t={})=>({state:n,dispatch:r})=>Dw(n,PC(e,n.schema),t)?z_(n,r):!1,kw=()=>({state:e,dispatch:t})=>W_(e,t),Aw=e=>({state:t,dispatch:n})=>uv(PC(e,t.schema))(t,n),jw=()=>({state:e,dispatch:t})=>B_(e,t);function Mw(e,t){return t.nodes[e]?`node`:t.marks[e]?`mark`:null}function Nw(e,t){let n=typeof t==`string`?[t]:t;return Object.keys(e).reduce((t,r)=>(n.includes(r)||(t[r]=e[r]),t),{})}var Pw=(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null,s=Mw(typeof e==`string`?e:e.name,r.schema);if(!s)return!1;s===`node`&&(a=PC(e,r.schema)),s===`mark`&&(o=JC(e,r.schema));let c=!1;return n.selection.ranges.forEach(e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,(e,r)=>{a&&a===e.type&&(c=!0,i&&n.setNodeMarkup(r,void 0,Nw(e.attrs,t))),o&&e.marks.length&&e.marks.forEach(a=>{o===a.type&&(c=!0,i&&n.addMark(r,r+e.nodeSize,o.create(Nw(a.attrs,t))))})})}),c},Fw=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),Iw=()=>({tr:e,dispatch:t})=>{if(t){let t=new o_(e.doc);e.setSelection(t)}return!0},Lw=()=>({state:e,dispatch:t})=>j_(e,t),Rw=()=>({state:e,dispatch:t})=>F_(e,t),zw=()=>({state:e,dispatch:t})=>q_(e,t),Bw=()=>({state:e,dispatch:t})=>$_(e,t),Vw=()=>({state:e,dispatch:t})=>Q_(e,t);function Hw(e,t,n={},r={}){return lw(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var Uw=(e,{errorOnInvalidContent:t,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:i,tr:a,dispatch:o,commands:s})=>{let{doc:c}=a;if(r.preserveWhitespace!==`full`){let s=Hw(e,i.schema,r,{errorOnInvalidContent:t??i.options.enableContentCheck});if(o){let e=uw(s)?s.content:[s];a.replaceWith(0,c.content.size,e).setMeta(`preventUpdate`,!n)}return!0}return o&&a.setMeta(`preventUpdate`,!n),s.insertContentAt({from:0,to:c.content.size},e,{parseOptions:r,errorOnInvalidContent:t??i.options.enableContentCheck})};function Ww(e,t){let n=JC(t,e.schema),{from:r,to:i,empty:a}=e.selection,o=[];a?(e.storedMarks&&o.push(...e.storedMarks),o.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,i,e=>{o.push(...e.marks)});let s=o.find(e=>e.type.name===n.name);return s?{...s.attrs}:{}}function Gw(e,t){let n=new $g(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}function Kw(e,t,n){let r=[];return e.nodesBetween(t.from,t.to,(e,t)=>{n(e)&&r.push({node:e,pos:t})}),r}function qw(e,t){for(let n=e.depth;n>0;--n){let r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function Jw(e){return t=>qw(t.$from,e)}function Q(e,t,n){return e.config[t]===void 0&&e.parent?Q(e.parent,t,n):typeof e.config[t]==`function`?e.config[t].bind({...n,parent:e.parent?Q(e.parent,t,n):null}):e.config[t]}function Yw(e){return e.map(e=>{let t=Q(e,`addExtensions`,{name:e.name,options:e.options,storage:e.storage});return t?[e,...Yw(t())]:e}).flat(10)}function Xw(e,t){let n=Nh.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement(`div`);return r.appendChild(n),r.innerHTML}function Zw(e,t){let n=new Map;for(let t of e){let e=n.get(t.type)??new Map;e.set(t.name,t),n.set(t.type,e)}return[...Object.values(t.nodes),...Object.values(t.marks)].flatMap(e=>Object.entries(e.spec.attrs??{}).map(([t,r])=>{let i=n.get(e.name)?.get(t),a=Object.hasOwn(r,`default`);return{type:e.name,name:t,attribute:{rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,...i?.attribute,default:r.default,isRequired:!a,validate:r.validate}}}))}var Qw={content:`string`,marks:`string`,group:`string`,inline:`boolean`,atom:`boolean`,selectable:`boolean`,draggable:`boolean`,code:`boolean`,whitespace:[`pre`,`normal`],definingAsContext:`boolean`,definingForContent:`boolean`,defining:`boolean`,isolating:`boolean`,linebreakReplacement:`boolean`},$w={inclusive:`boolean`,excludes:`string`,group:`string`,spanning:`boolean`,code:`boolean`};function eT(e,t,n){return Object.fromEntries(Object.entries(t).flatMap(([t,r])=>{let i=e[t];if(i===void 0)return[];if(!(typeof r==`string`?typeof i===r:typeof i==`string`&&r.includes(i)))throw RangeError(`Invalid schemaSpec field '${n}.${t}'`);return[[t,i]]}))}function tT(e,t,n,r){return{...Object.fromEntries(Object.entries(t).filter(([e])=>e!==`attrs`&&!Object.hasOwn(r,e))),...eT(n,r,e),attrs:n.attrs}}function nT(e,t,n){for(let r of Object.keys(t))if(!Object.hasOwn(e,r))throw RangeError(`schemaSpec requires a local ${n} extension named '${r}'`);for(let r of Object.keys(e))if(!Object.hasOwn(t,r))throw RangeError(`Local ${n} extension '${r}' is not in schemaSpec`)}function rT(e,t){nT(e.nodes,t.nodes,`node`),nT(e.marks,t.marks,`mark`);let n=t.spec.nodes,r=t.spec.marks;return t.spec.nodes.forEach((t,r)=>{n=n.update(t,tT(t,e.nodes[t],r,Qw))}),t.spec.marks.forEach((t,n)=>{r=r.update(t,tT(t,e.marks[t],n,$w))}),{topNode:t.topNodeType.name,nodes:n,marks:r}}function iT(e){let t=e.filter((t,n)=>e.indexOf(t)!==n);return Array.from(new Set(t))}function aT(e){return{baseExtensions:e.filter(e=>e.type===`extension`),nodeExtensions:e.filter(e=>e.type===`node`),markExtensions:e.filter(e=>e.type===`mark`)}}function oT(e){let t=[],{nodeExtensions:n,markExtensions:r}=aT(e),i=[...n,...r],a={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(e=>e.name!==`text`).map(e=>e.name),s=r.map(e=>e.name),c=[...o,...s];return e.forEach(e=>{let n=Q(e,`addGlobalAttributes`,{name:e.name,options:e.options,storage:e.storage,extensions:i});n&&n().forEach(e=>{let n;n=Array.isArray(e.types)?e.types:e.types===`*`?c:e.types===`nodes`?o:e.types===`marks`?s:[],n.forEach(n=>{Object.entries(e.attributes).forEach(([e,r])=>{t.push({type:n,name:e,attribute:{...a,...r}})})})})}),i.forEach(e=>{let n=Q(e,`addAttributes`,{name:e.name,options:e.options,storage:e.storage});if(!n)return;let r=n();Object.entries(r).forEach(([n,r])=>{let i={...a,...r};typeof i?.default==`function`&&(i.default=i.default()),i?.isRequired&&i?.default===void 0&&delete i.default,t.push({type:e.name,name:n,attribute:i})})}),t}function sT(e){return typeof e==`function`}function $(e,t=void 0,...n){return sT(e)?t?e.bind(t)(...n):e(...n):e}function cT(e={}){return Object.keys(e).length===0&&e.constructor===Object}function lT(e){let t=[],n=``,r=!1,i=!1,a=0,o=e.length;for(let s=0;s<o;s+=1){let o=e[s];if(o===`'`&&!i)r=!r,n+=o;else if(o===`"`&&!r)i=!i,n+=o;else{if(!r&&!i){if(o===`(`){a+=1,n+=o;continue}if(o===`)`&&a>0){--a,n+=o;continue}if(o===`;`&&a===0){t.push(n),n=``;continue}}n+=o}}return n&&t.push(n),t}function uT(e){let t=[],n=lT(e||``),r=n.length;for(let e=0;e<r;e+=1){let r=n[e],i=r.indexOf(`:`);if(i===-1)continue;let a=r.slice(0,i).trim(),o=r.slice(i+1).trim();a&&o&&t.push([a,o])}return t}function dT(...e){return e.filter(e=>!!e).reduce((e,t)=>{let n={...e};return Object.entries(t).forEach(([e,t])=>{if(e===`__proto__`)Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0});else if(!n[e])n[e]=t;else if(e===`class`){let r=t?String(t).split(` `):[],i=n[e]?n[e].split(` `):[],a=r.filter(e=>!i.includes(e));n[e]=[...i,...a].join(` `)}else if(e===`style`){let r=new Map([...uT(n[e]),...uT(t)]);n[e]=Array.from(r.entries()).map(([e,t])=>`${e}: ${t}`).join(`; `)}else n[e]=t}),n},{})}function fT(e,t){return t.filter(t=>t.type===e.type.name).filter(e=>e.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]}).reduce((e,t)=>dT(e,t),{})}function pT(e){return typeof e==`string`?e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):e===`true`||e!==`false`&&e:e}function mT(e,t){return`style`in e?e:{...e,getAttrs:n=>{let r=e.getAttrs?e.getAttrs(n):e.attrs;if(r===!1)return!1;let i=t.reduce((e,t)=>{let r=t.attribute.parseHTML?t.attribute.parseHTML(n):pT(n.getAttribute(t.name));return r==null?e:{...e,[t.name]:r}},{});return{...r,...i}}}}function hT(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>e===`attrs`&&cT(t)?!1:t!=null))}function gT(e){var t,n;let r={};return!(e!=null&&(t=e.attribute)!=null&&t.isRequired)&&`default`in(e?.attribute||{})&&(r.default=e.attribute.default),(e==null||(n=e.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=e.attribute.validate),[e.name,r]}function _T(e,t,n=oT(e)){let{nodeExtensions:r,markExtensions:i}=aT(e);return{topNode:r.find(e=>Q(e,`topNode`))?.name,nodes:Object.fromEntries(r.map(r=>{let i=n.filter(e=>e.type===r.name),a={name:r.name,options:r.options,storage:r.storage,editor:t},o=hT({...e.reduce((e,t)=>{let n=Q(t,`extendNodeSchema`,a);return{...e,...n?n(r):{}}},{}),content:$(Q(r,`content`,a)),marks:$(Q(r,`marks`,a)),group:$(Q(r,`group`,a)),inline:$(Q(r,`inline`,a)),atom:$(Q(r,`atom`,a)),selectable:$(Q(r,`selectable`,a)),draggable:$(Q(r,`draggable`,a)),code:$(Q(r,`code`,a)),whitespace:$(Q(r,`whitespace`,a)),linebreakReplacement:$(Q(r,`linebreakReplacement`,a)),defining:$(Q(r,`defining`,a)),isolating:$(Q(r,`isolating`,a)),attrs:Object.fromEntries(i.map(gT))}),s=$(Q(r,`parseHTML`,a));s&&(o.parseDOM=s.map(e=>mT(e,i)));let c=Q(r,`renderHTML`,a);c&&(o.toDOM=e=>c({node:e,HTMLAttributes:fT(e,i)}));let l=Q(r,`renderText`,a);return l&&(o.toText=l),[r.name,o]})),marks:Object.fromEntries(i.map(r=>{let i=n.filter(e=>e.type===r.name),a={name:r.name,options:r.options,storage:r.storage,editor:t},o=hT({...e.reduce((e,t)=>{let n=Q(t,`extendMarkSchema`,a);return{...e,...n?n(r):{}}},{}),inclusive:$(Q(r,`inclusive`,a)),excludes:$(Q(r,`excludes`,a)),group:$(Q(r,`group`,a)),spanning:$(Q(r,`spanning`,a)),code:$(Q(r,`code`,a)),attrs:Object.fromEntries(i.map(gT))}),s=$(Q(r,`parseHTML`,a));s&&(o.parseDOM=s.map(e=>mT(e,i)));let c=Q(r,`renderHTML`,a);return c&&(o.toDOM=e=>c({mark:e,HTMLAttributes:fT(e,i)})),[r.name,o]}))}}function vT(e,t,n){if(n===void 0)return new hh(_T(e,t));let r=iT(e.filter(e=>e.type!==`extension`).map(e=>e.name));if(r.length)throw RangeError(`Duplicate local schema types: ${r.join(`, `)}`);let i=new hh(n);return new hh(rT(_T(e,t,Zw(oT(e),i)),i))}function yT(e){return e.sort((e,t)=>{let n=Q(e,`priority`)||100,r=Q(t,`priority`)||100;return n>r?-1:+(n<r)})}function bT(e){let t=yT(Yw(e)),n=iT(t.map(e=>e.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(e=>`'${e}'`).join(`, `)}]. This can lead to issues.`),t}function xT(e,t){return vT(bT(e),t)}function ST(e,t){let n=xT(t);return Xw(Wm.fromJSON(n,e).content,n)}function CT(e,t){let n=xT(t),r=sw(e);return yh.fromSchema(n).parse(r).toJSON()}function wT(e,t,n){let{from:r,to:i}=t,{blockSeparator:a=`
14
+
15
+ `,textSerializers:o={}}=n||{},s=``;return e.nodesBetween(r,i,(e,n,c,l)=>{e.isBlock&&n>r&&(s+=a);let u=o?.[e.type.name];if(u)return c&&(s+=u({node:e,pos:n,parent:c,index:l,range:t})),!1;if(e.isText){var d;s+=e==null||(d=e.text)==null?void 0:d.slice(Math.max(r,n)-n,i-n)}}),s}function TT(e,t){return wT(e,{from:0,to:e.content.size},t)}function ET(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}function DT(e,t,n){let{blockSeparator:r=`
16
+
17
+ `,textSerializers:i={}}=n||{},a=xT(t);return TT(Wm.fromJSON(a,e),{blockSeparator:r,textSerializers:{...ET(a),...i}})}function OT(e,t){let n=PC(t,e.schema),{from:r,to:i}=e.selection,a=[];e.doc.nodesBetween(r,i,e=>{a.push(e)});let o=a.reverse().find(e=>e.type.name===n.name);return o?{...o.attrs}:{}}function kT(e,t){let n=Mw(typeof t==`string`?t:t.name,e.schema);return n===`node`?OT(e,t):n===`mark`?Ww(e,t):{}}function AT(e,t=JSON.stringify){let n={};return e.filter(e=>{let r=t(e);return Object.prototype.hasOwnProperty.call(n,r)?!1:n[r]=!0})}function jT(e){let t=AT(e);return t.length===1?t:t.filter((e,n)=>!t.filter((e,t)=>t!==n).some(t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))}function MT(e){let{mapping:t,steps:n}=e,r=[];return t.maps.forEach((e,i)=>{let a=[];if(e.ranges.length)e.forEach((e,t)=>{a.push({from:e,to:t})});else{let{from:e,to:t}=n[i];if(e===void 0||t===void 0)return;a.push({from:e,to:t})}a.forEach(({from:e,to:n})=>{let a=t.slice(i).map(e,-1),o=t.slice(i).map(n),s=t.invert().map(a,-1),c=t.invert().map(o);r.push({oldRange:{from:s,to:c},newRange:{from:a,to:o}})})}),jT(r)}function NT(e,t,n){let r=[];return e===t?n.resolve(e).marks().forEach(t=>{let i=qC(n.resolve(e),t.type);i&&r.push({mark:t,...i})}):n.nodesBetween(e,t,(e,t)=>{e&&e?.nodeSize!==void 0&&r.push(...e.marks.map(n=>({from:t,to:t+e.nodeSize,mark:n})))}),r}var PT=(e,t,n,r=20)=>{let i=e.doc.resolve(n),a=r,o=null;for(;a>0&&o===null;){let e=i.node(a);e?.type.name===t?o=e:--a}return[o,a]},FT=e=>{let t=e.depth-1;if(t<0)return null;let n=e.index(t);return n===0?null:e.node(t).child(n-1)};function IT(e,t){return t.nodes[e]||t.marks[e]||null}function LT(e,t,n){return Object.fromEntries(Object.entries(n).filter(([n])=>{let r=e.find(e=>e.type===t&&e.name===n);return r?r.attribute.keepOnSplit:!1}))}var RT=(e,t=500)=>{let n=``,r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(e,t,i,a)=>{var o;let s=(o=e.type.spec).toText?.call(o,{node:e,pos:t,parent:i,index:a})||e.textContent||`%leaf%`;n+=e.isAtom&&!e.isText?s:s.slice(0,Math.max(0,r-t))}),n};function zT(e,t,n={}){let{empty:r,ranges:i}=e.selection,a=t?JC(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(e=>!a||a.name===e.type.name).find(e=>WC(e.attrs,n,{strict:!1}));let o=0,s=[];if(i.forEach(({$from:t,$to:n})=>{let r=t.pos,i=n.pos;e.doc.nodesBetween(r,i,(e,t)=>{if(a&&e.inlineContent&&!e.type.allowsMarkType(a))return!1;if(!e.isText&&!e.marks.length)return;let n=Math.max(r,t),c=Math.min(i,t+e.nodeSize),l=c-n;o+=l,s.push(...e.marks.map(e=>({mark:e,from:n,to:c})))})}),o===0)return!1;let c=s.filter(e=>!a||a.name===e.mark.type.name).filter(e=>WC(e.mark.attrs,n,{strict:!1})).reduce((e,t)=>e+t.to-t.from,0),l=s.filter(e=>!a||e.mark.type!==a&&e.mark.type.excludes(a)).reduce((e,t)=>e+t.to-t.from,0);return(c>0?c+l:c)>=o}function BT(e,t,n={}){if(!t)return Dw(e,null,n)||zT(e,null,n);let r=Mw(t,e.schema);return r===`node`?Dw(e,t,n):r===`mark`&&zT(e,t,n)}var VT=(e,t)=>{let{$from:n,$to:r,$anchor:i}=e.selection;if(t){let n=Jw(e=>e.type.name===t)(e.selection);if(!n)return!1;let r=e.doc.resolve(n.pos+1);return i.pos+1===r.end()}return!(r.parentOffset<r.parent.nodeSize-2||n.pos!==r.pos)},HT=e=>{let{$from:t,$to:n}=e.selection;return!(t.parentOffset>0||t.pos!==n.pos)};function UT(e,t){return Array.isArray(t)?t.some(t=>(typeof t==`string`?t:t.name)===e.name):t}function WT(e,t){let{nodeExtensions:n}=aT(t),r=n.find(t=>t.name===e);if(!r)return!1;let i=$(Q(r,`group`,{name:r.name,options:r.options,storage:r.storage}));return typeof i==`string`&&i.split(` `).includes(`list`)}function GT(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){if(n){if(e.type.name===`hardBreak`)return!0;if(e.isText)return!/\S/.test(e.text??``)}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(e.content.childCount===0)return!0;if(t){let r=!0;return e.content.forEach(e=>{r!==!1&&(GT(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))}),r}return!1}function KT(e){return e instanceof X}function qT(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.apply==`function`&&typeof t.getMap==`function`&&typeof t.invert==`function`&&typeof t.map==`function`&&typeof t.merge==`function`&&typeof t.toJSON==`function`}function JT(e){if(typeof e!=`object`||!e)return!1;let t=e;if(!qT(t))return!1;let n=t.toJSON();return!(typeof n!=`object`||!n||n.stepType!==`replace`)}var YT=class e{constructor(e){this.position=e}static fromJSON(t){return new e(t.position)}toJSON(){return{position:this.position}}};function XT(e,t){let n=t.mapping.mapResult(e.position);return{position:new YT(n.pos),mapResult:n}}function ZT(e){return new YT(e)}function QT(e,t,n){let{selection:r}=t,i=null;if(ZC(r)&&(i=r.$cursor),i){let t=e.storedMarks??i.marks();return i.parent.type.allowsMarkType(n)&&(!!n.isInSet(t)||!t.some(e=>e.type.excludes(n)))}let{ranges:a}=r;return a.some(({$from:t,$to:r})=>{let i=t.depth===0&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,(e,t,r)=>{if(i)return!1;if(e.isInline){let t=!r||r.type.allowsMarkType(n),a=!!n.isInSet(e.marks)||!e.marks.some(e=>e.type.excludes(n));i=t&&a}return!i}),i})}var $T=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{selection:a}=n,{empty:o,ranges:s}=a,c=JC(e,r.schema);if(i){if(o){let e=Ww(r,c);n.addStoredMark(c.create({...e,...t}))}else s.forEach(e=>{let i=e.$from.pos,a=e.$to.pos;r.doc.nodesBetween(i,a,(e,r)=>{let o=Math.max(r,i),s=Math.min(r+e.nodeSize,a);e.marks.find(e=>e.type===c)?e.marks.forEach(e=>{c===e.type&&n.addMark(o,s,c.create({...e.attrs,...t}))}):n.addMark(o,s,c.create(t))})})}return QT(r,n,c)},eE=(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),tE=(e,t={})=>({state:n,dispatch:r,chain:i})=>{let a=PC(e,n.schema),o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?i().command(({commands:e})=>tv(a,{...o,...t})(n)?!0:e.clearNodes()).command(({state:e})=>tv(a,{...o,...t})(e,r)).run():(console.warn(`[tiptap warn]: Currently "setNode()" only supports text block nodes.`),!1)},nE=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,r=QC(e,0,n.content.size),i=X.create(n,r);t.setSelection(i)}return!0},rE=(e,t)=>({tr:n,state:r,dispatch:i})=>{let{selection:a}=r,o,s;return typeof t==`number`?(o=t,s=t):t&&`from`in t&&`to`in t?(o=t.from,s=t.to):(o=a.from,s=a.to),i&&n.doc.nodesBetween(o,s,(t,r)=>{t.isText||n.setNodeMarkup(r,void 0,{...t.attrs,dir:e})}),!0},iE=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,{from:r,to:i}=typeof e==`number`?{from:e,to:e}:e,a=Y.atStart(n).from,o=Y.atEnd(n).to,s=QC(r,a,o),c=QC(i,a,o),l=Y.create(n,s,c);t.setSelection(l)}return!0},aE=e=>({state:t,dispatch:n})=>pv(PC(e,t.schema))(t,n);function oE(e,t){let n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){let r=n.filter(e=>t?.includes(e.type.name));e.tr.ensureMarks(r)}}var sE=({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:i})=>{let{selection:a,doc:o}=t,{$from:s,$to:c}=a,l=i.extensionManager.attributes,u=LT(l,s.node().type.name,s.node().attrs);if(a instanceof X&&a.node.isBlock)return!s.parentOffset||!Tg(o,s.pos)?!1:(r&&(e&&oE(n,i.extensionManager.splittableMarks),t.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;let d=c.parentOffset===c.parent.content.size,f=s.depth===0?void 0:pw(s.node(-1).contentMatchAt(s.indexAfter(-1))),p=d&&f?[{type:f,attrs:u}]:void 0,m=a instanceof Y&&!a.empty?v_.create({doc:t.doc,selection:a}).tr.deleteSelection():null,h=m?m.doc:t.doc,g=m?m.mapping.map(s.pos):s.pos,_=Tg(h,g,1,p);if(!p&&!_&&Tg(h,g,1,f?[{type:f}]:void 0)&&(_=!0,p=f?[{type:f,attrs:u}]:void 0),r){if(_){let e=t.steps.length;if(a instanceof Y&&t.deleteSelection(),t.split(t.mapping.slice(e).map(s.pos),1,p),f&&!d&&!s.parentOffset&&s.parent.type!==f){let n=t.mapping.slice(e).map(s.before()),r=t.doc.resolve(n);s.node(-1).canReplaceWith(r.index(),r.index()+1,f)&&t.setNodeMarkup(t.mapping.slice(e).map(s.before()),f)}}e&&oE(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return _},cE=(e,t={})=>({tr:n,state:r,dispatch:i,editor:a})=>{let o=PC(e,r.schema),{$from:s,$to:c}=r.selection,l=r.selection.node;if(l&&l.isBlock||s.depth<2||!s.sameParent(c))return!1;let u=s.node(-1);if(u.type!==o)return!1;let d=a.extensionManager.attributes;if(s.parent.content.size===0&&s.node(-1).childCount===s.indexAfter(-1)){if(s.depth===2||s.node(-3).type!==o||s.index(-2)!==s.node(-2).childCount-1)return!1;if(i){let e=G.empty,r=s.index(-1)?1:s.index(-2)?2:3;for(let t=s.depth-r;t>=s.depth-3;--t)e=G.from(s.node(t).copy(e));let i=s.indexAfter(-1)<s.node(-2).childCount?1:s.indexAfter(-2)<s.node(-3).childCount?2:3,a={...LT(d,s.node().type.name,s.node().attrs),...t},c=o.contentMatch.defaultType?.createAndFill(a)||void 0;e=e.append(G.from(o.createAndFill(null,c)||void 0));let l=s.before(s.depth-(r-1));n.replace(l,s.after(-i),new q(e,4-r,0));let u=-1;n.doc.nodesBetween(l,n.doc.content.size,(e,t)=>{if(u>-1)return!1;e.isTextblock&&e.content.size===0&&(u=t+1)}),u>-1&&n.setSelection(Y.near(n.doc.resolve(u))),n.scrollIntoView()}return!0}let f=c.pos===s.end()?u.contentMatchAt(0).defaultType:null,p={...LT(d,u.type.name,u.attrs),...t},m={...LT(d,s.node().type.name,s.node().attrs),...t},h=s.parentOffset===0&&s.index(-1)===0,g=s.before(-1);n.delete(s.pos,c.pos);let _=h?u.attrs:p,v=f?[{type:o,attrs:_},{type:f,attrs:m}]:[{type:o,attrs:_}];if(!Tg(n.doc,s.pos,2))return!1;if(i){let{selection:e,storedMarks:t}=r,{splittableMarks:o}=a.extensionManager,c=t||e.$to.parentOffset&&e.$from.marks();if(n.split(s.pos,2,v).scrollIntoView(),h&&n.setNodeMarkup(g,void 0,p),!c||!i)return!0;let l=c.filter(e=>o.includes(e.type.name));n.ensureMarks(l)}return!0};function lE(e,t,n){if(!e.validContent(t))return null;try{return e.create(n,t)}catch{return null}}function uE(e,t){if(e.pendingContent.length===0)return!0;let n=lE(t,G.from(e.pendingContent));return n?(e.items.push(n),e.pendingContent=[],!0):!1}function dE(e,t,n){return n.validContent(G.from([...t.pendingContent,e]))?(t.pendingContent.push(e),!0):!uE(t,n)||!n.validContent(G.from(e))?!1:(t.pendingContent.push(e),!0)}function fE(e,t,n,r){let i=r(e,n);if(!i)return!1;let a=lE(n.listType,G.from(i),e.attrs);return a?n.itemType.validContent(G.from([...t.pendingContent,a]))?(t.pendingContent.push(a),!0):uE(t,n.itemType)?(t.items.push(...i),!0):!1:!1}function pE(e,t,n){let r={items:[],pendingContent:[]};for(let i=0;i<e.childCount;i+=1){let a=e.child(i);if(!(t.isListNode(a)?fE(a,r,t,n):dE(a,r,t.itemType)))return null}return uE(r,t.itemType)?r.items:null}function mE(e,t){let n=[];for(let r=0;r<e.childCount;r+=1){let i=pE(e.child(r),t,mE);if(!i)return null;n.push(...i)}return n}function hE(e,t){let n=null;return e.descendants((e,r)=>e!==t||(n=r,!1)),n}function gE(e){return!e||e===`1`?null:e}function _E(e,t){return gE(e)===gE(t)}var vE=(e,t)=>{let n=Jw(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===i?.type&&Dg(e.doc,n.pos))||!_E(n.node.attrs.type,i?.attrs.type)||e.join(n.pos),!0},yE=(e,t)=>{let n=Jw(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===i?.type&&Dg(e.doc,r))||!_E(n.node.attrs.type,i?.attrs.type)||e.join(r),!0};function bE(e){let t=e.doc,n=t.firstChild;if(!n)return null;let r=t.resolve(1),i=t.resolve(n.nodeSize-1);return Y.between(r,i)}var xE=(e,t,n,r={})=>({editor:i,tr:a,state:o,dispatch:s,chain:c,commands:l,can:u})=>{let{extensions:d,splittableMarks:f}=i.extensionManager,p=PC(e,o.schema),m=PC(t,o.schema),{selection:h,storedMarks:g}=o,{$from:_,$to:v}=h,y=_.blockRange(v),b=g||h.$to.parentOffset&&h.$from.marks();if(!y)return!1;let x=Jw(e=>WT(e.type.name,d))(h),S=h.from===0&&h.to===o.doc.content.size,C=o.doc.content.content,w=C.length===1?C[0]:null,T=S&&w&&WT(w.type.name,d)?{node:w,pos:0,depth:0}:null,E=x??T,ee=!!x&&y.depth>=1&&y.depth-x.depth<=1,te=!!T;if((ee||te)&&E){if(E.node.type===p)return S&&te?c().command(({tr:e,dispatch:t})=>{let n=bE(e);return n?(e.setSelection(n),t&&t(e),!0):!1}).liftListItem(m).run():l.liftListItem(m);if(WT(E.node.type.name,d)&&p.validContent(E.node.content))return c().command(()=>(a.setNodeMarkup(E.pos,p),!0)).command(()=>vE(a,p)).command(()=>yE(a,p)).run();if(WT(E.node.type.name,d)){let e=E.node.firstChild?.type;if(e&&e!==m){let e=mE(E.node,{listType:p,itemType:m,isListNode:e=>WT(e.type.name,d)}),t=e?G.from(e):null;return!t||!p.validContent(t)?!1:c().command(()=>{let{$anchor:e,$head:n}=a.selection,i=e.parent,o=n.parent,s=e.parentOffset,c=n.parentOffset,l;try{l=p.create(r,t)}catch{return!1}if(a.replaceWith(E.pos,E.pos+E.node.nodeSize,l),i.inlineContent&&o.inlineContent){let e=hE(l,i),t=hE(l,o);if(e!==null&&t!==null){let n=E.pos+e+2+s,r=E.pos+t+2+c;a.setSelection(Y.create(a.doc,n,r))}}return!0}).command(()=>vE(a,p)).command(()=>yE(a,p)).run()}}}return!n||!b||!s?c().command(()=>u().wrapInList(p,r)?!0:l.clearNodes()).wrapInList(p,r).command(()=>vE(a,p)).command(()=>yE(a,p)).run():c().command(()=>{let e=u().wrapInList(p,r),t=b.filter(e=>f.includes(e.type.name));return a.ensureMarks(t),e?!0:l.clearNodes()}).wrapInList(p,r).command(()=>vE(a,p)).command(()=>yE(a,p)).run()},SE=(e,t={},n={})=>({state:r,commands:i})=>{let{extendEmptyMarkRange:a=!1}=n,o=JC(e,r.schema);return zT(r,o,t)?i.unsetMark(o,{extendEmptyMarkRange:a}):i.setMark(o,t)},CE=(e,t,n={})=>({state:r,commands:i})=>{let a=PC(e,r.schema),o=PC(t,r.schema),s=Dw(r,a,n),c;return r.selection.$anchor.sameParent(r.selection.$head)&&(c=r.selection.$anchor.parent.attrs),s?i.setNode(o,c):i.setNode(a,{...c,...n})},wE=(e,t={})=>({state:n,commands:r})=>{let i=PC(e,n.schema);return Dw(n,i,t)?r.lift(i):r.wrapIn(i,t)},TE=()=>({state:e,dispatch:t})=>{let n=e.plugins;for(let r=0;r<n.length;r+=1){let i=n[r],a;if(i.spec.isInputRules&&(a=i.getState(e))){if(t){let t=e.tr,n=a.transform;for(let e=n.steps.length-1;e>=0;--e)t.step(n.steps[e].invert(n.docs[e]));if(a.text){let n=t.doc.resolve(a.from).marks();t.replaceWith(a.from,a.to,e.schema.text(a.text,n))}else t.delete(a.from,a.to)}return!0}}return!1},EE=(e={})=>({tr:t,dispatch:n,editor:r})=>{let{ignoreClearable:i=!1}=e,{selection:a}=t,{empty:o,ranges:s}=a;if(o)return!0;let{nonClearableMarks:c}=r.extensionManager;if(n){let e=Object.values(r.schema.marks).filter(e=>i||!c.includes(e.name));s.forEach(n=>{for(let r of e)t.removeMark(n.$from.pos,n.$to.pos,r)})}return!0},DE=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{extendEmptyMarkRange:a=!1}=t,{selection:o}=n,s=JC(e,r.schema),{$from:c,empty:l,ranges:u}=o;if(!i)return!0;if(l&&a){let{from:e,to:t}=o,r=qC(c,s,c.marks().find(e=>e.type===s)?.attrs);r&&(e=r.from,t=r.to),n.removeMark(e,t,s)}else u.forEach(e=>{n.removeMark(e.$from.pos,e.$to.pos,s)});return n.removeStoredMark(s),!0},OE=e=>({tr:t,state:n,dispatch:r})=>{let{selection:i}=n,a,o;return typeof e==`number`?(a=e,o=e):e&&`from`in e&&`to`in e?(a=e.from,o=e.to):(a=i.from,o=i.to),r&&t.doc.nodesBetween(a,o,(e,n)=>{if(e.isText)return;let r={...e.attrs};delete r.dir,t.setNodeMarkup(n,void 0,r)}),!0},kE=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null,s=Mw(typeof e==`string`?e:e.name,r.schema);if(!s)return!1;s===`node`&&(a=PC(e,r.schema)),s===`mark`&&(o=JC(e,r.schema));let c=!1;return n.selection.ranges.forEach(e=>{let s=e.$from.pos,l=e.$to.pos,u,d,f,p;n.selection.empty?r.doc.nodesBetween(s,l,(e,t)=>{a&&a===e.type&&(c=!0,f=Math.max(t,s),p=Math.min(t+e.nodeSize,l),u=t,d=e)}):r.doc.nodesBetween(s,l,(e,r)=>{r<s&&a&&a===e.type&&(c=!0,f=Math.max(r,s),p=Math.min(r+e.nodeSize,l),u=r,d=e),r>=s&&r<=l&&(a&&a===e.type&&(c=!0,i&&n.setNodeMarkup(r,void 0,{...e.attrs,...t})),o&&e.marks.length&&e.marks.forEach(a=>{if(o===a.type&&(c=!0,i)){let i=Math.max(r,s),c=Math.min(r+e.nodeSize,l);n.addMark(i,c,o.create({...a.attrs,...t}))}}))}),d&&(u!==void 0&&i&&n.setNodeMarkup(u,void 0,{...d.attrs,...t}),o&&d.marks.length&&d.marks.forEach(e=>{o===e.type&&i&&n.addMark(f,p,o.create({...e.attrs,...t}))}))}),c},AE=new C_(`__tiptap_decorations__`),jE=e=>({tr:t,dispatch:n})=>(n&&t.setMeta(AE,{type:`force`,name:e}),!0),ME=(e,t={})=>({state:n,dispatch:r})=>ev(PC(e,n.schema),t)(n,r),NE=(e,t={})=>({state:n,dispatch:r})=>sv(PC(e,n.schema),t)(n,r),PE=gm({blur:()=>DC,clearContent:()=>OC,clearNodes:()=>kC,command:()=>AC,createParagraphNear:()=>jC,cut:()=>MC,deleteCurrentNode:()=>NC,deleteNode:()=>FC,deleteRange:()=>IC,deleteSelection:()=>BC,enter:()=>VC,exitCode:()=>HC,extendMarkRange:()=>YC,first:()=>XC,focus:()=>rw,forEach:()=>iw,insertContent:()=>aw,insertContentAt:()=>fw,insertDefaultBlock:()=>mw,joinBackward:()=>_w,joinDown:()=>gw,joinForward:()=>vw,joinItemBackward:()=>bw,joinItemForward:()=>xw,joinTextblockBackward:()=>Sw,joinTextblockForward:()=>Cw,joinUp:()=>hw,keyboardShortcut:()=>Ew,lift:()=>Ow,liftEmptyBlock:()=>kw,liftListItem:()=>Aw,newlineInCode:()=>jw,resetAttributes:()=>Pw,scrollIntoView:()=>Fw,selectAll:()=>Iw,selectNodeBackward:()=>Lw,selectNodeForward:()=>Rw,selectParentNode:()=>zw,selectTextblockEnd:()=>Bw,selectTextblockStart:()=>Vw,setContent:()=>Uw,setMark:()=>$T,setMeta:()=>eE,setNode:()=>tE,setNodeSelection:()=>nE,setTextDirection:()=>rE,setTextSelection:()=>iE,sinkListItem:()=>aE,splitBlock:()=>sE,splitListItem:()=>cE,toggleList:()=>xE,toggleMark:()=>SE,toggleNode:()=>CE,toggleWrap:()=>wE,undoInputRule:()=>TE,unsetAllMarks:()=>EE,unsetMark:()=>DE,unsetTextDirection:()=>OE,updateAttributes:()=>kE,updateDecorations:()=>jE,wrapIn:()=>ME,wrapInList:()=>NE}),FE=new WeakMap;function IE(e,t){FE.set(e,(FE.get(e)??0)+1);try{return t()}finally{let t=(FE.get(e)??1)-1;t>0?FE.set(e,t):FE.delete(e)}}function LE(e){return FE.has(e)}var RE=class{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){let n=this.callbacks[e];return n&&n.forEach(e=>e.apply(this,t)),this}off(e,t){let n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter(e=>e!==t):delete this.callbacks[e]),this}once(e,t){let n=(...r)=>{this.off(e,n),t.apply(this,r)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}},zE=typeof process<`u`&&!1;function BE(e){return e.kind===`widget`}function VE(e,t){let n=[],r=new Set;for(let i of e)i.kind===`widget`&&BE(i)&&r.add(i.key),n.push(i.toPMDecoration(t));return{decorations:n,widgetKeys:r}}function HE(e,t,n){let{decorations:r,widgetKeys:i}=VE(t,n);return{set:Zx.create(e,r),widgetKeys:i}}function UE({position:e,from:t,to:n,docSize:r}){return e<t?!1:e<n||e===n&&n===r}function WE({decorations:e,from:t,to:n,docSize:r,extensionName:i,warnedExtensions:a}){return e.filter(e=>UE({position:e.anchor,from:t,to:n,docSize:r})?!0:(e.anchor===n||a.has(i)||(a.add(i),console.warn(`[tiptap warn]: Extension "${i}" returned a decoration outside the requested range [${t}, ${n}). It was ignored.`)),!1))}function GE(e){let t=e.spec?.key;return typeof t==`string`?t:void 0}function KE(e){let t=new Map,n=new Map;for(let r of e.find()){let e=GE(r);if(!e)continue;let i=r.spec.extensionName??`unknown`,a=t.get(e)??new Set;a.add(i),t.set(e,a),n.set(e,(n.get(e)??0)+1)}return Array.from(t,([e,t])=>({key:e,extensions:t})).filter(({key:e})=>(n.get(e)??0)>1)}function qE(e){return e.jsonID===`attr`}function JE(e){let t=!1;if(e.getMap().forEach(()=>{t=!0}),t||qE(e))return!0;let n=e;return typeof n.from==`number`&&typeof n.to==`number`}function YE(e,t){let n=null,r=0,i=0;for(let a=0;a<e.childCount&&!(i>t.to);a+=1){let o=i+e.child(a).nodeSize;o>=t.from&&(n===null&&(n=i),r=o),i=o}return n===null?null:{from:n,to:r}}function XE(e,t){if(e.steps.some(e=>!JE(e)))return{type:`full`};let n=MT(e).map(({newRange:e})=>e);e.steps.forEach((t,r)=>{if(!qE(t))return;let i=e.mapping.slice(r);n.push({from:i.map(t.pos,-1),to:i.map(t.pos+1)})});let r=[];for(let e of n){let n=YE(t,e);n&&r.push(n)}r.sort((e,t)=>e.from-t.from);let i=[];for(let e of r){let t=i[i.length-1];t&&e.from<=t.to?t.to=Math.max(t.to,e.to):i.push({...e})}return{type:`ranges`,ranges:i}}function ZE(e,t,n,r){return e.map(t,n,{onRemove:e=>{let t=e?.key;typeof t==`string`&&r.delete(t)}})}function QE(e,t,n){let r=t.decorationSetsByExtension[e]??Zx.empty,i=new Set(t.widgetKeysByExtension[e]??[]);return{set:ZE(r,n.mapping,n.doc,i),widgetKeys:i}}function $E(e,t){let n=Object.values(t).flatMap(e=>e.find());return Zx.create(e,n)}function eD(e){let t=new Set;for(let n of Object.values(e))for(let e of n)t.add(e);return t}function tD(e,t){switch(t.update??`document`){case`document`:if(t.createInRange)throw Error(`[tiptap error]: Extension "${e}" provides createInRange() but does not use the "changedRanges" decoration update strategy.`);return;case`changedRanges`:if(!t.createInRange)throw Error(`[tiptap error]: Extension "${e}" uses the "changedRanges" decoration update strategy but does not provide createInRange().`);return;case`manual`:if(t.createInRange)throw Error(`[tiptap error]: Extension "${e}" uses the "manual" decoration update strategy, which is not compatible with createInRange(). createInRange() requires the "changedRanges" strategy.`);if(t.shouldUpdate)throw Error(`[tiptap error]: Extension "${e}" cannot combine the "manual" decoration update strategy with shouldUpdate().`);return;default:throw Error(`[tiptap error]: Extension "${e}" uses an unknown decoration update strategy. Expected "document", "changedRanges", or "manual".`)}}function nD(e,t,n){return n?!0:e.update===`manual`?!1:e.shouldUpdate?e.shouldUpdate(t):t.tr.docChanged}var rD=new Set,iD=class{constructor(e){this.warnedWidgetKeys=new Set,this.warnedOutOfRangeExtensions=new Set,this.handleBeforeTransaction=({nextState:e})=>{let t=AE.getState(e);t&&this.warnDuplicateWidgetKeys(t)},this.editor=e.editor,this.entries=this.resolveEntries(e.entries),this.entries.forEach(({name:e,spec:t})=>tD(e,t)),this.plugin=this.entries.length>0?this.createPlugin():null,this.editor.on(`beforeTransaction`,this.handleBeforeTransaction)}destroy(){this.editor.off(`beforeTransaction`,this.handleBeforeTransaction)}liveWidgetKeys(){return AE.getState(this.editor.state)?.widgetKeys??rD}get mountedView(){return this.editor.isDestroyed?null:this.editor.view}resolveEntries(e){let t=[];for(let{name:n,addDecorations:r}of e){let e=r();e&&t.push({name:n,spec:e})}return t}createPlugin(){let{editor:e,entries:t}=this;return new b_({key:AE,state:{init:(e,n)=>{let r={},i={};for(let{name:e,spec:a}of t){let{set:t,widgetKeys:o}=this.buildFullSet(e,a,n);r[e]=t,i[e]=o}let a={decorationSetsByExtension:r,widgetKeysByExtension:i,mergedDecorationSet:this.buildMergedSet(n.doc,r),widgetKeys:eD(i)};return this.warnDuplicateWidgetKeys(a),a},apply:(n,r,i,a)=>{let o=n.getMeta(AE),s=o?.type===`force`&&!o.name,c=o?.type===`force`?o.name:void 0,l={},u={},d=new Set;return IE(e,()=>{for(let{name:o,spec:f}of t){let t=s||c===o;if(!nD(f,{editor:e,tr:n,oldState:i,newState:a},t)){let e=QE(o,r,n);l[o]=e.set,u[o]=e.widgetKeys}else if(f.update===`changedRanges`&&n.docChanged&&!t){let e=this.applyChangedRangesRecompute(o,f,r,n,a);l[o]=e.set,u[o]=e.widgetKeys,d.add(o)}else{let{set:e,widgetKeys:t}=this.buildFullSet(o,f,a);l[o]=e,u[o]=t,d.add(o)}}}),d.size===0&&!n.docChanged?r:{decorationSetsByExtension:l,widgetKeysByExtension:u,mergedDecorationSet:this.mergeAfterApply({entries:t,previous:r,tr:n,decorationSetsByExtension:l,recomputedNames:d}),widgetKeys:eD(u)}}},props:{decorations(e){return AE.getState(e)?.mergedDecorationSet??Zx.empty}}})}applyChangedRangesRecompute(e,t,n,r,i){let a=XE(r,i.doc);return a.type===`full`?this.buildFullSet(e,t,i):this.rebuildRanges(e,t,n,r,i,a.ranges)}rebuildRanges(e,t,n,r,i,a){let o=n.decorationSetsByExtension[e]??Zx.empty,s=new Set(n.widgetKeysByExtension[e]??[]),c=ZE(o,r.mapping,r.doc,s),l=i.doc.content.size;for(let{from:n,to:r}of a){let a=c.find(n,r).filter(e=>UE({position:e.from,from:n,to:r,docSize:l}));for(let e of a){let t=GE(e);t&&s.delete(t)}c=c.remove(a);let{decorations:o,widgetKeys:u}=VE(WE({decorations:this.runCreate(e,`createInRange`,()=>t.createInRange({editor:this.editor,state:i,view:this.mountedView,from:n,to:r})),from:n,to:r,docSize:l,extensionName:e,warnedExtensions:this.warnedOutOfRangeExtensions}),e);c=c.add(i.doc,o);for(let e of u)s.add(e)}return{set:c,widgetKeys:s}}buildFullSet(e,t,n){let r=this.runCreate(e,`create`,()=>t.create({editor:this.editor,state:n,view:this.mountedView}));return HE(n.doc,r,e)}runCreate(e,t,n){try{return n()}catch(n){return console.error(`[tiptap error]: Extension "${e}" threw in \`addDecorations().${t}()\`. Its decorations were dropped for this update.`,n),[]}}warnDuplicateWidgetKeys(e){if(!zE)return;if(e.widgetKeys.size===0){this.warnedWidgetKeys.clear();return}let t=KE(e.mergedDecorationSet),n=new Set(t.map(({key:e})=>e));for(let{key:e,extensions:n}of t){if(this.warnedWidgetKeys.has(e))continue;let t=Array.from(n).map(e=>`"${e}"`).join(`, `);console.warn(`[tiptap warn]: Duplicate widget decoration key "${e}" in extension${n.size===1?``:`s`} ${t}. Widget decoration keys must be globally unique, otherwise ProseMirror misplaces the widget DOM. Use a stable, unique key (e.g. \`comment-\${id}\`).`)}this.warnedWidgetKeys=n}buildMergedSet(e,t){let n=Object.keys(t);return n.length===1?t[n[0]]:$E(e,t)}mergeAfterApply({entries:e,previous:t,tr:n,decorationSetsByExtension:r,recomputedNames:i}){return e.length===1?r[e[0].name]:i.size===0?t.mergedDecorationSet.map(n.mapping,n.doc):$E(n.doc,r)}};function aD(e,t){if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Object.prototype.hasOwnProperty.call(t,n)&&Object.is(e[n],t[n]))}function oD(e,t){let{selection:n}=e,{$from:r}=n;if(n instanceof X){let e=r.index();return r.parent.canReplaceWith(e,e+1,t)}let i=r.depth;for(;i>=0;){let e=r.index(i);if(r.node(i).contentMatchAt(e).matchType(t))return!0;--i}return!1}function sD(e,t,n){let r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:``}]`);if(r!==null)return r;let i=document.createElement(`style`);return t&&i.setAttribute(`nonce`,t),i.setAttribute(`data-tiptap-style${n?`-${n}`:``}`,``),i.innerHTML=e,document.getElementsByTagName(`head`)[0].appendChild(i),i}function cD(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`)}var lD={lt:`<`,gt:`>`,quot:`"`,amp:`&`};function uD(e){return e.replace(/&(?:#(\d{1,7})|#[xX]([0-9a-fA-F]{1,6})|(lt|gt|quot|amp));/g,(e,t,n,r)=>t===void 0?n===void 0?lD[r]:fD(parseInt(n,16)):fD(Number(t)))}var dD=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function fD(e){return e===0||e>1114111||e>=55296&&e<=57343?`�`:String.fromCodePoint(dD.get(e)??e)}function pD(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function mD(e){return typeof e==`number`}function hD(e){return Object.prototype.toString.call(e).slice(8,-1)}function gD(e){return hD(e)===`Object`&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function _D(e){return typeof e==`string`&&e.trim().length>0&&!/[;{}]/.test(e)}function vD(e){return/\s/.test(e)}function yD(e){return/^[a-zA-Z]$/.test(e)}function bD(e){return/^\w$/.test(e)}function xD(e,t){for(;t<e.length&&vD(e[t]);)t+=1;return t}function SD(e,t){for(;t<e.length&&!vD(e[t]);)t+=1;return t}function CD(e,t,n){for(;t<e.length&&(bD(e[t])||n&&e[t]===`-`);)t+=1;return t}function wD(e,t){let n=e[t],r=t+1,i=CD(e,r,!0);return i===r?{nextIndex:SD(e,i)}:{token:{type:n===`.`?`class`:`id`,name:e.slice(r,i)},nextIndex:SD(e,i)}}function TD(e,t){let n=e.indexOf(e[t],t+1);return{nextIndex:SD(e,n===-1?t:n+1)}}function ED(e,t,n,r){let i=r?xD(e,n):n;if(e[i]!==`=`)return;i=r?xD(e,i+1):i+1;let a=e[i];if(a!==`"`&&a!==`'`)return;let o=e.indexOf(a,i+1);if(o!==-1)return{token:{type:`keyValue`,name:t,value:e.slice(i+1,o)},nextIndex:SD(e,o+1)}}function DD(e,t,n){let r=n===`pandoc`,i=CD(e,t+1,r),a=e.slice(t,i),o=ED(e,a,i,r);if(o)return o;let s=i===e.length||vD(e[i]);return{token:r&&s?{type:`boolean`,name:a}:void 0,nextIndex:n===`shortcode`?SD(e,i):i}}function OD(e,t,n){let r=e[t];return n===`pandoc`&&(r===`.`||r===`#`)?wD(e,t):r===`"`||r===`'`?TD(e,t):(n===`pandoc`?yD(r):bD(r))?DD(e,t,n):{nextIndex:SD(e,t)}}function kD(e,t){let n=[],r=0;for(;r<e.length&&(r=xD(e,r),!(r>=e.length));){let i=OD(e,r,t);i.token&&n.push(i.token),r=i.nextIndex}return n}function AD(e){let t={};return kD(e,`shortcode`).forEach(e=>{e.type===`keyValue`&&(t[e.name]=e.value)}),t}function jD(e){return Object.entries(e).filter(([,e])=>e!=null).map(([e,t])=>`${e}="${t}"`).join(` `)}function MD(e){let{nodeName:t,name:n,getContent:r,parseAttributes:i=AD,serializeAttributes:a=jD,defaultAttributes:o={},selfClosing:s=!1,allowedAttributes:c}=e,l=n||t,u=e=>{if(!c)return e;let t={};return c.forEach(n=>{let r=typeof n==`string`?n:n.name,i=typeof n==`string`?void 0:n.skipIfDefault;if(r in e){let n=e[r];if(i!==void 0&&n===i)return;t[r]=n}}),t},d=l.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);return{parseMarkdown:(e,n)=>{let i={...o,...e.attributes};if(s)return n.createNode(t,i);let a=r?r(e):e.content||``;return a?n.createNode(t,i,[n.createTextNode(a)]):n.createNode(t,i,[])},markdownTokenizer:{name:t,level:`inline`,start(e){let t=RegExp(s?`\\[${d}\\s*[^\\]]*\\]`:`\\[${d}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${d}\\]`),n=e.match(t)?.index;return n===void 0?-1:n},tokenize(e,n,r){let a=RegExp(s?`^\\[${d}\\s*([^\\]]*)\\]`:`^\\[${d}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${d}\\]`),o=e.match(a);if(!o)return;let c=``,l=``;if(s){let[,e]=o;l=e}else{let[,e,t]=o;l=e,c=t||``}let u=i(l.trim());return{type:t,raw:o[0],content:c.trim(),attributes:u}}},renderMarkdown:e=>{let t=``;r?t=r(e):e.content&&e.content.length>0&&(t=e.content.filter(e=>e.type===`text`).map(e=>e.text).join(``));let n=u(e.attrs||{}),i=a(n),o=i?` ${i}`:``;return s?`[${l}${o}]`:`[${l}${o}]${t}[/${l}]`}}}function ND(e,t,n){let r=e.split(`
18
+ `),i=[],a=``,o=0,s=t.baseIndentSize||2;for(;o<r.length;){let e=r[o],u=e.match(t.itemPattern);if(!u){if(i.length>0)break;if(e.trim()===``){o+=1,a=`${a}${e}\n`;continue}return}let d=t.extractItemData(u),{indentLevel:f,mainContent:p}=d;a=`${a}${e}\n`;let m=[p];for(o+=1;o<r.length;){var c;let e=r[o];if(e.trim()===``){var l;let t=r.slice(o+1).findIndex(e=>e.trim()!==``);if(t===-1)break;if((((l=r[o+1+t].match(/^(\s*)/))==null||(l=l[1])==null?void 0:l.length)||0)>f){m.push(e),a=`${a}${e}\n`,o+=1;continue}break}if((((c=e.match(/^(\s*)/))==null||(c=c[1])==null?void 0:c.length)||0)>f)m.push(e),a=`${a}${e}\n`,o+=1;else break}let h,g=m.slice(1);if(g.length>0){let e=g.map(e=>e.slice(f+s)).join(`
19
+ `);e.trim()&&(h=t.customNestedParser?t.customNestedParser(e):n.blockTokens(e))}let _=t.createToken(d,h);i.push(_)}if(i.length!==0)return{items:i,raw:a}}var PD=4;function FD(e){let t=0;for(let n of e)t=n===` `?t+PD-t%PD:t+1;return t}function ID(e,t,n,r,i){if(!e||!Array.isArray(e.content))return``;let a=typeof n==`function`?n(r):n,[o,...s]=e.content,c=`${a}${t.renderChildren([o])}`;return s&&s.length>0&&s.forEach((e,n)=>{let r=t.renderChild?.call(t,e,n+1)??t.renderChildren([e]);if(r!=null){let n=e=>{if(!i?.alignNestedToPrefix)return t.indent(e);let n=t.indent(``),r=FD(a);return(FD(n)>=r?n:` `.repeat(r))+e},o=r.split(`
20
+ `).map(e=>n(e||``)).join(`
21
+ `);c+=e.type===`paragraph`?`\n\n${o}`:`\n${o}`}}),c}function LD(e){return typeof e.type==`string`?e.type:e.type.name}function RD(e,t){if(e.length!==t.length)return!1;let n=Array.from({length:t.length},()=>!1);return e.every(e=>{let r=LD(e),i=t.findIndex((t,i)=>!n[i]&&r===LD(t)&&aD(e.attrs,t.attrs));return i!==-1&&(n[i]=!0,!0)})}function zD(e,t){let n={...e};return gD(e)&&gD(t)&&Object.keys(t).forEach(r=>{gD(t[r])&&gD(e[r])?n[r]=zD(e[r],t[r]):n[r]=t[r]}),n}function BD(e,t,n={}){let{state:r}=t,{doc:i,tr:a}=r,o=e;i.descendants((t,r)=>{let i=a.mapping.map(r),s=a.mapping.map(r)+t.nodeSize,c=null;if(t.marks.forEach(e=>{if(e!==o)return!1;c=e}),!c)return;let l=!1;if(Object.keys(n).forEach(e=>{n[e]!==c.attrs[e]&&(l=!0)}),l){let t=e.type.create({...e.attrs,...n});a.removeMark(i,s,e.type),a.addMark(i,s,t)}}),a.docChanged&&t.view.dispatch(a)}var VD=class{constructor(e){this.find=e.find,this.handler=e.handler,this.undoable=e.undoable??!0}},HD=(e,t)=>{if(UC(t))return t.exec(e);let n=t(e);if(!n)return null;let r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn(`[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".`),r.push(n.replaceWith)),r};function UD(e){let{editor:t,from:n,to:r,text:i,insertText:a}=e;if(!a)return{inputTransaction:null,tr:t.view.state.tr};let o=t.view.state.tr.insertText(i,n,r);return{inputTransaction:o,tr:v_.create({doc:o.doc,selection:o.selection,storedMarks:o.storedMarks}).tr}}function WD(e){let{editor:t,from:n,to:r,text:i,rule:a,match:o,plugin:s,insertText:c}=e,{view:l}=t,{inputTransaction:u,tr:d}=UD({editor:t,from:n,to:r,text:i,insertText:c}),f=u?n+i.length:r,p=TC({state:l.state,transaction:d}),m={from:n-(o[0].length-i.length),to:f},{commands:h,chain:g,can:_}=new EC({editor:t,state:p});return a.handler({state:p,range:m,match:o,commands:h,chain:g,can:_})===null||!d.steps.length?!1:(u&&(l.dispatch(u),!l.state.doc.eq(u.doc))||(_C(d),d.setMeta(`inputRule`,!0),a.undoable&&d.setMeta(s,{transform:d,from:n,to:f,text:i}),l.dispatch(d)),!0)}function GD(e,t,n){let r=t[0].length-n.length;if(r<=0)return!0;let i=e.parentOffset-r;return i>=0&&e.parent.textBetween(i,e.parentOffset)===t[0].slice(0,r)}function KD(e){let{editor:t,from:n,to:r,text:i,rules:a,plugin:o,insertText:s}=e,{view:c}=t;if(c.composing)return!1;let l=c.state.doc.resolve(n);if(l.parent.type.spec.code||(l.nodeBefore||l.nodeAfter)?.marks.find(e=>e.type.spec.code))return!1;let u=RT(l)+i;for(let e of a){let a=HD(u,e.find);if(a&&GD(l,a,i)&&WD({editor:t,from:n,to:r,text:i,rule:e,match:a,plugin:o,insertText:s}))return!0}return!1}function qD(e){let{editor:t,rules:n}=e,r=new b_({state:{init(){return null},apply(e,i,a){let o=e.getMeta(r);if(o)return o;let s=e.getMeta(`applyInputRules`);return s&&setTimeout(()=>{let{text:e}=s;e=typeof e==`string`?e:Xw(G.from(e),a.schema);let{from:i}=s,o=i+e.length;KD({editor:t,from:i,to:o,text:e,rules:n,plugin:r})}),e.selectionSet||e.docChanged?null:i}},props:{handleTextInput(e,i,a,o){return KD({editor:t,from:i,to:a,text:o,rules:n,plugin:r,insertText:!0})},handleDOMEvents:{compositionend:e=>(setTimeout(()=>{let{$cursor:i}=e.state.selection;i&&KD({editor:t,from:i.pos,to:i.pos,text:``,rules:n,plugin:r})}),!1)},handleKeyDown(e,i){if(i.key!==`Enter`)return!1;let{$cursor:a}=e.state.selection;return a?KD({editor:t,from:a.pos,to:a.pos,text:`
22
+ `,rules:n,plugin:r}):!1}},isInputRules:!0});return r}var JD=class{constructor(e={}){this.type=`extendable`,this.parent=null,this.child=null,this.name=``,this.config={name:this.name},this.config={...this.config,...e},this.name=this.config.name}get options(){return{...$(Q(this,`addOptions`,{name:this.name}))}}get storage(){return{...$(Q(this,`addStorage`,{name:this.name,options:this.options}))}}configure(e={}){let t=this.extend({...this.config,addOptions:()=>zD(this.options,e)});return t.name=this.name,t.parent=this.parent,this.child=null,t}extend(e={}){let t=new this.constructor({...this.config,...e});return t.parent=this,this.child=t,t.name=`name`in e?e.name:t.parent.name,t}},YD=class e extends JD{constructor(...e){super(...e),this.type=`mark`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}static handleExit({editor:e,mark:t}){let{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){let i=r.marks();if(!i.find(e=>e?.type.name===t.name))return!1;let a=i.find(e=>e?.type.name===t.name);return a&&n.removeStoredMark(a),n.insertText(` `,r.pos),e.view.dispatch(n),!0}return!1}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}},XD=class{constructor(e){this.find=e.find,this.handler=e.handler}},ZD=(e,t,n)=>{if(UC(t))return[...e.matchAll(t)];let r=t(e,n);return r?r.map(t=>{let n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn(`[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".`),n.push(t.replaceWith)),n}):[]};function QD(e){let{editor:t,state:n,from:r,to:i,rule:a,pasteEvent:o,dropEvent:s}=e,{commands:c,chain:l,can:u}=new EC({editor:t,state:n}),d=[];return n.doc.nodesBetween(r,i,(e,t)=>{var f;if((f=e.type)!=null&&(f=f.spec)!=null&&f.code||!(e.isText||e.isTextblock||e.isInline))return;let p=e.content?.size??e.nodeSize??0,m=Math.max(r,t),h=Math.min(i,t+p);m>=h||ZD(e.isText?e.text||``:e.textBetween(m-t,h-t,void 0,``),a.find,o).forEach(e=>{if(e.index===void 0)return;let t=m+e.index+1,r=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},f=a.handler({state:n,range:i,match:e,commands:c,chain:l,can:u,pasteEvent:o,dropEvent:s});d.push(f)})}),d.every(e=>e!==null)}var $D=null,eO=e=>{var t;let n=new ClipboardEvent(`paste`,{clipboardData:new DataTransfer});return(t=n.clipboardData)==null||t.setData(`text/html`,e),n};function tO(e){let{editor:t,rules:n}=e,r=null,i=!1,a=!1,o=typeof ClipboardEvent<`u`?new ClipboardEvent(`paste`):null,s;try{s=typeof DragEvent<`u`?new DragEvent(`drop`):null}catch{s=null}let c=({state:e,from:n,to:r,rule:i,pasteEvt:a})=>{let c=e.tr,l=TC({state:e,transaction:c});if(QD({editor:t,state:l,from:Math.max(n-1,0),to:r.b-1,rule:i,pasteEvent:a,dropEvent:s})&&c.steps.length){try{s=typeof DragEvent<`u`?new DragEvent(`drop`):null}catch{s=null}return o=typeof ClipboardEvent<`u`?new ClipboardEvent(`paste`):null,c}};return t.on(`destroy`,()=>{$D===t&&($D=null)}),n.map(e=>new b_({view(e){let n=n=>{r=e.dom.parentElement?.contains(n.target)?e.dom.parentElement:null,r&&($D=t)},i=()=>{$D&&=null};return window.addEventListener(`dragstart`,n),window.addEventListener(`dragend`,i),{destroy(){window.removeEventListener(`dragstart`,n),window.removeEventListener(`dragend`,i)}}},props:{handleDOMEvents:{drop:(e,t)=>{if(a=r===e.dom.parentElement,s=t,!a){let e=$D;e?.isEditable&&setTimeout(()=>{if(e.isDestroyed)return;let t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})},10)}return!1},paste:(e,t)=>{let n=t.clipboardData?.getData(`text/html`);return o=t,i=!!n?.includes(`data-pm-slice`),!1}}},appendTransaction:(t,n,r)=>{let s=t[0],l=s.getMeta(`uiEvent`)===`paste`&&!i,u=s.getMeta(`uiEvent`)===`drop`&&!a,d=s.getMeta(`applyPasteRules`),f=!!d;if(!l&&!u&&!f)return;if(f){let{text:t}=d;t=typeof t==`string`?t:Xw(G.from(t),r.schema);let{from:n}=d,i=n+t.length,a=eO(t);return c({rule:e,state:r,from:n,to:{b:i},pasteEvt:a})}let p=n.doc.content.findDiffStart(r.doc.content),m=n.doc.content.findDiffEnd(r.doc.content);if(mD(p)&&m&&p!==m.b)return c({rule:e,state:r,from:p,to:m,pasteEvt:o})}}))}var nO=class{constructor(e,t){this.splittableMarks=[],this.nonClearableMarks=[],this.decorationManager=null,this.editor=t,this.baseExtensions=e,this.extensions=bT(e),this.hasSchemaSpec=t.options.schemaSpec!==void 0,this.schema=vT(this.extensions,t,t.options.schemaSpec),this.setupExtensions()}get commands(){return this.extensions.reduce((e,t)=>{let n=Q(t,`addCommands`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:this.editor,type:IT(t.name,this.schema)});return n?{...e,...n()}:e},{})}get plugins(){let{editor:e}=this,t=yT([...this.extensions].reverse()).flatMap(t=>{let n={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:IT(t.name,this.schema)},r=[],i=Q(t,`addKeyboardShortcuts`,n),a={};if(t.type===`mark`&&Q(t,`exitable`,n)&&(a.ArrowRight=()=>YD.handleExit({editor:e,mark:t})),i){let t=Object.fromEntries(Object.entries(i()).map(([t,n])=>[t,()=>n({editor:e})]));a={...a,...t}}let o=ZS(a);r.push(o);let s=Q(t,`addInputRules`,n);if(UT(t,e.options.enableInputRules)&&s){let t=s();if(t&&t.length){let n=qD({editor:e,rules:t}),i=Array.isArray(n)?n:[n];r.push(...i)}}let c=Q(t,`addPasteRules`,n);if(UT(t,e.options.enablePasteRules)&&c){let t=c();if(t&&t.length){let n=tO({editor:e,rules:t});r.push(...n)}}let l=Q(t,`addProseMirrorPlugins`,n);if(l){let e=l();r.push(...e)}return r}),n=this.createDecorationPlugin();return n&&t.push(n),t}createDecorationPlugin(){var e;let{editor:t}=this;(e=this.decorationManager)==null||e.destroy();let n=[];return this.extensions.forEach(e=>{let r=Q(e,`addDecorations`,{name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:t,type:IT(e.name,this.schema)});r&&n.push({name:e.name,addDecorations:r})}),this.decorationManager=new iD({editor:t,entries:n}),this.decorationManager.plugin}get attributes(){let e=oT(this.extensions);return this.hasSchemaSpec?Zw(e,this.schema):e}get nodeViews(){let{editor:e}=this,{nodeExtensions:t}=aT(this.extensions);return Object.fromEntries(t.filter(e=>!!Q(e,`addNodeView`)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r=Q(t,`addNodeView`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:PC(t.name,this.schema)});if(!r)return[];let i=r();return i?[t.name,(r,a,o,s,c)=>{let l=fT(r,n);return i({node:r,view:a,getPos:o,decorations:s,innerDecorations:c,editor:e,extension:t,HTMLAttributes:l})}]:[]}))}dispatchTransaction(e){let{editor:t}=this;return yT([...this.extensions].reverse()).reduceRight((e,n)=>{let r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:IT(n.name,this.schema)},i=Q(n,`dispatchTransaction`,r);return i?t=>{i.call(r,{transaction:t,next:e})}:e},e)}transformPastedHTML(e){let{editor:t}=this;return yT([...this.extensions]).reduce((e,n)=>{let r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:IT(n.name,this.schema)},i=Q(n,`transformPastedHTML`,r);return i?(t,n)=>{let a=e(t,n);return i.call(r,a)}:e},e||(e=>e))}get markViews(){let{editor:e}=this,{markExtensions:t}=aT(this.extensions);return Object.fromEntries(t.filter(e=>!!Q(e,`addMarkView`)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r=Q(t,`addMarkView`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:JC(t.name,this.schema)});return r?[t.name,(i,a,o)=>{let s=fT(i,n);return r()({mark:i,view:a,inline:o,editor:e,extension:t,HTMLAttributes:s,updateAttributes:t=>{BD(i,e,t)}})}]:[]}))}destroy(){var e;(e=this.decorationManager)==null||e.destroy(),this.extensions.forEach(e=>{let t=e;for(;t.parent;){let e=t.parent;e.child===t&&(e.child=null),t=e}}),this.extensions=[],this.baseExtensions=[],this.decorationManager=null,this.schema=null,this.editor=null}setupExtensions(){let e=this.extensions;this.editor.extensionStorage=Object.fromEntries(e.map(e=>[e.name,e.storage])),e.forEach(e=>{let t={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:IT(e.name,this.schema)};e.type===`mark`&&(($(Q(e,`keepOnSplit`,t))??!0)&&this.splittableMarks.push(e.name),($(Q(e,`clearable`,t))??!0)||this.nonClearableMarks.push(e.name));let n=Q(e,`onBeforeCreate`,t),r=Q(e,`onCreate`,t),i=Q(e,`onUpdate`,t),a=Q(e,`onSelectionUpdate`,t),o=Q(e,`onTransaction`,t),s=Q(e,`onFocus`,t),c=Q(e,`onBlur`,t),l=Q(e,`onDestroy`,t);n&&this.editor.on(`beforeCreate`,n),r&&this.editor.on(`create`,r),i&&this.editor.on(`update`,i),a&&this.editor.on(`selectionUpdate`,a),o&&this.editor.on(`transaction`,o),s&&this.editor.on(`focus`,s),c&&this.editor.on(`blur`,c),l&&this.editor.on(`destroy`,l)})}};nO.resolve=bT,nO.sort=yT,nO.flatten=Yw;var rO=class e extends JD{constructor(...e){super(...e),this.type=`extension`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}},iO=rO.create({name:`clipboardTextSerializer`,addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new b_({key:new C_(`clipboardTextSerializer`),props:{clipboardTextSerializer:()=>{let{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,a=ET(n),{blockSeparator:o}=this.options,s={...o===void 0?{}:{blockSeparator:o},textSerializers:a};return[...i.ranges].sort((e,t)=>e.$from.pos-t.$from.pos).map(({$from:e,$to:t})=>wT(r,{from:e.pos,to:t.pos},s)).join(o??`
23
+
24
+ `)}}})]}}),aO=rO.create({name:`commands`,addCommands(){return{...PE}}}),oO=rO.create({name:`delete`,onUpdate({transaction:e,appendedTransactions:t}){var n;let r=()=>{var n,r;if(((n=this.editor.options.coreExtensionOptions)==null||(n=n.delete)==null||(r=n.filterTransaction)==null?void 0:r.call(n,e))??e.getMeta(`y-sync$`))return;let i=Gw(e.before,[e,...t]);MT(i).forEach(t=>{i.mapping.mapResult(t.oldRange.from).deletedAfter&&i.mapping.mapResult(t.oldRange.to).deletedBefore&&i.before.nodesBetween(t.oldRange.from,t.oldRange.to,(n,r)=>{let a=r+n.nodeSize-2,o=t.oldRange.from<=r&&a<=t.oldRange.to;this.editor.emit(`delete`,{type:`node`,node:n,from:r,to:a,newFrom:i.mapping.map(r),newTo:i.mapping.map(a),deletedRange:t.oldRange,newRange:t.newRange,partial:!o,editor:this.editor,transaction:e,combinedTransform:i})})});let a=i.mapping;i.steps.forEach((t,n)=>{if(t instanceof rg){let r=a.slice(n).map(t.from,-1),o=a.slice(n).map(t.to),s=a.invert().map(r,-1),c=a.invert().map(o),l=r>0&&i.doc.nodeAt(r-1)?.marks.some(e=>e.eq(t.mark)),u=i.doc.nodeAt(o)?.marks.some(e=>e.eq(t.mark));this.editor.emit(`delete`,{type:`mark`,mark:t.mark,from:t.from,to:t.to,deletedRange:{from:s,to:c},newRange:{from:r,to:o},partial:!!(u||l),editor:this.editor,transaction:e,combinedTransform:i})}})};((n=this.editor.options.coreExtensionOptions)==null||(n=n.delete)==null?void 0:n.async)??!0?setTimeout(r,0):r()}}),sO=rO.create({name:`drop`,addProseMirrorPlugins(){return[new b_({key:new C_(`tiptapDrop`),props:{handleDrop:(e,t,n,r)=>{this.editor.emit(`drop`,{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),cO=rO.create({name:`editable`,addProseMirrorPlugins(){return[new b_({key:new C_(`editable`),props:{editable:()=>this.editor.options.editable}})]}}),lO=new C_(`focusEvents`),uO=rO.create({name:`focusEvents`,addProseMirrorPlugins(){let{editor:e}=this;return[new b_({key:lO,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;let r=e.state.tr.setMeta(`focus`,{event:n}).setMeta(`addToHistory`,!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;let r=e.state.tr.setMeta(`blur`,{event:n}).setMeta(`addToHistory`,!1);return t.dispatch(r),!1}}}})]}}),dO=rO.create({name:`keymap`,addKeyboardShortcuts(){let e=()=>this.editor.commands.first(({commands:e})=>[()=>e.undoInputRule(),()=>e.command(({tr:t})=>{let{selection:n,doc:r}=t,{empty:i,$anchor:a}=n,{pos:o,parent:s}=a,c=a.parent.isTextblock&&o>0?t.doc.resolve(o-1):a,l=c.parent.type.spec.isolating,u=a.pos-a.parentOffset,d=l&&c.parent.childCount===1?u===a.pos:J.atStart(r).from===o;return!i||!s.type.isTextblock||s.textContent.length||!d||d&&a.parent.type.name===`paragraph`?!1:e.clearNodes()}),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return tw()||ww()?i:r},addProseMirrorPlugins(){return[new b_({key:new C_(`clearDocument`),appendTransaction:(e,t,n)=>{if(e.some(e=>e.getMeta(`composition`)))return;let r=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),i=e.some(e=>e.getMeta(`preventClearDocument`));if(!r||i)return;let{empty:a,from:o,to:s}=t.selection,c=J.atStart(t.doc).from,l=J.atEnd(t.doc).to;if(a||o!==c||s!==l||!GT(n.doc))return;let u=n.tr,d=TC({state:n,transaction:u}),{commands:f}=new EC({editor:this.editor,state:d});if(f.clearNodes(),u.steps.length)return u}})]}}),fO=rO.create({name:`paste`,addProseMirrorPlugins(){return[new b_({key:new C_(`tiptapPaste`),props:{handlePaste:(e,t,n)=>{this.editor.emit(`paste`,{editor:this.editor,event:t,slice:n})}}})]}}),pO=rO.create({name:`tabindex`,addOptions(){return{value:void 0}},addProseMirrorPlugins(){return[new b_({key:new C_(`tabindex`),props:{attributes:()=>!this.editor.isEditable&&this.options.value===void 0?{}:{tabindex:this.options.value??`0`}}})]}}),mO=rO.create({name:`textDirection`,addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];let{nodeExtensions:e}=aT(this.extensions);return[{types:e.filter(e=>e.name!==`text`).map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{let t=e.getAttribute(`dir`);return t&&(t===`ltr`||t===`rtl`||t===`auto`)?t:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new b_({key:new C_(`textDirection`),props:{attributes:()=>{let e=this.options.direction;return e?{dir:e}:{}}}})]}}),hO=!1;function gO(e){if(hO)return;hO=!0;let t;try{let n=og.fromJSON(e,{from:0,to:0});if(!JT(n))return;t=n.slice.content}catch{return}t instanceof G||console.warn(`[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler.`)}var _O=class e{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){return this.actualDepth??this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+ +!this.node.isText}get parent(){if(this.depth===0)return null;let t=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(t);return new e(n,this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new e(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new e(t,this.editor)}get children(){let t=[];return this.node.content.forEach((n,r)=>{let i=n.isBlock&&!n.isTextblock,a=n.isAtom&&!n.isText,o=n.isInline,s=this.pos+r+ +!a;if(s<0||s>this.resolvedPos.doc.nodeSize-2)return;let c=this.resolvedPos.doc.resolve(s);if(!i&&!o&&c.depth<=this.depth)return;let l=new e(c,this.editor,i,i||o?n:null);i&&(l.actualDepth=this.depth+1),t.push(l)}),t}get firstChild(){return this.children[0]||null}get lastChild(){let e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===e){if(Object.keys(t).length>0){let e=r.node.attrs,n=Object.keys(t);for(let r=0;r<n.length;r+=1){let i=n[r];if(e[i]!==t[i])break}}else n=r}r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||this.children.length===0)return r;let i=Object.keys(t);return this.children.forEach(a=>{n&&r.length>0||(a.node.type.name===e&&i.every(e=>t[e]===a.node.attrs[e])&&r.push(a),!(n&&r.length>0)&&(r=r.concat(a.querySelectorAll(e,t,n))))}),r}setAttribute(e){let{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}},vO=`.ProseMirror {
25
+ position: relative;
26
+ }
27
+
28
+ .ProseMirror {
29
+ word-wrap: break-word;
30
+ white-space: pre-wrap;
31
+ white-space: break-spaces;
32
+ -webkit-font-variant-ligatures: none;
33
+ font-variant-ligatures: none;
34
+ font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
35
+ }
36
+
37
+ .ProseMirror [contenteditable="false"] {
38
+ white-space: normal;
39
+ }
40
+
41
+ .ProseMirror [contenteditable="false"] [contenteditable="true"] {
42
+ white-space: pre-wrap;
43
+ }
44
+
45
+ .ProseMirror pre {
46
+ white-space: pre-wrap;
47
+ }
48
+
49
+ img.ProseMirror-separator {
50
+ display: inline !important;
51
+ border: none !important;
52
+ margin: 0 !important;
53
+ width: 0 !important;
54
+ height: 0 !important;
55
+ }
56
+
57
+ .ProseMirror-gapcursor {
58
+ display: none;
59
+ pointer-events: none;
60
+ position: absolute;
61
+ margin: 0;
62
+ }
63
+
64
+ .ProseMirror-gapcursor:after {
65
+ content: "";
66
+ display: block;
67
+ position: absolute;
68
+ top: -2px;
69
+ width: 20px;
70
+ border-top: 1px solid black;
71
+ animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
72
+ }
73
+
74
+ @keyframes ProseMirror-cursor-blink {
75
+ to {
76
+ visibility: hidden;
77
+ }
78
+ }
79
+
80
+ .ProseMirror-hideselection *::selection {
81
+ background: transparent;
82
+ }
83
+
84
+ .ProseMirror-hideselection *::-moz-selection {
85
+ background: transparent;
86
+ }
87
+
88
+ .ProseMirror-hideselection * {
89
+ caret-color: transparent;
90
+ }
91
+
92
+ .ProseMirror-focused .ProseMirror-gapcursor {
93
+ display: block;
94
+ }`,yO=class extends RE{constructor(e={}){super(),this.css=null,this.className=`tiptap`,this.editorView=null,this.isFocused=!1,this.destroyed=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.hasWarnedStaleDecorationRead=!1,this.options={element:typeof document<`u`?document.createElement(`div`):null,content:``,injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:XT,createMappablePosition:ZT},this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on(`beforeCreate`,this.options.onBeforeCreate),this.emit(`beforeCreate`,{editor:this}),this.on(`mount`,this.options.onMount),this.on(`unmount`,this.options.onUnmount),this.on(`contentError`,this.options.onContentError),this.on(`create`,this.options.onCreate),this.on(`update`,this.options.onUpdate),this.on(`selectionUpdate`,this.options.onSelectionUpdate),this.on(`transaction`,this.options.onTransaction),this.on(`focus`,this.options.onFocus),this.on(`blur`,this.options.onBlur),this.on(`destroy`,this.options.onDestroy),this.on(`drop`,({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n)),this.on(`paste`,({event:e,slice:t})=>this.options.onPaste(e,t)),this.on(`delete`,this.options.onDelete);let t=this.createDoc();if(!this.editorState){let e=$C(t,this.options.autofocus);this.editorState=v_.create({doc:t,schema:this.schema,selection:e||void 0})}gO(this.schema),this.options.element&&this.mount(this.options.element)}mount(e){if(typeof document>`u`)throw Error(`[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.`);this.createView(e),this.emit(`mount`,{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit(`create`,{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){this.editorState=this.editorView.state;let e=this.editorView.dom;e?.editor&&delete e.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove==`function`?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(e){console.warn(`Failed to remove CSS element:`,e)}this.css=null,this.emit(`unmount`,{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager?this.commandManager.chain():EC.createFakeChain()}can(){return this.commandManager?this.commandManager.can():EC.createFallbackCan()}injectCSS(){this.options.injectCSS&&typeof document<`u`&&(this.css=sD(vO,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.editorView&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps({...this.options.editorProps,attributes:this.getEditorViewAttributes()}),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit(`update`,{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:e=>{this.editorState=e},dispatch:e=>{this.dispatchTransaction(e)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(e,t)=>{if(this.editorView)return this.editorView[t];if(t===`state`)return this.editorState;if(t in e)return Reflect.get(e,t);throw Error(`[tiptap error]: The editor view is not available. Cannot access view['${t}']. The editor may not be mounted yet.`)}})}get state(){return zE&&!this.hasWarnedStaleDecorationRead&&LE(this)&&(this.hasWarnedStaleDecorationRead=!0,console.warn("[tiptap warn]: `editor.state` was read while decoration `create()` was running. It returns the pre-transaction document. Use the `state` argument passed to `create()` instead. Helpers like `editor.isActive()` read `editor.state` too, so pass `state` to their standalone versions instead of calling them on the editor.")),this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(e,t){let n=sT(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;let t=this.state.plugins,n=t;if([].concat(e).forEach(e=>{let t=typeof e==`string`?`${e}$`:e.key;n=n.filter(e=>!e.key.startsWith(t))}),t.length===n.length)return;let r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;let n=[...this.options.enableCoreExtensions?[cO,iO.configure({blockSeparator:(e=this.options.coreExtensionOptions)==null||(e=e.clipboardTextSerializer)==null?void 0:e.blockSeparator}),aO,uO,dO,pO.configure({value:(t=this.options.coreExtensionOptions)==null||(t=t.tabindex)==null?void 0:t.value}),sO,fO,oO,mO.configure({direction:this.options.textDirection})].filter(e=>typeof this.options.enableCoreExtensions!=`object`||this.options.enableCoreExtensions[e.name]!==!1):[],...this.options.extensions].filter(e=>[`extension`,`node`,`mark`].includes(e?.type));this.extensionManager=new nO(n,this)}createCommandManager(){this.commandManager=new EC({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let e;try{e=Hw(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||![`[tiptap error]: Invalid JSON content`,`[tiptap error]: Invalid HTML content`].includes(e.message))throw e;let t=Hw(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1});return this.editorState=v_.create({doc:t,schema:this.schema,selection:$C(t,this.options.autofocus)||void 0}),this.emit(`contentError`,{editor:this,error:e,disableCollaboration:()=>{`collaboration`in this.storage&&typeof this.storage.collaboration==`object`&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(e=>e.name!==`collaboration`),this.createExtensionManager()}}),this.editorState.doc}return e}getEditorViewAttributes(){let e=this.options.editorProps?.attributes;return sT(e)?t=>({role:`textbox`,...e(t)}):{role:`textbox`,...e}}createView(e){let{editorProps:t,enableExtensionDispatchTransaction:n}=this.options,r=t.dispatchTransaction||this.dispatchTransaction.bind(this),i=n?this.extensionManager.dispatchTransaction(r):r,a=t.transformPastedHTML,o=this.extensionManager.transformPastedHTML(a);this.editorView=new jS(e,{...t,attributes:this.getEditorViewAttributes(),dispatchTransaction:i,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});let s=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(s),this.prependClass(),this.injectCSS();let c=this.view.dom;c.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;let t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(e=>this.capturedTransaction?.step(e));return}let{state:t,transactions:n}=this.state.applyTransaction(e),r=!this.state.selection.eq(t.selection),i=n.includes(e),a=this.state;if(this.emit(`beforeTransaction`,{editor:this,transaction:e,nextState:t}),!i)return;this.view.updateState(t),this.emit(`transaction`,{editor:this,transaction:e,appendedTransactions:n.slice(1)}),r&&this.emit(`selectionUpdate`,{editor:this,transaction:e});let o=n.findLast(e=>e.getMeta(`focus`)||e.getMeta(`blur`)),s=o?.getMeta(`focus`),c=o?.getMeta(`blur`);s&&this.emit(`focus`,{editor:this,event:s.event,transaction:o}),c&&this.emit(`blur`,{editor:this,event:c.event,transaction:o}),!(e.getMeta(`preventUpdate`)||!n.some(e=>e.docChanged)||a.doc.eq(t.doc))&&this.emit(`update`,{editor:this,transaction:e,appendedTransactions:n.slice(1)})}getAttributes(e){return kT(this.state,e)}isActive(e,t){let n=typeof e==`string`?e:null,r=typeof e==`string`?t:e;return BT(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return Xw(this.state.doc.content,this.schema)}getText(e){let{blockSeparator:t=`
95
+
96
+ `,textSerializers:n={}}=e||{};return TT(this.state.doc,{blockSeparator:t,textSerializers:{...ET(this.schema),...n}})}get isEmpty(){return GT(this.state.doc)}destroy(){this.destroyed||(this.destroyed=!0,this.emit(`destroy`),this.unmount(),this.removeAllListeners(),this.extensionManager.destroy(),this.extensionManager=null,this.schema=null,this.commandManager=null,this.extensionStorage={})}get isDestroyed(){return this.editorView?.isDestroyed??!0}$node(e,t){return this.$doc?.querySelector(e,t)||null}$nodes(e,t){return this.$doc?.querySelectorAll(e,t)||null}$pos(e){let t=this.state.doc.resolve(e),n=e>0&&t.nodeAfter&&!t.nodeAfter.isText&&t.nodeAfter.isAtom?t.nodeAfter:null;return new _O(t,this,!1,n)}get $doc(){return this.$pos(0)}};function bO(e){return new VD({find:e.find,handler:({state:t,range:n,match:r})=>{let i=$(e.getAttributes,void 0,r);if(i===!1||i===null)return null;let{tr:a}=t,o=r[r.length-1],s=r[0];if(o){let r=s.search(/\S/),c=n.from+s.indexOf(o),l=c+o.length;if(NT(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>c).length)return null;l<n.to&&a.delete(l,n.to),c>n.from&&a.delete(n.from+r,c);let u=n.from+r+o.length;a.addMark(n.from+r,u,e.type.create(i||{})),a.removeStoredMark(e.type)}},undoable:e.undoable})}function xO(e){return new VD({find:e.find,handler:({state:t,range:n,match:r})=>{let i=$(e.getAttributes,void 0,r)||{},{tr:a}=t,o=n.from,s=n.to,c=e.type.create(i);if(r[1]){let e=o+r[0].lastIndexOf(r[1]);e>s?e=s:s=e+r[1].length;let t=r[0][r[0].length-1];a.insertText(t,o+r[0].length-1),a.replaceWith(e,s,c)}else if(r[0]){let t=e.type.isInline?o:o-1;a.insert(t,e.type.create(i)).delete(a.mapping.map(o),a.mapping.map(s))}a.scrollIntoView()},undoable:e.undoable})}function SO(e){return new VD({find:e.find,handler:({state:t,range:n,match:r})=>{let i=t.doc.resolve(n.from),a=$(e.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,a)},undoable:e.undoable})}function CO(e){return new VD({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{let a=$(e.getAttributes,void 0,r)||{},o=t.tr.delete(n.from,n.to),s=o.doc.resolve(n.from).blockRange(),c=s&&hg(s,e.type,a);if(!c)return null;if(o.wrap(s,c),e.keepMarks&&e.editor){let{selection:n,storedMarks:r}=t,{splittableMarks:i}=e.editor.extensionManager,a=r||n.$to.parentOffset&&n.$from.marks();if(a){let e=a.filter(e=>i.includes(e.type.name));o.ensureMarks(e)}}if(e.keepAttributes){let t=e.type.name===`bulletList`||e.type.name===`orderedList`?`listItem`:`taskList`;i().updateAttributes(t,a).run()}let l=o.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&Dg(o.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,l))&&o.join(n.from-1)},undoable:e.undoable})}var wO=e=>`touches`in e,TO=class{constructor(e){var t;this.directions=[`bottom-left`,`bottom-right`,`top-left`,`top-right`],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:``,wrapper:``,handle:``,resizing:``},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=e=>{if(!this.isResizing||!this.activeHandle)return;let t=e.clientX-this.startX,n=e.clientY-this.startY;this.handleResize(t,n)},this.handleTouchMove=e=>{if(!this.isResizing||!this.activeHandle)return;let t=e.touches[0];if(!t)return;let n=t.clientX-this.startX,r=t.clientY-this.startY;this.handleResize(n,r)},this.handleMouseUp=()=>{if(!this.isResizing)return;let e=this.element.offsetWidth,t=this.element.offsetHeight;this.onCommit(e,t),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState=`false`,this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener(`mousemove`,this.handleMouseMove),document.removeEventListener(`mouseup`,this.handleMouseUp),document.removeEventListener(`keydown`,this.handleKeyDown),document.removeEventListener(`keyup`,this.handleKeyUp)},this.handleKeyDown=e=>{e.key===`Shift`&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=e=>{e.key===`Shift`&&(this.isShiftKeyPressed=!1)},this.node=e.node,this.editor=e.editor,this.element=e.element,this.element.draggable=!1,this.contentElement=e.contentElement,this.getPos=e.getPos,this.onResize=e.onResize,this.onCommit=e.onCommit,this.onUpdate=e.onUpdate,e.options?.min&&(this.minSize={...this.minSize,...e.options.min}),e.options?.max&&(this.maxSize=e.options.max),e!=null&&(t=e.options)!=null&&t.directions&&(this.directions=e.options.directions),e.options?.preserveAspectRatio&&(this.preserveAspectRatio=e.options.preserveAspectRatio),e.options?.className&&(this.classNames={container:e.options.className.container||``,wrapper:e.options.className.wrapper||``,handle:e.options.className.handle||``,resizing:e.options.className.resizing||``}),e.options?.createCustomHandle&&(this.createCustomHandle=e.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on(`update`,this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){return this.contentElement??null}handleEditorUpdate(){let e=this.editor.isEditable;e!==this.lastEditableState&&(this.lastEditableState=e,e?e&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(e,t,n){return e.type===this.node.type&&(this.node=e,!this.onUpdate||this.onUpdate(e,t,n))}destroy(){this.isResizing&&(this.container.dataset.resizeState=`false`,this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener(`mousemove`,this.handleMouseMove),document.removeEventListener(`mouseup`,this.handleMouseUp),document.removeEventListener(`keydown`,this.handleKeyDown),document.removeEventListener(`keyup`,this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off(`update`,this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){let e=document.createElement(`div`);return e.dataset.resizeContainer=``,e.dataset.node=this.node.type.name,e.style.display=this.node.type.isInline?`inline-flex`:`flex`,this.classNames.container&&(e.className=this.classNames.container),e.appendChild(this.wrapper),e}createWrapper(){let e=document.createElement(`div`);return e.style.position=`relative`,e.style.display=`block`,e.dataset.resizeWrapper=``,this.classNames.wrapper&&(e.className=this.classNames.wrapper),e.appendChild(this.element),e}createHandle(e){let t=document.createElement(`div`);return t.dataset.resizeHandle=e,t.style.position=`absolute`,this.classNames.handle&&(t.className=this.classNames.handle),t}positionHandle(e,t){let n=t.includes(`top`),r=t.includes(`bottom`),i=t.includes(`left`),a=t.includes(`right`);n&&(e.style.top=`0`),r&&(e.style.bottom=`0`),i&&(e.style.left=`0`),a&&(e.style.right=`0`),(t===`top`||t===`bottom`)&&(e.style.left=`0`,e.style.right=`0`),(t===`left`||t===`right`)&&(e.style.top=`0`,e.style.bottom=`0`)}attachHandles(){this.directions.forEach(e=>{let t;t=this.createCustomHandle?this.createCustomHandle(e):this.createHandle(e),t instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${e}") did not return an HTMLElement. Falling back to default handle.`),t=this.createHandle(e)),this.createCustomHandle||this.positionHandle(t,e),t.addEventListener(`mousedown`,t=>this.handleResizeStart(t,e)),t.addEventListener(`touchstart`,t=>this.handleResizeStart(t,e)),this.handleMap.set(e,t),this.wrapper.appendChild(t)})}removeHandles(){this.handleMap.forEach(e=>e.remove()),this.handleMap.clear()}applyInitialSize(){let e=this.node.attrs.width,t=this.node.attrs.height;e?(this.element.style.width=`${e}px`,this.initialWidth=e):this.initialWidth=this.element.offsetWidth,t?(this.element.style.height=`${t}px`,this.initialHeight=t):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(e,t){e.preventDefault(),e.stopPropagation(),this.isResizing=!0,this.activeHandle=t,wO(e)?(this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY):(this.startX=e.clientX,this.startY=e.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState=`true`,this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener(`mousemove`,this.handleMouseMove),document.addEventListener(`touchmove`,this.handleTouchMove),document.addEventListener(`mouseup`,this.handleMouseUp),document.addEventListener(`keydown`,this.handleKeyDown),document.addEventListener(`keyup`,this.handleKeyUp)}handleResize(e,t){if(!this.activeHandle)return;let n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:i}=this.calculateNewDimensions(this.activeHandle,e,t),a=this.applyConstraints(r,i,n);this.element.style.width=`${a.width}px`,this.element.style.height=`${a.height}px`,this.onResize&&this.onResize(a.width,a.height)}calculateNewDimensions(e,t,n){let r=this.startWidth,i=this.startHeight,a=e.includes(`right`),o=e.includes(`left`),s=e.includes(`bottom`),c=e.includes(`top`);return a?r=this.startWidth+t:o&&(r=this.startWidth-t),s?i=this.startHeight+n:c&&(i=this.startHeight-n),(e===`right`||e===`left`)&&(r=this.startWidth+(a?t:-t)),(e===`top`||e===`bottom`)&&(i=this.startHeight+(s?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,i,e):{width:r,height:i}}applyConstraints(e,t,n){if(!n){let n=Math.max(this.minSize.width,e),r=Math.max(this.minSize.height,t);return this.maxSize?.width&&(n=Math.min(this.maxSize.width,n)),this.maxSize?.height&&(r=Math.min(this.maxSize.height,r)),{width:n,height:r}}let r=e,i=t;return r<this.minSize.width&&(r=this.minSize.width,i=r/this.aspectRatio),i<this.minSize.height&&(i=this.minSize.height,r=i*this.aspectRatio),this.maxSize?.width&&r>this.maxSize.width&&(r=this.maxSize.width,i=r/this.aspectRatio),this.maxSize?.height&&i>this.maxSize.height&&(i=this.maxSize.height,r=i*this.aspectRatio),{width:r,height:i}}applyAspectRatio(e,t,n){return n===`left`||n===`right`?{width:e,height:e/this.aspectRatio}:n===`top`||n===`bottom`?{width:t*this.aspectRatio,height:t}:{width:e,height:e/this.aspectRatio}}},EO=class e extends JD{constructor(...e){super(...e),this.type=`node`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}};function DO(e){return new XD({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{let a=$(e.getAttributes,void 0,r,i);if(a===!1||a===null)return null;let{tr:o}=t,s=r[r.length-1],c=r[0],l=n.to;if(s){let i=c.search(/\S/),u=n.from+c.indexOf(s),d=u+s.length;if(NT(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>u).length)return null;d<n.to&&o.delete(d,n.to),u>n.from&&o.delete(n.from+i,u),l=n.from+i+s.length,o.addMark(n.from+i,l,e.type.create(a||{})),r.index!==void 0&&r.input!==void 0&&r.index+r[0].length>=r.input.length||o.removeStoredMark(e.type)}}})}var OO=h({baseColor:String,connected:Boolean,divided:Boolean,direction:{type:String,default:`horizontal`},...Ci(),...pe(),...hi(),...ki(),...xn(),...nr({size:void 0}),...ne(),...le(),...wi()},`VBtnGroup`),kO=D()({name:`VBtnGroup`,props:OO(),setup(e,{slots:t}){let{themeClasses:n}=x(e),{densityClasses:r}=pi(e),{borderClasses:i}=Si(e),{elevationClasses:a}=Pi(e),{roundedClasses:o,roundedStyles:s}=bn(e);fe({VBtn:{height:Et(()=>e.direction===`horizontal`&&e.size==null?`auto`:null),baseColor:Et(()=>e.baseColor),color:Et(()=>e.color),density:Et(()=>e.density),flat:!0,size:Et(()=>e.size),variant:Et(()=>e.variant)}}),de(()=>k(e.tag,{class:Je([`v-btn-group`,`v-btn-group--${e.direction}`,{"v-btn-group--connected":e.connected,"v-btn-group--divided":e.divided,"v-btn-group--has-size":e.size!=null},`v-btn-group--size-${e.size??`default`}`,n.value,i.value,r.value,a.value,o.value,e.class]),style:$e([s.value,e.style])},t))}}),AO=Symbol.for(`vuetify:v-btn-toggle`),jO=h({...OO(),...Ai()},`VBtnToggle`);D()({name:`VBtnToggle`,props:jO(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){let{isSelected:n,next:r,prev:i,select:a,selected:o}=Mi(e,AO);return de(()=>{let s=kO.filterProps(e);return k(kO,et({class:[`v-btn-toggle`,{"v-btn-toggle--has-color":!!e.color},e.class]},s,{style:e.style}),{default:()=>[t.default?.({isSelected:n,next:r,prev:i,select:a,selected:o})]})}),{next:r,prev:i,select:a}}});function MO(e,t){A(()=>e.isActive?.value,r=>{e.isLink.value&&n(r)&&t&&xt(()=>{t(r)})},{immediate:!0})}var NO=h({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:AO},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:er,appendIcon:er,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...Ci(),...pe(),...hi(),...vi(),...ki(),...Di(),...Li(),...Hn(),...Vi(),...xn(),...Ni(),...nr(),...ne({tag:`button`}),...le(),...wi({variant:`elevated`})},`VBtn`),PO=D()({name:`VBtn`,props:NO(),emits:{"group:selected":e=>!0},setup(e,{attrs:t,slots:r}){let{themeClasses:i}=x(e),{borderClasses:a}=Si(e),{densityClasses:o}=pi(e),{dimensionStyles:s}=_i(e),{elevationClasses:c}=Pi(e),{loaderClasses:l}=Ri(e),{locationStyles:u}=zn(e),{positionClasses:d}=Bi(e),{roundedClasses:f,roundedStyles:p}=bn(e),{sizeClasses:m,sizeStyles:h}=ir(e),g=Oi(e,e.symbol,!1),_=ji(e,t),v=N(()=>e.active===void 0?_.isRouterLink.value?_.isActive?.value:g?.isSelected.value:e.active),y=Et(()=>v.value?e.activeColor??e.color:e.color),b=N(()=>({color:g?.isSelected.value&&(!_.isLink.value||_.isActive?.value)||!g||_.isActive?.value?y.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:S,colorStyles:C,variantClasses:w}=Ti(b),T=N(()=>g?.disabled.value||e.disabled),E=Et(()=>e.variant===`elevated`&&!(e.disabled||e.flat||e.border)),ee=N(()=>{if(e.value!==void 0&&typeof e.value!=`symbol`)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function te(e){T.value||_.isLink.value&&(e.metaKey||e.ctrlKey||e.shiftKey||e.button!==0||t.target===`_blank`)||(_.isRouterLink.value?_.navigate.value?.(e):g?.toggle())}return MO(_,g?.select),de(()=>{let t=_.isLink.value?`a`:e.tag,y=!!(e.prependIcon||r.prepend),b=!!(e.appendIcon||r.append),x=!!(e.icon&&e.icon!==!0);return Ke(k(t,et(_.linkProps,{type:t===`a`?void 0:`button`,class:[`v-btn`,g?.selectedClass.value,{"v-btn--active":v.value,"v-btn--block":e.block,"v-btn--disabled":T.value,"v-btn--elevated":E.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},e.spaced?[`v-btn--spaced`,`v-btn--spaced-${e.spaced}`]:[],i.value,a.value,S.value,o.value,c.value,l.value,d.value,f.value,m.value,w.value,e.class],style:[C.value,s.value,u.value,h.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:T.value&&t!==`a`||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:te,value:t===`a`?void 0:ee.value}),{default:()=>[Ei(!0,`v-btn`),!e.icon&&y&&M(`span`,{key:`prepend`,class:`v-btn__prepend`},[r.prepend?k(mi,{key:`prepend-defaults`,disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):k(or,{key:`prepend-icon`,icon:e.prependIcon},null)]),M(`span`,{class:`v-btn__content`,"data-no-activator":``},[!r.default&&x?k(or,{key:`content-icon`,icon:e.icon},null):k(mi,{key:`content-defaults`,disabled:!x,defaults:{VIcon:{icon:e.icon}}},{default:()=>[r.default?.()??bt(e.text)]})]),!e.icon&&b&&M(`span`,{key:`append`,class:`v-btn__append`},[r.append?k(mi,{key:`append-defaults`,disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):k(or,{key:`append-icon`,icon:e.appendIcon},null)]),!!e.loading&&M(`span`,{key:`loader`,class:`v-btn__loader`},[r.loader?.()??k(Fi,{color:n(e.loading)?void 0:e.loading,indeterminate:!0,width:`2`},null)])]}),[[Yn,!T.value&&e.ripple,``,{center:!!e.icon}]])}),{group:g}}}),FO=qn(`v-alert-title`);function IO(e,t){let n=wt(),r=P(!1),i=P(!1),{isIntersecting:a}=Kn(n),o=Jo(()=>e.value=!1,{duration:t}),s=Et(()=>e.value&&a.value&&!r.value&&!i.value),c=Et(()=>Re(t)>0?o.remaining.value/Re(t)*100:100);return A([s,()=>Re(t)],()=>s.value?o.start():o.stop()),A(e,()=>{r.value=!1,i.value=!1}),{rootEl:n,progress:c,events:{onPointerenter:()=>r.value=!0,onPointerleave:()=>r.value=!1,onFocusin:()=>i.value=!0,onFocusout(e){e.currentTarget.contains(e.relatedTarget)||(i.value=!1)}}}}var LO=h({iconSize:[Number,String],iconSizes:{type:Array,default:()=>[[`x-small`,10],[`small`,16],[`default`,24],[`large`,28],[`x-large`,32]]}},`iconSize`);function RO(e,t){return{iconSize:N(()=>{let n=new Map(e.iconSizes),r=e.iconSize??t()??`default`;return n.has(r)?n.get(r):r})}}var zO=[`success`,`info`,`warning`,`error`],BO=h({border:{type:[Boolean,String],validator:e=>n(e)||[`top`,`end`,`bottom`,`start`].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:er,default:`$close`},closeLabel:{type:String,default:`$vuetify.close`},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,timeout:{type:[Number,String],default:-1},timer:[Boolean,String],type:{type:String,validator:e=>zO.includes(e)},...pe(),...hi(),...vi(),...ki(),...LO(),...Hn(),...Vi(),...xn(),...ne(),...le(),...yi({transition:{component:di}}),...wi({variant:`flat`})},`VAlert`),VO=D()({name:`VAlert`,props:BO(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,{emit:t,slots:n}){let r=Vn(e,`modelValue`),i=Et(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),{iconSize:a}=RO(e,()=>e.prominent?44:void 0),{themeClasses:o}=x(e),{colorClasses:s,colorStyles:c,variantClasses:l}=Ti(()=>({color:e.color??e.type,variant:e.variant})),{densityClasses:u}=pi(e),{dimensionStyles:d}=_i(e),{elevationClasses:f}=Pi(e),{locationStyles:p}=zn(e),{positionClasses:m}=Bi(e),{roundedClasses:h,roundedStyles:g}=bn(e),{textColorClasses:_,textColorStyles:v}=ce(()=>e.borderColor),{t:y}=Ln(),{rootEl:b,progress:S,events:C}=IO(r,()=>Number(e.timeout)),w=Et(()=>({"aria-label":y(e.closeLabel),onClick(e){r.value=!1,t(`click:close`,e)}}));return()=>{let t=!!(n.prepend||i.value),y=!!(n.title||e.title),x=!!(n.close||e.closable),T=!!e.timer&&Number(e.timeout)>0,E={density:e.density,icon:i.value,size:e.iconSize||e.prominent?a.value:void 0};return k(bi,{transition:e.transition},{default:()=>[r.value&&k(e.tag,et({ref:b,class:[`v-alert`,e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?`start`:e.border}`]:!0},{"v-alert--prominent":e.prominent},o.value,s.value,u.value,f.value,m.value,h.value,l.value,e.class],style:[c.value,d.value,p.value,g.value,e.style],role:`alert`},C),{default:()=>[Ei(!1,`v-alert`),T&&e.timer!==`close`&&k(Ii,{key:`timer`,class:`v-alert__timer`,absolute:!0,location:e.timer===`bottom`?`bottom`:`top`,modelValue:S.value,shape:`flat`},null),e.border&&M(`div`,{key:`border`,class:Je([`v-alert__border`,_.value]),style:$e(v.value)},null),t&&M(`div`,{key:`prepend`,class:`v-alert__prepend`},[n.prepend?k(mi,{key:`prepend-defaults`,disabled:!i.value,defaults:{VIcon:{...E}}},n.prepend):k(or,et({key:`prepend-icon`},E),null)]),M(`div`,{class:`v-alert__content`},[y&&k(FO,{key:`title`},{default:()=>[n.title?.()??e.title]}),n.text?.()??e.text,n.default?.()]),n.append&&M(`div`,{key:`append`,class:`v-alert__append`},[n.append()]),x&&M(`div`,{key:`close`,class:`v-alert__close`},[n.close?k(mi,{key:`close-defaults`,defaults:{VBtn:{icon:e.closeIcon,size:`x-small`,variant:`text`}}},{default:()=>[n.close?.({props:w.value,timerProgress:S.value})]}):k(PO,et({key:`close-btn`,icon:e.closeIcon,size:`x-small`,variant:`text`},w.value),null),T&&e.timer===`close`&&k(Fi,{key:`timer`,class:`v-alert__timer v-alert__timer--close`,modelValue:S.value,shape:`flat`,width:2},null)])]})]})}}});function HO(e,t){return{install(n){n.provide(Ji,Gi(e,t))}}}var UO=Symbol.for(`vuetify:v-checkbox-group`),WO=h({...w(Ki(),[`direction`,`glow`]),...w(En(),[`inline`])},`VCheckbox`),GO=D()({name:`VCheckbox`,inheritAttrs:!1,props:WO(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,{attrs:t,slots:n}){let r=Be($i,null);r&&Be(UO,!1)&&it($i,{...r,register:ae,unregister:ae,update:ae});let i=Vn(e,`modelValue`),{isFocused:a,focus:o,blur:s}=qi(e),c=P(),l=P(),u=Ue();return de(()=>{let[r,d]=_(t),f=Xi.filterProps(e),p=kn.filterProps(e);return k(Xi,et({ref:c,class:[`v-checkbox`,e.class]},r,f,{modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,id:e.id||`checkbox-${u}`,focused:a.value,style:e.style}),{...n,default:({id:e,messagesId:t,isDisabled:r,isReadonly:a,isValid:c})=>k(kn,et({ref:l},p,{id:e.value,"aria-describedby":t.value,disabled:r.value,readonly:a.value},d,{error:c.value===!1,modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,onFocus:o,onBlur:s}),n)})}),Zi({isFocused:a},l,c)}}),KO=h({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,closeOnInputClick:Boolean,filteredOrder:{type:String,default:`none`},...Dn({filterKeys:[`title`]}),...An(),...w(ua({modelValue:null,role:`combobox`}),[`validationValue`,`dirty`])},`VAutocomplete`),qO=D()({name:`VAutocomplete`,props:KO(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0,"item:added":e=>!0,"item:removed":e=>!0},setup(n,{emit:r,slots:a}){let{t:o}=Ln(),{elevationClasses:c}=Pi(Et(()=>n.menuElevation)),u=wt(),d=wt(),p=wt(),m=wt(),h=wt(),g=wt(),_=P(!1),y=P(!0),x=P(!1),S=P(-1),C=P(null),{items:w,transformIn:E,transformOut:ee}=Qn(n),{autofill:te,resetAutofill:ne}=In(w,e=>nt(e)),{textColorClasses:ie,textColorStyles:oe}=ce(()=>u.value?.color),{InputIcon:se}=Yi(n),D=Vn(n,`search`,``),O=Vn(n,`modelValue`,[],e=>E(e===null?[null]:b(e)),e=>{let t=ee(e);return n.multiple?t:t[0]??null}),le=N(()=>f(n.counterValue)?n.counterValue(O.value):i(n.counterValue)?n.counterValue:O.value.length),ue=Qi(n),{filteredItems:fe,getMatches:pe}=Sn(n,w,()=>C.value??(y.value?``:D.value)),he=N(()=>n.hideSelected&&C.value===null?fe.value.filter(e=>!O.value.some(t=>t.value===e.value)):fe.value),ge=Et(()=>n.closableChips&&!ue.isReadonly.value&&!ue.isDisabled.value),_e=v(`VChip`),ve=N(()=>!!(n.chips||a.chip)),ye=N(()=>ve.value||!!a.selection),be=N(()=>n.multiple||ye.value?``:String(O.value.at(-1)?.props.title??``)),xe=N(()=>O.value.map(e=>e.props.value)),Se=N(()=>he.value.find(e=>e.type===`item`&&!e.props.disabled)),Ce=N(()=>(n.autoSelectFirst===!0||n.autoSelectFirst===`exact`&&D.value===Se.value?.title)&&he.value.length>0&&!y.value&&!x.value),we=N(()=>n.hideNoData&&!he.value.length||ue.isReadonly.value||ue.isDisabled.value),{menu:Te,closeOnSelect:Ee}=Pn(n,{vMenuRef:d,menuDisabled:we,isFocused:_}),{menuId:De,ariaExpanded:Oe,ariaControls:ke}=Nn(n,Te),{listEvents:Ae,onActivatorKeydown:je,setPendingFocus:Me,flushPendingFocus:Ne}=Cn(p,u,g,he,{selectedIndex:()=>y.value?We():-1,headerEl:()=>m.value,menuContentEl:()=>d.value?.contentEl,noAutoScroll:()=>n.noAutoScroll}),Pe=On(Te,()=>d.value?.contentEl,()=>u.value?.controlRef),{onTabKeydown:Fe}=jn({groups:[{type:`element`,contentRef:m},{type:`list`,contentRef:p,displayItemsCount:()=>he.value.length},{type:`element`,contentRef:h}],onLeave:()=>{Te.value=!1,u.value?.focus()}});function Ie(e){n.openOnClear&&(Te.value=!0),D.value=``}function Re(){we.value||(Te.value=!n.closeOnInputClick||!Te.value)}function ze(e){we.value||_.value&&(e.preventDefault(),e.stopPropagation(),Te.value=!Te.value)}function Be(e){e.key===`Tab`&&Fe(e),p.value?.$el.contains(e.target)&&(re(e)||e.key===`Backspace`)&&u.value?.focus()}function Ve(e){if(!(T(e)||ue.isReadonly.value))switch(e.key){case`Escape`:Te.value=!1;break;case`ArrowDown`:case`ArrowUp`:if(e.preventDefault(),je(e,Te))break;e.key===`ArrowDown`&&Ce.value&&p.value?.focus(`next`);break;case`Enter`:e.preventDefault(),Te.value=!0,He();break;case`Tab`:He(),Te.value=!1;break;default:j(e)}}function He(){let e=Se.value;Ce.value&&e&&(O.value.some(({value:t})=>t===e.value)||nt(e))}function j(e){let t=O.value.length;if([`Backspace`,`Delete`].includes(e.key)){if(!n.multiple&&ye.value&&t>0&&!D.value){nt(O.value[0],!1);return}if(~S.value){e.preventDefault();let n=S.value;nt(O.value[S.value],!1),S.value=n>=t-1?t-2:n}else e.key===`Backspace`&&!D.value&&(S.value=t-1)}else if(n.multiple){if(e.key===`ArrowLeft`){if(S.value<0&&(u.value?.selectionStart??0)>0)return;let e=S.value>-1?S.value-1:t-1;if(O.value[e])S.value=e;else{let e=D.value?.length??null;S.value=-1,u.value?.setSelectionRange(e,e)}}else if(e.key===`ArrowRight`){if(S.value<0)return;let e=S.value+1;O.value[e]?S.value=e:(S.value=-1,u.value?.setSelectionRange(0,0))}else~S.value&&re(e)&&(S.value=-1)}}function Ue(t){e(t)&&te(t.target.value)}function We(){return he.value.findIndex(e=>O.value.some(t=>(n.valueComparator||Jn)(t.value,e.value)))}function Ge(){n.eager&&g.value?.calculateVisibleItems(),Ne()}function Ke(){_.value&&(d.value?.contentEl?._clickOutside?.lastMousedownWasOutside?_.value=!1:(y.value=!0,u.value?.focus())),C.value=null}function qe(e){_.value=!0,setTimeout(()=>{x.value=!0})}function Ye(e){if(x.value=!1,!u.value?.$el.contains(e.relatedTarget)){if(Pe(e))return;_.value=!1}}function Xe(e){if(e==null||e===``&&!n.multiple&&!ye.value){for(let e of O.value)r(`item:removed`,e);O.value=[]}}let Ze=0;function Qe(){Ze=performance.now()}function tt(e){let t=e.relatedTarget;((d.value?.contentEl)?.contains(t)||!t&&performance.now()-Ze<10)&&(_.value=!0)}function nt(e,t=!0){if(!e||e.props.disabled)return;let i=n.valueComparator||Jn;if(n.multiple){let a=O.value.findIndex(t=>i(t.value,e.value)),o=t??!~a;if(~a){let t=o?[...O.value,e]:[...O.value],[n]=t.splice(a,1);o||r(`item:removed`,n),O.value=t}else o&&(r(`item:added`,e),O.value=[...O.value,e]);n.clearOnSelect&&(D.value=``)}else{let n=t!==!1,a=O.value[0];n?(a&&!i(a.value,e.value)?(r(`item:removed`,a),r(`item:added`,e)):a||r(`item:added`,e),O.value=[e]):(a&&r(`item:removed`,a),O.value=[]),C.value=y.value?``:D.value??``,D.value=n&&!ye.value?e.title:``,xt(()=>{Ee(),y.value=!0})}}return A(_,(e,t)=>{if(e!==t){if(e)ne(),y.value=!0;else{if(!n.multiple&&D.value==null){for(let e of O.value)r(`item:removed`,e);O.value=[]}Te.value=!1,!y.value&&D.value&&(C.value=D.value),D.value=be.value,y.value=!0,S.value=-1}}}),A(be,e=>{_.value||(D.value=e)},{immediate:!0}),A(D,e=>{_.value&&(e&&(Te.value=!0),y.value=!e,Te.value&&xt(()=>{g.value?.scrollToIndex(0),p.value?.$el?.contains(s())&&u.value?.focus()}))}),A(Te,e=>{if(e||Me(null),!n.hideSelected&&e&&O.value.length&&y.value){let e=We();me&&!n.noAutoScroll&&window.requestAnimationFrame(()=>{e>=0&&g.value?.scrollToIndex(e,`center`)})}e&&(C.value=null)}),A(w,(e,t)=>{Te.value||_.value&&!t.length&&e.length&&(Te.value=!0)}),de(()=>{let e=!!(!n.hideNoData||he.value.length||a[`prepend-item`]||a[`append-item`]||a[`no-data`]),r=O.value.length>0,i=da.filterProps(n),s={search:D,filteredItems:fe.value};return k(da,et({ref:u},i,{form:n.autocomplete===`suppress`?``:void 0,name:n.autocomplete===`suppress`?n.name:void 0,modelValue:D.value,"onUpdate:modelValue":[e=>D.value=e,Xe],focused:_.value,"onUpdate:focused":e=>_.value=e,validationValue:O.externalValue,counterValue:le.value,dirty:r,onChange:Ue,class:[`v-autocomplete`,`v-autocomplete--${n.multiple?`multiple`:`single`}`,{"v-autocomplete--active-menu":Te.value,"v-autocomplete--chips":!!n.chips,"v-autocomplete--selection-slot":!!ye.value,"v-autocomplete--selecting-index":S.value>-1},n.class],style:n.style,readonly:ue.isReadonly.value,placeholder:r?void 0:n.placeholder,"onClick:clear":Ie,"onMousedown:control":Re,onKeydown:Ve,onBlur:tt,"aria-expanded":Oe.value,"aria-controls":ke.value}),{...a,default:({id:r})=>M(pt,null,[xe.value.map((e,t)=>M(`input`,{key:t,type:`hidden`,name:n.name,value:e,form:n.form},null)),k(fi,et({id:De.value,ref:d,modelValue:Te.value,"onUpdate:modelValue":e=>Te.value=e,activator:`parent`,captureFocus:!1,openOnArrow:!1,disabled:we.value,_disableKeys:!0,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,onAfterEnter:Ge,onAfterLeave:Ke},n.menuProps,{contentClass:[`v-autocomplete__content`,c.value,n.menuProps?.contentClass]}),{default:()=>[k(Tn,{onFocusin:qe,onKeydown:Be,onMousedown:Qe},{default:()=>[a[`menu-header`]&&M(`header`,{ref:m},[a[`menu-header`](s)]),e&&k($n,et({key:`autocomplete-list`,ref:p,class:`v-list--navigable`,filterable:!0,selected:xe.value,selectStrategy:n.multiple?`independent`:`single-independent`,onMousedown:e=>e.preventDefault(),onFocusout:Ye,tabindex:`-1`,selectable:!!he.value.length,"aria-live":`polite`,"aria-labelledby":`${r.value}-label`,"aria-multiselectable":n.multiple,color:n.itemColor??n.color},Ae,n.listProps),{default:()=>[a[`prepend-item`]?.(),!he.value.length&&!n.hideNoData&&(a[`no-data`]?.()??k(Xn,{key:`no-data`,title:o(n.noDataText)},null)),k(wn,{ref:g,renderless:!0,items:he.value,itemKey:`value`},{default:({item:e,index:r,itemRef:i})=>{let o=t(e.props),s=et(e.props,{ref:i,key:e.value,active:Ce.value&&e===Se.value?!0:void 0,onClick:()=>nt(e,null),"aria-posinset":r+1,"aria-setsize":he.value.length});return e.type===`divider`?a.divider?.({props:e.raw,index:r})??k(ra,et(e.props,{ref:i,key:`divider-${r}`}),null):e.type===`subheader`?a.subheader?.({props:e.raw,index:r})??k(Zn,et(e.props,{ref:i,key:`subheader-${r}`}),null):a.item?.({item:e.raw,internalItem:e,index:r,props:s})??k(Xn,et(s,{role:`option`}),{prepend:({isSelected:t})=>M(pt,null,[n.multiple&&!n.hideSelected?k(kn,{key:e.value,modelValue:t,ripple:!1,tabindex:`-1`,"aria-hidden":!0,onClick:e=>e.preventDefault()},null):void 0,o.prependAvatar&&k(Hi,{image:o.prependAvatar},null),o.prependIcon&&k(or,{icon:o.prependIcon},null)]),title:()=>y.value?e.title:k(Mn,{text:e.title,matches:pe(e)?.title,markClass:`v-autocomplete__mask`,matchAll:!0,ignoreCase:!0},null)})}}),a[`append-item`]?.()]}),a[`menu-footer`]&&M(`footer`,{ref:h},[a[`menu-footer`](s)])]})]}),O.value.map((e,t)=>{function r(t){t.stopPropagation(),t.preventDefault(),nt(e,!1)}let i=et(ea.filterProps(e.props),{"onClick:close":r,onKeydown(e){(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),r(e))},onMousedown(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0}),o=ve.value?!!a.chip:!!a.selection,s=o?l(ve.value?a.chip({item:e.raw,internalItem:e,index:t,props:i}):a.selection({item:e.raw,internalItem:e,index:t})):void 0;if(!o||s)return M(`div`,{key:e.value,class:Je([`v-autocomplete__selection`,t===S.value&&[`v-autocomplete__selection--selected`,ie.value]]),style:$e(t===S.value?oe.value:{})},[ve.value?a.chip?k(mi,{key:`chip-defaults`,defaults:{VChip:{closable:ge.value,size:_e.value?.size??`small`,text:e.title}}},{default:()=>[s]}):k(ea,et({key:`chip`,closable:ge.value,size:_e.value?.size??`small`,text:e.title,disabled:e.props.disabled},i),null):s??M(`span`,{class:`v-autocomplete__selection-text`},[e.title,n.multiple&&t<O.value.length-1&&M(`span`,{class:`v-autocomplete__selection-comma`},[Le(`,`)])])])})]),"append-inner":(...e)=>M(pt,null,[a[`append-inner`]?.(...e),n.menuIcon?k(or,{class:`v-autocomplete__menu-icon`,color:u.value?.fieldIconColor,icon:n.menuIcon,onMousedown:ze,onClick:ae,"aria-hidden":!0,tabindex:`-1`},null):void 0,n.appendInnerIcon&&k(se,{key:`append-icon`,name:`appendInner`,color:e[0].iconColor.value},null)])})}),Zi({isFocused:_,isPristine:y,menu:Te,search:D,filteredItems:fe,select:nt},u)}});function JO(e){let t=e.slice(-2).toUpperCase();switch(!0){case e===`GB-alt-variant`:return{firstDay:0,firstWeekSize:4};case e===`001`:return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
97
+ KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
98
+ VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
99
+ MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
100
+ IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case`AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY`.includes(t):return{firstDay:6,firstWeekSize:1};case t===`MV`:return{firstDay:5,firstWeekSize:1};case t===`PT`:return{firstDay:0,firstWeekSize:4};default:return null}}function YO(e,t){function n(t){return new Date(Date.UTC(e.getYear(t),e.getMonth(t),e.getDate(t)))}function r(e){return n(e).getUTCDay()}function i(){let n=u(e.locale)?e.locale:e.locale?.code;try{return n&&(t[n]??new Intl.Locale(n).maximize().toString())}catch{c(`Invalid locale "${n}", expected BCP 47 tag`);return}}let o=(r(e.startOfWeek(e.date()))+1)%7;if(r(e.startOfWeek(e.date(),o))===o)return e;function s(t,n){if(m(n))return e.startOfWeek(t);let i=Number(n)%7;[0,1,2,3,4,5,6].includes(i)||(c(`Invalid firstDayOfWeek, expected discrete number in range [0-6]`),i=0);let a=(r(t)-i+7)%7;return e.addDays(e.startOfDay(t),-a)}function l(t,n){if(m(n))return e.getWeekArray(t);let r=e.endOfMonth(t),i=[],o=s(e.startOfMonth(t),n);for(;e.isBefore(o,r);){let t=o;i.push(a(7).map(n=>e.addDays(t,n))),o=e.addDays(o,7)}return i}function d(t,o){let c=s(e.date(),t),l=a(7).map(t=>e.addDays(c,t));switch(o){case`long`:return l.map(t=>e.format(t,`weekday`));case`short`:return l.map(t=>e.format(t,`weekdayShort`));case`narrow`:{let e=new Intl.DateTimeFormat(i(),{weekday:`narrow`,timeZone:`UTC`});return l.map(t=>e.format(n(t)))}}let u=e.getWeekdays(),d=(r(c)-r(e.startOfWeek(e.date()))+7)%7;return[...u.slice(d),...u.slice(0,d)]}function f(t,a,o){if(m(a)&&m(o))return e.getWeek(t);let c=s(t,a),l=i(),u=m(o)?l&&JO(l)?.firstWeekSize||1:7-(Number(o)-r(c)+7)%7,d=n(e.addDays(c,7-u)),f=d.getUTCFullYear(),p=(d.getTime()-Date.UTC(f,0,1))/864e5;return Math.floor(p/7)+1}let p=new Map([[`startOfWeek`,s],[`getWeekArray`,l],[`getWeekdays`,d],[`getWeek`,f]]);return new Proxy(e,{get:(e,t,n)=>p.get(t)??Reflect.get(e,t,n)})}function XO(e,t,n){let r=[],i=[],a=$O(e),o=ek(e),s=n??JO(t)?.firstDay??0,c=(a.getDay()-s+7)%7,l=(o.getDay()-s+7)%7;for(let e=0;e<c;e++){let t=new Date(a);t.setDate(t.getDate()-(c-e)),i.push(t)}for(let t=1;t<=o.getDate();t++){let n=new Date(e.getFullYear(),e.getMonth(),t);i.push(n),i.length===7&&(r.push(i),i=[])}for(let e=1;e<7-l;e++){let t=new Date(o);t.setDate(t.getDate()+e),i.push(t)}return i.length>0&&r.push(i),r}function ZO(e,t,n){let r=(n??JO(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(r)||(c(`Invalid firstDayOfWeek, expected discrete number in range [0-6]`),r=0);let i=new Date(e);for(;i.getDay()!==r;)i.setDate(i.getDate()-1);return i}function QO(e,t){let n=new Date(e),r=((JO(t)?.firstDay??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function $O(e){return new Date(e.getFullYear(),e.getMonth(),1)}function ek(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function tk(e){let t=e.split(`-`).map(Number);return new Date(t[0],t[1]-1,t[2])}var nk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function rk(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e==`string`){let t;if(nk.test(e))return tk(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}var ik=new Date(2e3,0,2);function ak(e,t,n){let r=t??JO(e)?.firstDay??0;return a(7).map(t=>{let i=new Date(ik);return i.setDate(ik.getDate()+r+t),new Intl.DateTimeFormat(e,{weekday:n??`narrow`}).format(i)})}function ok(e,t,n,r){let i=rk(e)??new Date,a=r?.[t];if(typeof a==`function`)return a(i,t,n);let o={};switch(t){case`fullDate`:o={year:`numeric`,month:`short`,day:`numeric`};break;case`fullDateWithWeekday`:o={weekday:`long`,year:`numeric`,month:`long`,day:`numeric`};break;case`normalDate`:return`${i.getDate()} ${new Intl.DateTimeFormat(n,{month:`long`}).format(i)}`;case`normalDateWithWeekday`:o={weekday:`short`,day:`numeric`,month:`short`};break;case`shortDate`:o={month:`short`,day:`numeric`};break;case`year`:o={year:`numeric`};break;case`month`:o={month:`long`};break;case`monthShort`:o={month:`short`};break;case`monthAndYear`:o={month:`long`,year:`numeric`};break;case`monthAndDate`:o={month:`long`,day:`numeric`};break;case`weekday`:o={weekday:`long`};break;case`weekdayShort`:o={weekday:`short`};break;case`dayOfMonth`:return new Intl.NumberFormat(n).format(i.getDate());case`hours12h`:o={hour:`numeric`,hour12:!0};break;case`hours24h`:o={hour:`numeric`,hour12:!1};break;case`minutes`:o={minute:`numeric`};break;case`seconds`:o={second:`numeric`};break;case`fullTime`:o={hour:`numeric`,minute:`numeric`};break;case`fullTime12h`:o={hour:`numeric`,minute:`numeric`,hour12:!0};break;case`fullTime24h`:o={hour:`numeric`,minute:`numeric`,hour12:!1};break;case`fullDateTime`:o={year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`numeric`};break;case`fullDateTime12h`:o={year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`numeric`,hour12:!0};break;case`fullDateTime24h`:o={year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`numeric`,hour12:!1};break;case`keyboardDate`:o={year:`numeric`,month:`2-digit`,day:`2-digit`};break;case`keyboardDateTime`:return o={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`numeric`,minute:`numeric`},new Intl.DateTimeFormat(n,o).format(i).replace(/, /g,` `);case`keyboardDateTime12h`:return o={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`numeric`,minute:`numeric`,hour12:!0},new Intl.DateTimeFormat(n,o).format(i).replace(/, /g,` `);case`keyboardDateTime24h`:return o={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`numeric`,minute:`numeric`,hour12:!1},new Intl.DateTimeFormat(n,o).format(i).replace(/, /g,` `);default:o=a??{timeZone:`UTC`,timeZoneName:`short`}}return new Intl.DateTimeFormat(n,o).format(i)}function sk(e,t){let n=e.toJsDate(t);return`${n.getFullYear()}-${O(String(n.getMonth()+1),2,`0`)}-${O(String(n.getDate()),2,`0`)}`}function ck(e){let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r)}function lk(e,t){let n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function uk(e,t){let n=new Date(e);return n.setHours(n.getHours()+t),n}function dk(e,t){let n=new Date(e);return n.setDate(n.getDate()+t),n}function fk(e,t){let n=new Date(e);return n.setDate(n.getDate()+t*7),n}function pk(e,t){let n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function mk(e){return e.getFullYear()}function hk(e){return e.getMonth()}function gk(e,t,n,r){let i=JO(t),a=n??i?.firstDay??0,o=i?.firstWeekSize??1;return r===void 0?vk(e,t,a,o):_k(e,t,a,r)}function _k(e,t,n,r){let i=(7+r-n)%7,a=ZO(e,t,n),o=dk(a,6);function s(e){return(7+new Date(e,0,1).getDay()-n)%7}let c=mk(a);c<mk(o)&&s(c+1)<=i&&c++;let l=new Date(c,0,1),u=s(c),d=u<=i?dk(l,-u):dk(l,7-u);return 1+Fk(Hk(a),Vk(d),`weeks`)}function vk(e,t,n,r){let i=ZO(e,t,n),a=dk(ZO(e,t,n),6);function o(e){let r=new Date(e,0,1);return 7-Fk(r,ZO(r,t,n),`days`)}let s=mk(i);s<mk(a)&&o(s+1)>=r&&s++;let c=new Date(s,0,1),l=o(s),u=l>=r?dk(c,l-7):dk(c,l);return 1+Fk(Hk(i),Vk(u),`weeks`)}function yk(e){return e.getDate()}function bk(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function xk(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function Sk(e){return e.getHours()}function Ck(e){return e.getMinutes()}function wk(e){return new Date(e.getFullYear(),0,1)}function Tk(e){return new Date(e.getFullYear(),11,31)}function Ek(e,t){return jk(e,t[0])||jk(e,t[1])||Ok(e,t[0])&&Ak(e,t[1])}function Dk(e){let t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Ok(e,t){return e.getTime()>t.getTime()}function kk(e,t){return Ok(Vk(e),Vk(t))}function Ak(e,t){return e.getTime()<t.getTime()}function jk(e,t){return e.getTime()===t.getTime()}function Mk(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function Nk(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function Pk(e,t){return e.getFullYear()===t.getFullYear()}function Fk(e,t,n){let r=new Date(e),i=new Date(t);switch(n){case`years`:return r.getFullYear()-i.getFullYear();case`quarters`:return Math.floor((r.getMonth()-i.getMonth()+(r.getFullYear()-i.getFullYear())*12)/4);case`months`:return r.getMonth()-i.getMonth()+(r.getFullYear()-i.getFullYear())*12;case`weeks`:return Math.floor((r.getTime()-i.getTime())/6048e5);case`days`:return Math.floor((r.getTime()-i.getTime())/864e5);case`hours`:return Math.floor((r.getTime()-i.getTime())/36e5);case`minutes`:return Math.floor((r.getTime()-i.getTime())/6e4);case`seconds`:return Math.floor((r.getTime()-i.getTime())/1e3);default:return r.getTime()-i.getTime()}}function Ik(e,t){let n=new Date(e);return n.setHours(t),n}function Lk(e,t){let n=new Date(e);return n.setMinutes(t),n}function Rk(e,t){let n=new Date(e);return n.setMonth(t),n}function zk(e,t){let n=new Date(e);return n.setDate(t),n}function Bk(e,t){let n=new Date(e);return n.setFullYear(t),n}function Vk(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function Hk(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}var Uk=class{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return rk(e)}toJsDate(e){return e}toISO(e){return sk(this,e)}parseISO(e){return ck(e)}addMinutes(e,t){return lk(e,t)}addHours(e,t){return uk(e,t)}addDays(e,t){return dk(e,t)}addWeeks(e,t){return fk(e,t)}addMonths(e,t){return pk(e,t)}getWeekArray(e,t){let n=t===void 0?void 0:Number(t);return XO(e,this.locale,n)}startOfWeek(e,t){let n=t===void 0?void 0:Number(t);return ZO(e,this.locale,n)}endOfWeek(e){return QO(e,this.locale)}startOfMonth(e){return $O(e)}endOfMonth(e){return ek(e)}format(e,t){return ok(e,t,this.locale,this.formats)}isEqual(e,t){return jk(e,t)}isValid(e){return Dk(e)}isWithinRange(e,t){return Ek(e,t)}isAfter(e,t){return Ok(e,t)}isAfterDay(e,t){return kk(e,t)}isBefore(e,t){return!Ok(e,t)&&!jk(e,t)}isSameDay(e,t){return Mk(e,t)}isSameMonth(e,t){return Nk(e,t)}isSameYear(e,t){return Pk(e,t)}setMinutes(e,t){return Lk(e,t)}setHours(e,t){return Ik(e,t)}setMonth(e,t){return Rk(e,t)}setDate(e,t){return zk(e,t)}setYear(e,t){return Bk(e,t)}getDiff(e,t,n){return Fk(e,t,n)}getWeekdays(e,t){let n=e===void 0?void 0:Number(e);return ak(this.locale,n,t)}getYear(e){return mk(e)}getMonth(e){return hk(e)}getWeek(e,t,n){let r=t===void 0?void 0:Number(t),i=n===void 0?void 0:Number(n);return gk(e,this.locale,r,i)}getDate(e){return yk(e)}getNextMonth(e){return bk(e)}getPreviousMonth(e){return xk(e)}getHours(e){return Sk(e)}getMinutes(e){return Ck(e)}startOfDay(e){return Vk(e)}endOfDay(e){return Hk(e)}startOfYear(e){return wk(e)}endOfYear(e){return Tk(e)}},Wk=Symbol.for(`vuetify:date-options`),Gk=Symbol.for(`vuetify:date-adapter`),Kk={af:`af-ZA`,ar:`ar-DZ`,bg:`bg-BG`,ca:`ca-ES`,ckb:`ckb-IQ`,cs:`cs-CZ`,da:`da-DK`,de:`de-DE`,el:`el-GR`,en:`en-US`,et:`et-EE`,fa:`fa-IR`,fi:`fi-FI`,hr:`hr-HR`,hu:`hu-HU`,he:`he-IL`,id:`id-ID`,it:`it-IT`,ja:`ja-JP`,km:`km-KH`,ko:`ko-KR`,lv:`lv-LV`,lt:`lt-LT`,nl:`nl-NL`,no:`no-NO`,pl:`pl-PL`,pt:`pt-PT`,ro:`ro-RO`,ru:`ru-RU`,sk:`sk-SK`,sl:`sl-SI`,srCyrl:`sr-Cyrl-RS`,srLatn:`sr-Latn-RS`,sv:`sv-SE`,th:`th-TH`,tr:`tr-TR`,az:`az-AZ`,uk:`uk-UA`,vi:`vi-VN`,zhHans:`zh-CN`,zhHant:`zh-TW`};function qk(e,t){let n=S({adapter:Uk,locale:Kk},e);return{options:n,instance:Jk(n,t)}}function Jk(e,t){let n=rt(f(e.adapter)?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return A(t.current,t=>{n.locale=e.locale[t]??t??n.locale}),YO(n,Kk)}var Yk=h({...pe(),...ne()},`VCardActions`),Xk=D()({name:`VCardActions`,props:Yk(),setup(e,{slots:t}){return fe({VBtn:{slim:!0,variant:`text`}}),de(()=>k(e.tag,{class:Je([`v-card-actions`,e.class]),style:$e(e.style)},t)),{}}}),Zk=h({opacity:[Number,String],...pe(),...ne()},`VCardSubtitle`),Qk=D()({name:`VCardSubtitle`,props:Zk(),setup(e,{slots:t}){return de(()=>k(e.tag,{class:Je([`v-card-subtitle`,e.class]),style:$e([{"--v-card-subtitle-opacity":e.opacity},e.style])},t)),{}}}),$k=qn(`v-card-title`),eA=h({appendAvatar:String,appendIcon:er,prependAvatar:String,prependIcon:er,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...pe(),...hi(),...ne()},`VCardItem`),tA=D()({name:`VCardItem`,props:eA(),setup(e,{slots:t}){return de(()=>{let n=!!(e.prependAvatar||e.prependIcon),r=!!(n||t.prepend),i=!!(e.appendAvatar||e.appendIcon),a=!!(i||t.append),o=!!(e.title!=null||t.title),s=!!(e.subtitle!=null||t.subtitle);return k(e.tag,{class:Je([`v-card-item`,e.class]),style:$e(e.style)},{default:()=>[r&&M(`div`,{key:`prepend`,class:`v-card-item__prepend`},[t.prepend?k(mi,{key:`prepend-defaults`,disabled:!n,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},t.prepend):M(pt,null,[e.prependAvatar&&k(Hi,{key:`prepend-avatar`,density:e.density,image:e.prependAvatar},null),e.prependIcon&&k(or,{key:`prepend-icon`,density:e.density,icon:e.prependIcon},null)])]),M(`div`,{class:`v-card-item__content`},[o&&k($k,{key:`title`},{default:()=>[t.title?.()??bt(e.title)]}),s&&k(Qk,{key:`subtitle`},{default:()=>[t.subtitle?.()??bt(e.subtitle)]}),t.default?.()]),a&&M(`div`,{key:`append`,class:`v-card-item__append`},[t.append?k(mi,{key:`append-defaults`,disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},t.append):M(pt,null,[e.appendIcon&&k(or,{key:`append-icon`,density:e.density,icon:e.appendIcon},null),e.appendAvatar&&k(Hi,{key:`append-avatar`,density:e.density,image:e.appendAvatar},null)])])]})}),{}}}),nA=h({opacity:[Number,String],...pe(),...ne()},`VCardText`),rA=D()({name:`VCardText`,props:nA(),setup(e,{slots:t}){return de(()=>k(e.tag,{class:Je([`v-card-text`,e.class]),style:$e([{"--v-card-text-opacity":e.opacity},e.style])},t)),{}}}),iA=h({appendAvatar:String,appendIcon:er,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:er,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...Ci(),...pe(),...hi(),...vi(),...ki(),...Li(),...Hn(),...Vi(),...xn(),...Ni(),...ne(),...le(),...wi({variant:`elevated`})},`VCard`),aA=D()({name:`VCard`,directives:{vRipple:Yn},props:iA(),setup(e,{attrs:t,slots:r}){let{themeClasses:i}=x(e),{borderClasses:a}=Si(e),{colorClasses:o,colorStyles:s,variantClasses:c}=Ti(e),{densityClasses:l}=pi(e),{dimensionStyles:d}=_i(e),{elevationClasses:f}=Pi(e),{loaderClasses:m}=Ri(e),{locationStyles:h}=zn(e),{positionClasses:g}=Bi(e),{roundedClasses:_,roundedStyles:v}=bn(e),y=ji(e,t),b=P(void 0);return A(()=>e.loading,(e,t)=>{b.value=!e&&u(t)?t:n(e)?void 0:e},{immediate:!0}),de(()=>{let t=e.link!==!1&&y.isLink.value,n=!e.disabled&&e.link!==!1&&(e.link||y.isClickable.value),u=t?`a`:e.tag,x=!!(r.title||e.title!=null),S=!!(r.subtitle||e.subtitle!=null),C=x||S,w=!!(r.append||e.appendAvatar||e.appendIcon),T=!!(r.prepend||e.prependAvatar||e.prependIcon),E=!!(r.image||e.image),ee=C||T||w,te=!!(r.text||e.text!=null);return Ke(k(u,et(y.linkProps,{class:[`v-card`,{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":n},i.value,a.value,o.value,l.value,f.value,m.value,g.value,_.value,c.value,e.class],style:[s.value,d.value,h.value,{"--v-card-height":p(e.height)},v.value,e.style],onClick:n&&y.navigate.value,tabindex:e.disabled?-1:void 0}),{default:()=>[E&&M(`div`,{key:`image`,class:`v-card__image`},[r.image?k(mi,{key:`image-defaults`,disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):k(gi,{key:`image-img`,cover:!0,src:e.image},null)]),k(zi,{name:`v-card`,active:!!e.loading,color:b.value},{default:r.loader}),ee&&k(tA,{key:`item`,prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),te&&k(rA,{key:`text`},{default:()=>[r.text?.()??e.text]}),r.default?.(),r.actions&&k(Xk,null,{default:r.actions}),Ei(n,`v-card`)]}),[[Yn,n&&e.ripple]])}),{}}}),oA=h({gridlines:{type:[Boolean,String],default:`horizontal`,validator:e=>n(e)||[`horizontal`,`vertical`,`all`].includes(e)},fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,striped:{type:String,default:null,validator:e=>[`even`,`odd`].includes(e)},...pe(),...hi(),...ne(),...le()},`VTable`),sA=D()({name:`VTable`,inheritAttrs:!1,props:oA(),setup(e,{attrs:t,slots:n,emit:r}){let{themeClasses:i}=x(e),{densityClasses:a}=pi(e),o=N(()=>e.gridlines===!1?`none`:e.gridlines===!0?`all`:e.gridlines);return de(()=>{let[r,s]=te(t,[/^aria-label/]);return k(e.tag,et(s,{class:[`v-table`,`v-table--gridlines-${o.value}`,{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover,"v-table--striped-even":e.striped===`even`,"v-table--striped-odd":e.striped===`odd`},i.value,a.value,e.class],style:e.style}),{default:()=>[n.top?.(),n.default?M(`div`,{class:`v-table__wrapper`,style:{height:p(e.height)}},[M(`table`,Pe(At(r)),[n.caption?.(),n.default()])]):n.wrapper?.(),n.bottom?.()]})}),{}}}),cA={default:1/2,comfortable:2/3,compact:6/7},lA=h({name:String,itemAriaLabel:{type:String,default:`$vuetify.rating.ariaLabel.item`},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:er,default:`$ratingEmpty`},fullIcon:{type:er,default:`$ratingFull`},halfIncrements:Boolean,hover:Boolean,iconSize:[Number,String],length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:`top`,validator:e=>[`top`,`bottom`].includes(e)},ripple:Boolean,...pe(),...hi(),...nr(),...ne(),...le()},`VRating`),uA=D()({name:`VRating`,props:lA(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){let{t:n}=Ln(),{themeClasses:r}=x(e),{sizeStyles:i}=ir(e);fe({VIcon:{size:Et(()=>e.iconSize??(i.value&&`calc(${i.value.height} * ${cA[e.density??`default`]})`))}});let o=wt(),s=Vn(e,`modelValue`),c=N(()=>d(parseFloat(s.value),0,Number(e.length))),l=N(()=>a(Number(e.length),1)),u=N(()=>l.value.flatMap(t=>e.halfIncrements?[t-.5,t]:[t])),f=P(-1),p=N(()=>u.value.map(t=>{let n=e.hover&&f.value>-1,r=c.value>=t,i=f.value>=t,a=(n?i:r)?e.fullIcon:e.emptyIcon,o=e.activeColor??e.color;return{isFilled:r,isHovered:i,icon:a,color:r||i?o:e.color,activeColor:o}})),m=N(()=>[0,...u.value].map(t=>{function n(){f.value=t}function r(){f.value=-1}function i(){e.disabled||e.readonly||(s.value=c.value===t&&e.clearable?0:t)}return{onMouseenter:e.hover?n:void 0,onMouseleave:e.hover?r:void 0,onClick:i}})),h=N(()=>e.halfIncrements?1+Math.floor(Math.max(0,Number(s.value??0)-.5))*2:Math.floor(Math.max(0,Number(s.value??0)-1)));function g(){(o.value?.querySelector(`[tabindex="0"]`))?.focus()}function _(t){if(e.disabled||e.readonly||t.ctrlKey||t.altKey)return;let n=e.halfIncrements?.5:1;if(t.key===`ArrowRight`){let t=Math.min(Number(e.length),Number(s.value??0)+n);s.value=t,xt(()=>g())}if(t.key===`ArrowLeft`){let e=Math.max(0,Number(s.value??0)-n);s.value=e,xt(()=>g())}}let v=Ue(),y=N(()=>e.name??`v-rating-${v}`);function b({value:r,index:i,showStar:a=!0}){let{onMouseenter:o,onMouseleave:s,onClick:l}=m.value[i+1],u=`${y.value}-${String(r).replace(`.`,`-`)}`,d=i===h.value,f={color:p.value[i]?.color,density:e.density,disabled:e.disabled,icon:p.value[i]?.icon,ripple:e.ripple,size:e.size,variant:`plain`,tabindex:d?0:-1,onKeydown:_};return M(pt,null,[M(`label`,{for:u,class:Je({"v-rating__item--half":e.halfIncrements&&r%1>0,"v-rating__item--full":e.halfIncrements&&r%1==0}),onMouseenter:o,onMouseleave:s,onClick:l},[M(`span`,{class:`v-rating__hidden`},[n(e.itemAriaLabel,r,e.length)]),a?t.item?t.item({...p.value[i],props:f,value:r,index:i,rating:c.value}):k(PO,et({"aria-label":n(e.itemAriaLabel,r,e.length)},f),null):void 0]),M(`input`,{class:`v-rating__hidden`,name:y.value,id:u,type:`radio`,value:r,checked:c.value===r,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function S(e){return t[`item-label`]?t[`item-label`](e):e.label?M(`span`,null,[e.label]):M(`span`,null,[Le(`\xA0`)])}return de(()=>{let n=!!e.itemLabels?.length||t[`item-label`];return k(e.tag,{class:Je([`v-rating`,{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},r.value,e.class]),style:$e(e.style),ref:o},{default:()=>[k(b,{value:0,index:-1,showStar:!1},null),l.value.map((t,r)=>M(`div`,{class:`v-rating__wrapper`},[n&&e.itemLabelPosition===`top`?S({value:t,index:r,label:e.itemLabels?.[r]}):void 0,M(`div`,{class:`v-rating__item`},[e.halfIncrements?M(pt,null,[k(b,{value:t-.5,index:r*2},null),k(b,{value:t,index:r*2+1},null)]):k(b,{value:t,index:r},null)]),n&&e.itemLabelPosition===`bottom`?S({value:t,index:r,label:e.itemLabels?.[r]}):void 0]))]})}),{}}}),dA=h({inset:{type:[Boolean,String],default:!1},flat:Boolean,thumbColor:String,loading:{type:[Boolean,String],default:!1},...w(Ki(),[`glow`]),...Ui(),...nr()},`VSwitch`),fA=[`x-small`,`small`,`default`,`large`,`x-large`],pA={"x-small":11,small:14,default:16,large:18,"x-large":22},mA=D()({name:`VSwitch`,inheritAttrs:!1,props:dA(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,{attrs:t,slots:n}){let r=Vn(e,`indeterminate`),i=Vn(e,`modelValue`),{loaderClasses:a}=Ri(e),{isFocused:o,focus:s,blur:c}=qi(e),{backgroundColorClasses:l,backgroundColorStyles:d}=ue(()=>e.thumbColor),f=P(),p=P(),m=g&&window.matchMedia(`(forced-colors: active)`).matches,h=Et(()=>u(e.loading)&&e.loading!==``?e.loading:e.color),v=Ue(),y=Et(()=>e.id||`switch-${v}`),b=Et(()=>fA.includes(e.size)),x=Et(()=>b.value?pA[e.size]:Math.round(16*Number(e.size)/32));function S(){r.value&&=!1}function C(e){e.stopPropagation(),e.preventDefault(),f.value?.input?.click()}return de(()=>{let[u,g]=_(t),v=Xi.filterProps(e),w=Wi.filterProps(e),T=[`material`,`square`].includes(String(e.inset)),E=!m&&!!e.thumbColor;return k(Xi,et({ref:p,class:[`v-switch`,{"v-switch--flat":e.flat},{"v-switch--inset":!!e.inset},{"v-switch--inset-material":T},{"v-switch--inset-square":e.inset===`square`},{"v-switch--indeterminate":r.value},b.value?`v-switch--size-${e.size}`:void 0,a.value,e.class]},u,v,{modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,id:y.value,focused:o.value,style:[{"--v-switch-scale":b.value?void 0:Number(e.size)/32},e.style]}),{...n,default:({id:t,messagesId:a,isDisabled:o,isReadonly:u,isValid:p})=>{let _={model:i,isValid:p};return k(Wi,et({ref:f},w,{modelValue:i.value,"onUpdate:modelValue":[e=>i.value=e,S],id:t.value,"aria-describedby":a.value,type:`checkbox`,indeterminate:r.value,disabled:o.value,readonly:u.value,onFocus:s,onBlur:c},g),{...n,default:({backgroundColorClasses:e,backgroundColorStyles:t})=>M(`div`,{class:Je([`v-switch__track`,m?void 0:e.value]),style:$e(t.value),onClick:C},[n[`track-true`]&&M(`div`,{key:`prepend`,class:`v-switch__track-true`},[n[`track-true`](_)]),n[`track-false`]&&M(`div`,{key:`append`,class:`v-switch__track-false`},[n[`track-false`](_)])]),input:({inputNode:t,icon:r,model:i,backgroundColorClasses:a,backgroundColorStyles:o,textColorClasses:s,textColorStyles:c})=>M(pt,null,[t,M(`div`,{class:Je([`v-switch__thumb`,{"v-switch__thumb--filled":r||e.loading},m?void 0:E&&i.value?l.value:T?a.value:e.inset?void 0:a.value]),style:$e([E&&i.value?d.value:T?a.value.length||o.value.backgroundColor?{backgroundColor:`currentColor`}:void 0:e.inset?void 0:o.value])},[n.thumb?k(mi,{defaults:{VIcon:{icon:r,size:T?x.value:`x-small`}}},{default:()=>[n.thumb({..._,icon:r})]}):k(ui,null,{default:()=>[e.loading?k(zi,{name:`v-switch`,active:!0,color:p.value===!1?void 0:h.value},{default:e=>n.loader?n.loader(e):k(Fi,{active:e.isActive,color:e.color,indeterminate:!0,size:x.value,width:`2`},null)}):r&&k(or,{key:String(r),class:Je(T?s.value:void 0),style:$e(T?c.value:void 0),icon:r,size:T?x.value:`x-small`},null)]})])])})}})}),Zi({isFocused:o},f,p)}}),hA=h({autoGrow:Boolean,autofocus:Boolean,counter:{type:[Boolean,Number,String],default:void 0},counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxHeight:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...oa(),...w(Ki(),[`direction`]),...ia()},`VTextarea`),gA=D()({name:`VTextarea`,directives:{vIntersect:xi},inheritAttrs:!1,props:hA(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0,"update:rows":e=>!0},setup(e,{attrs:t,emit:n,slots:a}){let o=Vn(e,`modelValue`),{isFocused:c,focus:l,blur:m}=qi(e),{onIntersect:h}=la(e),g=N(()=>f(e.counterValue)?e.counterValue(o.value):(o.value||``).toString().length),v=N(()=>{if(t.maxlength)return t.maxlength;if(e.counter&&(i(e.counter)||u(e.counter)))return e.counter}),y=wt(),b=wt(),x=P(``),S=wt(),C=wt(0),{platform:w}=Un(),T=ca(e),E=N(()=>e.persistentPlaceholder||c.value||e.active);function ee(){T.isSuppressing.value&&T.update(),S.value!==s()&&S.value?.focus(),c.value||l()}function te(e){ee(),n(`click:control`,e)}function ne(e){n(`mousedown:control`,e)}function re(t){t.stopPropagation(),ee(),xt(()=>{o.value=``,ie(e[`onClick:clear`],t)})}function ae(t){let n=t.target;if(!e.modelModifiers?.trim){o.value=n.value;return}let r=n.value,i=n.selectionStart,a=n.selectionEnd;o.value=r,xt(()=>{let e=0;r.trimStart().length===n.value.length&&(e=r.length-n.value.length),i!=null&&(n.selectionStart=i-e),a!=null&&(n.selectionEnd=a-e)})}let oe=wt(),se=P(!1),D=P(),O=P(),ce=P(!1),le=wt(Number(e.rows)),ue=N(()=>[`plain`,`underlined`].includes(e.variant));Ge(()=>{e.autoGrow||(le.value=Number(e.rows))});function fe(){xt(()=>{if(!S.value)return;if(w.value.firefox){C.value=12;return}let{offsetWidth:e,clientWidth:t}=S.value;C.value=Math.max(0,e-t)}),e.autoGrow&&xt(()=>{let t=se.value?S.value:oe.value;if(!t||!b.value)return;let{padding:n,lineHeight:r}=me(t),i=getComputedStyle(b.value.$el),a=Math.max(parseFloat(e.rows)*r+n,parseFloat(i.getPropertyValue(`--v-input-control-height`))),o=e.maxHeight?parseFloat(e.maxHeight):parseFloat(e.maxRows)*r+n||1/0;if(se.value){D.value=p(a),O.value=Number.isFinite(o)?p(o):void 0,ce.value=Number.isFinite(o)&&pe(t)>o;return}let s=t.scrollHeight;ce.value=s>o;let c=d(s,a,o);le.value=Math.floor((c-n)/r),x.value=p(c)})}function pe(e){let t=e.style.overflowY;e.style.overflowY=`hidden`;let n=e.scrollHeight;return e.style.overflowY=t,n}function me(e){let t=getComputedStyle(e);return{padding:parseFloat(t.getPropertyValue(`--v-field-padding-top`))+parseFloat(t.getPropertyValue(`--v-input-padding-top`))+parseFloat(t.getPropertyValue(`--v-field-padding-bottom`)),lineHeight:parseFloat(t.lineHeight)}}function he(){if(!S.value)return;let e=S.value.offsetHeight,{padding:t,lineHeight:n}=me(S.value);le.value=Math.floor((e-t)/n),x.value=p(e)}Ze(()=>{se.value=r,fe()}),A(o,fe),A(()=>e.rows,fe),A(()=>e.maxHeight,fe),A(()=>e.maxRows,fe),A(()=>e.density,fe),A(ce,fe),A(le,e=>{n(`update:rows`,e)});let ge;return A(oe,e=>{e?(ge=new ResizeObserver(fe),ge.observe(oe.value)):ge?.disconnect()}),st(()=>{ge?.disconnect()}),A([S,()=>se.value&&e.autoGrow],([e,t],n,r)=>{if(!e||!t)return;let i=new ResizeObserver(he);i.observe(e),r(()=>i.disconnect())}),de(()=>{let n=!!(a.counter||e.counter!==void 0||e.counterValue!=null),r=e.counter!==!1&&e.counter!==null&&(e.persistentCounter||c.value),i=e.hideDetails!==!0&&!!(a.details||n),s=!!(a.details||n&&r),[l,u]=_(t),{modelValue:d,...f}=Xi.filterProps(e),w={...aa.filterProps(e),"onClick:clear":re};return k(Xi,et({ref:y,modelValue:o.value,"onUpdate:modelValue":e=>o.value=e,class:[`v-textarea v-text-field`,{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--capped":e.autoGrow&&ce.value,"v-textarea--field-sizing":e.autoGrow&&se.value,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":ue.value},e.class],style:[{"--v-textarea-min-height":D.value,"--v-textarea-max-height":e.autoGrow&&se.value?O.value:e.maxHeight?p(e.maxHeight):void 0,"--v-textarea-scroll-bar-width":p(C.value)},e.style]},l,f,{centerAffix:le.value===1&&!ue.value,focused:c.value,detailsActive:s,indentDetails:e.indentDetails??!ue.value}),{...a,default:({id:t,isDisabled:n,isDirty:r,isReadonly:i,isValid:s,hasDetails:l})=>k(aa,et({ref:b,style:{"--v-textarea-control-height":x.value},onClick:te,onMousedown:ne,"onClick:prependInner":e[`onClick:prependInner`],"onClick:appendInner":e[`onClick:appendInner`]},w,{id:t.value,active:E.value||r.value,labelId:`${t.value}-label`,centerAffix:le.value===1&&!ue.value,dirty:r.value||e.dirty,disabled:n.value,focused:c.value,details:l.value,error:s.value===!1}),{...a,default:({props:{class:r,...a},controlRef:s})=>M(pt,null,[e.prefix&&M(`span`,{class:`v-text-field__prefix`},[e.prefix]),Ke(M(`textarea`,et({ref:e=>S.value=s.value=e,class:r,value:o.value,onInput:ae,autofocus:e.autofocus,readonly:i.value,disabled:n.value,placeholder:e.placeholder,rows:e.rows,name:T.fieldName.value,autocomplete:T.fieldAutocomplete.value,onFocus:ee,onBlur:m,"aria-labelledby":`${t.value}-label`},a,u),null),[[xi,{handler:h},null,{once:!0}]]),e.autoGrow&&!se.value&&Ke(M(`textarea`,{class:Je([r,`v-textarea__sizer`]),id:`${a.id}-sizer`,"onUpdate:modelValue":e=>o.value=e,ref:oe,readonly:!0,"aria-hidden":`true`},null),[[Nt,o.value]]),e.suffix&&M(`span`,{class:`v-text-field__suffix`},[e.suffix])])}),details:i?t=>M(pt,null,[a.details?.(t),n&&M(pt,null,[M(`span`,null,null),k(sa,{active:r,value:g.value,max:v.value,disabled:e.disabled},a.counter)])]):void 0})}),Zi({},y,b,S)}}),_A=we(()=>{let e=rm(),t=ke().$vectorI18n,n=pm(),r=vn(),i=ii(),a=ye(),s={version:1,vue:o,vuetify:{VAlert:VO,VAutocomplete:qO,VBtn:PO,VCard:aA,VCheckbox:GO,VChip:ea,VIcon:or,VProgressLinear:Ii,VRating:uA,VSelect:Fn,VSwitch:mA,VTable:sA,VTextField:da,VTextarea:gA},tiptap:{Node:EO,Mark:YD,Extension:rO,mergeAttributes:dT},defineCell:(t,n)=>e.cells.set(t,tt(n)),defineInput:(t,n)=>e.inputs.set(t,tt(n)),defineWidget:(t,n)=>e.widgets.set(t,tt(n)),defineRichTextExtension:(t,n)=>e.richText.set(t,tt(n)),defineMessages:(e,n)=>t.global.mergeLocaleMessage(e,n),definePage:(t,n)=>{if(!/^[a-z0-9][a-z0-9-]*$/.test(t))throw Error(`Vector page name "${t}" must be lowercase letters, digits and dashes.`);e.pages.set(t,{...n,component:tt(n.component)})},api:n,notify:{success:e=>r.success(e),error:e=>r.error(e)},navigate:e=>Wt(`${i.vector.basePath}${e}`),t:(e,t={},n)=>oi(e,t,n)};window.Vector=s;let c=[...window.__VECTOR__?.extensions??[],...a.public.vector.extensions??[]];Promise.allSettled(c.map(e=>import(e).then(e=>typeof e.default==`function`?e.default(s):void 0).catch(t=>console.error(`Vector extension ${e} failed to load`,t)))).then(()=>{e.ready.value=!0})});function vA(){return{theme:{defaultTheme:`system`,themes:{light:{dark:!1,colors:{primary:`#1F5F8B`,secondary:`#546E7A`,success:`#2E7D32`,warning:`#B45309`,info:`#1565C0`,error:`#C62828`},variables:{"medium-emphasis-opacity":.74}},dark:{dark:!0,colors:{primary:`#5AA9E6`,secondary:`#90A4AE`},variables:{"medium-emphasis-opacity":.8}}}},defaults:{VTextField:{variant:`outlined`,density:`comfortable`},VTextarea:{variant:`outlined`,density:`comfortable`},VSelect:{variant:`outlined`,density:`comfortable`},VAutocomplete:{variant:`outlined`,density:`comfortable`},VNumberInput:{variant:`outlined`,density:`comfortable`},VBtn:{variant:`flat`},VCard:{variant:`flat`,border:!0}}}}function yA(){return{svg:{component:ar},class:{component:rr}}}function bA(e){let t=yA(),n=e?.defaultSet??`mdi`;return n===`mdi`&&!t.mdi&&(t.mdi=Xo),S({defaultSet:n,sets:t,aliases:{...Yo,vuetify:[`M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z`,[`M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z`,.6]],"vuetify-outline":`svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z`,"vuetify-play":[`m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z`,[`M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z`,.6]]}},e)}function xA(e={}){let{blueprint:t,...n}=e,r=S(t,n),{aliases:i={},components:a={},directives:o={}}=r,s=ot();return s.run(()=>{let e=E(r.defaults),t=Wn(r.display,r.ssr),n=se(r.theme),c=bA(r.icons),l=Rn(r.locale),u=qk(r.date,l),d=ta(r.goTo,l);function f(s){for(let e in o)s.directive(e,o[e]);for(let e in a)s.component(e,a[e]);for(let e in i)s.component(e,C({...i[e],name:e,aliasName:i[e].name}));let f=ot();if(f.run(()=>{n.install(s)}),s.onUnmount(()=>f.stop()),s.provide(oe,e),s.provide(ee,e),s.provide(Gn,t),s.provide(y,n),s.provide(tr,c),s.provide(Bn,l),s.provide(Wk,u.options),s.provide(Gk,u.instance),s.provide(na,d),me&&r.ssr){if(s.$nuxt)s.$nuxt.hook(`app:suspense:resolve`,()=>{t.update()});else{let{mount:e}=s;s.mount=(...n)=>{let r=e(...n);return xt(()=>t.update()),s.mount=e,r}}}s.mixin({computed:{$vuetify(){return rt({defaults:SA.call(this,oe),display:SA.call(this,Gn),theme:SA.call(this,y),icons:SA.call(this,tr),locale:SA.call(this,Bn),date:SA.call(this,Gk)})}}})}function p(){s.stop()}return{install:f,unmount:p,defaults:e,display:t,theme:n,icons:c,locale:l,date:u,goTo:d}})}xA.version=`4.3.1`;function SA(e){let t=this.$,n=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}var CA={},wA=[qo,$o,fs,wc,lp,up,dp,pp,mp,Ep,Wp,Gp,em,tm,nm,_A,we({name:`vuetify:nuxt:client:plugin`,order:25,dependsOn:[`vuetify:icons:plugin`],parallel:!0,async setup(e){let t=vA();await e.hooks.callHook(`vuetify:configuration`,{isDev:!1,vuetifyOptions:t}),await e.hooks.callHook(`vuetify:before-create`,{isDev:!1,vuetifyOptions:t});let n=xA(t);e.vueApp.use(n),e.vueApp.use(HO(CA,n.locale)),e.provide(`vuetify`,n),await e.hooks.callHook(`vuetify:ready`,n)}})],TA=(e=`RouteProvider`)=>ct({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return it(Jt,kt(r)),()=>e.vnode?Fe(e.vnode,{ref:e.vnodeRef}):e.vnode}}),EA=TA(),DA=new WeakMap,OA=ct({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=ke(),a=wt(),o=Be(Jt,null),s=new Set,c;r({pageRef:a});let l=Be(tn,null),u,d=i.deferHydration(),f=!1,p=!1,m,h=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,d),t=Gt().beforeEach(()=>{e(),t()})}e.pageKey&&A(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let g=!1;{let e=Gt().beforeResolve(()=>{g=!1});st(()=>{e(),d()})}return()=>Fe(nc,{name:e.name,route:e.route,...t},{default:jA(t=>{let r=kA(o,t.route,t.Component),_=o&&o.matched.length===t.route.matched.length;if(!t.Component)return u&&!_&&!NA(u)?u:(d(),e.transition??t.route.meta.pageTransition??!1?ti(Yr([e.transition,t.route.meta.pageTransition,!1]),null).default():void 0);if(u&&l&&!NA(u)&&!l.isCurrent(t.route))return u;if(r&&o&&(!l||l?.isCurrent(o)))return(_||u)&&!NA(u)?u:null;let v=_s(t,e.pageKey),y=AA(o,t.route,t.Component);!i.isHydrating&&c===v&&!y&&xt(()=>{g||(g=!0,i.callHook(`page:loading:end`))}),f&&c!==v&&p&&h++,c=v;let b=!!(e.transition??t.route.meta.pageTransition??!1),x=b&&Yr([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){Zr(i),i.callHook(`page:transition:finish`,t.Component)}}]),S=e.keepalive??t.route.meta.keepalive??!1,C=t.Component.type,w=C.name||C.__name;t.route.meta.keepalive&&w&&s.add(w);let T;if(s.size>0&&e.keepalive==null&&(!S||typeof S==`object`&&S&&S.include)){let e=typeof S==`object`&&S?{...S}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];T={...e,include:Array.from(new Set([...t,...s]))}}else T=S;return u=ti(b&&x,vs(T,Fe(lt,{key:h,suspensible:!0,onPending:()=>{f=!0,b&&p&&$r(i),m=i.callHook(`page:start`,t.Component)},onResolve:async()=>{f=!1,p=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await xt(),i._route.sync?.(),await m,await i.callHook(`page:finish`,t.Component),!g&&!y&&(g=!0,await i.callHook(`page:loading:end`))}finally{d()}}},{default:()=>{let e={key:v||void 0,vnode:n.default?MA(n.default,t):t.Component,route:t.route,renderKey:v||void 0,trackRootNodes:b,vnodeRef:a,routeRecord:void 0};if(!T)return Fe(EA,e);let r=C,i=DA.get(r);return i||(i=TA(w),DA.set(r,i)),Fe(i,e)}}))).default(),u})})}});function kA(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&_s({route:t,Component:n})!==_s({route:e,Component:n})}function AA(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function jA(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!qe(n)?[Ot()]:[n]});return t._n=!0,t}function MA(e,t){let n=e(t);return n.length===1?Fe(n[0]):Fe(pt,void 0,n)}function NA(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var PA=ct({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Fe(Kp[e.name],e.layoutProps,t.slots)}}),FA=ct({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let n=ke(),r=Be(Jt),i=!r||r===on()?Tr():r,a=N(()=>{let t=Up(i,e.name);return t&&!(t in Kp)&&e.fallback&&(t=j(e.fallback)),t});it(Qt,a);let o=t=>Up(t,e.name),s=P();t.expose({layoutRef:s});let c=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,c),t=Gt().beforeEach(()=>{e(),t()})}st(()=>{c()});let l;return()=>{let r=!!a.value&&a.value in Kp&&!!(i?.meta.layoutTransition??!1),u=r&&Yr([i?.meta.layoutTransition,!1,{onBeforeLeave(){$r(n)},onAfterLeave(){Zr(n)}}]),d=l;return l=a.value,ti(u,{default:()=>Fe(lt,{suspensible:!0,onResolve:async()=>{await xt(c)}},{default:()=>Fe(IA,{layoutProps:et(t.attrs,i.meta.layoutProps??{},{ref:s}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,resolveRouteLayout:o,isRenderingNewLayout:e=>e!==d&&e===a.value,hasTransition:r},t.slots)})}).default()}}}),IA=ct({name:`NuxtLayoutProvider`,inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0},resolveRouteLayout:{type:Function,required:!0}},setup(e,t){let n=e.name;e.shouldProvide&&it(tn,{isCurrent:t=>n===!1||n===e.resolveRouteLayout(t)});let r=Be(Jt),i=r&&r===on(),a=Be(tn,null);if(i){let t=Tr(),n={};for(let i in t){let o=i;Object.defineProperty(n,o,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!a||a.isCurrent(t))?t[o]:r[o]})}it(Jt,kt(n))}return()=>!n||typeof n==`string`&&!(n in Kp)?t.slots.default?.():Fe(PA,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}});function LA(){return{t:oi,noun:ai,locale:ke().$vectorI18n.global.locale}}var RA=ct({__name:`app`,setup(e){let{locale:t}=LA();return jo({htmlAttrs:{lang:()=>t.value}}),(e,t)=>{let n=OA,r=FA;return dt(),Ct(r,null,{default:gt(()=>[k(n)]),_:1})}}}),zA={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=He(()=>zo(()=>import(`./C5Ez1FXH.js`),__vite__mapDeps([129,3,110,130]),import.meta.url)),s=He(()=>zo(()=>import(`./B1-Pqo_7.js`),__vite__mapDeps([131,3,110,132]),import.meta.url)),c=r?o:s;return(e,t)=>(dt(),Ct(j(c),Pe(At({status:j(n),statusText:j(i),statusCode:j(n),statusMessage:j(i),description:j(a),stack:j(void 0)})),null,16))}},BA=()=>null,VA={key:0},HA={__name:`nuxt-root`,setup(e){let t=ke(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=Gt().beforeEach(()=>{e(),r()})}window.location.pathname,it(Jt,on()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=Ht();function i(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return yt((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Vt(navigator.userAgent))return an(t,e),!1;if(ln(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>Yt(e)),fa(),i(e,n,r),!1}),(e,t)=>(dt(),Ct(lt,{onResolve:j(n)},{default:gt(()=>[j(!1)?(dt(),Xe(`div`,VA)):j(r)?(dt(),Ct(j(zA),{key:1,error:j(r)},null,8,[`error`])):j(!1)?(dt(),Ct(j(BA),{key:2,context:j(!1)},null,8,[`context`])):j(!1)?(dt(),Ct(Dt(j(!1)),{key:3})):(dt(),Ct(j(RA),{key:4}))]),_:1},8,[`onResolve`]))}},UA;{let e;UA=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?jt(HA):Mt(HA),r=De({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Ut(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&be.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(be.id)?.remove()});try{await Ae(r,wA)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(Se),await r.hooks.callHook(`app:mounted`,n),await xt()}catch(e){i(e)}return n},e=UA().catch(e=>{throw je.NUXT_E1009({cause:e}),e})}export{_D as $,uD as A,mm as At,MT as B,rp as Bt,TO as C,og as Ct,Gw as D,Wm as Dt,oD as E,G as Et,Yw as F,im as Ft,FT as G,NT as H,zo as Ht,ST as I,Np as It,VT as J,fT as K,CT as L,Cp as Lt,cD as M,lm as Mt,Kw as N,am as Nt,PE as O,q as Ot,qw as P,rm as Pt,KT as Q,DT as R,$f as Rt,XD as S,Y as St,$ as T,Ng as Tt,PT as U,jo as Ut,Q as V,np as Vt,PC as W,Dw as X,HT as Y,GT as Z,yO as _,X as _t,oA as a,ND as at,YD as b,J as bt,tA as c,SO as ct,Xk as d,wC as dt,bO as et,qO as f,CC as ft,kO as g,Zx as gt,NO as h,Jx as ht,sA as i,xO as it,pD as j,dm as jt,MD as k,pm as kt,$k as l,CO as lt,PO as m,QS as mt,gA as n,RD as nt,aA as o,ID as ot,VO as p,SC as pt,xT as q,mA as r,dT as rt,rA as s,yT as st,LA as t,DO as tt,Qk as u,bC as ut,rO as v,b_ as vt,aD as w,$g as wt,EO as x,t_ as xt,VD as y,C_ as yt,kT as z,tp as zt};