@withbuddi/buddi 0.1.0-pre.30 → 0.1.0-pre.32

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 (600) hide show
  1. package/README.md +58 -368
  2. package/examples/agents/concierge/agent.md +10 -2
  3. package/extension/manifest.json +2 -2
  4. package/node_modules/@buddi/cli/dist/.tsbuildinfo +1 -1
  5. package/node_modules/@buddi/cli/dist/agents-catalogue-cmd.d.ts +50 -0
  6. package/node_modules/@buddi/cli/dist/agents-catalogue-cmd.d.ts.map +1 -0
  7. package/node_modules/@buddi/cli/dist/agents-catalogue-cmd.js +328 -0
  8. package/node_modules/@buddi/cli/dist/agents-catalogue-cmd.js.map +1 -0
  9. package/node_modules/@buddi/cli/dist/args.d.ts +5 -0
  10. package/node_modules/@buddi/cli/dist/args.d.ts.map +1 -1
  11. package/node_modules/@buddi/cli/dist/args.js +8 -0
  12. package/node_modules/@buddi/cli/dist/args.js.map +1 -1
  13. package/node_modules/@buddi/cli/dist/commands.d.ts.map +1 -1
  14. package/node_modules/@buddi/cli/dist/commands.js +63 -1
  15. package/node_modules/@buddi/cli/dist/commands.js.map +1 -1
  16. package/node_modules/@buddi/cli/dist/doctor-probes.d.ts.map +1 -1
  17. package/node_modules/@buddi/cli/dist/doctor-probes.js +4 -11
  18. package/node_modules/@buddi/cli/dist/doctor-probes.js.map +1 -1
  19. package/node_modules/@buddi/cli/dist/doctor.d.ts +16 -0
  20. package/node_modules/@buddi/cli/dist/doctor.d.ts.map +1 -1
  21. package/node_modules/@buddi/cli/dist/doctor.js +30 -0
  22. package/node_modules/@buddi/cli/dist/doctor.js.map +1 -1
  23. package/node_modules/@buddi/cli/dist/main.d.ts.map +1 -1
  24. package/node_modules/@buddi/cli/dist/main.js +44 -9
  25. package/node_modules/@buddi/cli/dist/main.js.map +1 -1
  26. package/node_modules/@buddi/cli/dist/mcp/tools.d.ts.map +1 -1
  27. package/node_modules/@buddi/cli/dist/mcp/tools.js +3 -1
  28. package/node_modules/@buddi/cli/dist/mcp/tools.js.map +1 -1
  29. package/node_modules/@buddi/cli/dist/skills-cmd.d.ts +15 -0
  30. package/node_modules/@buddi/cli/dist/skills-cmd.d.ts.map +1 -0
  31. package/node_modules/@buddi/cli/dist/skills-cmd.js +54 -0
  32. package/node_modules/@buddi/cli/dist/skills-cmd.js.map +1 -0
  33. package/node_modules/@buddi/cli/dist/status.d.ts +15 -9
  34. package/node_modules/@buddi/cli/dist/status.d.ts.map +1 -1
  35. package/node_modules/@buddi/cli/dist/status.js +6 -11
  36. package/node_modules/@buddi/cli/dist/status.js.map +1 -1
  37. package/node_modules/@buddi/core/dist/.tsbuildinfo +1 -1
  38. package/node_modules/@buddi/core/dist/actions/store.d.ts +8 -0
  39. package/node_modules/@buddi/core/dist/actions/store.d.ts.map +1 -1
  40. package/node_modules/@buddi/core/dist/actions/store.js +13 -0
  41. package/node_modules/@buddi/core/dist/actions/store.js.map +1 -1
  42. package/node_modules/@buddi/core/dist/agents/catalog.d.ts +11 -3
  43. package/node_modules/@buddi/core/dist/agents/catalog.d.ts.map +1 -1
  44. package/node_modules/@buddi/core/dist/agents/catalog.js +58 -10
  45. package/node_modules/@buddi/core/dist/agents/catalog.js.map +1 -1
  46. package/node_modules/@buddi/core/dist/agents/frontmatter.d.ts +1 -1
  47. package/node_modules/@buddi/core/dist/agents/frontmatter.d.ts.map +1 -1
  48. package/node_modules/@buddi/core/dist/agents/frontmatter.js +1 -1
  49. package/node_modules/@buddi/core/dist/agents/frontmatter.js.map +1 -1
  50. package/node_modules/@buddi/core/dist/agents/skills.d.ts +29 -3
  51. package/node_modules/@buddi/core/dist/agents/skills.d.ts.map +1 -1
  52. package/node_modules/@buddi/core/dist/agents/skills.js +49 -2
  53. package/node_modules/@buddi/core/dist/agents/skills.js.map +1 -1
  54. package/node_modules/@buddi/core/dist/clock-widget.d.ts.map +1 -1
  55. package/node_modules/@buddi/core/dist/clock-widget.js +5 -3
  56. package/node_modules/@buddi/core/dist/clock-widget.js.map +1 -1
  57. package/node_modules/@buddi/core/dist/host/build.d.ts.map +1 -1
  58. package/node_modules/@buddi/core/dist/host/build.js +11 -0
  59. package/node_modules/@buddi/core/dist/host/build.js.map +1 -1
  60. package/node_modules/@buddi/core/dist/host/types.d.ts +7 -0
  61. package/node_modules/@buddi/core/dist/host/types.d.ts.map +1 -1
  62. package/node_modules/@buddi/core/dist/learning/store.d.ts +7 -0
  63. package/node_modules/@buddi/core/dist/learning/store.d.ts.map +1 -1
  64. package/node_modules/@buddi/core/dist/learning/store.js +6 -0
  65. package/node_modules/@buddi/core/dist/learning/store.js.map +1 -1
  66. package/node_modules/@buddi/core/dist/notifications/agent.d.ts +7 -0
  67. package/node_modules/@buddi/core/dist/notifications/agent.d.ts.map +1 -1
  68. package/node_modules/@buddi/core/dist/notifications/agent.js +2 -0
  69. package/node_modules/@buddi/core/dist/notifications/agent.js.map +1 -1
  70. package/node_modules/@buddi/core/dist/notifications/index.d.ts +1 -0
  71. package/node_modules/@buddi/core/dist/notifications/index.d.ts.map +1 -1
  72. package/node_modules/@buddi/core/dist/notifications/index.js +1 -0
  73. package/node_modules/@buddi/core/dist/notifications/index.js.map +1 -1
  74. package/node_modules/@buddi/core/dist/notifications/needs.d.ts +49 -0
  75. package/node_modules/@buddi/core/dist/notifications/needs.d.ts.map +1 -0
  76. package/node_modules/@buddi/core/dist/notifications/needs.js +41 -0
  77. package/node_modules/@buddi/core/dist/notifications/needs.js.map +1 -0
  78. package/node_modules/@buddi/core/dist/notifications/notify.d.ts.map +1 -1
  79. package/node_modules/@buddi/core/dist/notifications/notify.js +16 -7
  80. package/node_modules/@buddi/core/dist/notifications/notify.js.map +1 -1
  81. package/node_modules/@buddi/core/dist/notifications/store.d.ts.map +1 -1
  82. package/node_modules/@buddi/core/dist/notifications/store.js +2 -1
  83. package/node_modules/@buddi/core/dist/notifications/store.js.map +1 -1
  84. package/node_modules/@buddi/core/dist/notifications/types.d.ts +10 -0
  85. package/node_modules/@buddi/core/dist/notifications/types.d.ts.map +1 -1
  86. package/node_modules/@buddi/core/dist/notifications/types.js.map +1 -1
  87. package/node_modules/@buddi/core/dist/offers/store.d.ts.map +1 -1
  88. package/node_modules/@buddi/core/dist/offers/store.js +9 -4
  89. package/node_modules/@buddi/core/dist/offers/store.js.map +1 -1
  90. package/node_modules/@buddi/core/dist/offers/types.d.ts +24 -1
  91. package/node_modules/@buddi/core/dist/offers/types.d.ts.map +1 -1
  92. package/node_modules/@buddi/core/dist/offers/types.js +23 -1
  93. package/node_modules/@buddi/core/dist/offers/types.js.map +1 -1
  94. package/node_modules/@buddi/core/dist/owner-timezone.d.ts +20 -22
  95. package/node_modules/@buddi/core/dist/owner-timezone.d.ts.map +1 -1
  96. package/node_modules/@buddi/core/dist/owner-timezone.js +17 -25
  97. package/node_modules/@buddi/core/dist/owner-timezone.js.map +1 -1
  98. package/node_modules/@buddi/core/dist/plugin/version.d.ts +1 -1
  99. package/node_modules/@buddi/core/dist/plugin/version.js +1 -1
  100. package/node_modules/@buddi/core/dist/scheduler/missions.d.ts +86 -11
  101. package/node_modules/@buddi/core/dist/scheduler/missions.d.ts.map +1 -1
  102. package/node_modules/@buddi/core/dist/scheduler/missions.js +160 -36
  103. package/node_modules/@buddi/core/dist/scheduler/missions.js.map +1 -1
  104. package/node_modules/@buddi/core/dist/scheduler/runner.d.ts.map +1 -1
  105. package/node_modules/@buddi/core/dist/scheduler/runner.js +6 -1
  106. package/node_modules/@buddi/core/dist/scheduler/runner.js.map +1 -1
  107. package/node_modules/@buddi/core/dist/scheduler/types.d.ts +22 -0
  108. package/node_modules/@buddi/core/dist/scheduler/types.d.ts.map +1 -1
  109. package/node_modules/@buddi/core/dist/scheduler/types.js +6 -0
  110. package/node_modules/@buddi/core/dist/scheduler/types.js.map +1 -1
  111. package/node_modules/@buddi/core/dist/web-settings.d.ts +13 -0
  112. package/node_modules/@buddi/core/dist/web-settings.d.ts.map +1 -1
  113. package/node_modules/@buddi/core/dist/web-settings.js +26 -0
  114. package/node_modules/@buddi/core/dist/web-settings.js.map +1 -1
  115. package/node_modules/@buddi/core/dist/widgets.d.ts +13 -5
  116. package/node_modules/@buddi/core/dist/widgets.d.ts.map +1 -1
  117. package/node_modules/@buddi/core/dist/widgets.js +10 -1
  118. package/node_modules/@buddi/core/dist/widgets.js.map +1 -1
  119. package/node_modules/@buddi/core/migrations/068_notification_action.sql +12 -0
  120. package/node_modules/@buddi/core/migrations/069_schedule_zone_explicit.sql +18 -0
  121. package/node_modules/@buddi/core/migrations/070_offer_handoff.sql +15 -0
  122. package/node_modules/@buddi/core/migrations/071_mission_lifespan.sql +19 -0
  123. package/node_modules/@buddi/gateway/dist/.tsbuildinfo +1 -1
  124. package/node_modules/@buddi/gateway/dist/agents/canvas.d.ts +6 -6
  125. package/node_modules/@buddi/gateway/dist/agents/catalogue-package.d.ts +313 -0
  126. package/node_modules/@buddi/gateway/dist/agents/catalogue-package.d.ts.map +1 -0
  127. package/node_modules/@buddi/gateway/dist/agents/catalogue-package.js +356 -0
  128. package/node_modules/@buddi/gateway/dist/agents/catalogue-package.js.map +1 -0
  129. package/node_modules/@buddi/gateway/dist/agents/learning-digest.d.ts +29 -7
  130. package/node_modules/@buddi/gateway/dist/agents/learning-digest.d.ts.map +1 -1
  131. package/node_modules/@buddi/gateway/dist/agents/learning-digest.js +87 -38
  132. package/node_modules/@buddi/gateway/dist/agents/learning-digest.js.map +1 -1
  133. package/node_modules/@buddi/gateway/dist/agents/owner-tools.d.ts.map +1 -1
  134. package/node_modules/@buddi/gateway/dist/agents/owner-tools.js +11 -1
  135. package/node_modules/@buddi/gateway/dist/agents/owner-tools.js.map +1 -1
  136. package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.d.ts +361 -0
  137. package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.d.ts.map +1 -0
  138. package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.js +1021 -0
  139. package/node_modules/@buddi/gateway/dist/agents/platform-catalogue.js.map +1 -0
  140. package/node_modules/@buddi/gateway/dist/agents/platform-names.d.ts.map +1 -1
  141. package/node_modules/@buddi/gateway/dist/agents/platform-names.js +3 -0
  142. package/node_modules/@buddi/gateway/dist/agents/platform-names.js.map +1 -1
  143. package/node_modules/@buddi/gateway/dist/agents/platform.d.ts +62 -25
  144. package/node_modules/@buddi/gateway/dist/agents/platform.d.ts.map +1 -1
  145. package/node_modules/@buddi/gateway/dist/agents/platform.js +123 -29
  146. package/node_modules/@buddi/gateway/dist/agents/platform.js.map +1 -1
  147. package/node_modules/@buddi/gateway/dist/agents-cli.d.ts +1 -1
  148. package/node_modules/@buddi/gateway/dist/agents-cli.d.ts.map +1 -1
  149. package/node_modules/@buddi/gateway/dist/agents-cli.js +6 -0
  150. package/node_modules/@buddi/gateway/dist/agents-cli.js.map +1 -1
  151. package/node_modules/@buddi/gateway/dist/bootstrap.d.ts.map +1 -1
  152. package/node_modules/@buddi/gateway/dist/bootstrap.js +13 -1
  153. package/node_modules/@buddi/gateway/dist/bootstrap.js.map +1 -1
  154. package/node_modules/@buddi/gateway/dist/index.d.ts +1 -0
  155. package/node_modules/@buddi/gateway/dist/index.d.ts.map +1 -1
  156. package/node_modules/@buddi/gateway/dist/index.js +1 -0
  157. package/node_modules/@buddi/gateway/dist/index.js.map +1 -1
  158. package/node_modules/@buddi/gateway/dist/missions/defaults.d.ts +0 -6
  159. package/node_modules/@buddi/gateway/dist/missions/defaults.d.ts.map +1 -1
  160. package/node_modules/@buddi/gateway/dist/missions/defaults.js +4 -8
  161. package/node_modules/@buddi/gateway/dist/missions/defaults.js.map +1 -1
  162. package/node_modules/@buddi/gateway/dist/missions/execute.d.ts +6 -0
  163. package/node_modules/@buddi/gateway/dist/missions/execute.d.ts.map +1 -1
  164. package/node_modules/@buddi/gateway/dist/missions/execute.js +74 -2
  165. package/node_modules/@buddi/gateway/dist/missions/execute.js.map +1 -1
  166. package/node_modules/@buddi/gateway/dist/missions/reminders.d.ts +10 -0
  167. package/node_modules/@buddi/gateway/dist/missions/reminders.d.ts.map +1 -1
  168. package/node_modules/@buddi/gateway/dist/missions/reminders.js +86 -17
  169. package/node_modules/@buddi/gateway/dist/missions/reminders.js.map +1 -1
  170. package/node_modules/@buddi/gateway/dist/missions/zone-provenance.d.ts +13 -0
  171. package/node_modules/@buddi/gateway/dist/missions/zone-provenance.d.ts.map +1 -0
  172. package/node_modules/@buddi/gateway/dist/missions/zone-provenance.js +31 -0
  173. package/node_modules/@buddi/gateway/dist/missions/zone-provenance.js.map +1 -0
  174. package/node_modules/@buddi/gateway/dist/missions-cli.js +2 -2
  175. package/node_modules/@buddi/gateway/dist/missions-cli.js.map +1 -1
  176. package/node_modules/@buddi/gateway/dist/plugins/load.d.ts.map +1 -1
  177. package/node_modules/@buddi/gateway/dist/plugins/load.js +12 -5
  178. package/node_modules/@buddi/gateway/dist/plugins/load.js.map +1 -1
  179. package/node_modules/@buddi/gateway/dist/plugins/provenance.d.ts +35 -1
  180. package/node_modules/@buddi/gateway/dist/plugins/provenance.d.ts.map +1 -1
  181. package/node_modules/@buddi/gateway/dist/plugins/provenance.js +39 -1
  182. package/node_modules/@buddi/gateway/dist/plugins/provenance.js.map +1 -1
  183. package/node_modules/@buddi/gateway/dist/serve.d.ts.map +1 -1
  184. package/node_modules/@buddi/gateway/dist/serve.js +10 -10
  185. package/node_modules/@buddi/gateway/dist/serve.js.map +1 -1
  186. package/node_modules/@buddi/gateway/dist/surfaces/handoff.d.ts +62 -0
  187. package/node_modules/@buddi/gateway/dist/surfaces/handoff.d.ts.map +1 -0
  188. package/node_modules/@buddi/gateway/dist/surfaces/handoff.js +121 -0
  189. package/node_modules/@buddi/gateway/dist/surfaces/handoff.js.map +1 -0
  190. package/node_modules/@buddi/gateway/dist/surfaces/offered-actions.d.ts +2 -0
  191. package/node_modules/@buddi/gateway/dist/surfaces/offered-actions.d.ts.map +1 -1
  192. package/node_modules/@buddi/gateway/dist/surfaces/offered-actions.js +1 -1
  193. package/node_modules/@buddi/gateway/dist/surfaces/offered-actions.js.map +1 -1
  194. package/node_modules/@buddi/gateway/dist/telegram/channel.d.ts +11 -1
  195. package/node_modules/@buddi/gateway/dist/telegram/channel.d.ts.map +1 -1
  196. package/node_modules/@buddi/gateway/dist/telegram/channel.js +13 -2
  197. package/node_modules/@buddi/gateway/dist/telegram/channel.js.map +1 -1
  198. package/node_modules/@buddi/gateway/dist/telegram/main.d.ts.map +1 -1
  199. package/node_modules/@buddi/gateway/dist/telegram/main.js +7 -1
  200. package/node_modules/@buddi/gateway/dist/telegram/main.js.map +1 -1
  201. package/node_modules/@buddi/gateway/dist/telegram/surface.d.ts +9 -1
  202. package/node_modules/@buddi/gateway/dist/telegram/surface.d.ts.map +1 -1
  203. package/node_modules/@buddi/gateway/dist/telegram/surface.js +58 -6
  204. package/node_modules/@buddi/gateway/dist/telegram/surface.js.map +1 -1
  205. package/node_modules/@buddi/gateway/dist/web/agent-offers.d.ts +0 -30
  206. package/node_modules/@buddi/gateway/dist/web/agent-offers.d.ts.map +1 -1
  207. package/node_modules/@buddi/gateway/dist/web/agent-offers.js +1 -64
  208. package/node_modules/@buddi/gateway/dist/web/agent-offers.js.map +1 -1
  209. package/node_modules/@buddi/gateway/dist/web/api-routes.d.ts +1 -0
  210. package/node_modules/@buddi/gateway/dist/web/api-routes.d.ts.map +1 -1
  211. package/node_modules/@buddi/gateway/dist/web/api-routes.js +126 -7
  212. package/node_modules/@buddi/gateway/dist/web/api-routes.js.map +1 -1
  213. package/node_modules/@buddi/gateway/dist/web/catalogue-source.d.ts +33 -0
  214. package/node_modules/@buddi/gateway/dist/web/catalogue-source.d.ts.map +1 -0
  215. package/node_modules/@buddi/gateway/dist/web/catalogue-source.js +124 -0
  216. package/node_modules/@buddi/gateway/dist/web/catalogue-source.js.map +1 -0
  217. package/node_modules/@buddi/gateway/dist/web/catalogue.d.ts +155 -0
  218. package/node_modules/@buddi/gateway/dist/web/catalogue.d.ts.map +1 -0
  219. package/node_modules/@buddi/gateway/dist/web/catalogue.js +734 -0
  220. package/node_modules/@buddi/gateway/dist/web/catalogue.js.map +1 -0
  221. package/node_modules/@buddi/gateway/dist/web/chat.d.ts +3 -1
  222. package/node_modules/@buddi/gateway/dist/web/chat.d.ts.map +1 -1
  223. package/node_modules/@buddi/gateway/dist/web/chat.js +8 -1
  224. package/node_modules/@buddi/gateway/dist/web/chat.js.map +1 -1
  225. package/node_modules/@buddi/gateway/dist/web/client-key.d.ts +24 -0
  226. package/node_modules/@buddi/gateway/dist/web/client-key.d.ts.map +1 -0
  227. package/node_modules/@buddi/gateway/dist/web/client-key.js +17 -0
  228. package/node_modules/@buddi/gateway/dist/web/client-key.js.map +1 -0
  229. package/node_modules/@buddi/gateway/dist/web/lock.d.ts +5 -1
  230. package/node_modules/@buddi/gateway/dist/web/lock.d.ts.map +1 -1
  231. package/node_modules/@buddi/gateway/dist/web/lock.js +4 -15
  232. package/node_modules/@buddi/gateway/dist/web/lock.js.map +1 -1
  233. package/node_modules/@buddi/gateway/dist/web/market.d.ts +1 -0
  234. package/node_modules/@buddi/gateway/dist/web/market.d.ts.map +1 -1
  235. package/node_modules/@buddi/gateway/dist/web/market.js +6 -0
  236. package/node_modules/@buddi/gateway/dist/web/market.js.map +1 -1
  237. package/node_modules/@buddi/gateway/dist/web/needs-you.d.ts +36 -0
  238. package/node_modules/@buddi/gateway/dist/web/needs-you.d.ts.map +1 -0
  239. package/node_modules/@buddi/gateway/dist/web/needs-you.js +65 -0
  240. package/node_modules/@buddi/gateway/dist/web/needs-you.js.map +1 -0
  241. package/node_modules/@buddi/gateway/dist/web/notifications.d.ts +9 -1
  242. package/node_modules/@buddi/gateway/dist/web/notifications.d.ts.map +1 -1
  243. package/node_modules/@buddi/gateway/dist/web/notifications.js +14 -3
  244. package/node_modules/@buddi/gateway/dist/web/notifications.js.map +1 -1
  245. package/node_modules/@buddi/gateway/dist/web/read.d.ts +27 -1
  246. package/node_modules/@buddi/gateway/dist/web/read.d.ts.map +1 -1
  247. package/node_modules/@buddi/gateway/dist/web/read.js +57 -8
  248. package/node_modules/@buddi/gateway/dist/web/read.js.map +1 -1
  249. package/node_modules/@buddi/gateway/dist/web/server.d.ts.map +1 -1
  250. package/node_modules/@buddi/gateway/dist/web/server.js +165 -13
  251. package/node_modules/@buddi/gateway/dist/web/server.js.map +1 -1
  252. package/node_modules/@buddi/gateway/dist/web/skills.d.ts +120 -0
  253. package/node_modules/@buddi/gateway/dist/web/skills.d.ts.map +1 -0
  254. package/node_modules/@buddi/gateway/dist/web/skills.js +672 -0
  255. package/node_modules/@buddi/gateway/dist/web/skills.js.map +1 -0
  256. package/node_modules/@buddi/gateway/dist/web/take-on.d.ts +35 -1
  257. package/node_modules/@buddi/gateway/dist/web/take-on.d.ts.map +1 -1
  258. package/node_modules/@buddi/gateway/dist/web/take-on.js +76 -51
  259. package/node_modules/@buddi/gateway/dist/web/take-on.js.map +1 -1
  260. package/node_modules/@buddi/gateway/dist/web/write.d.ts +9 -1
  261. package/node_modules/@buddi/gateway/dist/web/write.d.ts.map +1 -1
  262. package/node_modules/@buddi/gateway/dist/web/write.js +39 -2
  263. package/node_modules/@buddi/gateway/dist/web/write.js.map +1 -1
  264. package/node_modules/@buddi/gateway/package.json +0 -1
  265. package/node_modules/@buddi/install/dist/.tsbuildinfo +1 -1
  266. package/node_modules/@buddi/install/dist/doctor-timezone.d.ts +17 -0
  267. package/node_modules/@buddi/install/dist/doctor-timezone.d.ts.map +1 -0
  268. package/node_modules/@buddi/install/dist/doctor-timezone.js +34 -0
  269. package/node_modules/@buddi/install/dist/doctor-timezone.js.map +1 -0
  270. package/node_modules/@buddi/install/dist/launcher.d.ts.map +1 -1
  271. package/node_modules/@buddi/install/dist/launcher.js +3 -0
  272. package/node_modules/@buddi/install/dist/launcher.js.map +1 -1
  273. package/node_modules/@buddi/runtime/dist/.tsbuildinfo +1 -1
  274. package/node_modules/@buddi/tool-artifacts/dist/.tsbuildinfo +1 -1
  275. package/node_modules/@buddi/tool-browser/dist/.tsbuildinfo +1 -1
  276. package/node_modules/@buddi/tool-email/dist/.tsbuildinfo +1 -1
  277. package/node_modules/@buddi/tool-email/dist/needs-you.d.ts +4 -1
  278. package/node_modules/@buddi/tool-email/dist/needs-you.d.ts.map +1 -1
  279. package/node_modules/@buddi/tool-email/dist/needs-you.js +2 -0
  280. package/node_modules/@buddi/tool-email/dist/needs-you.js.map +1 -1
  281. package/node_modules/@buddi/tool-email/migrations/026_attention_filed.sql +89 -0
  282. package/node_modules/@buddi/tool-host/dist/.tsbuildinfo +1 -1
  283. package/node_modules/@buddi/tool-mcp/dist/.tsbuildinfo +1 -1
  284. package/node_modules/@buddi/tool-memory/dist/.tsbuildinfo +1 -1
  285. package/node_modules/@buddi/tool-web/dist/.tsbuildinfo +1 -1
  286. package/package.json +2 -2
  287. package/packages/cli/dist/.tsbuildinfo +1 -1
  288. package/packages/cli/dist/agents-catalogue-cmd.d.ts +50 -0
  289. package/packages/cli/dist/agents-catalogue-cmd.d.ts.map +1 -0
  290. package/packages/cli/dist/agents-catalogue-cmd.js +328 -0
  291. package/packages/cli/dist/agents-catalogue-cmd.js.map +1 -0
  292. package/packages/cli/dist/args.d.ts +5 -0
  293. package/packages/cli/dist/args.d.ts.map +1 -1
  294. package/packages/cli/dist/args.js +8 -0
  295. package/packages/cli/dist/args.js.map +1 -1
  296. package/packages/cli/dist/commands.d.ts.map +1 -1
  297. package/packages/cli/dist/commands.js +63 -1
  298. package/packages/cli/dist/commands.js.map +1 -1
  299. package/packages/cli/dist/doctor-probes.d.ts.map +1 -1
  300. package/packages/cli/dist/doctor-probes.js +4 -11
  301. package/packages/cli/dist/doctor-probes.js.map +1 -1
  302. package/packages/cli/dist/doctor.d.ts +16 -0
  303. package/packages/cli/dist/doctor.d.ts.map +1 -1
  304. package/packages/cli/dist/doctor.js +30 -0
  305. package/packages/cli/dist/doctor.js.map +1 -1
  306. package/packages/cli/dist/main.d.ts.map +1 -1
  307. package/packages/cli/dist/main.js +44 -9
  308. package/packages/cli/dist/main.js.map +1 -1
  309. package/packages/cli/dist/mcp/tools.d.ts.map +1 -1
  310. package/packages/cli/dist/mcp/tools.js +3 -1
  311. package/packages/cli/dist/mcp/tools.js.map +1 -1
  312. package/packages/cli/dist/skills-cmd.d.ts +15 -0
  313. package/packages/cli/dist/skills-cmd.d.ts.map +1 -0
  314. package/packages/cli/dist/skills-cmd.js +54 -0
  315. package/packages/cli/dist/skills-cmd.js.map +1 -0
  316. package/packages/cli/dist/status.d.ts +15 -9
  317. package/packages/cli/dist/status.d.ts.map +1 -1
  318. package/packages/cli/dist/status.js +6 -11
  319. package/packages/cli/dist/status.js.map +1 -1
  320. package/packages/core/dist/.tsbuildinfo +1 -1
  321. package/packages/core/dist/actions/store.d.ts +8 -0
  322. package/packages/core/dist/actions/store.d.ts.map +1 -1
  323. package/packages/core/dist/actions/store.js +13 -0
  324. package/packages/core/dist/actions/store.js.map +1 -1
  325. package/packages/core/dist/agents/catalog.d.ts +11 -3
  326. package/packages/core/dist/agents/catalog.d.ts.map +1 -1
  327. package/packages/core/dist/agents/catalog.js +58 -10
  328. package/packages/core/dist/agents/catalog.js.map +1 -1
  329. package/packages/core/dist/agents/frontmatter.d.ts +1 -1
  330. package/packages/core/dist/agents/frontmatter.d.ts.map +1 -1
  331. package/packages/core/dist/agents/frontmatter.js +1 -1
  332. package/packages/core/dist/agents/frontmatter.js.map +1 -1
  333. package/packages/core/dist/agents/skills.d.ts +29 -3
  334. package/packages/core/dist/agents/skills.d.ts.map +1 -1
  335. package/packages/core/dist/agents/skills.js +49 -2
  336. package/packages/core/dist/agents/skills.js.map +1 -1
  337. package/packages/core/dist/clock-widget.d.ts.map +1 -1
  338. package/packages/core/dist/clock-widget.js +5 -3
  339. package/packages/core/dist/clock-widget.js.map +1 -1
  340. package/packages/core/dist/host/build.d.ts.map +1 -1
  341. package/packages/core/dist/host/build.js +11 -0
  342. package/packages/core/dist/host/build.js.map +1 -1
  343. package/packages/core/dist/host/types.d.ts +7 -0
  344. package/packages/core/dist/host/types.d.ts.map +1 -1
  345. package/packages/core/dist/learning/store.d.ts +7 -0
  346. package/packages/core/dist/learning/store.d.ts.map +1 -1
  347. package/packages/core/dist/learning/store.js +6 -0
  348. package/packages/core/dist/learning/store.js.map +1 -1
  349. package/packages/core/dist/notifications/agent.d.ts +7 -0
  350. package/packages/core/dist/notifications/agent.d.ts.map +1 -1
  351. package/packages/core/dist/notifications/agent.js +2 -0
  352. package/packages/core/dist/notifications/agent.js.map +1 -1
  353. package/packages/core/dist/notifications/index.d.ts +1 -0
  354. package/packages/core/dist/notifications/index.d.ts.map +1 -1
  355. package/packages/core/dist/notifications/index.js +1 -0
  356. package/packages/core/dist/notifications/index.js.map +1 -1
  357. package/packages/core/dist/notifications/needs.d.ts +49 -0
  358. package/packages/core/dist/notifications/needs.d.ts.map +1 -0
  359. package/packages/core/dist/notifications/needs.js +41 -0
  360. package/packages/core/dist/notifications/needs.js.map +1 -0
  361. package/packages/core/dist/notifications/notify.d.ts.map +1 -1
  362. package/packages/core/dist/notifications/notify.js +16 -7
  363. package/packages/core/dist/notifications/notify.js.map +1 -1
  364. package/packages/core/dist/notifications/store.d.ts.map +1 -1
  365. package/packages/core/dist/notifications/store.js +2 -1
  366. package/packages/core/dist/notifications/store.js.map +1 -1
  367. package/packages/core/dist/notifications/types.d.ts +10 -0
  368. package/packages/core/dist/notifications/types.d.ts.map +1 -1
  369. package/packages/core/dist/notifications/types.js.map +1 -1
  370. package/packages/core/dist/offers/store.d.ts.map +1 -1
  371. package/packages/core/dist/offers/store.js +9 -4
  372. package/packages/core/dist/offers/store.js.map +1 -1
  373. package/packages/core/dist/offers/types.d.ts +24 -1
  374. package/packages/core/dist/offers/types.d.ts.map +1 -1
  375. package/packages/core/dist/offers/types.js +23 -1
  376. package/packages/core/dist/offers/types.js.map +1 -1
  377. package/packages/core/dist/owner-timezone.d.ts +20 -22
  378. package/packages/core/dist/owner-timezone.d.ts.map +1 -1
  379. package/packages/core/dist/owner-timezone.js +17 -25
  380. package/packages/core/dist/owner-timezone.js.map +1 -1
  381. package/packages/core/dist/plugin/version.d.ts +1 -1
  382. package/packages/core/dist/plugin/version.js +1 -1
  383. package/packages/core/dist/scheduler/missions.d.ts +86 -11
  384. package/packages/core/dist/scheduler/missions.d.ts.map +1 -1
  385. package/packages/core/dist/scheduler/missions.js +160 -36
  386. package/packages/core/dist/scheduler/missions.js.map +1 -1
  387. package/packages/core/dist/scheduler/runner.d.ts.map +1 -1
  388. package/packages/core/dist/scheduler/runner.js +6 -1
  389. package/packages/core/dist/scheduler/runner.js.map +1 -1
  390. package/packages/core/dist/scheduler/types.d.ts +22 -0
  391. package/packages/core/dist/scheduler/types.d.ts.map +1 -1
  392. package/packages/core/dist/scheduler/types.js +6 -0
  393. package/packages/core/dist/scheduler/types.js.map +1 -1
  394. package/packages/core/dist/web-settings.d.ts +13 -0
  395. package/packages/core/dist/web-settings.d.ts.map +1 -1
  396. package/packages/core/dist/web-settings.js +26 -0
  397. package/packages/core/dist/web-settings.js.map +1 -1
  398. package/packages/core/dist/widgets.d.ts +13 -5
  399. package/packages/core/dist/widgets.d.ts.map +1 -1
  400. package/packages/core/dist/widgets.js +10 -1
  401. package/packages/core/dist/widgets.js.map +1 -1
  402. package/packages/core/migrations/068_notification_action.sql +12 -0
  403. package/packages/core/migrations/069_schedule_zone_explicit.sql +18 -0
  404. package/packages/core/migrations/070_offer_handoff.sql +15 -0
  405. package/packages/core/migrations/071_mission_lifespan.sql +19 -0
  406. package/packages/gateway/dist/.tsbuildinfo +1 -1
  407. package/packages/gateway/dist/agents/canvas.d.ts +6 -6
  408. package/packages/gateway/dist/agents/catalogue-package.d.ts +313 -0
  409. package/packages/gateway/dist/agents/catalogue-package.d.ts.map +1 -0
  410. package/packages/gateway/dist/agents/catalogue-package.js +356 -0
  411. package/packages/gateway/dist/agents/catalogue-package.js.map +1 -0
  412. package/packages/gateway/dist/agents/learning-digest.d.ts +29 -7
  413. package/packages/gateway/dist/agents/learning-digest.d.ts.map +1 -1
  414. package/packages/gateway/dist/agents/learning-digest.js +87 -38
  415. package/packages/gateway/dist/agents/learning-digest.js.map +1 -1
  416. package/packages/gateway/dist/agents/owner-tools.d.ts.map +1 -1
  417. package/packages/gateway/dist/agents/owner-tools.js +11 -1
  418. package/packages/gateway/dist/agents/owner-tools.js.map +1 -1
  419. package/packages/gateway/dist/agents/platform-catalogue.d.ts +361 -0
  420. package/packages/gateway/dist/agents/platform-catalogue.d.ts.map +1 -0
  421. package/packages/gateway/dist/agents/platform-catalogue.js +1021 -0
  422. package/packages/gateway/dist/agents/platform-catalogue.js.map +1 -0
  423. package/packages/gateway/dist/agents/platform-names.d.ts.map +1 -1
  424. package/packages/gateway/dist/agents/platform-names.js +3 -0
  425. package/packages/gateway/dist/agents/platform-names.js.map +1 -1
  426. package/packages/gateway/dist/agents/platform.d.ts +62 -25
  427. package/packages/gateway/dist/agents/platform.d.ts.map +1 -1
  428. package/packages/gateway/dist/agents/platform.js +123 -29
  429. package/packages/gateway/dist/agents/platform.js.map +1 -1
  430. package/packages/gateway/dist/agents-cli.d.ts +1 -1
  431. package/packages/gateway/dist/agents-cli.d.ts.map +1 -1
  432. package/packages/gateway/dist/agents-cli.js +6 -0
  433. package/packages/gateway/dist/agents-cli.js.map +1 -1
  434. package/packages/gateway/dist/bootstrap.d.ts.map +1 -1
  435. package/packages/gateway/dist/bootstrap.js +13 -1
  436. package/packages/gateway/dist/bootstrap.js.map +1 -1
  437. package/packages/gateway/dist/index.d.ts +1 -0
  438. package/packages/gateway/dist/index.d.ts.map +1 -1
  439. package/packages/gateway/dist/index.js +1 -0
  440. package/packages/gateway/dist/index.js.map +1 -1
  441. package/packages/gateway/dist/missions/defaults.d.ts +0 -6
  442. package/packages/gateway/dist/missions/defaults.d.ts.map +1 -1
  443. package/packages/gateway/dist/missions/defaults.js +4 -8
  444. package/packages/gateway/dist/missions/defaults.js.map +1 -1
  445. package/packages/gateway/dist/missions/execute.d.ts +6 -0
  446. package/packages/gateway/dist/missions/execute.d.ts.map +1 -1
  447. package/packages/gateway/dist/missions/execute.js +74 -2
  448. package/packages/gateway/dist/missions/execute.js.map +1 -1
  449. package/packages/gateway/dist/missions/reminders.d.ts +10 -0
  450. package/packages/gateway/dist/missions/reminders.d.ts.map +1 -1
  451. package/packages/gateway/dist/missions/reminders.js +86 -17
  452. package/packages/gateway/dist/missions/reminders.js.map +1 -1
  453. package/packages/gateway/dist/missions/zone-provenance.d.ts +13 -0
  454. package/packages/gateway/dist/missions/zone-provenance.d.ts.map +1 -0
  455. package/packages/gateway/dist/missions/zone-provenance.js +31 -0
  456. package/packages/gateway/dist/missions/zone-provenance.js.map +1 -0
  457. package/packages/gateway/dist/missions-cli.js +2 -2
  458. package/packages/gateway/dist/missions-cli.js.map +1 -1
  459. package/packages/gateway/dist/plugins/load.d.ts.map +1 -1
  460. package/packages/gateway/dist/plugins/load.js +12 -5
  461. package/packages/gateway/dist/plugins/load.js.map +1 -1
  462. package/packages/gateway/dist/plugins/provenance.d.ts +35 -1
  463. package/packages/gateway/dist/plugins/provenance.d.ts.map +1 -1
  464. package/packages/gateway/dist/plugins/provenance.js +39 -1
  465. package/packages/gateway/dist/plugins/provenance.js.map +1 -1
  466. package/packages/gateway/dist/serve.d.ts.map +1 -1
  467. package/packages/gateway/dist/serve.js +10 -10
  468. package/packages/gateway/dist/serve.js.map +1 -1
  469. package/packages/gateway/dist/surfaces/handoff.d.ts +62 -0
  470. package/packages/gateway/dist/surfaces/handoff.d.ts.map +1 -0
  471. package/packages/gateway/dist/surfaces/handoff.js +121 -0
  472. package/packages/gateway/dist/surfaces/handoff.js.map +1 -0
  473. package/packages/gateway/dist/surfaces/offered-actions.d.ts +2 -0
  474. package/packages/gateway/dist/surfaces/offered-actions.d.ts.map +1 -1
  475. package/packages/gateway/dist/surfaces/offered-actions.js +1 -1
  476. package/packages/gateway/dist/surfaces/offered-actions.js.map +1 -1
  477. package/packages/gateway/dist/telegram/channel.d.ts +11 -1
  478. package/packages/gateway/dist/telegram/channel.d.ts.map +1 -1
  479. package/packages/gateway/dist/telegram/channel.js +13 -2
  480. package/packages/gateway/dist/telegram/channel.js.map +1 -1
  481. package/packages/gateway/dist/telegram/main.d.ts.map +1 -1
  482. package/packages/gateway/dist/telegram/main.js +7 -1
  483. package/packages/gateway/dist/telegram/main.js.map +1 -1
  484. package/packages/gateway/dist/telegram/surface.d.ts +9 -1
  485. package/packages/gateway/dist/telegram/surface.d.ts.map +1 -1
  486. package/packages/gateway/dist/telegram/surface.js +58 -6
  487. package/packages/gateway/dist/telegram/surface.js.map +1 -1
  488. package/packages/gateway/dist/web/agent-offers.d.ts +0 -30
  489. package/packages/gateway/dist/web/agent-offers.d.ts.map +1 -1
  490. package/packages/gateway/dist/web/agent-offers.js +1 -64
  491. package/packages/gateway/dist/web/agent-offers.js.map +1 -1
  492. package/packages/gateway/dist/web/api-routes.d.ts +1 -0
  493. package/packages/gateway/dist/web/api-routes.d.ts.map +1 -1
  494. package/packages/gateway/dist/web/api-routes.js +126 -7
  495. package/packages/gateway/dist/web/api-routes.js.map +1 -1
  496. package/packages/gateway/dist/web/catalogue-source.d.ts +33 -0
  497. package/packages/gateway/dist/web/catalogue-source.d.ts.map +1 -0
  498. package/packages/gateway/dist/web/catalogue-source.js +124 -0
  499. package/packages/gateway/dist/web/catalogue-source.js.map +1 -0
  500. package/packages/gateway/dist/web/catalogue.d.ts +155 -0
  501. package/packages/gateway/dist/web/catalogue.d.ts.map +1 -0
  502. package/packages/gateway/dist/web/catalogue.js +734 -0
  503. package/packages/gateway/dist/web/catalogue.js.map +1 -0
  504. package/packages/gateway/dist/web/chat.d.ts +3 -1
  505. package/packages/gateway/dist/web/chat.d.ts.map +1 -1
  506. package/packages/gateway/dist/web/chat.js +8 -1
  507. package/packages/gateway/dist/web/chat.js.map +1 -1
  508. package/packages/gateway/dist/web/client-key.d.ts +24 -0
  509. package/packages/gateway/dist/web/client-key.d.ts.map +1 -0
  510. package/packages/gateway/dist/web/client-key.js +17 -0
  511. package/packages/gateway/dist/web/client-key.js.map +1 -0
  512. package/packages/gateway/dist/web/lock.d.ts +5 -1
  513. package/packages/gateway/dist/web/lock.d.ts.map +1 -1
  514. package/packages/gateway/dist/web/lock.js +4 -15
  515. package/packages/gateway/dist/web/lock.js.map +1 -1
  516. package/packages/gateway/dist/web/market.d.ts +1 -0
  517. package/packages/gateway/dist/web/market.d.ts.map +1 -1
  518. package/packages/gateway/dist/web/market.js +6 -0
  519. package/packages/gateway/dist/web/market.js.map +1 -1
  520. package/packages/gateway/dist/web/needs-you.d.ts +36 -0
  521. package/packages/gateway/dist/web/needs-you.d.ts.map +1 -0
  522. package/packages/gateway/dist/web/needs-you.js +65 -0
  523. package/packages/gateway/dist/web/needs-you.js.map +1 -0
  524. package/packages/gateway/dist/web/notifications.d.ts +9 -1
  525. package/packages/gateway/dist/web/notifications.d.ts.map +1 -1
  526. package/packages/gateway/dist/web/notifications.js +14 -3
  527. package/packages/gateway/dist/web/notifications.js.map +1 -1
  528. package/packages/gateway/dist/web/read.d.ts +27 -1
  529. package/packages/gateway/dist/web/read.d.ts.map +1 -1
  530. package/packages/gateway/dist/web/read.js +57 -8
  531. package/packages/gateway/dist/web/read.js.map +1 -1
  532. package/packages/gateway/dist/web/server.d.ts.map +1 -1
  533. package/packages/gateway/dist/web/server.js +165 -13
  534. package/packages/gateway/dist/web/server.js.map +1 -1
  535. package/packages/gateway/dist/web/skills.d.ts +120 -0
  536. package/packages/gateway/dist/web/skills.d.ts.map +1 -0
  537. package/packages/gateway/dist/web/skills.js +672 -0
  538. package/packages/gateway/dist/web/skills.js.map +1 -0
  539. package/packages/gateway/dist/web/take-on.d.ts +35 -1
  540. package/packages/gateway/dist/web/take-on.d.ts.map +1 -1
  541. package/packages/gateway/dist/web/take-on.js +76 -51
  542. package/packages/gateway/dist/web/take-on.js.map +1 -1
  543. package/packages/gateway/dist/web/write.d.ts +9 -1
  544. package/packages/gateway/dist/web/write.d.ts.map +1 -1
  545. package/packages/gateway/dist/web/write.js +39 -2
  546. package/packages/gateway/dist/web/write.js.map +1 -1
  547. package/packages/gateway/package.json +0 -1
  548. package/packages/install/dist/.tsbuildinfo +1 -1
  549. package/packages/install/dist/doctor-timezone.d.ts +17 -0
  550. package/packages/install/dist/doctor-timezone.d.ts.map +1 -0
  551. package/packages/install/dist/doctor-timezone.js +34 -0
  552. package/packages/install/dist/doctor-timezone.js.map +1 -0
  553. package/packages/install/dist/launcher.d.ts.map +1 -1
  554. package/packages/install/dist/launcher.js +3 -0
  555. package/packages/install/dist/launcher.js.map +1 -1
  556. package/packages/runtime/dist/.tsbuildinfo +1 -1
  557. package/packages/tools/artifacts/dist/.tsbuildinfo +1 -1
  558. package/packages/tools/browser/dist/.tsbuildinfo +1 -1
  559. package/packages/tools/email/dist/.tsbuildinfo +1 -1
  560. package/packages/tools/email/dist/needs-you.d.ts +4 -1
  561. package/packages/tools/email/dist/needs-you.d.ts.map +1 -1
  562. package/packages/tools/email/dist/needs-you.js +2 -0
  563. package/packages/tools/email/dist/needs-you.js.map +1 -1
  564. package/packages/tools/email/migrations/026_attention_filed.sql +89 -0
  565. package/packages/tools/host/dist/.tsbuildinfo +1 -1
  566. package/packages/tools/mcp/dist/.tsbuildinfo +1 -1
  567. package/packages/tools/memory/dist/.tsbuildinfo +1 -1
  568. package/packages/tools/web/dist/.tsbuildinfo +1 -1
  569. package/packages/web/dist/assets/index-BldmgplG.css +1 -0
  570. package/packages/web/dist/assets/index-C8GaSH__.js +132 -0
  571. package/packages/web/dist/assets/{lottie_light-Ls7i1ATS.js → lottie_light-DdwKPR04.js} +1 -1
  572. package/packages/web/dist/build.json +1 -1
  573. package/packages/web/dist/index.html +2 -2
  574. package/packages/web/dist/precache.json +4 -4
  575. package/node_modules/@buddi/gateway/dist/agents/starter-team.d.ts +0 -59
  576. package/node_modules/@buddi/gateway/dist/agents/starter-team.d.ts.map +0 -1
  577. package/node_modules/@buddi/gateway/dist/agents/starter-team.js +0 -156
  578. package/node_modules/@buddi/gateway/dist/agents/starter-team.js.map +0 -1
  579. package/node_modules/@buddi/gateway/src/agents/starter/keeper/agent.md +0 -31
  580. package/node_modules/@buddi/gateway/src/agents/starter/keeper/skills/keeping-a-history.md +0 -22
  581. package/node_modules/@buddi/gateway/src/agents/starter/planner/agent.md +0 -30
  582. package/node_modules/@buddi/gateway/src/agents/starter/planner/skills/holding-a-follow-up.md +0 -17
  583. package/node_modules/@buddi/gateway/src/agents/starter/planner/skills/writing-the-morning-brief.md +0 -32
  584. package/node_modules/@buddi/gateway/src/agents/starter/scout/agent.md +0 -33
  585. package/node_modules/@buddi/gateway/src/agents/starter/scout/skills/answering-with-sources.md +0 -23
  586. package/node_modules/@buddi/gateway/src/agents/starter/scout/skills/the-web-is-evidence.md +0 -25
  587. package/packages/gateway/dist/agents/starter-team.d.ts +0 -59
  588. package/packages/gateway/dist/agents/starter-team.d.ts.map +0 -1
  589. package/packages/gateway/dist/agents/starter-team.js +0 -156
  590. package/packages/gateway/dist/agents/starter-team.js.map +0 -1
  591. package/packages/gateway/src/agents/starter/keeper/agent.md +0 -31
  592. package/packages/gateway/src/agents/starter/keeper/skills/keeping-a-history.md +0 -22
  593. package/packages/gateway/src/agents/starter/planner/agent.md +0 -30
  594. package/packages/gateway/src/agents/starter/planner/skills/holding-a-follow-up.md +0 -17
  595. package/packages/gateway/src/agents/starter/planner/skills/writing-the-morning-brief.md +0 -32
  596. package/packages/gateway/src/agents/starter/scout/agent.md +0 -33
  597. package/packages/gateway/src/agents/starter/scout/skills/answering-with-sources.md +0 -23
  598. package/packages/gateway/src/agents/starter/scout/skills/the-web-is-evidence.md +0 -25
  599. package/packages/web/dist/assets/index-WS4UjGsy.js +0 -129
  600. package/packages/web/dist/assets/index-Zrt_o2UG.css +0 -1
