@eventcatalog/core 0.1.9 → 0.1.13
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +35 -29
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1bay4w0 +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/565.js +6 -6
- package/.next/server/chunks/{730.js → 685.js} +411 -2
- package/.next/server/chunks/944.js +25 -2
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +7 -3
- package/.next/server/pages/events/AddedItemToCart/logs.html +1 -1
- package/.next/server/pages/events/AddedItemToCart/v/0.0.1.html +6 -6
- package/.next/server/pages/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/.next/server/pages/events/AddedItemToCart/v/0.0.2.html +6 -6
- package/.next/server/pages/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/.next/server/pages/events/AddedItemToCart.html +6 -6
- package/.next/server/pages/events/AddedItemToCart.json +1 -1
- package/.next/server/pages/events/OrderComplete/logs.html +1 -1
- package/.next/server/pages/events/OrderComplete.html +6 -6
- package/.next/server/pages/events/OrderComplete.json +1 -1
- package/.next/server/pages/events/OrderConfirmed/logs.html +1 -1
- package/.next/server/pages/events/OrderConfirmed.html +3 -21
- package/.next/server/pages/events/OrderConfirmed.json +1 -1
- package/.next/server/pages/events/OrderRequested/logs.html +1 -1
- package/.next/server/pages/events/OrderRequested.html +6 -6
- package/.next/server/pages/events/OrderRequested.json +1 -1
- package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
- package/.next/server/pages/events/PaymentProcessed.html +6 -6
- package/.next/server/pages/events/PaymentProcessed.json +1 -1
- package/.next/server/pages/events/RemovedItemFromCart/logs.html +1 -1
- package/.next/server/pages/events/RemovedItemFromCart.html +6 -6
- package/.next/server/pages/events/RemovedItemFromCart.json +1 -1
- package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
- package/.next/server/pages/events/ShipmentDelivered.html +3 -23
- package/.next/server/pages/events/ShipmentDelivered.json +1 -1
- package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
- package/.next/server/pages/events/ShipmentDispatched.html +6 -6
- package/.next/server/pages/events/ShipmentDispatched.json +1 -1
- package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
- package/.next/server/pages/events/ShipmentPrepared.html +2 -20
- package/.next/server/pages/events/ShipmentPrepared.json +1 -1
- package/.next/server/pages/events/[name]/v/[version].js +15 -1
- package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
- package/.next/server/pages/events/[name].js +15 -1
- package/.next/server/pages/events/[name].js.nft.json +1 -1
- package/.next/server/pages/events.html +3 -3
- package/.next/server/pages/events.json +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/overview.json +1 -1
- package/.next/server/pages/services/Basket Service.html +8 -8
- package/.next/server/pages/services/Basket Service.json +1 -1
- package/.next/server/pages/services/Data Lake.html +10 -10
- package/.next/server/pages/services/Data Lake.json +1 -1
- package/.next/server/pages/services/Payment Service.html +6 -6
- package/.next/server/pages/services/Payment Service.json +1 -1
- package/.next/server/pages/services/Shipping Service.html +2 -28
- package/.next/server/pages/services/Shipping Service.json +1 -1
- package/.next/server/pages/services/[name].js +40 -3
- package/.next/server/pages/services/[name].js.nft.json +1 -1
- package/.next/server/pages/services.html +2 -2
- package/.next/server/pages/services.json +1 -1
- package/.next/server/pages/users/dboyne.html +3 -3
- package/.next/server/pages/users/dboyne.json +1 -1
- package/.next/server/pages/users/mSmith.html +3 -3
- package/.next/server/pages/users/mSmith.json +1 -1
- package/.next/static/Wp8i1_b29rcfszKFNI7O4/_buildManifest.js +1 -0
- package/.next/static/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/_middlewareManifest.js +0 -0
- package/.next/static/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/_ssgManifest.js +0 -0
- package/{out/_next/static/chunks/178-9b89f5c036d77ab9.js → .next/static/chunks/178-bc36881df28d1bab.js} +1 -1
- package/.next/static/chunks/280-06401c009983574c.js +1 -0
- package/.next/static/chunks/620-d80b0351ea428525.js +1 -0
- package/.next/static/chunks/651-7a25d8468f22423c.js +1 -0
- package/.next/static/chunks/b744740b-94e91620ba96ccbf.js +1 -0
- package/.next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js +1 -0
- package/.next/static/chunks/pages/events/[name]/v/{[version]-f6619ec4056cc70d.js → [version]-d8d4d12f05da9c8a.js} +1 -1
- package/.next/static/chunks/pages/events/{[name]-73ecab7171745a3f.js → [name]-89e1edc81aa51fc3.js} +1 -1
- package/.next/static/chunks/pages/events-1f39499146c9c75f.js +1 -0
- package/.next/static/chunks/pages/services/[name]-204382bfbc48b1b4.js +1 -0
- package/.next/static/chunks/pages/services-f52121c6dc1211aa.js +1 -0
- package/{out/_next/static/chunks/pages/users/[id]-a4274bfad4d9a9ec.js → .next/static/chunks/pages/users/[id]-d3140bb155f8fb45.js} +1 -1
- package/.next/static/chunks/{webpack-2ebfdb1666dac4ad.js → webpack-edf0c365e149f010.js} +1 -1
- package/.next/static/css/f756e2a0d8f4db27.css +3 -0
- package/.next/trace +56 -54
- package/CHANGELOG.md +24 -0
- package/components/Header.tsx +4 -3
- package/components/Mdx/NodeGraph/GraphElements.ts +183 -0
- package/components/Mdx/NodeGraph/GraphLayout.ts +57 -0
- package/components/Mdx/NodeGraph/NodeGraph.tsx +130 -0
- package/components/Mdx/NodeGraph/__tests__/GraphElements.spec.ts +98 -0
- package/components/Mdx/NodeGraph/__tests__/GraphLayout.spec.ts +104 -0
- package/components/Mdx/NodeGraph/__tests__/__snapshots__/GraphElements.spec.ts.snap +661 -0
- package/components/Mdx/NodeGraph/__tests__/__snapshots__/GraphLayout.spec.ts.snap +81 -0
- package/lib/__tests__/graphs.spec.ts +8 -8
- package/lib/graphs.ts +6 -6
- package/out/404/index.html +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/AddedItemToCart/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/AddedItemToCart.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/OrderComplete/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/OrderComplete.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/OrderConfirmed/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/OrderConfirmed.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/OrderRequested/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/OrderRequested.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/PaymentProcessed/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/PaymentProcessed.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/RemovedItemFromCart/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/RemovedItemFromCart.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/ShipmentDelivered/logs.json +0 -0
- package/out/_next/data/Wp8i1_b29rcfszKFNI7O4/events/ShipmentDelivered.json +1 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/ShipmentDispatched/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/ShipmentDispatched.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/ShipmentPrepared/logs.json +0 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events/ShipmentPrepared.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/events.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/overview.json +1 -1
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/services/Basket Service.json +1 -1
- package/out/_next/data/Wp8i1_b29rcfszKFNI7O4/services/Data Lake.json +1 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/services/Payment Service.json +1 -1
- package/out/_next/data/Wp8i1_b29rcfszKFNI7O4/services/Shipping Service.json +1 -0
- package/out/_next/data/Wp8i1_b29rcfszKFNI7O4/services.json +1 -0
- package/out/_next/data/Wp8i1_b29rcfszKFNI7O4/users/dboyne.json +1 -0
- package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/users/mSmith.json +1 -1
- package/out/_next/static/Wp8i1_b29rcfszKFNI7O4/_buildManifest.js +1 -0
- package/out/_next/static/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/_middlewareManifest.js +0 -0
- package/out/_next/static/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/_ssgManifest.js +0 -0
- package/{.next/static/chunks/178-9b89f5c036d77ab9.js → out/_next/static/chunks/178-bc36881df28d1bab.js} +1 -1
- package/out/_next/static/chunks/280-06401c009983574c.js +1 -0
- package/out/_next/static/chunks/620-d80b0351ea428525.js +1 -0
- package/out/_next/static/chunks/651-7a25d8468f22423c.js +1 -0
- package/out/_next/static/chunks/b744740b-94e91620ba96ccbf.js +1 -0
- package/out/_next/static/chunks/pages/_app-46c2e0f1ff3b4efb.js +1 -0
- package/out/_next/static/chunks/pages/events/[name]/v/{[version]-f6619ec4056cc70d.js → [version]-d8d4d12f05da9c8a.js} +1 -1
- package/out/_next/static/chunks/pages/events/{[name]-73ecab7171745a3f.js → [name]-89e1edc81aa51fc3.js} +1 -1
- package/out/_next/static/chunks/pages/events-1f39499146c9c75f.js +1 -0
- package/out/_next/static/chunks/pages/services/[name]-204382bfbc48b1b4.js +1 -0
- package/out/_next/static/chunks/pages/services-f52121c6dc1211aa.js +1 -0
- package/{.next/static/chunks/pages/users/[id]-a4274bfad4d9a9ec.js → out/_next/static/chunks/pages/users/[id]-d3140bb155f8fb45.js} +1 -1
- package/out/_next/static/chunks/{webpack-2ebfdb1666dac4ad.js → webpack-edf0c365e149f010.js} +1 -1
- package/out/_next/static/css/f756e2a0d8f4db27.css +3 -0
- package/out/events/AddedItemToCart/index.html +6 -6
- package/out/events/AddedItemToCart/logs/index.html +1 -1
- package/out/events/AddedItemToCart/v/0.0.1/index.html +6 -6
- package/out/events/AddedItemToCart/v/0.0.2/index.html +6 -6
- package/out/events/OrderComplete/index.html +6 -6
- package/out/events/OrderComplete/logs/index.html +1 -1
- package/out/events/OrderConfirmed/index.html +3 -21
- package/out/events/OrderConfirmed/logs/index.html +1 -1
- package/out/events/OrderRequested/index.html +6 -6
- package/out/events/OrderRequested/logs/index.html +1 -1
- package/out/events/PaymentProcessed/index.html +6 -6
- package/out/events/PaymentProcessed/logs/index.html +1 -1
- package/out/events/RemovedItemFromCart/index.html +6 -6
- package/out/events/RemovedItemFromCart/logs/index.html +1 -1
- package/out/events/ShipmentDelivered/index.html +3 -23
- package/out/events/ShipmentDelivered/logs/index.html +1 -1
- package/out/events/ShipmentDispatched/index.html +6 -6
- package/out/events/ShipmentDispatched/logs/index.html +1 -1
- package/out/events/ShipmentPrepared/index.html +2 -20
- package/out/events/ShipmentPrepared/logs/index.html +1 -1
- package/out/events/index.html +3 -3
- package/out/index.html +1 -1
- package/out/overview/index.html +1 -1
- package/out/services/Basket Service/index.html +8 -8
- package/out/services/Data Lake/index.html +10 -10
- package/out/services/Payment Service/index.html +6 -6
- package/out/services/Shipping Service/index.html +2 -28
- package/out/services/index.html +2 -2
- package/out/users/dboyne/index.html +3 -3
- package/out/users/mSmith/index.html +3 -3
- package/package.json +3 -1
- package/pages/events/[name].tsx +36 -0
- package/pages/services/[name].tsx +36 -0
- package/.next/static/_D78gGWWcjFmvj_jqGXW3/_buildManifest.js +0 -1
- package/.next/static/chunks/336-b1acb0b6aa306baf.js +0 -1
- package/.next/static/chunks/650-4004943b2a9623ca.js +0 -1
- package/.next/static/chunks/pages/_app-c205def1388372e3.js +0 -1
- package/.next/static/chunks/pages/events-c9e5a0fa7d23d620.js +0 -1
- package/.next/static/chunks/pages/services/[name]-d8873d29190a6447.js +0 -1
- package/.next/static/chunks/pages/services-30e4132ef02b1784.js +0 -1
- package/.next/static/css/0b54ec6503b91283.css +0 -3
- package/out/_next/data/_D78gGWWcjFmvj_jqGXW3/events/ShipmentDelivered.json +0 -1
- package/out/_next/data/_D78gGWWcjFmvj_jqGXW3/services/Data Lake.json +0 -1
- package/out/_next/data/_D78gGWWcjFmvj_jqGXW3/services/Shipping Service.json +0 -1
- package/out/_next/data/_D78gGWWcjFmvj_jqGXW3/services.json +0 -1
- package/out/_next/data/_D78gGWWcjFmvj_jqGXW3/users/dboyne.json +0 -1
- package/out/_next/static/_D78gGWWcjFmvj_jqGXW3/_buildManifest.js +0 -1
- package/out/_next/static/chunks/336-b1acb0b6aa306baf.js +0 -1
- package/out/_next/static/chunks/650-4004943b2a9623ca.js +0 -1
- package/out/_next/static/chunks/pages/_app-c205def1388372e3.js +0 -1
- package/out/_next/static/chunks/pages/events-c9e5a0fa7d23d620.js +0 -1
- package/out/_next/static/chunks/pages/services/[name]-d8873d29190a6447.js +0 -1
- package/out/_next/static/chunks/pages/services-30e4132ef02b1784.js +0 -1
- package/out/_next/static/css/0b54ec6503b91283.css +0 -3
package/out/_next/data/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/services/Payment Service.json
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nThe payment service is our own internal payment service that listens to events from stripe and handles them within our own domain. \n\nWe use Stripe to handle services and use this Payment service to enrich events for internal use.\n\n<Mermaid />","lastModifiedDate":"2022/2/
|
|
1
|
+
{"pageProps":{"service":{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nThe payment service is our own internal payment service that listens to events from stripe and handles them within our own domain. \n\nWe use Stripe to handle services and use this Payment service to enrich events for internal use.\n\n<Mermaid />","lastModifiedDate":"2022/2/7","source":{"compiledSource":"var m=Object.defineProperty,u=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var p=(e,o,t)=>o in e?m(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,s=(e,o)=>{for(var t in o||(o={}))a.call(o,t)&&p(e,t,o[t]);if(r)for(var t of r(o))i.call(o,t)&&p(e,t,o[t]);return e},d=(e,o)=>u(e,h(o));var c=(e,o)=>{var t={};for(var n in e)a.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&i.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",s({},t))},Mermaid=makeShortcode(\"Mermaid\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,d(s(s({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"The payment service is our own internal payment service that listens to events from stripe and handles them within our own domain. \"),mdx(\"p\",null,\"We use Stripe to handle services and use this Payment service to enrich events for internal use.\"),mdx(Mermaid,{mdxType:\"Mermaid\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"pageProps":{"service":{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},"markdown":{"content":"\nEvent based service that allows you to create shipments, prepare them and dispatch them. This service handles the `Shipment` domain.\n\nThis service will also generate Async events for downstream services.\n\n<NodeGraph />\n","lastModifiedDate":"2022/2/7","source":{"compiledSource":"var h=Object.defineProperty,m=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var s=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var i=(e,o,t)=>o in e?h(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,a=(e,o)=>{for(var t in o||(o={}))s.call(o,t)&&i(e,t,o[t]);if(r)for(var t of r(o))p.call(o,t)&&i(e,t,o[t]);return e},d=(e,o)=>m(e,l(o));var c=(e,o)=>{var t={};for(var n in e)s.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&r)for(var n of r(e))o.indexOf(n)<0&&p.call(e,n)&&(t[n]=e[n]);return t};const makeShortcode=e=>function(t){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",a({},t))},NodeGraph=makeShortcode(\"NodeGraph\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(t){var n=t,{components:e}=n,o=c(n,[\"components\"]);return mdx(MDXLayout,d(a(a({},layoutProps),o),{components:e,mdxType:\"MDXLayout\"}),mdx(\"p\",null,\"Event based service that allows you to create shipments, prepare them and dispatch them. This service handles the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Shipment\"),\" domain.\"),mdx(\"p\",null,\"This service will also generate Async events for downstream services.\"),mdx(NodeGraph,{mdxType:\"NodeGraph\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}}}},"__N_SSG":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"pageProps":{"services":[{"name":"Basket Service","summary":"CRUD based API to handle Basket interactions for users of the shopping website.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-basket-service"},"tags":[],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"publishes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[]},{"name":"Data Lake","summary":"Our internal datalake used by the data team and business analytics.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[],"subscribes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","producers":["Orders Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}]},"__N_SSG":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","producers":["Orders Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[{"name":"Basket Service","summary":"CRUD based API to handle Basket interactions for users of the shopping website.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-basket-service"},"tags":[],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"publishes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[]},{"name":"Data Lake","summary":"Our internal datalake used by the data team and business analytics.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[],"subscribes":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","producers":["Orders Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"userId":"dboyne"},"__N_SSG":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","producers":["Orders Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been
|
|
1
|
+
{"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.3","summary":"Holds information about what the user added to their shopping cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[{"label":"AsyncAPI Specification","url":"https://studio.asyncapi.com/#schema-lightMeasuredPayload"}],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","producers":["Orders Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","producers":["Orders Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","producers":["Basket Service"],"consumers":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","producers":["Payment Service"],"consumers":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","producers":["Basket Service"],"consumers":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","producers":["Shipping Service"],"consumers":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","producers":["Shipping Service"],"consumers":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[],"userId":"mSmith"},"__N_SSG":true}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,c,a,t,n,i,f,b,d,r,v,u,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-fe1a9e09c7f51e66.js"],"/_error":["static/chunks/pages/_error-5a714c45c50a8db4.js"],"/events":[s,e,c,i,"static/chunks/pages/events-1f39499146c9c75f.js"],"/events/[name]":[s,a,f,b,d,e,c,t,r,v,n,u,k,"static/chunks/pages/events/[name]-89e1edc81aa51fc3.js"],"/events/[name]/logs":[e,"static/chunks/364-9c039ca46569869e.js","static/css/5eeed9cb243ce668.css","static/chunks/pages/events/[name]/logs-707da36de8222a98.js"],"/events/[name]/v/[version]":[s,a,f,b,d,e,c,t,r,v,n,u,k,"static/chunks/pages/events/[name]/v/[version]-d8d4d12f05da9c8a.js"],"/overview":["static/chunks/pages/overview-2f0bfad06c84e437.js"],"/services":[s,e,c,i,"static/chunks/pages/services-f52121c6dc1211aa.js"],"/services/[name]":[s,a,e,c,t,n,"static/chunks/pages/services/[name]-204382bfbc48b1b4.js"],"/users/[id]":[s,c,"static/chunks/pages/users/[id]-d3140bb155f8fb45.js"],sortedPages:["/","/_app","/_error","/events","/events/[name]","/events/[name]/logs","/events/[name]/v/[version]","/overview","/services","/services/[name]","/users/[id]"]}}("static/chunks/176cb4e4-8a0f6f010ef8accb.js","static/chunks/519-7c428c1e49c8e614.js","static/chunks/962-d5070461f6d4a478.js","static/chunks/b744740b-94e91620ba96ccbf.js","static/chunks/280-06401c009983574c.js","static/chunks/651-7a25d8468f22423c.js","static/chunks/274-11c4d093341d7201.js","static/chunks/1df474da-91f6061ee61707c6.js","static/chunks/7f5d3f51-7158fdd5a44cedd5.js","static/chunks/2edb282b-9e1cce5842787609.js","static/chunks/5-f60eecf67567a225.js","static/chunks/620-d80b0351ea428525.js","static/chunks/178-bc36881df28d1bab.js","static/css/7e14b4dede1671ad.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
package/out/_next/static/{_D78gGWWcjFmvj_jqGXW3 → Wp8i1_b29rcfszKFNI7O4}/_middlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{81178:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return R},default:function(){return U},getComponents:function(){return T}});var r=t(52322),a=t(97729),s=t(23816),l=t(61790),i=t(2784),c=t(63548),o=t(86562),d=t(85411);function m(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){m(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var h=function(e){var n=e.language,t=e.name,a=void 0===t?"":t,s=x(e,["language","name"]),l=(0,i.useState)(!1),m=l[0],h=l[1];return(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsx)("button",{type:"button",onClick:function(){(0,d.Z)(s.children),h(!0),setTimeout((function(){return h(!1)}),2e3)},className:"absolute top-2 right-5 text-sm bg-gray-700 text-white rounded-md py-1 px-4 transform transition opacity-0 group-hover:opacity-100",children:m?"Copied":"Copy"}),(0,r.jsx)(o.Z,u({style:c.Z,language:n},s,{wrapLines:!0,className:"max-h-96 overflow-auto",children:s.children.replace(/\\n/g,"\n")})),a&&(0,r.jsx)("span",{className:"-mb-2 block text-xs text-right font-bold",children:a})]})};function f(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var g=function(e){var n=e.title,t=void 0===n?"Examples":n,a=e.description,s=e.examples,l=void 0===s?[]:s,c=e.showLineNumbers,o=l.map((function(e,n){return{name:e.name||"Example ".concat(n+1),content:e.snippet,description:e.description,langugage:e.langugage}})),d=(0,i.useState)(o[0]),m=d[0],u=d[1];return(0,r.jsx)("div",{className:"my-5 examples",children:(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-700 underline",children:t}),a&&(0,r.jsx)("p",{className:"text-md font-medium text-gray-700",children:a}),(0,r.jsxs)("div",{children:[(0,r.jsx)("nav",{className:"-mb-px flex","aria-label":"Tabs",children:o.map((function(e){var n=e.name===m.name;return(0,r.jsxs)("button",{type:"button",onClick:function(){return function(e){u(e)}(e)},className:f(n?"border-green-500 text-green-600 selected":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300","whitespace-nowrap py-4 border-b-2 font-medium text-sm important:no-underline px-8 hover:bg-gray-50 transition"),"aria-current":n?"page":void 0,children:[e.name,(0,r.jsxs)("span",{className:"block text-xs mt-",children:["(",e.langugage,")"]})]},e.name)}))}),(0,r.jsxs)("div",{className:"my-4",children:[(0,r.jsx)(h,{language:m.langugage,showLineNumbers:c,children:m.content}),m.langugage&&(0,r.jsx)("span",{className:"-mb-2 block text-xs text-right font-bold",children:m.name})]})]})]})})},p=t(46892),j=t(62455),v=t(4573),b=t(39097),y=t(70314),N=t(17962),w=t(55008);var O=function(e){var n=e.event,t=e.loadedVersion,a=e.isOldVersion,s=(0,w.aF)().getUserById,l=n.name,i=n.owners,c=n.producers,o=n.consumers,d=n.historicVersions,m=n.externalLinks,u=n.schema,x=(0,y.default)().publicRuntimeConfig,h=(void 0===x?{}:x).basePath,f=void 0===h?"":h;return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),(0,r.jsx)("div",{className:"pt-6 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(N.FMB,{className:"h-5 w-5 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:c.map((function(e){return(0,r.jsx)("li",{className:"inline mr-1",children:(0,r.jsx)(b.default,{href:"/services/".concat(e),children:(0,r.jsxs)("a",{className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]})})},e)}))})]})}),(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(N.FMB,{className:"h-5 w-5 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Consumers"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:o.map((function(e){return(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(b.default,{href:"/services/".concat(e),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]})})},e)}))})]})}),d.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Versions"}),(0,r.jsxs)("ul",{className:"mt-2 leading-8 text-left text-blue-500",children:[(0,r.jsx)("li",{className:"text-sm inline ",children:(0,r.jsx)(b.default,{href:"/events/".concat(l),children:(0,r.jsx)("a",{children:(0,r.jsx)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat("latest"===t?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800"),children:"Latest"})})})}),d.map((function(e){var n=t===e?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800";return(0,r.jsx)("li",{className:"text-sm inline",children:(0,r.jsx)(b.default,{href:"/events/".concat(l,"/v/").concat(e),children:(0,r.jsx)("a",{children:(0,r.jsxs)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat(n),children:["v",e]})})})},e)}))]})]})}),i&&i.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Owners"}),(0,r.jsx)("ul",{className:"mt-4 leading-8 space-y-2",children:i.map((function(e){var n=s(e);return n?(0,r.jsx)("li",{className:"flex justify-start",children:(0,r.jsx)(b.default,{href:"/users/".concat(e),children:(0,r.jsxs)("a",{className:"flex items-center space-x-3",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)("img",{className:"h-5 w-5 rounded-full",src:n.avatarUrl,alt:""})}),(0,r.jsx)("div",{className:"text-sm font-medium text-gray-900",children:n.name})]})})},e):null}))})]})}),(0,r.jsxs)("div",{className:"border-t border-gray-200 py-6 space-y-1",children:[u&&(0,r.jsxs)("a",{href:u?a?"".concat(f,"/schemas/").concat(l,"/").concat(t,"/schema.").concat(u.extension):"".concat(f,"/schemas/").concat(l,"/schema.").concat(u.extension):null,download:"".concat(l,"(").concat(n.version,").").concat(u.extension),className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",children:[(0,r.jsx)(N._8t,{className:"-ml-1 mr-2 h-5 w-5 text-gray-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Download Schema"})]}),d.length>0&&(0,r.jsx)(b.default,{href:"/events/".concat(l,"/logs"),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View Changes"})})}),m.length>0&&m.map((function(e){return(0,r.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,r.jsx)(N.h0n,{className:"-ml-1 mr-2 h-5 w-5 text-teal-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"".concat(e.label)})]},e.url)}))]})]})},E=t(4488),k=t(52428),S=t(57840),V=t(69931),P=t(81669),C=t.n(P);(0,V.fH)();var _=function(e){var n=e.schema,t=e.maxHeight,a=e.renderRootTreeLines,s=void 0!==a&&a,l=e.hideExamples,c=void 0!==l&&l,o=e.defaultExpandedDepth,d=void 0===o?1:o,m=(0,i.useMemo)((function(){return JSON.parse(n)}),[n]);return(0,r.jsx)(S.K,{schema:m,emptyText:"No schema defined",maxHeight:t,defaultExpandedDepth:d,renderRootTreeLines:s,hideExamples:c,className:C().schemaViewer})};function L(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function D(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){L(e,n,t[n])}))}return e}function Z(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var R=!0,T=function(e){var n=e.event,t=e.schema,a=e.examples;return{code:function(e){var n=e.className,t=Z(e,["className"]),a=/language-(\w+)/.exec(n||"");return a?(0,r.jsx)(h,D({language:a[1]},t)):(0,r.jsx)("code",D({className:n},t))},Schema:function(e){var a=e.title,s=void 0===a?"Event Schema":a;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[(0,r.jsx)("h2",{id:"activity-title",className:"text-lg font-medium text-gray-900 underline",children:s}),(0,r.jsx)(h,{language:t.language,showLineNumbers:!1,name:"".concat(n.name," Schema (").concat(t.language,")"),children:t.snippet})]}):null},SchemaViewer:function(e){var n=e.title,a=void 0===n?"Event Schema":n,s=e.renderRootTreeLines,l=void 0!==s&&s,i=e.defaultExpandedDepth,c=void 0===i?1:i,o=e.maxHeight;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:a}),(0,r.jsx)(_,{schema:t.snippet,maxHeight:parseInt(o,10),renderRootTreeLines:l,defaultExpandedDepth:c})]}):null},Admonition:l.Z,EventExamples:function(e){return a.length>0?(0,r.jsx)(g,D({},e,{examples:a,showLineNumbers:!0})):(console.log("You are using the <EventExamples /> component without any examples, please read https://eventcatalog.dev/docs/events/adding-examples for more information"),null)},Mermaid:function(e){var t=e.title,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(v.Z,{source:"event",data:n,rootNodeColor:(0,p.Z)(n.name),charts:a})]})}}};function U(e){var n=e.event,t=e.markdown,l=e.loadedVersion,i=e.notFound,c=(0,w.ZR)().title,o=(0,w.wG)(),d=o.getEditUrl,m=o.hasEditUrl,u=n.name,x=n.summary,h=n.draft,f=n.schema,g=n.examples,p=n.version;if(i)return(0,r.jsx)(E.Z,{type:"event",name:n.name,editUrl:m?d("/events/".concat(u,"/index.md")):""});var v=t.lastModifiedDate,b=[{name:"Events",href:"/events",current:!1},{name:u,href:"/services/".concat(u),current:!0}],y=T({event:n,schema:f,examples:g});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[c," - ",u," v",p]})}),(0,r.jsx)(j.Z,{title:u,editUrl:m?d("/events/".concat(u,"/index.md")):"",subtitle:x,draft:h,lastModifiedDate:v,tags:[{label:"v".concat(p)}],breadCrumbs:(0,r.jsx)(k.Z,{pages:b}),isOldVersion:"latest"!==l,latestVersionUrl:"/events/".concat(u),version:l,sidebar:(0,r.jsx)(O,{event:n,loadedVersion:l,isOldVersion:"latest"!==l}),children:(0,r.jsx)(s.R,D({},t.source,{components:y}))})]})}},81669:function(e){e.exports={schemaViewer:"SchemaViewer_schemaViewer__un45l"}}}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{81178:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return R},default:function(){return U},getComponents:function(){return T}});var r=t(52322),a=t(97729),s=t(23816),l=t(61790),i=t(2784),c=t(63548),o=t(86562),d=t(85411);function m(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){m(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var h=function(e){var n=e.language,t=e.name,a=void 0===t?"":t,s=x(e,["language","name"]),l=(0,i.useState)(!1),m=l[0],h=l[1];return(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsx)("button",{type:"button",onClick:function(){(0,d.Z)(s.children),h(!0),setTimeout((function(){return h(!1)}),2e3)},className:"absolute top-2 right-5 text-sm bg-gray-700 text-white rounded-md py-1 px-4 transform transition opacity-0 group-hover:opacity-100",children:m?"Copied":"Copy"}),(0,r.jsx)(o.Z,u({style:c.Z,language:n},s,{wrapLines:!0,className:"max-h-96 overflow-auto",children:s.children.replace(/\\n/g,"\n")})),a&&(0,r.jsx)("span",{className:"-mb-2 block text-xs text-right font-bold",children:a})]})};function f(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var g=function(e){var n=e.title,t=void 0===n?"Examples":n,a=e.description,s=e.examples,l=void 0===s?[]:s,c=e.showLineNumbers,o=l.map((function(e,n){return{name:e.name||"Example ".concat(n+1),content:e.snippet,description:e.description,langugage:e.langugage}})),d=(0,i.useState)(o[0]),m=d[0],u=d[1];return(0,r.jsx)("div",{className:"my-5 examples",children:(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-700 underline",children:t}),a&&(0,r.jsx)("p",{className:"text-md font-medium text-gray-700",children:a}),(0,r.jsxs)("div",{children:[(0,r.jsx)("nav",{className:"-mb-px flex","aria-label":"Tabs",children:o.map((function(e){var n=e.name===m.name;return(0,r.jsxs)("button",{type:"button",onClick:function(){return function(e){u(e)}(e)},className:f(n?"border-green-500 text-green-600 selected":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300","whitespace-nowrap py-4 border-b-2 font-medium text-sm important:no-underline px-8 hover:bg-gray-50 transition"),"aria-current":n?"page":void 0,children:[e.name,(0,r.jsxs)("span",{className:"block text-xs mt-",children:["(",e.langugage,")"]})]},e.name)}))}),(0,r.jsxs)("div",{className:"my-4",children:[(0,r.jsx)(h,{language:m.langugage,showLineNumbers:c,children:m.content}),m.langugage&&(0,r.jsx)("span",{className:"-mb-2 block text-xs text-right font-bold",children:m.name})]})]})]})})},p=t(46892),j=t(62455),v=t(4573),b=t(39097),y=t(70314),N=t(17962),w=t(55008);var O=function(e){var n=e.event,t=e.loadedVersion,a=e.isOldVersion,s=(0,w.aF)().getUserById,l=n.name,i=n.owners,c=n.producers,o=n.consumers,d=n.historicVersions,m=n.externalLinks,u=n.schema,x=(0,y.default)().publicRuntimeConfig,h=(void 0===x?{}:x).basePath,f=void 0===h?"":h;return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),(0,r.jsx)("div",{className:"pt-6 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(N.FMB,{className:"h-5 w-5 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:c.map((function(e){return(0,r.jsx)("li",{className:"inline mr-1",children:(0,r.jsx)(b.default,{href:"/services/".concat(e),children:(0,r.jsxs)("a",{className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]})})},e)}))})]})}),(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(N.FMB,{className:"h-5 w-5 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Consumers"]}),(0,r.jsx)("ul",{className:"mt-2 leading-8",children:o.map((function(e){return(0,r.jsx)("li",{className:"inline",children:(0,r.jsx)(b.default,{href:"/services/".concat(e),children:(0,r.jsxs)("a",{href:"#",className:"relative inline-flex items-center rounded-full border border-gray-300 px-3 py-0.5",children:[(0,r.jsx)("div",{className:"absolute flex-shrink-0 flex items-center justify-center",children:(0,r.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-indigo-500 animate animate-pulse","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3.5 text-sm font-medium text-gray-900",children:e})]})})},e)}))})]})}),d.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Versions"}),(0,r.jsxs)("ul",{className:"mt-2 leading-8 text-left text-blue-500",children:[(0,r.jsx)("li",{className:"text-sm inline ",children:(0,r.jsx)(b.default,{href:"/events/".concat(l),children:(0,r.jsx)("a",{children:(0,r.jsx)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat("latest"===t?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800"),children:"Latest"})})})}),d.map((function(e){var n=t===e?"bg-blue-400 text-white shadow-md font-bold underline":"bg-blue-100 text-blue-800";return(0,r.jsx)("li",{className:"text-sm inline",children:(0,r.jsx)(b.default,{href:"/events/".concat(l,"/v/").concat(e),children:(0,r.jsx)("a",{children:(0,r.jsxs)("span",{className:"inline-flex mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative ".concat(n),children:["v",e]})})})},e)}))]})]})}),i&&i.length>0&&(0,r.jsx)("div",{className:"border-t border-gray-200 py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-sm font-medium text-gray-500",children:"Event Owners"}),(0,r.jsx)("ul",{className:"mt-4 leading-8 space-y-2",children:i.map((function(e){var n=s(e);return n?(0,r.jsx)("li",{className:"flex justify-start",children:(0,r.jsx)(b.default,{href:"/users/".concat(e),children:(0,r.jsxs)("a",{className:"flex items-center space-x-3",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)("img",{className:"h-5 w-5 rounded-full",src:n.avatarUrl,alt:""})}),(0,r.jsx)("div",{className:"text-sm font-medium text-gray-900",children:n.name})]})})},e):null}))})]})}),(0,r.jsxs)("div",{className:"border-t border-gray-200 py-6 space-y-1",children:[u&&(0,r.jsxs)("a",{href:u?a?"".concat(f,"/schemas/").concat(l,"/").concat(t,"/schema.").concat(u.extension):"".concat(f,"/schemas/").concat(l,"/schema.").concat(u.extension):null,download:"".concat(l,"(").concat(n.version,").").concat(u.extension),className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-200 bg-gray-800 hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-900",children:[(0,r.jsx)(N._8t,{className:"-ml-1 mr-2 h-5 w-5 text-gray-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Download Schema"})]}),d.length>0&&(0,r.jsx)(b.default,{href:"/events/".concat(l,"/logs"),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View Changes"})})}),m.length>0&&m.map((function(e){return(0,r.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,r.jsx)(N.h0n,{className:"-ml-1 mr-2 h-5 w-5 text-teal-200","aria-hidden":"true"}),(0,r.jsx)("span",{children:"".concat(e.label)})]},e.url)}))]})]})},E=t(4488),k=t(52428),S=t(57840),V=t(69931),P=t(81669),Z=t.n(P);(0,V.fH)();var C=function(e){var n=e.schema,t=e.maxHeight,a=e.renderRootTreeLines,s=void 0!==a&&a,l=e.hideExamples,c=void 0!==l&&l,o=e.defaultExpandedDepth,d=void 0===o?1:o,m=(0,i.useMemo)((function(){return JSON.parse(n)}),[n]);return(0,r.jsx)(S.K,{schema:m,emptyText:"No schema defined",maxHeight:t,defaultExpandedDepth:d,renderRootTreeLines:s,hideExamples:c,className:Z().schemaViewer})},D=t(81262);function _(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){_(e,n,t[n])}))}return e}function H(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)t=s[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var R=!0,T=function(e){var n=e.event,t=e.schema,a=e.examples;return{code:function(e){var n=e.className,t=H(e,["className"]),a=/language-(\w+)/.exec(n||"");return a?(0,r.jsx)(h,L({language:a[1]},t)):(0,r.jsx)("code",L({className:n},t))},Schema:function(e){var a=e.title,s=void 0===a?"Event Schema":a;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[(0,r.jsx)("h2",{id:"activity-title",className:"text-lg font-medium text-gray-900 underline",children:s}),(0,r.jsx)(h,{language:t.language,showLineNumbers:!1,name:"".concat(n.name," Schema (").concat(t.language,")"),children:t.snippet})]}):null},SchemaViewer:function(e){var n=e.title,a=void 0===n?"Event Schema":n,s=e.renderRootTreeLines,l=void 0!==s&&s,i=e.defaultExpandedDepth,c=void 0===i?1:i,o=e.maxHeight;return t?(0,r.jsxs)("section",{className:"mt-8 xl:mt-10",children:[(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:a}),(0,r.jsx)(C,{schema:t.snippet,maxHeight:parseInt(o,10),renderRootTreeLines:l,defaultExpandedDepth:c})]}):null},Admonition:l.Z,EventExamples:function(e){return a.length>0?(0,r.jsx)(g,L({},e,{examples:a,showLineNumbers:!0})):(console.log("You are using the <EventExamples /> component without any examples, please read https://eventcatalog.dev/docs/events/adding-examples for more information"),null)},Mermaid:function(e){var t=e.title,a=e.charts;return(0,r.jsxs)("div",{className:"mx-auto w-full py-10",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(v.Z,{source:"event",data:n,rootNodeColor:(0,p.Z)(n.name),charts:a})]})},NodeGraph:function(e){var t=e.title,a=e.maxHeight,s=e.maxZoom,l=e.fitView,i=e.zoomOnScroll,c=e.isAnimated,o=e.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(D.Z,{source:"event",data:n,rootNodeColor:(0,p.Z)(n.name),maxHeight:a,maxZoom:s,fitView:l,zoomOnScroll:i,isAnimated:c,isDraggable:o})]})}}};function U(e){var n=e.event,t=e.markdown,l=e.loadedVersion,i=e.notFound,c=(0,w.ZR)().title,o=(0,w.wG)(),d=o.getEditUrl,m=o.hasEditUrl,u=n.name,x=n.summary,h=n.draft,f=n.schema,g=n.examples,p=n.version;if(i)return(0,r.jsx)(E.Z,{type:"event",name:n.name,editUrl:m?d("/events/".concat(u,"/index.md")):""});var v=t.lastModifiedDate,b=[{name:"Events",href:"/events",current:!1},{name:u,href:"/services/".concat(u),current:!0}],y=T({event:n,schema:f,examples:g});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[c," - ",u," v",p]})}),(0,r.jsx)(j.Z,{title:u,editUrl:m?d("/events/".concat(u,"/index.md")):"",subtitle:x,draft:h,lastModifiedDate:v,tags:[{label:"v".concat(p)}],breadCrumbs:(0,r.jsx)(k.Z,{pages:b}),isOldVersion:"latest"!==l,latestVersionUrl:"/events/".concat(u),version:l,sidebar:(0,r.jsx)(O,{event:n,loadedVersion:l,isOldVersion:"latest"!==l}),children:(0,r.jsx)(s.R,L({},t.source,{components:y}))})]})}},81669:function(e){e.exports={schemaViewer:"SchemaViewer_schemaViewer__un45l"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[280],{30876:function(n,t,e){"use strict";e.r(t),e.d(t,{MDXContext:function(){return f},MDXProvider:function(){return p},mdx:function(){return l},useMDXComponents:function(){return d},withMDXComponents:function(){return s}});var r=e(2784);function o(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function i(){return(i=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}).apply(this,arguments)}function u(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?u(Object(e),!0).forEach((function(t){o(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):u(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function c(n,t){if(null==n)return{};var e,r,o=function(n,t){if(null==n)return{};var e,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)e=i[r],t.indexOf(e)>=0||(o[e]=n[e]);return o}(n,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(r=0;r<i.length;r++)e=i[r],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(n,e)&&(o[e]=n[e])}return o}var f=r.createContext({}),s=function(n){return function(t){var e=d(t.components);return r.createElement(n,i({},t,{components:e}))}},d=function(n){var t=r.useContext(f),e=t;return n&&(e="function"===typeof n?n(t):a(a({},t),n)),e},p=function(n){var t=d(n.components);return r.createElement(f.Provider,{value:t},n.children)},h={inlineCode:"code",wrapper:function(n){var t=n.children;return r.createElement(r.Fragment,{},t)}},v=r.forwardRef((function(n,t){var e=n.components,o=n.mdxType,i=n.originalType,u=n.parentName,f=c(n,["components","mdxType","originalType","parentName"]),s=d(e),p=o,v=s["".concat(u,".").concat(p)]||s[p]||h[p]||i;return e?r.createElement(v,a(a({ref:t},f),{},{components:e})):r.createElement(v,a({ref:t},f))}));function l(n,t){var e=arguments,o=t&&t.mdxType;if("string"===typeof n||o){var i=e.length,u=new Array(i);u[0]=v;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=n,a.mdxType="string"===typeof n?n:o,u[1]=a;for(var f=2;f<i;f++)u[f]=e[f];return r.createElement.apply(null,u)}return r.createElement.apply(null,e)}v.displayName="MDXCreateElement"},46506:function(n,t,e){n.exports={graphlib:e(71310),layout:e(42529),debug:e(5512),util:{time:e(8783).time,notime:e(8783).notime},version:e(57589)}},85247:function(n,t,e){"use strict";var r=e(43294),o=e(38757);n.exports={run:function(n){var t="greedy"===n.graph().acyclicer?o(n,function(n){return function(t){return n.edge(t).weight}}(n)):function(n){var t=[],e={},o={};function i(u){r.has(o,u)||(o[u]=!0,e[u]=!0,r.forEach(n.outEdges(u),(function(n){r.has(e,n.w)?t.push(n):i(n.w)})),delete e[u])}return r.forEach(n.nodes(),i),t}(n);r.forEach(t,(function(t){var e=n.edge(t);n.removeEdge(t),e.forwardName=t.name,e.reversed=!0,n.setEdge(t.w,t.v,e,r.uniqueId("rev"))}))},undo:function(n){r.forEach(n.edges(),(function(t){var e=n.edge(t);if(e.reversed){n.removeEdge(t);var r=e.forwardName;delete e.reversed,delete e.forwardName,n.setEdge(t.w,t.v,e,r)}}))}}},49654:function(n,t,e){var r=e(43294),o=e(8783);function i(n,t,e,r,i,u){var a={width:0,height:0,rank:u,borderType:t},c=i[t][u-1],f=o.addDummyNode(n,"border",a,e);i[t][u]=f,n.setParent(f,r),c&&n.setEdge(c,f,{weight:1})}n.exports=function(n){r.forEach(n.children(),(function t(e){var o=n.children(e),u=n.node(e);if(o.length&&r.forEach(o,t),r.has(u,"minRank")){u.borderLeft=[],u.borderRight=[];for(var a=u.minRank,c=u.maxRank+1;a<c;++a)i(n,"borderLeft","_bl",e,u,a),i(n,"borderRight","_br",e,u,a)}}))}},25128:function(n,t,e){"use strict";var r=e(43294);function o(n){r.forEach(n.nodes(),(function(t){i(n.node(t))})),r.forEach(n.edges(),(function(t){i(n.edge(t))}))}function i(n){var t=n.width;n.width=n.height,n.height=t}function u(n){n.y=-n.y}function a(n){var t=n.x;n.x=n.y,n.y=t}n.exports={adjust:function(n){var t=n.graph().rankdir.toLowerCase();"lr"!==t&&"rl"!==t||o(n)},undo:function(n){var t=n.graph().rankdir.toLowerCase();"bt"!==t&&"rl"!==t||function(n){r.forEach(n.nodes(),(function(t){u(n.node(t))})),r.forEach(n.edges(),(function(t){var e=n.edge(t);r.forEach(e.points,u),r.has(e,"y")&&u(e)}))}(n);"lr"!==t&&"rl"!==t||(!function(n){r.forEach(n.nodes(),(function(t){a(n.node(t))})),r.forEach(n.edges(),(function(t){var e=n.edge(t);r.forEach(e.points,a),r.has(e,"x")&&a(e)}))}(n),o(n))}}},65199:function(n){function t(){var n={};n._next=n._prev=n,this._sentinel=n}function e(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function r(n,t){if("_next"!==n&&"_prev"!==n)return t}n.exports=t,t.prototype.dequeue=function(){var n=this._sentinel,t=n._prev;if(t!==n)return e(t),t},t.prototype.enqueue=function(n){var t=this._sentinel;n._prev&&n._next&&e(n),n._next=t._next,t._next._prev=n,t._next=n,n._prev=t},t.prototype.toString=function(){for(var n=[],t=this._sentinel,e=t._prev;e!==t;)n.push(JSON.stringify(e,r)),e=e._prev;return"["+n.join(", ")+"]"}},5512:function(n,t,e){var r=e(43294),o=e(8783),i=e(71310).Graph;n.exports={debugOrdering:function(n){var t=o.buildLayerMatrix(n),e=new i({compound:!0,multigraph:!0}).setGraph({});return r.forEach(n.nodes(),(function(t){e.setNode(t,{label:t}),e.setParent(t,"layer"+n.node(t).rank)})),r.forEach(n.edges(),(function(n){e.setEdge(n.v,n.w,{},n.name)})),r.forEach(t,(function(n,t){var o="layer"+t;e.setNode(o,{rank:"same"}),r.reduce(n,(function(n,t){return e.setEdge(n,t,{style:"invis"}),t}))})),e}}},71310:function(n,t,e){var r;try{r=e(87377)}catch(o){}r||(r=window.graphlib),n.exports=r},38757:function(n,t,e){var r=e(43294),o=e(71310).Graph,i=e(65199);n.exports=function(n,t){if(n.nodeCount()<=1)return[];var e=function(n,t){var e=new o,u=0,a=0;r.forEach(n.nodes(),(function(n){e.setNode(n,{v:n,in:0,out:0})})),r.forEach(n.edges(),(function(n){var r=e.edge(n.v,n.w)||0,o=t(n),i=r+o;e.setEdge(n.v,n.w,i),a=Math.max(a,e.node(n.v).out+=o),u=Math.max(u,e.node(n.w).in+=o)}));var f=r.range(a+u+3).map((function(){return new i})),s=u+1;return r.forEach(e.nodes(),(function(n){c(f,s,e.node(n))})),{graph:e,buckets:f,zeroIdx:s}}(n,t||u),f=function(n,t,e){var r,o=[],i=t[t.length-1],u=t[0];for(;n.nodeCount();){for(;r=u.dequeue();)a(n,t,e,r);for(;r=i.dequeue();)a(n,t,e,r);if(n.nodeCount())for(var c=t.length-2;c>0;--c)if(r=t[c].dequeue()){o=o.concat(a(n,t,e,r,!0));break}}return o}(e.graph,e.buckets,e.zeroIdx);return r.flatten(r.map(f,(function(t){return n.outEdges(t.v,t.w)})),!0)};var u=r.constant(1);function a(n,t,e,o,i){var u=i?[]:void 0;return r.forEach(n.inEdges(o.v),(function(r){var o=n.edge(r),a=n.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,c(t,e,a)})),r.forEach(n.outEdges(o.v),(function(r){var o=n.edge(r),i=r.w,u=n.node(i);u.in-=o,c(t,e,u)})),n.removeNode(o.v),u}function c(n,t,e){e.out?e.in?n[e.out-e.in+t].enqueue(e):n[n.length-1].enqueue(e):n[0].enqueue(e)}},42529:function(n,t,e){"use strict";var r=e(43294),o=e(85247),i=e(20450),u=e(64618),a=e(8783).normalizeRanks,c=e(77908),f=e(8783).removeEmptyRanks,s=e(96820),d=e(49654),p=e(25128),h=e(73641),v=e(65784),l=e(8783),g=e(71310).Graph;n.exports=function(n,t){var e=t&&t.debugTiming?l.time:l.notime;e("layout",(function(){var t=e(" buildLayoutGraph",(function(){return function(n){var t=new g({multigraph:!0,compound:!0}),e=O(n.graph());return t.setGraph(r.merge({},b,k(e,y),r.pick(e,x))),r.forEach(n.nodes(),(function(e){var o=O(n.node(e));t.setNode(e,r.defaults(k(o,m),w)),t.setParent(e,n.parent(e))})),r.forEach(n.edges(),(function(e){var o=O(n.edge(e));t.setEdge(e,r.merge({},E,k(o,_),r.pick(o,j)))})),t}(n)}));e(" runLayout",(function(){!function(n,t){t(" makeSpaceForEdgeLabels",(function(){!function(n){var t=n.graph();t.ranksep/=2,r.forEach(n.edges(),(function(e){var r=n.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(n)})),t(" removeSelfEdges",(function(){!function(n){r.forEach(n.edges(),(function(t){if(t.v===t.w){var e=n.node(t.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:t,label:n.edge(t)}),n.removeEdge(t)}}))}(n)})),t(" acyclic",(function(){o.run(n)})),t(" nestingGraph.run",(function(){s.run(n)})),t(" rank",(function(){u(l.asNonCompoundGraph(n))})),t(" injectEdgeLabelProxies",(function(){!function(n){r.forEach(n.edges(),(function(t){var e=n.edge(t);if(e.width&&e.height){var r=n.node(t.v),o={rank:(n.node(t.w).rank-r.rank)/2+r.rank,e:t};l.addDummyNode(n,"edge-proxy",o,"_ep")}}))}(n)})),t(" removeEmptyRanks",(function(){f(n)})),t(" nestingGraph.cleanup",(function(){s.cleanup(n)})),t(" normalizeRanks",(function(){a(n)})),t(" assignRankMinMax",(function(){!function(n){var t=0;r.forEach(n.nodes(),(function(e){var o=n.node(e);o.borderTop&&(o.minRank=n.node(o.borderTop).rank,o.maxRank=n.node(o.borderBottom).rank,t=r.max(t,o.maxRank))})),n.graph().maxRank=t}(n)})),t(" removeEdgeLabelProxies",(function(){!function(n){r.forEach(n.nodes(),(function(t){var e=n.node(t);"edge-proxy"===e.dummy&&(n.edge(e.e).labelRank=e.rank,n.removeNode(t))}))}(n)})),t(" normalize.run",(function(){i.run(n)})),t(" parentDummyChains",(function(){c(n)})),t(" addBorderSegments",(function(){d(n)})),t(" order",(function(){h(n)})),t(" insertSelfEdges",(function(){!function(n){var t=l.buildLayerMatrix(n);r.forEach(t,(function(t){var e=0;r.forEach(t,(function(t,o){var i=n.node(t);i.order=o+e,r.forEach(i.selfEdges,(function(t){l.addDummyNode(n,"selfedge",{width:t.label.width,height:t.label.height,rank:i.rank,order:o+ ++e,e:t.e,label:t.label},"_se")})),delete i.selfEdges}))}))}(n)})),t(" adjustCoordinateSystem",(function(){p.adjust(n)})),t(" position",(function(){v(n)})),t(" positionSelfEdges",(function(){!function(n){r.forEach(n.nodes(),(function(t){var e=n.node(t);if("selfedge"===e.dummy){var r=n.node(e.e.v),o=r.x+r.width/2,i=r.y,u=e.x-o,a=r.height/2;n.setEdge(e.e,e.label),n.removeNode(t),e.label.points=[{x:o+2*u/3,y:i-a},{x:o+5*u/6,y:i-a},{x:o+u,y:i},{x:o+5*u/6,y:i+a},{x:o+2*u/3,y:i+a}],e.label.x=e.x,e.label.y=e.y}}))}(n)})),t(" removeBorderNodes",(function(){!function(n){r.forEach(n.nodes(),(function(t){if(n.children(t).length){var e=n.node(t),o=n.node(e.borderTop),i=n.node(e.borderBottom),u=n.node(r.last(e.borderLeft)),a=n.node(r.last(e.borderRight));e.width=Math.abs(a.x-u.x),e.height=Math.abs(i.y-o.y),e.x=u.x+e.width/2,e.y=o.y+e.height/2}})),r.forEach(n.nodes(),(function(t){"border"===n.node(t).dummy&&n.removeNode(t)}))}(n)})),t(" normalize.undo",(function(){i.undo(n)})),t(" fixupEdgeLabelCoords",(function(){!function(n){r.forEach(n.edges(),(function(t){var e=n.edge(t);if(r.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset}}))}(n)})),t(" undoCoordinateSystem",(function(){p.undo(n)})),t(" translateGraph",(function(){!function(n){var t=Number.POSITIVE_INFINITY,e=0,o=Number.POSITIVE_INFINITY,i=0,u=n.graph(),a=u.marginx||0,c=u.marginy||0;function f(n){var r=n.x,u=n.y,a=n.width,c=n.height;t=Math.min(t,r-a/2),e=Math.max(e,r+a/2),o=Math.min(o,u-c/2),i=Math.max(i,u+c/2)}r.forEach(n.nodes(),(function(t){f(n.node(t))})),r.forEach(n.edges(),(function(t){var e=n.edge(t);r.has(e,"x")&&f(e)})),t-=a,o-=c,r.forEach(n.nodes(),(function(e){var r=n.node(e);r.x-=t,r.y-=o})),r.forEach(n.edges(),(function(e){var i=n.edge(e);r.forEach(i.points,(function(n){n.x-=t,n.y-=o})),r.has(i,"x")&&(i.x-=t),r.has(i,"y")&&(i.y-=o)})),u.width=e-t+a,u.height=i-o+c}(n)})),t(" assignNodeIntersects",(function(){!function(n){r.forEach(n.edges(),(function(t){var e,r,o=n.edge(t),i=n.node(t.v),u=n.node(t.w);o.points?(e=o.points[0],r=o.points[o.points.length-1]):(o.points=[],e=u,r=i),o.points.unshift(l.intersectRect(i,e)),o.points.push(l.intersectRect(u,r))}))}(n)})),t(" reversePoints",(function(){!function(n){r.forEach(n.edges(),(function(t){var e=n.edge(t);e.reversed&&e.points.reverse()}))}(n)})),t(" acyclic.undo",(function(){o.undo(n)}))}(t,e)})),e(" updateInputGraph",(function(){!function(n,t){r.forEach(n.nodes(),(function(e){var r=n.node(e),o=t.node(e);r&&(r.x=o.x,r.y=o.y,t.children(e).length&&(r.width=o.width,r.height=o.height))})),r.forEach(n.edges(),(function(e){var o=n.edge(e),i=t.edge(e);o.points=i.points,r.has(i,"x")&&(o.x=i.x,o.y=i.y)})),n.graph().width=t.graph().width,n.graph().height=t.graph().height}(n,t)}))}))};var y=["nodesep","edgesep","ranksep","marginx","marginy"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},x=["acyclicer","ranker","rankdir","align"],m=["width","height"],w={width:0,height:0},_=["minlen","weight","width","height","labeloffset"],E={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},j=["labelpos"];function k(n,t){return r.mapValues(r.pick(n,t),Number)}function O(n){var t={};return r.forEach(n,(function(n,e){t[e.toLowerCase()]=n})),t}},43294:function(n,t,e){var r;try{r={cloneDeep:e(9850),constant:e(86874),defaults:e(84573),each:e(79421),filter:e(90882),find:e(55281),flatten:e(35676),forEach:e(59756),forIn:e(20792),has:e(93352),isUndefined:e(84336),last:e(56974),map:e(16760),mapValues:e(34519),max:e(71644),merge:e(98537),min:e(65680),minBy:e(10937),now:e(61100),pick:e(13888),range:e(2689),reduce:e(58215),sortBy:e(829),uniqueId:e(74930),values:e(98346),zipObject:e(46150)}}catch(o){}r||(r=window._),n.exports=r},96820:function(n,t,e){var r=e(43294),o=e(8783);function i(n,t,e,u,a,c,f){var s=n.children(f);if(s.length){var d=o.addBorderNode(n,"_bt"),p=o.addBorderNode(n,"_bb"),h=n.node(f);n.setParent(d,f),h.borderTop=d,n.setParent(p,f),h.borderBottom=p,r.forEach(s,(function(r){i(n,t,e,u,a,c,r);var o=n.node(r),s=o.borderTop?o.borderTop:r,h=o.borderBottom?o.borderBottom:r,v=o.borderTop?u:2*u,l=s!==h?1:a-c[f]+1;n.setEdge(d,s,{weight:v,minlen:l,nestingEdge:!0}),n.setEdge(h,p,{weight:v,minlen:l,nestingEdge:!0})})),n.parent(f)||n.setEdge(t,d,{weight:0,minlen:a+c[f]})}else f!==t&&n.setEdge(t,f,{weight:0,minlen:e})}n.exports={run:function(n){var t=o.addDummyNode(n,"root",{},"_root"),e=function(n){var t={};function e(o,i){var u=n.children(o);u&&u.length&&r.forEach(u,(function(n){e(n,i+1)})),t[o]=i}return r.forEach(n.children(),(function(n){e(n,1)})),t}(n),u=r.max(r.values(e))-1,a=2*u+1;n.graph().nestingRoot=t,r.forEach(n.edges(),(function(t){n.edge(t).minlen*=a}));var c=function(n){return r.reduce(n.edges(),(function(t,e){return t+n.edge(e).weight}),0)}(n)+1;r.forEach(n.children(),(function(r){i(n,t,a,c,u,e,r)})),n.graph().nodeRankFactor=a},cleanup:function(n){var t=n.graph();n.removeNode(t.nestingRoot),delete t.nestingRoot,r.forEach(n.edges(),(function(t){n.edge(t).nestingEdge&&n.removeEdge(t)}))}}},20450:function(n,t,e){"use strict";var r=e(43294),o=e(8783);n.exports={run:function(n){n.graph().dummyChains=[],r.forEach(n.edges(),(function(t){!function(n,t){var e,r,i,u=t.v,a=n.node(u).rank,c=t.w,f=n.node(c).rank,s=t.name,d=n.edge(t),p=d.labelRank;if(f===a+1)return;for(n.removeEdge(t),i=0,++a;a<f;++i,++a)d.points=[],r={width:0,height:0,edgeLabel:d,edgeObj:t,rank:a},e=o.addDummyNode(n,"edge",r,"_d"),a===p&&(r.width=d.width,r.height=d.height,r.dummy="edge-label",r.labelpos=d.labelpos),n.setEdge(u,e,{weight:d.weight},s),0===i&&n.graph().dummyChains.push(e),u=e;n.setEdge(u,c,{weight:d.weight},s)}(n,t)}))},undo:function(n){r.forEach(n.graph().dummyChains,(function(t){var e,r=n.node(t),o=r.edgeLabel;for(n.setEdge(r.edgeObj,o);r.dummy;)e=n.successors(t)[0],n.removeNode(t),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),t=e,r=n.node(t)}))}}},47897:function(n,t,e){var r=e(43294);n.exports=function(n,t,e){var o,i={};r.forEach(e,(function(e){for(var r,u,a=n.parent(e);a;){if((r=n.parent(a))?(u=i[r],i[r]=a):(u=o,o=a),u&&u!==a)return void t.setEdge(u,a);a=r}}))}},29533:function(n,t,e){var r=e(43294);n.exports=function(n,t){return r.map(t,(function(t){var e=n.inEdges(t);if(e.length){var o=r.reduce(e,(function(t,e){var r=n.edge(e),o=n.node(e.v);return{sum:t.sum+r.weight*o.order,weight:t.weight+r.weight}}),{sum:0,weight:0});return{v:t,barycenter:o.sum/o.weight,weight:o.weight}}return{v:t}}))}},64622:function(n,t,e){var r=e(43294),o=e(71310).Graph;n.exports=function(n,t,e){var i=function(n){var t;for(;n.hasNode(t=r.uniqueId("_root")););return t}(n),u=new o({compound:!0}).setGraph({root:i}).setDefaultNodeLabel((function(t){return n.node(t)}));return r.forEach(n.nodes(),(function(o){var a=n.node(o),c=n.parent(o);(a.rank===t||a.minRank<=t&&t<=a.maxRank)&&(u.setNode(o),u.setParent(o,c||i),r.forEach(n[e](o),(function(t){var e=t.v===o?t.w:t.v,i=u.edge(e,o),a=r.isUndefined(i)?0:i.weight;u.setEdge(e,o,{weight:n.edge(t).weight+a})})),r.has(a,"minRank")&&u.setNode(o,{borderLeft:a.borderLeft[t],borderRight:a.borderRight[t]}))})),u}},6254:function(n,t,e){"use strict";var r=e(43294);function o(n,t,e){for(var o=r.zipObject(e,r.map(e,(function(n,t){return t}))),i=r.flatten(r.map(t,(function(t){return r.sortBy(r.map(n.outEdges(t),(function(t){return{pos:o[t.w],weight:n.edge(t).weight}})),"pos")})),!0),u=1;u<e.length;)u<<=1;var a=2*u-1;u-=1;var c=r.map(new Array(a),(function(){return 0})),f=0;return r.forEach(i.forEach((function(n){var t=n.pos+u;c[t]+=n.weight;for(var e=0;t>0;)t%2&&(e+=c[t+1]),c[t=t-1>>1]+=n.weight;f+=n.weight*e}))),f}n.exports=function(n,t){for(var e=0,r=1;r<t.length;++r)e+=o(n,t[r-1],t[r]);return e}},73641:function(n,t,e){"use strict";var r=e(43294),o=e(65036),i=e(6254),u=e(83956),a=e(64622),c=e(47897),f=e(71310).Graph,s=e(8783);function d(n,t,e){return r.map(t,(function(t){return a(n,t,e)}))}function p(n,t){var e=new f;r.forEach(n,(function(n){var o=n.graph().root,i=u(n,o,e,t);r.forEach(i.vs,(function(t,e){n.node(t).order=e})),c(n,e,i.vs)}))}function h(n,t){r.forEach(t,(function(t){r.forEach(t,(function(t,e){n.node(t).order=e}))}))}n.exports=function(n){var t=s.maxRank(n),e=d(n,r.range(1,t+1),"inEdges"),u=d(n,r.range(t-1,-1,-1),"outEdges"),a=o(n);h(n,a);for(var c,f=Number.POSITIVE_INFINITY,v=0,l=0;l<4;++v,++l){p(v%2?e:u,v%4>=2),a=s.buildLayerMatrix(n);var g=i(n,a);g<f&&(l=0,c=r.cloneDeep(a),f=g)}h(n,c)}},65036:function(n,t,e){"use strict";var r=e(43294);n.exports=function(n){var t={},e=r.filter(n.nodes(),(function(t){return!n.children(t).length})),o=r.max(r.map(e,(function(t){return n.node(t).rank}))),i=r.map(r.range(o+1),(function(){return[]}));var u=r.sortBy(e,(function(t){return n.node(t).rank}));return r.forEach(u,(function e(o){if(r.has(t,o))return;t[o]=!0;var u=n.node(o);i[u.rank].push(o),r.forEach(n.successors(o),e)})),i}},39953:function(n,t,e){"use strict";var r=e(43294);n.exports=function(n,t){var e={};return r.forEach(n,(function(n,t){var o=e[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:t};r.isUndefined(n.barycenter)||(o.barycenter=n.barycenter,o.weight=n.weight)})),r.forEach(t.edges(),(function(n){var t=e[n.v],o=e[n.w];r.isUndefined(t)||r.isUndefined(o)||(o.indegree++,t.out.push(e[n.w]))})),function(n){var t=[];function e(n){return function(t){t.merged||(r.isUndefined(t.barycenter)||r.isUndefined(n.barycenter)||t.barycenter>=n.barycenter)&&function(n,t){var e=0,r=0;n.weight&&(e+=n.barycenter*n.weight,r+=n.weight);t.weight&&(e+=t.barycenter*t.weight,r+=t.weight);n.vs=t.vs.concat(n.vs),n.barycenter=e/r,n.weight=r,n.i=Math.min(t.i,n.i),t.merged=!0}(n,t)}}function o(t){return function(e){e.in.push(t),0===--e.indegree&&n.push(e)}}for(;n.length;){var i=n.pop();t.push(i),r.forEach(i.in.reverse(),e(i)),r.forEach(i.out,o(i))}return r.map(r.filter(t,(function(n){return!n.merged})),(function(n){return r.pick(n,["vs","i","barycenter","weight"])}))}(r.filter(e,(function(n){return!n.indegree})))}},83956:function(n,t,e){var r=e(43294),o=e(29533),i=e(39953),u=e(11957);n.exports=function n(t,e,a,c){var f=t.children(e),s=t.node(e),d=s?s.borderLeft:void 0,p=s?s.borderRight:void 0,h={};d&&(f=r.filter(f,(function(n){return n!==d&&n!==p})));var v=o(t,f);r.forEach(v,(function(e){if(t.children(e.v).length){var o=n(t,e.v,a,c);h[e.v]=o,r.has(o,"barycenter")&&(i=e,u=o,r.isUndefined(i.barycenter)?(i.barycenter=u.barycenter,i.weight=u.weight):(i.barycenter=(i.barycenter*i.weight+u.barycenter*u.weight)/(i.weight+u.weight),i.weight+=u.weight))}var i,u}));var l=i(v,a);!function(n,t){r.forEach(n,(function(n){n.vs=r.flatten(n.vs.map((function(n){return t[n]?t[n].vs:n})),!0)}))}(l,h);var g=u(l,c);if(d&&(g.vs=r.flatten([d,g.vs,p],!0),t.predecessors(d).length)){var y=t.node(t.predecessors(d)[0]),b=t.node(t.predecessors(p)[0]);r.has(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+y.order+b.order)/(g.weight+2),g.weight+=2}return g}},11957:function(n,t,e){var r=e(43294),o=e(8783);function i(n,t,e){for(var o;t.length&&(o=r.last(t)).i<=e;)t.pop(),n.push(o.vs),e++;return e}n.exports=function(n,t){var e=o.partition(n,(function(n){return r.has(n,"barycenter")})),u=e.lhs,a=r.sortBy(e.rhs,(function(n){return-n.i})),c=[],f=0,s=0,d=0;u.sort((p=!!t,function(n,t){return n.barycenter<t.barycenter?-1:n.barycenter>t.barycenter?1:p?t.i-n.i:n.i-t.i})),d=i(c,a,d),r.forEach(u,(function(n){d+=n.vs.length,c.push(n.vs),f+=n.barycenter*n.weight,s+=n.weight,d=i(c,a,d)}));var p;var h={vs:r.flatten(c,!0)};s&&(h.barycenter=f/s,h.weight=s);return h}},77908:function(n,t,e){var r=e(43294);n.exports=function(n){var t=function(n){var t={},e=0;function o(i){var u=e;r.forEach(n.children(i),o),t[i]={low:u,lim:e++}}return r.forEach(n.children(),o),t}(n);r.forEach(n.graph().dummyChains,(function(e){for(var r=n.node(e),o=r.edgeObj,i=function(n,t,e,r){var o,i,u=[],a=[],c=Math.min(t[e].low,t[r].low),f=Math.max(t[e].lim,t[r].lim);o=e;do{o=n.parent(o),u.push(o)}while(o&&(t[o].low>c||f>t[o].lim));i=o,o=r;for(;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,t,o.v,o.w),u=i.path,a=i.lca,c=0,f=u[c],s=!0;e!==o.w;){if(r=n.node(e),s){for(;(f=u[c])!==a&&n.node(f).maxRank<r.rank;)c++;f===a&&(s=!1)}if(!s){for(;c<u.length-1&&n.node(f=u[c+1]).minRank<=r.rank;)c++;f=u[c]}n.setParent(e,f),e=n.successors(e)[0]}}))}},91753:function(n,t,e){"use strict";var r=e(43294),o=e(71310).Graph,i=e(8783);function u(n,t){var e={};return r.reduce(t,(function(t,o){var i=0,u=0,a=t.length,f=r.last(o);return r.forEach(o,(function(t,s){var d=function(n,t){if(n.node(t).dummy)return r.find(n.predecessors(t),(function(t){return n.node(t).dummy}))}(n,t),p=d?n.node(d).order:a;(d||t===f)&&(r.forEach(o.slice(u,s+1),(function(t){r.forEach(n.predecessors(t),(function(r){var o=n.node(r),u=o.order;!(u<i||p<u)||o.dummy&&n.node(t).dummy||c(e,r,t)}))})),u=s+1,i=p)})),o})),e}function a(n,t){var e={};function o(t,o,i,u,a){var f;r.forEach(r.range(o,i),(function(o){f=t[o],n.node(f).dummy&&r.forEach(n.predecessors(f),(function(t){var r=n.node(t);r.dummy&&(r.order<u||r.order>a)&&c(e,t,f)}))}))}return r.reduce(t,(function(t,e){var i,u=-1,a=0;return r.forEach(e,(function(r,c){if("border"===n.node(r).dummy){var f=n.predecessors(r);f.length&&(i=n.node(f[0]).order,o(e,a,c,u,i),a=c,u=i)}o(e,a,e.length,i,t.length)})),e})),e}function c(n,t,e){if(t>e){var r=t;t=e,e=r}var o=n[t];o||(n[t]=o={}),o[e]=!0}function f(n,t,e){if(t>e){var o=t;t=e,e=o}return r.has(n[t],e)}function s(n,t,e,o){var i={},u={},a={};return r.forEach(t,(function(n){r.forEach(n,(function(n,t){i[n]=n,u[n]=n,a[n]=t}))})),r.forEach(t,(function(n){var t=-1;r.forEach(n,(function(n){var c=o(n);if(c.length)for(var s=((c=r.sortBy(c,(function(n){return a[n]}))).length-1)/2,d=Math.floor(s),p=Math.ceil(s);d<=p;++d){var h=c[d];u[n]===n&&t<a[h]&&!f(e,n,h)&&(u[h]=n,u[n]=i[n]=i[h],t=a[h])}}))})),{root:i,align:u}}function d(n,t,e,i,u){var a={},c=function(n,t,e,i){var u=new o,a=n.graph(),c=function(n,t,e){return function(o,i,u){var a,c=o.node(i),f=o.node(u),s=0;if(s+=c.width/2,r.has(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":a=-c.width/2;break;case"r":a=c.width/2}if(a&&(s+=e?a:-a),a=0,s+=(c.dummy?t:n)/2,s+=(f.dummy?t:n)/2,s+=f.width/2,r.has(f,"labelpos"))switch(f.labelpos.toLowerCase()){case"l":a=f.width/2;break;case"r":a=-f.width/2}return a&&(s+=e?a:-a),a=0,s}}(a.nodesep,a.edgesep,i);return r.forEach(t,(function(t){var o;r.forEach(t,(function(t){var r=e[t];if(u.setNode(r),o){var i=e[o],a=u.edge(i,r);u.setEdge(i,r,Math.max(c(n,t,o),a||0))}o=t}))})),u}(n,t,e,u),f=u?"borderLeft":"borderRight";function s(n,t){for(var e=c.nodes(),r=e.pop(),o={};r;)o[r]?n(r):(o[r]=!0,e.push(r),e=e.concat(t(r))),r=e.pop()}return s((function(n){a[n]=c.inEdges(n).reduce((function(n,t){return Math.max(n,a[t.v]+c.edge(t))}),0)}),c.predecessors.bind(c)),s((function(t){var e=c.outEdges(t).reduce((function(n,t){return Math.min(n,a[t.w]-c.edge(t))}),Number.POSITIVE_INFINITY),r=n.node(t);e!==Number.POSITIVE_INFINITY&&r.borderType!==f&&(a[t]=Math.max(a[t],e))}),c.successors.bind(c)),r.forEach(i,(function(n){a[n]=a[e[n]]})),a}function p(n,t){return r.minBy(r.values(t),(function(t){var e=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return r.forIn(t,(function(t,r){var i=function(n,t){return n.node(t).width}(n,r)/2;e=Math.max(t+i,e),o=Math.min(t-i,o)})),e-o}))}function h(n,t){var e=r.values(t),o=r.min(e),i=r.max(e);r.forEach(["u","d"],(function(e){r.forEach(["l","r"],(function(u){var a,c=e+u,f=n[c];if(f!==t){var s=r.values(f);(a="l"===u?o-r.min(s):i-r.max(s))&&(n[c]=r.mapValues(f,(function(n){return n+a})))}}))}))}function v(n,t){return r.mapValues(n.ul,(function(e,o){if(t)return n[t.toLowerCase()][o];var i=r.sortBy(r.map(n,o));return(i[1]+i[2])/2}))}n.exports={positionX:function(n){var t,e=i.buildLayerMatrix(n),o=r.merge(u(n,e),a(n,e)),c={};r.forEach(["u","d"],(function(i){t="u"===i?e:r.values(e).reverse(),r.forEach(["l","r"],(function(e){"r"===e&&(t=r.map(t,(function(n){return r.values(n).reverse()})));var u=("u"===i?n.predecessors:n.successors).bind(n),a=s(n,t,o,u),f=d(n,t,a.root,a.align,"r"===e);"r"===e&&(f=r.mapValues(f,(function(n){return-n}))),c[i+e]=f}))}));var f=p(n,c);return h(c,f),v(c,n.graph().align)},findType1Conflicts:u,findType2Conflicts:a,addConflict:c,hasConflict:f,verticalAlignment:s,horizontalCompaction:d,alignCoordinates:h,findSmallestWidthAlignment:p,balance:v}},65784:function(n,t,e){"use strict";var r=e(43294),o=e(8783),i=e(91753).positionX;n.exports=function(n){(function(n){var t=o.buildLayerMatrix(n),e=n.graph().ranksep,i=0;r.forEach(t,(function(t){var o=r.max(r.map(t,(function(t){return n.node(t).height})));r.forEach(t,(function(t){n.node(t).y=i+o/2})),i+=o+e}))})(n=o.asNonCompoundGraph(n)),r.forEach(i(n),(function(t,e){n.node(e).x=t}))}},49154:function(n,t,e){"use strict";var r=e(43294),o=e(71310).Graph,i=e(85986).slack;function u(n,t){return r.forEach(n.nodes(),(function e(o){r.forEach(t.nodeEdges(o),(function(r){var u=r.v,a=o===u?r.w:u;n.hasNode(a)||i(t,r)||(n.setNode(a,{}),n.setEdge(o,a,{}),e(a))}))})),n.nodeCount()}function a(n,t){return r.minBy(t.edges(),(function(e){if(n.hasNode(e.v)!==n.hasNode(e.w))return i(t,e)}))}function c(n,t,e){r.forEach(n.nodes(),(function(n){t.node(n).rank+=e}))}n.exports=function(n){var t,e,r=new o({directed:!1}),f=n.nodes()[0],s=n.nodeCount();r.setNode(f,{});for(;u(r,n)<s;)t=a(r,n),e=r.hasNode(t.v)?i(n,t):-i(n,t),c(r,n,e);return r}},64618:function(n,t,e){"use strict";var r=e(85986).longestPath,o=e(49154),i=e(57310);n.exports=function(n){switch(n.graph().ranker){case"network-simplex":a(n);break;case"tight-tree":!function(n){r(n),o(n)}(n);break;case"longest-path":u(n);break;default:a(n)}};var u=r;function a(n){i(n)}},57310:function(n,t,e){"use strict";var r=e(43294),o=e(49154),i=e(85986).slack,u=e(85986).longestPath,a=e(71310).alg.preorder,c=e(71310).alg.postorder,f=e(8783).simplify;function s(n){n=f(n),u(n);var t,e=o(n);for(h(e),d(e,n);t=l(e);)y(e,n,t,g(e,n,t))}function d(n,t){var e=c(n,n.nodes());e=e.slice(0,e.length-1),r.forEach(e,(function(e){!function(n,t,e){var r=n.node(e).parent;n.edge(e,r).cutvalue=p(n,t,e)}(n,t,e)}))}function p(n,t,e){var o=n.node(e).parent,i=!0,u=t.edge(e,o),a=0;return u||(i=!1,u=t.edge(o,e)),a=u.weight,r.forEach(t.nodeEdges(e),(function(r){var u,c,f=r.v===e,s=f?r.w:r.v;if(s!==o){var d=f===i,p=t.edge(r).weight;if(a+=d?p:-p,u=e,c=s,n.hasEdge(u,c)){var h=n.edge(e,s).cutvalue;a+=d?-h:h}}})),a}function h(n,t){arguments.length<2&&(t=n.nodes()[0]),v(n,{},1,t)}function v(n,t,e,o,i){var u=e,a=n.node(o);return t[o]=!0,r.forEach(n.neighbors(o),(function(i){r.has(t,i)||(e=v(n,t,e,i,o))})),a.low=u,a.lim=e++,i?a.parent=i:delete a.parent,e}function l(n){return r.find(n.edges(),(function(t){return n.edge(t).cutvalue<0}))}function g(n,t,e){var o=e.v,u=e.w;t.hasEdge(o,u)||(o=e.w,u=e.v);var a=n.node(o),c=n.node(u),f=a,s=!1;a.lim>c.lim&&(f=c,s=!0);var d=r.filter(t.edges(),(function(t){return s===b(n,n.node(t.v),f)&&s!==b(n,n.node(t.w),f)}));return r.minBy(d,(function(n){return i(t,n)}))}function y(n,t,e,o){var i=e.v,u=e.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),h(n),d(n,t),function(n,t){var e=r.find(n.nodes(),(function(n){return!t.node(n).parent})),o=a(n,e);o=o.slice(1),r.forEach(o,(function(e){var r=n.node(e).parent,o=t.edge(e,r),i=!1;o||(o=t.edge(r,e),i=!0),t.node(e).rank=t.node(r).rank+(i?o.minlen:-o.minlen)}))}(n,t)}function b(n,t,e){return e.low<=t.lim&&t.lim<=e.lim}n.exports=s,s.initLowLimValues=h,s.initCutValues=d,s.calcCutValue=p,s.leaveEdge=l,s.enterEdge=g,s.exchangeEdges=y},85986:function(n,t,e){"use strict";var r=e(43294);n.exports={longestPath:function(n){var t={};r.forEach(n.sources(),(function e(o){var i=n.node(o);if(r.has(t,o))return i.rank;t[o]=!0;var u=r.min(r.map(n.outEdges(o),(function(t){return e(t.w)-n.edge(t).minlen})));return u!==Number.POSITIVE_INFINITY&&void 0!==u&&null!==u||(u=0),i.rank=u}))},slack:function(n,t){return n.node(t.w).rank-n.node(t.v).rank-n.edge(t).minlen}}},8783:function(n,t,e){"use strict";var r=e(43294),o=e(71310).Graph;function i(n,t,e,o){var i;do{i=r.uniqueId(o)}while(n.hasNode(i));return e.dummy=t,n.setNode(i,e),i}function u(n){return r.max(r.map(n.nodes(),(function(t){var e=n.node(t).rank;if(!r.isUndefined(e))return e})))}n.exports={addDummyNode:i,simplify:function(n){var t=(new o).setGraph(n.graph());return r.forEach(n.nodes(),(function(e){t.setNode(e,n.node(e))})),r.forEach(n.edges(),(function(e){var r=t.edge(e.v,e.w)||{weight:0,minlen:1},o=n.edge(e);t.setEdge(e.v,e.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),t},asNonCompoundGraph:function(n){var t=new o({multigraph:n.isMultigraph()}).setGraph(n.graph());return r.forEach(n.nodes(),(function(e){n.children(e).length||t.setNode(e,n.node(e))})),r.forEach(n.edges(),(function(e){t.setEdge(e,n.edge(e))})),t},successorWeights:function(n){var t=r.map(n.nodes(),(function(t){var e={};return r.forEach(n.outEdges(t),(function(t){e[t.w]=(e[t.w]||0)+n.edge(t).weight})),e}));return r.zipObject(n.nodes(),t)},predecessorWeights:function(n){var t=r.map(n.nodes(),(function(t){var e={};return r.forEach(n.inEdges(t),(function(t){e[t.v]=(e[t.v]||0)+n.edge(t).weight})),e}));return r.zipObject(n.nodes(),t)},intersectRect:function(n,t){var e,r,o=n.x,i=n.y,u=t.x-o,a=t.y-i,c=n.width/2,f=n.height/2;if(!u&&!a)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(a)*c>Math.abs(u)*f?(a<0&&(f=-f),e=f*u/a,r=f):(u<0&&(c=-c),e=c,r=c*a/u);return{x:o+e,y:i+r}},buildLayerMatrix:function(n){var t=r.map(r.range(u(n)+1),(function(){return[]}));return r.forEach(n.nodes(),(function(e){var o=n.node(e),i=o.rank;r.isUndefined(i)||(t[i][o.order]=e)})),t},normalizeRanks:function(n){var t=r.min(r.map(n.nodes(),(function(t){return n.node(t).rank})));r.forEach(n.nodes(),(function(e){var o=n.node(e);r.has(o,"rank")&&(o.rank-=t)}))},removeEmptyRanks:function(n){var t=r.min(r.map(n.nodes(),(function(t){return n.node(t).rank}))),e=[];r.forEach(n.nodes(),(function(r){var o=n.node(r).rank-t;e[o]||(e[o]=[]),e[o].push(r)}));var o=0,i=n.graph().nodeRankFactor;r.forEach(e,(function(t,e){r.isUndefined(t)&&e%i!==0?--o:o&&r.forEach(t,(function(t){n.node(t).rank+=o}))}))},addBorderNode:function(n,t,e,r){var o={width:0,height:0};arguments.length>=4&&(o.rank=e,o.order=r);return i(n,"border",o,t)},maxRank:u,partition:function(n,t){var e={lhs:[],rhs:[]};return r.forEach(n,(function(n){t(n)?e.lhs.push(n):e.rhs.push(n)})),e},time:function(n,t){var e=r.now();try{return t()}finally{console.log(n+" time: "+(r.now()-e)+"ms")}},notime:function(n,t){return t()}}},57589:function(n){n.exports="0.8.5"},87377:function(n,t,e){var r=e(89);n.exports={Graph:r.Graph,json:e(80109),alg:e(577),version:r.version}},95189:function(n,t,e){var r=e(60274);n.exports=function(n){var t,e={},o=[];function i(o){r.has(e,o)||(e[o]=!0,t.push(o),r.each(n.successors(o),i),r.each(n.predecessors(o),i))}return r.each(n.nodes(),(function(n){t=[],i(n),t.length&&o.push(t)})),o}},70223:function(n,t,e){var r=e(60274);function o(n,t,e,i,u,a){r.has(i,t)||(i[t]=!0,e||a.push(t),r.each(u(t),(function(t){o(n,t,e,i,u,a)})),e&&a.push(t))}n.exports=function(n,t,e){r.isArray(t)||(t=[t]);var i=(n.isDirected()?n.successors:n.neighbors).bind(n),u=[],a={};return r.each(t,(function(t){if(!n.hasNode(t))throw new Error("Graph does not have node: "+t);o(n,t,"post"===e,a,i,u)})),u}},19487:function(n,t,e){var r=e(16493),o=e(60274);n.exports=function(n,t,e){return o.transform(n.nodes(),(function(o,i){o[i]=r(n,i,t,e)}),{})}},16493:function(n,t,e){var r=e(60274),o=e(70905);n.exports=function(n,t,e,r){return function(n,t,e,r){var i,u,a={},c=new o,f=function(n){var t=n.v!==i?n.v:n.w,r=a[t],o=e(n),f=u.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+n+" Weight: "+o);f<r.distance&&(r.distance=f,r.predecessor=i,c.decrease(t,f))};n.nodes().forEach((function(n){var e=n===t?0:Number.POSITIVE_INFINITY;a[n]={distance:e},c.add(n,e)}));for(;c.size()>0&&(i=c.removeMin(),(u=a[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(f);return a}(n,String(t),e||i,r||function(t){return n.outEdges(t)})};var i=r.constant(1)},24395:function(n,t,e){var r=e(60274),o=e(99289);n.exports=function(n){return r.filter(o(n),(function(t){return t.length>1||1===t.length&&n.hasEdge(t[0],t[0])}))}},92077:function(n,t,e){var r=e(60274);n.exports=function(n,t,e){return function(n,t,e){var r={},o=n.nodes();return o.forEach((function(n){r[n]={},r[n][n]={distance:0},o.forEach((function(t){n!==t&&(r[n][t]={distance:Number.POSITIVE_INFINITY})})),e(n).forEach((function(e){var o=e.v===n?e.w:e.v,i=t(e);r[n][o]={distance:i,predecessor:n}}))})),o.forEach((function(n){var t=r[n];o.forEach((function(e){var i=r[e];o.forEach((function(e){var r=i[n],o=t[e],u=i[e],a=r.distance+o.distance;a<u.distance&&(u.distance=a,u.predecessor=o.predecessor)}))}))})),r}(n,t||o,e||function(t){return n.outEdges(t)})};var o=r.constant(1)},577:function(n,t,e){n.exports={components:e(95189),dijkstra:e(16493),dijkstraAll:e(19487),findCycles:e(24395),floydWarshall:e(92077),isAcyclic:e(67141),postorder:e(34825),preorder:e(78852),prim:e(78492),tarjan:e(99289),topsort:e(69176)}},67141:function(n,t,e){var r=e(69176);n.exports=function(n){try{r(n)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},34825:function(n,t,e){var r=e(70223);n.exports=function(n,t){return r(n,t,"post")}},78852:function(n,t,e){var r=e(70223);n.exports=function(n,t){return r(n,t,"pre")}},78492:function(n,t,e){var r=e(60274),o=e(53099),i=e(70905);n.exports=function(n,t){var e,u=new o,a={},c=new i;function f(n){var r=n.v===e?n.w:n.v,o=c.priority(r);if(void 0!==o){var i=t(n);i<o&&(a[r]=e,c.decrease(r,i))}}if(0===n.nodeCount())return u;r.each(n.nodes(),(function(n){c.add(n,Number.POSITIVE_INFINITY),u.setNode(n)})),c.decrease(n.nodes()[0],0);var s=!1;for(;c.size()>0;){if(e=c.removeMin(),r.has(a,e))u.setEdge(e,a[e]);else{if(s)throw new Error("Input graph is not connected: "+n);s=!0}n.nodeEdges(e).forEach(f)}return u}},99289:function(n,t,e){var r=e(60274);n.exports=function(n){var t=0,e=[],o={},i=[];function u(a){var c=o[a]={onStack:!0,lowlink:t,index:t++};if(e.push(a),n.successors(a).forEach((function(n){r.has(o,n)?o[n].onStack&&(c.lowlink=Math.min(c.lowlink,o[n].index)):(u(n),c.lowlink=Math.min(c.lowlink,o[n].lowlink))})),c.lowlink===c.index){var f,s=[];do{f=e.pop(),o[f].onStack=!1,s.push(f)}while(a!==f);i.push(s)}}return n.nodes().forEach((function(n){r.has(o,n)||u(n)})),i}},69176:function(n,t,e){var r=e(60274);function o(n){var t={},e={},o=[];if(r.each(n.sinks(),(function u(a){if(r.has(e,a))throw new i;r.has(t,a)||(e[a]=!0,t[a]=!0,r.each(n.predecessors(a),u),delete e[a],o.push(a))})),r.size(t)!==n.nodeCount())throw new i;return o}function i(){}n.exports=o,o.CycleException=i,i.prototype=new Error},70905:function(n,t,e){var r=e(60274);function o(){this._arr=[],this._keyIndices={}}n.exports=o,o.prototype.size=function(){return this._arr.length},o.prototype.keys=function(){return this._arr.map((function(n){return n.key}))},o.prototype.has=function(n){return r.has(this._keyIndices,n)},o.prototype.priority=function(n){var t=this._keyIndices[n];if(void 0!==t)return this._arr[t].priority},o.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},o.prototype.add=function(n,t){var e=this._keyIndices;if(n=String(n),!r.has(e,n)){var o=this._arr,i=o.length;return e[n]=i,o.push({key:n,priority:t}),this._decrease(i),!0}return!1},o.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var n=this._arr.pop();return delete this._keyIndices[n.key],this._heapify(0),n.key},o.prototype.decrease=function(n,t){var e=this._keyIndices[n];if(t>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+n+" Old: "+this._arr[e].priority+" New: "+t);this._arr[e].priority=t,this._decrease(e)},o.prototype._heapify=function(n){var t=this._arr,e=2*n,r=e+1,o=n;e<t.length&&(o=t[e].priority<t[o].priority?e:o,r<t.length&&(o=t[r].priority<t[o].priority?r:o),o!==n&&(this._swap(n,o),this._heapify(o)))},o.prototype._decrease=function(n){for(var t,e=this._arr,r=e[n].priority;0!==n&&!(e[t=n>>1].priority<r);)this._swap(n,t),n=t},o.prototype._swap=function(n,t){var e=this._arr,r=this._keyIndices,o=e[n],i=e[t];e[n]=i,e[t]=o,r[i.key]=n,r[o.key]=t}},53099:function(n,t,e){"use strict";var r=e(60274);n.exports=i;var o="\0";function i(n){this._isDirected=!r.has(n,"directed")||n.directed,this._isMultigraph=!!r.has(n,"multigraph")&&n.multigraph,this._isCompound=!!r.has(n,"compound")&&n.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function u(n,t){n[t]?n[t]++:n[t]=1}function a(n,t){--n[t]||delete n[t]}function c(n,t,e,o){var i=""+t,u=""+e;if(!n&&i>u){var a=i;i=u,u=a}return i+"\x01"+u+"\x01"+(r.isUndefined(o)?"\0":o)}function f(n,t,e,r){var o=""+t,i=""+e;if(!n&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}function s(n,t){return c(n,t.v,t.w,t.name)}i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(n){return this._label=n,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(n){return r.isFunction(n)||(n=r.constant(n)),this._defaultNodeLabelFn=n,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var n=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(n._in[t])}))},i.prototype.sinks=function(){var n=this;return r.filter(this.nodes(),(function(t){return r.isEmpty(n._out[t])}))},i.prototype.setNodes=function(n,t){var e=arguments,o=this;return r.each(n,(function(n){e.length>1?o.setNode(n,t):o.setNode(n)})),this},i.prototype.setNode=function(n,t){return r.has(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=t),this):(this._nodes[n]=arguments.length>1?t:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=o,this._children[n]={},this._children["\0"][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)},i.prototype.node=function(n){return this._nodes[n]},i.prototype.hasNode=function(n){return r.has(this._nodes,n)},i.prototype.removeNode=function(n){var t=this;if(r.has(this._nodes,n)){var e=function(n){t.removeEdge(t._edgeObjs[n])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],r.each(this.children(n),(function(n){t.setParent(n)})),delete this._children[n]),r.each(r.keys(this._in[n]),e),delete this._in[n],delete this._preds[n],r.each(r.keys(this._out[n]),e),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this},i.prototype.setParent=function(n,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t=o;else{for(var e=t+="";!r.isUndefined(e);e=this.parent(e))if(e===n)throw new Error("Setting "+t+" as parent of "+n+" would create a cycle");this.setNode(t)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=t,this._children[t][n]=!0,this},i.prototype._removeFromParentsChildList=function(n){delete this._children[this._parent[n]][n]},i.prototype.parent=function(n){if(this._isCompound){var t=this._parent[n];if(t!==o)return t}},i.prototype.children=function(n){if(r.isUndefined(n)&&(n=o),this._isCompound){var t=this._children[n];if(t)return r.keys(t)}else{if(n===o)return this.nodes();if(this.hasNode(n))return[]}},i.prototype.predecessors=function(n){var t=this._preds[n];if(t)return r.keys(t)},i.prototype.successors=function(n){var t=this._sucs[n];if(t)return r.keys(t)},i.prototype.neighbors=function(n){var t=this.predecessors(n);if(t)return r.union(t,this.successors(n))},i.prototype.isLeaf=function(n){return 0===(this.isDirected()?this.successors(n):this.neighbors(n)).length},i.prototype.filterNodes=function(n){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var e=this;r.each(this._nodes,(function(e,r){n(r)&&t.setNode(r,e)})),r.each(this._edgeObjs,(function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,e.edge(n))}));var o={};function i(n){var r=e.parent(n);return void 0===r||t.hasNode(r)?(o[n]=r,r):r in o?o[r]:i(r)}return this._isCompound&&r.each(t.nodes(),(function(n){t.setParent(n,i(n))})),t},i.prototype.setDefaultEdgeLabel=function(n){return r.isFunction(n)||(n=r.constant(n)),this._defaultEdgeLabelFn=n,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(n,t){var e=this,o=arguments;return r.reduce(n,(function(n,r){return o.length>1?e.setEdge(n,r,t):e.setEdge(n,r),r})),this},i.prototype.setEdge=function(){var n,t,e,o,i=!1,a=arguments[0];"object"===typeof a&&null!==a&&"v"in a?(n=a.v,t=a.w,e=a.name,2===arguments.length&&(o=arguments[1],i=!0)):(n=a,t=arguments[1],e=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),n=""+n,t=""+t,r.isUndefined(e)||(e=""+e);var s=c(this._isDirected,n,t,e);if(r.has(this._edgeLabels,s))return i&&(this._edgeLabels[s]=o),this;if(!r.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(t),this._edgeLabels[s]=i?o:this._defaultEdgeLabelFn(n,t,e);var d=f(this._isDirected,n,t,e);return n=d.v,t=d.w,Object.freeze(d),this._edgeObjs[s]=d,u(this._preds[t],n),u(this._sucs[n],t),this._in[t][s]=d,this._out[n][s]=d,this._edgeCount++,this},i.prototype.edge=function(n,t,e){var r=1===arguments.length?s(this._isDirected,arguments[0]):c(this._isDirected,n,t,e);return this._edgeLabels[r]},i.prototype.hasEdge=function(n,t,e){var o=1===arguments.length?s(this._isDirected,arguments[0]):c(this._isDirected,n,t,e);return r.has(this._edgeLabels,o)},i.prototype.removeEdge=function(n,t,e){var r=1===arguments.length?s(this._isDirected,arguments[0]):c(this._isDirected,n,t,e),o=this._edgeObjs[r];return o&&(n=o.v,t=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[t],n),a(this._sucs[n],t),delete this._in[t][r],delete this._out[n][r],this._edgeCount--),this},i.prototype.inEdges=function(n,t){var e=this._in[n];if(e){var o=r.values(e);return t?r.filter(o,(function(n){return n.v===t})):o}},i.prototype.outEdges=function(n,t){var e=this._out[n];if(e){var o=r.values(e);return t?r.filter(o,(function(n){return n.w===t})):o}},i.prototype.nodeEdges=function(n,t){var e=this.inEdges(n,t);if(e)return e.concat(this.outEdges(n,t))}},89:function(n,t,e){n.exports={Graph:e(53099),version:e(90702)}},80109:function(n,t,e){var r=e(60274),o=e(53099);function i(n){return r.map(n.nodes(),(function(t){var e=n.node(t),o=n.parent(t),i={v:t};return r.isUndefined(e)||(i.value=e),r.isUndefined(o)||(i.parent=o),i}))}function u(n){return r.map(n.edges(),(function(t){var e=n.edge(t),o={v:t.v,w:t.w};return r.isUndefined(t.name)||(o.name=t.name),r.isUndefined(e)||(o.value=e),o}))}n.exports={write:function(n){var t={options:{directed:n.isDirected(),multigraph:n.isMultigraph(),compound:n.isCompound()},nodes:i(n),edges:u(n)};r.isUndefined(n.graph())||(t.value=r.clone(n.graph()));return t},read:function(n){var t=new o(n.options).setGraph(n.value);return r.each(n.nodes,(function(n){t.setNode(n.v,n.value),n.parent&&t.setParent(n.v,n.parent)})),r.each(n.edges,(function(n){t.setEdge({v:n.v,w:n.w,name:n.name},n.value)})),t}}},60274:function(n,t,e){var r;try{r={clone:e(54004),constant:e(86874),each:e(79421),filter:e(90882),has:e(93352),isArray:e(86152),isEmpty:e(45455),isFunction:e(61049),isUndefined:e(84336),keys:e(90249),map:e(16760),reduce:e(58215),size:e(36402),transform:e(89466),union:e(26139),values:e(98346)}}catch(o){}r||(r=window._),n.exports=r},90702:function(n){n.exports="2.1.8"},39515:function(n,t,e){var r=e(38761)(e(37772),"DataView");n.exports=r},89612:function(n,t,e){var r=e(52118),o=e(96909),i=e(98138),u=e(4174),a=e(7942);function c(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=a,n.exports=c},80235:function(n,t,e){var r=e(3945),o=e(21846),i=e(88028),u=e(72344),a=e(94769);function c(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=a,n.exports=c},10326:function(n,t,e){var r=e(38761)(e(37772),"Map");n.exports=r},96738:function(n,t,e){var r=e(92411),o=e(36417),i=e(86928),u=e(79493),a=e(24150);function c(n){var t=-1,e=null==n?0:n.length;for(this.clear();++t<e;){var r=n[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=u,c.prototype.set=a,n.exports=c},52760:function(n,t,e){var r=e(38761)(e(37772),"Promise");n.exports=r},2143:function(n,t,e){var r=e(38761)(e(37772),"Set");n.exports=r},45386:function(n,t,e){var r=e(96738),o=e(52842),i=e(52482);function u(n){var t=-1,e=null==n?0:n.length;for(this.__data__=new r;++t<e;)this.add(n[t])}u.prototype.add=u.prototype.push=o,u.prototype.has=i,n.exports=u},86571:function(n,t,e){var r=e(80235),o=e(15243),i=e(72858),u=e(4417),a=e(8605),c=e(71418);function f(n){var t=this.__data__=new r(n);this.size=t.size}f.prototype.clear=o,f.prototype.delete=i,f.prototype.get=u,f.prototype.has=a,f.prototype.set=c,n.exports=f},50857:function(n,t,e){var r=e(37772).Symbol;n.exports=r},79162:function(n,t,e){var r=e(37772).Uint8Array;n.exports=r},93215:function(n,t,e){var r=e(38761)(e(37772),"WeakMap");n.exports=r},49432:function(n){n.exports=function(n,t,e){switch(e.length){case 0:return n.call(t);case 1:return n.call(t,e[0]);case 2:return n.call(t,e[0],e[1]);case 3:return n.call(t,e[0],e[1],e[2])}return n.apply(t,e)}},72517:function(n){n.exports=function(n,t){for(var e=-1,r=null==n?0:n.length;++e<r&&!1!==t(n[e],e,n););return n}},67552:function(n){n.exports=function(n,t){for(var e=-1,r=null==n?0:n.length,o=0,i=[];++e<r;){var u=n[e];t(u,e,n)&&(i[o++]=u)}return i}},38333:function(n,t,e){var r=e(77832);n.exports=function(n,t){return!!(null==n?0:n.length)&&r(n,t,0)>-1}},34893:function(n){n.exports=function(n,t,e){for(var r=-1,o=null==n?0:n.length;++r<o;)if(e(t,n[r]))return!0;return!1}},1634:function(n,t,e){var r=e(36473),o=e(79631),i=e(86152),u=e(73226),a=e(39045),c=e(77598),f=Object.prototype.hasOwnProperty;n.exports=function(n,t){var e=i(n),s=!e&&o(n),d=!e&&!s&&u(n),p=!e&&!s&&!d&&c(n),h=e||s||d||p,v=h?r(n.length,String):[],l=v.length;for(var g in n)!t&&!f.call(n,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,l))||v.push(g);return v}},50343:function(n){n.exports=function(n,t){for(var e=-1,r=null==n?0:n.length,o=Array(r);++e<r;)o[e]=t(n[e],e,n);return o}},65067:function(n){n.exports=function(n,t){for(var e=-1,r=t.length,o=n.length;++e<r;)n[o+e]=t[e];return n}},81207:function(n){n.exports=function(n,t,e,r){var o=-1,i=null==n?0:n.length;for(r&&i&&(e=n[++o]);++o<i;)e=t(e,n[o],o,n);return e}},87064:function(n){n.exports=function(n,t){for(var e=-1,r=null==n?0:n.length;++e<r;)if(t(n[e],e,n))return!0;return!1}},8589:function(n,t,e){var r=e(20256)("length");n.exports=r},28582:function(n,t,e){var r=e(13940),o=e(41225);n.exports=function(n,t,e){(void 0!==e&&!o(n[t],e)||void 0===e&&!(t in n))&&r(n,t,e)}},60091:function(n,t,e){var r=e(13940),o=e(41225),i=Object.prototype.hasOwnProperty;n.exports=function(n,t,e){var u=n[t];i.call(n,t)&&o(u,e)&&(void 0!==e||t in n)||r(n,t,e)}},22218:function(n,t,e){var r=e(41225);n.exports=function(n,t){for(var e=n.length;e--;)if(r(n[e][0],t))return e;return-1}},67993:function(n,t,e){var r=e(752),o=e(90249);n.exports=function(n,t){return n&&r(t,o(t),n)}},55906:function(n,t,e){var r=e(752),o=e(18582);n.exports=function(n,t){return n&&r(t,o(t),n)}},13940:function(n,t,e){var r=e(83043);n.exports=function(n,t,e){"__proto__"==t&&r?r(n,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):n[t]=e}},18874:function(n,t,e){var r=e(86571),o=e(72517),i=e(60091),u=e(67993),a=e(55906),c=e(92175),f=e(51522),s=e(7680),d=e(19987),p=e(13483),h=e(76939),v=e(70940),l=e(99917),g=e(8222),y=e(78725),b=e(86152),x=e(73226),m=e(4714),w=e(29259),_=e(43679),E=e(90249),j=e(18582),k="[object Arguments]",O="[object Function]",N="[object Object]",I={};I[k]=I["[object Array]"]=I["[object ArrayBuffer]"]=I["[object DataView]"]=I["[object Boolean]"]=I["[object Date]"]=I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Map]"]=I["[object Number]"]=I[N]=I["[object RegExp]"]=I["[object Set]"]=I["[object String]"]=I["[object Symbol]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I["[object Error]"]=I[O]=I["[object WeakMap]"]=!1,n.exports=function n(t,e,C,P,M,S){var A,T=1&e,L=2&e,D=4&e;if(C&&(A=M?C(t,P,M,S):C(t)),void 0!==A)return A;if(!w(t))return t;var R=b(t);if(R){if(A=l(t),!T)return f(t,A)}else{var z=v(t),F=z==O||"[object GeneratorFunction]"==z;if(x(t))return c(t,T);if(z==N||z==k||F&&!M){if(A=L||F?{}:y(t),!T)return L?d(t,a(A,t)):s(t,u(A,t))}else{if(!I[z])return M?t:{};A=g(t,z,T)}}S||(S=new r);var U=S.get(t);if(U)return U;S.set(t,A),_(t)?t.forEach((function(r){A.add(n(r,e,C,r,t,S))})):m(t)&&t.forEach((function(r,o){A.set(o,n(r,e,C,o,t,S))}));var B=R?void 0:(D?L?h:p:L?j:E)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(A,o,n(r,e,C,o,t,S))})),A}},39413:function(n,t,e){var r=e(29259),o=Object.create,i=function(){function n(){}return function(t){if(!r(t))return{};if(o)return o(t);n.prototype=t;var e=new n;return n.prototype=void 0,e}}();n.exports=i},24303:function(n,t,e){var r=e(26548),o=e(92019)(r);n.exports=o},2229:function(n,t,e){var r=e(4795);n.exports=function(n,t,e){for(var o=-1,i=n.length;++o<i;){var u=n[o],a=t(u);if(null!=a&&(void 0===c?a===a&&!r(a):e(a,c)))var c=a,f=u}return f}},98043:function(n,t,e){var r=e(24303);n.exports=function(n,t){var e=[];return r(n,(function(n,r,o){t(n,r,o)&&e.push(n)})),e}},21359:function(n){n.exports=function(n,t,e,r){for(var o=n.length,i=e+(r?1:-1);r?i--:++i<o;)if(t(n[i],i,n))return i;return-1}},62034:function(n,t,e){var r=e(65067),o=e(95882);n.exports=function n(t,e,i,u,a){var c=-1,f=t.length;for(i||(i=o),a||(a=[]);++c<f;){var s=t[c];e>0&&i(s)?e>1?n(s,e-1,i,u,a):r(a,s):u||(a[a.length]=s)}return a}},15308:function(n,t,e){var r=e(55463)();n.exports=r},26548:function(n,t,e){var r=e(15308),o=e(90249);n.exports=function(n,t){return n&&r(n,t,o)}},13324:function(n,t,e){var r=e(17297),o=e(33812);n.exports=function(n,t){for(var e=0,i=(t=r(t,n)).length;null!=n&&e<i;)n=n[o(t[e++])];return e&&e==i?n:void 0}},1897:function(n,t,e){var r=e(65067),o=e(86152);n.exports=function(n,t,e){var i=t(n);return o(n)?i:r(i,e(n))}},53366:function(n,t,e){var r=e(50857),o=e(62107),i=e(37157),u=r?r.toStringTag:void 0;n.exports=function(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":u&&u in Object(n)?o(n):i(n)}},84134:function(n){n.exports=function(n,t){return n>t}},32726:function(n){var t=Object.prototype.hasOwnProperty;n.exports=function(n,e){return null!=n&&t.call(n,e)}},20187:function(n){n.exports=function(n,t){return null!=n&&t in Object(n)}},77832:function(n,t,e){var r=e(21359),o=e(22195),i=e(66024);n.exports=function(n,t,e){return t===t?i(n,t,e):r(n,o,e)}},15183:function(n,t,e){var r=e(53366),o=e(15125);n.exports=function(n){return o(n)&&"[object Arguments]"==r(n)}},88746:function(n,t,e){var r=e(51952),o=e(15125);n.exports=function n(t,e,i,u,a){return t===e||(null==t||null==e||!o(t)&&!o(e)?t!==t&&e!==e:r(t,e,i,u,n,a))}},51952:function(n,t,e){var r=e(86571),o=e(74871),i=e(11491),u=e(17416),a=e(70940),c=e(86152),f=e(73226),s=e(77598),d="[object Arguments]",p="[object Array]",h="[object Object]",v=Object.prototype.hasOwnProperty;n.exports=function(n,t,e,l,g,y){var b=c(n),x=c(t),m=b?p:a(n),w=x?p:a(t),_=(m=m==d?h:m)==h,E=(w=w==d?h:w)==h,j=m==w;if(j&&f(n)){if(!f(t))return!1;b=!0,_=!1}if(j&&!_)return y||(y=new r),b||s(n)?o(n,t,e,l,g,y):i(n,t,m,e,l,g,y);if(!(1&e)){var k=_&&v.call(n,"__wrapped__"),O=E&&v.call(t,"__wrapped__");if(k||O){var N=k?n.value():n,I=O?t.value():t;return y||(y=new r),g(N,I,e,l,y)}}return!!j&&(y||(y=new r),u(n,t,e,l,g,y))}},74511:function(n,t,e){var r=e(70940),o=e(15125);n.exports=function(n){return o(n)&&"[object Map]"==r(n)}},37036:function(n,t,e){var r=e(86571),o=e(88746);n.exports=function(n,t,e,i){var u=e.length,a=u,c=!i;if(null==n)return!a;for(n=Object(n);u--;){var f=e[u];if(c&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return!1}for(;++u<a;){var s=(f=e[u])[0],d=n[s],p=f[1];if(c&&f[2]){if(void 0===d&&!(s in n))return!1}else{var h=new r;if(i)var v=i(d,p,s,n,t,h);if(!(void 0===v?o(p,d,3,i,h):v))return!1}}return!0}},22195:function(n){n.exports=function(n){return n!==n}},6840:function(n,t,e){var r=e(61049),o=e(47394),i=e(29259),u=e(87035),a=/^\[object .+?Constructor\]$/,c=Function.prototype,f=Object.prototype,s=c.toString,d=f.hasOwnProperty,p=RegExp("^"+s.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n.exports=function(n){return!(!i(n)||o(n))&&(r(n)?p:a).test(u(n))}},8109:function(n,t,e){var r=e(70940),o=e(15125);n.exports=function(n){return o(n)&&"[object Set]"==r(n)}},35522:function(n,t,e){var r=e(53366),o=e(61158),i=e(15125),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,n.exports=function(n){return i(n)&&o(n.length)&&!!u[r(n)]}},68286:function(n,t,e){var r=e(26423),o=e(74716),i=e(23059),u=e(86152),a=e(65798);n.exports=function(n){return"function"==typeof n?n:null==n?i:"object"==typeof n?u(n)?o(n[0],n[1]):r(n):a(n)}},86411:function(n,t,e){var r=e(16001),o=e(54248),i=Object.prototype.hasOwnProperty;n.exports=function(n){if(!r(n))return o(n);var t=[];for(var e in Object(n))i.call(n,e)&&"constructor"!=e&&t.push(e);return t}},18390:function(n,t,e){var r=e(29259),o=e(16001),i=e(62966),u=Object.prototype.hasOwnProperty;n.exports=function(n){if(!r(n))return i(n);var t=o(n),e=[];for(var a in n)("constructor"!=a||!t&&u.call(n,a))&&e.push(a);return e}},17606:function(n){n.exports=function(n,t){return n<t}},93401:function(n,t,e){var r=e(24303),o=e(67878);n.exports=function(n,t){var e=-1,i=o(n)?Array(n.length):[];return r(n,(function(n,r,o){i[++e]=t(n,r,o)})),i}},26423:function(n,t,e){var r=e(37036),o=e(49882),i=e(73477);n.exports=function(n){var t=o(n);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(e){return e===n||r(e,n,t)}}},74716:function(n,t,e){var r=e(88746),o=e(72579),i=e(95041),u=e(21401),a=e(28792),c=e(73477),f=e(33812);n.exports=function(n,t){return u(n)&&a(t)?c(f(n),t):function(e){var u=o(e,n);return void 0===u&&u===t?i(e,n):r(t,u,3)}}},84565:function(n,t,e){var r=e(86571),o=e(28582),i=e(15308),u=e(25561),a=e(29259),c=e(18582),f=e(52434);n.exports=function n(t,e,s,d,p){t!==e&&i(e,(function(i,c){if(p||(p=new r),a(i))u(t,e,c,s,n,d,p);else{var h=d?d(f(t,c),i,c+"",t,e,p):void 0;void 0===h&&(h=i),o(t,c,h)}}),c)}},25561:function(n,t,e){var r=e(28582),o=e(92175),i=e(6190),u=e(51522),a=e(78725),c=e(79631),f=e(86152),s=e(93746),d=e(73226),p=e(61049),h=e(29259),v=e(97030),l=e(77598),g=e(52434),y=e(63329);n.exports=function(n,t,e,b,x,m,w){var _=g(n,e),E=g(t,e),j=w.get(E);if(j)r(n,e,j);else{var k=m?m(_,E,e+"",n,t,w):void 0,O=void 0===k;if(O){var N=f(E),I=!N&&d(E),C=!N&&!I&&l(E);k=E,N||I||C?f(_)?k=_:s(_)?k=u(_):I?(O=!1,k=o(E,!0)):C?(O=!1,k=i(E,!0)):k=[]:v(E)||c(E)?(k=_,c(_)?k=y(_):h(_)&&!p(_)||(k=a(E))):O=!1}O&&(w.set(E,k),x(k,E,b,m,w),w.delete(E)),r(n,e,k)}}},23813:function(n,t,e){var r=e(50343),o=e(13324),i=e(68286),u=e(93401),a=e(27095),c=e(47826),f=e(18477),s=e(23059),d=e(86152);n.exports=function(n,t,e){t=t.length?r(t,(function(n){return d(n)?function(t){return o(t,1===n.length?n[0]:n)}:n})):[s];var p=-1;t=r(t,c(i));var h=u(n,(function(n,e,o){return{criteria:r(t,(function(t){return t(n)})),index:++p,value:n}}));return a(h,(function(n,t){return f(n,t,e)}))}},92602:function(n,t,e){var r=e(93759),o=e(95041);n.exports=function(n,t){return r(n,t,(function(t,e){return o(n,e)}))}},93759:function(n,t,e){var r=e(13324),o=e(82857),i=e(17297);n.exports=function(n,t,e){for(var u=-1,a=t.length,c={};++u<a;){var f=t[u],s=r(n,f);e(s,f)&&o(c,i(f,n),s)}return c}},20256:function(n){n.exports=function(n){return function(t){return null==t?void 0:t[n]}}},82952:function(n,t,e){var r=e(13324);n.exports=function(n){return function(t){return r(t,n)}}},93228:function(n){var t=Math.ceil,e=Math.max;n.exports=function(n,r,o,i){for(var u=-1,a=e(t((r-n)/(o||1)),0),c=Array(a);a--;)c[i?a:++u]=n,n+=o;return c}},5877:function(n){n.exports=function(n,t,e,r,o){return o(n,(function(n,o,i){e=r?(r=!1,n):t(e,n,o,i)})),e}},36060:function(n,t,e){var r=e(23059),o=e(43114),i=e(75251);n.exports=function(n,t){return i(o(n,t,r),n+"")}},82857:function(n,t,e){var r=e(60091),o=e(17297),i=e(39045),u=e(29259),a=e(33812);n.exports=function(n,t,e,c){if(!u(n))return n;for(var f=-1,s=(t=o(t,n)).length,d=s-1,p=n;null!=p&&++f<s;){var h=a(t[f]),v=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return n;if(f!=d){var l=p[h];void 0===(v=c?c(l,h,p):void 0)&&(v=u(l)?l:i(t[f+1])?[]:{})}r(p,h,v),p=p[h]}return n}},86532:function(n,t,e){var r=e(86874),o=e(83043),i=e(23059),u=o?function(n,t){return o(n,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;n.exports=u},27095:function(n){n.exports=function(n,t){var e=n.length;for(n.sort(t);e--;)n[e]=n[e].value;return n}},36473:function(n){n.exports=function(n,t){for(var e=-1,r=Array(n);++e<n;)r[e]=t(e);return r}},1054:function(n,t,e){var r=e(50857),o=e(50343),i=e(86152),u=e(4795),a=r?r.prototype:void 0,c=a?a.toString:void 0;n.exports=function n(t){if("string"==typeof t)return t;if(i(t))return o(t,n)+"";if(u(t))return c?c.call(t):"";var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},51704:function(n,t,e){var r=e(52153),o=/^\s+/;n.exports=function(n){return n?n.slice(0,r(n)+1).replace(o,""):n}},47826:function(n){n.exports=function(n){return function(t){return n(t)}}},67326:function(n,t,e){var r=e(45386),o=e(38333),i=e(34893),u=e(59950),a=e(78803),c=e(16909);n.exports=function(n,t,e){var f=-1,s=o,d=n.length,p=!0,h=[],v=h;if(e)p=!1,s=i;else if(d>=200){var l=t?null:a(n);if(l)return c(l);p=!1,s=u,v=new r}else v=t?[]:h;n:for(;++f<d;){var g=n[f],y=t?t(g):g;if(g=e||0!==g?g:0,p&&y===y){for(var b=v.length;b--;)if(v[b]===y)continue n;t&&v.push(y),h.push(g)}else s(v,y,e)||(v!==h&&v.push(y),h.push(g))}return h}},50753:function(n,t,e){var r=e(50343);n.exports=function(n,t){return r(t,(function(t){return n[t]}))}},40509:function(n){n.exports=function(n,t,e){for(var r=-1,o=n.length,i=t.length,u={};++r<o;){var a=r<i?t[r]:void 0;e(u,n[r],a)}return u}},59950:function(n){n.exports=function(n,t){return n.has(t)}},89419:function(n,t,e){var r=e(23059);n.exports=function(n){return"function"==typeof n?n:r}},17297:function(n,t,e){var r=e(86152),o=e(21401),i=e(54452),u=e(66188);n.exports=function(n,t){return r(n)?n:o(n,t)?[n]:i(u(n))}},79882:function(n,t,e){var r=e(79162);n.exports=function(n){var t=new n.constructor(n.byteLength);return new r(t).set(new r(n)),t}},92175:function(n,t,e){n=e.nmd(n);var r=e(37772),o=t&&!t.nodeType&&t,i=o&&n&&!n.nodeType&&n,u=i&&i.exports===o?r.Buffer:void 0,a=u?u.allocUnsafe:void 0;n.exports=function(n,t){if(t)return n.slice();var e=n.length,r=a?a(e):new n.constructor(e);return n.copy(r),r}},34727:function(n,t,e){var r=e(79882);n.exports=function(n,t){var e=t?r(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.byteLength)}},96058:function(n){var t=/\w*$/;n.exports=function(n){var e=new n.constructor(n.source,t.exec(n));return e.lastIndex=n.lastIndex,e}},70169:function(n,t,e){var r=e(50857),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;n.exports=function(n){return i?Object(i.call(n)):{}}},6190:function(n,t,e){var r=e(79882);n.exports=function(n,t){var e=t?r(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}},27520:function(n,t,e){var r=e(4795);n.exports=function(n,t){if(n!==t){var e=void 0!==n,o=null===n,i=n===n,u=r(n),a=void 0!==t,c=null===t,f=t===t,s=r(t);if(!c&&!s&&!u&&n>t||u&&a&&f&&!c&&!s||o&&a&&f||!e&&f||!i)return 1;if(!o&&!u&&!s&&n<t||s&&e&&i&&!o&&!u||c&&e&&i||!a&&i||!f)return-1}return 0}},18477:function(n,t,e){var r=e(27520);n.exports=function(n,t,e){for(var o=-1,i=n.criteria,u=t.criteria,a=i.length,c=e.length;++o<a;){var f=r(i[o],u[o]);if(f)return o>=c?f:f*("desc"==e[o]?-1:1)}return n.index-t.index}},51522:function(n){n.exports=function(n,t){var e=-1,r=n.length;for(t||(t=Array(r));++e<r;)t[e]=n[e];return t}},752:function(n,t,e){var r=e(60091),o=e(13940);n.exports=function(n,t,e,i){var u=!e;e||(e={});for(var a=-1,c=t.length;++a<c;){var f=t[a],s=i?i(e[f],n[f],f,e,n):void 0;void 0===s&&(s=n[f]),u?o(e,f,s):r(e,f,s)}return e}},7680:function(n,t,e){var r=e(752),o=e(80633);n.exports=function(n,t){return r(n,o(n),t)}},19987:function(n,t,e){var r=e(752),o=e(12680);n.exports=function(n,t){return r(n,o(n),t)}},24019:function(n,t,e){var r=e(37772)["__core-js_shared__"];n.exports=r},97263:function(n,t,e){var r=e(36060),o=e(82406);n.exports=function(n){return r((function(t,e){var r=-1,i=e.length,u=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(u=n.length>3&&"function"==typeof u?(i--,u):void 0,a&&o(e[0],e[1],a)&&(u=i<3?void 0:u,i=1),t=Object(t);++r<i;){var c=e[r];c&&n(t,c,r,u)}return t}))}},92019:function(n,t,e){var r=e(67878);n.exports=function(n,t){return function(e,o){if(null==e)return e;if(!r(e))return n(e,o);for(var i=e.length,u=t?i:-1,a=Object(e);(t?u--:++u<i)&&!1!==o(a[u],u,a););return e}}},55463:function(n){n.exports=function(n){return function(t,e,r){for(var o=-1,i=Object(t),u=r(t),a=u.length;a--;){var c=u[n?a:++o];if(!1===e(i[c],c,i))break}return t}}},98776:function(n,t,e){var r=e(68286),o=e(67878),i=e(90249);n.exports=function(n){return function(t,e,u){var a=Object(t);if(!o(t)){var c=r(e,3);t=i(t),e=function(n){return c(a[n],n,a)}}var f=n(t,e,u);return f>-1?a[c?t[f]:f]:void 0}}},82941:function(n,t,e){var r=e(93228),o=e(82406),i=e(5707);n.exports=function(n){return function(t,e,u){return u&&"number"!=typeof u&&o(t,e,u)&&(e=u=void 0),t=i(t),void 0===e?(e=t,t=0):e=i(e),u=void 0===u?t<e?1:-1:i(u),r(t,e,u,n)}}},78803:function(n,t,e){var r=e(2143),o=e(34291),i=e(16909),u=r&&1/i(new r([,-0]))[1]==1/0?function(n){return new r(n)}:o;n.exports=u},83043:function(n,t,e){var r=e(38761),o=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch(t){}}();n.exports=o},74871:function(n,t,e){var r=e(45386),o=e(87064),i=e(59950);n.exports=function(n,t,e,u,a,c){var f=1&e,s=n.length,d=t.length;if(s!=d&&!(f&&d>s))return!1;var p=c.get(n),h=c.get(t);if(p&&h)return p==t&&h==n;var v=-1,l=!0,g=2&e?new r:void 0;for(c.set(n,t),c.set(t,n);++v<s;){var y=n[v],b=t[v];if(u)var x=f?u(b,y,v,t,n,c):u(y,b,v,n,t,c);if(void 0!==x){if(x)continue;l=!1;break}if(g){if(!o(t,(function(n,t){if(!i(g,t)&&(y===n||a(y,n,e,u,c)))return g.push(t)}))){l=!1;break}}else if(y!==b&&!a(y,b,e,u,c)){l=!1;break}}return c.delete(n),c.delete(t),l}},11491:function(n,t,e){var r=e(50857),o=e(79162),i=e(41225),u=e(74871),a=e(75179),c=e(16909),f=r?r.prototype:void 0,s=f?f.valueOf:void 0;n.exports=function(n,t,e,r,f,d,p){switch(e){case"[object DataView]":if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(n.byteLength!=t.byteLength||!d(new o(n),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+n,+t);case"[object Error]":return n.name==t.name&&n.message==t.message;case"[object RegExp]":case"[object String]":return n==t+"";case"[object Map]":var h=a;case"[object Set]":var v=1&r;if(h||(h=c),n.size!=t.size&&!v)return!1;var l=p.get(n);if(l)return l==t;r|=2,p.set(n,t);var g=u(h(n),h(t),r,f,d,p);return p.delete(n),g;case"[object Symbol]":if(s)return s.call(n)==s.call(t)}return!1}},17416:function(n,t,e){var r=e(13483),o=Object.prototype.hasOwnProperty;n.exports=function(n,t,e,i,u,a){var c=1&e,f=r(n),s=f.length;if(s!=r(t).length&&!c)return!1;for(var d=s;d--;){var p=f[d];if(!(c?p in t:o.call(t,p)))return!1}var h=a.get(n),v=a.get(t);if(h&&v)return h==t&&v==n;var l=!0;a.set(n,t),a.set(t,n);for(var g=c;++d<s;){var y=n[p=f[d]],b=t[p];if(i)var x=c?i(b,y,p,t,n,a):i(y,b,p,n,t,a);if(!(void 0===x?y===b||u(y,b,e,i,a):x)){l=!1;break}g||(g="constructor"==p)}if(l&&!g){var m=n.constructor,w=t.constructor;m==w||!("constructor"in n)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w||(l=!1)}return a.delete(n),a.delete(t),l}},29097:function(n,t,e){var r=e(35676),o=e(43114),i=e(75251);n.exports=function(n){return i(o(n,void 0,r),n+"")}},51242:function(n,t,e){var r="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;n.exports=r},13483:function(n,t,e){var r=e(1897),o=e(80633),i=e(90249);n.exports=function(n){return r(n,i,o)}},76939:function(n,t,e){var r=e(1897),o=e(12680),i=e(18582);n.exports=function(n){return r(n,i,o)}},27937:function(n,t,e){var r=e(98304);n.exports=function(n,t){var e=n.__data__;return r(t)?e["string"==typeof t?"string":"hash"]:e.map}},49882:function(n,t,e){var r=e(28792),o=e(90249);n.exports=function(n){for(var t=o(n),e=t.length;e--;){var i=t[e],u=n[i];t[e]=[i,u,r(u)]}return t}},38761:function(n,t,e){var r=e(6840),o=e(98109);n.exports=function(n,t){var e=o(n,t);return r(e)?e:void 0}},47353:function(n,t,e){var r=e(60241)(Object.getPrototypeOf,Object);n.exports=r},62107:function(n,t,e){var r=e(50857),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,a=r?r.toStringTag:void 0;n.exports=function(n){var t=i.call(n,a),e=n[a];try{n[a]=void 0;var r=!0}catch(c){}var o=u.call(n);return r&&(t?n[a]=e:delete n[a]),o}},80633:function(n,t,e){var r=e(67552),o=e(30981),i=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols,a=u?function(n){return null==n?[]:(n=Object(n),r(u(n),(function(t){return i.call(n,t)})))}:o;n.exports=a},12680:function(n,t,e){var r=e(65067),o=e(47353),i=e(80633),u=e(30981),a=Object.getOwnPropertySymbols?function(n){for(var t=[];n;)r(t,i(n)),n=o(n);return t}:u;n.exports=a},70940:function(n,t,e){var r=e(39515),o=e(10326),i=e(52760),u=e(2143),a=e(93215),c=e(53366),f=e(87035),s="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",v="[object DataView]",l=f(r),g=f(o),y=f(i),b=f(u),x=f(a),m=c;(r&&m(new r(new ArrayBuffer(1)))!=v||o&&m(new o)!=s||i&&m(i.resolve())!=d||u&&m(new u)!=p||a&&m(new a)!=h)&&(m=function(n){var t=c(n),e="[object Object]"==t?n.constructor:void 0,r=e?f(e):"";if(r)switch(r){case l:return v;case g:return s;case y:return d;case b:return p;case x:return h}return t}),n.exports=m},98109:function(n){n.exports=function(n,t){return null==n?void 0:n[t]}},1369:function(n,t,e){var r=e(17297),o=e(79631),i=e(86152),u=e(39045),a=e(61158),c=e(33812);n.exports=function(n,t,e){for(var f=-1,s=(t=r(t,n)).length,d=!1;++f<s;){var p=c(t[f]);if(!(d=null!=n&&e(n,p)))break;n=n[p]}return d||++f!=s?d:!!(s=null==n?0:n.length)&&a(s)&&u(p,s)&&(i(n)||o(n))}},33880:function(n){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");n.exports=function(n){return t.test(n)}},52118:function(n,t,e){var r=e(99191);n.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:function(n){n.exports=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t}},98138:function(n,t,e){var r=e(99191),o=Object.prototype.hasOwnProperty;n.exports=function(n){var t=this.__data__;if(r){var e=t[n];return"__lodash_hash_undefined__"===e?void 0:e}return o.call(t,n)?t[n]:void 0}},4174:function(n,t,e){var r=e(99191),o=Object.prototype.hasOwnProperty;n.exports=function(n){var t=this.__data__;return r?void 0!==t[n]:o.call(t,n)}},7942:function(n,t,e){var r=e(99191);n.exports=function(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},99917:function(n){var t=Object.prototype.hasOwnProperty;n.exports=function(n){var e=n.length,r=new n.constructor(e);return e&&"string"==typeof n[0]&&t.call(n,"index")&&(r.index=n.index,r.input=n.input),r}},8222:function(n,t,e){var r=e(79882),o=e(34727),i=e(96058),u=e(70169),a=e(6190);n.exports=function(n,t,e){var c=n.constructor;switch(t){case"[object ArrayBuffer]":return r(n);case"[object Boolean]":case"[object Date]":return new c(+n);case"[object DataView]":return o(n,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(n,e);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(n);case"[object RegExp]":return i(n);case"[object Set]":return new c;case"[object Symbol]":return u(n)}}},78725:function(n,t,e){var r=e(39413),o=e(47353),i=e(16001);n.exports=function(n){return"function"!=typeof n.constructor||i(n)?{}:r(o(n))}},95882:function(n,t,e){var r=e(50857),o=e(79631),i=e(86152),u=r?r.isConcatSpreadable:void 0;n.exports=function(n){return i(n)||o(n)||!!(u&&n&&n[u])}},39045:function(n){var t=/^(?:0|[1-9]\d*)$/;n.exports=function(n,e){var r=typeof n;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&t.test(n))&&n>-1&&n%1==0&&n<e}},82406:function(n,t,e){var r=e(41225),o=e(67878),i=e(39045),u=e(29259);n.exports=function(n,t,e){if(!u(e))return!1;var a=typeof t;return!!("number"==a?o(e)&&i(t,e.length):"string"==a&&t in e)&&r(e[t],n)}},21401:function(n,t,e){var r=e(86152),o=e(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;n.exports=function(n,t){if(r(n))return!1;var e=typeof n;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=n&&!o(n))||(u.test(n)||!i.test(n)||null!=t&&n in Object(t))}},98304:function(n){n.exports=function(n){var t=typeof n;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==n:null===n}},47394:function(n,t,e){var r=e(24019),o=function(){var n=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();n.exports=function(n){return!!o&&o in n}},16001:function(n){var t=Object.prototype;n.exports=function(n){var e=n&&n.constructor;return n===("function"==typeof e&&e.prototype||t)}},28792:function(n,t,e){var r=e(29259);n.exports=function(n){return n===n&&!r(n)}},3945:function(n){n.exports=function(){this.__data__=[],this.size=0}},21846:function(n,t,e){var r=e(22218),o=Array.prototype.splice;n.exports=function(n){var t=this.__data__,e=r(t,n);return!(e<0)&&(e==t.length-1?t.pop():o.call(t,e,1),--this.size,!0)}},88028:function(n,t,e){var r=e(22218);n.exports=function(n){var t=this.__data__,e=r(t,n);return e<0?void 0:t[e][1]}},72344:function(n,t,e){var r=e(22218);n.exports=function(n){return r(this.__data__,n)>-1}},94769:function(n,t,e){var r=e(22218);n.exports=function(n,t){var e=this.__data__,o=r(e,n);return o<0?(++this.size,e.push([n,t])):e[o][1]=t,this}},92411:function(n,t,e){var r=e(89612),o=e(80235),i=e(10326);n.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:function(n,t,e){var r=e(27937);n.exports=function(n){var t=r(this,n).delete(n);return this.size-=t?1:0,t}},86928:function(n,t,e){var r=e(27937);n.exports=function(n){return r(this,n).get(n)}},79493:function(n,t,e){var r=e(27937);n.exports=function(n){return r(this,n).has(n)}},24150:function(n,t,e){var r=e(27937);n.exports=function(n,t){var e=r(this,n),o=e.size;return e.set(n,t),this.size+=e.size==o?0:1,this}},75179:function(n){n.exports=function(n){var t=-1,e=Array(n.size);return n.forEach((function(n,r){e[++t]=[r,n]})),e}},73477:function(n){n.exports=function(n,t){return function(e){return null!=e&&(e[n]===t&&(void 0!==t||n in Object(e)))}}},77777:function(n,t,e){var r=e(30733);n.exports=function(n){var t=r(n,(function(n){return 500===e.size&&e.clear(),n})),e=t.cache;return t}},99191:function(n,t,e){var r=e(38761)(Object,"create");n.exports=r},54248:function(n,t,e){var r=e(60241)(Object.keys,Object);n.exports=r},62966:function(n){n.exports=function(n){var t=[];if(null!=n)for(var e in Object(n))t.push(e);return t}},4146:function(n,t,e){n=e.nmd(n);var r=e(51242),o=t&&!t.nodeType&&t,i=o&&n&&!n.nodeType&&n,u=i&&i.exports===o&&r.process,a=function(){try{var n=i&&i.require&&i.require("util").types;return n||u&&u.binding&&u.binding("util")}catch(t){}}();n.exports=a},37157:function(n){var t=Object.prototype.toString;n.exports=function(n){return t.call(n)}},60241:function(n){n.exports=function(n,t){return function(e){return n(t(e))}}},43114:function(n,t,e){var r=e(49432),o=Math.max;n.exports=function(n,t,e){return t=o(void 0===t?n.length-1:t,0),function(){for(var i=arguments,u=-1,a=o(i.length-t,0),c=Array(a);++u<a;)c[u]=i[t+u];u=-1;for(var f=Array(t+1);++u<t;)f[u]=i[u];return f[t]=e(c),r(n,this,f)}}},37772:function(n,t,e){var r=e(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();n.exports=i},52434:function(n){n.exports=function(n,t){if(("constructor"!==t||"function"!==typeof n[t])&&"__proto__"!=t)return n[t]}},52842:function(n){n.exports=function(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this}},52482:function(n){n.exports=function(n){return this.__data__.has(n)}},16909:function(n){n.exports=function(n){var t=-1,e=Array(n.size);return n.forEach((function(n){e[++t]=n})),e}},75251:function(n,t,e){var r=e(86532),o=e(97787)(r);n.exports=o},97787:function(n){var t=Date.now;n.exports=function(n){var e=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++e>=800)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}},15243:function(n,t,e){var r=e(80235);n.exports=function(){this.__data__=new r,this.size=0}},72858:function(n){n.exports=function(n){var t=this.__data__,e=t.delete(n);return this.size=t.size,e}},4417:function(n){n.exports=function(n){return this.__data__.get(n)}},8605:function(n){n.exports=function(n){return this.__data__.has(n)}},71418:function(n,t,e){var r=e(80235),o=e(10326),i=e(96738);n.exports=function(n,t){var e=this.__data__;if(e instanceof r){var u=e.__data__;if(!o||u.length<199)return u.push([n,t]),this.size=++e.size,this;e=this.__data__=new i(u)}return e.set(n,t),this.size=e.size,this}},66024:function(n){n.exports=function(n,t,e){for(var r=e-1,o=n.length;++r<o;)if(n[r]===t)return r;return-1}},82302:function(n,t,e){var r=e(8589),o=e(33880),i=e(35555);n.exports=function(n){return o(n)?i(n):r(n)}},54452:function(n,t,e){var r=e(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r((function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(o,(function(n,e,r,o){t.push(r?o.replace(i,"$1"):e||n)})),t}));n.exports=u},33812:function(n,t,e){var r=e(4795);n.exports=function(n){if("string"==typeof n||r(n))return n;var t=n+"";return"0"==t&&1/n==-Infinity?"-0":t}},87035:function(n){var t=Function.prototype.toString;n.exports=function(n){if(null!=n){try{return t.call(n)}catch(e){}try{return n+""}catch(e){}}return""}},52153:function(n){var t=/\s/;n.exports=function(n){for(var e=n.length;e--&&t.test(n.charAt(e)););return e}},35555:function(n){var t="[\\ud800-\\udfff]",e="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+e+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?",f=c+a+("(?:\\u200d(?:"+[o,i,u].join("|")+")"+c+a+")*"),s="(?:"+[o+e+"?",e,i,u,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+s+f,"g");n.exports=function(n){for(var t=d.lastIndex=0;d.test(n);)++t;return t}},54004:function(n,t,e){var r=e(18874);n.exports=function(n){return r(n,4)}},9850:function(n,t,e){var r=e(18874);n.exports=function(n){return r(n,5)}},86874:function(n){n.exports=function(n){return function(){return n}}},84573:function(n,t,e){var r=e(36060),o=e(41225),i=e(82406),u=e(18582),a=Object.prototype,c=a.hasOwnProperty,f=r((function(n,t){n=Object(n);var e=-1,r=t.length,f=r>2?t[2]:void 0;for(f&&i(t[0],t[1],f)&&(r=1);++e<r;)for(var s=t[e],d=u(s),p=-1,h=d.length;++p<h;){var v=d[p],l=n[v];(void 0===l||o(l,a[v])&&!c.call(n,v))&&(n[v]=s[v])}return n}));n.exports=f},79421:function(n,t,e){n.exports=e(59756)},41225:function(n){n.exports=function(n,t){return n===t||n!==n&&t!==t}},90882:function(n,t,e){var r=e(67552),o=e(98043),i=e(68286),u=e(86152);n.exports=function(n,t){return(u(n)?r:o)(n,i(t,3))}},55281:function(n,t,e){var r=e(98776)(e(12982));n.exports=r},12982:function(n,t,e){var r=e(21359),o=e(68286),i=e(38101),u=Math.max;n.exports=function(n,t,e){var a=null==n?0:n.length;if(!a)return-1;var c=null==e?0:i(e);return c<0&&(c=u(a+c,0)),r(n,o(t,3),c)}},35676:function(n,t,e){var r=e(62034);n.exports=function(n){return(null==n?0:n.length)?r(n,1):[]}},59756:function(n,t,e){var r=e(72517),o=e(24303),i=e(89419),u=e(86152);n.exports=function(n,t){return(u(n)?r:o)(n,i(t))}},20792:function(n,t,e){var r=e(15308),o=e(89419),i=e(18582);n.exports=function(n,t){return null==n?n:r(n,o(t),i)}},72579:function(n,t,e){var r=e(13324);n.exports=function(n,t,e){var o=null==n?void 0:r(n,t);return void 0===o?e:o}},93352:function(n,t,e){var r=e(32726),o=e(1369);n.exports=function(n,t){return null!=n&&o(n,t,r)}},95041:function(n,t,e){var r=e(20187),o=e(1369);n.exports=function(n,t){return null!=n&&o(n,t,r)}},23059:function(n){n.exports=function(n){return n}},79631:function(n,t,e){var r=e(15183),o=e(15125),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(n){return o(n)&&u.call(n,"callee")&&!a.call(n,"callee")};n.exports=c},86152:function(n){var t=Array.isArray;n.exports=t},67878:function(n,t,e){var r=e(61049),o=e(61158);n.exports=function(n){return null!=n&&o(n.length)&&!r(n)}},93746:function(n,t,e){var r=e(67878),o=e(15125);n.exports=function(n){return o(n)&&r(n)}},73226:function(n,t,e){n=e.nmd(n);var r=e(37772),o=e(79207),i=t&&!t.nodeType&&t,u=i&&n&&!n.nodeType&&n,a=u&&u.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||o;n.exports=c},45455:function(n,t,e){var r=e(86411),o=e(70940),i=e(79631),u=e(86152),a=e(67878),c=e(73226),f=e(16001),s=e(77598),d=Object.prototype.hasOwnProperty;n.exports=function(n){if(null==n)return!0;if(a(n)&&(u(n)||"string"==typeof n||"function"==typeof n.splice||c(n)||s(n)||i(n)))return!n.length;var t=o(n);if("[object Map]"==t||"[object Set]"==t)return!n.size;if(f(n))return!r(n).length;for(var e in n)if(d.call(n,e))return!1;return!0}},61049:function(n,t,e){var r=e(53366),o=e(29259);n.exports=function(n){if(!o(n))return!1;var t=r(n);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},61158:function(n){n.exports=function(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}},4714:function(n,t,e){var r=e(74511),o=e(47826),i=e(4146),u=i&&i.isMap,a=u?o(u):r;n.exports=a},29259:function(n){n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},15125:function(n){n.exports=function(n){return null!=n&&"object"==typeof n}},97030:function(n,t,e){var r=e(53366),o=e(47353),i=e(15125),u=Function.prototype,a=Object.prototype,c=u.toString,f=a.hasOwnProperty,s=c.call(Object);n.exports=function(n){if(!i(n)||"[object Object]"!=r(n))return!1;var t=o(n);if(null===t)return!0;var e=f.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==s}},43679:function(n,t,e){var r=e(8109),o=e(47826),i=e(4146),u=i&&i.isSet,a=u?o(u):r;n.exports=a},85505:function(n,t,e){var r=e(53366),o=e(86152),i=e(15125);n.exports=function(n){return"string"==typeof n||!o(n)&&i(n)&&"[object String]"==r(n)}},4795:function(n,t,e){var r=e(53366),o=e(15125);n.exports=function(n){return"symbol"==typeof n||o(n)&&"[object Symbol]"==r(n)}},77598:function(n,t,e){var r=e(35522),o=e(47826),i=e(4146),u=i&&i.isTypedArray,a=u?o(u):r;n.exports=a},84336:function(n){n.exports=function(n){return void 0===n}},90249:function(n,t,e){var r=e(1634),o=e(86411),i=e(67878);n.exports=function(n){return i(n)?r(n):o(n)}},18582:function(n,t,e){var r=e(1634),o=e(18390),i=e(67878);n.exports=function(n){return i(n)?r(n,!0):o(n)}},56974:function(n){n.exports=function(n){var t=null==n?0:n.length;return t?n[t-1]:void 0}},16760:function(n,t,e){var r=e(50343),o=e(68286),i=e(93401),u=e(86152);n.exports=function(n,t){return(u(n)?r:i)(n,o(t,3))}},34519:function(n,t,e){var r=e(13940),o=e(26548),i=e(68286);n.exports=function(n,t){var e={};return t=i(t,3),o(n,(function(n,o,i){r(e,o,t(n,o,i))})),e}},71644:function(n,t,e){var r=e(2229),o=e(84134),i=e(23059);n.exports=function(n){return n&&n.length?r(n,i,o):void 0}},30733:function(n,t,e){var r=e(96738);function o(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var e=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var u=n.apply(this,r);return e.cache=i.set(o,u)||i,u};return e.cache=new(o.Cache||r),e}o.Cache=r,n.exports=o},98537:function(n,t,e){var r=e(84565),o=e(97263)((function(n,t,e){r(n,t,e)}));n.exports=o},65680:function(n,t,e){var r=e(2229),o=e(17606),i=e(23059);n.exports=function(n){return n&&n.length?r(n,i,o):void 0}},10937:function(n,t,e){var r=e(2229),o=e(68286),i=e(17606);n.exports=function(n,t){return n&&n.length?r(n,o(t,2),i):void 0}},34291:function(n){n.exports=function(){}},61100:function(n,t,e){var r=e(37772);n.exports=function(){return r.Date.now()}},13888:function(n,t,e){var r=e(92602),o=e(29097)((function(n,t){return null==n?{}:r(n,t)}));n.exports=o},65798:function(n,t,e){var r=e(20256),o=e(82952),i=e(21401),u=e(33812);n.exports=function(n){return i(n)?r(u(n)):o(n)}},2689:function(n,t,e){var r=e(82941)();n.exports=r},58215:function(n,t,e){var r=e(81207),o=e(24303),i=e(68286),u=e(5877),a=e(86152);n.exports=function(n,t,e){var c=a(n)?r:u,f=arguments.length<3;return c(n,i(t,4),e,f,o)}},36402:function(n,t,e){var r=e(86411),o=e(70940),i=e(67878),u=e(85505),a=e(82302);n.exports=function(n){if(null==n)return 0;if(i(n))return u(n)?a(n):n.length;var t=o(n);return"[object Map]"==t||"[object Set]"==t?n.size:r(n).length}},829:function(n,t,e){var r=e(62034),o=e(23813),i=e(36060),u=e(82406),a=i((function(n,t){if(null==n)return[];var e=t.length;return e>1&&u(n,t[0],t[1])?t=[]:e>2&&u(t[0],t[1],t[2])&&(t=[t[0]]),o(n,r(t,1),[])}));n.exports=a},30981:function(n){n.exports=function(){return[]}},79207:function(n){n.exports=function(){return!1}},5707:function(n,t,e){var r=e(7642),o=1/0;n.exports=function(n){return n?(n=r(n))===o||n===-1/0?17976931348623157e292*(n<0?-1:1):n===n?n:0:0===n?n:0}},38101:function(n,t,e){var r=e(5707);n.exports=function(n){var t=r(n),e=t%1;return t===t?e?t-e:t:0}},7642:function(n,t,e){var r=e(51704),o=e(29259),i=e(4795),u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(i(n))return NaN;if(o(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=o(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=r(n);var e=a.test(n);return e||c.test(n)?f(n.slice(2),e?2:8):u.test(n)?NaN:+n}},63329:function(n,t,e){var r=e(752),o=e(18582);n.exports=function(n){return r(n,o(n))}},66188:function(n,t,e){var r=e(1054);n.exports=function(n){return null==n?"":r(n)}},89466:function(n,t,e){var r=e(72517),o=e(39413),i=e(26548),u=e(68286),a=e(47353),c=e(86152),f=e(73226),s=e(61049),d=e(29259),p=e(77598);n.exports=function(n,t,e){var h=c(n),v=h||f(n)||p(n);if(t=u(t,4),null==e){var l=n&&n.constructor;e=v?h?new l:[]:d(n)&&s(l)?o(a(n)):{}}return(v?r:i)(n,(function(n,r,o){return t(e,n,r,o)})),e}},26139:function(n,t,e){var r=e(62034),o=e(36060),i=e(67326),u=e(93746),a=o((function(n){return i(r(n,1,u,!0))}));n.exports=a},74930:function(n,t,e){var r=e(66188),o=0;n.exports=function(n){var t=++o;return r(n)+t}},98346:function(n,t,e){var r=e(50753),o=e(90249);n.exports=function(n){return null==n?[]:r(n,o(n))}},46150:function(n,t,e){var r=e(60091),o=e(40509);n.exports=function(n,t){return o(n||[],t||[],r)}},23816:function(n,t,e){"use strict";var r=e(2784),o=e(30876);function i(n){return n&&"object"===typeof n&&"default"in n?n:{default:n}}function u(n){if(n&&n.__esModule)return n;var t=Object.create(null);return n&&Object.keys(n).forEach((function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return n[e]}})}})),t.default=n,Object.freeze(t)}var a=i(r),c=u(o);"undefined"!==typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(n){var t=Date.now();return setTimeout((function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(n){clearTimeout(n)}),t.R=function({compiledSource:n,scope:t,components:e={},lazy:o}){const[i,u]=r.useState(!o||"undefined"===typeof window);r.useEffect((()=>{if(o){const n=window.requestIdleCallback((()=>{u(!0)}));return()=>window.cancelIdleCallback(n)}}),[]);const f=r.useMemo((()=>{const e=Object.assign({mdx:c.mdx,React:a.default},t),r=Object.keys(e),o=Object.values(e),i=Reflect.construct(Function,r.concat(`${n}; return MDXContent;`));return i.apply(i,o)}),[t,n]);if(!i)return a.default.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});const s=a.default.createElement(c.MDXProvider,{components:e},a.default.createElement(f,null));return o?a.default.createElement("div",null,s):s}}}]);
|