@eventcatalog/core 0.1.5 → 0.1.9

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 (254) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +51 -41
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/eslint/.cache_1bay4w0 +1 -1
  6. package/.next/cache/next-server.js.nft.json +1 -1
  7. package/.next/cache/webpack/client-production/0.pack +0 -0
  8. package/.next/cache/webpack/client-production/index.pack +0 -0
  9. package/.next/cache/webpack/server-production/0.pack +0 -0
  10. package/.next/cache/webpack/server-production/index.pack +0 -0
  11. package/.next/export-marker.json +1 -1
  12. package/.next/images-manifest.json +1 -1
  13. package/.next/next-server.js.nft.json +1 -1
  14. package/.next/prerender-manifest.json +1 -1
  15. package/.next/react-loadable-manifest.json +3 -2
  16. package/.next/required-server-files.json +1 -1
  17. package/.next/routes-manifest.json +1 -1
  18. package/.next/server/chunks/565.js +77 -21
  19. package/.next/server/chunks/8.js +1 -0
  20. package/.next/server/chunks/944.js +94 -10
  21. package/.next/server/chunks/97.js +9 -1
  22. package/.next/server/pages/404.html +1 -1
  23. package/.next/server/pages/500.html +1 -1
  24. package/.next/server/pages/_app.js +23 -6
  25. package/.next/server/pages/events/AddedItemToCart/logs.html +1 -1
  26. package/.next/server/pages/events/AddedItemToCart/v/0.0.1.html +16 -6
  27. package/.next/server/pages/events/AddedItemToCart/v/0.0.1.json +1 -1
  28. package/.next/server/pages/events/AddedItemToCart/v/0.0.2.html +16 -6
  29. package/.next/server/pages/events/AddedItemToCart/v/0.0.2.json +1 -1
  30. package/.next/server/pages/events/AddedItemToCart.html +15 -5
  31. package/.next/server/pages/events/AddedItemToCart.json +1 -1
  32. package/.next/server/pages/events/OrderComplete/logs.html +1 -1
  33. package/.next/server/pages/events/OrderComplete.html +15 -5
  34. package/.next/server/pages/events/OrderComplete.json +1 -1
  35. package/.next/server/pages/events/OrderConfirmed/logs.html +1 -1
  36. package/.next/server/pages/events/OrderConfirmed.html +15 -5
  37. package/.next/server/pages/events/OrderConfirmed.json +1 -1
  38. package/.next/server/pages/events/OrderRequested/logs.html +1 -1
  39. package/.next/server/pages/events/OrderRequested.html +15 -5
  40. package/.next/server/pages/events/OrderRequested.json +1 -1
  41. package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
  42. package/.next/server/pages/events/PaymentProcessed.html +15 -5
  43. package/.next/server/pages/events/PaymentProcessed.json +1 -1
  44. package/.next/server/pages/events/RemovedItemFromCart/logs.html +1 -1
  45. package/.next/server/pages/events/RemovedItemFromCart.html +15 -5
  46. package/.next/server/pages/events/RemovedItemFromCart.json +1 -1
  47. package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
  48. package/.next/server/pages/events/ShipmentDelivered.html +17 -6
  49. package/.next/server/pages/events/ShipmentDelivered.json +1 -1
  50. package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
  51. package/.next/server/pages/events/ShipmentDispatched.html +15 -5
  52. package/.next/server/pages/events/ShipmentDispatched.json +1 -1
  53. package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
  54. package/.next/server/pages/events/ShipmentPrepared.html +15 -47
  55. package/.next/server/pages/events/ShipmentPrepared.json +1 -1
  56. package/.next/server/pages/events/[name]/v/[version].js +15 -1
  57. package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
  58. package/.next/server/pages/events/[name].js +15 -1
  59. package/.next/server/pages/events/[name].js.nft.json +1 -1
  60. package/.next/server/pages/events.html +10 -10
  61. package/.next/server/pages/events.js +16 -3
  62. package/.next/server/pages/events.js.nft.json +1 -1
  63. package/.next/server/pages/index.html +1 -1
  64. package/.next/server/pages/overview.html +1 -1
  65. package/.next/server/pages/overview.js +13 -7
  66. package/.next/server/pages/overview.js.nft.json +1 -1
  67. package/.next/server/pages/services/Basket Service.html +16 -5
  68. package/.next/server/pages/services/Basket Service.json +1 -1
  69. package/.next/server/pages/services/Data Lake.html +18 -6
  70. package/.next/server/pages/services/Data Lake.json +1 -1
  71. package/.next/server/pages/services/Payment Service.html +14 -4
  72. package/.next/server/pages/services/Payment Service.json +1 -1
  73. package/.next/server/pages/services/Shipping Service.html +22 -8
  74. package/.next/server/pages/services/Shipping Service.json +1 -1
  75. package/.next/server/pages/services/[name].js +15 -3
  76. package/.next/server/pages/services/[name].js.nft.json +1 -1
  77. package/.next/server/pages/services.html +5 -5
  78. package/.next/server/pages/services.js +16 -3
  79. package/.next/server/pages/services.js.nft.json +1 -1
  80. package/.next/server/pages/users/[id].js +8 -1
  81. package/.next/server/pages/users/[id].js.nft.json +1 -1
  82. package/.next/server/pages/users/dboyne.html +14 -14
  83. package/.next/server/pages/users/mSmith.html +10 -10
  84. package/.next/static/_D78gGWWcjFmvj_jqGXW3/_buildManifest.js +1 -0
  85. package/.next/static/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/_middlewareManifest.js +0 -0
  86. package/.next/static/_D78gGWWcjFmvj_jqGXW3/_ssgManifest.js +1 -0
  87. package/.next/static/chunks/{873-8db237ddb872ef2b.js → 178-9b89f5c036d77ab9.js} +1 -1
  88. package/.next/static/chunks/1df474da-91f6061ee61707c6.js +1 -0
  89. package/.next/static/chunks/2edb282b-9e1cce5842787609.js +1 -0
  90. package/.next/static/chunks/336-b1acb0b6aa306baf.js +1 -0
  91. package/.next/static/chunks/364-9c039ca46569869e.js +1 -0
  92. package/.next/static/chunks/5-f60eecf67567a225.js +1 -0
  93. package/.next/static/chunks/650-4004943b2a9623ca.js +1 -0
  94. package/.next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js +1 -0
  95. package/.next/static/chunks/802.a40c121588cf5040.js +1 -0
  96. package/.next/static/chunks/main-0015f560a7edeb35.js +1 -0
  97. package/.next/static/chunks/pages/_app-c205def1388372e3.js +1 -0
  98. package/.next/static/chunks/pages/events/[name]/v/{[version]-5652060e116d4a61.js → [version]-f6619ec4056cc70d.js} +1 -1
  99. package/.next/static/chunks/pages/events/[name]-73ecab7171745a3f.js +1 -0
  100. package/.next/static/chunks/pages/events-c9e5a0fa7d23d620.js +1 -0
  101. package/{out/_next/static/chunks/pages/overview-6bd5a86d5a28a942.js → .next/static/chunks/pages/overview-2f0bfad06c84e437.js} +1 -1
  102. package/.next/static/chunks/pages/services/[name]-d8873d29190a6447.js +1 -0
  103. package/.next/static/chunks/pages/services-30e4132ef02b1784.js +1 -0
  104. package/.next/static/chunks/pages/users/[id]-a4274bfad4d9a9ec.js +1 -0
  105. package/.next/static/chunks/webpack-2ebfdb1666dac4ad.js +1 -0
  106. package/.next/static/css/7e14b4dede1671ad.css +1 -0
  107. package/.next/trace +54 -37
  108. package/CHANGELOG.md +26 -0
  109. package/README.md +1 -1
  110. package/components/Header.tsx +12 -4
  111. package/components/Mdx/SchemaViewer/SchemaViewer.module.css +5 -0
  112. package/components/Mdx/SchemaViewer/SchemaViewer.tsx +34 -0
  113. package/eventcatalog.config.js +1 -0
  114. package/lib/__tests__/graphs.spec.ts +33 -7
  115. package/lib/graphs.ts +70 -23
  116. package/out/404/index.html +1 -0
  117. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/AddedItemToCart/logs.json +0 -0
  118. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/AddedItemToCart/v/0.0.1.json +1 -1
  119. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/AddedItemToCart/v/0.0.2.json +1 -1
  120. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/AddedItemToCart.json +1 -1
  121. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/OrderComplete/logs.json +0 -0
  122. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/OrderComplete.json +1 -1
  123. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/OrderConfirmed/logs.json +0 -0
  124. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/OrderConfirmed.json +1 -1
  125. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/OrderRequested/logs.json +0 -0
  126. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/OrderRequested.json +1 -1
  127. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/PaymentProcessed/logs.json +0 -0
  128. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/PaymentProcessed.json +1 -1
  129. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/RemovedItemFromCart/logs.json +0 -0
  130. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/RemovedItemFromCart.json +1 -1
  131. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/ShipmentDelivered/logs.json +0 -0
  132. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/ShipmentDelivered.json +1 -1
  133. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/ShipmentDispatched/logs.json +0 -0
  134. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/ShipmentDispatched.json +1 -1
  135. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/ShipmentPrepared/logs.json +0 -0
  136. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events/ShipmentPrepared.json +1 -1
  137. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/events.json +0 -0
  138. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/overview.json +0 -0
  139. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/services/Basket Service.json +1 -1
  140. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/services/Data Lake.json +1 -1
  141. package/out/_next/data/_D78gGWWcjFmvj_jqGXW3/services/Payment Service.json +1 -0
  142. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/services/Shipping Service.json +1 -1
  143. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/services.json +0 -0
  144. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/users/dboyne.json +0 -0
  145. package/out/_next/data/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/users/mSmith.json +0 -0
  146. package/out/_next/static/_D78gGWWcjFmvj_jqGXW3/_buildManifest.js +1 -0
  147. package/out/_next/static/{KdSbnzD2mtkQD-74qZi6x → _D78gGWWcjFmvj_jqGXW3}/_middlewareManifest.js +0 -0
  148. package/out/_next/static/_D78gGWWcjFmvj_jqGXW3/_ssgManifest.js +1 -0
  149. package/out/_next/static/chunks/{873-8db237ddb872ef2b.js → 178-9b89f5c036d77ab9.js} +1 -1
  150. package/out/_next/static/chunks/1df474da-91f6061ee61707c6.js +1 -0
  151. package/out/_next/static/chunks/2edb282b-9e1cce5842787609.js +1 -0
  152. package/out/_next/static/chunks/336-b1acb0b6aa306baf.js +1 -0
  153. package/out/_next/static/chunks/364-9c039ca46569869e.js +1 -0
  154. package/out/_next/static/chunks/5-f60eecf67567a225.js +1 -0
  155. package/out/_next/static/chunks/650-4004943b2a9623ca.js +1 -0
  156. package/out/_next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js +1 -0
  157. package/out/_next/static/chunks/802.a40c121588cf5040.js +1 -0
  158. package/out/_next/static/chunks/main-0015f560a7edeb35.js +1 -0
  159. package/out/_next/static/chunks/pages/_app-c205def1388372e3.js +1 -0
  160. package/out/_next/static/chunks/pages/events/[name]/v/{[version]-5652060e116d4a61.js → [version]-f6619ec4056cc70d.js} +1 -1
  161. package/out/_next/static/chunks/pages/events/[name]-73ecab7171745a3f.js +1 -0
  162. package/out/_next/static/chunks/pages/events-c9e5a0fa7d23d620.js +1 -0
  163. package/{.next/static/chunks/pages/overview-6bd5a86d5a28a942.js → out/_next/static/chunks/pages/overview-2f0bfad06c84e437.js} +1 -1
  164. package/out/_next/static/chunks/pages/services/[name]-d8873d29190a6447.js +1 -0
  165. package/out/_next/static/chunks/pages/services-30e4132ef02b1784.js +1 -0
  166. package/out/_next/static/chunks/pages/users/[id]-a4274bfad4d9a9ec.js +1 -0
  167. package/out/_next/static/chunks/webpack-2ebfdb1666dac4ad.js +1 -0
  168. package/out/_next/static/css/7e14b4dede1671ad.css +1 -0
  169. package/out/events/{AddedItemToCart.html → AddedItemToCart/index.html} +15 -5
  170. package/out/events/AddedItemToCart/logs/index.html +1 -0
  171. package/out/events/AddedItemToCart/v/0.0.1/index.html +58 -0
  172. package/out/events/AddedItemToCart/v/0.0.2/index.html +65 -0
  173. package/out/events/{OrderComplete.html → OrderComplete/index.html} +15 -5
  174. package/out/events/OrderComplete/logs/index.html +1 -0
  175. package/out/events/OrderConfirmed/index.html +58 -0
  176. package/out/events/OrderConfirmed/logs/index.html +1 -0
  177. package/out/events/OrderRequested/index.html +58 -0
  178. package/out/events/OrderRequested/logs/index.html +1 -0
  179. package/out/events/{PaymentProcessed.html → PaymentProcessed/index.html} +15 -5
  180. package/out/events/PaymentProcessed/logs/index.html +1 -0
  181. package/out/events/{RemovedItemFromCart.html → RemovedItemFromCart/index.html} +15 -5
  182. package/out/events/RemovedItemFromCart/logs/index.html +1 -0
  183. package/out/events/{ShipmentDelivered.html → ShipmentDelivered/index.html} +17 -6
  184. package/out/events/ShipmentDelivered/logs/index.html +1 -0
  185. package/out/events/{ShipmentDispatched.html → ShipmentDispatched/index.html} +15 -5
  186. package/out/events/ShipmentDispatched/logs/index.html +1 -0
  187. package/out/events/ShipmentPrepared/index.html +20 -0
  188. package/out/events/ShipmentPrepared/logs/index.html +1 -0
  189. package/out/{events.html → events/index.html} +10 -10
  190. package/out/index.html +1 -1
  191. package/out/overview/index.html +1 -0
  192. package/out/services/Basket Service/index.html +22 -0
  193. package/out/services/Data Lake/index.html +24 -0
  194. package/out/services/Payment Service/index.html +20 -0
  195. package/out/services/Shipping Service/index.html +28 -0
  196. package/out/{services.html → services/index.html} +5 -5
  197. package/out/users/{dboyne.html → dboyne/index.html} +14 -14
  198. package/out/users/{mSmith.html → mSmith/index.html} +10 -10
  199. package/package.json +6 -2
  200. package/pages/events/[name].tsx +29 -2
  201. package/pages/events.tsx +3 -1
  202. package/pages/overview.tsx +15 -7
  203. package/pages/services/[name].tsx +6 -2
  204. package/pages/services.tsx +3 -1
  205. package/styles/globals.css +1 -1
  206. package/.next/static/KdSbnzD2mtkQD-74qZi6x/_buildManifest.js +0 -1
  207. package/.next/static/KdSbnzD2mtkQD-74qZi6x/_ssgManifest.js +0 -1
  208. package/.next/static/chunks/28-812913d1c0167bab.js +0 -1
  209. package/.next/static/chunks/336-8b7da71a40e0c439.js +0 -1
  210. package/.next/static/chunks/364-3cb3c8cf1d3c95de.js +0 -1
  211. package/.next/static/chunks/638.d570519ae49c92c8.js +0 -1
  212. package/.next/static/chunks/main-0289ecbd51cd4cb4.js +0 -1
  213. package/.next/static/chunks/pages/_app-151e9a6aaffc086e.js +0 -1
  214. package/.next/static/chunks/pages/events/[name]-146170e56a404524.js +0 -1
  215. package/.next/static/chunks/pages/events-2bca09b458bde8ab.js +0 -1
  216. package/.next/static/chunks/pages/services/[name]-78378d531eb27bc2.js +0 -1
  217. package/.next/static/chunks/pages/services-1293e4d7df6174bf.js +0 -1
  218. package/.next/static/chunks/pages/users/[id]-5374b99d99fe576e.js +0 -1
  219. package/.next/static/chunks/webpack-4d9342d4391c2a09.js +0 -1
  220. package/out/404.html +0 -1
  221. package/out/_next/data/KdSbnzD2mtkQD-74qZi6x/services/Payment Service.json +0 -1
  222. package/out/_next/static/KdSbnzD2mtkQD-74qZi6x/_buildManifest.js +0 -1
  223. package/out/_next/static/KdSbnzD2mtkQD-74qZi6x/_ssgManifest.js +0 -1
  224. package/out/_next/static/chunks/28-812913d1c0167bab.js +0 -1
  225. package/out/_next/static/chunks/336-8b7da71a40e0c439.js +0 -1
  226. package/out/_next/static/chunks/364-3cb3c8cf1d3c95de.js +0 -1
  227. package/out/_next/static/chunks/638.d570519ae49c92c8.js +0 -1
  228. package/out/_next/static/chunks/main-0289ecbd51cd4cb4.js +0 -1
  229. package/out/_next/static/chunks/pages/_app-151e9a6aaffc086e.js +0 -1
  230. package/out/_next/static/chunks/pages/events/[name]-146170e56a404524.js +0 -1
  231. package/out/_next/static/chunks/pages/events-2bca09b458bde8ab.js +0 -1
  232. package/out/_next/static/chunks/pages/services/[name]-78378d531eb27bc2.js +0 -1
  233. package/out/_next/static/chunks/pages/services-1293e4d7df6174bf.js +0 -1
  234. package/out/_next/static/chunks/pages/users/[id]-5374b99d99fe576e.js +0 -1
  235. package/out/_next/static/chunks/webpack-4d9342d4391c2a09.js +0 -1
  236. package/out/events/AddedItemToCart/logs.html +0 -1
  237. package/out/events/AddedItemToCart/v/0.0.1.html +0 -48
  238. package/out/events/AddedItemToCart/v/0.0.2.html +0 -55
  239. package/out/events/OrderComplete/logs.html +0 -1
  240. package/out/events/OrderConfirmed/logs.html +0 -1
  241. package/out/events/OrderConfirmed.html +0 -48
  242. package/out/events/OrderRequested/logs.html +0 -1
  243. package/out/events/OrderRequested.html +0 -48
  244. package/out/events/PaymentProcessed/logs.html +0 -1
  245. package/out/events/RemovedItemFromCart/logs.html +0 -1
  246. package/out/events/ShipmentDelivered/logs.html +0 -1
  247. package/out/events/ShipmentDispatched/logs.html +0 -1
  248. package/out/events/ShipmentPrepared/logs.html +0 -1
  249. package/out/events/ShipmentPrepared.html +0 -52
  250. package/out/overview.html +0 -1
  251. package/out/services/Basket Service.html +0 -11
  252. package/out/services/Data Lake.html +0 -12
  253. package/out/services/Payment Service.html +0 -10
  254. package/out/services/Shipping Service.html +0 -14
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{75296:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))})},4079:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},27029:function(e,t){"use strict";function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}Object.defineProperty(t,"__esModule",{value:!0}),t.isEqualNode=a,t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var n={};t.forEach((function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var t=n[e.type]||[];t.push(e),n[e.type]=t}));var i=n.title?n.title[0]:null,u="";if(i){var c=i.props.children;u="string"===typeof c?c:Array.isArray(c)?c.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(n.content),u=[],c=0,s=n.previousElementSibling;c<i;c++,s=(null===s||void 0===s?void 0:s.previousElementSibling)||null){var l;(null===s||void 0===s||null===(l=s.tagName)||void 0===l?void 0:l.toLowerCase())===e&&u.push(s)}var f=t.map(o).filter((function(e){for(var t=0,r=u.length;t<r;t++){if(a(u[t],e))return u.splice(t,1),!1}return!0}));u.forEach((function(e){var t;return null===(t=e.parentNode)||void 0===t?void 0:t.removeChild(e)})),f.forEach((function(e){return r.insertBefore(e,n)})),n.content=(i-u.length+f.length).toString()}(e,n[e]||[])}))}}))}}},t.DOMAttributeNames=void 0;var n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){var t=e.type,r=e.props,o=document.createElement(t);for(var a in r)if(r.hasOwnProperty(a)&&"children"!==a&&"dangerouslySetInnerHTML"!==a&&void 0!==r[a]){var i=n[a]||a.toLowerCase();"script"!==t||"async"!==i&&"defer"!==i&&"noModule"!==i?o.setAttribute(i,r[a]):o[i]=!!r[a]}var u=r.children,c=r.dangerouslySetInnerHTML;return c?o.innerHTML=c.__html||"":u&&(o.textContent="string"===typeof u?u:Array.isArray(u)?u.join(""):""),o}function a(e,t){if(r(e,HTMLElement)&&r(t,HTMLElement)){var n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){var o=t.cloneNode(!0);return o.setAttribute("nonce",""),o.nonce=n,n===e.nonce&&e.isEqualNode(o)}}return e.isEqualNode(t)}t.DOMAttributeNames=n},36330:function(e,t,r){"use strict";var n,o=(n=r(92021))&&n.__esModule?n:{default:n};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function s(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var p=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function h(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return s(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.initNext=function(){return he.apply(this,arguments)},t.render=ve,t.renderError=ye,t.emitter=t.router=t.version=void 0,r(75296);var d=N(r(2784)),v=N(r(28316)),y=r(95620),m=r(77188),g=N(r(8744)),_=r(33220),b=r(29918),w=r(39032),S=r(62519),P=r(96112),x=r(34750),E=r(51218),O=N(r(27029)),R=N(r(53682)),k=N(r(54861)),j=r(96096),C=r(93642),A=N(r(10274)),T=r(70988);function L(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void r(s)}u.done?t(c):Promise.resolve(c).then(n,o)}function M(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){L(a,n,o,i,u,"next",e)}function u(e){L(a,n,o,i,u,"throw",e)}i(void 0)}))}}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e){return e&&e.__esModule?e:{default:e}}function F(e){for(var t=arguments,r=function(r){var n=null!=t[r]?t[r]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){I(e,t,n[t])}))},n=1;n<arguments.length;n++)r(n);return e}var D=JSON.parse(document.getElementById("__NEXT_DATA__").textContent);window.__NEXT_DATA__=D;t.version="12.0.7";var B=function(e){return[].slice.call(e)},q=D.props,z=D.err,H=D.page,U=D.query,W=D.buildId,G=D.assetPrefix,V=D.runtimeConfig,$=D.dynamicIds,X=D.isFallback,K=D.locale,Q=D.locales,Y=D.domainLocales,J=D.isPreview,Z=(D.rsc,D.defaultLocale),ee=G||"";r.p="".concat(ee,"/_next/"),P.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:V||{}});var te=x.getURL();(b.hasBasePath(te)&&(te=b.delBasePath(te)),D.scriptLoader)&&(0,r(20747).zD)(D.scriptLoader);var re=new R.default(W,ee),ne=function(e){var t=f(e,2),r=t[0],n=t[1];return re.routeLoader.onEntrypoint(r,n)};window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return ne(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=ne;var oe,ae,ie,ue,ce=O.default(),se=document.getElementById("__next");t.router=ae,ce.getIsSsr=function(){return ae.isSsr};var le,fe=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(u,e);var t,r,n,o=h(u);function u(){return a(this,u),o.apply(this,arguments)}return t=u,(r=[{key:"componentDidCatch",value:function(e,t){this.props.fn(e,t)}},{key:"componentDidMount",value:function(){this.scrollToHash(),ae.isSsr&&"/404"!==H&&"/_error"!==H&&(X||D.nextExport&&(w.isDynamicRoute(ae.pathname)||location.search)||q&&q.__N_SSG&&location.search)&&ae.replace(ae.pathname+"?"+String(S.assign(S.urlQueryToSearchParams(ae.query),new URLSearchParams(location.search))),te,{_h:1,shallow:!X})}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=location.hash;if(e=e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout((function(){return t.scrollIntoView()}),0)}}},{key:"render",value:function(){return this.props.children}}])&&i(t.prototype,r),n&&i(t,n),u}(d.default.Component),pe=g.default();function he(){return(he=M(o.default.mark((function e(r){var n,a,i,u,c,s,l;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r?{}:r,n=z,e.prev=3,e.next=6,re.routeLoader.whenEntrypoint("/_app");case 6:if(!("error"in(a=e.sent))){e.next=9;break}throw a.error;case 9:i=a.component,u=a.exports,ie=i,c=u&&u.reportWebVitals,ue=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime);var f={id:r||l,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};null===c||void 0===c||c(f),T.trackWebVitalMetric(f)},e.next=17;break;case 17:return e.next=19,re.routeLoader.whenEntrypoint(H);case 19:e.t0=e.sent;case 20:if(!("error"in(s=e.t0))){e.next=23;break}throw s.error;case 23:le=s.component,e.next=28;break;case 28:e.next=33;break;case 30:e.prev=30,e.t1=e.catch(3),n=A.default(e.t1)?e.t1:new Error(e.t1+"");case 33:if(!window.__NEXT_PRELOADREADY){e.next=37;break}return e.next=37,window.__NEXT_PRELOADREADY($);case 37:return t.router=ae=C.createRouter(H,U,te,{initialProps:q,pageLoader:re,App:ie,Component:le,wrapApp:Pe,err:n,isFallback:Boolean(X),subscription:function(e,t,r){return ve(Object.assign({},e,{App:t,scroll:r}))},locale:K,locales:Q,defaultLocale:Z,domainLocales:Y,isPreview:J}),ve(l={App:ie,initial:!0,Component:le,props:q,err:n}),e.abrupt("return",pe);case 44:return e.abrupt("return",{emitter:pe,renderCtx:l});case 45:case"end":return e.stop()}}),e,null,[[3,30]])})))).apply(this,arguments)}function de(){return(de=M(o.default.mark((function e(t){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,ye(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,xe(t);case 7:e.next=17;break;case 9:if(e.prev=9,e.t0=e.catch(4),!(r=c(e.t0,Error)?e.t0:new Error(e.t0+"")).cancelled){e.next=14;break}throw r;case 14:return e.next=17,ye(F({},t,{err:r}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function ve(e){return de.apply(this,arguments)}function ye(e){var t=e.App,n=e.err;return console.error(n),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),re.loadPage("/_error").then((function(e){var t=e.page,n=e.styleSheets;return(null===Se||void 0===Se?void 0:Se.Component)===t?Promise.resolve().then((function(){return function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(72918))})).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:t,styleSheets:n}})).then((function(r){var o=r.ErrorComponent,a=r.styleSheets,i=Pe(t),u={Component:o,AppTree:i,router:ae,ctx:{err:n,pathname:H,query:U,asPath:te,AppTree:i}};return Promise.resolve(e.props?e.props:x.loadGetInitialProps(t,u)).then((function(t){return xe(F({},e,{err:n,Component:o,styleSheets:a,props:t}))}))}))}t.emitter=pe;var me=!0;function ge(){x.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),ue&&performance.getEntriesByName("Next.js-hydration").forEach(ue),be())}function _e(){if(x.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),ue&&(performance.getEntriesByName("Next.js-render").forEach(ue),performance.getEntriesByName("Next.js-route-change-to-render").forEach(ue)),be(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function be(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function we(e){var t=e.children;return d.default.createElement(fe,{fn:function(e){return ye({App:ie,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},d.default.createElement(_.RouterContext.Provider,{value:C.makePublicRouterInstance(ae)},d.default.createElement(m.HeadManagerContext.Provider,{value:ce},d.default.createElement(y.StyleRegistry,null,t))))}var Se,Pe=function(e){return function(t){var r=F({},t,{Component:le,err:z,router:ae});return d.default.createElement(we,null,d.default.createElement(e,Object.assign({},r)))}};function xe(e){var t=function(){s()},r=e.App,n=e.Component,o=e.props,a=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;n=n||Se.Component;var c=F({},o=o||Se.props,{Component:!!i?undefined:n,err:a,router:ae});Se=c;var s,l=!1,f=new Promise((function(e,t){oe&&oe(),s=function(){oe=null,e()},oe=function(){l=!0,oe=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));!function(){if(!u)return!1;var e=B(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null===r||void 0===r?void 0:r.getAttribute("data-n-css");u.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}();var p=d.default.createElement(d.default.Fragment,null,d.default.createElement(Oe,{callback:function(){if(u&&!l){for(var t=new Set(u.map((function(e){return e.href}))),r=B(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o<n.length;++o)t.has(n[o])?r[o].removeAttribute("media"):r[o].setAttribute("media","x");var a=document.querySelector("noscript[data-n-css]");a&&u.forEach((function(e){var t=e.href,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(a.parentNode.insertBefore(r,a.nextSibling),a=r)})),B(document.querySelectorAll("link[data-n-p]")).forEach((function(e){e.parentNode.removeChild(e)}))}e.scroll&&window.scrollTo(e.scroll.x,e.scroll.y)}}),d.default.createElement(we,null,d.default.createElement(r,Object.assign({},c)),d.default.createElement(E.Portal,{type:"next-route-announcer"},d.default.createElement(j.RouteAnnouncer,null))));return function(e,t){x.ST&&performance.mark("beforeRender");var r=t(me?ge:_e);me?(v.default.hydrate(r,e),me=!1):v.default.render(r,e)}(se,(function(e){return d.default.createElement(Ee,{callbacks:[e,t]},d.default.createElement(d.default.StrictMode,null,p))})),f}function Ee(e){var t=e.callbacks,r=e.children;return d.default.useLayoutEffect((function(){return t.forEach((function(e){return e()}))}),[t]),d.default.useEffect((function(){k.default(ue)}),[]),r}function Oe(e){var t=e.callback;return d.default.useLayoutEffect((function(){return t()}),[t]),null}},9043:function(e,t,r){"use strict";var n=r(36330);window.next={version:n.version,get router(){return n.router},emitter:n.emitter,render:n.render,renderError:n.renderError},n.initNext().catch(console.error)},60583:function(e,t){"use strict";function r(e){return e.endsWith("/")&&"/"!==e?e.slice(0,-1):e}Object.defineProperty(t,"__esModule",{value:!0}),t.removePathTrailingSlash=r,t.normalizePathTrailingSlash=void 0;var n=r;t.normalizePathTrailingSlash=n},53682:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=r(29918),i=(o=r(88738))&&o.__esModule?o:{default:o},u=r(39032),c=r(3881),s=r(60583),l=r(21437);var f=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.routeLoader=l.createRouteLoader(r),this.buildId=t,this.assetPrefix=r,this.promisedSsgManifest=new Promise((function(e){window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=function(){e(window.__SSG_MANIFEST)}}))}var t,r,o;return t=e,(r=[{key:"getPageList",value:function(){return l.getClientBuildManifest().then((function(e){return e.sortedPages}))}},{key:"getMiddlewareList",value:function(){return l.getMiddlewareManifest()}},{key:"getDataHref",value:function(e){var t=e.href,r=e.asPath,n=e.ssg,o=e.rsc,l=e.locale,f=this,p=c.parseRelativeUrl(t),h=p.pathname,d=p.query,v=p.search,y=c.parseRelativeUrl(r).pathname,m=function(e){if("/"!==e[0])throw new Error('Route name should start with a "/", got "'.concat(e,'"'));return"/"===e?e:e.replace(/\/$/,"")}(h),g=function(e){if(o)return e+"?__flight__";var t=i.default(s.removePathTrailingSlash(a.addLocale(e,l)),".json");return a.addBasePath("/_next/data/".concat(f.buildId).concat(t).concat(n?"":v))},_=u.isDynamicRoute(m),b=_?a.interpolateAs(h,y,d).result:"";return _?b&&g(b):g(m)}},{key:"_isSsg",value:function(e){return this.promisedSsgManifest.then((function(t){return t.has(e)}))}},{key:"loadPage",value:function(e){return this.routeLoader.loadRoute(e).then((function(e){if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((function(e){return{href:e.href,text:e.content}}))};throw e.error}))}},{key:"prefetch",value:function(e){return this.routeLoader.prefetch(e)}}])&&n(t.prototype,r),o&&n(t,o),e}();t.default=f},54861:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(29600),a=(location.href,!1);function i(e){n&&n(e)}t.default=function(e){n=e,a||(a=!0,o.getCLS(i),o.getFID(i),o.getFCP(i),o.getLCP(i),o.getTTFB(i))}},51218:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(28316);t.Portal=function(e){var t=e.children,r=e.type,o=a.default.useRef(null),u=n(a.default.useState(),2)[1];return a.default.useEffect((function(){return o.current=document.createElement(r),document.body.appendChild(o.current),u({}),function(){o.current&&document.body.removeChild(o.current)}}),[r]),o.current?i.createPortal(t,o.current):null}},49071:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;var r="undefined"!==typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};t.requestIdleCallback=r;var n="undefined"!==typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=n},96096:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.RouteAnnouncer=u,t.default=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(93642);function u(){var e=i.useRouter().asPath,t=n(a.default.useState(""),2),r=t[0],o=t[1],u=a.default.useRef(!1);return a.default.useEffect((function(){if(u.current)if(document.title)o(document.title);else{var t,r=document.querySelector("h1"),n=null!==(t=null===r||void 0===r?void 0:r.innerText)&&void 0!==t?t:null===r||void 0===r?void 0:r.textContent;o(n||e)}else u.current=!0}),[e]),a.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},r)}var c=u;t.default=c},21437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=s,t.isAssetError=function(e){return e&&c in e},t.getClientBuildManifest=f,t.getMiddlewareManifest=function(){if(self.__MIDDLEWARE_MANIFEST)return Promise.resolve(self.__MIDDLEWARE_MANIFEST);return l(new Promise((function(e){var t=self.__MIDDLEWARE_MANIFEST_CB;self.__MIDDLEWARE_MANIFEST_CB=function(){e(self.__MIDDLEWARE_MANIFEST),t&&t()}})),a,s(new Error("Failed to load client middleware manifest")))},t.createRouteLoader=function(e){var t=function(e){var t=c.get(e);return t||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(c.set(e,t=function(e,t){return new Promise((function(r,n){(t=document.createElement("script")).onload=r,t.onerror=function(){return n(s(new Error("Failed to load script: ".concat(e))))},t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))}(e)),t))},r=function(e){var t=f.get(e);return t||(f.set(e,t=fetch(e).then((function(t){if(!t.ok)throw new Error("Failed to load stylesheet: ".concat(e));return t.text().then((function(t){return{href:e,content:t}}))})).catch((function(e){throw s(e)}))),t)},n=new Map,c=new Map,f=new Map,h=new Map;return{whenEntrypoint:function(e){return i(e,n)},onEntrypoint:function(e,t){(t?Promise.resolve().then((function(){return t()})).then((function(e){return{component:e&&e.default||e,exports:e}}),(function(e){return{error:e}})):Promise.resolve(void 0)).then((function(t){var r=n.get(e);r&&"resolve"in r?t&&(n.set(e,t),r.resolve(t)):(t?n.set(e,t):n.delete(e),h.delete(e))}))},loadRoute:function(o,u){var c=this;return i(o,h,(function(){var i=c;return l(p(e,o).then((function(e){var a=e.scripts,i=e.css;return Promise.all([n.has(o)?[]:Promise.all(a.map(t)),Promise.all(i.map(r))])})).then((function(e){return i.whenEntrypoint(o).then((function(t){return{entrypoint:t,styles:e[1]}}))})),a,s(new Error("Route did not complete loading: ".concat(o)))).then((function(e){var t=e.entrypoint,r=e.styles,n=Object.assign({styles:r},t);return"error"in t?t:n})).catch((function(e){if(u)throw e;return{error:e}})).finally((function(){}))}))},prefetch:function(t){var r,n=this;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():p(e,t).then((function(e){return Promise.all(u?e.scripts.map((function(e){return t=e,r="script",new Promise((function(e,o){var a='\n link[rel="prefetch"][href^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(t,'"]');if(document.querySelector(a))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=o,n.href=t,document.head.appendChild(n)}));var t,r,n})):[])})).then((function(){var e=n;o.requestIdleCallback((function(){return e.loadRoute(t,!0).catch((function(){}))}))})).catch((function(){}))}}};(n=r(88738))&&n.__esModule;var n,o=r(49071);var a=3800;function i(e,t,r){var n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);var a=new Promise((function(e){n=e}));return t.set(e,o={resolve:n,future:a}),r?r().then((function(e){return n(e),e})).catch((function(r){throw t.delete(e),r})):a}var u=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}();var c=Symbol("ASSET_LOAD_ERROR");function s(e){return Object.defineProperty(e,c,{})}function l(e,t,r){return new Promise((function(n,a){var i=!1;e.then((function(e){i=!0,n(e)})).catch(a),o.requestIdleCallback((function(){return setTimeout((function(){i||a(r)}),t)}))}))}function f(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):l(new Promise((function(e){var t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=function(){e(self.__BUILD_MANIFEST),t&&t()}})),a,s(new Error("Failed to load client build manifest")))}function p(e,t){return f().then((function(r){if(!(t in r))throw s(new Error("Failed to lookup route: ".concat(t)));var n=r[t].map((function(t){return e+"/_next/"+encodeURI(t)}));return{scripts:n.filter((function(e){return e.endsWith(".js")})),css:n.filter((function(e){return e.endsWith(".css")}))}}))}},93642:function(e,t,r){"use strict";function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function o(e,t,r){return(o=n()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&a(o,r.prototype),o}).apply(null,arguments)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return f.default}}),t.useRouter=function(){return u.default.useContext(s.RouterContext)},t.createRouter=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.router=o(c.default,i(t)),h.readyCallbacks.forEach((function(e){return e()})),h.readyCallbacks=[],h.router},t.makePublicRouterInstance=function(e){var t=e,r={},n=!0,o=!1,a=void 0;try{for(var u,s=d[Symbol.iterator]();!(n=(u=s.next()).done);n=!0){var l=u.value;"object"!==typeof t[l]?r[l]=t[l]:r[l]=Object.assign(Array.isArray(t[l])?[]:{},t[l])}}catch(f){o=!0,a=f}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r.events=c.default.events,v.forEach((function(e){r[e]=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var a;return(a=t)[e].apply(a,i(n))}})),r},t.default=void 0;var u=p(r(2784)),c=p(r(29918)),s=r(33220),l=p(r(10274)),f=p(r(14959));function p(e){return e&&e.__esModule?e:{default:e}}var h={router:null,readyCallbacks:[],ready:function(e){if(this.router)return e();this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],v=["push","replace","reload","back","prefetch","beforePopState"];function y(){if(!h.router){throw new Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n')}return h.router}Object.defineProperty(h,"events",{get:function(){return c.default.events}}),d.forEach((function(e){Object.defineProperty(h,e,{get:function(){return y()[e]}})})),v.forEach((function(e){h[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o,a=y();return(o=a)[e].apply(o,i(r))}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((function(e){h.ready((function(){c.default.events.on(e,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o="on".concat(e.charAt(0).toUpperCase()).concat(e.substring(1)),a=h;if(a[o])try{var u;(u=a)[o].apply(u,i(r))}catch(c){console.error("Error when running the Router event: ".concat(o)),console.error(l.default(c)?"".concat(c.message,"\n").concat(c.stack):c+"")}}))}))}));var m=h;t.default=m},20747:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.zD=function(e){e.forEach(v)};var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(2784)),a=r(77188),i=r(27029),u=r(49071);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=arguments,r=function(r){var n=null!=t[r]?t[r]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){c(e,t,n[t])}))},n=1;n<arguments.length;n++)r(n);return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=new Map,p=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],d=function(e){var t=e.src,r=e.id,o=e.onLoad,a=void 0===o?function(){}:o,u=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,d=void 0===l?"afterInteractive":l,v=e.onError,y=r||t;if(!y||!p.has(y)){if(f.has(t))return p.add(y),void f.get(t).then(a,v);var m=document.createElement("script"),g=new Promise((function(e,t){m.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),m.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&f.set(t,g),p.add(y),u?m.innerHTML=u.__html||"":s?m.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(m.src=t);var _=!0,b=!1,w=void 0;try{for(var S,P=Object.entries(e)[Symbol.iterator]();!(_=(S=P.next()).done);_=!0){var x=n(S.value,2),E=x[0],O=x[1];if(void 0!==O&&!h.includes(E)){var R=i.DOMAttributeNames[E]||E.toLowerCase();m.setAttribute(R,O)}}}catch(k){b=!0,w=k}finally{try{_||null==P.return||P.return()}finally{if(b)throw w}}m.setAttribute("data-nscript",d),document.body.appendChild(m)}};function v(e){var t=e.strategy,r=void 0===t?"afterInteractive":t;"afterInteractive"===r?d(e):"lazyOnload"===r&&window.addEventListener("load",(function(){u.requestIdleCallback((function(){return d(e)}))}))}},70988:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackWebVitalMetric=function(e){a.push(e),o.forEach((function(t){return t(e)}))},t.useExperimentalWebVitalsReport=function(e){var t=n.useRef(0);n.useEffect((function(){for(var r=function(r){e(r),t.current=a.length},n=t.current;n<a.length;n++)r(a[n]);return o.add(r),function(){o.delete(r)}}),[e])},t.webVitalsCallbacks=void 0;var n=r(2784),o=new Set;t.webVitalsCallbacks=o;var a=[]},14959:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(t){return o.default.createElement(e,Object.assign({router:a.useRouter()},t))};t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,!1;return t};var n,o=(n=r(2784))&&n.__esModule?n:{default:n},a=r(93642)},72918:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=p(r(2784)),f=p(r(75913));function p(e){return e&&e.__esModule?e:{default:e}}var h={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function d(e){var t=e.res,r=e.err;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}var v=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,r,a,i=s(c);function c(){return n(this,c),i.apply(this,arguments)}return t=c,(r=[{key:"render",value:function(){var e=this.props.statusCode,t=this.props.title||h[e]||"An unexpected error has occurred";return l.default.createElement("div",{style:y.error},l.default.createElement(f.default,null,l.default.createElement("title",null,e?"".concat(e,": ").concat(t):"Application error: a client-side exception has occurred")),l.default.createElement("div",null,l.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body { margin: 0 }"}}),e?l.default.createElement("h1",{style:y.h1},e):null,l.default.createElement("div",{style:y.desc},l.default.createElement("h2",{style:y.h2},this.props.title||e?t:l.default.createElement(l.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}])&&o(t.prototype,r),a&&o(t,a),c}(l.default.Component);v.displayName="ErrorPage",v.getInitialProps=d,v.origGetInitialProps=d,t.default=v;var y={error:{color:"#000",background:"#fff",fontFamily:'-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left",lineHeight:"49px",height:"49px",verticalAlign:"middle"},h1:{display:"inline-block",borderRight:"1px solid rgba(0, 0, 0,.3)",margin:0,marginRight:"20px",padding:"10px 23px 10px 0",fontSize:"24px",fontWeight:500,verticalAlign:"top"},h2:{fontSize:"14px",fontWeight:"normal",lineHeight:"inherit",margin:0,padding:0}}},53989:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var o=((n=r(2784))&&n.__esModule?n:{default:n}).default.createContext({});t.AmpStateContext=o},84342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=i,t.useAmp=function(){return i(o.default.useContext(a.AmpStateContext))};var n,o=(n=r(2784))&&n.__esModule?n:{default:n},a=r(53989);function i(e){var t=void 0===e?{}:e,r=t.ampFirst,n=void 0!==r&&r,o=t.hybrid,a=void 0!==o&&o,i=t.hasQuery;return n||a&&(void 0!==i&&i)}},77188:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var o=((n=r(2784))&&n.__esModule?n:{default:n}).default.createContext({});t.HeadManagerContext=o},75913:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var o,a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(2784)),i=(o=r(83993))&&o.__esModule?o:{default:o},u=r(53989),c=r(77188),s=r(84342);function l(e){var t=void 0!==e&&e,r=[a.default.createElement("meta",{charSet:"utf-8"})];return t||r.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),r}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var p=["name","httpEquiv","charSet","itemProp"];function h(e,t){return e.reduce((function(e,t){var r=a.default.Children.toArray(t.props.children);return e.concat(r)}),[]).reduce(f,[]).reverse().concat(l(t.inAmpMode)).filter(function(){var e=new Set,t=new Set,r=new Set,n={};return function(o){var a=!0,i=!1;if(o.key&&"number"!==typeof o.key&&o.key.indexOf("$")>0){i=!0;var u=o.key.slice(o.key.indexOf("$")+1);e.has(u)?a=!1:e.add(u)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(var c=0,s=p.length;c<s;c++){var l=p[c];if(o.props.hasOwnProperty(l))if("charSet"===l)r.has(l)?a=!1:r.add(l);else{var f=o.props[l],h=n[l]||new Set;"name"===l&&i||!h.has(f)?(h.add(f),n[l]=h):a=!1}}}return a}}()).reverse().map((function(e,r){var o=e.key||r;if(!t.inAmpMode&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((function(t){return e.props.href.startsWith(t)}))){var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){n(e,t,r[t])}))}return e}({},e.props||{});return i["data-href"]=i.href,i.href=void 0,i["data-optimized-fonts"]=!0,a.default.cloneElement(e,i)}return a.default.cloneElement(e,{key:o})}))}var d=function(e){var t=e.children,r=a.useContext(u.AmpStateContext),n=a.useContext(c.HeadManagerContext);return a.default.createElement(i.default,{reduceComponentsToState:h,headManager:n,inAmpMode:s.isInAmpMode(r)},t)};t.default=d},78458:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){var r,n=e.split("/");return(t||[]).some((function(t){return!(!n[1]||n[1].toLowerCase()!==t.toLowerCase())&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)})),{pathname:e,detectedLocale:r}}},8744:function(e,t){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=Object.create(null);return{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(e[t]||[]).slice().map((function(e){e.apply(void 0,r(o))}))}}}},33220:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var o=((n=r(2784))&&n.__esModule?n:{default:n}).default.createContext(null);t.RouterContext=o},29918:function(e,t,r){"use strict";var n,o=(n=r(92021))&&n.__esModule?n:{default:n};function a(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void r(s)}u.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,n){return!1},t.addLocale=R,t.delLocale=k,t.hasBasePath=C,t.addBasePath=A,t.delBasePath=T,t.isLocalURL=L,t.interpolateAs=M,t.resolveHref=N,t.default=void 0;var f=r(60583),p=r(21437),h=E(r(10274)),d=r(94863),v=r(78458),y=E(r(8744)),m=r(34750),g=r(39032),_=r(3881),b=r(62519),w=E(r(72094)),S=r(66164),P=r(67722),x=r(90910);function E(e){return e&&e.__esModule?e:{default:e}}function O(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}function R(e,t,r){return e}function k(e,t){return e}function j(e){var t=e.indexOf("?"),r=e.indexOf("#");return(t>-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function C(e){return""===(e=j(e))||e.startsWith("/")}function A(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=j(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.substr(r.length)}(e,"")}function T(e){return(e=e.slice("".length)).startsWith("/")||(e="/".concat(e)),e}function L(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=m.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&C(r.pathname)}catch(n){return!1}}function M(e,t,r){var n="",o=P.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function I(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function N(e,t,r){var n,o="string"===typeof t?t:m.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.substr(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=m.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!L(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(y){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(g.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=b.searchParamsToUrlQuery(c.searchParams),p=M(c.pathname,c.pathname,l),h=p.result,d=p.params;h&&(s=m.formatWithValidation({pathname:h,hash:c.hash,query:I(l,d)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(_){return r?[o]:o}}function F(e){var t=m.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function D(e,t,r){var n=l(N(e,t,!0),2),o=n[0],a=n[1],i=m.getLocationOrigin(),u=o.startsWith(i),c=a&&a.startsWith(i);o=F(o),a=a?F(a):a;var s=u?o:A(o),f=r?F(N(e,r)):a||o;return{url:s,as:c?f:A(f)}}function B(e,t){var r=f.removePathTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(g.isDynamicRoute(t)&&P.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var q=Symbol("SSG_DATA_NOT_FOUND");function z(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return z(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:q};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function H(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=z(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var U=function(){function e(t,r,n,o){var a,i=o.initialProps,u=o.pageLoader,c=o.App,s=o.wrapApp,l=o.Component,p=o.err,h=o.subscription,d=o.isFallback,v=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),b=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,a=t.idx;b._idx=a;var i=_.parseRelativeUrl(r).pathname;b.isSsr&&n===b.asPath&&i===b.pathname||b._bps&&!b._bps(t)||b.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&b._shallow,locale:o.locale||b.defaultLocale}),undefined)}}else{var u=b.pathname,c=b.query;b.changeState("replaceState",m.formatWithValidation({pathname:A(u),query:c}),m.getURL())}},this.route=f.removePathTrailingSlash(t),this.components={},"/_error"!==t)&&(this.components[this.route]={Component:l,initial:!0,props:i,err:p,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP,__N_RSC:!!(null===(a=l)||void 0===a?void 0:a.__next_rsc__)});this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u,this.pathname=t,this.query=r;var w=g.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.asPath=w?t:n,this.basePath="",this.sub=h,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isFallback=d,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.isPreview=!!y,this.isLocaleDomain=!1,"//"!==n.substr(0,2)){var S={locale:v};S._shouldResolveHref=n!==t,this.changeState("replaceState",m.formatWithValidation({pathname:A(t),query:r}),m.getURL(),S)}window.addEventListener("popstate",this.onPopState)}var t,r,n;return t=e,(r=[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=D(this,e,t)).url,t=n.as,this.change("pushState",e,t,o)}},{key:"replace",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=D(this,e,t)).url,t=n.as,this.change("replaceState",e,t,o)}},{key:"change",value:function(t,r,n,a,u){return i(o.default.mark((function i(){var c,d,v,y,b,w,x,E,O,N,F,z,H,U,W,G,V,$,X,K,Q,Y,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se,le,fe,pe,he;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(L(r)){o.next=3;break}return window.location.href=r,o.abrupt("return",!1);case 3:c=a._h||a._shouldResolveHref||j(r)===j(n),a._h&&(this.isReady=!0),d=this.locale,o.next=18;break;case 18:if(a._h||(this.isSsr=!1),m.ST&&performance.mark("routeChange"),v=a.shallow,y={shallow:void 0!==v&&v},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,y),n=A(R(C(n)?T(n):n,a.locale,this.defaultLocale)),b=k(C(n)?T(n):n,this.locale),this._inFlightRoute=n,w=d!==this.locale,a._h||!this.onlyAHashChange(b)||w){o.next=35;break}return this.asPath=b,e.events.emit("hashChangeStart",n,y),this.changeState(t,r,n,a),this.scrollToHash(b),this.notify(this.components[this.route],null),e.events.emit("hashChangeComplete",n,y),o.abrupt("return",!0);case 35:return x=_.parseRelativeUrl(r),E=x.pathname,O=x.query,o.prev=38,o.t0=l,o.next=43,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 43:o.t1=o.sent,F=(0,o.t0)(o.t1,2),N=F[0],F[1].__rewrites,o.next=54;break;case 50:return o.prev=50,o.t2=o.catch(38),window.location.href=n,o.abrupt("return",!1);case 54:if(this.urlIsNew(b)||w||(t="replaceState"),z=n,E=E?f.removePathTrailingSlash(T(E)):E,c&&"/_error"!==E&&(a._shouldResolveHref=!0,x.pathname=B(E,N),x.pathname!==E&&(E=x.pathname,x.pathname=A(E),r=m.formatWithValidation(x))),L(n)){o.next=63;break}o.next=61;break;case 61:return window.location.href=n,o.abrupt("return",!1);case 63:if(z=k(T(z),this.locale),1===a._h){o.next=84;break}return o.next=67,this._preflightRequest({as:n,cache:!0,pages:N,pathname:E,query:O});case 67:if("rewrite"!==(H=o.sent).type){o.next=72;break}O=s({},O,H.parsedAs.query),z=H.asPath,E=H.resolvedHref,x.pathname=H.resolvedHref,r=m.formatWithValidation(x),o.next=84;break;case 72:if("redirect"!==H.type||!H.newAs){o.next=76;break}return o.abrupt("return",this.change(t,H.newUrl,H.newAs,a));case 76:if("redirect"!==H.type||!H.destination){o.next=81;break}return window.location.href=H.destination,o.abrupt("return",new Promise((function(){})));case 81:if("refresh"!==H.type){o.next=84;break}return window.location.href=n,o.abrupt("return",new Promise((function(){})));case 84:if(U=f.removePathTrailingSlash(E),!g.isDynamicRoute(U)){o.next=100;break}if(W=_.parseRelativeUrl(z),G=W.pathname,V=P.getRouteRegex(U),$=S.getRouteMatcher(V)(G),K=(X=U===G)?M(U,G,O):{},$&&(!X||K.result)){o.next=99;break}if(!((Q=Object.keys(V.groups).filter((function(e){return!O[e]}))).length>0)){o.next=97;break}throw new Error((X?"The provided `href` (".concat(r,") value is missing query values (").concat(Q.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(G,") is incompatible with the `href` value (").concat(U,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(X?"href-interpolation-failed":"incompatible-href-as"));case 97:o.next=100;break;case 99:X?n=m.formatWithValidation(Object.assign({},W,{pathname:K.result,query:I(O,K.params)})):Object.assign(O,$);case 100:return e.events.emit("routeChangeStart",n,y),o.prev=101,o.next=105,this.getRouteInfo(U,E,O,n,z,y);case 105:if(Z=o.sent,ee=Z.error,te=Z.props,re=Z.__N_SSG,ne=Z.__N_SSP,!re&&!ne||!te){o.next=132;break}if(!te.pageProps||!te.pageProps.__N_REDIRECT){o.next=117;break}if(!(oe=te.pageProps.__N_REDIRECT).startsWith("/")||!1===te.pageProps.__N_REDIRECT_BASE_PATH){o.next=115;break}return(ae=_.parseRelativeUrl(oe)).pathname=B(ae.pathname,N),ie=D(this,oe,oe),ue=ie.url,ce=ie.as,o.abrupt("return",this.change(t,ue,ce,a));case 115:return window.location.href=oe,o.abrupt("return",new Promise((function(){})));case 117:if(this.isPreview=!!te.__N_PREVIEW,te.notFound!==q){o.next=132;break}return o.prev=120,o.next=123,this.fetchComponent("/404");case 123:se="/404",o.next=129;break;case 126:o.prev=126,o.t3=o.catch(120),se="/_error";case 129:return o.next=131,this.getRouteInfo(se,se,O,n,z,{shallow:!1});case 131:Z=o.sent;case 132:return e.events.emit("beforeHistoryChange",n,y),this.changeState(t,r,n,a),a._h&&"/_error"===E&&500===(null===(Y=self.__NEXT_DATA__.props)||void 0===Y||null===(J=Y.pageProps)||void 0===J?void 0:J.statusCode)&&(null===te||void 0===te?void 0:te.pageProps)&&(te.pageProps.statusCode=500),le=a.shallow&&this.route===U,pe=null!==(fe=a.scroll)&&void 0!==fe?fe:!le,he=pe?{x:0,y:0}:null,o.next=141,this.set(U,E,O,b,Z,null!==u&&void 0!==u?u:he).catch((function(e){if(!e.cancelled)throw e;ee=ee||e}));case 141:if(!ee){o.next=144;break}throw e.events.emit("routeChangeError",ee,b,y),ee;case 144:return e.events.emit("routeChangeComplete",n,y),o.abrupt("return",!0);case 149:if(o.prev=149,o.t4=o.catch(101),!h.default(o.t4)||!o.t4.cancelled){o.next=153;break}return o.abrupt("return",!1);case 153:throw o.t4;case 154:case"end":return o.stop()}}),i,this,[[38,50],[101,149],[120,126]])})).bind(this))()}},{key:"changeState",value:function(e,t,r,n){var o=void 0===n?{}:n;"pushState"===e&&m.getURL()===r||(this._shallow=o.shallow,window.history[e]({url:t,as:r,options:o,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(t,r,n,a,u,c){return i(o.default.mark((function i(){var s,l,f,d;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t.cancelled){o.next=2;break}throw t;case 2:if(!p.isAssetError(t)&&!c){o.next=6;break}throw e.events.emit("routeChangeError",t,a,u),window.location.href=a,O();case 6:if(o.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){o.next=18;break}return o.next=14,this.fetchComponent("/_error");case 14:f=o.sent,s=f.page,l=f.styleSheets;case 18:if((d={props:void 0,Component:s,styleSheets:l,err:t,error:t}).props){o.next=30;break}return o.prev=20,o.next=23,this.getInitialProps(s,{err:t,pathname:r,query:n});case 23:d.props=o.sent,o.next=30;break;case 26:o.prev=26,o.t0=o.catch(20),console.error("Error in error page `getInitialProps`: ",o.t0),d.props={};case 30:return o.abrupt("return",d);case 33:return o.prev=33,o.t1=o.catch(6),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),r,n,a,u,!0));case 36:case"end":return o.stop()}}),i,this,[[6,33],[20,26]])})).bind(this))()}},{key:"getRouteInfo",value:function(e,t,r,n,a,u){var c=this;return i(o.default.mark((function i(){var s,l,f,p,d,v,y,g,_,b,w,S;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,s=this.components[e],!u.shallow||!s||this.route!==e){o.next=4;break}return o.abrupt("return",s);case 4:if(l=void 0,s&&!("initial"in s)&&(l=s),o.t0=l,o.t0){o.next=11;break}return o.next=10,this.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.page.__next_rsc__}}));case 10:o.t0=o.sent;case 11:f=o.t0,p=f.Component,d=f.__N_SSG,v=f.__N_SSP,y=f.__N_RSC,o.next=17;break;case 17:return(d||v||y)&&(g=this.pageLoader.getDataHref({href:m.formatWithValidation({pathname:t,query:r}),asPath:a,ssg:d,rsc:y,locale:this.locale})),o.next=21,this._getData((function(){return d||v?H(g,c.isSsr,!1,d?c.sdc:c.sdr,!!d&&!c.isPreview):c.getInitialProps(p,{pathname:t,query:r,asPath:n,locale:c.locale,locales:c.locales,defaultLocale:c.defaultLocale})}));case 21:if(_=o.sent,!y){o.next=29;break}return o.next=25,this._getData((function(){return c._getFlightData(g)}));case 25:b=o.sent,w=b.fresh,S=b.data,_.pageProps=Object.assign(_.pageProps,{__flight_serialized__:S,__flight_fresh__:w});case 29:return f.props=_,this.components[e]=f,o.abrupt("return",f);case 34:return o.prev=34,o.t1=o.catch(0),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),t,r,n,u));case 37:case"end":return o.stop()}}),i,this,[[0,34]])})).bind(this))()}},{key:"set",value:function(e,t,r,n,o,a){return this.isFallback=!1,this.route=e,this.pathname=t,this.query=r,this.asPath=n,this.notify(o,a)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=l(this.asPath.split("#"),2),r=t[0],n=t[1],o=l(e.split("#"),2),a=o[0],i=o[1];return!(!i||r!==a||n!==i)||r===a&&n!==i}},{key:"scrollToHash",value:function(e){var t=l(e.split("#"),2)[1];if(""!==t&&"top"!==t){var r=document.getElementById(t);if(r)r.scrollIntoView();else{var n=document.getElementsByName(t)[0];n&&n.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e,t,r){var n=void 0===t?e:t,a=void 0===r?{}:r,u=this;return i(o.default.mark((function t(){var r,i,c,l,p,h,d,v,y,g;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=_.parseRelativeUrl(e),i=r.pathname,c=r.query,t.next=5,this.pageLoader.getPageList();case 5:l=t.sent,p=n,t.next=20;break;case 12:d=t.sent,h=d.__rewrites,v=w.default(A(R(n,this.locale)),l,h,r.query,(function(e){return B(e,l)}),this.locales),p=k(T(v.asPath),this.locale),v.matchedPage&&v.resolvedHref&&(i=v.resolvedHref,r.pathname=i,e=m.formatWithValidation(r)),t.next=21;break;case 20:r.pathname=B(r.pathname,l),r.pathname!==i&&(i=r.pathname,r.pathname=i,e=m.formatWithValidation(r));case 21:t.next=23;break;case 23:return t.next=25,this._preflightRequest({as:A(n),cache:!0,pages:l,pathname:i,query:c});case 25:return"rewrite"===(y=t.sent).type&&(r.pathname=y.resolvedHref,i=y.resolvedHref,c=s({},c,y.parsedAs.query),p=y.asPath,e=m.formatWithValidation(r)),g=f.removePathTrailingSlash(i),t.next=30,Promise.all([this.pageLoader._isSsg(g).then((function(t){return!!t&&H(u.pageLoader.getDataHref({href:e,asPath:p,ssg:!0,locale:"undefined"!==typeof a.locale?a.locale:u.locale}),!1,!1,u.sdc,!0)})),this.pageLoader[a.priority?"loadPage":"prefetch"](g)]);case 30:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"fetchComponent",value:function(e){var t=this;return i(o.default.mark((function r(){var n,a,i,u;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=!1,a=this.clc=function(){n=!0},i=function(){if(n){var r=new Error('Abort fetching component for route: "'.concat(e,'"'));throw r.cancelled=!0,r}a===t.clc&&(t.clc=null)},r.prev=3,r.next=6,this.pageLoader.loadPage(e);case 6:return u=r.sent,i(),r.abrupt("return",u);case 11:throw r.prev=11,r.t0=r.catch(3),i(),r.t0;case 15:case"end":return r.stop()}}),r,this,[[3,11]])})).bind(this))()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){var t=this,r=new URL(e,window.location.href).href;return!this.isPreview&&this.sdc[r]?Promise.resolve({fresh:!1,data:this.sdc[r]}):H(e,!0,!0,this.sdc,!1).then((function(e){return t.sdc[r]=e,{fresh:!0,data:e}}))}},{key:"_preflightRequest",value:function(e){return i(o.default.mark((function t(){var r,n,a,i,u,c,s,p,h,d,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=k(C(e.as)?T(e.as):e.as,this.locale),t.next=4,this.pageLoader.getMiddlewareList();case 4:if(t.sent.some((function(e){var t=l(e,2),r=t[0],o=t[1];return S.getRouteMatcher(x.getMiddlewareRegex(r,!o))(n)}))){t.next=8;break}return t.abrupt("return",{type:"next"});case 8:return t.next=10,this._getPreflightData({preflightHref:e.as,shouldCache:e.cache});case 10:if(a=t.sent,!(null===(r=a.rewrite)||void 0===r?void 0:r.startsWith("/"))){t.next=18;break}return i=_.parseRelativeUrl(v.normalizeLocalePath(C(a.rewrite)?T(a.rewrite):a.rewrite,this.locales).pathname),u=f.removePathTrailingSlash(i.pathname),e.pages.includes(u)?(c=!0,s=u):(s=B(u,e.pages))!==i.pathname&&e.pages.includes(s)&&(c=!0),t.abrupt("return",{type:"rewrite",asPath:i.pathname,parsedAs:i,matchedPage:c,resolvedHref:s});case 18:if(!a.redirect){t.next=24;break}if(!a.redirect.startsWith("/")){t.next=23;break}return p=f.removePathTrailingSlash(v.normalizeLocalePath(C(a.redirect)?T(a.redirect):a.redirect,this.locales).pathname),h=D(this,p,p),d=h.url,y=h.as,t.abrupt("return",{type:"redirect",newUrl:d,newAs:y});case 23:return t.abrupt("return",{type:"redirect",destination:a.redirect});case 24:if(!a.refresh||a.ssr){t.next=26;break}return t.abrupt("return",{type:"refresh"});case 26:return t.abrupt("return",{type:"next"});case 27:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"_getPreflightData",value:function(e){var t=this,r=e.preflightHref,n=e.shouldCache,o=void 0!==n&&n,a=new URL(r,window.location.href).href;return!this.isPreview&&o&&this.sde[a]?Promise.resolve(this.sde[a]):fetch(r,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return o&&(t.sde[a]=e),e})).catch((function(e){throw delete t.sde[a],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,m.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",O(),t,r),this.clc(),this.clc=null)}},{key:"notify",value:function(e,t){return this.sub(e,this.components["/_app"].Component,t)}}])&&u(t.prototype,r),n&&u(t,n),e}();U.events=y.default(),t.default=U},10437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port));c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";a&&":"!==a.substr(-1)&&(a+=":");e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");u&&"#"!==u[0]&&(u="#"+u);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(62519));var o=/https?|ftp|gopher|file/},88738:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0===t?"":t;return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e))+r}},90910:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e,t){var r=void 0===t||t,o=n.getParametrizedRoute(e),a=r?"(?!_next).*":"",i=r?"(?:(/.*)?)":"";if("routeKeys"in o)return"/"===o.parameterizedRoute?{groups:{},namedRegex:"^/".concat(a,"$"),re:new RegExp("^/".concat(a,"$")),routeKeys:{}}:{groups:o.groups,namedRegex:"^".concat(o.namedParameterizedRoute).concat(i,"$"),re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$")),routeKeys:o.routeKeys};if("/"===o.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(a,"$"))};return{groups:{},re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$"))}};var n=r(67722)},39032:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},3881:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(34750),o=r(62519)},62519:function(e,t){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var o=r(e,2),a=o[0],i=o[1];Array.isArray(i)?i.forEach((function(e){return t.append(a,n(e))})):t.set(a,n(i))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach((function(t){Array.from(t.keys()).forEach((function(t){return e.delete(t)})),t.forEach((function(t,r){return e.append(r,t)}))})),e}},66164:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){var t=e.re,r=e.groups;return function(e){var o=t.exec(e);if(!o)return!1;var a=function(e){try{return decodeURIComponent(e)}catch(t){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach((function(e){var t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map((function(e){return a(e)})):t.repeat?[a(n)]:a(n))})),i}};var n=r(34750)},67722:function(e,t){"use strict";function r(e){var t=(e.replace(/\/$/,"")||"/").slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var t=function(e){var t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));var r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}(e.slice(1,-1)),o=t.key,a=t.optional,i=t.repeat;return r[o]={pos:n++,repeat:i,optional:a},i?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/".concat(e.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&"))})).join(""),groups:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.getParametrizedRoute=r,t.getRouteRegex=function(e){var t=r(e);if("routeKeys"in t)return{re:new RegExp("^".concat(t.parameterizedRoute,"(?:/)?$")),groups:t.groups,routeKeys:t.routeKeys,namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$")};return{re:new RegExp("^".concat(t.parameterizedRoute,"(?:/)?$")),groups:t.groups}}},96112:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},83993:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?n(e):t}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var s=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(2784));var p=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,r,n,a=l(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e)).emitChange=function(){t._hasHeadManager&&t.props.headManager.updateHead(t.props.reduceComponentsToState(c(t.props.headManager.mountedInstances),t.props))},t._hasHeadManager=t.props.headManager&&t.props.headManager.mountedInstances,t}return t=i,(r=[{key:"componentDidMount",value:function(){this._hasHeadManager&&this.props.headManager.mountedInstances.add(this),this.emitChange()}},{key:"componentDidUpdate",value:function(){this.emitChange()}},{key:"componentWillUnmount",value:function(){this._hasHeadManager&&this.props.headManager.mountedInstances.delete(this),this.emitChange()}},{key:"render",value:function(){return null}}])&&o(t.prototype,r),n&&o(t,n),i}(f.Component);t.default=p},34750:function(e,t,r){"use strict";var n,o=(n=r(92021))&&n.__esModule?n:{default:n};function a(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void r(s)}u.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,r){return(s=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&p(o,r.prototype),o}).apply(null,arguments)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function v(e){var t="function"===typeof Map?new Map:void 0;return(v=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,e)})(e)}function y(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=l(e);if(t){var o=l(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return f(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r||(r=!0,t=e.apply(void 0,h(o))),t}},t.getLocationOrigin=_,t.getURL=function(){var e=window.location.href,t=_();return e.substring(t.length)},t.getDisplayName=b,t.isResSent=w,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=S,t.formatWithValidation=function(e){0;return m.formatUrl(e)},t.HtmlContext=t.ST=t.SP=t.urlObjectKeys=void 0;var m=r(10437),g=r(2784);function _(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function b(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function w(e){return e.finished||e.headersSent}function S(e,t){return P.apply(this,arguments)}function P(){return(P=i(o.default.mark((function e(t,r){var n,a,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=5;break;case 5:if(n=r.res||r.ctx&&r.ctx.res,t.getInitialProps){e.next=13;break}if(!r.ctx||!r.Component){e.next=12;break}return e.next=10,S(r.Component,r.ctx);case 10:return e.t0=e.sent,e.abrupt("return",{pageProps:e.t0});case 12:return e.abrupt("return",{});case 13:return e.next=15,t.getInitialProps(r);case 15:if(a=e.sent,!n||!w(n)){e.next=18;break}return e.abrupt("return",a);case 18:if(a){e.next=21;break}throw i='"'.concat(b(t),'.getInitialProps()" should resolve to an object. But found "').concat(a,'" instead.'),new Error(i);case 21:return e.abrupt("return",a);case 23:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];var x="undefined"!==typeof performance;t.SP=x;var E=x&&"function"===typeof performance.mark&&"function"===typeof performance.measure;t.ST=E;var O=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(r,e);var t=y(r);function r(){return u(this,r),t.apply(this,arguments)}return r}(v(Error));t.DecodeError=O;var R=g.createContext(null);t.HtmlContext=R},29600:function(e){e.exports=function(){var e={770:function(e,t){!function(e){"use strict";var t,r,n,o,a=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},i=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},u=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},s=function(e,t,r){var n;return function(o){t.value>=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},h=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},d=function(e,t){var r,n=h(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime<n.firstHiddenTime&&(o.value=e.startTime,o.entries.push(e),r(!0)))},l=performance.getEntriesByName&&performance.getEntriesByName("first-contentful-paint")[0],f=l?null:i("paint",u);(l||f)&&(r=s(e,o,t),l&&u(l),c((function(n){o=a("FCP"),r=s(e,o,t),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-n.timeStamp,r(!0)}))}))})))},v=!1,y=-1,m={passive:!0,capture:!0},g=new Date,_=function(e,o){t||(t=o,r=e,n=new Date,S(removeEventListener),b())},b=function(){if(r>=0&&r<n-g){var e={entryType:"first-input",name:t.type,target:t.target,cancelable:t.cancelable,startTime:t.timeStamp,processingStart:t.timeStamp+r};o.forEach((function(t){t(e)})),o=[]}},w=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){_(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,m),removeEventListener("pointercancel",n,m)};addEventListener("pointerup",r,m),addEventListener("pointercancel",n,m)}(t,e):_(t,e)}},S=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,w,m)}))},P=new Set;e.getCLS=function(e,t){v||(d((function(e){y=e.value})),v=!0);var r,n=function(t){y>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},h=i("layout-shift",p);h&&(r=s(n,o,t),u((function(){h.takeRecords().map(p),r(!0)})),c((function(){l=0,y=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=d,e.getFID=function(e,n){var l,f=h(),p=a("FID"),d=function(e){e.startTime<f.firstHiddenTime&&(p.value=e.processingStart-e.startTime,p.entries.push(e),l(!0))},v=i("first-input",d);l=s(e,p,n),v&&u((function(){v.takeRecords().map(d),v.disconnect()}),!0),v&&c((function(){var i;p=a("FID"),l=s(e,p,n),o=[],r=-1,t=null,S(addEventListener),i=d,o.push(i),b()}))},e.getLCP=function(e,t){var r,n=h(),o=a("LCP"),l=function(e){var t=e.startTime;t<n.firstHiddenTime&&(o.value=t,o.entries.push(e)),r()},f=i("largest-contentful-paint",l);if(f){r=s(e,o,t);var p=function(){P.has(o.id)||(f.takeRecords().map(l),f.disconnect(),P.add(o.id),r(!0))};["keydown","click"].forEach((function(e){addEventListener(e,p,{once:!0,capture:!0})})),u(p,!0),c((function(n){o=a("LCP"),r=s(e,o,t),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-n.timeStamp,P.add(o.id),r(!0)}))}))}))}},e.getTTFB=function(e){var t,r=a("TTFB");t=function(){try{var t=performance.getEntriesByType("navigation")[0]||function(){var e=performance.timing,t={entryType:"navigation",startTime:0};for(var r in e)"navigationStart"!==r&&"toJSON"!==r&&(t[r]=Math.max(e[r]-e.navigationStart,0));return t}();if(r.value=r.delta=t.responseStart,r.value<0)return;r.entries=[t],e(r)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("pageshow",t)},Object.defineProperty(e,"__esModule",{value:!0})}(t)}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}},a=!0;try{e[n].call(o.exports,o,o.exports,r),a=!1}finally{a&&delete t[n]}return o.exports}return r.ab="//",r(770)}()},10274:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}},94863:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=r,t.denormalizePagePath=function(e){(e=r(e)).startsWith("/index/")?e=e.slice(6):"/index"===e&&(e="/");return e}},92021:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new R(n||[]);return a._invoke=function(e,t,r){var n=l;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return j()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=x(i,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=s(e,t,r);if("normal"===c.type){if(n=r.done?h:f,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=c;var l="suspendedStart",f="suspendedYield",p="executing",h="completed",d={};function v(){}function y(){}function m(){}var g={};g[a]=function(){return this};var _=Object.getPrototypeOf,b=_&&_(_(k([])));b&&b!==r&&n.call(b,a)&&(g=b);var w=m.prototype=v.prototype=Object.create(g);function S(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function P(e,t){function r(o,a,i,u){var c=s(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,u)}))}u(c.arg)}var o;this._invoke=function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}}function x(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function k(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:j}}function j(){return{value:t,done:!0}}return y.prototype=w.constructor=m,m.constructor=y,m[u]=y.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},S(P.prototype),P.prototype[i]=function(){return this},e.AsyncIterator=P,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new P(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(w),w[u]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=k,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},34406:function(e){var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],s=!1,l=-1;function f(){s&&u&&(s=!1,u.length?c=u.concat(c):l=-1,c.length&&p())}function p(){if(!s){var e=i(f);s=!0;for(var t=c.length;t;){for(u=c,c=[];++l<t;)u&&u[l].run();l=-1,t=c.length}u=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||s||i(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},9839:function(e){"use strict";e.exports=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0}},58284:function(e,t,r){"use strict";t.__esModule=!0,t.useStyleRegistry=t.createStyleRegistry=t.StyleRegistry=void 0;var n=r(35465);t.StyleRegistry=n.StyleRegistry,t.createStyleRegistry=n.createStyleRegistry,t.useStyleRegistry=n.useStyleRegistry},64247:function(e,t,r){"use strict";t.__esModule=!0,t.computeId=function(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;a[n]||(a[n]="jsx-"+(0,o.default)(e+"-"+r));return a[n]},t.computeSelector=function(e,t){"undefined"===typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;a[r]||(a[r]=t.replace(/__jsx-style-dynamic-selector/g,e));return a[r]};var n,o=(n=r(9839))&&n.__esModule?n:{default:n};var a={}},74346:function(e,t,r){"use strict";var n=r(34406);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.__esModule=!0,t.default=void 0;var a="undefined"!==typeof n&&n.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,o=t.optimizeForSpeed,u=void 0===o?a:o,s=t.isBrowser,l=void 0===s?"undefined"!==typeof window:s;c(i(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",c("boolean"===typeof u,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=u,this._isBrowser=l,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var f=this._isBrowser&&document.querySelector('meta[property="csp-nonce"]');this._nonce=f?f.getAttribute("content"):null}var t,r,n,u=e.prototype;return u.setOptimizeForSpeed=function(e){c("boolean"===typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},u.isOptimizeForSpeed=function(){return this._optimizeForSpeed},u.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._isBrowser&&this._optimizeForSpeed)return this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),void(this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0));this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"===typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},u.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},u.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},u.insertRule=function(e,t){if(c(i(e),"`insertRule` accepts only strings"),!this._isBrowser)return"number"!==typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!==typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(o){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},u.replaceRule=function(e,t){if(this._optimizeForSpeed||!this._isBrowser){var r=this._isBrowser?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(o){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];c(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},u.deleteRule=function(e){if(this._isBrowser)if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}else this._serverSheet.deleteRule(e)},u.flush=function(){this._injected=!1,this._rulesCount=0,this._isBrowser?(this._tags.forEach((function(e){return e&&e.parentNode.removeChild(e)})),this._tags=[]):this._serverSheet.cssRules=[]},u.cssRules=function(){var e=this;return this._isBrowser?this._tags.reduce((function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,(function(t){return t.cssText===e._deletedRulePlaceholder?null:t}))):t.push(null),t}),[]):this._serverSheet.cssRules},u.makeStyleTag=function(e,t,r){t&&c(i(t),"makeStyleTag acceps only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return r?o.insertBefore(n,r):o.appendChild(n),n},t=e,(r=[{key:"length",get:function(){return this._rulesCount}}])&&o(t.prototype,r),n&&o(t,n),e}();function c(e,t){if(!e)throw new Error("StyleSheet: "+t+".")}t.default=u},35465:function(e,t,r){"use strict";t.__esModule=!0,t.createStyleRegistry=l,t.StyleRegistry=function(e){var t=e.registry,r=e.children,n=(0,o.useContext)(s),a=(0,o.useState)((function(){return n||t||l()}))[0];return o.default.createElement(s.Provider,{value:a},r)},t.useStyleRegistry=function(){return(0,o.useContext)(s)},t.StyleSheetContext=t.StyleSheetRegistry=void 0;var n,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r(2784)),a=(n=r(74346))&&n.__esModule?n:{default:n},i=r(64247);function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}var c=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,o=t.optimizeForSpeed,i=void 0!==o&&o,u=t.isBrowser,c=void 0===u?"undefined"!==typeof window:u;this._sheet=n||new a.default({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),n&&"boolean"===typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser=c,this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce((function(e,t){return e[t]=0,e}),{}));var r=this.getIdAndRules(e),n=r.styleId,o=r.rules;if(n in this._instancesCounts)this._instancesCounts[n]+=1;else{var a=o.map((function(e){return t._sheet.insertRule(e)})).filter((function(e){return-1!==e}));this._indices[n]=a,this._instancesCounts[n]=1}},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw new Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach((function(e){return t._sheet.deleteRule(e)})),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map((function(t){return[t,e._fromServer[t]]})):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map((function(t){return[t,e._indices[t].map((function(e){return r[e].cssText})).join(e._optimizeForSpeed?"":"\n")]})).filter((function(e){return Boolean(e[1])})))},t.styles=function(e){return function(e,t){return void 0===t&&(t={}),e.map((function(e){var r=e[0],n=e[1];return o.default.createElement("style",{id:"__"+r,key:"__"+r,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})}))}(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var o=(0,i.computeId)(n,r);return{styleId:o,rules:Array.isArray(t)?t.map((function(e){return(0,i.computeSelector)(o,e)})):[(0,i.computeSelector)(o,t)]}}return{styleId:(0,i.computeId)(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce((function(e,t){return e[t.id.slice(2)]=t,e}),{})},e}();t.StyleSheetRegistry=c;var s=(0,o.createContext)(null);function l(){return new c}t.StyleSheetContext=s},95620:function(e,t,r){e.exports=r(58284)},72094:function(){}},function(e){e.O(0,[774],(function(){return t=9043,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{70314:function(e,t,r){e.exports=r(96112)},33394:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(92373)}])},90162:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(s){o=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.default=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(29918),l=r(93642),s=r(22030);var c={};function u(e,t,r,n){if(e&&i.isLocalURL(t)){e.prefetch(t,r,n).catch((function(e){0}));var o=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;c[t+"%"+r+(o?"%"+o:"")]=!0}}var f=function(e){var t,r=!1!==e.prefetch,o=l.useRouter(),f=a.default.useMemo((function(){var t=n(i.resolveHref(o,e.href,!0),2),r=t[0],a=t[1];return{href:r,as:e.as?i.resolveHref(o,e.as):a||r}}),[o,e.href,e.as]),h=f.href,d=f.as,v=e.children,p=e.replace,g=e.shallow,m=e.scroll,x=e.locale;"string"===typeof v&&(v=a.default.createElement("a",null,v));var y=(t=a.default.Children.only(v))&&"object"===typeof t&&t.ref,b=n(s.useIntersection({rootMargin:"200px"}),2),j=b[0],w=b[1],C=a.default.useCallback((function(e){j(e),y&&("function"===typeof y?y(e):"object"===typeof y&&(y.current=e))}),[y,j]);a.default.useEffect((function(){var e=w&&r&&i.isLocalURL(h),t="undefined"!==typeof x?x:o&&o.locale,n=c[h+"%"+d+(t?"%"+t:"")];e&&!n&&u(o,h,d,{locale:t})}),[d,h,w,x,r,o]);var E={ref:C,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,r,n,o,a,l,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&i.isLocalURL(r))&&(e.preventDefault(),null==l&&n.indexOf("#")>=0&&(l=!1),t[o?"replace":"push"](r,n,{shallow:a,locale:s,scroll:l}))}(e,o,h,d,p,g,m,x)},onMouseEnter:function(e){t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),i.isLocalURL(h)&&u(o,h,d,{priority:!0})}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var A="undefined"!==typeof x?x:o&&o.locale,k=o&&o.isLocaleDomain&&i.getDomainLocale(d,A,o&&o.locales,o&&o.domainLocales);E.href=k||i.addBasePath(i.addLocale(d,A,o&&o.defaultLocale))}return a.default.cloneElement(t,E)};t.default=f},22030:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(s){o=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,r=e.disabled||!i,s=o.useRef(),c=n(o.useState(!1),2),u=c[0],f=c[1],h=o.useCallback((function(e){s.current&&(s.current(),s.current=void 0),r||u||e&&e.tagName&&(s.current=function(e,t,r){var n=function(e){var t=e.rootMargin||"",r=l.get(t);if(r)return r;var n=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=n.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)}))}),e);return l.set(t,r={id:t,observer:o,elements:n}),r}(r),o=n.id,a=n.observer,i=n.elements;return i.set(e,t),a.observe(e),function(){i.delete(e),a.unobserve(e),0===i.size&&(a.disconnect(),l.delete(o))}}(e,(function(e){return e&&f(e)}),{rootMargin:t}))}),[r,t,u]);return o.useEffect((function(){if(!i&&!u){var e=a.requestIdleCallback((function(){return f(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[u]),[h,u]};var o=r(2784),a=r(49071),i="undefined"!==typeof IntersectionObserver;var l=new Map},18663:function(e){"use strict";e.exports={title:"EventCatalog",tagline:"Discover, Explore and Document your Event Driven Architectures",organizationName:"Your Company",editUrl:"https://github.com/boyney123/eventcatalog-demo/edit/master",logo:{alt:"EventCatalog Logo",src:"logo.svg"},footerLinks:[{label:"Events",href:"/events"},{label:"Services",href:"/services"},{label:"3D Node Graph",href:"/overview"},{label:"GitHub",href:"https://github.com/boyney123/eventcatalog-demo/edit/master"}],generators:[["@eventcatalog/plugin-doc-generator-asyncapi",{file:"./asyncapi.yml"}]],users:[{id:"dboyne",name:"David Boyne",avatarUrl:"https://pbs.twimg.com/profile_images/1262283153563140096/DYRDqKg6_400x400.png",role:"Developer",summary:"Currently building tools for Event Architectures."},{id:"mSmith",name:"Matthew Smith",avatarUrl:"https://randomuser.me/api/portraits/lego/3.jpg",role:"Developer",summary:"About Fugiat ipsum ipsum deserunt culpa aute sint do nostrud anim incididunt cillum culpa consequat."}]}},55008:function(e,t,r){"use strict";r.d(t,{K3:function(){return u},ZR:function(){return f},aF:function(){return h},wG:function(){return d}});var n=r(52322),o=r(2784),a=r(21023),i=r.n(a),l=r(18663),s=r.n(l),c=o.createContext(s());function u(e){var t=e.children;return(0,n.jsx)(c.Provider,{value:s(),children:t})}var f=function(){return(0,o.useContext)(c)},h=function(){var e=f();return{getUserById:function(t){return(e.users||[]).find((function(e){return e.id===t}))}}},d=function(){var e=f();return{getEditUrl:function(t){return i().join(e.editUrl,t)},hasEditUrl:!!e.editUrl}}},92373:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return p}});var n=r(52322),o=(r(7915),r(97729)),a=r(39097),i=r(70314),l=r(5632),s=r(55008),c=[{name:"Events",href:"/events"},{name:"Services",href:"/services"},{name:"3D Node Graph",href:"/overview"}];function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function f(){var e=(0,s.ZR)().title,t=(0,l.useRouter)(),r=(0,i.default)().publicRuntimeConfig,o=(void 0===r?{}:r).basePath,f=void 0===o?"":o;return(0,n.jsx)("div",{className:"bg-gray-800",children:(0,n.jsx)("div",{className:"max-w-7xl mx-auto ",children:(0,n.jsxs)("div",{className:"relative flex items-center justify-between h-16",children:[(0,n.jsx)("div",{className:"flex-1 flex items-center justify-center sm:items-stretch sm:justify-start",children:(0,n.jsx)("div",{className:"flex-shrink-0 flex items-center text-white font-bold",children:(0,n.jsx)(a.default,{href:"/",children:(0,n.jsxs)("a",{className:"flex items-center",children:[(0,n.jsx)("img",{alt:"logo",className:"text-white w-8 inline-block mr-3",src:"".concat(f,"/logo.svg")}),(0,n.jsx)("span",{className:"text-xl",children:e})]})})})}),(0,n.jsx)("div",{className:"hidden sm:block sm:ml-6",children:(0,n.jsx)("div",{className:"flex space-x-4",children:c.map((function(e){var r=t.pathname.includes(e.href);return(0,n.jsx)(a.default,{href:e.href,children:(0,n.jsx)("a",{className:u(r?"bg-gray-900 text-white":"text-gray-300 hover:bg-gray-700 hover:text-white","px-3 py-2 rounded-md text-sm font-medium"),"aria-current":r?"page":void 0,children:e.name})},e.name)}))})})]})})})}r(2784);function h(){var e=(0,s.ZR)(),t=e.organizationName,r=e.footerLinks,o=void 0===r?[]:r,a=(new Date).getFullYear();return(0,n.jsx)("footer",{className:"bg-gray-800",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8",children:[o&&(0,n.jsx)("nav",{className:"-mx-5 -my-2 flex flex-wrap justify-center","aria-label":"Footer",children:o.map((function(e){return(0,n.jsx)("div",{className:"px-5 py-2",children:(0,n.jsx)("a",{href:e.href,className:"text-base text-gray-500 hover:text-gray-900",children:e.label})},e.label)}))}),(0,n.jsxs)("p",{className:"mt-8 text-center text-base text-gray-400",children:["Copyright \xa9 ",a," ",t,". Built with"," ",(0,n.jsx)("a",{className:"underline",href:"https://eventcatalog.dev",target:"_blank",rel:"noreferrer",children:"EventCatalog."})]})]})})}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){d(e,t,r[t])}))}return e}function p(e){var t=e.Component,r=e.pageProps;return(0,n.jsxs)(s.K3,{children:[(0,n.jsxs)(o.default,{children:[(0,n.jsx)("title",{children:"EventCatalog"}),(0,n.jsx)("script",{src:"//unpkg.com/three"}),(0,n.jsx)("script",{src:"//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"}),(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"}),(0,n.jsx)("meta",{name:"description",content:"An open source project to Discover, Explore and Document your Event Driven Architectures."}),(0,n.jsx)("meta",{property:"og:url",content:"https://eventcatalog.dev/"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:title",content:"EventCatalog | Discover, Explore and Document your Event Driven Architectures."}),(0,n.jsx)("meta",{property:"og:description",content:"An open source tool powered by markdown to document your Event Driven Architecture."}),(0,n.jsx)("meta",{property:"og:image",content:"https://eventcatalog.dev/img/opengraph.png"}),(0,n.jsx)("meta",{property:"og:image:alt",content:"EventCatalog | Discover, Explore and Document your Event Driven Architectures."}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:"600"}),(0,n.jsx)("meta",{property:"og:locale",content:"en-GB"}),(0,n.jsx)("meta",{name:"author",content:"David Boyne"}),(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"})]}),(0,n.jsx)(f,{}),(0,n.jsx)(t,v({},r)),(0,n.jsx)(h,{})]})}},7915:function(){},97729:function(e,t,r){e.exports=r(75913)},39097:function(e,t,r){e.exports=r(90162)},5632:function(e,t,r){e.exports=r(93642)},21023:function(e,t,r){"use strict";var n=r(34406);function o(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var r,n="",o=0,a=-1,i=0,l=0;l<=e.length;++l){if(l<e.length)r=e.charCodeAt(l);else{if(47===r)break;r=47}if(47===r){if(a===l-1||1===i);else if(a!==l-1&&2===i){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var s=n.lastIndexOf("/");if(s!==n.length-1){-1===s?(n="",o=0):o=(n=n.slice(0,s)).length-1-n.lastIndexOf("/"),a=l,i=0;continue}}else if(2===n.length||1===n.length){n="",o=0,a=l,i=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),o=l-a-1;a=l,i=0}else 46===r&&-1!==i?++i:i=-1}return n}var i={resolve:function(){for(var e,t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var l;i>=0?l=arguments[i]:(void 0===e&&(e=n.cwd()),l=e),o(l),0!==l.length&&(t=l+"/"+t,r=47===l.charCodeAt(0))}return t=a(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];o(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,a=n-r,l=1;l<t.length&&47===t.charCodeAt(l);++l);for(var s=t.length-l,c=a<s?a:s,u=-1,f=0;f<=c;++f){if(f===c){if(s>c){if(47===t.charCodeAt(l+f))return t.slice(l+f+1);if(0===f)return t.slice(l+f)}else a>c&&(47===e.charCodeAt(r+f)?u=f:0===f&&(u=0));break}var h=e.charCodeAt(r+f);if(h!==t.charCodeAt(l+f))break;47===h&&(u=f)}var d="";for(f=r+u+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===d.length?d+="..":d+="/..");return d.length>0?d+t.slice(l+u):(l+=u,47===t.charCodeAt(l)&&++l,t.slice(l))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!a){n=i;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');o(e);var r,n=0,a=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var l=t.length-1,s=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!i){n=r+1;break}}else-1===s&&(i=!1,s=r+1),l>=0&&(c===t.charCodeAt(l)?-1===--l&&(a=r):(l=-1,a=s))}return n===a?a=s:-1===a&&(a=e.length),e.slice(n,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!i){n=r+1;break}}else-1===a&&(i=!1,a=r+1);return-1===a?"":e.slice(n,a)},extname:function(e){o(e);for(var t=-1,r=0,n=-1,a=!0,i=0,l=e.length-1;l>=0;--l){var s=e.charCodeAt(l);if(47!==s)-1===n&&(a=!1,n=l+1),46===s?-1===t?t=l:1!==i&&(i=1):-1!==t&&(i=-1);else if(!a){r=l+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),a=47===n;a?(t.root="/",r=1):r=0;for(var i=-1,l=0,s=-1,c=!0,u=e.length-1,f=0;u>=r;--u)if(47!==(n=e.charCodeAt(u)))-1===s&&(c=!1,s=u+1),46===n?-1===i?i=u:1!==f&&(f=1):-1!==i&&(f=-1);else if(!c){l=u+1;break}return-1===i||-1===s||0===f||1===f&&i===s-1&&i===l+1?-1!==s&&(t.base=t.name=0===l&&a?e.slice(1,s):e.slice(l,s)):(0===l&&a?(t.name=e.slice(1,i),t.base=e.slice(1,s)):(t.name=e.slice(l,i),t.base=e.slice(l,s)),t.ext=e.slice(i,s)),l>0?t.dir=e.slice(0,l-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(33394),t(93642)}));var r=e.O();_N_E=r}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[904],{70930:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/[name]",function(){return u(10873)}])}},function(n){n.O(0,[812,519,962,28,336,873,774,888,179],(function(){return _=70930,n(n.s=_);var _}));var _=n.O();_N_E=_}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[695],{80594:function(e,t,n){var r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,i=/^0o[0-7]+$/i,c=parseInt,o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=o||l||Function("return this")(),d=Object.prototype.toString,m=Math.max,f=Math.min,x=function(){return u.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=s.test(e);return n||i.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var r,a,s,i,c,o,l=0,u=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,s=a;return r=a=void 0,l=t,i=e.apply(s,n)}function b(e){return l=e,c=setTimeout(j,t),u?p(e):i}function y(e){var n=e-o;return void 0===o||n>=t||n<0||d&&e-l>=s}function j(){var e=x();if(y(e))return N(e);c=setTimeout(j,function(e){var n=t-(e-o);return d?f(n,s-(e-l)):n}(e))}function N(e){return c=void 0,g&&r?p(e):(r=a=void 0,i)}function w(){var e=x(),n=y(e);if(r=arguments,a=this,o=e,n){if(void 0===c)return b(o);if(d)return c=setTimeout(j,t),p(o)}return void 0===c&&(c=setTimeout(j,t)),i}return t=v(t)||0,h(n)&&(u=!!n.leading,s=(d="maxWait"in n)?m(v(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),w.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=o=a=c=void 0},w.flush=function(){return void 0===c?i:N(x())},w}},74461:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return n(68209)}])},90526:function(e,t,n){"use strict";var r=n(52322),a=(n(2784),n(39097)),s=n(17962),i=n(46892),c=n(4573);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}t.Z=function(e){var t=e.events,n=void 0===t?[]:t,l=e.showMermaidDiagrams,u=void 0!==l&&l;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:n.map((function(e){var t=e.draft;return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(a.default,{href:"/events/".concat(e.name),children:(0,r.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,r.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:o("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,r.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),t&&(0,r.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),u&&(0,r.jsx)("div",{className:"h-full items-center flex",children:(0,r.jsx)(c.Z,{source:"event",data:e,rootNodeColor:(0,i.Z)(e.name)})}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(s.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producers.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(s.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumers.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52322),a=n(2784),s=n(14689),i=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},c=function(e,t,n,r){var a=function(e){return e.map((function(e){return e.replace(/ /g,"_")}))},s=a(t).map(i),c=a(n).map(i),o=i(e.replace(/ /g,"_"));return"flowchart LR\n".concat(s.map((function(e){return"".concat(e,":::producer--\x3e").concat(o,":::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n").concat(c.map((function(e){return"".concat(o,":::event--\x3e").concat(e,":::consumer\n")})).join(""),"\n ")};s.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var o=function(e){var t=e.data,n=e.source,i=void 0===n?"event":n,o=e.rootNodeColor,l=e.charts;if((0,a.useEffect)((function(){s.Z.contentLoaded()}),[]),l)return(0,r.jsx)(r.Fragment,{children:l.map((function(e,t){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(t))}))});var u="event"===i?function(e,t){var n=e.name,r=e.producers,a=e.consumers;return c(n,r,a,void 0===t?"#2563eb":t)}(t,o):function(e,t){var n=e.publishes,r=e.subscribes,a=e.name,s=void 0===t?"#2563eb":t;return c(a,r.map((function(e){return e.name})),n.map((function(e){return e.name})),s)}(t,o);return(0,r.jsx)("div",{className:"mermaid",children:u})}},68209:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return v},default:function(){return g}});var r=n(52322),a=n(2784),s=n(97729),i=n(80594),c=n.n(i),o=n(51930),l=n(54643),u=n(61519),d=n(90526);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){m(e,t,n[t])}))}return e}function x(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}var h=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],v=!0;function g(e){var t=e.events,n=e.services,i=[{id:"services",name:"Filter by Services (".concat(n.length,")"),options:n.map((function(e){return{value:e,label:e,checked:!1}}))}],v=(0,a.useState)({services:[]}),g=v[0],p=v[1],b=(0,a.useState)(!1),y=b[0],j=b[1],N=(0,a.useState)(t),w=N[0],k=N[1],O=(0,a.useState)(""),S=O[0],_=O[1];(0,a.useEffect)((function(){k(function(){if(!g.services&&!S)return t;var e=t;return g.services.length>0&&(e=e.filter((function(e){var t=g.services,n=e.consumers.some((function(e){return t.indexOf(e)>-1})),r=e.producers.some((function(e){return t.indexOf(e)>-1}));return n||r}))),S&&(e=e.filter((function(e){return e.name.toLowerCase().includes(S.toLowerCase())}))),e}())}),[g,S]);var C=(0,a.useCallback)(c()((function(e){_(e.target.value)}),500),[w]),E=!!S||g.services.length>0;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{children:(0,r.jsx)("title",{children:"EventCatalog - All Events"})}),(0,r.jsxs)("main",{className:"max-w-7xl mx-auto min-h-screen px-4 md:px-0",children:[(0,r.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,r.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Events (",t.length,")"]}),(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(o.v,{as:"div",className:"hidden relative text-left",children:[(0,r.jsx)("div",{children:(0,r.jsxs)(o.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,r.jsx)(u.v4q,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,r.jsx)(l.u,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(o.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,r.jsx)("div",{className:"py-1",children:h.map((function(e){return(0,r.jsx)(o.v.Item,{children:function(t){var n=t.active;return(0,r.jsx)("a",{href:e.href,className:x(e.current?"font-medium text-gray-900":"text-gray-500",n?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,r.jsx)("section",{className:"pt-6 pb-24",children:(0,r.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,r.jsxs)("form",{className:"hidden lg:block",children:[(0,r.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,r.jsx)("label",{htmlFor:"event",className:"font-bold block text-sm font-medium text-gray-700",children:"Search Events"}),(0,r.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)(u.W1M,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,r.jsx)("input",{type:"text",name:"event",id:"event",onChange:C,className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})]}),i.map((function(e){return(0,r.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,r.jsx)("h3",{className:"-my-3 flow-root",children:(0,r.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,r.jsx)("span",{className:"font-bold font-medium text-gray-900",children:e.name})})}),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)("div",{className:"space-y-4",children:e.options.map((function(t,n){return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"filter-".concat(e.id,"-").concat(n),name:"".concat(e.id,"[]"),defaultValue:t.value,type:"checkbox",onChange:function(n){return function(e,t,n){if(n.target.checked){var r=g[t].concat([e.value]);p(f({},g,m({},t,r)))}else{var a=g[t].filter((function(t){return t!==e.value}));p(f({},g,m({},t,a)))}}(t,e.id,n)},defaultChecked:t.checked,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,r.jsx)("label",{htmlFor:"filter-".concat(e.id,"-").concat(n),className:"ml-3 text-sm text-gray-600",children:t.label})]},t.value)}))})})]},e.id)})),(0,r.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,r.jsx)("h3",{className:"-my-3 flow-root",children:(0,r.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,r.jsx)("span",{className:"font-bold font-medium text-gray-900",children:"Features"})})}),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)("div",{className:"space-y-4",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return j(e.target.checked)},defaultChecked:y,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,r.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})})]})]}),(0,r.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:E?"Filtered Events (".concat(w.length,"/").concat(t.length,")"):"All Events (".concat(t.length,")")}),(0,r.jsx)(d.Z,{events:w,showMermaidDiagrams:y}),0===w.length&&(0,r.jsx)("div",{className:"text-gray-400 flex h-96 justify-center items-center",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(u.W1M,{className:"w-6 h-6 inline-block mr-1"}),"No events found."]})})]})})]})})]})]})}},46892:function(e,t,n){"use strict";function r(e){for(var t=0,n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);for(var r="#",a=0;a<3;a++){r+="00".concat((t>>8*a&255).toString(16)).substr(-2)}return r}n.d(t,{Z:function(){return r}})}},function(e){e.O(0,[812,519,962,274,774,888,179],(function(){return t=74461,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[532],{30876:function(e,r,n){"use strict";n.r(r),n.d(r,{MDXContext:function(){return o},MDXProvider:function(){return m},mdx:function(){return p},useMDXComponents:function(){return d},withMDXComponents:function(){return u}});var t=n(2784);function a(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function s(){return(s=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}function l(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function i(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?l(Object(n),!0).forEach((function(r){a(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}function c(e,r){if(null==e)return{};var n,t,a=function(e,r){if(null==e)return{};var n,t,a={},s=Object.keys(e);for(t=0;t<s.length;t++)n=s[t],r.indexOf(n)>=0||(a[n]=e[n]);return a}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(t=0;t<s.length;t++)n=s[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var o=t.createContext({}),u=function(e){return function(r){var n=d(r.components);return t.createElement(e,s({},r,{components:n}))}},d=function(e){var r=t.useContext(o),n=r;return e&&(n="function"===typeof e?e(r):i(i({},r),e)),n},m=function(e){var r=d(e.components);return t.createElement(o.Provider,{value:r},e.children)},f={inlineCode:"code",wrapper:function(e){var r=e.children;return t.createElement(t.Fragment,{},r)}},x=t.forwardRef((function(e,r){var n=e.components,a=e.mdxType,s=e.originalType,l=e.parentName,o=c(e,["components","mdxType","originalType","parentName"]),u=d(n),m=a,x=u["".concat(l,".").concat(m)]||u[m]||f[m]||s;return n?t.createElement(x,i(i({ref:r},o),{},{components:n})):t.createElement(x,i({ref:r},o))}));function p(e,r){var n=arguments,a=r&&r.mdxType;if("string"===typeof e||a){var s=n.length,l=new Array(s);l[0]=x;var i={};for(var c in r)hasOwnProperty.call(r,c)&&(i[c]=r[c]);i.originalType=e,i.mdxType="string"===typeof e?e:a,l[1]=i;for(var o=2;o<s;o++)l[o]=n[o];return t.createElement.apply(null,l)}return t.createElement.apply(null,n)}x.displayName="MDXCreateElement"},23816:function(e,r,n){"use strict";var t=n(2784),a=n(30876);function s(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}function l(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:function(){return e[n]}})}})),r.default=e,Object.freeze(r)}var i=s(t),c=l(a);"undefined"!==typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var r=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),r.R=function({compiledSource:e,scope:r,components:n={},lazy:a}){const[s,l]=t.useState(!a||"undefined"===typeof window);t.useEffect((()=>{if(a){const e=window.requestIdleCallback((()=>{l(!0)}));return()=>window.cancelIdleCallback(e)}}),[]);const o=t.useMemo((()=>{const n=Object.assign({mdx:c.mdx,React:i.default},r),t=Object.keys(n),a=Object.values(n),s=Reflect.construct(Function,t.concat(`${e}; return MDXContent;`));return s.apply(s,a)}),[r,e]);if(!s)return i.default.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});const u=i.default.createElement(c.MDXProvider,{components:n},i.default.createElement(o,null));return a?i.default.createElement("div",null,u):u}},75080:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services/[name]",function(){return n(34585)}])},34585:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSG:function(){return v},default:function(){return g}});var t=n(52322),a=n(97729),s=n(23816),l=n(62455),i=n(61790),c=n(4573),o=(n(2784),n(39097)),u=n(17962),d=n(55008),m=n(46892),f=["purple","pink","green","yellow","blue","indigo"];var x=function(e){var r=e.service,n=(0,d.aF)().getUserById,a=r.owners,s=r.subscribes,l=r.publishes,i=r.repository,c=r.tags,x=void 0===c?[]:c,p=r.externalLinks,h=i.language,y=i.url,j=[];h&&(j=Array.isArray(h)?h:[h]);var b="";return y&&(b=y.replace(/(^\w+:|^)\/\//,"")),(0,t.jsxs)("aside",{className:"hidden xl:block xl:pl-8",children:[(0,t.jsx)("h2",{className:"sr-only",children:"Details"}),(0,t.jsx)("div",{className:"pt-6 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,t.jsx)(u.FMB,{className:"h-5 w-5 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publishes Events (",l.length,")"]}),(0,t.jsx)("ul",{className:"mt-2 leading-8",children:l.map((function(e){return(0,t.jsx)("li",{className:"inline ",children:(0,t.jsx)(o.default,{href:"/events/".concat(e.name),children:(0,t.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,t.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900 truncate max-w-xs",children:e.name})]})})},e.name)}))})]})}),(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,t.jsx)(u.FMB,{className:"h-5 w-5 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribes to Events (",s.length,")"]}),(0,t.jsx)("ul",{className:"mt-2 leading-8",children:s.map((function(e){return(0,t.jsx)("li",{className:"inline",children:(0,t.jsx)(o.default,{href:"/events/".concat(e.name),children:(0,t.jsxs)("a",{className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,t.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900 truncate max-w-xs",children:e.name})]})})},e.name)}))})]})}),(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:["Service Owners (",a.length,")"]}),(0,t.jsx)("ul",{className:"mt-4 leading-8 space-y-2",children:a.map((function(e){var r=n(e);return r?(0,t.jsx)("li",{className:"flex justify-start",children:(0,t.jsx)(o.default,{href:"/users/".concat(r.id),children:(0,t.jsxs)("a",{className:"flex items-center space-x-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("img",{className:"h-5 w-5 rounded-full",src:r.avatarUrl,alt:""})}),(0,t.jsx)("div",{className:"text-sm font-medium text-gray-900",children:r.name})]})})},r.id):null}))})]})}),(null===i||void 0===i?void 0:i.url)&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Repository"}),(0,t.jsx)("ul",{className:" leading-8 space-y-2",children:(0,t.jsx)("li",{className:"flex justify-start",children:(0,t.jsx)("a",{href:null===i||void 0===i?void 0:i.url,target:"_blank",className:"flex items-center space-x-3 text-blue-600 underline text-sm",rel:"noreferrer",children:b})})})]})}),j.length>0&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Language"}),j.map((function(e){return(0,t.jsxs)("div",{className:"relative flex items-center mt-2",children:[(0,t.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-2 w-2 rounded-full","aria-hidden":"true",style:{background:(0,m.Z)(e)}})}),(0,t.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]},e)}))]})}),p.length>0&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsx)("div",{className:"space-y-3",children:p.map((function(e){return(0,t.jsxs)("a",{href:e.url,target:"_blank",type:"button",className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-teal-300 shadow-sm text-sm font-medium rounded-md text-teal-800 hover:bg-teal-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-teal-200",rel:"noreferrer",children:[(0,t.jsx)(u.h0n,{className:"-ml-1 mr-2 h-5 w-5 text-teal-200","aria-hidden":"true"}),(0,t.jsx)("span",{children:"".concat(e.label)})]},e.url)}))})}),x.length>0&&(0,t.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,t.jsx)(u.lO_,{className:"h-5 w-5 text-gray-400 inline-block mr-2","aria-hidden":"true"}),"Tags"]}),(0,t.jsx)("div",{className:"mt-3 space-y-2",children:x.map((function(e,r){var n=e.label,a=e.url,s=f[r%f.length];return a?(0,t.jsx)("a",{href:a,className:"inline-block underline",target:"_blank",rel:"noreferrer",children:(0,t.jsx)("span",{className:"underline inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(s,"-100 text-").concat(s,"-800"),children:n})}):(0,t.jsx)("span",{className:"inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(s,"-100 text-").concat(s,"-800"),children:n})}))})]})})]})},p=n(52428),h=n(4488);function y(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function j(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){y(e,r,n[r])}))}return e}function b(e){var r=e.title,n=e.service,a=e.charts;return(0,t.jsxs)("div",{className:"mx-auto w-full py-10",children:[r&&(0,t.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:r}),(0,t.jsx)(c.Z,{source:"service",data:n,rootNodeColor:(0,m.Z)(n.name),charts:a})]})}var v=!0;function g(e){var r=e.service,n=e.markdown,c=e.notFound,o=(0,d.wG)(),u=o.getEditUrl,m=o.hasEditUrl;if(c)return(0,t.jsx)(h.Z,{type:"service",name:r.name,editUrl:m?u("/services/".concat(r.name,"/index.md")):""});var f=r.name,y=r.summary,v=r.draft,g=n.lastModifiedDate,N=function(e){return{Admonition:i.Z,Mermaid:function(r){var n=r.title,a=r.charts;return(0,t.jsx)(b,{service:e,title:n,charts:a})}}}(r),w=[{name:"Services",href:"/services",current:!1},{name:f,href:"/services/".concat(f),current:!0}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{children:(0,t.jsx)("title",{children:f})}),(0,t.jsx)(l.Z,{title:f,editUrl:m?u("/services/".concat(f,"/index.md")):"",subtitle:y,draft:v,lastModifiedDate:g,breadCrumbs:(0,t.jsx)(p.Z,{pages:w,homePath:"/services"}),sidebar:(0,t.jsx)(x,{service:r}),children:(0,t.jsx)(s.R,j({},n.source,{components:N}))})]})}}},function(e){e.O(0,[812,519,962,336,774,888,179],(function(){return r=75080,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54],{17891:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services",function(){return t(46378)}])},44938:function(e,r,t){"use strict";var n=t(52322),s=(t(2784),t(39097)),a=t(17962),i=t(4573),c=t(46892);r.Z=function(e){var r=e.services,t=void 0===r?[]:r,l=e.showMermaidDiagrams,o=void 0!==l&&l;return(0,n.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:t.map((function(e){var r=e.draft;return(0,n.jsx)("li",{className:"flex",children:(0,n.jsx)(s.default,{href:"/services/".concat(e.name),children:(0,n.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,n.jsx)("div",{style:{background:(0,c.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,n.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,n.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),r&&(0,n.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,n.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),o&&(0,n.jsx)("div",{className:"h-full items-center flex",children:(0,n.jsx)(i.Z,{source:"service",data:e,rootNodeColor:(0,c.Z)(e.name)})}),(0,n.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,n.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,n.jsx)(a.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,n.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,n.jsx)(a.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var n=t(52322),s=t(2784),a=t(14689),i=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},c=function(e,r,t,n){var s=function(e){return e.map((function(e){return e.replace(/ /g,"_")}))},a=s(r).map(i),c=s(t).map(i),l=i(e.replace(/ /g,"_"));return"flowchart LR\n".concat(a.map((function(e){return"".concat(e,":::producer--\x3e").concat(l,":::event\n")})).join(""),"\nclassDef event stroke:").concat(n,",stroke-width: 4px;\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n").concat(c.map((function(e){return"".concat(l,":::event--\x3e").concat(e,":::consumer\n")})).join(""),"\n ")};a.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var l=function(e){var r=e.data,t=e.source,i=void 0===t?"event":t,l=e.rootNodeColor,o=e.charts;if((0,s.useEffect)((function(){a.Z.contentLoaded()}),[]),o)return(0,n.jsx)(n.Fragment,{children:o.map((function(e,r){return(0,n.jsx)("div",{className:"mermaid",children:e},"chart-".concat(r))}))});var d="event"===i?function(e,r){var t=e.name,n=e.producers,s=e.consumers;return c(t,n,s,void 0===r?"#2563eb":r)}(r,l):function(e,r){var t=e.publishes,n=e.subscribes,s=e.name,a=void 0===r?"#2563eb":r;return c(s,n.map((function(e){return e.name})),t.map((function(e){return e.name})),a)}(r,l);return(0,n.jsx)("div",{className:"mermaid",children:d})}},46378:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return u},default:function(){return x}});var n=t(52322),s=t(2784),a=t(97729),i=t(51930),c=t(54643),l=t(61519),o=t(44938);function d(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter(Boolean).join(" ")}var m=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],u=!0;function x(e){var r=e.services,t=(0,s.useState)(!1),u=t[0],x=t[1];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.default,{children:(0,n.jsx)("title",{children:"EventCatalog - All Services"})}),(0,n.jsxs)("main",{className:"max-w-7xl mx-auto md:min-h-screen px-4 md:px-0",children:[(0,n.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,n.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Services (",r.length,")"]}),(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsxs)(i.v,{as:"div",className:"relative hidden text-left",children:[(0,n.jsx)("div",{children:(0,n.jsxs)(i.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,n.jsx)(l.v4q,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,n.jsx)(c.u,{as:s.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(i.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,n.jsx)("div",{className:"py-1",children:m.map((function(e){return(0,n.jsx)(i.v.Item,{children:function(r){var t=r.active;return(0,n.jsx)("a",{href:e.href,className:d(e.current?"font-medium text-gray-900":"text-gray-500",t?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,n.jsx)("section",{className:"pt-6 pb-24",children:(0,n.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,n.jsx)("form",{className:"hidden lg:block",children:(0,n.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,n.jsx)("h3",{className:"-my-3 flow-root",children:(0,n.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,n.jsx)("span",{className:"font-medium text-gray-900",children:"Features"})})}),(0,n.jsx)("div",{className:"pt-6",children:(0,n.jsx)("div",{className:"space-y-4",children:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return x(e.target.checked)},defaultChecked:u,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,n.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})})]})}),(0,n.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:"Services"}),(0,n.jsx)(o.Z,{services:r,showMermaidDiagrams:u})]})})]})})]})]})}},46892:function(e,r,t){"use strict";function n(e){for(var r=0,t=0;t<e.length;t++)r=e.charCodeAt(t)+((r<<5)-r);for(var n="#",s=0;s<3;s++){n+="00".concat((r>>8*s&255).toString(16)).substr(-2)}return n}t.d(r,{Z:function(){return n}})}},function(e){e.O(0,[812,519,962,274,774,888,179],(function(){return r=17891,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[108],{84852:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/[id]",function(){return r(10429)}])},90526:function(e,s,r){"use strict";var n=r(52322),t=(r(2784),r(39097)),a=r(17962),l=r(46892),i=r(4573);function c(){for(var e=arguments.length,s=new Array(e),r=0;r<e;r++)s[r]=arguments[r];return s.filter(Boolean).join(" ")}s.Z=function(e){var s=e.events,r=void 0===s?[]:s,d=e.showMermaidDiagrams,o=void 0!==d&&d;return(0,n.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:r.map((function(e){var s=e.draft;return(0,n.jsx)("li",{className:"flex",children:(0,n.jsx)(t.default,{href:"/events/".concat(e.name),children:(0,n.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,n.jsx)("div",{style:{background:(0,l.Z)(e.name)},className:c("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,n.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,n.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,n.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,n.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),s&&(0,n.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,n.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),o&&(0,n.jsx)("div",{className:"h-full items-center flex",children:(0,n.jsx)(i.Z,{source:"event",data:e,rootNodeColor:(0,l.Z)(e.name)})}),(0,n.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,n.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,n.jsx)(a.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producers.length,")"]}),(0,n.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,n.jsx)(a.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumers.length,")"]})]})]})})]})})},e.name)}))})}},44938:function(e,s,r){"use strict";var n=r(52322),t=(r(2784),r(39097)),a=r(17962),l=r(4573),i=r(46892);s.Z=function(e){var s=e.services,r=void 0===s?[]:s,c=e.showMermaidDiagrams,d=void 0!==c&&c;return(0,n.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:r.map((function(e){var s=e.draft;return(0,n.jsx)("li",{className:"flex",children:(0,n.jsx)(t.default,{href:"/services/".concat(e.name),children:(0,n.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,n.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,n.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,n.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),s&&(0,n.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,n.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),d&&(0,n.jsx)("div",{className:"h-full items-center flex",children:(0,n.jsx)(l.Z,{source:"service",data:e,rootNodeColor:(0,i.Z)(e.name)})}),(0,n.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,n.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,n.jsx)(a.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,n.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,n.jsx)(a.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,s,r){"use strict";r.d(s,{Z:function(){return c}});var n=r(52322),t=r(2784),a=r(14689),l=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},i=function(e,s,r,n){var t=function(e){return e.map((function(e){return e.replace(/ /g,"_")}))},a=t(s).map(l),i=t(r).map(l),c=l(e.replace(/ /g,"_"));return"flowchart LR\n".concat(a.map((function(e){return"".concat(e,":::producer--\x3e").concat(c,":::event\n")})).join(""),"\nclassDef event stroke:").concat(n,",stroke-width: 4px;\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n").concat(i.map((function(e){return"".concat(c,":::event--\x3e").concat(e,":::consumer\n")})).join(""),"\n ")};a.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var c=function(e){var s=e.data,r=e.source,l=void 0===r?"event":r,c=e.rootNodeColor,d=e.charts;if((0,t.useEffect)((function(){a.Z.contentLoaded()}),[]),d)return(0,n.jsx)(n.Fragment,{children:d.map((function(e,s){return(0,n.jsx)("div",{className:"mermaid",children:e},"chart-".concat(s))}))});var o="event"===l?function(e,s){var r=e.name,n=e.producers,t=e.consumers;return i(r,n,t,void 0===s?"#2563eb":s)}(s,c):function(e,s){var r=e.publishes,n=e.subscribes,t=e.name,a=void 0===s?"#2563eb":s;return i(t,n.map((function(e){return e.name})),r.map((function(e){return e.name})),a)}(s,c);return(0,n.jsx)("div",{className:"mermaid",children:o})}},10429:function(e,s,r){"use strict";r.r(s),r.d(s,{__N_SSG:function(){return i},default:function(){return c}});var n=r(52322),t=r(90526),a=r(44938),l=r(55008),i=!0;function c(e){var s=e.events,r=e.services,i=e.userId,c=(0,(0,l.aF)().getUserById)(i);return(0,n.jsx)("div",{className:"flex relative min-h-screen",children:(0,n.jsx)("div",{className:"flex-1 ",children:(0,n.jsx)("div",{className:"py-8 xl:py-10",children:(0,n.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 xl:max-w-7xl xl:grid xl:grid-cols-4",children:[(0,n.jsxs)("div",{className:"xl:col-span-3 xl:pr-8 xl:border-r xl:border-gray-200 min-h-screen",children:[(0,n.jsx)("div",{className:"xl:border-b pb-4 flex justify-between ",children:(0,n.jsx)("div",{className:"space-y-2",children:(0,n.jsx)("h1",{className:"text-3xl font-bold text-gray-900 relative",children:c.name})})}),(0,n.jsxs)("div",{className:" border-b border-gray-100 pb-6",children:[(0,n.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4",children:["Owner of Events (",s.length,")"]}),(0,n.jsx)(t.Z,{events:s})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4",children:["Owner of Services (",r.length,")"]}),(0,n.jsx)(a.Z,{services:r})]})]}),(0,n.jsxs)("div",{className:"px-8",children:[(0,n.jsxs)("div",{className:"flex items-center space-x-5 mt-4 ",children:[(0,n.jsx)("div",{className:"flex-shrink-0",children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("img",{className:"h-16 w-16 rounded-full",src:c.avatarUrl,alt:""}),(0,n.jsx)("span",{className:"absolute inset-0 shadow-inner rounded-full","aria-hidden":"true"})]})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"text-xl font-bold text-gray-900",children:c.name}),(0,n.jsx)("p",{className:"text-sm font-medium text-gray-500",children:c.role})]})]}),(0,n.jsx)("div",{className:"mt-6 flow-root border-t border-gray-200 py-6 text-sm",children:c.summary})]})]})})})})}},46892:function(e,s,r){"use strict";function n(e){for(var s=0,r=0;r<e.length;r++)s=e.charCodeAt(r)+((s<<5)-s);for(var n="#",t=0;t<3;t++){n+="00".concat((s>>8*t&255).toString(16)).substr(-2)}return n}r.d(s,{Z:function(){return n}})}},function(e){e.O(0,[812,962,774,888,179],(function(){return s=84852,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
@@ -1 +0,0 @@
1
- !function(){"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}},u=!0;try{e[r].call(i.exports,i,i.exports,n),u=!1}finally{u&&delete t[r]}return i.exports}n.m=e,function(){var e=[];n.O=function(t,r,o,i){if(!r){var u=1/0;for(l=0;l<e.length;l++){r=e[l][0],o=e[l][1],i=e[l][2];for(var a=!0,c=0;c<r.length;c++)(!1&i||u>=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[c])}))?r.splice(c--,1):(a=!1,i<u&&(u=i));if(a){e.splice(l--,1);var f=o();void 0!==f&&(t=f)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[r,o,i]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return"static/chunks/"+(546===e?"020d8314":e)+"."+{546:"aea2d24215754e7b",638:"d570519ae49c92c8"}[e]+".js"},n.miniCssF=function(e){return"static/css/"+{276:"5eeed9cb243ce668",888:"0b54ec6503b91283"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,i,u){if(e[r])e[r].push(o);else{var a,c;if(void 0!==i)for(var f=document.getElementsByTagName("script"),l=0;l<f.length;l++){var s=f[l];if(s.getAttribute("src")==r||s.getAttribute("data-webpack")==t+i){a=s;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack",t+i),a.src=r),e[r]=[o];var d=function(t,n){a.onerror=a.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(e){return e(n)})),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/_next/",function(){var e={272:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(272!=t){var i=new Promise((function(n,r){o=e[t]=[n,r]}));r.push(o[2]=i);var u=n.p+n.u(t),a=new Error;n.l(u,(function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+u+")",a.name="ChunkLoadError",a.type=i,a.request=u,o[1](a)}}),"chunk-"+t,t)}else e[t]=0},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,i,u=r[0],a=r[1],c=r[2],f=0;if(u.some((function(t){return 0!==e[t]}))){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(c)var l=c(n)}for(t&&t(r);f<u.length;f++)i=u[f],n.o(e,i)&&e[i]&&e[i][0](),e[u[f]]=0;return n.O(l)},r=self.webpackChunk_N_E=self.webpackChunk_N_E||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}()}();
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>EventCatalog</title><script src="//unpkg.com/three"></script><script src="//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"></script><link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"/><meta name="description" content="An open source project to Discover, Explore and Document your Event Driven Architectures."/><meta property="og:url" content="https://eventcatalog.dev/"/><meta property="og:type" content="website"/><meta property="og:title" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:description" content="An open source tool powered by markdown to document your Event Driven Architecture."/><meta property="og:image" content="https://eventcatalog.dev/img/opengraph.png"/><meta property="og:image:alt" content="EventCatalog | Discover, Explore and Document your Event Driven Architectures."/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="600"/><meta property="og:locale" content="en-GB"/><meta name="author" content="David Boyne"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"/><meta name="next-head-count" content="18"/><link rel="preload" href="/_next/static/css/0b54ec6503b91283.css" as="style"/><link rel="stylesheet" href="/_next/static/css/0b54ec6503b91283.css" data-n-g=""/><link rel="preload" href="/_next/static/css/5eeed9cb243ce668.css" as="style"/><link rel="stylesheet" href="/_next/static/css/5eeed9cb243ce668.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"></script><script src="/_next/static/chunks/webpack-4d9342d4391c2a09.js" defer=""></script><script src="/_next/static/chunks/framework-576ec6a1c1386453.js" defer=""></script><script src="/_next/static/chunks/main-0289ecbd51cd4cb4.js" defer=""></script><script src="/_next/static/chunks/pages/_app-151e9a6aaffc086e.js" defer=""></script><script src="/_next/static/chunks/519-7c428c1e49c8e614.js" defer=""></script><script src="/_next/static/chunks/364-3cb3c8cf1d3c95de.js" defer=""></script><script src="/_next/static/chunks/pages/events/%5Bname%5D/logs-707da36de8222a98.js" defer=""></script><script src="/_next/static/KdSbnzD2mtkQD-74qZi6x/_buildManifest.js" defer=""></script><script src="/_next/static/KdSbnzD2mtkQD-74qZi6x/_ssgManifest.js" defer=""></script><script src="/_next/static/KdSbnzD2mtkQD-74qZi6x/_middlewareManifest.js" defer=""></script></head><body><div id="__next" data-reactroot=""><div class="bg-gray-800"><div class="max-w-7xl mx-auto "><div class="relative flex items-center justify-between h-16"><div class="flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"><div class="flex-shrink-0 flex items-center text-white font-bold"><a class="flex items-center" href="/"><img alt="logo" class="text-white w-8 inline-block mr-3" src="/logo.svg"/><span class="text-xl">EventCatalog</span></a></div></div><div class="hidden sm:block sm:ml-6"><div class="flex space-x-4"><a class="bg-gray-900 text-white px-3 py-2 rounded-md text-sm font-medium" aria-current="page" href="/events">Events</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/services">Services</a><a class="text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium" href="/overview">3D Node Graph</a></div></div></div></div></div><div class="flex relative min-h-screen"><div class=" flex flex-col w-0 flex-1 "><main class="flex-1 "><div class="py-8 xl:py-10"><div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 xl:max-w-7xl xl:grid xl:grid-cols-4"><div class="xl:col-span-4 flex-col justify-between flex "><div class="mb-5 border-b border-gray-100 pb-4"><nav class="flex" aria-label="Breadcrumb"><ol class="flex items-center space-x-4"><li><a class="text-gray-400 hover:text-gray-500" href="/events"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="flex-shrink-0 h-5 w-5"><path d="M10.707 2.293a1 1 0 00-1.414 0l-7 7a1 1 0 001.414 1.414L4 10.414V17a1 1 0 001 1h2a1 1 0 001-1v-2a1 1 0 011-1h2a1 1 0 011 1v2a1 1 0 001 1h2a1 1 0 001-1v-6.586l.293.293a1 1 0 001.414-1.414l-7-7z"></path></svg><span class="sr-only">Home</span></a></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" href="/events">Events</a></div></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" href="/events/AddedItemToCart">AddedItemToCart</a></div></li><li><div class="flex items-center"><svg class="flex-shrink-0 h-5 w-5 text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20" aria-hidden="true"><path d="M5.555 17.776l8-16 .894.448-8 16-.894-.448z"></path></svg><a class="ml-4 text-sm font-medium text-gray-500 hover:text-gray-700" aria-current="page" href="/events/AddedItemToCart/history">Logs</a></div></li></ol></nav></div><div><div class="border-b pb-4 flex justify-between mb-4"><div class="space-y-2 w-full"><h1 class="text-3xl font-bold text-gray-900 relative">AddedItemToCart</h1></div></div><div class="flow-root mb-20"><ul class=""><li class=""><div class="relative pb-8"><span class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-100" aria-hidden="true"></span><div class="relative flex space-x-3"><div><span class="h-8 text-white text-xs w-8 rounded-full flex items-center justify-center ring-8 ring-white bg-blue-500"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="h-4 w-4"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></span></div><div><div><p class="font-bold text-gray-800 text-xl">Schema version update<a class="font-medium" href="/events/AddedItemToCart/v/0.0.2"> from<span class="text-blue-500 underline px-1">0.0.2</span>to</a><a class="font-medium" href="/events/AddedItemToCart"><span class="text-blue-500 underline px-1">0.0.3<!-- -->(latest)</span></a></p><h2 class="text-xl text-blue-500 font-bold mt-4 border-b border-gray-100 pb-2">Changelog</h2><div class="prose max-w-none mt-2"><p>Changed <code>quantity</code> maximum to 1000.</p></div></div><div class="text-right text-sm text-gray-500 py-4"><div id="code-diff-0"></div></div></div></div></div></li><li class=""><div class="relative pb-8"><div class="relative flex space-x-3"><div><span class="h-8 text-white text-xs w-8 rounded-full flex items-center justify-center ring-8 ring-white bg-blue-500"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" class="h-4 w-4"><path fill-rule="evenodd" d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></span></div><div><div><p class="font-bold text-gray-800 text-xl">Schema version update<a class="font-medium" href="/events/AddedItemToCart/v/0.0.1"> from<span class="text-blue-500 underline px-1">0.0.1</span>to</a><a class="font-medium" href="/events/AddedItemToCart/v/0.0.2"><span class="text-blue-500 underline px-1">0.0.2</span></a></p><h2 class="text-xl text-blue-500 font-bold mt-4 border-b border-gray-100 pb-2">Changelog</h2><div class="prose max-w-none mt-2"><p>Added <code>quantity</code> into the schema.</p></div></div><div class="text-right text-sm text-gray-500 py-4"><div id="code-diff-1"></div></div></div></div></div></li></ul></div></div></div></div></div></main></div></div><footer class="bg-gray-800"><div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"><nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"><div class="px-5 py-2"><a href="/events" class="text-base text-gray-500 hover:text-gray-900">Events</a></div><div class="px-5 py-2"><a href="/services" class="text-base text-gray-500 hover:text-gray-900">Services</a></div><div class="px-5 py-2"><a href="/overview" class="text-base text-gray-500 hover:text-gray-900">3D Node Graph</a></div><div class="px-5 py-2"><a href="https://github.com/boyney123/eventcatalog-demo/edit/master" class="text-base text-gray-500 hover:text-gray-900">GitHub</a></div></nav><p class="mt-8 text-center text-base text-gray-400">Copyright © <!-- -->2022<!-- --> <!-- -->Your Company<!-- -->. Built with<!-- --> <a class="underline" href="https://eventcatalog.dev" target="_blank" rel="noreferrer">EventCatalog.</a></p></div></footer></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"changes":[{"versions":["0.0.2","0.0.3"],"changelog":{"content":"Changed `quantity` maximum to 1000.","source":{"compiledSource":"var s=Object.defineProperty,C=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var m=(n,t,o)=\u003et in n?s(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,p=(n,t)=\u003e{for(var o in t||(t={}))u.call(t,o)\u0026\u0026m(n,o,t[o]);if(a)for(var o of a(t))i.call(t,o)\u0026\u0026m(n,o,t[o]);return n},r=(n,t)=\u003eC(n,D(t));var y=(n,t)=\u003e{var o={};for(var e in n)u.call(n,e)\u0026\u0026t.indexOf(e)\u003c0\u0026\u0026(o[e]=n[e]);if(n!=null\u0026\u0026a)for(var e of a(n))t.indexOf(e)\u003c0\u0026\u0026i.call(n,e)\u0026\u0026(o[e]=n[e]);return o};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var e=o,{components:n}=e,t=y(e,[\"components\"]);return mdx(MDXLayout,r(p(p({},layoutProps),t),{components:n,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Changed \",mdx(\"inlineCode\",{parentName:\"p\"},\"quantity\"),\" maximum to 1000.\"))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"value":"===================================================================\n--- schema.json (0.0.2)\n+++ schema.json (0.0.3)\n@@ -36,9 +36,9 @@\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to add to their shopping cart\",\n \"minimum\": 1,\n- \"maximum\": 100,\n+ \"maximum\": 1000,\n \"default\": 1\n }\n }\n }\n"},{"versions":["0.0.1","0.0.2"],"changelog":{"content":"Added `quantity` into the schema.","source":{"compiledSource":"var y=Object.defineProperty,c=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(n,t,e)=\u003et in n?y(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,a=(n,t)=\u003e{for(var e in t||(t={}))i.call(t,e)\u0026\u0026r(n,e,t[e]);if(p)for(var e of p(t))u.call(t,e)\u0026\u0026r(n,e,t[e]);return n},d=(n,t)=\u003ec(n,m(t));var s=(n,t)=\u003e{var e={};for(var o in n)i.call(n,o)\u0026\u0026t.indexOf(o)\u003c0\u0026\u0026(e[o]=n[o]);if(n!=null\u0026\u0026p)for(var o of p(n))t.indexOf(o)\u003c0\u0026\u0026u.call(n,o)\u0026\u0026(e[o]=n[o]);return e};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(e){var o=e,{components:n}=o,t=s(o,[\"components\"]);return mdx(MDXLayout,d(a(a({},layoutProps),t),{components:n,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Added \",mdx(\"inlineCode\",{parentName:\"p\"},\"quantity\"),\" into the schema.\"))}MDXContent.isMDXComponent=!0;\n","scope":{}}},"value":"===================================================================\n--- schema.json (0.0.1)\n+++ schema.json (0.0.2)\n@@ -31,8 +31,15 @@\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n+ },\n+ \"quantity\": {\n+ \"type\": \"number\",\n+ \"description\": \"How many items the user wants to add to their shopping cart\",\n+ \"minimum\": 1,\n+ \"maximum\": 100,\n+ \"default\": 1\n }\n }\n }\n }\n"}],"name":"AddedItemToCart","currentVersion":"0.0.3"},"__N_SSG":true},"page":"/events/[name]/logs","query":{"name":"AddedItemToCart"},"buildId":"KdSbnzD2mtkQD-74qZi6x","isFallback":false,"gsp":true,"scriptLoader":[]}</script></body></html>