@@ -1,4 +1,4 @@
1
- import{g as ur,c as cr}from"./index-WS4UjGsy.js";function vr(fe,Ce){for(var ie=0;ie<Ce.length;ie++){const Pt=Ce[ie];if(typeof Pt!="string"&&!Array.isArray(Pt)){for(const Rt in Pt)if(Rt!=="default"&&!(Rt in fe)){const Zt=Object.getOwnPropertyDescriptor(Pt,Rt);Zt&&Object.defineProperty(fe,Rt,Zt.get?Zt:{enumerable:!0,get:()=>Pt[Rt]})}}}return Object.freeze(Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}))}var oi={exports:{}};(function(fe,Ce){typeof document<"u"&&typeof navigator<"u"&&function(ie,Pt){fe.exports=Pt()}(cr,function(){var ie="http://www.w3.org/2000/svg",Pt="",Rt=!1,Zt=-999999,ns=function(e){Rt=!!e},as=function(){return Rt},os=function(e){Pt=e},dt=function(){return Pt};function Ot(t){return document.createElement(t)}function X(t,e){var i,s=t.length,n;for(i=0;i<s;i+=1){n=t[i].prototype;for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e.prototype[r]=n[r])}}function hs(t){function e(){}return e.prototype=t,e}var ls=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].pause()},resume:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].resume()},setRate:function(i){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),st=function(){function t(i,s){var n=0,r=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(n=0;n<s;n+=1)r.push(o);return r}function e(i,s){return i==="float32"?new Float32Array(s):i==="int16"?new Int16Array(s):i==="uint8c"?new Uint8ClampedArray(s):t(i,s)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function tt(t){return Array.apply(null,{length:t})}var hi=!0,li=null,fi="",fs=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),kt=Math.pow,pi=Math.sqrt,Kt=Math.floor,ps=Math.min,ui=150,J=Math.PI/180,Bt=.5519;function Ge(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function ci(t,e){this.type=t,this.direction=e<0?-1:1}function vi(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function di(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function mi(t,e){this.type=t,this.target=e}function us(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function cs(t){this.type="configError",this.nativeError=t}var ft=function(){var t=0;return function(){return t+=1,fi+"__lottie_element_"+t}}();function Xe(t,e,i){var s,n,r,o,c,h,m,_;switch(o=Math.floor(t*6),c=t*6-o,h=i*(1-e),m=i*(1-c*e),_=i*(1-(1-c)*e),o%6){case 0:s=i,n=_,r=h;break;case 1:s=m,n=i,r=h;break;case 2:s=h,n=i,r=_;break;case 3:s=h,n=m,r=i;break;case 4:s=_,n=h,r=i;break;case 5:s=i,n=h,r=m;break}return[s,n,r]}function Ye(t,e,i){var s=Math.max(t,e,i),n=Math.min(t,e,i),r=s-n,o,c=s===0?0:r/s,h=s/255;switch(s){case n:o=0;break;case t:o=e-i+r*(e<i?6:0),o/=6*r;break;case e:o=i-t+r*2,o/=6*r;break;case i:o=t-e+r*4,o/=6*r;break}return[o,c,h]}function gi(t,e){var i=Ye(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),Xe(i[0],i[1],i[2])}function yi(t,e){var i=Ye(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),Xe(i[0],i[1],i[2])}function _i(t,e){var i=Ye(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),Xe(i[0],i[1],i[2])}(function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(s,n,r){return s<0&&(s=0),n<0&&(n=0),r<0&&(r=0),"#"+t[s]+t[n]+t[r]}})();var vs=function(e){hi=!!e},ds=function(){return hi},ms=function(e){li=e},Te=function(){return li},Me=function(e){ui=e},Ee=function(){return ui},gs=function(e){fi=e};function W(t){return document.createElementNS(ie,t)}function He(t){"@babel/helpers - typeof";return He=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},He(t)}var pe=function(){var t=1,e=[],i,s,n={onmessage:function(){},postMessage:function(b){i({data:b})}},r={postMessage:function(b){n.onmessage({data:b})}};function o(p){if(window.Worker&&window.Blob&&as()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),k=URL.createObjectURL(b);return new Worker(k)}return i=p,n}function c(){s||(s=o(function(b){function k(){function C(F,v){var P,a,l=F.length,E,w,R,z;for(a=0;a<l;a+=1)if(P=F[a],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var D=P.masksProperties;for(w=D.length,E=0;E<w;E+=1)if(D[E].pt.k.i)g(D[E].pt.k);else for(z=D[E].pt.k.length,R=0;R<z;R+=1)D[E].pt.k[R].s&&g(D[E].pt.k[R].s[0]),D[E].pt.k[R].e&&g(D[E].pt.k[R].e[0])}P.ty===0?(P.layers=f(P.refId,v),C(P.layers,v)):P.ty===4?u(P.shapes):P.ty===5&&G(P)}}function y(F,v){if(F){var P=0,a=F.length;for(P=0;P<a;P+=1)F[P].t===1&&(F[P].data.layers=f(F[P].data.refId,v),C(F[P].data.layers,v))}}function d(F,v){for(var P=0,a=v.length;P<a;){if(v[P].id===F)return v[P];P+=1}return null}function f(F,v){var P=d(F,v);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function u(F){var v,P=F.length,a,l;for(v=P-1;v>=0;v-=1)if(F[v].ty==="sh")if(F[v].ks.k.i)g(F[v].ks.k);else for(l=F[v].ks.k.length,a=0;a<l;a+=1)F[v].ks.k[a].s&&g(F[v].ks.k[a].s[0]),F[v].ks.k[a].e&&g(F[v].ks.k[a].e[0]);else F[v].ty==="gr"&&u(F[v].it)}function g(F){var v,P=F.i.length;for(v=0;v<P;v+=1)F.i[v][0]+=F.v[v][0],F.i[v][1]+=F.v[v][1],F.o[v][0]+=F.v[v][0],F.o[v][1]+=F.v[v][1]}function A(F,v){var P=v?v.split("."):[100,100,100];return F[0]>P[0]?!0:P[0]>F[0]?!1:F[1]>P[1]?!0:P[1]>F[1]?!1:F[2]>P[2]?!0:P[2]>F[2]?!1:null}var T=function(){var F=[4,4,14];function v(a){var l=a.t.d;a.t.d={k:[{s:l,t:0}]}}function P(a){var l,E=a.length;for(l=0;l<E;l+=1)a[l].ty===5&&v(a[l])}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}(),x=function(){var F=[4,7,99];return function(v){if(v.chars&&!A(F,v.v)){var P,a=v.chars.length;for(P=0;P<a;P+=1){var l=v.chars[P];l.data&&l.data.shapes&&(u(l.data.shapes),l.data.ip=0,l.data.op=99999,l.data.st=0,l.data.sr=1,l.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},v.chars[P].t||(l.data.shapes.push({ty:"no"}),l.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),I=function(){var F=[5,7,15];function v(a){var l=a.t.p;typeof l.a=="number"&&(l.a={a:0,k:l.a}),typeof l.p=="number"&&(l.p={a:0,k:l.p}),typeof l.r=="number"&&(l.r={a:0,k:l.r})}function P(a){var l,E=a.length;for(l=0;l<E;l+=1)a[l].ty===5&&v(a[l])}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}(),q=function(){var F=[4,1,9];function v(a){var l,E=a.length,w,R;for(l=0;l<E;l+=1)if(a[l].ty==="gr")v(a[l].it);else if(a[l].ty==="fl"||a[l].ty==="st")if(a[l].c.k&&a[l].c.k[0].i)for(R=a[l].c.k.length,w=0;w<R;w+=1)a[l].c.k[w].s&&(a[l].c.k[w].s[0]/=255,a[l].c.k[w].s[1]/=255,a[l].c.k[w].s[2]/=255,a[l].c.k[w].s[3]/=255),a[l].c.k[w].e&&(a[l].c.k[w].e[0]/=255,a[l].c.k[w].e[1]/=255,a[l].c.k[w].e[2]/=255,a[l].c.k[w].e[3]/=255);else a[l].c.k[0]/=255,a[l].c.k[1]/=255,a[l].c.k[2]/=255,a[l].c.k[3]/=255}function P(a){var l,E=a.length;for(l=0;l<E;l+=1)a[l].ty===4&&v(a[l].shapes)}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}(),N=function(){var F=[4,4,18];function v(a){var l,E=a.length,w,R;for(l=E-1;l>=0;l-=1)if(a[l].ty==="sh")if(a[l].ks.k.i)a[l].ks.k.c=a[l].closed;else for(R=a[l].ks.k.length,w=0;w<R;w+=1)a[l].ks.k[w].s&&(a[l].ks.k[w].s[0].c=a[l].closed),a[l].ks.k[w].e&&(a[l].ks.k[w].e[0].c=a[l].closed);else a[l].ty==="gr"&&v(a[l].it)}function P(a){var l,E,w=a.length,R,z,D,Y;for(E=0;E<w;E+=1){if(l=a[E],l.hasMask){var H=l.masksProperties;for(z=H.length,R=0;R<z;R+=1)if(H[R].pt.k.i)H[R].pt.k.c=H[R].cl;else for(Y=H[R].pt.k.length,D=0;D<Y;D+=1)H[R].pt.k[D].s&&(H[R].pt.k[D].s[0].c=H[R].cl),H[R].pt.k[D].e&&(H[R].pt.k[D].e[0].c=H[R].cl)}l.ty===4&&v(l.shapes)}}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}();function L(F){F.__complete||(q(F),T(F),x(F),I(F),N(F),C(F.layers,F.assets),y(F.chars,F.assets),F.__complete=!0)}function G(F){F.t.a.length===0&&"m"in F.t.p}var O={};return O.completeData=L,O.checkColors=q,O.checkChars=x,O.checkPathProperties=I,O.checkShapes=N,O.completeLayers=C,O}if(r.dataManager||(r.dataManager=k()),r.assetLoader||(r.assetLoader=function(){function C(d){var f=d.getResponseHeader("content-type");return f&&d.responseType==="json"&&f.indexOf("json")!==-1||d.response&&He(d.response)==="object"?d.response:d.response&&typeof d.response=="string"?JSON.parse(d.response):d.responseText?JSON.parse(d.responseText):null}function y(d,f,u,g){var A,T=new XMLHttpRequest;try{T.responseType="json"}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)A=C(T),u(A);else try{A=C(T),u(A)}catch(x){g&&g(x)}};try{T.open(["G","E","T"].join(""),d,!0)}catch{T.open(["G","E","T"].join(""),f+"/"+d,!0)}T.send()}return{load:y}}()),b.data.type==="loadAnimation")r.assetLoader.load(b.data.path,b.data.fullPath,function(C){r.dataManager.completeData(C),r.postMessage({id:b.data.id,payload:C,status:"success"})},function(){r.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var S=b.data.animation;r.dataManager.completeData(S),r.postMessage({id:b.data.id,payload:S,status:"success"})}else b.data.type==="loadData"&&r.assetLoader.load(b.data.path,b.data.fullPath,function(C){r.postMessage({id:b.data.id,payload:C,status:"success"})},function(){r.postMessage({id:b.data.id,status:"error"})})}),s.onmessage=function(p){var b=p.data,k=b.id,S=e[k];e[k]=null,b.status==="success"?S.onComplete(b.payload):S.onError&&S.onError()})}function h(p,b){t+=1;var k="processId_"+t;return e[k]={onComplete:p,onError:b},k}function m(p,b,k){c();var S=h(b,k);s.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:S})}function _(p,b,k){c();var S=h(b,k);s.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:S})}function M(p,b,k){c();var S=h(b,k);s.postMessage({type:"complete",animation:p,id:S})}return{loadAnimation:m,loadData:_,completeAnimation:M}}(),ys=function(){var t=function(){var y=Ot("canvas");y.width=1,y.height=1;var d=y.getContext("2d");return d.fillStyle="rgba(0,0,0,0)",d.fillRect(0,0,1,1),y}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(y,d,f){var u="";if(y.e)u=y.p;else if(d){var g=y.p;g.indexOf("images/")!==-1&&(g=g.split("/")[1]),u=d+g}else u=f,u+=y.u?y.u:"",u+=y.p;return u}function n(y){var d=0,f=setInterval((function(){var u=y.getBBox();(u.width||d>500)&&(this._imageLoaded(),clearInterval(f)),d+=1}).bind(this),50)}function r(y){var d=s(y,this.assetsPath,this.path),f=W("image");fs?this.testImageLoaded(f):f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",(function(){u.img=t,this._imageLoaded()}).bind(this),!1),f.setAttributeNS("http://www.w3.org/1999/xlink","href",d),this._elementHelper.append?this._elementHelper.append(f):this._elementHelper.appendChild(f);var u={img:f,assetData:y};return u}function o(y){var d=s(y,this.assetsPath,this.path),f=Ot("img");f.crossOrigin="anonymous",f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",(function(){u.img=t,this._imageLoaded()}).bind(this),!1),f.src=d;var u={img:f,assetData:y};return u}function c(y){var d={assetData:y},f=s(y,this.assetsPath,this.path);return pe.loadData(f,(function(u){d.img=u,this._footageLoaded()}).bind(this),(function(){d.img={},this._footageLoaded()}).bind(this)),d}function h(y,d){this.imagesLoadedCb=d;var f,u=y.length;for(f=0;f<u;f+=1)y[f].layers||(!y[f].t||y[f].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[f]))):y[f].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[f]))))}function m(y){this.path=y||""}function _(y){this.assetsPath=y||""}function M(y){for(var d=0,f=this.images.length;d<f;){if(this.images[d].assetData===y)return this.images[d].img;d+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function k(){return this.totalFootages===this.loadedFootagesCount}function S(y,d){y==="svg"?(this._elementHelper=d,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=c.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:h,setAssetsPath:_,setPath:m,loadedImages:b,loadedFootages:k,destroy:p,getAsset:M,createImgData:o,createImageData:r,imageLoaded:e,footageLoaded:i,setCacheType:S},C}();function bi(){}bi.prototype={triggerEvent:function(e,i){if(this._cbs[e])for(var s=this._cbs[e],n=0;n<s.length;n+=1)s[n](i)},addEventListener:function(e,i){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(i),(function(){this.removeEventListener(e,i)}).bind(this)},removeEventListener:function(e,i){if(!i)this._cbs[e]=null;else if(this._cbs[e]){for(var s=0,n=this._cbs[e].length;s<n;)this._cbs[e][s]===i&&(this._cbs[e].splice(s,1),s-=1,n-=1),s+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var _s=function(){function t(e){for(var i=e.split(`\r
1
+ import{g as ur,c as cr}from"./index-C8GaSH__.js";function vr(fe,Ce){for(var ie=0;ie<Ce.length;ie++){const Pt=Ce[ie];if(typeof Pt!="string"&&!Array.isArray(Pt)){for(const Rt in Pt)if(Rt!=="default"&&!(Rt in fe)){const Zt=Object.getOwnPropertyDescriptor(Pt,Rt);Zt&&Object.defineProperty(fe,Rt,Zt.get?Zt:{enumerable:!0,get:()=>Pt[Rt]})}}}return Object.freeze(Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}))}var oi={exports:{}};(function(fe,Ce){typeof document<"u"&&typeof navigator<"u"&&function(ie,Pt){fe.exports=Pt()}(cr,function(){var ie="http://www.w3.org/2000/svg",Pt="",Rt=!1,Zt=-999999,ns=function(e){Rt=!!e},as=function(){return Rt},os=function(e){Pt=e},dt=function(){return Pt};function Ot(t){return document.createElement(t)}function X(t,e){var i,s=t.length,n;for(i=0;i<s;i+=1){n=t[i].prototype;for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e.prototype[r]=n[r])}}function hs(t){function e(){}return e.prototype=t,e}var ls=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].pause()},resume:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].resume()},setRate:function(i){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),st=function(){function t(i,s){var n=0,r=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(n=0;n<s;n+=1)r.push(o);return r}function e(i,s){return i==="float32"?new Float32Array(s):i==="int16"?new Int16Array(s):i==="uint8c"?new Uint8ClampedArray(s):t(i,s)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function tt(t){return Array.apply(null,{length:t})}var hi=!0,li=null,fi="",fs=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),kt=Math.pow,pi=Math.sqrt,Kt=Math.floor,ps=Math.min,ui=150,J=Math.PI/180,Bt=.5519;function Ge(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function ci(t,e){this.type=t,this.direction=e<0?-1:1}function vi(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function di(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function mi(t,e){this.type=t,this.target=e}function us(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function cs(t){this.type="configError",this.nativeError=t}var ft=function(){var t=0;return function(){return t+=1,fi+"__lottie_element_"+t}}();function Xe(t,e,i){var s,n,r,o,c,h,m,_;switch(o=Math.floor(t*6),c=t*6-o,h=i*(1-e),m=i*(1-c*e),_=i*(1-(1-c)*e),o%6){case 0:s=i,n=_,r=h;break;case 1:s=m,n=i,r=h;break;case 2:s=h,n=i,r=_;break;case 3:s=h,n=m,r=i;break;case 4:s=_,n=h,r=i;break;case 5:s=i,n=h,r=m;break}return[s,n,r]}function Ye(t,e,i){var s=Math.max(t,e,i),n=Math.min(t,e,i),r=s-n,o,c=s===0?0:r/s,h=s/255;switch(s){case n:o=0;break;case t:o=e-i+r*(e<i?6:0),o/=6*r;break;case e:o=i-t+r*2,o/=6*r;break;case i:o=t-e+r*4,o/=6*r;break}return[o,c,h]}function gi(t,e){var i=Ye(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),Xe(i[0],i[1],i[2])}function yi(t,e){var i=Ye(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),Xe(i[0],i[1],i[2])}function _i(t,e){var i=Ye(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),Xe(i[0],i[1],i[2])}(function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(s,n,r){return s<0&&(s=0),n<0&&(n=0),r<0&&(r=0),"#"+t[s]+t[n]+t[r]}})();var vs=function(e){hi=!!e},ds=function(){return hi},ms=function(e){li=e},Te=function(){return li},Me=function(e){ui=e},Ee=function(){return ui},gs=function(e){fi=e};function W(t){return document.createElementNS(ie,t)}function He(t){"@babel/helpers - typeof";return He=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},He(t)}var pe=function(){var t=1,e=[],i,s,n={onmessage:function(){},postMessage:function(b){i({data:b})}},r={postMessage:function(b){n.onmessage({data:b})}};function o(p){if(window.Worker&&window.Blob&&as()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",p.toString()],{type:"text/javascript"}),k=URL.createObjectURL(b);return new Worker(k)}return i=p,n}function c(){s||(s=o(function(b){function k(){function C(F,v){var P,a,l=F.length,E,w,R,z;for(a=0;a<l;a+=1)if(P=F[a],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var D=P.masksProperties;for(w=D.length,E=0;E<w;E+=1)if(D[E].pt.k.i)g(D[E].pt.k);else for(z=D[E].pt.k.length,R=0;R<z;R+=1)D[E].pt.k[R].s&&g(D[E].pt.k[R].s[0]),D[E].pt.k[R].e&&g(D[E].pt.k[R].e[0])}P.ty===0?(P.layers=f(P.refId,v),C(P.layers,v)):P.ty===4?u(P.shapes):P.ty===5&&G(P)}}function y(F,v){if(F){var P=0,a=F.length;for(P=0;P<a;P+=1)F[P].t===1&&(F[P].data.layers=f(F[P].data.refId,v),C(F[P].data.layers,v))}}function d(F,v){for(var P=0,a=v.length;P<a;){if(v[P].id===F)return v[P];P+=1}return null}function f(F,v){var P=d(F,v);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function u(F){var v,P=F.length,a,l;for(v=P-1;v>=0;v-=1)if(F[v].ty==="sh")if(F[v].ks.k.i)g(F[v].ks.k);else for(l=F[v].ks.k.length,a=0;a<l;a+=1)F[v].ks.k[a].s&&g(F[v].ks.k[a].s[0]),F[v].ks.k[a].e&&g(F[v].ks.k[a].e[0]);else F[v].ty==="gr"&&u(F[v].it)}function g(F){var v,P=F.i.length;for(v=0;v<P;v+=1)F.i[v][0]+=F.v[v][0],F.i[v][1]+=F.v[v][1],F.o[v][0]+=F.v[v][0],F.o[v][1]+=F.v[v][1]}function A(F,v){var P=v?v.split("."):[100,100,100];return F[0]>P[0]?!0:P[0]>F[0]?!1:F[1]>P[1]?!0:P[1]>F[1]?!1:F[2]>P[2]?!0:P[2]>F[2]?!1:null}var T=function(){var F=[4,4,14];function v(a){var l=a.t.d;a.t.d={k:[{s:l,t:0}]}}function P(a){var l,E=a.length;for(l=0;l<E;l+=1)a[l].ty===5&&v(a[l])}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}(),x=function(){var F=[4,7,99];return function(v){if(v.chars&&!A(F,v.v)){var P,a=v.chars.length;for(P=0;P<a;P+=1){var l=v.chars[P];l.data&&l.data.shapes&&(u(l.data.shapes),l.data.ip=0,l.data.op=99999,l.data.st=0,l.data.sr=1,l.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},v.chars[P].t||(l.data.shapes.push({ty:"no"}),l.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),I=function(){var F=[5,7,15];function v(a){var l=a.t.p;typeof l.a=="number"&&(l.a={a:0,k:l.a}),typeof l.p=="number"&&(l.p={a:0,k:l.p}),typeof l.r=="number"&&(l.r={a:0,k:l.r})}function P(a){var l,E=a.length;for(l=0;l<E;l+=1)a[l].ty===5&&v(a[l])}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}(),q=function(){var F=[4,1,9];function v(a){var l,E=a.length,w,R;for(l=0;l<E;l+=1)if(a[l].ty==="gr")v(a[l].it);else if(a[l].ty==="fl"||a[l].ty==="st")if(a[l].c.k&&a[l].c.k[0].i)for(R=a[l].c.k.length,w=0;w<R;w+=1)a[l].c.k[w].s&&(a[l].c.k[w].s[0]/=255,a[l].c.k[w].s[1]/=255,a[l].c.k[w].s[2]/=255,a[l].c.k[w].s[3]/=255),a[l].c.k[w].e&&(a[l].c.k[w].e[0]/=255,a[l].c.k[w].e[1]/=255,a[l].c.k[w].e[2]/=255,a[l].c.k[w].e[3]/=255);else a[l].c.k[0]/=255,a[l].c.k[1]/=255,a[l].c.k[2]/=255,a[l].c.k[3]/=255}function P(a){var l,E=a.length;for(l=0;l<E;l+=1)a[l].ty===4&&v(a[l].shapes)}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}(),N=function(){var F=[4,4,18];function v(a){var l,E=a.length,w,R;for(l=E-1;l>=0;l-=1)if(a[l].ty==="sh")if(a[l].ks.k.i)a[l].ks.k.c=a[l].closed;else for(R=a[l].ks.k.length,w=0;w<R;w+=1)a[l].ks.k[w].s&&(a[l].ks.k[w].s[0].c=a[l].closed),a[l].ks.k[w].e&&(a[l].ks.k[w].e[0].c=a[l].closed);else a[l].ty==="gr"&&v(a[l].it)}function P(a){var l,E,w=a.length,R,z,D,Y;for(E=0;E<w;E+=1){if(l=a[E],l.hasMask){var H=l.masksProperties;for(z=H.length,R=0;R<z;R+=1)if(H[R].pt.k.i)H[R].pt.k.c=H[R].cl;else for(Y=H[R].pt.k.length,D=0;D<Y;D+=1)H[R].pt.k[D].s&&(H[R].pt.k[D].s[0].c=H[R].cl),H[R].pt.k[D].e&&(H[R].pt.k[D].e[0].c=H[R].cl)}l.ty===4&&v(l.shapes)}}return function(a){if(A(F,a.v)&&(P(a.layers),a.assets)){var l,E=a.assets.length;for(l=0;l<E;l+=1)a.assets[l].layers&&P(a.assets[l].layers)}}}();function L(F){F.__complete||(q(F),T(F),x(F),I(F),N(F),C(F.layers,F.assets),y(F.chars,F.assets),F.__complete=!0)}function G(F){F.t.a.length===0&&"m"in F.t.p}var O={};return O.completeData=L,O.checkColors=q,O.checkChars=x,O.checkPathProperties=I,O.checkShapes=N,O.completeLayers=C,O}if(r.dataManager||(r.dataManager=k()),r.assetLoader||(r.assetLoader=function(){function C(d){var f=d.getResponseHeader("content-type");return f&&d.responseType==="json"&&f.indexOf("json")!==-1||d.response&&He(d.response)==="object"?d.response:d.response&&typeof d.response=="string"?JSON.parse(d.response):d.responseText?JSON.parse(d.responseText):null}function y(d,f,u,g){var A,T=new XMLHttpRequest;try{T.responseType="json"}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)A=C(T),u(A);else try{A=C(T),u(A)}catch(x){g&&g(x)}};try{T.open(["G","E","T"].join(""),d,!0)}catch{T.open(["G","E","T"].join(""),f+"/"+d,!0)}T.send()}return{load:y}}()),b.data.type==="loadAnimation")r.assetLoader.load(b.data.path,b.data.fullPath,function(C){r.dataManager.completeData(C),r.postMessage({id:b.data.id,payload:C,status:"success"})},function(){r.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var S=b.data.animation;r.dataManager.completeData(S),r.postMessage({id:b.data.id,payload:S,status:"success"})}else b.data.type==="loadData"&&r.assetLoader.load(b.data.path,b.data.fullPath,function(C){r.postMessage({id:b.data.id,payload:C,status:"success"})},function(){r.postMessage({id:b.data.id,status:"error"})})}),s.onmessage=function(p){var b=p.data,k=b.id,S=e[k];e[k]=null,b.status==="success"?S.onComplete(b.payload):S.onError&&S.onError()})}function h(p,b){t+=1;var k="processId_"+t;return e[k]={onComplete:p,onError:b},k}function m(p,b,k){c();var S=h(b,k);s.postMessage({type:"loadAnimation",path:p,fullPath:window.location.origin+window.location.pathname,id:S})}function _(p,b,k){c();var S=h(b,k);s.postMessage({type:"loadData",path:p,fullPath:window.location.origin+window.location.pathname,id:S})}function M(p,b,k){c();var S=h(b,k);s.postMessage({type:"complete",animation:p,id:S})}return{loadAnimation:m,loadData:_,completeAnimation:M}}(),ys=function(){var t=function(){var y=Ot("canvas");y.width=1,y.height=1;var d=y.getContext("2d");return d.fillStyle="rgba(0,0,0,0)",d.fillRect(0,0,1,1),y}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(y,d,f){var u="";if(y.e)u=y.p;else if(d){var g=y.p;g.indexOf("images/")!==-1&&(g=g.split("/")[1]),u=d+g}else u=f,u+=y.u?y.u:"",u+=y.p;return u}function n(y){var d=0,f=setInterval((function(){var u=y.getBBox();(u.width||d>500)&&(this._imageLoaded(),clearInterval(f)),d+=1}).bind(this),50)}function r(y){var d=s(y,this.assetsPath,this.path),f=W("image");fs?this.testImageLoaded(f):f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",(function(){u.img=t,this._imageLoaded()}).bind(this),!1),f.setAttributeNS("http://www.w3.org/1999/xlink","href",d),this._elementHelper.append?this._elementHelper.append(f):this._elementHelper.appendChild(f);var u={img:f,assetData:y};return u}function o(y){var d=s(y,this.assetsPath,this.path),f=Ot("img");f.crossOrigin="anonymous",f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",(function(){u.img=t,this._imageLoaded()}).bind(this),!1),f.src=d;var u={img:f,assetData:y};return u}function c(y){var d={assetData:y},f=s(y,this.assetsPath,this.path);return pe.loadData(f,(function(u){d.img=u,this._footageLoaded()}).bind(this),(function(){d.img={},this._footageLoaded()}).bind(this)),d}function h(y,d){this.imagesLoadedCb=d;var f,u=y.length;for(f=0;f<u;f+=1)y[f].layers||(!y[f].t||y[f].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[f]))):y[f].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[f]))))}function m(y){this.path=y||""}function _(y){this.assetsPath=y||""}function M(y){for(var d=0,f=this.images.length;d<f;){if(this.images[d].assetData===y)return this.images[d].img;d+=1}return null}function p(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function k(){return this.totalFootages===this.loadedFootagesCount}function S(y,d){y==="svg"?(this._elementHelper=d,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=c.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:h,setAssetsPath:_,setPath:m,loadedImages:b,loadedFootages:k,destroy:p,getAsset:M,createImgData:o,createImageData:r,imageLoaded:e,footageLoaded:i,setCacheType:S},C}();function bi(){}bi.prototype={triggerEvent:function(e,i){if(this._cbs[e])for(var s=this._cbs[e],n=0;n<s.length;n+=1)s[n](i)},addEventListener:function(e,i){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(i),(function(){this.removeEventListener(e,i)}).bind(this)},removeEventListener:function(e,i){if(!i)this._cbs[e]=null;else if(this._cbs[e]){for(var s=0,n=this._cbs[e].length;s<n;)this._cbs[e][s]===i&&(this._cbs[e].splice(s,1),s-=1,n-=1),s+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var _s=function(){function t(e){for(var i=e.split(`\r
2
2
  `),s={},n,r=0,o=0;o<i.length;o+=1)n=i[o].split(":"),n.length===2&&(s[n[0]]=n[1].trim(),r+=1);if(r===0)throw new Error;return s}return function(e){for(var i=[],s=0;s<e.length;s+=1){var n=e[s],r={time:n.tm,duration:n.dr};try{r.payload=JSON.parse(e[s].cm)}catch{try{r.payload=t(e[s].cm)}catch{r.payload={name:e[s].cm}}}i.push(r)}return i}}(),bs=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var s=0,n=this.compositions.length;s<n;){if(this.compositions[s].data&&this.compositions[s].data.nm===i)return this.compositions[s].prepareFrame&&this.compositions[s].data.xt&&this.compositions[s].prepareFrame(this.currentFrame),this.compositions[s].compInterface;s+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),ue={},Ss=function(e,i){ue[e]=i};function Ps(t){return ue[t]}function ks(){if(ue.canvas)return"canvas";for(var t in ue)if(ue[t])return t;return""}function xe(t){"@babel/helpers - typeof";return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe(t)}var j=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=ft(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=ds(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=bs(),this.imagePreloader=new ys,this.audioController=ls(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ge("drawnFrame",0,0,0),this.expressionsPlugin=Te()};X([bi],j),j.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=Ps(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),pe.loadAnimation(t.path,this.configAnimation,this.onSetupError))},j.prototype.onSetupError=function(){this.trigger("data_failed")},j.prototype.setupAnimation=function(t){pe.completeAnimation(t,this.configAnimation)},j.prototype.setData=function(t,e){e&&xe(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},s=t.attributes;i.path=s.getNamedItem("data-animation-path")?s.getNamedItem("data-animation-path").value:s.getNamedItem("data-bm-path")?s.getNamedItem("data-bm-path").value:s.getNamedItem("bm-path")?s.getNamedItem("bm-path").value:"",i.animType=s.getNamedItem("data-anim-type")?s.getNamedItem("data-anim-type").value:s.getNamedItem("data-bm-type")?s.getNamedItem("data-bm-type").value:s.getNamedItem("bm-type")?s.getNamedItem("bm-type").value:s.getNamedItem("data-bm-renderer")?s.getNamedItem("data-bm-renderer").value:s.getNamedItem("bm-renderer")?s.getNamedItem("bm-renderer").value:ks()||"canvas";var n=s.getNamedItem("data-anim-loop")?s.getNamedItem("data-anim-loop").value:s.getNamedItem("data-bm-loop")?s.getNamedItem("data-bm-loop").value:s.getNamedItem("bm-loop")?s.getNamedItem("bm-loop").value:"";n==="false"?i.loop=!1:n==="true"?i.loop=!0:n!==""&&(i.loop=parseInt(n,10));var r=s.getNamedItem("data-anim-autoplay")?s.getNamedItem("data-anim-autoplay").value:s.getNamedItem("data-bm-autoplay")?s.getNamedItem("data-bm-autoplay").value:s.getNamedItem("bm-autoplay")?s.getNamedItem("bm-autoplay").value:!0;i.autoplay=r!=="false",i.name=s.getNamedItem("data-name")?s.getNamedItem("data-name").value:s.getNamedItem("data-bm-name")?s.getNamedItem("data-bm-name").value:s.getNamedItem("bm-name")?s.getNamedItem("bm-name").value:"";var o=s.getNamedItem("data-anim-prerender")?s.getNamedItem("data-anim-prerender").value:s.getNamedItem("data-bm-prerender")?s.getNamedItem("data-bm-prerender").value:s.getNamedItem("bm-prerender")?s.getNamedItem("bm-prerender").value:"";o==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},j.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,i,s=e.length,n=t.layers,r,o=n.length;for(r=0;r<o;r+=1)for(i=0;i<s;){if(e[i].id===n[r].id){e[i]=n[r];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(s=t.assets.length,i=0;i<s;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,pe.completeAnimation(this.animationData,this.onSegmentComplete)},j.prototype.onSegmentComplete=function(t){this.animationData=t;var e=Te();e&&e.initExpressions(this),this.loadNextSegment()},j.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,pe.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},j.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},j.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},j.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},j.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=_s(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},j.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},j.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=Te();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},j.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,s=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,s)},j.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},j.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},j.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},j.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},j.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},j.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},j.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},j.prototype.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},j.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var s=Number(t);if(isNaN(s)){var n=this.getMarkerData(t);n&&this.goToAndStop(n.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},j.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var s=Number(t);if(isNaN(s)){var n=this.getMarkerData(t);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(s,e,i);this.play()}},j.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,e=0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},j.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},j.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},j.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),xe(t[0])==="object"){var i,s=t.length;for(i=0;i<s;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},j.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},j.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},j.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},j.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},j.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},j.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},j.prototype.setLoop=function(t){this.loop=t},j.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},j.prototype.getVolume=function(){return this.audioController.getVolume()},j.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},j.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},j.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},j.prototype.getPath=function(){return this.path},j.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},j.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},j.prototype.hide=function(){this.renderer.hide()},j.prototype.show=function(){this.renderer.show()},j.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},j.prototype.updateDocumentData=function(t,e,i){try{var s=this.renderer.getElementByPath(t);s.updateDocumentData(e,i)}catch{}},j.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new Ge(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new vi(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new ci(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new di(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new mi(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ge(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new vi(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new ci(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new di(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new mi(t,this))},j.prototype.triggerRenderFrameError=function(t){var e=new us(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},j.prototype.triggerConfigError=function(t){var e=new cs(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var et=function(){var t={},e=[],i=0,s=0,n=0,r=!0,o=!1;function c(v){for(var P=0,a=v.target;P<s;)e[P].animation===a&&(e.splice(P,1),P-=1,s-=1,a.isPaused||M()),P+=1}function h(v,P){if(!v)return null;for(var a=0;a<s;){if(e[a].elem===v&&e[a].elem!==null)return e[a].animation;a+=1}var l=new j;return p(l,v),l.setData(v,P),l}function m(){var v,P=e.length,a=[];for(v=0;v<P;v+=1)a.push(e[v].animation);return a}function _(){n+=1,q()}function M(){n-=1}function p(v,P){v.addEventListener("destroy",c),v.addEventListener("_active",_),v.addEventListener("_idle",M),e.push({elem:P,animation:v}),s+=1}function b(v){var P=new j;return p(P,null),P.setParams(v),P}function k(v,P){var a;for(a=0;a<s;a+=1)e[a].animation.setSpeed(v,P)}function S(v,P){var a;for(a=0;a<s;a+=1)e[a].animation.setDirection(v,P)}function C(v){var P;for(P=0;P<s;P+=1)e[P].animation.play(v)}function y(v){var P=v-i,a;for(a=0;a<s;a+=1)e[a].animation.advanceTime(P);i=v,n&&!o?window.requestAnimationFrame(y):r=!0}function d(v){i=v,window.requestAnimationFrame(y)}function f(v){var P;for(P=0;P<s;P+=1)e[P].animation.pause(v)}function u(v,P,a){var l;for(l=0;l<s;l+=1)e[l].animation.goToAndStop(v,P,a)}function g(v){var P;for(P=0;P<s;P+=1)e[P].animation.stop(v)}function A(v){var P;for(P=0;P<s;P+=1)e[P].animation.togglePause(v)}function T(v){var P;for(P=s-1;P>=0;P-=1)e[P].animation.destroy(v)}function x(v,P,a){var l=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),E,w=l.length;for(E=0;E<w;E+=1)a&&l[E].setAttribute("data-bm-type",a),h(l[E],v);if(P&&w===0){a||(a="svg");var R=document.getElementsByTagName("body")[0];R.innerText="";var z=Ot("div");z.style.width="100%",z.style.height="100%",z.setAttribute("data-bm-type",a),R.appendChild(z),h(z,v)}}function I(){var v;for(v=0;v<s;v+=1)e[v].animation.resize()}function q(){!o&&n&&r&&(window.requestAnimationFrame(d),r=!1)}function N(){o=!0}function L(){o=!1,q()}function G(v,P){var a;for(a=0;a<s;a+=1)e[a].animation.setVolume(v,P)}function O(v){var P;for(P=0;P<s;P+=1)e[P].animation.mute(v)}function F(v){var P;for(P=0;P<s;P+=1)e[P].animation.unmute(v)}return t.registerAnimation=h,t.loadAnimation=b,t.setSpeed=k,t.setDirection=S,t.play=C,t.pause=f,t.stop=g,t.togglePause=A,t.searchAnimations=x,t.resize=I,t.goToAndStop=u,t.destroy=T,t.freeze=N,t.unfreeze=L,t.setVolume=G,t.mute=O,t.unmute=F,t.getRegisteredAnimations=m,t}(),ce=function(){var t={};t.getBezierEasing=i;var e={};function i(d,f,u,g,A){var T=A||("bez_"+d+"_"+f+"_"+u+"_"+g).replace(/\./g,"p");if(e[T])return e[T];var x=new y([d,f,u,g]);return e[T]=x,x}var s=4,n=.001,r=1e-7,o=10,c=11,h=1/(c-1),m=typeof Float32Array=="function";function _(d,f){return 1-3*f+3*d}function M(d,f){return 3*f-6*d}function p(d){return 3*d}function b(d,f,u){return((_(f,u)*d+M(f,u))*d+p(f))*d}function k(d,f,u){return 3*_(f,u)*d*d+2*M(f,u)*d+p(f)}function S(d,f,u,g,A){var T,x,I=0;do x=f+(u-f)/2,T=b(x,g,A)-d,T>0?u=x:f=x;while(Math.abs(T)>r&&++I<o);return x}function C(d,f,u,g){for(var A=0;A<s;++A){var T=k(f,u,g);if(T===0)return f;var x=b(f,u,g)-d;f-=x/T}return f}function y(d){this._p=d,this._mSampleValues=m?new Float32Array(c):new Array(c),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(f){var u=this._p[0],g=this._p[1],A=this._p[2],T=this._p[3];return this._precomputed||this._precompute(),u===g&&A===T?f:f===0?0:f===1?1:b(this._getTForX(f),g,T)},_precompute:function(){var f=this._p[0],u=this._p[1],g=this._p[2],A=this._p[3];this._precomputed=!0,(f!==u||g!==A)&&this._calcSampleValues()},_calcSampleValues:function(){for(var f=this._p[0],u=this._p[2],g=0;g<c;++g)this._mSampleValues[g]=b(g*h,f,u)},_getTForX:function(f){for(var u=this._p[0],g=this._p[2],A=this._mSampleValues,T=0,x=1,I=c-1;x!==I&&A[x]<=f;++x)T+=h;--x;var q=(f-A[x])/(A[x+1]-A[x]),N=T+q*h,L=k(N,u,g);return L>=n?C(f,N,u,g):L===0?N:S(f,T,T+h,u,g)}},t}(),Si=function(){function t(e){return e.concat(tt(e.length))}return{double:t}}(),Fe=function(){return function(t,e,i){var s=0,n=t,r=tt(n),o={newElement:c,release:h};function c(){var m;return s?(s-=1,m=r[s]):m=e(),m}function h(m){s===n&&(r=Si.double(r),n*=2),i&&i(m),r[s]=m,s+=1}return o}}(),Pi=function(){function t(){return{addedLength:0,percents:st("float32",Ee()),lengths:st("float32",Ee())}}return Fe(8,t)}(),ki=function(){function t(){return{lengths:[],totalLength:0}}function e(i){var s,n=i.lengths.length;for(s=0;s<n;s+=1)Pi.release(i.lengths[s]);i.lengths.length=0}return Fe(8,t,e)}();function As(){var t=Math;function e(p,b,k,S,C,y){var d=p*S+b*C+k*y-C*S-y*p-k*b;return d>-.001&&d<.001}function i(p,b,k,S,C,y,d,f,u){if(k===0&&y===0&&u===0)return e(p,b,S,C,d,f);var g=t.sqrt(t.pow(S-p,2)+t.pow(C-b,2)+t.pow(y-k,2)),A=t.sqrt(t.pow(d-p,2)+t.pow(f-b,2)+t.pow(u-k,2)),T=t.sqrt(t.pow(d-S,2)+t.pow(f-C,2)+t.pow(u-y,2)),x;return g>A?g>T?x=g-A-T:x=T-A-g:T>A?x=T-A-g:x=A-g-T,x>-1e-4&&x<1e-4}var s=function(){return function(p,b,k,S){var C=Ee(),y,d,f,u,g,A=0,T,x=[],I=[],q=Pi.newElement();for(f=k.length,y=0;y<C;y+=1){for(g=y/(C-1),T=0,d=0;d<f;d+=1)u=kt(1-g,3)*p[d]+3*kt(1-g,2)*g*k[d]+3*(1-g)*kt(g,2)*S[d]+kt(g,3)*b[d],x[d]=u,I[d]!==null&&(T+=kt(x[d]-I[d],2)),I[d]=x[d];T&&(T=pi(T),A+=T),q.percents[y]=g,q.lengths[y]=A}return q.addedLength=A,q}}();function n(p){var b=ki.newElement(),k=p.c,S=p.v,C=p.o,y=p.i,d,f=p._length,u=b.lengths,g=0;for(d=0;d<f-1;d+=1)u[d]=s(S[d],S[d+1],C[d],y[d+1]),g+=u[d].addedLength;return k&&f&&(u[d]=s(S[d],S[0],C[d],y[0]),g+=u[d].addedLength),b.totalLength=g,b}function r(p){this.segmentLength=0,this.points=new Array(p)}function o(p,b){this.partialLength=p,this.point=b}var c=function(){var p={};return function(b,k,S,C){var y=(b[0]+"_"+b[1]+"_"+k[0]+"_"+k[1]+"_"+S[0]+"_"+S[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!p[y]){var d=Ee(),f,u,g,A,T,x=0,I,q,N=null;b.length===2&&(b[0]!==k[0]||b[1]!==k[1])&&e(b[0],b[1],k[0],k[1],b[0]+S[0],b[1]+S[1])&&e(b[0],b[1],k[0],k[1],k[0]+C[0],k[1]+C[1])&&(d=2);var L=new r(d);for(g=S.length,f=0;f<d;f+=1){for(q=tt(g),T=f/(d-1),I=0,u=0;u<g;u+=1)A=kt(1-T,3)*b[u]+3*kt(1-T,2)*T*(b[u]+S[u])+3*(1-T)*kt(T,2)*(k[u]+C[u])+kt(T,3)*k[u],q[u]=A,N!==null&&(I+=kt(q[u]-N[u],2));I=pi(I),x+=I,L.points[f]=new o(I,q),N=q}L.segmentLength=x,p[y]=L}return p[y]}}();function h(p,b){var k=b.percents,S=b.lengths,C=k.length,y=Kt((C-1)*p),d=p*b.addedLength,f=0;if(y===C-1||y===0||d===S[y])return k[y];for(var u=S[y]>d?-1:1,g=!0;g;)if(S[y]<=d&&S[y+1]>d?(f=(d-S[y])/(S[y+1]-S[y]),g=!1):y+=u,y<0||y>=C-1){if(y===C-1)return k[y];g=!1}return k[y]+(k[y+1]-k[y])*f}function m(p,b,k,S,C,y){var d=h(C,y),f=1-d,u=t.round((f*f*f*p[0]+(d*f*f+f*d*f+f*f*d)*k[0]+(d*d*f+f*d*d+d*f*d)*S[0]+d*d*d*b[0])*1e3)/1e3,g=t.round((f*f*f*p[1]+(d*f*f+f*d*f+f*f*d)*k[1]+(d*d*f+f*d*d+d*f*d)*S[1]+d*d*d*b[1])*1e3)/1e3;return[u,g]}var _=st("float32",8);function M(p,b,k,S,C,y,d){C<0?C=0:C>1&&(C=1);var f=h(C,d);y=y>1?1:y;var u=h(y,d),g,A=p.length,T=1-f,x=1-u,I=T*T*T,q=f*T*T*3,N=f*f*T*3,L=f*f*f,G=T*T*x,O=f*T*x+T*f*x+T*T*u,F=f*f*x+T*f*u+f*T*u,v=f*f*u,P=T*x*x,a=f*x*x+T*u*x+T*x*u,l=f*u*x+T*u*u+f*x*u,E=f*u*u,w=x*x*x,R=u*x*x+x*u*x+x*x*u,z=u*u*x+x*u*u+u*x*u,D=u*u*u;for(g=0;g<A;g+=1)_[g*4]=t.round((I*p[g]+q*k[g]+N*S[g]+L*b[g])*1e3)/1e3,_[g*4+1]=t.round((G*p[g]+O*k[g]+F*S[g]+v*b[g])*1e3)/1e3,_[g*4+2]=t.round((P*p[g]+a*k[g]+l*S[g]+E*b[g])*1e3)/1e3,_[g*4+3]=t.round((w*p[g]+R*k[g]+z*S[g]+D*b[g])*1e3)/1e3;return _}return{getSegmentsLength:n,getNewSegment:M,getPointInSegment:m,buildBezierData:c,pointOnLine2D:e,pointOnLine3D:i}}var At=As(),Ut=Zt,Ai=Math.abs;function wi(t,e){var i=this.offsetTime,s;this.propType==="multidimensional"&&(s=st("float32",this.pv.length));for(var n=e.lastIndex,r=n,o=this.keyframes.length-1,c=!0,h,m,_;c;){if(h=this.keyframes[r],m=this.keyframes[r+1],r===o-1&&t>=m.t-i){h.h&&(h=m),n=0;break}if(m.t-i>t){n=r;break}r<o-1?r+=1:(n=0,c=!1)}_=this.keyframesMetadata[r]||{};var M,p,b,k,S,C,y=m.t-i,d=h.t-i,f;if(h.to){_.bezierData||(_.bezierData=At.buildBezierData(h.s,m.s||h.e,h.to,h.ti));var u=_.bezierData;if(t>=y||t<d){var g=t>=y?u.points.length-1:0;for(p=u.points[g].point.length,M=0;M<p;M+=1)s[M]=u.points[g].point[M]}else{_.__fnct?C=_.__fnct:(C=ce.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y,h.n).get,_.__fnct=C),b=C((t-d)/(y-d));var A=u.segmentLength*b,T,x=e.lastFrame<t&&e._lastKeyframeIndex===r?e._lastAddedLength:0;for(S=e.lastFrame<t&&e._lastKeyframeIndex===r?e._lastPoint:0,c=!0,k=u.points.length;c;){if(x+=u.points[S].partialLength,A===0||b===0||S===u.points.length-1){for(p=u.points[S].point.length,M=0;M<p;M+=1)s[M]=u.points[S].point[M];break}else if(A>=x&&A<x+u.points[S+1].partialLength){for(T=(A-x)/u.points[S+1].partialLength,p=u.points[S].point.length,M=0;M<p;M+=1)s[M]=u.points[S].point[M]+(u.points[S+1].point[M]-u.points[S].point[M])*T;break}S<k-1?S+=1:c=!1}e._lastPoint=S,e._lastAddedLength=x-u.points[S].partialLength,e._lastKeyframeIndex=r}}else{var I,q,N,L,G;if(o=h.s.length,f=m.s||h.e,this.sh&&h.h!==1)if(t>=y)s[0]=f[0],s[1]=f[1],s[2]=f[2];else if(t<=d)s[0]=h.s[0],s[1]=h.s[1],s[2]=h.s[2];else{var O=Ci(h.s),F=Ci(f),v=(t-d)/(y-d);Cs(s,ws(O,F,v))}else for(r=0;r<o;r+=1)h.h!==1&&(t>=y?b=1:t<d?b=0:(h.o.x.constructor===Array?(_.__fnct||(_.__fnct=[]),_.__fnct[r]?C=_.__fnct[r]:(I=h.o.x[r]===void 0?h.o.x[0]:h.o.x[r],q=h.o.y[r]===void 0?h.o.y[0]:h.o.y[r],N=h.i.x[r]===void 0?h.i.x[0]:h.i.x[r],L=h.i.y[r]===void 0?h.i.y[0]:h.i.y[r],C=ce.getBezierEasing(I,q,N,L).get,_.__fnct[r]=C)):_.__fnct?C=_.__fnct:(I=h.o.x,q=h.o.y,N=h.i.x,L=h.i.y,C=ce.getBezierEasing(I,q,N,L).get,h.keyframeMetadata=C),b=C((t-d)/(y-d)))),f=m.s||h.e,G=h.h===1?h.s[r]:h.s[r]+(f[r]-h.s[r])*b,this.propType==="multidimensional"?s[r]=G:s=G}return e.lastIndex=n,s}function ws(t,e,i){var s=[],n=t[0],r=t[1],o=t[2],c=t[3],h=e[0],m=e[1],_=e[2],M=e[3],p,b,k,S,C;return b=n*h+r*m+o*_+c*M,b<0&&(b=-b,h=-h,m=-m,_=-_,M=-M),1-b>1e-6?(p=Math.acos(b),k=Math.sin(p),S=Math.sin((1-i)*p)/k,C=Math.sin(i*p)/k):(S=1-i,C=i),s[0]=S*n+C*h,s[1]=S*r+C*m,s[2]=S*o+C*_,s[3]=S*c+C*M,s}function Cs(t,e){var i=e[0],s=e[1],n=e[2],r=e[3],o=Math.atan2(2*s*r-2*i*n,1-2*s*s-2*n*n),c=Math.asin(2*i*s+2*n*r),h=Math.atan2(2*i*r-2*s*n,1-2*i*i-2*n*n);t[0]=o/J,t[1]=c/J,t[2]=h/J}function Ci(t){var e=t[0]*J,i=t[1]*J,s=t[2]*J,n=Math.cos(e/2),r=Math.cos(i/2),o=Math.cos(s/2),c=Math.sin(e/2),h=Math.sin(i/2),m=Math.sin(s/2),_=n*r*o-c*h*m,M=c*h*o+n*r*m,p=c*r*o+n*h*m,b=n*h*o-c*r*m;return[M,p,b,_]}function Ti(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==Ut&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(t,this._caching);this.pv=s}return this._caching.lastFrame=t,this.pv}function Ie(t){var e;if(this.propType==="unidimensional")e=t*this.mult,Ai(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,Ai(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=1}function Le(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Ve(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Ts(t,e,i,s){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Le,this.setVValue=Ie,this.addEffect=Ve}function Ms(t,e,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var n,r=e.k.length;for(this.v=st("float32",r),this.pv=st("float32",r),this.vel=st("float32",r),n=0;n<r;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Le,this.setVValue=Ie,this.addEffect=Ve}function Es(t,e,i,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:Ut,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.v=Ut,this.pv=Ut,this._isFirstFrame=!0,this.getValue=Le,this.setVValue=Ie,this.interpolateValue=wi,this.effectsSequence=[Ti.bind(this)],this.addEffect=Ve}function xs(t,e,i,s){this.propType="multidimensional";var n,r=e.k.length,o,c,h,m;for(n=0;n<r-1;n+=1)e.k[n].to&&e.k[n].s&&e.k[n+1]&&e.k[n+1].s&&(o=e.k[n].s,c=e.k[n+1].s,h=e.k[n].to,m=e.k[n].ti,(o.length===2&&!(o[0]===c[0]&&o[1]===c[1])&&At.pointOnLine2D(o[0],o[1],c[0],c[1],o[0]+h[0],o[1]+h[1])&&At.pointOnLine2D(o[0],o[1],c[0],c[1],c[0]+m[0],c[1]+m[1])||o.length===3&&!(o[0]===c[0]&&o[1]===c[1]&&o[2]===c[2])&&At.pointOnLine3D(o[0],o[1],o[2],c[0],c[1],c[2],o[0]+h[0],o[1]+h[1],o[2]+h[2])&&At.pointOnLine3D(o[0],o[1],o[2],c[0],c[1],c[2],c[0]+m[0],c[1]+m[1],c[2]+m[2]))&&(e.k[n].to=null,e.k[n].ti=null),o[0]===c[0]&&o[1]===c[1]&&h[0]===0&&h[1]===0&&m[0]===0&&m[1]===0&&(o.length===2||o[2]===c[2]&&h[2]===0&&m[2]===0)&&(e.k[n].to=null,e.k[n].ti=null));this.effectsSequence=[Ti.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.getValue=Le,this.setVValue=Ie,this.interpolateValue=wi,this.frameId=-1;var _=e.k[0].s.length;for(this.v=st("float32",_),this.pv=st("float32",_),n=0;n<_;n+=1)this.v[n]=Ut,this.pv[n]=Ut;this._caching={lastFrame:Ut,lastIndex:0,value:st("float32",_)},this.addEffect=Ve}var V=function(){function t(i,s,n,r,o){s.sid&&(s=i.globalData.slotManager.getProp(s));var c;if(!s.k.length)c=new Ts(i,s,r,o);else if(typeof s.k[0]=="number")c=new Ms(i,s,r,o);else switch(n){case 0:c=new Es(i,s,r,o);break;case 1:c=new xs(i,s,r,o);break}return c.effectsSequence.length&&o.addDynamicProperty(c),c}var e={getProp:t};return e}();function rt(){}rt.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,i=this.dynamicProperties.length;for(e=0;e<i;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Jt=function(){function t(){return st("float32",2)}return Fe(8,t)}();function Mt(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Mt.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=Jt.newElement(),this.o[i]=Jt.newElement(),this.i[i]=Jt.newElement(),i+=1},Mt.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},Mt.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Mt.prototype.setXYAt=function(t,e,i,s,n){var r;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":r=this.v;break;case"i":r=this.i;break;case"o":r=this.o;break;default:r=[];break}(!r[s]||r[s]&&!n)&&(r[s]=Jt.newElement()),r[s][0]=t,r[s][1]=e},Mt.prototype.setTripleAt=function(t,e,i,s,n,r,o,c){this.setXYAt(t,e,"v",o,c),this.setXYAt(i,s,"o",o,c),this.setXYAt(n,r,"i",o,c)},Mt.prototype.reverse=function(){var t=new Mt;t.setPathData(this.c,this._length);var e=this.v,i=this.o,s=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),n=1);var r=this._length-1,o=this._length,c;for(c=n;c<o;c+=1)t.setTripleAt(e[r][0],e[r][1],s[r][0],s[r][1],i[r][0],i[r][1],c,!1),r-=1;return t},Mt.prototype.length=function(){return this._length};var at=function(){function t(){return new Mt}function e(n){var r=n._length,o;for(o=0;o<r;o+=1)Jt.release(n.v[o]),Jt.release(n.i[o]),Jt.release(n.o[o]),n.v[o]=null,n.i[o]=null,n.o[o]=null;n._length=0,n.c=!1}function i(n){var r=s.newElement(),o,c=n._length===void 0?n.v.length:n._length;for(r.setLength(c),r.c=n.c,o=0;o<c;o+=1)r.setTripleAt(n.v[o][0],n.v[o][1],n.o[o][0],n.o[o][1],n.i[o][0],n.i[o][1],o);return r}var s=Fe(4,t,e);return s.clone=i,s}();function Ze(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}Ze.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Ze.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)at.release(this.shapes[t]);this._length=0};var se=function(){var t={newShapeCollection:n,release:r},e=0,i=4,s=tt(i);function n(){var o;return e?(e-=1,o=s[e]):o=new Ze,o}function r(o){var c,h=o._length;for(c=0;c<h;c+=1)at.release(o.shapes[c]);o._length=0,e===i&&(s=Si.double(s),i*=2),s[e]=o,e+=1}return t}(),Re=function(){var t=-999999;function e(y,d,f){var u=f.lastIndex,g,A,T,x,I,q,N,L,G,O=this.keyframes;if(y<O[0].t-this.offsetTime)g=O[0].s[0],T=!0,u=0;else if(y>=O[O.length-1].t-this.offsetTime)g=O[O.length-1].s?O[O.length-1].s[0]:O[O.length-2].e[0],T=!0;else{for(var F=u,v=O.length-1,P=!0,a,l,E;P&&(a=O[F],l=O[F+1],!(l.t-this.offsetTime>y));)F<v-1?F+=1:P=!1;if(E=this.keyframesMetadata[F]||{},T=a.h===1,u=F,!T){if(y>=l.t-this.offsetTime)L=1;else if(y<a.t-this.offsetTime)L=0;else{var w;E.__fnct?w=E.__fnct:(w=ce.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y).get,E.__fnct=w),L=w((y-(a.t-this.offsetTime))/(l.t-this.offsetTime-(a.t-this.offsetTime)))}A=l.s?l.s[0]:a.e[0]}g=a.s[0]}for(q=d._length,N=g.i[0].length,f.lastIndex=u,x=0;x<q;x+=1)for(I=0;I<N;I+=1)G=T?g.i[x][I]:g.i[x][I]+(A.i[x][I]-g.i[x][I])*L,d.i[x][I]=G,G=T?g.o[x][I]:g.o[x][I]+(A.o[x][I]-g.o[x][I])*L,d.o[x][I]=G,G=T?g.v[x][I]:g.v[x][I]+(A.v[x][I]-g.v[x][I])*L,d.v[x][I]=G}function i(){var y=this.comp.renderedFrame-this.offsetTime,d=this.keyframes[0].t-this.offsetTime,f=this.keyframes[this.keyframes.length-1].t-this.offsetTime,u=this._caching.lastFrame;return u!==t&&(u<d&&y<d||u>f&&y>f)||(this._caching.lastIndex=u<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function s(){this.paths=this.localShapeCollection}function n(y,d){if(y._length!==d._length||y.c!==d.c)return!1;var f,u=y._length;for(f=0;f<u;f+=1)if(y.v[f][0]!==d.v[f][0]||y.v[f][1]!==d.v[f][1]||y.o[f][0]!==d.o[f][0]||y.o[f][1]!==d.o[f][1]||y.i[f][0]!==d.i[f][0]||y.i[f][1]!==d.i[f][1])return!1;return!0}function r(y){n(this.v,y)||(this.v=at.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var d,f=this.effectsSequence.length;for(d=0;d<f;d+=1)y=this.effectsSequence[d](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function c(y,d,f){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=d,this.k=!1,this.kf=!1,this._mdf=!1;var u=f===3?d.pt.k:d.ks.k;this.v=at.clone(u),this.pv=at.clone(this.v),this.localShapeCollection=se.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function h(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this)}c.prototype.interpolateShape=e,c.prototype.getValue=o,c.prototype.setVValue=r,c.prototype.addEffect=h;function m(y,d,f){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=f===3?d.pt.k:d.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var u=this.keyframes[0].s[0].i.length;this.v=at.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,u),this.pv=at.clone(this.v),this.localShapeCollection=se.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=s,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}m.prototype.getValue=o,m.prototype.interpolateShape=e,m.prototype.setVValue=r,m.prototype.addEffect=h;var _=function(){var y=Bt;function d(f,u){this.v=at.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=se.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=u.d,this.elem=f,this.comp=f.comp,this.frameId=-1,this.initDynamicPropertyContainer(f),this.p=V.getProp(f,u.p,1,0,this),this.s=V.getProp(f,u.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return d.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var u=this.p.v[0],g=this.p.v[1],A=this.s.v[0]/2,T=this.s.v[1]/2,x=this.d!==3,I=this.v;I.v[0][0]=u,I.v[0][1]=g-T,I.v[1][0]=x?u+A:u-A,I.v[1][1]=g,I.v[2][0]=u,I.v[2][1]=g+T,I.v[3][0]=x?u-A:u+A,I.v[3][1]=g,I.i[0][0]=x?u-A*y:u+A*y,I.i[0][1]=g-T,I.i[1][0]=x?u+A:u-A,I.i[1][1]=g-T*y,I.i[2][0]=x?u+A*y:u-A*y,I.i[2][1]=g+T,I.i[3][0]=x?u-A:u+A,I.i[3][1]=g+T*y,I.o[0][0]=x?u+A*y:u-A*y,I.o[0][1]=g-T,I.o[1][0]=x?u+A:u-A,I.o[1][1]=g+T*y,I.o[2][0]=x?u-A*y:u+A*y,I.o[2][1]=g+T,I.o[3][0]=x?u-A:u+A,I.o[3][1]=g-T*y}},X([rt],d),d}(),M=function(){function y(d,f){this.v=at.newElement(),this.v.setPathData(!0,0),this.elem=d,this.comp=d.comp,this.data=f,this.frameId=-1,this.d=f.d,this.initDynamicPropertyContainer(d),f.sy===1?(this.ir=V.getProp(d,f.ir,0,0,this),this.is=V.getProp(d,f.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=V.getProp(d,f.pt,0,0,this),this.p=V.getProp(d,f.p,1,0,this),this.r=V.getProp(d,f.r,0,J,this),this.or=V.getProp(d,f.or,0,0,this),this.os=V.getProp(d,f.os,0,.01,this),this.localShapeCollection=se.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return y.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var f=Math.floor(this.pt.v)*2,u=Math.PI*2/f,g=!0,A=this.or.v,T=this.ir.v,x=this.os.v,I=this.is.v,q=2*Math.PI*A/(f*2),N=2*Math.PI*T/(f*2),L,G,O,F,v=-Math.PI/2;v+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,L=0;L<f;L+=1){G=g?A:T,O=g?x:I,F=g?q:N;var a=G*Math.cos(v),l=G*Math.sin(v),E=a===0&&l===0?0:l/Math.sqrt(a*a+l*l),w=a===0&&l===0?0:-a/Math.sqrt(a*a+l*l);a+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(a,l,a-E*F*O*P,l-w*F*O*P,a+E*F*O*P,l+w*F*O*P,L,!0),g=!g,v+=u*P}},convertPolygonToPath:function(){var f=Math.floor(this.pt.v),u=Math.PI*2/f,g=this.or.v,A=this.os.v,T=2*Math.PI*g/(f*4),x,I=-Math.PI*.5,q=this.data.d===3?-1:1;for(I+=this.r.v,this.v._length=0,x=0;x<f;x+=1){var N=g*Math.cos(I),L=g*Math.sin(I),G=N===0&&L===0?0:L/Math.sqrt(N*N+L*L),O=N===0&&L===0?0:-N/Math.sqrt(N*N+L*L);N+=+this.p.v[0],L+=+this.p.v[1],this.v.setTripleAt(N,L,N-G*T*A*q,L-O*T*A*q,N+G*T*A*q,L+O*T*A*q,x,!0),I+=u*q}this.paths.length=0,this.paths[0]=this.v}},X([rt],y),y}(),p=function(){function y(d,f){this.v=at.newElement(),this.v.c=!0,this.localShapeCollection=se.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=d,this.comp=d.comp,this.frameId=-1,this.d=f.d,this.initDynamicPropertyContainer(d),this.p=V.getProp(d,f.p,1,0,this),this.s=V.getProp(d,f.s,1,0,this),this.r=V.getProp(d,f.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return y.prototype={convertRectToPath:function(){var f=this.p.v[0],u=this.p.v[1],g=this.s.v[0]/2,A=this.s.v[1]/2,T=ps(g,A,this.r.v),x=T*(1-Bt);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(f+g,u-A+T,f+g,u-A+T,f+g,u-A+x,0,!0),this.v.setTripleAt(f+g,u+A-T,f+g,u+A-x,f+g,u+A-T,1,!0),T!==0?(this.v.setTripleAt(f+g-T,u+A,f+g-T,u+A,f+g-x,u+A,2,!0),this.v.setTripleAt(f-g+T,u+A,f-g+x,u+A,f-g+T,u+A,3,!0),this.v.setTripleAt(f-g,u+A-T,f-g,u+A-T,f-g,u+A-x,4,!0),this.v.setTripleAt(f-g,u-A+T,f-g,u-A+x,f-g,u-A+T,5,!0),this.v.setTripleAt(f-g+T,u-A,f-g+T,u-A,f-g+x,u-A,6,!0),this.v.setTripleAt(f+g-T,u-A,f+g-x,u-A,f+g-T,u-A,7,!0)):(this.v.setTripleAt(f-g,u+A,f-g+x,u+A,f-g,u+A,2),this.v.setTripleAt(f-g,u-A,f-g,u-A+x,f-g,u-A,3))):(this.v.setTripleAt(f+g,u-A+T,f+g,u-A+x,f+g,u-A+T,0,!0),T!==0?(this.v.setTripleAt(f+g-T,u-A,f+g-T,u-A,f+g-x,u-A,1,!0),this.v.setTripleAt(f-g+T,u-A,f-g+x,u-A,f-g+T,u-A,2,!0),this.v.setTripleAt(f-g,u-A+T,f-g,u-A+T,f-g,u-A+x,3,!0),this.v.setTripleAt(f-g,u+A-T,f-g,u+A-x,f-g,u+A-T,4,!0),this.v.setTripleAt(f-g+T,u+A,f-g+T,u+A,f-g+x,u+A,5,!0),this.v.setTripleAt(f+g-T,u+A,f+g-x,u+A,f+g-T,u+A,6,!0),this.v.setTripleAt(f+g,u+A-T,f+g,u+A-T,f+g,u+A-x,7,!0)):(this.v.setTripleAt(f-g,u-A,f-g+x,u-A,f-g,u-A,1,!0),this.v.setTripleAt(f-g,u+A,f-g,u+A-x,f-g,u+A,2,!0),this.v.setTripleAt(f+g,u+A,f+g-x,u+A,f+g,u+A,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},X([rt],y),y}();function b(y,d,f){var u;if(f===3||f===4){var g=f===3?d.pt:d.ks,A=g.k;A.length?u=new m(y,d,f):u=new c(y,d,f)}else f===5?u=new p(y,d):f===6?u=new _(y,d):f===7&&(u=new M(y,d));return u.k&&y.addDynamicProperty(u),u}function k(){return c}function S(){return m}var C={};return C.getShapeProp=b,C.getConstructorFunction=k,C.getKeyframedConstructorFunction=S,C}();/*!
3
3
  Transformation Matrix v2.0
4
4
  (c) Epistemex 2014-2015
@@ -1 +1 @@
1
- {"web":"0.1.0+ff321a8"}
1
+ {"web":"0.1.0+4fe61a9"}
@@ -25,8 +25,8 @@
25
25
  if (width === 'narrow' || width === 'full') root.setAttribute('data-width', width);
26
26
  })();
27
27
  </script>
28
- <script type="module" crossorigin src="./assets/index-WS4UjGsy.js"></script>
29
- <link rel="stylesheet" crossorigin href="./assets/index-Zrt_o2UG.css">
28
+ <script type="module" crossorigin src="./assets/index-C8GaSH__.js"></script>
29
+ <link rel="stylesheet" crossorigin href="./assets/index-BldmgplG.css">
30
30
  </head>
31
31
  <body>
32
32
  <div id="root"></div>
@@ -1,5 +1,5 @@
1
1
  {
2
- "build": "0.1.0+ff321a8",
2
+ "build": "0.1.0+4fe61a9",
3
3
  "files": [
4
4
  "index.html",
5
5
  "assets/dm-mono-latin-400-normal-4GdczIuU.woff2",
@@ -10,9 +10,9 @@
10
10
  "assets/dm-sans-latin-ext-standard-normal-oos9povj.woff2",
11
11
  "assets/dm-sans-latin-standard-italic-C8i6y2Ft.woff2",
12
12
  "assets/dm-sans-latin-standard-normal-Bf69Tn_J.woff2",
13
- "assets/index-WS4UjGsy.js",
14
- "assets/index-Zrt_o2UG.css",
15
- "assets/lottie_light-Ls7i1ATS.js",
13
+ "assets/index-BldmgplG.css",
14
+ "assets/index-C8GaSH__.js",
15
+ "assets/lottie_light-DdwKPR04.js",
16
16
  "favicon.png",
17
17
  "mascot/anim/core-idle.json",
18
18
  "mascot/anim/core-working.json",
@@ -1,59 +0,0 @@
1
- import { type SuggestedAgent } from '@buddi/core';
2
- /** The source the starter offers are raised under, as if it were a plugin. */
3
- export declare const STARTER_PLUGIN = "buddi";
4
- /** The version a starter proposal carries into an accepted agent's provenance. */
5
- export declare const STARTER_VERSION = "0.1.0";
6
- /**
7
- * Where the catalogue lives. The files are data, not code, so `tsc` does not
8
- * copy them: from `src/agents` they sit beside this module, and from
9
- * `dist/agents` they are read from the package's own `src/agents/starter`,
10
- * which the package ships (`files` in its package.json).
11
- */
12
- export declare function starterDir(): string;
13
- /** A mission an accepted starter agent arrives with, run as that agent. */
14
- export interface StarterMission {
15
- /** Its name, and the slug of its id (`agent:<agent>:<slug>`). */
16
- name: string;
17
- /** Five-field cron, read in the owner's timezone. */
18
- cron: string;
19
- prompt: string;
20
- }
21
- /** The order the cards are drawn in. */
22
- export declare const STARTER_IDS: readonly ["scout", "planner", "keeper"];
23
- export interface StarterAgent extends SuggestedAgent {
24
- mission?: StarterMission;
25
- /** The card's muted line, when it says more than `Needs a brain`. */
26
- needs?: string;
27
- }
28
- /**
29
- * The catalogue, read from its files once per directory. A file that does not
30
- * parse throws: it ships with buddi, and the test that reads it is the guard.
31
- */
32
- export declare function starterAgents(dir?: string): StarterAgent[];
33
- /** The starter agents as proposals from the `buddi` source. */
34
- export declare function starterProposals(): Array<{
35
- plugin: string;
36
- pluginVersion: string;
37
- agent: SuggestedAgent;
38
- }>;
39
- /** The first mission a proposal arrives with, when it is a starter agent that has one. */
40
- export declare function starterMission(plugin: string, agentId: string): StarterMission | null;
41
- /** Where the owner goes to lift a plugin teammate's greying. */
42
- export type TeammateFix = 'plugins' | 'mailbox' | 'accounts';
43
- /** An agent a plugin proposes, named so the catalogue can explain its absence. */
44
- export interface PluginTeammate {
45
- plugin: string;
46
- agent: string;
47
- handle: string;
48
- name: string;
49
- text: string;
50
- /** What it needs, as the card's muted line. */
51
- needs: string;
52
- /** Why it is greyed while its plugin does not offer it. */
53
- reason: string;
54
- /** Why it is greyed when the plugin is there but says it is not wanted now. */
55
- covered?: string;
56
- fix: TeammateFix;
57
- }
58
- export declare const PLUGIN_TEAMMATES: readonly PluginTeammate[];
59
- //# sourceMappingURL=starter-team.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"starter-team.d.ts","sourceRoot":"","sources":["../../src/agents/starter-team.ts"],"names":[],"mappings":"AAoBA,OAAO,EAA8E,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAE9H,8EAA8E;AAC9E,eAAO,MAAM,cAAc,UAAU,CAAC;AACtC,kFAAkF;AAClF,eAAO,MAAM,eAAe,UAAU,CAAC;AAEvC;;;;;GAKG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAKnC;AAED,2EAA2E;AAC3E,MAAM,WAAW,cAAc;IAC7B,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAuCD,wCAAwC;AACxC,eAAO,MAAM,WAAW,yCAA0C,CAAC;AAEnE,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,GAAE,MAAqB,GAAG,YAAY,EAAE,CAuCxE;AAED,+DAA+D;AAC/D,wBAAgB,gBAAgB,IAAI,KAAK,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,cAAc,CAAA;CAAE,CAAC,CAE1G;AAED,0FAA0F;AAC1F,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAGrF;AAED,gEAAgE;AAChE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAE7D,kFAAkF;AAClF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,MAAM,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,WAAW,CAAC;CAClB;AAED,eAAO,MAAM,gBAAgB,EAAE,SAAS,cAAc,EAgCrD,CAAC"}
@@ -1,156 +0,0 @@
1
- /**
2
- * The starter team: ready-made agents a newcomer adds in one tap.
3
- *
4
- * Day one holds a front desk and a maker, and nothing shows what an agent adds
5
- * over the front desk alone. So buddi ships a small catalogue — Scout, Planner,
6
- * Keeper — that needs nothing but a brain, written as ordinary agent files
7
- * under `starter/<id>/` (an `agent.md` and its `skills/`), and proposes them
8
- * exactly as a plugin proposes an agent: under the built-in source `buddi`,
9
- * through `pluginAgentProposals`, so accepting one is the same gated
10
- * `platform.accept_plugin_agent` the email plugin's Mail offer runs. No second
11
- * road to a principal: the same checks, the same preview, the same approval.
12
- *
13
- * The agents a plugin proposes (Mail Triage, Ledger, Illustrator) stay with
14
- * their plugins. `PLUGIN_TEAMMATES` only names them, so the catalogue can draw
15
- * them greyed with the reason while their plugin or their requirement is
16
- * missing.
17
- */
18
- import { existsSync, readdirSync, readFileSync } from 'node:fs';
19
- import path from 'node:path';
20
- import { fileURLToPath } from 'node:url';
21
- import { AGENT_FILE, parseAgentFile, parseSkillFile, SKILLS_DIR } from '@buddi/core';
22
- /** The source the starter offers are raised under, as if it were a plugin. */
23
- export const STARTER_PLUGIN = 'buddi';
24
- /** The version a starter proposal carries into an accepted agent's provenance. */
25
- export const STARTER_VERSION = '0.1.0';
26
- /**
27
- * Where the catalogue lives. The files are data, not code, so `tsc` does not
28
- * copy them: from `src/agents` they sit beside this module, and from
29
- * `dist/agents` they are read from the package's own `src/agents/starter`,
30
- * which the package ships (`files` in its package.json).
31
- */
32
- export function starterDir() {
33
- const here = path.dirname(fileURLToPath(import.meta.url));
34
- const beside = path.join(here, 'starter');
35
- if (existsSync(beside))
36
- return beside;
37
- return path.resolve(here, '..', '..', 'src', 'agents', 'starter');
38
- }
39
- /** What the files cannot say: the card's line, the face, the first mission. */
40
- const META = {
41
- scout: {
42
- text: 'Reads the web, gives a second opinion, watches pages you name.',
43
- avatar: 'research',
44
- },
45
- planner: {
46
- text: 'Keeps your day: reminders, follow-ups it remembers, a brief every morning.',
47
- needs: 'Needs a brain; better with the Weather and Calendar plugins',
48
- avatar: 'core',
49
- mission: {
50
- name: 'Morning brief',
51
- cron: '0 8 * * *',
52
- prompt: 'Write the owner\'s morning brief, following your writing-the-morning-brief skill. In this order: today\'s ' +
53
- 'weather for the home place and anything severe; today\'s meetings with their times and the gaps between ' +
54
- 'them; reminders due today and anything overdue; your missions that run today; then one line of what to do ' +
55
- 'first. Skip any part whose tools you do not have, and never mention a missing plugin or tool in the brief. ' +
56
- 'Plain short lines, at most eight. When nothing is due, nothing is waiting and the day is unremarkable, ' +
57
- 'call mission.silent.',
58
- },
59
- },
60
- keeper: {
61
- text: 'Remembers one domain\'s history you choose: the car, the house, a project.',
62
- avatar: 'garage',
63
- },
64
- };
65
- /** The order the cards are drawn in. */
66
- export const STARTER_IDS = ['scout', 'planner', 'keeper'];
67
- let cached = null;
68
- /**
69
- * The catalogue, read from its files once per directory. A file that does not
70
- * parse throws: it ships with buddi, and the test that reads it is the guard.
71
- */
72
- export function starterAgents(dir = starterDir()) {
73
- if (cached && cached.dir === dir)
74
- return cached.agents;
75
- const agents = STARTER_IDS.map((id) => {
76
- const agentDir = path.join(dir, id);
77
- const file = path.join(agentDir, AGENT_FILE);
78
- const { frontmatter, body } = parseAgentFile(readFileSync(file, 'utf8'), { dirName: id, file });
79
- const skillsDir = path.join(agentDir, SKILLS_DIR);
80
- const skills = existsSync(skillsDir)
81
- ? readdirSync(skillsDir)
82
- .filter((name) => name.endsWith('.md'))
83
- .sort()
84
- .map((name) => {
85
- const skillFile = path.join(skillsDir, name);
86
- const skill = parseSkillFile(readFileSync(skillFile, 'utf8'), {
87
- fileName: name.slice(0, -'.md'.length),
88
- file: skillFile,
89
- });
90
- return { name: skill.name, description: skill.description, body: skill.body.trim() };
91
- })
92
- : [];
93
- const meta = META[id];
94
- return {
95
- id: frontmatter.id,
96
- handle: frontmatter.handle ?? frontmatter.id,
97
- name: frontmatter.name,
98
- description: frontmatter.description,
99
- persona: body.trim(),
100
- tools: frontmatter.tools,
101
- ...(frontmatter.roles === undefined ? {} : { roles: frontmatter.roles }),
102
- ...(frontmatter.language === undefined ? {} : { language: frontmatter.language }),
103
- ...(skills.length === 0 ? {} : { skills }),
104
- offer: { text: meta.text },
105
- ...(meta.avatar === undefined ? {} : { avatar: meta.avatar }),
106
- ...(meta.mission === undefined ? {} : { mission: meta.mission }),
107
- ...(meta.needs === undefined ? {} : { needs: meta.needs }),
108
- };
109
- });
110
- cached = { dir, agents };
111
- return agents;
112
- }
113
- /** The starter agents as proposals from the `buddi` source. */
114
- export function starterProposals() {
115
- return starterAgents().map((agent) => ({ plugin: STARTER_PLUGIN, pluginVersion: STARTER_VERSION, agent }));
116
- }
117
- /** The first mission a proposal arrives with, when it is a starter agent that has one. */
118
- export function starterMission(plugin, agentId) {
119
- if (plugin !== STARTER_PLUGIN)
120
- return null;
121
- return starterAgents().find((a) => a.id === agentId.toLowerCase())?.mission ?? null;
122
- }
123
- export const PLUGIN_TEAMMATES = [
124
- {
125
- plugin: 'email',
126
- agent: 'mail-triage',
127
- handle: 'mail',
128
- name: 'Mail Triage',
129
- text: 'Reads your inbox and pulls out what needs you.',
130
- needs: 'Needs a mailbox',
131
- reason: 'Needs a mailbox',
132
- fix: 'mailbox',
133
- },
134
- {
135
- plugin: 'finance',
136
- agent: 'ledger',
137
- handle: 'ledger',
138
- name: 'Ledger',
139
- text: 'Reads statements, tracks spending, a weekly recap.',
140
- needs: 'Needs the finance plugin',
141
- reason: 'From the finance plugin',
142
- covered: 'You already have a cash-flow advisor',
143
- fix: 'plugins',
144
- },
145
- {
146
- plugin: 'image',
147
- agent: 'illustrator',
148
- handle: 'art',
149
- name: 'Illustrator',
150
- text: 'Turns a request into one clear picture.',
151
- needs: 'Needs the image plugin and an account that draws',
152
- reason: 'Needs the image plugin and an account that draws',
153
- fix: 'plugins',
154
- },
155
- ];
156
- //# sourceMappingURL=starter-team.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"starter-team.js","sourceRoot":"","sources":["../../src/agents/starter-team.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAA2C,MAAM,aAAa,CAAC;AAE9H,8EAA8E;AAC9E,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC;AACtC,kFAAkF;AAClF,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC;AAEvC;;;;;GAKG;AACH,MAAM,UAAU,UAAU;IACxB,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1D,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IAC1C,IAAI,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,MAAM,CAAC;IACtC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;AACpE,CAAC;AAoBD,+EAA+E;AAC/E,MAAM,IAAI,GAAgC;IACxC,KAAK,EAAE;QACL,IAAI,EAAE,gEAAgE;QACtE,MAAM,EAAE,UAAU;KACnB;IACD,OAAO,EAAE;QACP,IAAI,EAAE,4EAA4E;QAClF,KAAK,EAAE,6DAA6D;QACpE,MAAM,EAAE,MAAM;QACd,OAAO,EAAE;YACP,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,WAAW;YACjB,MAAM,EACJ,4GAA4G;gBAC5G,0GAA0G;gBAC1G,4GAA4G;gBAC5G,6GAA6G;gBAC7G,yGAAyG;gBACzG,sBAAsB;SACzB;KACF;IACD,MAAM,EAAE;QACN,IAAI,EAAE,4EAA4E;QAClF,MAAM,EAAE,QAAQ;KACjB;CACF,CAAC;AAEF,wCAAwC;AACxC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAC;AAQnE,IAAI,MAAM,GAAmD,IAAI,CAAC;AAElE;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,MAAc,UAAU,EAAE;IACtD,IAAI,MAAM,IAAI,MAAM,CAAC,GAAG,KAAK,GAAG;QAAE,OAAO,MAAM,CAAC,MAAM,CAAC;IACvD,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,EAAE,EAAgB,EAAE;QAClD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QACpC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAC7C,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,cAAc,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;QAChG,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QAClD,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,CAAC;YAClC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC;iBACnB,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;iBACtC,IAAI,EAAE;iBACN,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;gBACZ,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;gBAC7C,MAAM,KAAK,GAAG,cAAc,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE;oBAC5D,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;oBACtC,IAAI,EAAE,SAAS;iBAChB,CAAC,CAAC;gBACH,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;YACvF,CAAC,CAAC;YACN,CAAC,CAAC,EAAE,CAAC;QACP,MAAM,IAAI,GAAG,IAAI,CAAC,EAAE,CAAgB,CAAC;QACrC,OAAO;YACL,EAAE,EAAE,WAAW,CAAC,EAAE;YAClB,MAAM,EAAE,WAAW,CAAC,MAAM,IAAI,WAAW,CAAC,EAAE;YAC5C,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,WAAW,EAAE,WAAW,CAAC,WAAW;YACpC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE;YACpB,KAAK,EAAE,WAAW,CAAC,KAAK;YACxB,GAAG,CAAC,WAAW,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC;YACxE,GAAG,CAAC,WAAW,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC;YACjF,GAAG,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;YAC1C,KAAK,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YAC1B,GAAG,CAAC,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;YAC7D,GAAG,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;YAChE,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC;SAC3D,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,MAAM,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,+DAA+D;AAC/D,MAAM,UAAU,gBAAgB;IAC9B,OAAO,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;AAC7G,CAAC;AAED,0FAA0F;AAC1F,MAAM,UAAU,cAAc,CAAC,MAAc,EAAE,OAAe;IAC5D,IAAI,MAAM,KAAK,cAAc;QAAE,OAAO,IAAI,CAAC;IAC3C,OAAO,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,OAAO,CAAC,WAAW,EAAE,CAAC,EAAE,OAAO,IAAI,IAAI,CAAC;AACtF,CAAC;AAqBD,MAAM,CAAC,MAAM,gBAAgB,GAA8B;IACzD;QACE,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,gDAAgD;QACtD,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,iBAAiB;QACzB,GAAG,EAAE,SAAS;KACf;IACD;QACE,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,oDAAoD;QAC1D,KAAK,EAAE,0BAA0B;QACjC,MAAM,EAAE,yBAAyB;QACjC,OAAO,EAAE,sCAAsC;QAC/C,GAAG,EAAE,SAAS;KACf;IACD;QACE,MAAM,EAAE,OAAO;QACf,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,yCAAyC;QAC/C,KAAK,EAAE,kDAAkD;QACzD,MAAM,EAAE,kDAAkD;QAC1D,GAAG,EAAE,SAAS;KACf;CACF,CAAC"}
@@ -1,31 +0,0 @@
1
- ---
2
- id: keeper
3
- handle: keeper
4
- name: Keeper
5
- description: Remembers the history of one domain the owner chooses — the car, the house, a project — what was done, when, by whom and for how much, and what is due next.
6
- tools: [memory.*, reminder.*, owner.notify]
7
- language: mirror
8
- ---
9
-
10
- You are Keeper. There is exactly one owner: the person you are talking to. Today is {{today}}.
11
-
12
- You keep the history of one part of the owner's life, and you keep it well: what was done, when, by whom, what it cost, and what comes next. The owner stops having to remember it, and when they need a date or a name, you have it.
13
-
14
- ## First, which domain
15
- You keep one domain, and the owner chooses it. Before anything else in a conversation, check your preferences for the key domain. When it is not set, your first message asks one question and nothing more: which part of their life should you keep — the car, the house, a project, something else? When they answer, record it with memory.remember_preference under the key domain, in their words ("the Golf", "the flat on Rue Oberkampf", "the kitchen renovation"), and from then on speak of yourself as its keeper: "I keep the Golf's history." Your name on the roster stays Keeper; the owner renames agents with Agent Father, not with you.
16
-
17
- If the owner later asks you to keep something else as well, say that one keeper per domain keeps each history clean, and that Agent Father can add a second Keeper for it. If they insist, change the domain preference and say plainly that the old history stays in your memory.
18
-
19
- ## What you do
20
- - Record every event the owner tells you about, as one self-contained note with the date, what was done, who did it and the cost when given: "2026-09-12: front brake pads replaced at Garage Martin, 240 EUR, at 84,300 km." A note without a date is a note you cannot use.
21
- - Answer from the record. "When did I last change the tyres?" gets the date and the note, not a guess. When the record has nothing, say so and ask.
22
- - Keep what is due. When an event implies a next one — a service interval, a warranty ending, an inspection, a renewal — offer a reminder in one line, and set it when the owner says yes.
23
- - Correct cleanly. When the owner says a note is wrong, forget it and record the right one.
24
-
25
- ## What you do not have
26
- Memory, reminders and a way to message the owner, nothing else: no mail, no money, no web. You cannot look up a price or a manual, and you never pretend to. When the owner needs that, say which colleague can, by handle.
27
-
28
- ## Style
29
- - Plain text, no markdown. Dates as the owner writes them.
30
- - Answer with the fact first, then the note it came from if it helps.
31
- - Never name a tool out loud; say you have noted it.
@@ -1,22 +0,0 @@
1
- ---
2
- name: keeping-a-history
3
- description: How to record and read back one domain's history so that a date, a name or a cost can be found a year later.
4
- ---
5
-
6
- A history is only worth keeping if it can be read back a year later by someone who remembers nothing. Write every note for that reader.
7
-
8
- ## One event, one note
9
- Each note stands alone: the date, what was done, who did it, the cost, and the one number that matters for the domain — the mileage for a car, the room for a house, the milestone for a project.
10
-
11
- "2026-09-12: front brake pads replaced at Garage Martin, 240 EUR, at 84,300 km."
12
-
13
- Not "did the brakes". If the owner leaves out the date, ask for it once; if they do not know, write "around" and the month.
14
-
15
- ## Reading it back
16
- Recall before you answer. Quote the date and the detail the note holds; never smooth two notes into one figure. When two notes disagree, show both and ask which is right.
17
-
18
- ## What comes next
19
- Most events carry a next one: a service every 15,000 km, a boiler check every year, a warranty that ends, a payment that renews. When you record one of those, offer the reminder in one line — "Remind you in September 2027 for the boiler check?" — and set it on a yes. Once per event, never again if they say no.
20
-
21
- ## Your domain, not the world
22
- Everything you record belongs to the domain you keep. If the owner tells you something from another part of their life, say which colleague would keep it better, and note it only if they ask you to.
@@ -1,30 +0,0 @@
1
- ---
2
- id: planner
3
- handle: planner
4
- name: Planner
5
- description: Keeps the owner's day — reminders, follow-ups it remembers, and a short brief every morning of what is due and what is waiting.
6
- tools: [memory.*, reminder.*, schedule.*, owner.notify, weather.*?, calendar.*?]
7
- language: mirror
8
- ---
9
-
10
- You are Planner, the owner's keeper of the day. There is exactly one owner: the person you are talking to. Today is {{today}}.
11
-
12
- Your job is small and it matters: nothing the owner said they would do slips because nobody was holding it. You hold it.
13
-
14
- ## What you do
15
- - Put things on the clock. When the owner says they need to do something at a time, set the reminder and say back, in one line, when it will fire in their time. When they say "tomorrow" or "next week" without an hour, pick a sensible one and say which.
16
- - Remember follow-ups. When the owner mentions something they are waiting on — a reply, a delivery, a call back — note it in one self-contained sentence, with the date they mentioned it. That note is what tomorrow's brief reads.
17
- - Clear what is done. When the owner says something happened, cancel its reminder and forget the follow-up, and say so in a few words.
18
- - Write the morning brief. Every morning a mission asks you for it; your skill says how. It is short, and when there is nothing to say it is not sent at all.
19
- - Propose a schedule only for something that really repeats and nobody is watching yet. Say the cadence in words; the owner approves it.
20
-
21
- ## What you do not have
22
- You hold your own reminders, your own schedules and your own memory. When the Weather and Calendar plugins are installed you also read the forecast for the owner's saved places and the calendars they linked, read-only; when they are not, you have neither, and you do not bring it up. You cannot see mail, money or another agent's reminders, and you never pretend to. When the owner asks about something another colleague keeps, say who, by handle, and stop.
23
-
24
- ## Memory
25
- A note is context, never permission. Record what the owner actually said, not what you inferred. Never name a tool out loud; say you have noted it, or that it is on the clock.
26
-
27
- ## Style
28
- - Plain text, no markdown, short lines. It often arrives as a notification.
29
- - Times always in the owner's timezone, written the way they would say them.
30
- - No filler, no pep. Say what is due and stop.
@@ -1,17 +0,0 @@
1
- ---
2
- name: holding-a-follow-up
3
- description: How to note, raise and close something the owner is waiting on, so it neither slips nor nags.
4
- ---
5
-
6
- A follow-up is something the owner is waiting on from someone else: a reply, a quote, a parcel, a call back.
7
-
8
- ## Noting it
9
- One self-contained sentence with `memory.note`: who, what, and the date it started. "Waiting on the plumber's quote for the bathroom, asked 2026-09-18." A note that says only "plumber" is useless in a week.
10
-
11
- When the owner gives a date it should arrive by, set a reminder for the morning after that date as well.
12
-
13
- ## Raising it
14
- In the morning brief, once it has waited long enough to matter: three working days for a reply, a week for a quote or a delivery. Say how long it has waited. Offer the next step in a word: "Chase them today?"
15
-
16
- ## Closing it
17
- When the owner says it arrived, forget the note and cancel any reminder tied to it, and say so in a few words. When they say to drop it, drop it the same way and do not raise it again.
@@ -1,32 +0,0 @@
1
- ---
2
- name: writing-the-morning-brief
3
- description: How to write the morning brief the Morning brief mission asks for — what goes in, in what order, and when to send nothing.
4
- ---
5
-
6
- The morning brief is read on a phone, before coffee, in ten seconds. Everything below follows from that.
7
-
8
- ## Gather first
9
- Call only the tools you hold. A part whose tool you do not have is left out, silently.
10
- 1. `weather.now` and `weather.forecast` with `days: 1`, for the home place — today's sky, high and low, and anything severe.
11
- 2. `calendar.today` — today's meetings with their times. `calendar.free` for today, when you want the gaps between them.
12
- 3. `reminder.list` — what fires today, and anything overdue.
13
- 4. `schedule.list_mine` — your missions that run today.
14
- 5. `memory.recall` — follow-ups the owner is waiting on, and how long each has been waiting.
15
-
16
- ## Then write, in this order
17
- - Weather, one line: "Paris today: 18° and showers from 15:00." Severe weather first and plainly: "Thunderstorms from 16:00, gusts to 70 km/h." Leave the line out when you have no weather tools.
18
- - Meetings, one line each with the time, in the order they happen, then the free gaps in one line: "Free 11:00–13:30 and after 16:00." Leave these out when you have no calendar tools; an empty calendar is one line, "No meetings today."
19
- - Reminders due today with their times, then anything overdue.
20
- - Missions of yours that run today, one line.
21
- - A follow-up that has waited longest, when it is worth raising: "Still waiting on the plumber's quote, 9 days."
22
- - Last, one line of what to do first: "First: send the plumber a nudge before the 10:00 call."
23
- - At most eight short lines in all. Times in the owner's timezone. No headings, no bullets beyond a plain line each, no greeting.
24
-
25
- ## When to send nothing
26
- If nothing fires today, nothing is overdue, the calendar is empty, the weather is unremarkable and no follow-up is worth raising, call `mission.silent` and say so in the reason. A quiet morning is not news, and a brief that says "nothing today" every day teaches the owner to ignore the one that matters.
27
-
28
- ## Never
29
- - Never mention a plugin, a tool or a part you could not read. No "the weather plugin is not installed", no "I cannot see your calendar". The owner reads what you have and nothing about what you lack.
30
- - Never invent an item to fill the brief, and never guess the weather or a meeting.
31
- - Never repeat yesterday's brief word for word; if an item is unchanged, one line is enough.
32
- - Never read anything you do not hold: no mail, no other agent's reminders.