@jini-ai/provider-plugins 0.7.3-next.2 → 0.7.3-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog.json +25 -20
- package/dist/model-proxy-anthropic/index.d.ts +18 -0
- package/dist/model-proxy-anthropic/index.js +32 -0
- package/dist/model-proxy-azure/index.d.ts +19 -0
- package/dist/model-proxy-azure/index.js +32 -0
- package/dist/model-proxy-google/index.d.ts +18 -0
- package/dist/model-proxy-google/index.js +25 -0
- package/dist/model-proxy-ollama/index.d.ts +8 -0
- package/dist/model-proxy-ollama/index.js +13 -0
- package/dist/model-proxy-openai/index.d.ts +8 -0
- package/dist/model-proxy-openai/index.js +13 -0
- package/dist/observability-opentelemetry/otel-port.d.ts +3 -1
- package/dist/observability-opentelemetry/otel-port.js +20 -7
- package/dist/xai/media/index.d.ts +67 -0
- package/dist/xai/media/index.js +132 -0
- package/dist/xai/oauth-port.d.ts +132 -0
- package/dist/xai/oauth-port.js +5 -0
- package/dist/xai/preset.d.ts +22 -0
- package/dist/xai/preset.js +28 -0
- package/dist/xai/routes.d.ts +108 -0
- package/dist/xai/routes.js +658 -0
- package/package.json +67 -26
- package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +3 -3
- package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +2 -2
- package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/README.md +1 -1
- package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +4 -4
- package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +2 -2
- package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/client/provider.js +1 -1
- package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +3 -3
- package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
- package/plugins/fixture-provider/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/fixture-provider/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/formspree/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/formspree/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/google-forms/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/google-forms/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/README.md +1 -1
- package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +5 -5
- package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_core/package-license.json +1 -1
- package/plugins/observability-opentelemetry/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +22 -13
- package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/README.md +1 -1
- package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +5 -5
- package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_core/package-license.json +1 -1
- package/plugins/observability-sentry/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +18 -8
- package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/jini.plugin.json +2 -2
- package/plugins/payments-stripe/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/jini.plugin.json +48 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_core/LICENSE +201 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_core/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_protocol/LICENSE +201 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_protocol/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
- package/plugins/xai/0.7.3-next.3/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/licenses/zod/LICENSE +21 -0
- package/plugins/xai/0.7.3-next.3/licenses/zod/package-license.json +5 -0
- package/plugins/xai/0.7.3-next.3/server/index.mjs +1597 -0
- package/plugins/fixture-provider/0.7.3-next.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/formspree/0.7.3-next.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/google-forms/0.7.3-next.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/observability-opentelemetry/0.7.3-next.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/observability-sentry/0.7.3-next.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- package/plugins/payments-stripe/0.7.3-next.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/README.md +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse/LICENSE-SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse/SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse/package-license.json +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse-core/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse-core/LICENSE-SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse-core/SOURCE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/langfuse-core/package-license.json +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/mustache/LICENSE +0 -0
- /package/plugins/ai-trace-langfuse/{0.7.3-next.2 → 0.7.3-next.3}/licenses/mustache/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_posthog_core/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_posthog_core/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/posthog-js/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/posthog-js/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/posthog-node/LICENSE +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/licenses/posthog-node/package-license.json +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/server/consent-adapter.mjs +0 -0
- /package/plugins/analytics-posthog/{0.7.3-next.2 → 0.7.3-next.3}/server/posthog-browser.js +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/client/styles.css +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/echarts/LICENSE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/echarts/NOTICE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/echarts/package-license.json +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/tslib/LICENSE.txt +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/tslib/package-license.json +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/zrender/LICENSE +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/zrender/package-license.json +0 -0
- /package/plugins/charts-echarts/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/client/provider.js +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/client/styles.css +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_reduxjs_toolkit/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_reduxjs_toolkit/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/clsx/license +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/clsx/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-array/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-array/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-color/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-color/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-format/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-format/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-interpolate/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-interpolate/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-path/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-path/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-scale/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-scale/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-shape/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-shape/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-time/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-time/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-time-format/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/d3-time-format/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/decimal.js-light/LICENCE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/decimal.js-light/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/es-toolkit/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/es-toolkit/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/eventemitter3/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/eventemitter3/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/immer/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/immer/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/internmap/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/internmap/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react-dom/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react-dom/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react-is/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react-is/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react-redux/LICENSE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/react-redux/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/recharts/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/recharts/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/redux/LICENSE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/redux/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/redux-thunk/LICENSE.md +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/redux-thunk/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/reselect/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/reselect/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/scheduler/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/scheduler/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/tiny-invariant/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/tiny-invariant/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/use-sync-external-store/LICENSE +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/use-sync-external-store/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/victory-vendor/LICENSE.txt +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/licenses/victory-vendor/package-license.json +0 -0
- /package/plugins/charts-recharts/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/fixture-provider/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/fixture-provider/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/fixture-provider/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/formspree/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/formspree/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/formspree/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/google-forms/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/google-forms/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/google-forms/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_core/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_api/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_api/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_api-logs/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_api-logs/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_context-async-hooks/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_context-async-hooks/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_core/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_core/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-exporter-base/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-exporter-base/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-transformer/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_otlp-transformer/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_resources/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_resources/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-metrics/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-metrics/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-base/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-base/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-node/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_sdk-trace-node/package-license.json +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_semantic-conventions/LICENSE +0 -0
- /package/plugins/observability-opentelemetry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_semantic-conventions/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_core/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_api/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_opentelemetry_api/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_conventions/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_conventions/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_core/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_core/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_node/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_node/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_opentelemetry/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_opentelemetry/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_server-runtime-injection/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_server-runtime-injection/LICENSE-SOURCE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_server-runtime-injection/package-license.json +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_server-utils/LICENSE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_server-utils/LICENSE-SOURCE +0 -0
- /package/plugins/observability-sentry/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_sentry_server-utils/package-license.json +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/CHANGELOG.md +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/LICENSE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/NOTICE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/README.md +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/LICENSE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/licenses/_jini-ai_provider-plugins/NOTICE +0 -0
- /package/plugins/payments-stripe/{0.7.3-next.2 → 0.7.3-next.3}/server/index.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/provider-plugins",
|
|
3
|
-
"version": "0.7.3-next.
|
|
3
|
+
"version": "0.7.3-next.3",
|
|
4
4
|
"description": "Provider runtime artifacts, independently addressable as subpaths of @jini-ai/provider-plugins. Agent-facing plugins live in @jini-ai/agent-plugins.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"./observability-opentelemetry": "node",
|
|
27
27
|
"./observability-opentelemetry/port": "node",
|
|
28
28
|
"./observability-opentelemetry/*": "node",
|
|
29
|
+
"./xai/media": "node",
|
|
30
|
+
"./model-proxy-*": "node",
|
|
29
31
|
"./observability-sentry": "node",
|
|
30
32
|
"./observability-sentry/*": "node",
|
|
31
33
|
"./payments-stripe": "node",
|
|
@@ -34,7 +36,12 @@
|
|
|
34
36
|
"./formspree": "node",
|
|
35
37
|
"./formspree/*": "node",
|
|
36
38
|
"./google-forms": "node",
|
|
37
|
-
"./google-forms/*": "node"
|
|
39
|
+
"./google-forms/*": "node",
|
|
40
|
+
"./xai": "node",
|
|
41
|
+
"./xai/routes": "node",
|
|
42
|
+
"./xai/preset": "node",
|
|
43
|
+
"./xai/oauth-port": "node",
|
|
44
|
+
"./xai/*": "node"
|
|
38
45
|
}
|
|
39
46
|
},
|
|
40
47
|
"exports": {
|
|
@@ -43,28 +50,61 @@
|
|
|
43
50
|
"./charts-echarts/*": "./plugins/charts-echarts/*",
|
|
44
51
|
"./charts-recharts/*": "./plugins/charts-recharts/*",
|
|
45
52
|
"./plugins/*": "./plugins/*",
|
|
46
|
-
"./ai-trace-langfuse": "./plugins/ai-trace-langfuse/0.7.3-next.
|
|
53
|
+
"./ai-trace-langfuse": "./plugins/ai-trace-langfuse/0.7.3-next.3/jini.plugin.json",
|
|
47
54
|
"./ai-trace-langfuse/*": "./plugins/ai-trace-langfuse/*",
|
|
48
|
-
"./analytics-posthog": "./plugins/analytics-posthog/0.7.3-next.
|
|
55
|
+
"./analytics-posthog": "./plugins/analytics-posthog/0.7.3-next.3/jini.plugin.json",
|
|
49
56
|
"./analytics-posthog/*": "./plugins/analytics-posthog/*",
|
|
50
|
-
"./observability-opentelemetry": "./plugins/observability-opentelemetry/0.7.3-next.
|
|
57
|
+
"./observability-opentelemetry": "./plugins/observability-opentelemetry/0.7.3-next.3/jini.plugin.json",
|
|
51
58
|
"./observability-opentelemetry/port": {
|
|
52
59
|
"types": "./dist/observability-opentelemetry/otel-port.d.ts",
|
|
53
60
|
"import": "./dist/observability-opentelemetry/otel-port.js"
|
|
54
61
|
},
|
|
55
62
|
"./observability-opentelemetry/*": "./plugins/observability-opentelemetry/*",
|
|
56
|
-
"./
|
|
63
|
+
"./xai/media": {
|
|
64
|
+
"types": "./dist/xai/media/index.d.ts",
|
|
65
|
+
"import": "./dist/xai/media/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./model-proxy-*": {
|
|
68
|
+
"types": "./dist/model-proxy-*/index.d.ts",
|
|
69
|
+
"import": "./dist/model-proxy-*/index.js"
|
|
70
|
+
},
|
|
71
|
+
"./observability-sentry": "./plugins/observability-sentry/0.7.3-next.3/jini.plugin.json",
|
|
57
72
|
"./observability-sentry/*": "./plugins/observability-sentry/*",
|
|
58
|
-
"./payments-stripe": "./plugins/payments-stripe/0.7.3-next.
|
|
73
|
+
"./payments-stripe": "./plugins/payments-stripe/0.7.3-next.3/jini.plugin.json",
|
|
59
74
|
"./payments-stripe/*": "./plugins/payments-stripe/*",
|
|
60
75
|
"./fixture-provider/*": "./plugins/fixture-provider/*",
|
|
61
|
-
"./formspree": "./plugins/formspree/0.7.3-next.
|
|
76
|
+
"./formspree": "./plugins/formspree/0.7.3-next.3/jini.plugin.json",
|
|
62
77
|
"./formspree/*": "./plugins/formspree/*",
|
|
63
|
-
"./google-forms": "./plugins/google-forms/0.7.3-next.
|
|
64
|
-
"./google-forms/*": "./plugins/google-forms/*"
|
|
78
|
+
"./google-forms": "./plugins/google-forms/0.7.3-next.3/jini.plugin.json",
|
|
79
|
+
"./google-forms/*": "./plugins/google-forms/*",
|
|
80
|
+
"./xai": "./plugins/xai/0.7.3-next.3/jini.plugin.json",
|
|
81
|
+
"./xai/routes": {
|
|
82
|
+
"types": "./dist/xai/routes.d.ts",
|
|
83
|
+
"import": "./dist/xai/routes.js"
|
|
84
|
+
},
|
|
85
|
+
"./xai/preset": {
|
|
86
|
+
"types": "./dist/xai/preset.d.ts",
|
|
87
|
+
"import": "./dist/xai/preset.js"
|
|
88
|
+
},
|
|
89
|
+
"./xai/oauth-port": {
|
|
90
|
+
"types": "./dist/xai/oauth-port.d.ts",
|
|
91
|
+
"import": "./dist/xai/oauth-port.js"
|
|
92
|
+
},
|
|
93
|
+
"./xai/*": "./plugins/xai/*"
|
|
65
94
|
},
|
|
66
95
|
"files": [
|
|
96
|
+
"CHANGELOG.md",
|
|
97
|
+
"LICENSE",
|
|
98
|
+
"NOTICE",
|
|
99
|
+
"README.md",
|
|
100
|
+
"catalog.json",
|
|
67
101
|
"dist/observability-opentelemetry",
|
|
102
|
+
"dist/xai",
|
|
103
|
+
"dist/model-proxy-anthropic",
|
|
104
|
+
"dist/model-proxy-azure",
|
|
105
|
+
"dist/model-proxy-google",
|
|
106
|
+
"dist/model-proxy-ollama",
|
|
107
|
+
"dist/model-proxy-openai",
|
|
68
108
|
"plugins/ai-trace-langfuse",
|
|
69
109
|
"plugins/analytics-posthog",
|
|
70
110
|
"plugins/charts-echarts",
|
|
@@ -75,17 +115,19 @@
|
|
|
75
115
|
"plugins/observability-opentelemetry",
|
|
76
116
|
"plugins/observability-sentry",
|
|
77
117
|
"plugins/payments-stripe",
|
|
78
|
-
"
|
|
79
|
-
"README.md",
|
|
80
|
-
"CHANGELOG.md",
|
|
81
|
-
"LICENSE",
|
|
82
|
-
"NOTICE"
|
|
118
|
+
"plugins/xai"
|
|
83
119
|
],
|
|
84
120
|
"publishConfig": {
|
|
85
121
|
"access": "public",
|
|
86
122
|
"registry": "https://registry.npmjs.org"
|
|
87
123
|
},
|
|
124
|
+
"peerDependencies": {
|
|
125
|
+
"@jini-ai/core": "^0.7.3-next.3",
|
|
126
|
+
"@jini-ai/protocol": "^0.7.3-next.3"
|
|
127
|
+
},
|
|
88
128
|
"devDependencies": {
|
|
129
|
+
"@jini-ai/core": "^0.7.3-next.3",
|
|
130
|
+
"@jini-ai/protocol": "^0.7.3-next.3",
|
|
89
131
|
"@opentelemetry/api": "^1.9.1",
|
|
90
132
|
"@opentelemetry/otlp-exporter-base": "^0.221.0",
|
|
91
133
|
"@opentelemetry/otlp-transformer": "^0.221.0",
|
|
@@ -111,20 +153,19 @@
|
|
|
111
153
|
"recharts": "3.10.1",
|
|
112
154
|
"tsx": "^4.19.0",
|
|
113
155
|
"typescript": "^5.9.3",
|
|
114
|
-
"@jini-ai/agent-runtime": "^0.7.3-next.
|
|
115
|
-
"@jini-ai/
|
|
116
|
-
"@jini-ai/
|
|
117
|
-
"@jini-ai/analytics": "^0.7.3-next.2",
|
|
156
|
+
"@jini-ai/agent-runtime": "^0.7.3-next.3",
|
|
157
|
+
"@jini-ai/analytics": "^0.7.3-next.3",
|
|
158
|
+
"@jini-ai/capability-providers": "^0.7.3-next.3",
|
|
118
159
|
"@jini-ai/commerce": "^0.7.3-next.2",
|
|
119
|
-
"@jini-ai/
|
|
120
|
-
"@jini-ai/
|
|
121
|
-
"@jini-ai/
|
|
122
|
-
"@jini-ai/
|
|
123
|
-
"@jini-ai/
|
|
124
|
-
"@jini-ai/
|
|
160
|
+
"@jini-ai/diagnostics": "^0.7.3-next.3",
|
|
161
|
+
"@jini-ai/cookie-consent": "^0.7.3-next.3",
|
|
162
|
+
"@jini-ai/ui": "^0.7.3-next.3",
|
|
163
|
+
"@jini-ai/plugins": "^0.7.3-next.3",
|
|
164
|
+
"@jini-ai/cms": "^0.7.3-next.3",
|
|
165
|
+
"@jini-ai/integrations": "^0.7.3-next.3"
|
|
125
166
|
},
|
|
126
167
|
"scripts": {
|
|
127
|
-
"build": "pnpm run typecheck && tsc -p tsconfig.lib.json && node --import tsx scripts/build.ts charts-recharts . && node --import tsx scripts/build.ts charts-echarts . && node --import tsx scripts/build.ts ai-trace-langfuse . && node --import tsx scripts/build.ts analytics-posthog . && node --import tsx scripts/build.ts observability-opentelemetry . && node --import tsx scripts/build.ts observability-sentry . && node --import tsx scripts/build.ts payments-stripe . && node --import tsx scripts/build.ts fixture-provider . && node --import tsx scripts/build.ts formspree . && node --import tsx scripts/build.ts google-forms .",
|
|
168
|
+
"build": "pnpm run typecheck && tsc -p tsconfig.lib.json && node --import tsx scripts/build.ts charts-recharts . && node --import tsx scripts/build.ts charts-echarts . && node --import tsx scripts/build.ts ai-trace-langfuse . && node --import tsx scripts/build.ts analytics-posthog . && node --import tsx scripts/build.ts observability-opentelemetry . && node --import tsx scripts/build.ts observability-sentry . && node --import tsx scripts/build.ts payments-stripe . && node --import tsx scripts/build.ts fixture-provider . && node --import tsx scripts/build.ts formspree . && node --import tsx scripts/build.ts google-forms . && node --import tsx scripts/build.ts xai .",
|
|
128
169
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.charts.json --noEmit",
|
|
129
170
|
"test": "vitest run",
|
|
130
171
|
"test:coverage": "vitest run -c vitest.coverage.config.ts --coverage"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "ai-trace-langfuse",
|
|
3
3
|
"name": "Langfuse",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"README.md": "sha256-a5e9d3d8dd1079cb2c9fc5150aed5540ac147de64d0417cb83dd7eb5363470b9",
|
|
65
65
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
66
66
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
67
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
67
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
68
68
|
"licenses/langfuse/LICENSE": "sha256-500dc50774b3a1b58900bf28e03f63906d6e910a56da147ef154cddb5c1619b3",
|
|
69
69
|
"licenses/langfuse/LICENSE-SOURCE": "sha256-86e467e07d45cff307b1b33738dea99cf2ae2a22fbe5fb571ae3a03819d41f54",
|
|
70
70
|
"licenses/langfuse/SOURCE": "sha256-7828b8d9c40401be34ccf1682306881431fd1ee6d86a3b5ad10f4104c217ce0a",
|
|
@@ -75,6 +75,6 @@
|
|
|
75
75
|
"licenses/langfuse-core/package-license.json": "sha256-ddcfec5e1d2d66f0fa8747045c7318fadec83d68721520abfd8c9f45f3a545f5",
|
|
76
76
|
"licenses/mustache/LICENSE": "sha256-e60b280838180a70cbb4b934f825c8119cdcf8912259ff4c6da20b284231c832",
|
|
77
77
|
"licenses/mustache/package-license.json": "sha256-288d7af593a0809e08ead527831b7bd2dff0bd84fef7a5bbb61b0b9c812720ab",
|
|
78
|
-
"server/index.mjs": "sha256-
|
|
78
|
+
"server/index.mjs": "sha256-dcdbc8a29b34c48a507397a8b2dcb9a4a08a7b574a31e60d7b3b2a1ce691e939"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -4132,7 +4132,7 @@ function stringMap(value, name) {
|
|
|
4132
4132
|
}
|
|
4133
4133
|
return { ...value };
|
|
4134
4134
|
}
|
|
4135
|
-
function attributionOf(value) {
|
|
4135
|
+
function attributionOf({ value }, _optional = {}) {
|
|
4136
4136
|
if (value === void 0) return EMPTY;
|
|
4137
4137
|
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("attribution must be an object");
|
|
4138
4138
|
const { attributes, groups, tags } = value;
|
|
@@ -4151,7 +4151,7 @@ function createLangfuseProvider(required, optional = {}) {
|
|
|
4151
4151
|
const extras = Object.fromEntries(["baseUrl", "environment", "release"].map((name) => [name, textOf(required[name], name, { required: false })]).filter(([, value]) => value !== void 0));
|
|
4152
4152
|
const borrowed = optional.client;
|
|
4153
4153
|
const client = borrowed ? borrowedView({ client: borrowed }) : createLangfuseClient({ ...config, ...extras }, { signal: optional.signal });
|
|
4154
|
-
const port = createLangfuseAiTraceSink({ client, attribution: attributionOf(required.attribution) });
|
|
4154
|
+
const port = createLangfuseAiTraceSink({ client, attribution: attributionOf({ value: required.attribution }) });
|
|
4155
4155
|
return { port, dispose: async (_required, _optional = {}) => {
|
|
4156
4156
|
await client.shutdownAsync();
|
|
4157
4157
|
} };
|
|
@@ -19,7 +19,7 @@ the applicable consent choice; its adapter and SDK stay within this plugin's art
|
|
|
19
19
|
|
|
20
20
|
Sources remain in `packages/provider-plugins/src/analytics-posthog`.
|
|
21
21
|
Both `build` and `prepack` call the existing single-plugin builder, using this package's
|
|
22
|
-
version for the generated artifact. The npm release is **0.7.3-next.
|
|
22
|
+
version for the generated artifact. The npm release is **0.7.3-next.3** in Jini's fixed
|
|
23
23
|
Changesets release group. Build output under `plugins/` is generated and uncommitted.
|
|
24
24
|
Reviewed LICENSE and NOTICE files belong to this distribution; the builder retains them
|
|
25
25
|
and bundled dependency licenses inside the artifact before computing its integrity.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "analytics-posthog",
|
|
3
3
|
"name": "PostHog",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
"CHANGELOG.md": "sha256-24133b66cc1aa98538cb8b5120843ba24d9f26a26fa7b133b3667672bfde4838",
|
|
91
91
|
"LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
92
92
|
"NOTICE": "sha256-75da95e7c5263160f874d3eb197e3010f2196378b40df69cedc6ff3247261cf3",
|
|
93
|
-
"README.md": "sha256-
|
|
93
|
+
"README.md": "sha256-85aecca90d6dee5541dfbda6f37057b23a8c65a0532e47cb2736c7d144b7377f",
|
|
94
94
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
95
95
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
96
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
96
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
97
97
|
"licenses/_posthog_core/LICENSE": "sha256-d3fb92ac01f0bef4078f89aac9f20f76da3383ad45becf6204abdf5495f43f8f",
|
|
98
98
|
"licenses/_posthog_core/package-license.json": "sha256-51e1e60575cebc489313e9ffe4c5b9c08582bdefa071de03cf4c0772df66ccc5",
|
|
99
99
|
"licenses/posthog-js/LICENSE": "sha256-a3f86c7ac54e89e50df3f0944fd14ec8bb23d4350721fc6f59db0558d0d160b0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"licenses/posthog-node/LICENSE": "sha256-d3fb92ac01f0bef4078f89aac9f20f76da3383ad45becf6204abdf5495f43f8f",
|
|
102
102
|
"licenses/posthog-node/package-license.json": "sha256-477479010682b08537c8ad318f1f71dc25b0e88a9b0f9f6b4cc90c168624c6be",
|
|
103
103
|
"server/consent-adapter.mjs": "sha256-6e8b716c85f310b11cd714b483f48636bd6cc2e84f133eb6fecb5829dee68eff",
|
|
104
|
-
"server/index.mjs": "sha256-
|
|
104
|
+
"server/index.mjs": "sha256-0ea7d5f48120f76094bb110301b96f15009f06644d848d96e36102ee0cb90639",
|
|
105
105
|
"server/posthog-browser.js": "sha256-42c78610e8c1a1ff3258259c13becb34699668a81f091af2e80146b3a006be2a"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -9059,7 +9059,7 @@ function stringMap(value, name) {
|
|
|
9059
9059
|
}
|
|
9060
9060
|
return { ...value };
|
|
9061
9061
|
}
|
|
9062
|
-
function attributionOf(value) {
|
|
9062
|
+
function attributionOf({ value }, _optional = {}) {
|
|
9063
9063
|
if (value === void 0) return EMPTY;
|
|
9064
9064
|
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("attribution must be an object");
|
|
9065
9065
|
const { attributes, groups, tags } = value;
|
|
@@ -9500,7 +9500,7 @@ var nonEmpty = (value, name) => {
|
|
|
9500
9500
|
return value.trim();
|
|
9501
9501
|
};
|
|
9502
9502
|
function createPostHogProvider(required, optional = {}) {
|
|
9503
|
-
const config = { enabled: true, apiKey: nonEmpty(required.apiKey, "apiKey"), host: nonEmpty(required.host, "host"), attribution: attributionOf(required.attribution), includePromptsAndResponses: required.includePromptsAndResponses === "true" };
|
|
9503
|
+
const config = { enabled: true, apiKey: nonEmpty(required.apiKey, "apiKey"), host: nonEmpty(required.host, "host"), attribution: attributionOf({ value: required.attribution }), includePromptsAndResponses: required.includePromptsAndResponses === "true" };
|
|
9504
9504
|
validatePostHogBrowserConfig(config);
|
|
9505
9505
|
const { port, dispose } = createPostHogProductAnalyticsAdapter({ config, describeTelemetryFailure: readPostHogTelemetry({ describeTelemetryFailure: optional.describeTelemetryFailure }) }, optional);
|
|
9506
9506
|
const sessionReplay = required.sessionReplay === "true";
|
|
@@ -38,4 +38,4 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
38
38
|
`)){var y=new mp;y.newline=!0,u.add(y);return}var _=n.getSeriesByName(g)[0];if(!f.get(g))if(_){var x=_.getData(),S=x.getVisual("legendLineStyle")||{},b=x.getVisual("legendIcon"),T=x.getVisual("style"),A=this._createItem(_,g,d,v,i,r,S,T,b,c,a);A.on("click",Ko(tD,g,null,a,h)).on("mouseover",Ko(gg,_.name,null,a,h)).on("mouseout",Ko(yg,_.name,null,a,h)),n.ssr&&A.eachChild(function(w){var D=ce(w);D.seriesIndex=_.seriesIndex,D.dataIndex=d,D.ssrType="legend"}),p&&A.eachChild(function(w){m.packEventData(w,i,_,d,g)}),f.set(g,!0)}else n.eachRawSeries(function(w){var D=this;if(!f.get(g)&&w.legendVisualProvider){var E=w.legendVisualProvider;if(!E.containName(g))return;var O=E.indexOfName(g),M=E.getItemVisual(O,"style"),I=E.getItemVisual(O,"legendIcon"),R=At(M.fill);R&&R[3]===0&&(R[3]=.2,M=P(P({},M),{fill:Dn(R,"rgba")}));var N=this._createItem(w,g,d,v,i,r,{},M,I,c,a);N.on("click",Ko(tD,null,g,a,h)).on("mouseover",Ko(gg,null,g,a,h)).on("mouseout",Ko(yg,null,g,a,h)),n.ssr&&N.eachChild(function(F){var k=ce(F);k.seriesIndex=w.seriesIndex,k.dataIndex=d,k.ssrType="legend"}),p&&N.eachChild(function(F){D.packEventData(F,i,w,d,g)}),f.set(g,!0)}},this)},this),o&&this._createSelector(o,i,a,s,l)},e.prototype.packEventData=function(r,i,n,a,o){var s={componentType:"legend",componentIndex:i.componentIndex,dataIndex:a,value:o,seriesIndex:n.seriesIndex};ce(r).eventData=s},e.prototype._createSelector=function(r,i,n,a,o){var s=this.getSelectorGroup();mg(r,function(u){var f=u.type,c=new Ae({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect",legendId:i.id})}});s.add(c);var p=i.getModel("selectorLabel"),h=i.getModel(["emphasis","selectorLabel"]);Zr(c,{normal:p,emphasis:h},{defaultText:u.title}),Ju(c)})},e.prototype._createItem=function(r,i,n,a,o,s,l,u,f,c,p){var h=r.visualDrawType,v=o.get("itemWidth"),d=o.get("itemHeight"),m=o.isSelected(i),g=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var x=Q2(f,a,l,u,h,m,p),S=new mp,b=a.getModel("textStyle");if(q(r.getLegendIcon)&&(!_||_==="inherit"))S.add(r.getLegendIcon({itemWidth:v,itemHeight:d,icon:f,iconRotate:g,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:y}));else{var T=_==="inherit"&&r.getData().getVisual("symbol")?g==="inherit"?r.getData().getVisual("symbolRotate"):g:0;S.add($2({itemWidth:v,itemHeight:d,icon:f,iconRotate:T,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:y}))}var A=s==="left"?v+5:-5,w=s,D=o.get("formatter"),E=i;U(D)&&D?E=D.replace("{name}",i??""):q(D)&&(E=D(i));var O=m?b.getTextColor():a.get("inactiveColor");S.add(new Ae({style:lr(b,{text:E,x:A,y:d/2,fill:O,align:w,verticalAlign:"middle"},{inheritColor:O})}));var M=new _e({shape:S.getBoundingRect(),style:{fill:"transparent"}}),I=a.getModel("tooltip");return I.get("show")&&mo({el:M,componentModel:o,itemName:i,itemTooltipOption:I.option}),S.add(M),S.eachChild(function(R){R.silent=!0}),M.silent=!c,this.getContentGroup().add(S),Ju(S),S.__legendDataIndex=n,S},e.prototype.layoutInner=function(r,i,n,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();oa(r.get("orient"),l,r.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),c=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){oa("horizontal",u,r.get("selectorItemGap",!0));var p=u.getBoundingRect(),h=[-p.x,-p.y],v=r.get("selectorButtonGap",!0),d=r.getOrient().index,m=d===0?"width":"height",g=d===0?"height":"width",y=d===0?"y":"x";s==="end"?h[d]+=f[m]+v:c[d]+=p[m]+v,h[1-d]+=f[g]/2-p[g]/2,u.x=h[0],u.y=h[1],l.x=c[0],l.y=c[1];var _={x:0,y:0};return _[m]=f[m]+v+p[m],_[g]=Math.max(f[g],p[g]),_[y]=Math.min(0,p[y]+h[1-d]),_}else return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e})(ht);function Q2(t,e,r,i,n,a,o){function s(m,g){m.lineWidth==="auto"&&(m.lineWidth=g.lineWidth>0?2:0),mg(m,function(y,_){m[_]==="inherit"&&(m[_]=g[_])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),f=t.lastIndexOf("empty",0)===0?"fill":"stroke",c=l.getShallow("decal");u.decal=!c||c==="inherit"?i.decal:nl(c,o),u.fill==="inherit"&&(u.fill=i[n]),u.stroke==="inherit"&&(u.stroke=i[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?i:r).opacity),s(u,i);var p=e.getModel("lineStyle"),h=p.getLineStyle();if(s(h,r),u.fill==="auto"&&(u.fill=i.fill),u.stroke==="auto"&&(u.stroke=i.fill),h.stroke==="auto"&&(h.stroke=i.fill),!a){var v=e.get("inactiveBorderWidth"),d=u[f];u.lineWidth=v==="auto"?i.lineWidth>0&&d?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),h.stroke=p.get("inactiveColor"),h.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function $2(t){var e=t.icon||"roundRect",r=er(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return r.setStyle(t.itemStyle),r.rotation=(t.iconRotate||0)*Math.PI/180,r.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill=Q.color.neutral00,r.style.lineWidth=2),r}function tD(t,e,r,i){yg(t,e,r,i),r.dispatchAction({type:"legendToggleSelect",name:t??e}),gg(t,e,r,i)}function gg(t,e,r,i){r.usingTHL()||r.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function yg(t,e,r,i){r.usingTHL()||r.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var gp=j2;function Il(t,e,r){var i=t==="allSelect"||t==="inverseSelect",n={},a=[];r.eachComponent({mainType:"legend",query:e},function(s){i?s[t]():s[t](e.name),rD(s,n),a.push(s.componentIndex)});var o={};return r.eachComponent("legend",function(s){C(n,function(l,u){s[l?"select":"unSelect"](u)}),rD(s,o)}),i?{selected:o,legendIndex:a}:{name:e.name,selected:o}}function rD(t,e){var r=e||{};return C(t.getData(),function(i){var n=i.get("name");if(!(n===`
|
|
39
39
|
`||n==="")){var a=t.isSelected(n);Oe(r,n)?r[n]=r[n]&&a:r[n]=a}}),r}function iD(t){t.registerAction("legendToggleSelect","legendselectchanged",Te(Il,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Te(Il,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Te(Il,"inverseSelect")),t.registerAction("legendSelect","legendselected",Te(Il,"select")),t.registerAction("legendUnSelect","legendunselected",Te(Il,"unSelect"))}var nD=Ui(J2);function J2(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(r){for(var i=0;i<e.length;i++)if(!e[i].isSelected(r.name))return!1;return!0})}function yp(t){t.registerComponentModel(Ol),t.registerComponentView(gp),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,nD),t.registerSubTypeDefaulter("legend",function(){return"plain"}),iD(t)}var eB=(function(t){L(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},e.prototype.init=function(r,i,n){var a=Qr(r);t.prototype.init.call(this,r,i,n),aD(this,r,a)},e.prototype.mergeOption=function(r,i){t.prototype.mergeOption.call(this,r,i),aD(this,this.option,r)},e.type="legend.scroll",e.defaultOption=_f(Ol.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:Q.color.accent50,pageIconInactiveColor:Q.color.accent10,pageIconSize:15,pageTextStyle:{color:Q.color.tertiary},animationDurationUpdate:800}),e})(Ol);function aD(t,e,r){var i=t.getOrient(),n=[1,1];n[i.index]=0,$t(e,r,{type:"box",ignoreSize:!!n})}var oD=eB;var sD=Se,_g=["width","height"],xg=["x","y"],tB=(function(t){L(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.newlineDisabled=!0,r._currentIndex=0,r}return e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new sD),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new sD)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(r,i,n,a,o,s,l){var u=this;t.prototype.renderInner.call(this,r,i,n,a,o,s,l);var f=this._controllerGroup,c=i.get("pageIconSize",!0),p=B(c)?c:[c,c];v("pagePrev",0);var h=i.getModel("pageTextStyle");f.add(new Ae({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(d,m){var g=d+"DataIndex",y=Hs(i.get("pageIcons",!0)[i.getOrient().name][m],{onclick:he(u._pageGo,u,g,i,a)},{x:-p[0]/2,y:-p[1]/2,width:p[0],height:p[1]});y.name=d,f.add(y)}},e.prototype.layoutInner=function(r,i,n,a,o,s){var l=this.getSelectorGroup(),u=r.getOrient().index,f=_g[u],c=xg[u],p=_g[1-u],h=xg[1-u];o&&oa("horizontal",l,r.get("selectorItemGap",!0));var v=r.get("selectorButtonGap",!0),d=l.getBoundingRect(),m=[-d.x,-d.y],g=J(n);o&&(g[f]=n[f]-d[f]-v);var y=this._layoutContentAndController(r,a,g,u,f,p,h,c);if(o){if(s==="end")m[u]+=y[f]+v;else{var _=d[f]+v;m[u]-=_,y[c]-=_}y[f]+=d[f]+v,m[1-u]+=y[h]+y[p]/2-d[p]/2,y[p]=Math.max(y[p],d[p]),y[h]=Math.min(y[h],d[h]+m[1-u]),l.x=m[0],l.y=m[1],l.markRedraw()}return y},e.prototype._layoutContentAndController=function(r,i,n,a,o,s,l,u){var f=this.getContentGroup(),c=this._containerGroup,p=this._controllerGroup;oa(r.get("orient"),f,r.get("itemGap"),a?n.width:null,a?null:n.height),oa("horizontal",p,r.get("pageButtonItemGap",!0));var h=f.getBoundingRect(),v=p.getBoundingRect(),d=this._showController=h[o]>n[o],m=[-h.x,-h.y];i||(m[a]=f[u]);var g=[0,0],y=[-v.x,-v.y],_=Y(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(d){var x=r.get("pageButtonPosition",!0);x==="end"?y[a]+=n[o]-v[o]:g[a]+=v[o]+_}y[1-a]+=h[s]/2-v[s]/2,f.setPosition(m),c.setPosition(g),p.setPosition(y);var S={x:0,y:0};if(S[o]=d?n[o]:h[o],S[s]=Math.max(h[s],v[s]),S[l]=Math.min(0,v[l]+y[1-a]),c.__rectSize=n[o],d){var b={x:0,y:0};b[o]=Math.max(n[o]-v[o]-_,0),b[s]=S[s],c.setClipPath(new _e({shape:b})),c.__rectSize=b[o]}else p.eachChild(function(A){A.attr({invisible:!0,silent:!0})});var T=this._getPageInfo(r);return T.pageIndex!=null&&Ue(f,{x:T.contentPosition[0],y:T.contentPosition[1]},d?r:null),this._updatePageInfoView(r,T),S},e.prototype._pageGo=function(r,i,n){var a=this._getPageInfo(i)[r];a!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:i.id})},e.prototype._updatePageInfoView=function(r,i){var n=this._controllerGroup;C(["pagePrev","pageNext"],function(f){var c=f+"DataIndex",p=i[c]!=null,h=n.childOfName(f);h&&(h.setStyle("fill",p?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),h.cursor=p?"pointer":"default")});var a=n.childOfName("pageText"),o=r.get("pageFormatter"),s=i.pageIndex,l=s!=null?s+1:0,u=i.pageCount;a&&o&&a.setStyle("text",U(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},e.prototype._getPageInfo=function(r){var i=r.get("scrollDataIndex",!0),n=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=_g[o],l=xg[o],u=this._findTargetItemIndex(i),f=n.children(),c=f[u],p=f.length,h=p?1:0,v={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return v;var d=x(c);v.contentPosition[o]=-d.s;for(var m=u+1,g=d,y=d,_=null;m<=p;++m)_=x(f[m]),(!_&&y.e>g.s+a||_&&!S(_,g.s))&&(y.i>g.i?g=y:g=_,g&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=g.i),++v.pageCount)),y=_;for(var m=u-1,g=d,y=d,_=null;m>=-1;--m)_=x(f[m]),(!_||!S(y,_.s))&&g.i<y.i&&(y=g,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=g.i),++v.pageCount,++v.pageIndex),g=_;return v;function x(b){if(b){var T=b.getBoundingRect(),A=T[l]+b[l];return{s:A,e:A+T[s],i:b.__legendDataIndex}}}function S(b,T){return b.e>=T&&b.s<=T+a}},e.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var i,n=this.getContentGroup(),a;return n.eachChild(function(o,s){var l=o.__legendDataIndex;a==null&&l!=null&&(a=s),l===r&&(i=s)}),i??a},e.type="legend.scroll",e})(gp),lD=tB;function Sg(t){t.registerAction("legendScroll","legendscroll",function(e,r){var i=e.scrollDataIndex;i!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(i)})})}function uD(t){bt(yp),t.registerComponentModel(oD),t.registerComponentView(lD),Sg(t)}function bg(t){bt(yp),bt(uD)}var rB={label:{enabled:!0},decal:{show:!1}},fD=ee(),cD=ee(),pD=Ui(iB);function iB(t,e){var r=t.getModel("aria");if(!r.get("enabled"))return;var i=cD(t).scope||(cD(t).scope={}),n=J(rB);ge(n.label,t.getLocaleModel().get("aria"),!1),ge(r.option,n,!1),a(),o();function a(){var f=r.getModel("decal"),c=f.get("show");if(c){var p=X();t.eachSeries(function(h){h.isColorBySeries()||(fD(h).scope=p.get(h.type)||p.set(h.type,{}))}),t.eachSeries(function(h){if(q(h.enableAriaDecal)){h.enableAriaDecal();return}var v=h.getData();if(h.isColorBySeries()){var _=pd(h.ecModel,h.name,i,t.getSeriesCount()),x=v.getVisual("decal");v.setVisual("decal",S(x,_))}else{var d=h.getRawData(),m={},g=fD(h).scope;v.each(function(b){var T=v.getRawIndex(b);m[T]=b});var y=d.count();d.each(function(b){var T=m[b],A=d.getName(b)||b+"",w=pd(h.ecModel,A,g,y),D=v.getItemVisual(T,"decal");v.setItemVisual(T,"decal",S(D,w))})}function S(b,T){var A=b?P(P({},T),b):T;return A.dirty=!0,A}})}}function o(){var f=e.getZr().dom;if(f){var c=t.getLocaleModel().get("aria"),p=r.getModel("label");if(p.option=ie(p.option,c),!!p.get("enabled")){if(f.setAttribute("role","img"),p.get("description")){f.setAttribute("aria-label",p.get("description"));return}var h=t.getSeriesCount(),v=p.get(["data","maxCount"])||10,d=p.get(["series","maxCount"])||10,m=Math.min(h,d),g;if(!(h<1)){var y=l();if(y){var _=p.get(["general","withTitle"]);g=s(_,{title:y})}else g=p.get(["general","withoutTitle"]);var x=[],S=h>1?p.get(["series","multiple","prefix"]):p.get(["series","single","prefix"]);g+=s(S,{seriesCount:h}),t.eachSeries(function(w,D){if(D<m){var E=void 0,O=w.get("name"),M=O?"withName":"withoutName";E=h>1?p.get(["series","multiple",M]):p.get(["series","single",M]),E=s(E,{seriesId:w.seriesIndex,seriesName:w.get("name"),seriesType:u(w.subType)});var I=w.getData();if(I.count()>v){var R=p.get(["data","partialData"]);E+=s(R,{displayCnt:v})}else E+=p.get(["data","allData"]);for(var N=p.get(["data","separator","middle"]),F=p.get(["data","separator","end"]),k=p.get(["data","excludeDimensionId"]),V=[],H=0;H<I.count();H++)if(H<v){var W=I.getName(H),j=k?Me(I.getValues(H),function(Z,ue){return fe(k,ue)===-1}):I.getValues(H),$=p.get(["data",W?"withName":"withoutName"]);V.push(s($,{name:W,value:j.join(N)}))}E+=V.join(N)+F,x.push(E)}});var b=p.getModel(["series","multiple","separator"]),T=b.get("middle"),A=b.get("end");g+=x.join(T)+A,f.setAttribute("aria-label",g)}}}}function s(f,c){if(!U(f))return f;var p=f;return C(c,function(h,v){p=p.replace(new RegExp("\\{\\s*"+v+"\\s*\\}","g"),h)}),p}function l(){var f=t.get("title");return f&&f.length&&(f=f[0]),f&&f.text}function u(f){var c=t.getLocaleModel().get(["series","typeNames"]);return c[f]||c.chart}}function Tg(t){if(!(!t||!t.aria)){var e=t.aria;e.show!=null&&(e.enabled=e.show),e.label=e.label||{},C(["description","general","series","data"],function(r){e[r]!=null&&(e.label[r]=e[r])})}}function Cg(t){t.registerPreprocessor(Tg),t.registerVisual(t.PRIORITY.VISUAL.ARIA,pD)}var wg=Math.sin,Ag=Math.cos,hD=Math.PI,Ma=Math.PI*2,nB=180/hD,aB=(function(){function t(){}return t.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},t.prototype.moveTo=function(e,r){this._add("M",e,r)},t.prototype.lineTo=function(e,r){this._add("L",e,r)},t.prototype.bezierCurveTo=function(e,r,i,n,a,o){this._add("C",e,r,i,n,a,o)},t.prototype.quadraticCurveTo=function(e,r,i,n){this._add("Q",e,r,i,n)},t.prototype.arc=function(e,r,i,n,a,o){this.ellipse(e,r,i,i,0,n,a,o)},t.prototype.ellipse=function(e,r,i,n,a,o,s,l){var u=s-o,f=!l,c=Math.abs(u),p=Rr(c-Ma)||(f?u>=Ma:-u>=Ma),h=u>0?u%Ma:u%Ma+Ma,v=!1;p?v=!0:Rr(c)?v=!1:v=h>=hD==!!f;var d=e+i*Ag(o),m=r+n*wg(o);this._start&&this._add("M",d,m);var g=Math.round(a*nB);if(p){var y=1/this._p,_=(f?1:-1)*(Ma-y);this._add("A",i,n,g,1,+f,e+i*Ag(o+_),r+n*wg(o+_)),y>.01&&this._add("A",i,n,g,0,+f,d,m)}else{var x=e+i*Ag(s),S=r+n*wg(s);this._add("A",i,n,g,+v,+f,x,S)}},t.prototype.rect=function(e,r,i,n){this._add("M",e,r),this._add("l",i,0),this._add("l",0,n),this._add("l",-i,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(e,r,i,n,a,o,s,l,u){for(var f=[],c=this._p,p=1;p<arguments.length;p++){var h=arguments[p];if(isNaN(h)){this._invalid=!0;return}f.push(Math.round(h*c)/c)}this._d.push(e+f.join(" ")),this._start=e==="Z"},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t})(),_p=aB;var Ll="none",oB=Math.round;function sB(t){var e=t.fill;return e!=null&&e!==Ll}function lB(t){var e=t.stroke;return e!=null&&e!==Ll}var Dg=["lineCap","miterLimit","lineJoin"],uB=z(Dg,function(t){return"stroke-"+t.toLowerCase()});function Eg(t,e,r,i){var n=e.opacity==null?1:e.opacity;if(r instanceof yt){t("opacity",n);return}if(sB(e)){var a=Pi(e.fill);t("fill",a.color);var o=e.fillOpacity!=null?e.fillOpacity*a.opacity*n:a.opacity*n;(i||o<1)&&t("fill-opacity",o)}else t("fill",Ll);if(lB(e)){var s=Pi(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?r.getLineScale():1,u=l?(e.lineWidth||0)/l:0,f=e.strokeOpacity!=null?e.strokeOpacity*s.opacity*n:s.opacity*n,c=e.strokeFirst;if((i||u!==1)&&t("stroke-width",u),(i||c)&&t("paint-order",c?"stroke":"fill"),(i||f<1)&&t("stroke-opacity",f),e.lineDash){var p=il(r),h=p[0],v=p[1];h&&(v=oB(v||0),t("stroke-dasharray",h.join(",")),(v||i)&&t("stroke-dashoffset",v))}else i&&t("stroke-dasharray",Ll);for(var d=0;d<Dg.length;d++){var m=Dg[d];if(i||e[m]!==oo[m]){var g=e[m]||oo[m];g&&t(uB[d],g)}}}else i&&t("stroke",Ll)}var vD="http://www.w3.org/2000/svg",Mg="http://www.w3.org/1999/xlink",dD="http://www.w3.org/2000/xmlns/",mD="http://www.w3.org/XML/1998/namespace",Og="ecmeta_";function xp(t){return document.createElementNS(vD,t)}function Xe(t,e,r,i,n){return{tag:t,attrs:r||{},children:i,text:n,key:e}}function fB(t,e){var r=[];if(e)for(var i in e){var n=e[i],a=i;n!==!1&&(n!==!0&&n!=null&&(a+='="'+n+'"'),r.push(a))}return"<"+t+" "+r.join(" ")+">"}function cB(t){return"</"+t+">"}function Pl(t,e){e=e||{};var r=e.newline?`
|
|
40
40
|
`:"";function i(n){var a=n.children,o=n.tag,s=n.attrs,l=n.text;return fB(o,s)+(o!=="style"?Je(l):l||"")+(a?""+r+z(a,function(u){return i(u)}).join(r)+r:"")+cB(o)}return i(t)}function gD(t,e,r){r=r||{};var i=r.newline?`
|
|
41
|
-
`:"",n=" {"+i,a=i+"}",o=z(te(t),function(l){return l+n+z(te(t[l]),function(u){return u+":"+t[l][u]+";"}).join(i)+a}).join(i),s=z(te(e),function(l){return"@keyframes "+l+n+z(te(e[l]),function(u){return u+n+z(te(e[l][u]),function(f){var c=e[l][u][f];return f==="d"&&(c='path("'+c+'")'),f+":"+c+";"}).join(i)+a}).join(i)+a}).join(i);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(i)}function Nl(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Ig(t,e,r,i){return Xe("svg","root",{width:t,height:e,xmlns:vD,"xmlns:xlink":Mg,version:"1.1",baseProfile:"full",viewBox:i?"0 0 "+t+" "+e:!1},r)}var pB=0;function Sp(){return pB++}var yD={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Oa="transform-origin";function hB(t,e,r){var i=P({},t.shape);P(i,e),t.buildPath(r,i);var n=new _p;return n.reset(gu(t)),r.rebuildPath(n,1),n.generateStr(),n.getStr()}function vB(t,e){var r=e.originX,i=e.originY;(r||i)&&(t[Oa]=r+"px "+i+"px")}var dB={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function xD(t,e){var r=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[r]=t,r}function mB(t,e,r){var i=t.shape.paths,n={},a,o;if(C(i,function(l){var u=Nl(r.zrId);u.animation=!0,Rl(l,{},u,!0);var f=u.cssAnims,c=u.cssNodes,p=te(f),h=p.length;if(h){o=p[h-1];var v=f[o];for(var d in v){var m=v[d];n[d]=n[d]||{d:""},n[d].d+=m.d||""}for(var g in c){var y=c[g].animation;y.indexOf(o)>=0&&(a=y)}}}),!!a){e.d=!1;var s=xD(n,r);return a.replace(o,s)}}function _D(t){return U(t)?yD[t]?"cubic-bezier("+yD[t]+")":Wa(t)?t:"":""}function Rl(t,e,r,i){var n=t.animators,a=n.length,o=[];if(t instanceof of){var s=mB(t,e,r);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var l={},u=0;u<a;u++){var f=n[u],c=[f.getMaxTime()/1e3+"s"],p=_D(f.getClip().easing),h=f.getDelay();p?c.push(p):c.push("linear"),h&&c.push(h/1e3+"s"),f.getLoop()&&c.push("infinite");var v=c.join(" ");l[v]=l[v]||[v,[]],l[v][1].push(f)}function d(y){var _=y[1],x=_.length,S={},b={},T={},A="animation-timing-function";function w(ke,xe,Ee){for(var oe=ke.getTracks(),me=ke.getMaxTime(),Pt=0;Pt<oe.length;Pt++){var He=oe[Pt];if(He.needsAnimate()){var hr=He.keyframes,Nt=He.propName;if(Ee&&(Nt=Ee(Nt)),Nt)for(var vr=0;vr<hr.length;vr++){var Ia=hr[vr],dr=Math.round(Ia.time/me*100)+"%",Fl=_D(Ia.easing),La=Ia.rawValue;(U(La)||ae(La))&&(xe[dr]=xe[dr]||{},xe[dr][Nt]=Ia.rawValue,Fl&&(xe[dr][A]=Fl))}}}}for(var D=0;D<x;D++){var E=_[D],O=E.targetName;O?O==="shape"&&w(E,b):!i&&w(E,S)}for(var M in S){var I={};Ni(I,t),P(I,S[M]);var R=yu(I),N=S[M][A];T[M]=R?{transform:R}:{},vB(T[M],I),N&&(T[M][A]=N)}var F,k=!0;for(var M in b){T[M]=T[M]||{};var V=!F,N=b[M][A];V&&(F=new pt);var H=F.len();F.reset(),T[M].d=hB(t,b[M],F);var W=F.len();if(!V&&H!==W){k=!1;break}N&&(T[M][A]=N)}if(!k)for(var M in T)delete T[M].d;if(!i)for(var D=0;D<x;D++){var E=_[D],O=E.targetName;O==="style"&&w(E,T,function(oe){return dB[oe]})}for(var j=te(T),$=!0,Z,D=1;D<j.length;D++){var ue=j[D-1],de=j[D];if(T[ue][Oa]!==T[de][Oa]){$=!1;break}Z=T[ue][Oa]}if($&&Z){for(var M in T)T[M][Oa]&&delete T[M][Oa];e[Oa]=Z}if(Me(j,function(ke){return te(T[ke]).length>0}).length){var Ve=xD(T,r);return Ve+" "+y[0]+" both"}}for(var m in l){var s=d(l[m]);s&&o.push(s)}if(o.length){var g=r.zrId+"-cls-"+Sp();r.cssNodes["."+g]={animation:o.join(",")},e.class=g}}function bD(t,e,r){if(!t.ignore)if(t.isSilent()){var i={"pointer-events":"none"};SD(i,e,r,!0)}else{var n=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},a=n.fill;if(!a){var o=t.style&&t.style.fill,s=t.states.select&&t.states.select.style&&t.states.select.style.fill,l=t.currentStates.indexOf("select")>=0&&s||o;l&&(a=ls(l))}var u=n.lineWidth;if(u){var f=!n.strokeNoScale&&t.transform?t.transform[0]:1;u=u/f}var i={cursor:"pointer"};a&&(i.fill=a),n.stroke&&(i.stroke=n.stroke),u&&(i["stroke-width"]=u),SD(i,e,r,!0)}}function SD(t,e,r,i){var n=JSON.stringify(t),a=r.cssStyleCache[n];a||(a=r.zrId+"-cls-"+Sp(),r.cssStyleCache[n]=a,r.cssNodes["."+a+(i?":hover":"")]=t),e.class=e.class?e.class+" "+a:a}var kl=Math.round;function AD(t){return t&&U(t.src)}function DD(t){return t&&q(t.toDataURL)}function Lg(t,e,r,i){Eg(function(n,a){var o=n==="fill"||n==="stroke";o&&mu(a)?kg(e,t,n,i):o&&us(a)?Bg(r,t,n,i):t[n]=a,o&&i.ssr&&a==="none"&&(t["pointer-events"]="visible")},e,r,!1),TB(r,t,i)}function Pg(t,e){var r=M_(e);r&&(r.each(function(i,n){i!=null&&(t[(Og+n).toLowerCase()]=i+"")}),e.isSilent()&&(t[Og+"silent"]="true"))}function TD(t){return Rr(t[0]-1)&&Rr(t[1])&&Rr(t[2])&&Rr(t[3]-1)}function gB(t){return Rr(t[4])&&Rr(t[5])}function Ng(t,e,r){if(e&&!(gB(e)&&TD(e))){var i=r?10:1e4;t.transform=TD(e)?"translate("+kl(e[4]*i)/i+" "+kl(e[5]*i)/i+")":$y(e)}}function CD(t,e,r){for(var i=t.points,n=[],a=0;a<i.length;a++)n.push(kl(i[a][0]*r)/r),n.push(kl(i[a][1]*r)/r);e.points=n.join(" ")}function wD(t){return!t.smooth}function yB(t){var e=z(t,function(r){return typeof r=="string"?[r,r]:r});return function(r,i,n){for(var a=0;a<e.length;a++){var o=e[a],s=r[o[0]];s!=null&&(i[o[1]]=kl(s*n)/n)}}}var _B={circle:[yB(["cx","cy","r"])],polyline:[CD,wD],polygon:[CD,wD]};function xB(t){for(var e=t.animators,r=0;r<e.length;r++)if(e[r].targetName==="shape")return!0;return!1}function ED(t,e){var r=t.style,i=t.shape,n=_B[t.type],a={},o=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&gu(t)||4;if(n&&!e.willUpdate&&!(n[1]&&!n[1](i))&&!(o&&xB(t))&&!(l<1)){s=t.type;var f=Math.pow(10,u);n[0](i,a,f)}else{var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var p=t.path;c&&(p.beginPath(),t.buildPath(p,t.shape),t.pathUpdated());var h=p.getVersion(),v=t,d=v.__svgPathBuilder;(v.__svgPathVersion!==h||!d||l!==v.__svgPathStrokePercent)&&(d||(d=v.__svgPathBuilder=new _p),d.reset(u),p.rebuildPath(d,l),d.generateStr(),v.__svgPathVersion=h,v.__svgPathStrokePercent=l),a.d=d.getStr()}return Ng(a,t.transform),Lg(a,r,t,e),Pg(a,t),e.animation&&Rl(t,a,e),e.emphasis&&bD(t,a,e),Xe(s,t.id+"",a)}function SB(t,e){var r=t.style,i=r.image;if(i&&!U(i)&&(AD(i)?i=i.src:DD(i)&&(i=i.toDataURL())),!!i){var n=r.x||0,a=r.y||0,o=r.width,s=r.height,l={href:i,width:o,height:s};return n&&(l.x=n),a&&(l.y=a),Ng(l,t.transform),Lg(l,r,t,e),Pg(l,t),e.animation&&Rl(t,l,e),Xe("image",t.id+"",l)}}function bB(t,e){var r=t.style,i=r.text;if(i!=null&&(i+=""),!(!i||isNaN(r.x)||isNaN(r.y))){var n=r.font||Rt,a=r.x||0,o=e_(r.y||0,In(n),r.textBaseline),s=Jy[r.textAlign]||r.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(sv(r)){var u="",f=r.fontStyle,c=ov(r.fontSize);if(!parseFloat(c))return;var p=r.fontFamily||Ep,h=r.fontWeight;u+="font-size:"+c+";font-family:"+p+";",f&&f!=="normal"&&(u+="font-style:"+f+";"),h&&h!=="normal"&&(u+="font-weight:"+h+";"),l.style=u}else l.style="font: "+n;return i.match(/\s/)&&(l["xml:space"]="preserve"),a&&(l.x=a),o&&(l.y=o),Ng(l,t.transform),Lg(l,r,t,e),Pg(l,t),e.animation&&Rl(t,l,e),Xe("text",t.id+"",l,void 0,i)}}function Rg(t,e){if(t instanceof re)return ED(t,e);if(t instanceof yt)return SB(t,e);if(t instanceof Gn)return bB(t,e)}function TB(t,e,r){var i=t.style;if(t_(i)){var n=r_(t),a=r.shadowCache,o=a[n];if(!o){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var f=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,h=Pi(i.shadowColor),v=h.opacity,d=h.color,m=p/2/l,g=p/2/u,y=m+" "+g;o=r.zrId+"-s"+r.shadowIdx++,r.defs[o]=Xe("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Xe("feDropShadow","",{dx:f/l,dy:c/u,stdDeviation:y,"flood-color":d,"flood-opacity":v})]),a[n]=o}e.filter=fs(o)}}function kg(t,e,r,i){var n=t[r],a,o={gradientUnits:n.global?"userSpaceOnUse":"objectBoundingBox"};if(vu(n))a="linearGradient",o.x1=n.x,o.y1=n.y,o.x2=n.x2,o.y2=n.y2;else if(du(n))a="radialGradient",o.cx=Y(n.x,.5),o.cy=Y(n.y,.5),o.r=Y(n.r,.5);else return;for(var s=n.colorStops,l=[],u=0,f=s.length;u<f;++u){var c=hu(s[u].offset)*100+"%",p=s[u].color,h=Pi(p),v=h.color,d=h.opacity,m={offset:c};m["stop-color"]=v,d<1&&(m["stop-opacity"]=d),l.push(Xe("stop",u+"",m))}var g=Xe(a,"",o,l),y=Pl(g),_=i.gradientCache,x=_[y];x||(x=i.zrId+"-g"+i.gradientIdx++,_[y]=x,o.id=x,i.defs[x]=Xe(a,x,o,l)),e[r]=fs(x)}function Bg(t,e,r,i){var n=t.style[r],a=t.getBoundingRect(),o={},s=n.repeat,l=s==="no-repeat",u=s==="repeat-x",f=s==="repeat-y",c;if(nh(n)){var p=n.imageWidth,h=n.imageHeight,v=void 0,d=n.image;if(U(d)?v=d:AD(d)?v=d.src:DD(d)&&(v=d.toDataURL()),typeof Image>"u"){var m="Image width/height must been given explictly in svg-ssr renderer.";Be(p,m),Be(h,m)}else if(p==null||h==null){var g=function(D,E){if(D){var O=D.elm,M=p||E.width,I=h||E.height;D.tag==="pattern"&&(u?(I=1,M/=a.width):f&&(M=1,I/=a.height)),D.attrs.width=M,D.attrs.height=I,O&&(O.setAttribute("width",M),O.setAttribute("height",I))}},y=ws(v,null,t,function(D){l||g(b,D),g(c,D)});y&&y.width&&y.height&&(p=p||y.width,h=h||y.height)}c=Xe("image","img",{href:v,width:p,height:h}),o.width=p,o.height=h}else n.svgElement&&(c=J(n.svgElement),o.width=n.svgWidth,o.height=n.svgHeight);if(c){var _,x;l?_=x=1:u?(x=1,_=o.width/a.width):f?(_=1,x=o.height/a.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),x!=null&&!isNaN(x)&&(o.height=x);var S=yu(n);S&&(o.patternTransform=S);var b=Xe("pattern","",o,[c]),T=Pl(b),A=i.patternCache,w=A[T];w||(w=i.zrId+"-p"+i.patternIdx++,A[T]=w,o.id=w,b=i.defs[w]=Xe("pattern",w,o,[c])),e[r]=fs(w)}}function MD(t,e,r){var i=r.clipPathCache,n=r.defs,a=i[t.id];if(!a){a=r.zrId+"-c"+r.clipPathIdx++;var o={id:a};i[t.id]=a,n[a]=Xe("clipPath",a,o,[ED(t,r)])}e["clip-path"]=fs(a)}function zg(t){return document.createTextNode(t)}function dn(t,e,r){t.insertBefore(e,r)}function Ug(t,e){t.removeChild(e)}function Fg(t,e){t.appendChild(e)}function Vg(t){return t.parentNode}function Hg(t){return t.nextSibling}function bp(t,e){t.textContent=e}var OD=58,wB=120,AB=Xe("","");function Gg(t){return t===void 0}function ei(t){return t!==void 0}function DB(t,e,r){for(var i={},n=e;n<=r;++n){var a=t[n].key;a!==void 0&&(i[a]=n)}return i}function Bl(t,e){var r=t.key===e.key,i=t.tag===e.tag;return i&&r}function zl(t){var e,r=t.children,i=t.tag;if(ei(i)){var n=t.elm=xp(i);if(Cp(AB,t),B(r))for(e=0;e<r.length;++e){var a=r[e];a!=null&&Fg(n,zl(a))}else ei(t.text)&&!G(t.text)&&Fg(n,zg(t.text))}else t.elm=zg(t.text);return t.elm}function ID(t,e,r,i,n){for(;i<=n;++i){var a=r[i];a!=null&&dn(t,zl(a),e)}}function Tp(t,e,r,i){for(;r<=i;++r){var n=e[r];if(n!=null)if(ei(n.tag)){var a=Vg(n.elm);Ug(a,n.elm)}else Ug(t,n.elm)}}function Cp(t,e){var r,i=e.elm,n=t&&t.attrs||{},a=e.attrs||{};if(n!==a){for(r in a){var o=a[r],s=n[r];s!==o&&(o===!0?i.setAttribute(r,""):o===!1?i.removeAttribute(r):r==="style"?i.style.cssText=o:r.charCodeAt(0)!==wB?i.setAttribute(r,o):r==="xmlns:xlink"||r==="xmlns"?i.setAttributeNS(dD,r,o):r.charCodeAt(3)===OD?i.setAttributeNS(mD,r,o):r.charCodeAt(5)===OD?i.setAttributeNS(Mg,r,o):i.setAttribute(r,o))}for(r in n)r in a||i.removeAttribute(r)}}function EB(t,e,r){for(var i=0,n=0,a=e.length-1,o=e[0],s=e[a],l=r.length-1,u=r[0],f=r[l],c,p,h,v;i<=a&&n<=l;)o==null?o=e[++i]:s==null?s=e[--a]:u==null?u=r[++n]:f==null?f=r[--l]:Bl(o,u)?(Zo(o,u),o=e[++i],u=r[++n]):Bl(s,f)?(Zo(s,f),s=e[--a],f=r[--l]):Bl(o,f)?(Zo(o,f),dn(t,o.elm,Hg(s.elm)),o=e[++i],f=r[--l]):Bl(s,u)?(Zo(s,u),dn(t,s.elm,o.elm),s=e[--a],u=r[++n]):(Gg(c)&&(c=DB(e,i,a)),p=c[u.key],Gg(p)?dn(t,zl(u),o.elm):(h=e[p],h.tag!==u.tag?dn(t,zl(u),o.elm):(Zo(h,u),e[p]=void 0,dn(t,h.elm,o.elm))),u=r[++n]);(i<=a||n<=l)&&(i>a?(v=r[l+1]==null?null:r[l+1].elm,ID(t,v,r,n,l)):Tp(t,e,i,a))}function Zo(t,e){var r=e.elm=t.elm,i=t.children,n=e.children;t!==e&&(Cp(t,e),Gg(e.text)?ei(i)&&ei(n)?i!==n&&EB(r,i,n):ei(n)?(ei(t.text)&&bp(r,""),ID(r,null,n,0,n.length-1)):ei(i)?Tp(r,i,0,i.length-1):ei(t.text)&&bp(r,""):t.text!==e.text&&(ei(i)&&Tp(r,i,0,i.length-1),bp(r,e.text)))}function Yg(t,e){if(Bl(t,e))Zo(t,e);else{var r=t.elm,i=Vg(r);zl(e),i!==null&&(dn(i,e.elm,Hg(r)),Tp(i,[t],0,0))}return e}var MB=0,OB=(function(){function t(e,r,i){if(this.type="svg",this.configLayer=IB("configLayer"),this.storage=r,this._opts=i=P({},i),this.root=e,this._id="zr"+MB++,this._oldVNode=Ig(i.width,i.height),e&&!i.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=xp("svg");Cp(null,this._oldVNode),n.appendChild(a),e.appendChild(n)}this.resize(i.width,i.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",Yg(this._oldVNode,e),this._oldVNode=e}},t.prototype.renderOneToVNode=function(e){return Rg(e,Nl(this._id))},t.prototype.renderToVNode=function(e){e=e||{};var r=this.storage.getDisplayList(!0),i=this._width,n=this._height,a=Nl(this._id);a.animation=e.animation,a.willUpdate=e.willUpdate,a.compress=e.compress,a.emphasis=e.emphasis,a.ssr=this._opts.ssr;var o=[],s=this._bgVNode=LB(i,n,this._backgroundColor,a);s&&o.push(s);var l=e.compress?null:this._mainVNode=Xe("g","main",{},[]);this._paintList(r,a,l?l.children:o),l&&o.push(l);var u=z(te(a.defs),function(p){return a.defs[p]});if(u.length&&o.push(Xe("defs","defs",{},u)),e.animation){var f=gD(a.cssNodes,a.cssAnims,{newline:!0});if(f){var c=Xe("style","stl",{},[],f);o.push(c)}}return Ig(i,n,o,e.useViewBox)},t.prototype.renderToString=function(e){return e=e||{},Pl(this.renderToVNode({animation:Y(e.cssAnimation,!0),emphasis:Y(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Y(e.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(e,r,i){for(var n=e.length,a=[],o=0,s,l,u=0,f=0;f<n;f++){var c=e[f];if(!c.invisible){var p=c.__clipPaths,h=p&&p.length||0,v=l&&l.length||0,d=void 0;for(d=Math.max(h-1,v-1);d>=0&&!(p&&l&&p[d]===l[d]);d--);for(var m=v-1;m>d;m--)o--,s=a[o-1];for(var g=d+1;g<h;g++){var y={};MD(p[g],y,r);var _=Xe("g","clip-g-"+u++,y,[]);(s?s.children:i).push(_),a[o++]=_,s=_}l=p;var x=Rg(c,r);x&&(s?s.children:i).push(x)}}},t.prototype.resize=function(e,r){var i=this._opts,n=this.root,a=this._viewport;if(e!=null&&(i.width=e),r!=null&&(i.height=r),n&&a&&(a.style.display="none",e=Bd(n,0,i),r=Bd(n,1,i),a.style.display=""),this._width!==e||this._height!==r){if(this._width=e,this._height=r,a){var o=a.style;o.width=e+"px",o.height=r+"px"}if(us(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",e),s.setAttribute("height",r));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",e),l.setAttribute("height",r))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(e){var r=this.renderToString(),i="data:image/svg+xml;";return e?(r=i_(r),r&&i+"base64,"+r):i+"charset=UTF-8,"+encodeURIComponent(r)},t})();function IB(t){return function(){}}function LB(t,e,r,i){var n;if(r&&r!=="none")if(n=Xe("rect","bg",{width:t,height:e,x:"0",y:"0"}),mu(r))kg({fill:r},n.attrs,"fill",i);else if(us(r))Bg({style:{fill:r},dirty:Le,getBoundingRect:function(){return{width:t,height:e}}},n.attrs,"fill",i);else{var a=Pi(r),o=a.color,s=a.opacity;n.attrs.fill=o,s<1&&(n.attrs["fill-opacity"]=s)}return n}var LD=OB;function Wg(t){t.registerPainter("svg",LD)}var Xg="plugin.echarts",PD=["bar","line","area","pie","donut","scatter","stacked-bar"];function PB(t,e={}){return PD.some(r=>r===t.kind)}function qg({kind:t},e={}){return t==="pie"||t==="donut"}var mn=t=>typeof t=="number"&&Number.isFinite(t);function NB(t){if(t?.locale===void 0)return!0;try{return new Intl.NumberFormat(t.locale),!0}catch{return!1}}function RB(t){return[t.format,t.axes?.x?.format,t.axes?.y?.format].every(NB)}function kB({spec:t},e={}){return t.series.every(({key:r})=>{let i=t.data.map(n=>n[r]);return i.every(n=>mn(n)&&n>=0)&&i.some(n=>n!==0)})}function BB(t){let e=t.series.map(({key:i})=>i),r=t.data.flatMap(i=>e.map(n=>i[n]??null));return!r.every(i=>i===null||mn(i))||!r.some(i=>i!==null)?!1:t.kind!=="scatter"||t.data.every(i=>mn(i[t.categoryKey]))}function wp({spec:t},e={}){return!PB({kind:t.kind})||!t.categoryKey||t.series.length===0||t.data.length===0||!RB(t)?!1:qg({kind:t.kind})?kB({spec:t}):BB(t)}var zB=["var(--jini-chart-1, var(--jini-chart-default-1))","var(--jini-chart-2, var(--jini-chart-default-2))","var(--jini-chart-3, var(--jini-chart-default-3))","var(--jini-chart-4, var(--jini-chart-default-4))","var(--jini-chart-5, var(--jini-chart-default-5))","var(--jini-chart-6, var(--jini-chart-default-6))"],Zg="var(--jini-chart-text, var(--jini-text, #171717))",jg="var(--jini-chart-axis, var(--jini-muted, #737373))",Qg="var(--jini-chart-grid, var(--jini-border, #e5e5e5))",kD="var(--jini-chart-surface, var(--jini-bg, #ffffff))",UB="var(--jini-chart-cursor, var(--jini-accent-soft, rgba(0, 0, 0, 0.06)))",FB={left:8,right:16,top:16,bottom:40,outerBoundsMode:"same",outerBoundsContain:"all"},VB={type:"scroll",bottom:0,icon:"roundRect",itemWidth:10,itemHeight:10,textStyle:{color:Zg}},BD={confine:!0,className:"jini-chart-tooltip",backgroundColor:kD,borderColor:Qg,textStyle:{color:Zg}},zD={disabled:!0};function $g({spec:t},e={}){return t.title??`${t.series.map(r=>r.label??r.key).join(", ")} by ${t.categoryKey}`}function UD(t){return t==null?"":typeof t=="object"?JSON.stringify(t):String(t)}function Kg(t){if(!t)return;let e=new Intl.NumberFormat(t.locale,t.notation?{notation:t.notation}:{});return r=>e.format(r)}function ND(t){return t.every(e=>e==null||typeof e=="number"&&Number.isInteger(e))}function FD({x:t,y:e}){if(!t&&!e)return{};let r=(i,n)=>typeof i!="number"?"\u2013":n?n(i):String(i);return{valueFormatter:i=>Array.isArray(i)?i.map((n,a)=>r(n,a===0?t:e)).join(", "):r(i,e)}}function VD({name:t}){return t?{name:t,nameLocation:"middle",nameTextStyle:{color:jg}}:{}}function RD({name:t,format:e,integers:r}){return{type:"value",...VD({name:t}),...r?{minInterval:1}:{},axisLabel:{color:jg,...e?{formatter:e}:{}},splitLine:{lineStyle:{color:Qg}}}}function HB({spec:t}){return{type:"category",...VD({name:t.axes?.x?.label}),data:t.data.map(e=>UD(e[t.categoryKey])),boundaryGap:t.kind!=="line"&&t.kind!=="area",axisTick:{show:!1},axisLine:{lineStyle:{color:Qg}},axisLabel:{color:jg,hideOverlap:!0}}}function GB({spec:t,index:e}){let r=t.series[e],i={name:r.label??r.key,emphasis:zD,...r.color!==void 0?{itemStyle:{color:r.color}}:{}};if(t.kind==="scatter"){let a=t.data.flatMap(o=>{let s=o[t.categoryKey],l=o[r.key];return mn(s)&&mn(l)?[[s,l]]:[]});return{...i,type:"scatter",symbolSize:10,data:a}}let n=t.data.map(a=>{let o=a[r.key];return mn(o)?o:null});return t.kind==="line"||t.kind==="area"?{...i,type:"line",symbol:"circle",symbolSize:6,data:n,...t.kind==="area"?{areaStyle:{opacity:.2}}:{}}:{...i,type:"bar",barMaxWidth:48,data:n,...t.kind==="stacked-bar"?{stack:"total"}:{}}}function YB(t){let e=Kg(t.axes?.y?.format??t.format);return{x:t.kind==="scatter"?Kg(t.axes?.x?.format??t.format):void 0,y:e}}function WB(t){let{x:e,y:r}=YB(t),i=t.kind==="scatter",n=t.kind==="bar"||t.kind==="stacked-bar",a=i?RD({name:t.axes?.x?.label,format:e,integers:ND(t.data.map(s=>s[t.categoryKey]))}):HB({spec:t}),o=t.data.flatMap(s=>t.series.map(({key:l})=>s[l]));return{grid:FB,xAxis:a,yAxis:RD({name:t.axes?.y?.label,format:r,integers:ND(o)}),tooltip:{...BD,trigger:i?"item":"axis",...n?{axisPointer:{type:"shadow",shadowStyle:{color:UB}}}:{},...FD({x:e,y:r})},series:t.series.map((s,l)=>GB({spec:t,index:l}))}}function XB({spec:t,index:e},r={}){if(t.series.length===1)return t.kind==="donut"?["50%","75%"]:"75%";let i=t.kind==="donut"?50:0,n=(75-i)/t.series.length;return[`${i+e*n}%`,`${i+(e+1)*n}%`]}function qB({spec:t,index:e},r={}){let i=t.series[e],n=t.data.map(a=>{let o=a[i.key];return{name:UD(a[t.categoryKey]),value:mn(o)?o:0}});return{type:"pie",name:i.label??i.key,radius:XB({spec:t,index:e}),center:["50%","45%"],label:{show:!1},labelLine:{show:!1},emphasis:zD,itemStyle:{borderColor:kD,borderWidth:2},data:n}}function KB({spec:t},e={}){return{tooltip:{...BD,trigger:"item",...FD({y:Kg(t.format)})},series:t.series.map((r,i)=>qB({spec:t,index:i}))}}function HD({spec:t},e={}){return{animation:!1,color:[...zB],aria:{enabled:!0},title:{show:!1,text:$g({spec:t})},textStyle:{color:Zg},legend:VB,...qg({kind:t.kind})?KB({spec:t}):WB(t)}}bt([Vm,Om,Km,ig,Cg,fg,bg,dg,vg,Wg]);var ZB=["series","xAxis","yAxis","grid","tooltip"],jB=300,Ul=class extends Error{constructor(){super("Unsupported ECharts chart specification."),this.name="UnsupportedChartSpecError"}};function QB({element:t}){let e=t.ownerDocument,r=e.createElement("figure");r.className="jini-chart",r.dataset.chartProvider=Xg;let i=e.createElement("figcaption");i.className="jini-chart-caption";let n=e.createElement("div");return n.className="jini-chart-surface",n.style.width="100%",n.style.height=`${jB}px`,r.append(i,n),t.replaceChildren(r),{figure:r,caption:i,surface:n}}function $B({figure:t,caption:e,spec:r,descriptionId:i}){let n=$g({spec:r}),a=t.ownerDocument.createElement("span");if(a.textContent=n,e.replaceChildren(a),t.setAttribute("aria-label",n),t.removeAttribute("aria-describedby"),r.description===void 0)return;let o=t.ownerDocument.createElement("span");o.id=i,o.textContent=r.description,e.append(o),t.setAttribute("aria-describedby",o.id)}function JB({surface:t,chart:e}){if(typeof ResizeObserver!="function")return;let r=new ResizeObserver(()=>{e.isDisposed()||e.resize()});return r.observe(t),r}function ez({element:t,applyTheme:e,...r},i={}){if(!wp({spec:r.spec}))throw new Ul;let n=QB({element:t}),a=XT(n.surface,void 0,{renderer:"svg"}),o=`jini-echarts-description-${a.id}`,s=!1;function l(f){if(!s){if(!wp({spec:f.spec}))throw new Ul;e({element:t,theme:f.theme}),$B({...n,spec:f.spec,descriptionId:o}),a.setOption(HD({spec:f.spec}),{replaceMerge:ZB})}}try{l(r)}catch(f){throw a.dispose(),t.replaceChildren(),f}let u=JB({surface:n.surface,chart:a});return{ready:Promise.resolve(),update(f,c={}){l(f)},destroy(f={},c={}){s||(s=!0,u?.disconnect(),a.dispose(),t.replaceChildren())}}}export{PD as ECHARTS_KINDS,Xg as ECHARTS_PROVIDER_ID,Ul as UnsupportedChartSpecError,ez as mount,wp as supportsEChartsSpec};
|
|
41
|
+
`:"",n=" {"+i,a=i+"}",o=z(te(t),function(l){return l+n+z(te(t[l]),function(u){return u+":"+t[l][u]+";"}).join(i)+a}).join(i),s=z(te(e),function(l){return"@keyframes "+l+n+z(te(e[l]),function(u){return u+n+z(te(e[l][u]),function(f){var c=e[l][u][f];return f==="d"&&(c='path("'+c+'")'),f+":"+c+";"}).join(i)+a}).join(i)+a}).join(i);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(i)}function Nl(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Ig(t,e,r,i){return Xe("svg","root",{width:t,height:e,xmlns:vD,"xmlns:xlink":Mg,version:"1.1",baseProfile:"full",viewBox:i?"0 0 "+t+" "+e:!1},r)}var pB=0;function Sp(){return pB++}var yD={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Oa="transform-origin";function hB(t,e,r){var i=P({},t.shape);P(i,e),t.buildPath(r,i);var n=new _p;return n.reset(gu(t)),r.rebuildPath(n,1),n.generateStr(),n.getStr()}function vB(t,e){var r=e.originX,i=e.originY;(r||i)&&(t[Oa]=r+"px "+i+"px")}var dB={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function xD(t,e){var r=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[r]=t,r}function mB(t,e,r){var i=t.shape.paths,n={},a,o;if(C(i,function(l){var u=Nl(r.zrId);u.animation=!0,Rl(l,{},u,!0);var f=u.cssAnims,c=u.cssNodes,p=te(f),h=p.length;if(h){o=p[h-1];var v=f[o];for(var d in v){var m=v[d];n[d]=n[d]||{d:""},n[d].d+=m.d||""}for(var g in c){var y=c[g].animation;y.indexOf(o)>=0&&(a=y)}}}),!!a){e.d=!1;var s=xD(n,r);return a.replace(o,s)}}function _D(t){return U(t)?yD[t]?"cubic-bezier("+yD[t]+")":Wa(t)?t:"":""}function Rl(t,e,r,i){var n=t.animators,a=n.length,o=[];if(t instanceof of){var s=mB(t,e,r);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var l={},u=0;u<a;u++){var f=n[u],c=[f.getMaxTime()/1e3+"s"],p=_D(f.getClip().easing),h=f.getDelay();p?c.push(p):c.push("linear"),h&&c.push(h/1e3+"s"),f.getLoop()&&c.push("infinite");var v=c.join(" ");l[v]=l[v]||[v,[]],l[v][1].push(f)}function d(y){var _=y[1],x=_.length,S={},b={},T={},A="animation-timing-function";function w(ke,xe,Ee){for(var oe=ke.getTracks(),me=ke.getMaxTime(),Pt=0;Pt<oe.length;Pt++){var He=oe[Pt];if(He.needsAnimate()){var hr=He.keyframes,Nt=He.propName;if(Ee&&(Nt=Ee(Nt)),Nt)for(var vr=0;vr<hr.length;vr++){var Ia=hr[vr],dr=Math.round(Ia.time/me*100)+"%",Fl=_D(Ia.easing),La=Ia.rawValue;(U(La)||ae(La))&&(xe[dr]=xe[dr]||{},xe[dr][Nt]=Ia.rawValue,Fl&&(xe[dr][A]=Fl))}}}}for(var D=0;D<x;D++){var E=_[D],O=E.targetName;O?O==="shape"&&w(E,b):!i&&w(E,S)}for(var M in S){var I={};Ni(I,t),P(I,S[M]);var R=yu(I),N=S[M][A];T[M]=R?{transform:R}:{},vB(T[M],I),N&&(T[M][A]=N)}var F,k=!0;for(var M in b){T[M]=T[M]||{};var V=!F,N=b[M][A];V&&(F=new pt);var H=F.len();F.reset(),T[M].d=hB(t,b[M],F);var W=F.len();if(!V&&H!==W){k=!1;break}N&&(T[M][A]=N)}if(!k)for(var M in T)delete T[M].d;if(!i)for(var D=0;D<x;D++){var E=_[D],O=E.targetName;O==="style"&&w(E,T,function(oe){return dB[oe]})}for(var j=te(T),$=!0,Z,D=1;D<j.length;D++){var ue=j[D-1],de=j[D];if(T[ue][Oa]!==T[de][Oa]){$=!1;break}Z=T[ue][Oa]}if($&&Z){for(var M in T)T[M][Oa]&&delete T[M][Oa];e[Oa]=Z}if(Me(j,function(ke){return te(T[ke]).length>0}).length){var Ve=xD(T,r);return Ve+" "+y[0]+" both"}}for(var m in l){var s=d(l[m]);s&&o.push(s)}if(o.length){var g=r.zrId+"-cls-"+Sp();r.cssNodes["."+g]={animation:o.join(",")},e.class=g}}function bD(t,e,r){if(!t.ignore)if(t.isSilent()){var i={"pointer-events":"none"};SD(i,e,r,!0)}else{var n=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},a=n.fill;if(!a){var o=t.style&&t.style.fill,s=t.states.select&&t.states.select.style&&t.states.select.style.fill,l=t.currentStates.indexOf("select")>=0&&s||o;l&&(a=ls(l))}var u=n.lineWidth;if(u){var f=!n.strokeNoScale&&t.transform?t.transform[0]:1;u=u/f}var i={cursor:"pointer"};a&&(i.fill=a),n.stroke&&(i.stroke=n.stroke),u&&(i["stroke-width"]=u),SD(i,e,r,!0)}}function SD(t,e,r,i){var n=JSON.stringify(t),a=r.cssStyleCache[n];a||(a=r.zrId+"-cls-"+Sp(),r.cssStyleCache[n]=a,r.cssNodes["."+a+(i?":hover":"")]=t),e.class=e.class?e.class+" "+a:a}var kl=Math.round;function AD(t){return t&&U(t.src)}function DD(t){return t&&q(t.toDataURL)}function Lg(t,e,r,i){Eg(function(n,a){var o=n==="fill"||n==="stroke";o&&mu(a)?kg(e,t,n,i):o&&us(a)?Bg(r,t,n,i):t[n]=a,o&&i.ssr&&a==="none"&&(t["pointer-events"]="visible")},e,r,!1),TB(r,t,i)}function Pg(t,e){var r=M_(e);r&&(r.each(function(i,n){i!=null&&(t[(Og+n).toLowerCase()]=i+"")}),e.isSilent()&&(t[Og+"silent"]="true"))}function TD(t){return Rr(t[0]-1)&&Rr(t[1])&&Rr(t[2])&&Rr(t[3]-1)}function gB(t){return Rr(t[4])&&Rr(t[5])}function Ng(t,e,r){if(e&&!(gB(e)&&TD(e))){var i=r?10:1e4;t.transform=TD(e)?"translate("+kl(e[4]*i)/i+" "+kl(e[5]*i)/i+")":$y(e)}}function CD(t,e,r){for(var i=t.points,n=[],a=0;a<i.length;a++)n.push(kl(i[a][0]*r)/r),n.push(kl(i[a][1]*r)/r);e.points=n.join(" ")}function wD(t){return!t.smooth}function yB(t){var e=z(t,function(r){return typeof r=="string"?[r,r]:r});return function(r,i,n){for(var a=0;a<e.length;a++){var o=e[a],s=r[o[0]];s!=null&&(i[o[1]]=kl(s*n)/n)}}}var _B={circle:[yB(["cx","cy","r"])],polyline:[CD,wD],polygon:[CD,wD]};function xB(t){for(var e=t.animators,r=0;r<e.length;r++)if(e[r].targetName==="shape")return!0;return!1}function ED(t,e){var r=t.style,i=t.shape,n=_B[t.type],a={},o=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&gu(t)||4;if(n&&!e.willUpdate&&!(n[1]&&!n[1](i))&&!(o&&xB(t))&&!(l<1)){s=t.type;var f=Math.pow(10,u);n[0](i,a,f)}else{var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var p=t.path;c&&(p.beginPath(),t.buildPath(p,t.shape),t.pathUpdated());var h=p.getVersion(),v=t,d=v.__svgPathBuilder;(v.__svgPathVersion!==h||!d||l!==v.__svgPathStrokePercent)&&(d||(d=v.__svgPathBuilder=new _p),d.reset(u),p.rebuildPath(d,l),d.generateStr(),v.__svgPathVersion=h,v.__svgPathStrokePercent=l),a.d=d.getStr()}return Ng(a,t.transform),Lg(a,r,t,e),Pg(a,t),e.animation&&Rl(t,a,e),e.emphasis&&bD(t,a,e),Xe(s,t.id+"",a)}function SB(t,e){var r=t.style,i=r.image;if(i&&!U(i)&&(AD(i)?i=i.src:DD(i)&&(i=i.toDataURL())),!!i){var n=r.x||0,a=r.y||0,o=r.width,s=r.height,l={href:i,width:o,height:s};return n&&(l.x=n),a&&(l.y=a),Ng(l,t.transform),Lg(l,r,t,e),Pg(l,t),e.animation&&Rl(t,l,e),Xe("image",t.id+"",l)}}function bB(t,e){var r=t.style,i=r.text;if(i!=null&&(i+=""),!(!i||isNaN(r.x)||isNaN(r.y))){var n=r.font||Rt,a=r.x||0,o=e_(r.y||0,In(n),r.textBaseline),s=Jy[r.textAlign]||r.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(sv(r)){var u="",f=r.fontStyle,c=ov(r.fontSize);if(!parseFloat(c))return;var p=r.fontFamily||Ep,h=r.fontWeight;u+="font-size:"+c+";font-family:"+p+";",f&&f!=="normal"&&(u+="font-style:"+f+";"),h&&h!=="normal"&&(u+="font-weight:"+h+";"),l.style=u}else l.style="font: "+n;return i.match(/\s/)&&(l["xml:space"]="preserve"),a&&(l.x=a),o&&(l.y=o),Ng(l,t.transform),Lg(l,r,t,e),Pg(l,t),e.animation&&Rl(t,l,e),Xe("text",t.id+"",l,void 0,i)}}function Rg(t,e){if(t instanceof re)return ED(t,e);if(t instanceof yt)return SB(t,e);if(t instanceof Gn)return bB(t,e)}function TB(t,e,r){var i=t.style;if(t_(i)){var n=r_(t),a=r.shadowCache,o=a[n];if(!o){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var f=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,h=Pi(i.shadowColor),v=h.opacity,d=h.color,m=p/2/l,g=p/2/u,y=m+" "+g;o=r.zrId+"-s"+r.shadowIdx++,r.defs[o]=Xe("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Xe("feDropShadow","",{dx:f/l,dy:c/u,stdDeviation:y,"flood-color":d,"flood-opacity":v})]),a[n]=o}e.filter=fs(o)}}function kg(t,e,r,i){var n=t[r],a,o={gradientUnits:n.global?"userSpaceOnUse":"objectBoundingBox"};if(vu(n))a="linearGradient",o.x1=n.x,o.y1=n.y,o.x2=n.x2,o.y2=n.y2;else if(du(n))a="radialGradient",o.cx=Y(n.x,.5),o.cy=Y(n.y,.5),o.r=Y(n.r,.5);else return;for(var s=n.colorStops,l=[],u=0,f=s.length;u<f;++u){var c=hu(s[u].offset)*100+"%",p=s[u].color,h=Pi(p),v=h.color,d=h.opacity,m={offset:c};m["stop-color"]=v,d<1&&(m["stop-opacity"]=d),l.push(Xe("stop",u+"",m))}var g=Xe(a,"",o,l),y=Pl(g),_=i.gradientCache,x=_[y];x||(x=i.zrId+"-g"+i.gradientIdx++,_[y]=x,o.id=x,i.defs[x]=Xe(a,x,o,l)),e[r]=fs(x)}function Bg(t,e,r,i){var n=t.style[r],a=t.getBoundingRect(),o={},s=n.repeat,l=s==="no-repeat",u=s==="repeat-x",f=s==="repeat-y",c;if(nh(n)){var p=n.imageWidth,h=n.imageHeight,v=void 0,d=n.image;if(U(d)?v=d:AD(d)?v=d.src:DD(d)&&(v=d.toDataURL()),typeof Image>"u"){var m="Image width/height must been given explictly in svg-ssr renderer.";Be(p,m),Be(h,m)}else if(p==null||h==null){var g=function(D,E){if(D){var O=D.elm,M=p||E.width,I=h||E.height;D.tag==="pattern"&&(u?(I=1,M/=a.width):f&&(M=1,I/=a.height)),D.attrs.width=M,D.attrs.height=I,O&&(O.setAttribute("width",M),O.setAttribute("height",I))}},y=ws(v,null,t,function(D){l||g(b,D),g(c,D)});y&&y.width&&y.height&&(p=p||y.width,h=h||y.height)}c=Xe("image","img",{href:v,width:p,height:h}),o.width=p,o.height=h}else n.svgElement&&(c=J(n.svgElement),o.width=n.svgWidth,o.height=n.svgHeight);if(c){var _,x;l?_=x=1:u?(x=1,_=o.width/a.width):f?(_=1,x=o.height/a.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),x!=null&&!isNaN(x)&&(o.height=x);var S=yu(n);S&&(o.patternTransform=S);var b=Xe("pattern","",o,[c]),T=Pl(b),A=i.patternCache,w=A[T];w||(w=i.zrId+"-p"+i.patternIdx++,A[T]=w,o.id=w,b=i.defs[w]=Xe("pattern",w,o,[c])),e[r]=fs(w)}}function MD(t,e,r){var i=r.clipPathCache,n=r.defs,a=i[t.id];if(!a){a=r.zrId+"-c"+r.clipPathIdx++;var o={id:a};i[t.id]=a,n[a]=Xe("clipPath",a,o,[ED(t,r)])}e["clip-path"]=fs(a)}function zg(t){return document.createTextNode(t)}function dn(t,e,r){t.insertBefore(e,r)}function Ug(t,e){t.removeChild(e)}function Fg(t,e){t.appendChild(e)}function Vg(t){return t.parentNode}function Hg(t){return t.nextSibling}function bp(t,e){t.textContent=e}var OD=58,wB=120,AB=Xe("","");function Gg(t){return t===void 0}function ei(t){return t!==void 0}function DB(t,e,r){for(var i={},n=e;n<=r;++n){var a=t[n].key;a!==void 0&&(i[a]=n)}return i}function Bl(t,e){var r=t.key===e.key,i=t.tag===e.tag;return i&&r}function zl(t){var e,r=t.children,i=t.tag;if(ei(i)){var n=t.elm=xp(i);if(Cp(AB,t),B(r))for(e=0;e<r.length;++e){var a=r[e];a!=null&&Fg(n,zl(a))}else ei(t.text)&&!G(t.text)&&Fg(n,zg(t.text))}else t.elm=zg(t.text);return t.elm}function ID(t,e,r,i,n){for(;i<=n;++i){var a=r[i];a!=null&&dn(t,zl(a),e)}}function Tp(t,e,r,i){for(;r<=i;++r){var n=e[r];if(n!=null)if(ei(n.tag)){var a=Vg(n.elm);Ug(a,n.elm)}else Ug(t,n.elm)}}function Cp(t,e){var r,i=e.elm,n=t&&t.attrs||{},a=e.attrs||{};if(n!==a){for(r in a){var o=a[r],s=n[r];s!==o&&(o===!0?i.setAttribute(r,""):o===!1?i.removeAttribute(r):r==="style"?i.style.cssText=o:r.charCodeAt(0)!==wB?i.setAttribute(r,o):r==="xmlns:xlink"||r==="xmlns"?i.setAttributeNS(dD,r,o):r.charCodeAt(3)===OD?i.setAttributeNS(mD,r,o):r.charCodeAt(5)===OD?i.setAttributeNS(Mg,r,o):i.setAttribute(r,o))}for(r in n)r in a||i.removeAttribute(r)}}function EB(t,e,r){for(var i=0,n=0,a=e.length-1,o=e[0],s=e[a],l=r.length-1,u=r[0],f=r[l],c,p,h,v;i<=a&&n<=l;)o==null?o=e[++i]:s==null?s=e[--a]:u==null?u=r[++n]:f==null?f=r[--l]:Bl(o,u)?(Zo(o,u),o=e[++i],u=r[++n]):Bl(s,f)?(Zo(s,f),s=e[--a],f=r[--l]):Bl(o,f)?(Zo(o,f),dn(t,o.elm,Hg(s.elm)),o=e[++i],f=r[--l]):Bl(s,u)?(Zo(s,u),dn(t,s.elm,o.elm),s=e[--a],u=r[++n]):(Gg(c)&&(c=DB(e,i,a)),p=c[u.key],Gg(p)?dn(t,zl(u),o.elm):(h=e[p],h.tag!==u.tag?dn(t,zl(u),o.elm):(Zo(h,u),e[p]=void 0,dn(t,h.elm,o.elm))),u=r[++n]);(i<=a||n<=l)&&(i>a?(v=r[l+1]==null?null:r[l+1].elm,ID(t,v,r,n,l)):Tp(t,e,i,a))}function Zo(t,e){var r=e.elm=t.elm,i=t.children,n=e.children;t!==e&&(Cp(t,e),Gg(e.text)?ei(i)&&ei(n)?i!==n&&EB(r,i,n):ei(n)?(ei(t.text)&&bp(r,""),ID(r,null,n,0,n.length-1)):ei(i)?Tp(r,i,0,i.length-1):ei(t.text)&&bp(r,""):t.text!==e.text&&(ei(i)&&Tp(r,i,0,i.length-1),bp(r,e.text)))}function Yg(t,e){if(Bl(t,e))Zo(t,e);else{var r=t.elm,i=Vg(r);zl(e),i!==null&&(dn(i,e.elm,Hg(r)),Tp(i,[t],0,0))}return e}var MB=0,OB=(function(){function t(e,r,i){if(this.type="svg",this.configLayer=IB("configLayer"),this.storage=r,this._opts=i=P({},i),this.root=e,this._id="zr"+MB++,this._oldVNode=Ig(i.width,i.height),e&&!i.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=xp("svg");Cp(null,this._oldVNode),n.appendChild(a),e.appendChild(n)}this.resize(i.width,i.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",Yg(this._oldVNode,e),this._oldVNode=e}},t.prototype.renderOneToVNode=function(e){return Rg(e,Nl(this._id))},t.prototype.renderToVNode=function(e){e=e||{};var r=this.storage.getDisplayList(!0),i=this._width,n=this._height,a=Nl(this._id);a.animation=e.animation,a.willUpdate=e.willUpdate,a.compress=e.compress,a.emphasis=e.emphasis,a.ssr=this._opts.ssr;var o=[],s=this._bgVNode=LB(i,n,this._backgroundColor,a);s&&o.push(s);var l=e.compress?null:this._mainVNode=Xe("g","main",{},[]);this._paintList(r,a,l?l.children:o),l&&o.push(l);var u=z(te(a.defs),function(p){return a.defs[p]});if(u.length&&o.push(Xe("defs","defs",{},u)),e.animation){var f=gD(a.cssNodes,a.cssAnims,{newline:!0});if(f){var c=Xe("style","stl",{},[],f);o.push(c)}}return Ig(i,n,o,e.useViewBox)},t.prototype.renderToString=function(e){return e=e||{},Pl(this.renderToVNode({animation:Y(e.cssAnimation,!0),emphasis:Y(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Y(e.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(e,r,i){for(var n=e.length,a=[],o=0,s,l,u=0,f=0;f<n;f++){var c=e[f];if(!c.invisible){var p=c.__clipPaths,h=p&&p.length||0,v=l&&l.length||0,d=void 0;for(d=Math.max(h-1,v-1);d>=0&&!(p&&l&&p[d]===l[d]);d--);for(var m=v-1;m>d;m--)o--,s=a[o-1];for(var g=d+1;g<h;g++){var y={};MD(p[g],y,r);var _=Xe("g","clip-g-"+u++,y,[]);(s?s.children:i).push(_),a[o++]=_,s=_}l=p;var x=Rg(c,r);x&&(s?s.children:i).push(x)}}},t.prototype.resize=function(e,r){var i=this._opts,n=this.root,a=this._viewport;if(e!=null&&(i.width=e),r!=null&&(i.height=r),n&&a&&(a.style.display="none",e=Bd(n,0,i),r=Bd(n,1,i),a.style.display=""),this._width!==e||this._height!==r){if(this._width=e,this._height=r,a){var o=a.style;o.width=e+"px",o.height=r+"px"}if(us(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",e),s.setAttribute("height",r));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",e),l.setAttribute("height",r))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(e){var r=this.renderToString(),i="data:image/svg+xml;";return e?(r=i_(r),r&&i+"base64,"+r):i+"charset=UTF-8,"+encodeURIComponent(r)},t})();function IB(t){return function(){}}function LB(t,e,r,i){var n;if(r&&r!=="none")if(n=Xe("rect","bg",{width:t,height:e,x:"0",y:"0"}),mu(r))kg({fill:r},n.attrs,"fill",i);else if(us(r))Bg({style:{fill:r},dirty:Le,getBoundingRect:function(){return{width:t,height:e}}},n.attrs,"fill",i);else{var a=Pi(r),o=a.color,s=a.opacity;n.attrs.fill=o,s<1&&(n.attrs["fill-opacity"]=s)}return n}var LD=OB;function Wg(t){t.registerPainter("svg",LD)}var Xg="plugin.echarts",PD=["bar","line","area","pie","donut","scatter","stacked-bar"];function PB(t,e={}){return PD.some(r=>r===t.kind)}function qg({kind:t},e={}){return t==="pie"||t==="donut"}var mn=(t,e={})=>{let{value:r}=t;return typeof r=="number"&&Number.isFinite(r)};function NB(t){if(t?.locale===void 0)return!0;try{return new Intl.NumberFormat(t.locale),!0}catch{return!1}}function RB(t){return[t.format,t.axes?.x?.format,t.axes?.y?.format].every(NB)}function kB({spec:t},e={}){return t.series.every(({key:r})=>{let i=t.data.map(n=>n[r]);return i.every(n=>{let a={value:n};return mn(a)&&a.value>=0})&&i.some(n=>n!==0)})}function BB(t){let e=t.series.map(({key:i})=>i),r=t.data.flatMap(i=>e.map(n=>i[n]??null));return!r.every(i=>i===null||mn({value:i}))||!r.some(i=>i!==null)?!1:t.kind!=="scatter"||t.data.every(i=>mn({value:i[t.categoryKey]}))}function wp({spec:t},e={}){return!PB({kind:t.kind})||!t.categoryKey||t.series.length===0||t.data.length===0||!RB(t)?!1:qg({kind:t.kind})?kB({spec:t}):BB(t)}var zB=["var(--jini-chart-1, var(--jini-chart-default-1))","var(--jini-chart-2, var(--jini-chart-default-2))","var(--jini-chart-3, var(--jini-chart-default-3))","var(--jini-chart-4, var(--jini-chart-default-4))","var(--jini-chart-5, var(--jini-chart-default-5))","var(--jini-chart-6, var(--jini-chart-default-6))"],Zg="var(--jini-chart-text, var(--jini-text, #171717))",jg="var(--jini-chart-axis, var(--jini-muted, #737373))",Qg="var(--jini-chart-grid, var(--jini-border, #e5e5e5))",kD="var(--jini-chart-surface, var(--jini-bg, #ffffff))",UB="var(--jini-chart-cursor, var(--jini-accent-soft, rgba(0, 0, 0, 0.06)))",FB={left:8,right:16,top:16,bottom:40,outerBoundsMode:"same",outerBoundsContain:"all"},VB={type:"scroll",bottom:0,icon:"roundRect",itemWidth:10,itemHeight:10,textStyle:{color:Zg}},BD={confine:!0,className:"jini-chart-tooltip",backgroundColor:kD,borderColor:Qg,textStyle:{color:Zg}},zD={disabled:!0};function $g({spec:t},e={}){return t.title??`${t.series.map(r=>r.label??r.key).join(", ")} by ${t.categoryKey}`}function UD(t){return t==null?"":typeof t=="object"?JSON.stringify(t):String(t)}function Kg(t){if(!t)return;let e=new Intl.NumberFormat(t.locale,t.notation?{notation:t.notation}:{});return r=>e.format(r)}function ND(t){return t.every(e=>e==null||typeof e=="number"&&Number.isInteger(e))}function FD({x:t,y:e}){if(!t&&!e)return{};let r=(i,n)=>typeof i!="number"?"\u2013":n?n(i):String(i);return{valueFormatter:i=>Array.isArray(i)?i.map((n,a)=>r(n,a===0?t:e)).join(", "):r(i,e)}}function VD({name:t}){return t?{name:t,nameLocation:"middle",nameTextStyle:{color:jg}}:{}}function RD({name:t,format:e,integers:r}){return{type:"value",...VD({name:t}),...r?{minInterval:1}:{},axisLabel:{color:jg,...e?{formatter:e}:{}},splitLine:{lineStyle:{color:Qg}}}}function HB({spec:t}){return{type:"category",...VD({name:t.axes?.x?.label}),data:t.data.map(e=>UD(e[t.categoryKey])),boundaryGap:t.kind!=="line"&&t.kind!=="area",axisTick:{show:!1},axisLine:{lineStyle:{color:Qg}},axisLabel:{color:jg,hideOverlap:!0}}}function GB({spec:t,index:e}){let r=t.series[e],i={name:r.label??r.key,emphasis:zD,...r.color!==void 0?{itemStyle:{color:r.color}}:{}};if(t.kind==="scatter"){let a=t.data.flatMap(o=>{let s={value:o[t.categoryKey]},l={value:o[r.key]};return mn(s)&&mn(l)?[[s.value,l.value]]:[]});return{...i,type:"scatter",symbolSize:10,data:a}}let n=t.data.map(a=>{let o={value:a[r.key]};return mn(o)?o.value:null});return t.kind==="line"||t.kind==="area"?{...i,type:"line",symbol:"circle",symbolSize:6,data:n,...t.kind==="area"?{areaStyle:{opacity:.2}}:{}}:{...i,type:"bar",barMaxWidth:48,data:n,...t.kind==="stacked-bar"?{stack:"total"}:{}}}function YB(t){let e=Kg(t.axes?.y?.format??t.format);return{x:t.kind==="scatter"?Kg(t.axes?.x?.format??t.format):void 0,y:e}}function WB(t){let{x:e,y:r}=YB(t),i=t.kind==="scatter",n=t.kind==="bar"||t.kind==="stacked-bar",a=i?RD({name:t.axes?.x?.label,format:e,integers:ND(t.data.map(s=>s[t.categoryKey]))}):HB({spec:t}),o=t.data.flatMap(s=>t.series.map(({key:l})=>s[l]));return{grid:FB,xAxis:a,yAxis:RD({name:t.axes?.y?.label,format:r,integers:ND(o)}),tooltip:{...BD,trigger:i?"item":"axis",...n?{axisPointer:{type:"shadow",shadowStyle:{color:UB}}}:{},...FD({x:e,y:r})},series:t.series.map((s,l)=>GB({spec:t,index:l}))}}function XB({spec:t,index:e},r={}){if(t.series.length===1)return t.kind==="donut"?["50%","75%"]:"75%";let i=t.kind==="donut"?50:0,n=(75-i)/t.series.length;return[`${i+e*n}%`,`${i+(e+1)*n}%`]}function qB({spec:t,index:e},r={}){let i=t.series[e],n=t.data.map(a=>{let o={value:a[i.key]};return{name:UD(a[t.categoryKey]),value:mn(o)?o.value:0}});return{type:"pie",name:i.label??i.key,radius:XB({spec:t,index:e}),center:["50%","45%"],label:{show:!1},labelLine:{show:!1},emphasis:zD,itemStyle:{borderColor:kD,borderWidth:2},data:n}}function KB({spec:t},e={}){return{tooltip:{...BD,trigger:"item",...FD({y:Kg(t.format)})},series:t.series.map((r,i)=>qB({spec:t,index:i}))}}function HD({spec:t},e={}){return{animation:!1,color:[...zB],aria:{enabled:!0},title:{show:!1,text:$g({spec:t})},textStyle:{color:Zg},legend:VB,...qg({kind:t.kind})?KB({spec:t}):WB(t)}}bt([Vm,Om,Km,ig,Cg,fg,bg,dg,vg,Wg]);var ZB=["series","xAxis","yAxis","grid","tooltip"],jB=300,Ul=class extends Error{constructor(){super("Unsupported ECharts chart specification."),this.name="UnsupportedChartSpecError"}};function QB({element:t}){let e=t.ownerDocument,r=e.createElement("figure");r.className="jini-chart",r.dataset.chartProvider=Xg;let i=e.createElement("figcaption");i.className="jini-chart-caption";let n=e.createElement("div");return n.className="jini-chart-surface",n.style.width="100%",n.style.height=`${jB}px`,r.append(i,n),t.replaceChildren(r),{figure:r,caption:i,surface:n}}function $B({figure:t,caption:e,spec:r,descriptionId:i}){let n=$g({spec:r}),a=t.ownerDocument.createElement("span");if(a.textContent=n,e.replaceChildren(a),t.setAttribute("aria-label",n),t.removeAttribute("aria-describedby"),r.description===void 0)return;let o=t.ownerDocument.createElement("span");o.id=i,o.textContent=r.description,e.append(o),t.setAttribute("aria-describedby",o.id)}function JB({surface:t,chart:e}){if(typeof ResizeObserver!="function")return;let r=new ResizeObserver(()=>{e.isDisposed()||e.resize()});return r.observe(t),r}function ez({element:t,applyTheme:e,...r},i={}){if(!wp({spec:r.spec}))throw new Ul;let n=QB({element:t}),a=XT(n.surface,void 0,{renderer:"svg"}),o=`jini-echarts-description-${a.id}`,s=!1;function l(f){if(!s){if(!wp({spec:f.spec}))throw new Ul;e({element:t,theme:f.theme}),$B({...n,spec:f.spec,descriptionId:o}),a.setOption(HD({spec:f.spec}),{replaceMerge:ZB})}}try{l(r)}catch(f){throw a.dispose(),t.replaceChildren(),f}let u=JB({surface:n.surface,chart:a});return{ready:Promise.resolve(),update(f,c={}){l(f)},destroy(f={},c={}){s||(s=!0,u?.disconnect(),a.dispose(),t.replaceChildren())}}}export{PD as ECHARTS_KINDS,Xg as ECHARTS_PROVIDER_ID,Ul as UnsupportedChartSpecError,ez as mount,wp as supportsEChartsSpec};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "charts-echarts",
|
|
3
3
|
"name": "Apache ECharts",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
],
|
|
34
34
|
"integrity": {
|
|
35
|
-
"client/provider.js": "sha256-
|
|
35
|
+
"client/provider.js": "sha256-bf8cae1fec5d1cc75263d126bf700ccee27dde8b096011ab7edfd84a2bf15514",
|
|
36
36
|
"client/styles.css": "sha256-be5e0483f8883b44bf2319beed8ceefc7f26f74c3f2389efafb4c09aaf901d08",
|
|
37
37
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
38
38
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
39
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
39
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
40
40
|
"licenses/echarts/LICENSE": "sha256-634293835b43a6dd2094fa39182a3d9a6b9ca43b7fdb9ac354e8037af2a3093a",
|
|
41
41
|
"licenses/echarts/NOTICE": "sha256-d491d358344f842685c1b1585970999db65fe30ecf7ef3867af8814f4016c016",
|
|
42
42
|
"licenses/echarts/package-license.json": "sha256-adef4e80c943177659d316c9b67cad6a7bacc06320d4b29984f3c0c1342ddd29",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "charts-recharts",
|
|
3
3
|
"name": "Recharts",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"client/styles.css": "sha256-8bf7290ed757364db0ab99e55f2ab682647f572fbdda622f1c39937727e8eb3c",
|
|
33
33
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
34
34
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
35
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
35
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
36
36
|
"licenses/_reduxjs_toolkit/LICENSE": "sha256-49784961ec6c4941437b7a2c54d8977d0528076a9e7c73dd40f7d0942b8f106d",
|
|
37
37
|
"licenses/_reduxjs_toolkit/package-license.json": "sha256-841f76ddac88a780f1d16a201f72ad529d0b50148fcba84d103a65a8689f95b0",
|
|
38
38
|
"licenses/clsx/license": "sha256-9a9edad7baae52622bddf3c15b2ef8a33d2c89f2d25408ad13e8a7481c6b0c97",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "fixture-provider",
|
|
3
3
|
"name": "Provider artifact fixture",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"integrity": {
|
|
31
31
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
32
32
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
33
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
33
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
34
34
|
"server/index.mjs": "sha256-644c4647ba4b20bf02f1e577b13cc33ffa84a8e6dce5159266bd83a4f6e76284"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "formspree",
|
|
3
3
|
"name": "Formspree form collection",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"integrity": {
|
|
28
28
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
29
29
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
30
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
30
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
31
31
|
"server/index.mjs": "sha256-26b9e32337e867a5fa69096c4f52d9f5ecda2ca952c098808fe0bfb2e0bf5808"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "google-forms",
|
|
3
3
|
"name": "Google Forms collection",
|
|
4
|
-
"version": "0.7.3-next.
|
|
4
|
+
"version": "0.7.3-next.3",
|
|
5
5
|
"sdkRange": "^0.1.0 || ^1.0.0",
|
|
6
6
|
"engine": 1,
|
|
7
7
|
"tier": "tier-3",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"integrity": {
|
|
28
28
|
"licenses/_jini-ai_provider-plugins/LICENSE": "sha256-9d95806a26532623360eb84bb17d298f394b55ef73fb4c0796d99b4319b2b0da",
|
|
29
29
|
"licenses/_jini-ai_provider-plugins/NOTICE": "sha256-41f25c5b9af4c8e8e98e2a7c658b3922253c760686e17e0ef7fa003fae83cb95",
|
|
30
|
-
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-
|
|
30
|
+
"licenses/_jini-ai_provider-plugins/package-license.json": "sha256-250df348be7239cf1543d2d2545fae23d19fe29ededc24a2e1f91eced3fe3acc",
|
|
31
31
|
"server/index.mjs": "sha256-4d2eddc17a0453489dada1936203d1320be1c9b8457707eb46d701defc067c72"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -19,7 +19,7 @@ with the provider. This server-only plugin has no browser consent adapter.
|
|
|
19
19
|
|
|
20
20
|
Sources remain in `packages/provider-plugins/src/observability-opentelemetry`.
|
|
21
21
|
Both `build` and `prepack` call the existing single-plugin builder, using this package's
|
|
22
|
-
version for the generated artifact. The npm release is **0.7.3-next.
|
|
22
|
+
version for the generated artifact. The npm release is **0.7.3-next.3** in Jini's fixed
|
|
23
23
|
Changesets release group. Build output under `plugins/` is generated and uncommitted.
|
|
24
24
|
Reviewed LICENSE and NOTICE files belong to this distribution; the builder retains them
|
|
25
25
|
and bundled dependency licenses inside the artifact before computing its integrity.
|