dsp-semactic 0.5.9 → 0.5.11

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.
@@ -1 +1 @@
1
- .dss-custom-chart-container{position:relative;font-family:Arial,sans-serif;background:#fff;border-radius:8px;overflow:visible;margin:.5rem}.dss-chart-header{display:flex;justify-content:space-between;align-items:center}.dss-chart-title{text-align:left;font-size:18px;font-weight:700;color:#333;margin:15px 0 5px;padding:1rem 0 0 1.5rem}.dss-chart-subtitle{text-align:left;font-size:14px;color:#666;margin-bottom:10px;padding-left:1.5rem}.dss-chart-svg{display:block;width:100%;height:100%;position:relative}.dss-chart-svg.has-watermark{background-image:var(--watermark-url);background-repeat:no-repeat;background-position:center;background-size:var(--watermark-size, 30%);background-blend-mode:multiply}.dss-chart-svg.has-watermark:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:var(--watermark-url);background-repeat:no-repeat;background-position:center;background-size:var(--watermark-size, 30%);opacity:var(--watermark-opacity, .05);pointer-events:none;z-index:1}.dss-chart-legend{display:flex;justify-content:flex-end;gap:.5rem;padding-right:1.5rem}.dss-legend-item{display:flex;align-items:center;gap:.3rem;cursor:pointer;transition:all .3s ease;padding:4px 8px;border-radius:4px}.dss-legend-item.legend-dimmed{opacity:.5;transform:none}.dss-legend-color{width:12px;height:12px;border-radius:50%;transition:transform .3s ease}.dss-legend-item.legend-hovered .dss-legend-color{transform:scale(1.2)}.dss-legend-text{font-size:14px;transition:font-weight .3s ease}.dss-legend-item.legend-hovered .dss-legend-text{font-weight:600}.dss-legend-item.hidden{opacity:.5;text-decoration:line-through;filter:none!important;transform:none!important}.dss-chart-tooltip{position:absolute;background:#000c;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;pointer-events:none;z-index:9999;min-width:120px;max-width:200px;word-wrap:break-word;white-space:nowrap}.dss-chart-tooltip.dss-crosshair-tooltip{background:#000000e6;padding:10px 14px;min-width:150px;max-width:250px;white-space:normal}.dss-tooltip-title{font-weight:700;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:4px}.dss-tooltip-value{font-size:11px;opacity:.9}.dss-tooltip-series{display:flex;align-items:center;gap:6px;margin:4px 0;font-size:11px}.dss-tooltip-series-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dss-tooltip-series-name{color:#fffc;flex-shrink:0}.dss-tooltip-series-value{font-weight:700;margin-left:auto}.dss-crosshair{pointer-events:none}.dss-crosshair line,.dss-crosshair circle{transition:opacity .1s ease}.dss-zoom-indicator{position:absolute;top:20%;right:10px;background:#000c;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease;z-index:1000}.dss-zoom-indicator:hover{background:#000000e6}.dss-chart-svg:hover .dss-chart-data path{transition:opacity .2s ease}.dss-spider-chart .dss-spider-data polygon{cursor:pointer;transition:fill-opacity .2s ease}.dss-spider-chart .dss-spider-data polygon:hover{fill-opacity:.3!important}.dss-spider-chart .dss-spider-data circle{cursor:pointer;transition:r .2s ease}.dss-spider-chart .dss-spider-data circle:hover{r:6}.dss-spider-labels text{-webkit-user-select:none;user-select:none;font-weight:500}.dss-spider-grid{pointer-events:none}.dss-chart-logos image{border-radius:50%}.dss-series-hidden{opacity:0!important;pointer-events:none!important;filter:none!important;transform:none!important;stroke-width:inherit!important;fill-opacity:0!important}.dss-chart-data .dss-series-hidden,.dss-chart-data .dss-point-hidden,.dss-chart-data .dss-bar-hidden,.dss-radial-data .dss-series-hidden,.dss-spider-data .dss-series-hidden,.dss-spider-data .dss-point-hidden{opacity:0!important;pointer-events:none!important;visibility:hidden!important}.dss-point-hidden,.dss-bar-hidden{opacity:0!important;pointer-events:none}.dss-series-highlighted{filter:brightness(1.1);opacity:1!important;transform:scaleZ(1.1)}.dss-series-dimmed{opacity:.3;transition:opacity .3s ease}.dss-point-dimmed{opacity:.4;transition:opacity .3s ease}.dss-bar-highlighted{filter:brightness(1.1);transform-origin:center bottom}.dss-bar-dimmed{opacity:.4;transition:opacity .3s ease}.dss-custom-chart-container.dss-chart-animated{--dss-animation-duration: 1.5s;--dss-animation-easing: ease-out;--dss-stagger-delay: .2s;--dss-animation-progress: 0}.dss-animate-draw .dss-chart-data path[stroke]{stroke-dasharray:var(--dss-path-length, 1000);stroke-dashoffset:var(--dss-path-length, 1000);animation:drawPath var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes drawPath{to{stroke-dashoffset:0}}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(1){animation-delay:0ms}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(2){animation-delay:var(--dss-stagger-delay)}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(3){animation-delay:calc(var(--dss-stagger-delay) * 2)}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(4){animation-delay:calc(var(--dss-stagger-delay) * 3)}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(5){animation-delay:calc(var(--dss-stagger-delay) * 4)}.dss-animate-fade .dss-chart-data>g>*{opacity:0;animation:fadeIn var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes fadeIn{to{opacity:1}}.dss-animate-draw .dss-area-line-animated{stroke-dasharray:var(--dss-path-length, 1000);stroke-dashoffset:var(--dss-path-length, 1000);animation:drawPath calc(var(--dss-animation-duration) * .8) var(--dss-animation-easing) forwards}.dss-animate-draw .dss-area-mask-rect{transform:translate(calc(-1 * var(--dss-mask-width)));animation:smoothFillRight calc(var(--dss-animation-duration) * 1.2) cubic-bezier(.4,0,.2,1) forwards}@keyframes smoothFillRight{0%{transform:translate(calc(-1 * var(--dss-mask-width)))}to{transform:translate(0)}}.dss-area-fill-smooth{transition:all .3s cubic-bezier(.4,0,.2,1)}.dss-area-mask-rect{will-change:transform;backface-visibility:hidden;transform-origin:left center}.dss-animate-fade .dss-chart-data path:nth-child(1){animation-delay:0ms}.dss-animate-fade .dss-chart-data path:nth-child(2){animation-delay:var(--dss-stagger-delay)}.dss-animate-fade .dss-chart-data path:nth-child(3){animation-delay:calc(var(--dss-stagger-delay) * 2)}.dss-animate-fade .dss-chart-data circle{animation-delay:calc(var(--dss-animation-duration) * .6)}.dss-animate-fade .dss-chart-data rect{animation-delay:calc(var(--dss-stagger-delay) * .5)}.dss-animate-scale .dss-chart-data>g>*{transform-origin:center;transform:scale(0);animation:scaleUp var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes scaleUp{to{transform:scale(1)}}.dss-animate-scale .dss-chart-data rect{transform-origin:center bottom;transform:scaleY(0);animation:scaleUpY var(--dss-animation-duration) var(--dss-animation-easing) forwards}.dss-animate-scale .dss-chart-data rect{transform-box:fill-box;transform-origin:50% 100%}.dss-animate-scale .dss-chart-data rect,.dss-animate-scale .dss-chart-data path[d*=M]{transform-box:fill-box;transform-origin:center bottom;transform:scaleY(0);animation:scaleUpBarFromAxis var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes scaleUpBarFromAxis{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.dss-chart-data rect,.dss-chart-data path[d*=M]{transition:opacity .2s ease,filter .2s ease}.dss-chart-data rect:hover,.dss-chart-data path[d*=M]:hover{opacity:.8;filter:brightness(1.05) drop-shadow(0 2px 6px rgba(0,0,0,.15))}@keyframes scaleUpY{to{transform:scaleY(1)}}.dss-animate-scale .dss-chart-data rect:nth-child(1){animation-delay:0ms}.dss-animate-scale .dss-chart-data rect:nth-child(2){animation-delay:calc(var(--dss-stagger-delay) * .3)}.dss-animate-scale .dss-chart-data rect:nth-child(3){animation-delay:calc(var(--dss-stagger-delay) * .6)}.dss-animate-scale .dss-chart-data rect:nth-child(4){animation-delay:calc(var(--dss-stagger-delay) * .9)}.dss-animate-scale .dss-chart-data rect:nth-child(5){animation-delay:calc(var(--dss-stagger-delay) * 1.2)}.dss-animate-draw .dss-radial-data path{stroke-dasharray:1000;stroke-dashoffset:1000;animation:drawPath calc(var(--dss-animation-duration) * .8) var(--dss-animation-easing) forwards}.dss-animate-scale .dss-radial-data path{transform-origin:center;transform:scale(0);animation:scaleRotate var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes scaleRotate{0%{transform:scale(0) rotate(-90deg)}to{transform:scale(1) rotate(0)}}.dss-animate-fade .dss-spider-data polygon{opacity:0;animation:fadeIn var(--dss-animation-duration) var(--dss-animation-easing) forwards}.dss-animate-scale .dss-spider-data polygon{transform-origin:center;transform:scale(0);animation:scaleUp calc(var(--dss-animation-duration) * 1.2) var(--dss-animation-easing) forwards}.dss-animate-draw .dss-spider-data polygon{stroke-dasharray:2000;stroke-dashoffset:2000;animation:drawPath calc(var(--dss-animation-duration) * 1.5) var(--dss-animation-easing) forwards}.dss-animate-fade .dss-axes line,.dss-animate-fade .dss-grid-lines line{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .6) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .1)}@keyframes scaleUpX{to{transform:scaleX(1)}}.dss-animate-fade .dss-axis-labels text{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .7)}.dss-animate-fade .dss-chart-logos circle,.dss-animate-fade .dss-chart-logos image{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .6) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .8)}.dss-chart-data circle{transition:r .2s ease,opacity .2s ease,filter .2s ease}.dss-chart-data circle:hover{r:6px;filter:brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,.2))}.dss-chart-data rect{transition:opacity .2s ease,filter .2s ease}.dss-chart-data rect:hover{opacity:.8;filter:brightness(1.05) drop-shadow(0 2px 6px rgba(0,0,0,.15))}.dss-chart-data path{transition:stroke-width .2s ease,opacity .2s ease,filter .2s ease}@media (prefers-reduced-motion: reduce){.dss-chart-animated *{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}}.dss-chart-animated{will-change:transform,opacity}.dss-chart-animated .dss-chart-data{transform:translateZ(0);backface-visibility:hidden;perspective:1000px}.dss-is-animating{pointer-events:none}.dss-animation-complete{pointer-events:auto}.dss-animate-fade .dss-chart-title{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:0ms}.dss-animate-fade .dss-chart-subtitle{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .1)}.dss-custom-chart-container{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.dss-custom-chart-container[style*="cursor: grab"]{cursor:grab!important}.dss-custom-chart-container[style*="cursor: grabbing"]{cursor:grabbing!important}.dss-custom-chart-container[style*="cursor: grabbing"] *{pointer-events:none}.dss-chart-svg{transition:none}.dss-chart-data{transition:transform .1s ease-out}.dss-animate-fill .dss-radial-data path{animation:none}.dss-animate-fill .dss-radial-data{clip-path:polygon(50% 50%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 50%);animation:radialFillSweep var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes radialFillSweep{0%{clip-path:polygon(50% 50%,50% 0%,50% 0%,50% 50%)}5%{clip-path:polygon(50% 50%,50% 0%,70% 0%,50% 50%)}10%{clip-path:polygon(50% 50%,50% 0%,90% 0%,50% 50%)}15%{clip-path:polygon(50% 50%,50% 0%,100% 0%,50% 50%)}20%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 30%,50% 50%)}25%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 50%,50% 50%)}30%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 70%,50% 50%)}35%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 90%,50% 50%)}40%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,50% 50%)}45%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,70% 100%,50% 50%)}50%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,50% 100%,50% 50%)}55%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,30% 100%,50% 50%)}60%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,10% 100%,50% 50%)}65%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,50% 50%)}70%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 70%,50% 50%)}75%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 50%,50% 50%)}80%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 30%,50% 50%)}85%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 10%,50% 50%)}90%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 0%,50% 50%)}95%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 0%,30% 0%,50% 50%)}to{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 0%,50% 0%,50% 50%)}}.dss-chart-context-menu{position:fixed;background:#fff;border:1px solid #ddd;border-radius:8px;z-index:10000;min-width:180px;overflow:hidden;animation:contextMenuFadeIn .15s ease-out;padding:4px;font-family:Arial,sans-serif}@keyframes contextMenuFadeIn{0%{opacity:0;transform:scale(.95) translateY(-5px)}to{opacity:1;transform:scale(1) translateY(0)}}.dss-context-menu-item{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;transition:background-color .15s ease;font-size:14px;color:#333}.dss-context-menu-item:hover{background-color:#f5f5f5}.dss-context-menu-icon{font-size:14px;width:16px;display:flex;justify-content:center}.dss-context-menu-separator{height:1px;background-color:#e5e5e5;margin:4px 0}.dss-custom-menu-content{display:flex;align-items:center;gap:8px;width:100%}.dss-custom-menu-content *{pointer-events:none}.dss-context-menu-item.dss-custom-styled{padding:0}.dss-context-menu-item.dss-custom-styled .dss-custom-menu-content{padding:8px 12px;width:100%}.dss-marker-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10001;animation:modalOverlayFadeIn .2s ease-out;font-family:Arial,sans-serif}@keyframes modalOverlayFadeIn{0%{opacity:0}to{opacity:1}}.dss-marker-modal{background:#fff;border-radius:8px;width:90%;max-width:450px;animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.dss-marker-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 16px;border-bottom:1px solid #e5e5e5}.dss-marker-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#333}.dss-modal-close-dss-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px}.dss-marker-modal-body{padding:20px 24px}.dss-form-group{margin-bottom:16px}.dss-form-group:last-child{margin-bottom:0}.dss-form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.dss-form-input,.dss-form-textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .15s ease;box-sizing:border-box}.dss-form-input:focus,.dss-form-textarea:focus{outline:none;border-color:#047395}.dss-form-textarea{resize:vertical;min-height:60px;font-family:inherit}.dss-form-color{width:40px;height:40px;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:0}.dss-marker-modal-footer{display:flex;gap:12px;justify-content:space-between;padding:16px 24px 20px}.dss-modal-footer-right{display:flex;gap:.6rem}.dss-btn{padding:10px 20px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;min-width:80px}.dss-btn-secondary{background:#f5f5f5;color:#333}.dss-btn-secondary:hover{background:#e5e5e5}.dss-btn-primary{background:#ffc02e;color:#000}.dss-btn-primary:hover:not(:disabled){background:#e09d00}.dss-btn-primary:disabled{background:#ffc02e80;cursor:not-allowed}.dss-markers{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1000}.dss-marker{transition:all .2s ease}.dss-marker:hover{transform:translate(-50%,-50%) scale(1.2)!important;z-index:1001}.dss-marker-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center}.dss-btn-danger{background-color:#da073b;color:#fff;border:1px solid hsl(345,94%,44%);padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.dss-btn-danger:hover{filter:brightness(.9)}.dss-custom-chart-container{position:relative;overflow:hidden}.dss-chart-watermark{mix-blend-mode:multiply;filter:grayscale(50%);background-color:transparent}.dss-flag-count-indicator{cursor:pointer;transform-origin:center center}.dss-flag-extension-line{pointer-events:none}.dss-flag-line{cursor:pointer;transition:all .2s ease}.dss-flag-count-text{pointer-events:none;-webkit-user-select:none;user-select:none}.dss-flag-type-indicator{pointer-events:none}.dss-tooltip-section{margin-bottom:8px}.dss-tooltip-section:last-child{margin-bottom:0}.dss-tooltip-separator{height:1px;background-color:#fff3;margin:8px 0}.dss-tooltip-section-title{font-size:11px;font-weight:600;color:#fffc;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.dss-tooltip-item{display:flex;align-items:flex-start;gap:6px;margin-bottom:4px;padding:2px 0}.dss-tooltip-item:last-child{margin-bottom:0}.dss-tooltip-item-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dss-tooltip-item-content{flex:1;min-width:0}.dss-tooltip-item-type{font-size:10px;color:#ffffffb3;text-transform:uppercase;letter-spacing:.3px}.dss-tooltip-item-title{font-size:12px;font-weight:500;color:#fff;line-height:1.3}.dss-tooltip-item-text,.dss-tooltip-item-description{font-size:11px;color:#ffffffe6;line-height:1.3;word-wrap:break-word}.dss-chart-tooltip{max-width:250px;min-width:150px}.dss-tooltip-group-header{font-weight:600;font-size:10px;margin:10px 0 4px;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:6px}.dss-tooltip-group-header:first-child{margin-top:6px}.dss-tooltip-item-no-indicator{padding-left:16px}.dss-radial-labels .dss-label-highlighted text{font-weight:700;fill-opacity:1}.dss-radial-labels .dss-label-dimmed text{fill-opacity:.5}.dss-radial-labels .dss-label-dimmed line{stroke-opacity:.3}.dss-radial-labels text{transition:all .3s ease}.dss-radial-labels line{transition:all .3s ease}.storybook-button[data-v-ade7987a]{display:inline-block;cursor:pointer;border:0;border-radius:3em;font-weight:700;line-height:1;font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.storybook-button--primary[data-v-ade7987a]{background-color:#555ab9;color:#fff}.storybook-button--secondary[data-v-ade7987a]{box-shadow:#00000026 0 0 0 1px inset;background-color:transparent;color:#333}.storybook-button--small[data-v-ade7987a]{padding:10px 16px;font-size:12px}.storybook-button--medium[data-v-ade7987a]{padding:11px 20px;font-size:14px}.storybook-button--large[data-v-ade7987a]{padding:12px 24px;font-size:16px}
1
+ .dss-custom-chart-container{position:relative;font-family:Arial,sans-serif;background:#fff;border-radius:8px;overflow:visible;margin:.5rem}.dss-chart-header{display:flex;justify-content:space-between;align-items:center}.dss-chart-title{text-align:left;font-size:18px;font-weight:700;color:#333;margin:15px 0 5px;padding:1rem 0 0 1.5rem}.dss-chart-subtitle{text-align:left;font-size:14px;color:#666;margin-bottom:10px;padding-left:1.5rem}.dss-chart-svg{display:block;width:100%;height:80%;position:relative}.dss-chart-svg.has-watermark{background-image:var(--watermark-url);background-repeat:no-repeat;background-position:center;background-size:var(--watermark-size, 30%);background-blend-mode:multiply}.dss-chart-svg.has-watermark:before{content:"";position:absolute;inset:0;background-image:var(--watermark-url);background-repeat:no-repeat;background-position:center;background-size:var(--watermark-size, 30%);opacity:var(--watermark-opacity, .05);pointer-events:none;z-index:1}.dss-chart-legend{display:flex;justify-content:flex-end;flex-wrap:wrap!important;gap:.5rem;padding-right:1rem;max-width:50%!important;margin-top:1rem!important}.dss-legend-item{display:flex;align-items:center;gap:.3rem;cursor:pointer;transition:all .3s ease;padding:4px 8px;border-radius:4px}.dss-legend-item.dss-legend-dimmed{opacity:.5;transform:none}.dss-legend-color{width:12px;height:12px;border-radius:50%;transition:transform .3s ease}.dss-legend-item.dss-legend-hovered .dss-legend-color{transform:scale(1.2)}.dss-legend-text{font-size:14px;transition:font-weight .3s ease}.dss-legend-item.dss-legend-hovered .dss-legend-text{font-weight:600}.dss-legend-item.dss-legend-hidden{opacity:.5!important;text-decoration:line-through!important;filter:none!important;transform:none!important;display:flex!important;visibility:visible!important}.dss-chart-tooltip{position:absolute;background:#000c;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;pointer-events:none;z-index:9999;min-width:120px;max-width:200px;word-wrap:break-word;white-space:nowrap}.dss-chart-tooltip.dss-crosshair-tooltip{background:#000000e6;padding:10px 14px;min-width:150px;max-width:250px;white-space:normal}.dss-tooltip-title{font-weight:700;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:4px}.dss-tooltip-value{font-size:11px;opacity:.9}.dss-tooltip-series{display:flex;align-items:center;gap:6px;margin:4px 0;font-size:11px}.dss-tooltip-series-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dss-tooltip-series-name{color:#fffc;flex-shrink:0}.dss-tooltip-series-value{font-weight:700;margin-left:auto}.dss-crosshair{pointer-events:none}.dss-crosshair line,.dss-crosshair circle{transition:opacity .1s ease}.dss-zoom-indicator{position:absolute;top:20%;right:10px;background:#000c;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s ease;z-index:1000}.dss-zoom-indicator:hover{background:#000000e6}.dss-chart-svg:hover .dss-chart-data path{transition:opacity .2s ease}.dss-spider-chart .dss-spider-data polygon{cursor:pointer;transition:fill-opacity .2s ease}.dss-spider-chart .dss-spider-data polygon:hover{fill-opacity:.3!important}.dss-spider-chart .dss-spider-data circle{cursor:pointer;transition:r .2s ease}.dss-spider-chart .dss-spider-data circle:hover{r:6}.dss-spider-labels text{-webkit-user-select:none;user-select:none;font-weight:500}.dss-spider-grid{pointer-events:none}.dss-chart-logos image{border-radius:50%;object-fit:cover}.dss-animate-fade .dss-spider-grid circle{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .6) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .1)}.dss-animate-fade .dss-spider-grid line{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .6) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .2)}.dss-animate-fade .dss-spider-grid-labels{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .3)}.dss-animate-fade .dss-spider-labels text{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .4)}.dss-series-hidden{opacity:0!important;pointer-events:none!important;filter:none!important;transform:none!important;stroke-width:inherit!important;fill-opacity:0!important}.dss-chart-data .dss-series-hidden,.dss-chart-data .dss-point-hidden,.dss-chart-data .dss-bar-hidden,.dss-radial-data .dss-series-hidden,.dss-spider-data .dss-series-hidden,.dss-spider-data .dss-point-hidden{opacity:0!important;pointer-events:none!important;visibility:hidden!important}.dss-point-hidden,.dss-bar-hidden{opacity:0!important;pointer-events:none}.dss-series-highlighted{filter:brightness(1.1);opacity:1!important;transform:scaleZ(1.1)}.dss-series-dimmed{opacity:.3;transition:opacity .3s ease}.dss-point-dimmed{opacity:.4;transition:opacity .3s ease}.dss-bar-highlighted{filter:brightness(1.1);transform-origin:center bottom}.dss-bar-dimmed{opacity:.4;transition:opacity .3s ease}.dss-custom-chart-container.dss-chart-animated{--dss-animation-duration: 1.5s;--dss-animation-easing: ease-out;--dss-stagger-delay: .2s;--dss-animation-progress: 0}.dss-animate-draw .dss-chart-data path[stroke]{stroke-dasharray:var(--dss-path-length, 1000);stroke-dashoffset:var(--dss-path-length, 1000);animation:drawPath var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes drawPath{to{stroke-dashoffset:0}}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(1){animation-delay:0ms}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(2){animation-delay:var(--dss-stagger-delay)}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(3){animation-delay:calc(var(--dss-stagger-delay) * 2)}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(4){animation-delay:calc(var(--dss-stagger-delay) * 3)}.dss-animate-draw .dss-chart-data path[stroke]:nth-child(5){animation-delay:calc(var(--dss-stagger-delay) * 4)}.dss-animate-fade .dss-chart-data>g>*{opacity:0;animation:fadeIn var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes fadeIn{to{opacity:1}}.dss-animate-draw .dss-area-line-animated{stroke-dasharray:var(--dss-path-length, 1000);stroke-dashoffset:var(--dss-path-length, 1000);animation:drawPath calc(var(--dss-animation-duration) * .8) var(--dss-animation-easing) forwards}.dss-animate-draw .dss-area-mask-rect{transform:translate(calc(-1 * var(--dss-mask-width)));animation:smoothFillRight calc(var(--dss-animation-duration) * 1.2) cubic-bezier(.4,0,.2,1) forwards}@keyframes smoothFillRight{0%{transform:translate(calc(-1 * var(--dss-mask-width)))}to{transform:translate(0)}}.dss-area-fill-smooth{transition:all .3s cubic-bezier(.4,0,.2,1)}.dss-area-mask-rect{will-change:transform;backface-visibility:hidden;transform-origin:left center}.dss-animate-fade .dss-chart-data path:nth-child(1){animation-delay:0ms}.dss-animate-fade .dss-chart-data path:nth-child(2){animation-delay:var(--dss-stagger-delay)}.dss-animate-fade .dss-chart-data path:nth-child(3){animation-delay:calc(var(--dss-stagger-delay) * 2)}.dss-animate-fade .dss-chart-data circle{animation-delay:calc(var(--dss-animation-duration) * .6)}.dss-animate-fade .dss-chart-data rect{animation-delay:calc(var(--dss-stagger-delay) * .5)}.dss-animate-scale .dss-chart-data>g>*{transform-origin:center;transform:scale(0);animation:scaleUp var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes scaleUp{to{transform:scale(1)}}.dss-animate-scale .dss-chart-data rect{transform-origin:center bottom;transform:scaleY(0);animation:scaleUpY var(--dss-animation-duration) var(--dss-animation-easing) forwards}.dss-animate-scale .dss-chart-data rect{transform-box:fill-box;transform-origin:50% 100%}.dss-animate-scale .dss-chart-data rect,.dss-animate-scale .dss-chart-data path[d*=M]{transform-box:fill-box;transform-origin:center bottom;transform:scaleY(0);animation:scaleUpBarFromAxis var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes scaleUpBarFromAxis{0%{transform:scaleY(0)}to{transform:scaleY(1)}}.dss-chart-data rect,.dss-chart-data path[d*=M]{transition:opacity .2s ease,filter .2s ease}.dss-chart-data rect:hover,.dss-chart-data path[d*=M]:hover{opacity:.8;filter:brightness(1.05) drop-shadow(0 2px 6px rgba(0,0,0,.15))}@keyframes scaleUpY{to{transform:scaleY(1)}}.dss-animate-scale .dss-chart-data rect:nth-child(1){animation-delay:0ms}.dss-animate-scale .dss-chart-data rect:nth-child(2){animation-delay:calc(var(--dss-stagger-delay) * .3)}.dss-animate-scale .dss-chart-data rect:nth-child(3){animation-delay:calc(var(--dss-stagger-delay) * .6)}.dss-animate-scale .dss-chart-data rect:nth-child(4){animation-delay:calc(var(--dss-stagger-delay) * .9)}.dss-animate-scale .dss-chart-data rect:nth-child(5){animation-delay:calc(var(--dss-stagger-delay) * 1.2)}.dss-animate-draw .dss-radial-data path{stroke-dasharray:1000;stroke-dashoffset:1000;animation:drawPath calc(var(--dss-animation-duration) * .8) var(--dss-animation-easing) forwards}.dss-animate-scale .dss-radial-data path{transform-origin:center;transform:scale(0);animation:scaleRotate var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes scaleRotate{0%{transform:scale(0) rotate(-90deg)}to{transform:scale(1) rotate(0)}}.dss-animate-fade .dss-spider-data polygon{opacity:0;animation:fadeIn var(--dss-animation-duration) var(--dss-animation-easing) forwards}.dss-animate-scale .dss-spider-data polygon{transform-origin:center;transform:scale(0);animation:scaleUp calc(var(--dss-animation-duration) * 1.2) var(--dss-animation-easing) forwards}.dss-animate-draw .dss-spider-data polygon{stroke-dasharray:2000;stroke-dashoffset:2000;animation:drawPath calc(var(--dss-animation-duration) * 1.5) var(--dss-animation-easing) forwards}.dss-animate-fade .dss-axes line,.dss-animate-fade .dss-grid-lines line{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .6) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .1)}@keyframes scaleUpX{to{transform:scaleX(1)}}.dss-animate-fade .dss-axis-labels text{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .7)}.dss-animate-fade .dss-chart-logos circle,.dss-animate-fade .dss-chart-logos image{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .6) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .8)}.dss-chart-data circle{transition:r .2s ease,opacity .2s ease,filter .2s ease}.dss-chart-data circle:hover{r:6px;filter:brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,.2))}.dss-chart-data rect{transition:opacity .2s ease,filter .2s ease}.dss-chart-data rect:hover{opacity:.8;filter:brightness(1.05) drop-shadow(0 2px 6px rgba(0,0,0,.15))}.dss-chart-data path{transition:stroke-width .2s ease,opacity .2s ease,filter .2s ease}@media (prefers-reduced-motion: reduce){.dss-chart-animated *{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}}.dss-chart-animated{will-change:transform,opacity}.dss-chart-animated .dss-chart-data{transform:translateZ(0);backface-visibility:hidden;perspective:1000px}.dss-is-animating{pointer-events:none}.dss-animation-complete{pointer-events:auto}.dss-animate-fade .dss-chart-title{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:0ms}.dss-animate-fade .dss-chart-subtitle{opacity:0;animation:fadeIn calc(var(--dss-animation-duration) * .4) var(--dss-animation-easing) forwards;animation-delay:calc(var(--dss-animation-duration) * .1)}.dss-custom-chart-container{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.dss-custom-chart-container[style*="cursor: grab"]{cursor:grab!important}.dss-custom-chart-container[style*="cursor: grabbing"]{cursor:grabbing!important}.dss-custom-chart-container[style*="cursor: grabbing"] *{pointer-events:none}.dss-chart-svg{transition:none}.dss-chart-data{transition:transform .1s ease-out}.dss-animate-fill .dss-radial-data path{animation:none}.dss-animate-fill .dss-radial-data{clip-path:polygon(50% 50%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 0%,50% 50%);animation:radialFillSweep var(--dss-animation-duration) var(--dss-animation-easing) forwards}@keyframes radialFillSweep{0%{clip-path:polygon(50% 50%,50% 0%,50% 0%,50% 50%)}5%{clip-path:polygon(50% 50%,50% 0%,70% 0%,50% 50%)}10%{clip-path:polygon(50% 50%,50% 0%,90% 0%,50% 50%)}15%{clip-path:polygon(50% 50%,50% 0%,100% 0%,50% 50%)}20%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 30%,50% 50%)}25%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 50%,50% 50%)}30%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 70%,50% 50%)}35%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 90%,50% 50%)}40%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,50% 50%)}45%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,70% 100%,50% 50%)}50%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,50% 100%,50% 50%)}55%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,30% 100%,50% 50%)}60%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,10% 100%,50% 50%)}65%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,50% 50%)}70%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 70%,50% 50%)}75%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 50%,50% 50%)}80%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 30%,50% 50%)}85%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 10%,50% 50%)}90%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 0%,50% 50%)}95%{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 0%,30% 0%,50% 50%)}to{clip-path:polygon(50% 50%,50% 0%,100% 0%,100% 100%,0% 100%,0% 0%,50% 0%,50% 50%)}}.dss-chart-context-menu{position:fixed;background:#fff;border:1px solid #ddd;border-radius:8px;z-index:10000;min-width:180px;overflow:hidden;animation:contextMenuFadeIn .15s ease-out;padding:4px;font-family:Arial,sans-serif}@keyframes contextMenuFadeIn{0%{opacity:0;transform:scale(.95) translateY(-5px)}to{opacity:1;transform:scale(1) translateY(0)}}.dss-context-menu-item{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;transition:background-color .15s ease;font-size:14px;color:#333}.dss-context-menu-item:hover{background-color:#f5f5f5}.dss-context-menu-icon{font-size:14px;width:16px;display:flex;justify-content:center}.dss-context-menu-separator{height:1px;background-color:#e5e5e5;margin:4px 0}.dss-custom-menu-content{display:flex;align-items:center;gap:8px;width:100%}.dss-custom-menu-content *{pointer-events:none}.dss-context-menu-item.dss-custom-styled{padding:0}.dss-context-menu-item.dss-custom-styled .dss-custom-menu-content{padding:8px 12px;width:100%}.dss-marker-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10001;animation:modalOverlayFadeIn .2s ease-out;font-family:Arial,sans-serif}@keyframes modalOverlayFadeIn{0%{opacity:0}to{opacity:1}}.dss-marker-modal{background:#fff;border-radius:8px;width:90%;max-width:450px;animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.dss-marker-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 16px;border-bottom:1px solid #e5e5e5}.dss-marker-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#333}.dss-modal-close-dss-btn{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px}.dss-marker-modal-body{padding:20px 24px}.dss-form-group{margin-bottom:16px}.dss-form-group:last-child{margin-bottom:0}.dss-form-group label{display:block;margin-bottom:6px;font-weight:500;color:#333;font-size:14px}.dss-form-input,.dss-form-textarea{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .15s ease;box-sizing:border-box}.dss-form-input:focus,.dss-form-textarea:focus{outline:none;border-color:#047395}.dss-form-textarea{resize:vertical;min-height:60px;font-family:inherit}.dss-form-color{width:40px;height:40px;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:0}.dss-marker-modal-footer{display:flex;gap:12px;justify-content:space-between;padding:16px 24px 20px}.dss-modal-footer-right{display:flex;gap:.6rem}.dss-btn{padding:10px 20px;border:none;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease;min-width:80px}.dss-btn-secondary{background:#f5f5f5;color:#333}.dss-btn-secondary:hover{background:#e5e5e5}.dss-btn-primary{background:#ffc02e;color:#000}.dss-btn-primary:hover:not(:disabled){background:#e09d00}.dss-btn-primary:disabled{background:#ffc02e80;cursor:not-allowed}.dss-markers{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1000}.dss-marker{transition:all .2s ease}.dss-marker:hover{transform:translate(-50%,-50%) scale(1.2)!important;z-index:1001}.dss-marker-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center}.dss-btn-danger{background-color:#da073b;color:#fff;border:1px solid hsl(345,94%,44%);padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px}.dss-btn-danger:hover{filter:brightness(.9)}.dss-custom-chart-container{position:relative;overflow:hidden}.dss-chart-watermark{mix-blend-mode:multiply;filter:grayscale(50%);background-color:transparent}.dss-flag-count-indicator{cursor:pointer;transform-origin:center center}.dss-flag-extension-line{pointer-events:none}.dss-flag-line{cursor:pointer;transition:all .2s ease}.dss-flag-count-text{pointer-events:none;-webkit-user-select:none;user-select:none}.dss-flag-type-indicator{pointer-events:none}.dss-tooltip-section{margin-bottom:8px}.dss-tooltip-section:last-child{margin-bottom:0}.dss-tooltip-separator{height:1px;background-color:#fff3;margin:8px 0}.dss-tooltip-section-title{font-size:11px;font-weight:600;color:#fffc;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.dss-tooltip-item{display:flex;align-items:flex-start;gap:6px;margin-bottom:4px;padding:2px 0}.dss-tooltip-item:last-child{margin-bottom:0}.dss-tooltip-item-indicator{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dss-tooltip-item-content{flex:1;min-width:0}.dss-tooltip-item-type{font-size:10px;color:#ffffffb3;text-transform:uppercase;letter-spacing:.3px}.dss-tooltip-item-title{font-size:12px;font-weight:500;color:#fff;line-height:1.3}.dss-tooltip-item-text,.dss-tooltip-item-description{font-size:11px;color:#ffffffe6;line-height:1.3;word-wrap:break-word}.dss-chart-tooltip{max-width:250px;min-width:150px}.dss-tooltip-group-header{font-weight:600;font-size:10px;margin:10px 0 4px;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:6px}.dss-tooltip-group-header:first-child{margin-top:6px}.dss-tooltip-item-no-indicator{padding-left:16px}.dss-radial-labels .dss-label-highlighted text{font-weight:700;fill-opacity:1}.dss-radial-labels .dss-label-dimmed text{fill-opacity:.5}.dss-radial-labels .dss-label-dimmed line{stroke-opacity:.3}.dss-radial-labels text{transition:all .3s ease}.dss-radial-labels line{transition:all .3s ease}.dss-bubble-chart{overflow:visible}.dss-bubble-group{cursor:pointer;transition:all .3s ease}.dss-bubble-chart circle{transition:all .3s cubic-bezier(.4,0,.2,1);transform-origin:center center;will-change:transform,opacity,fill-opacity}.dss-bubble-chart circle:hover{filter:brightness(1.05)}.dss-bubble-chart image{transition:all .3s cubic-bezier(.4,0,.2,1);transform-origin:center center;pointer-events:auto}.dss-bubble-chart image:hover{filter:brightness(1.05)}.dss-bubble-highlighted{filter:brightness(1.1)!important;z-index:10;stroke-width:3!important}.dss-bubble-dimmed{opacity:.2!important;filter:grayscale(60%)!important;transform:scale(.95)!important}.dss-bubble-hidden{opacity:0!important;pointer-events:none!important;visibility:hidden!important}.dss-bubble-series-0:hover,.dss-bubble-series-1:hover,.dss-bubble-series-2:hover,.dss-bubble-series-3:hover,.dss-bubble-series-4:hover{z-index:5}.dss-bubble-chart .dss-bubble-highlighted image{filter:brightness(1.1)!important}.dss-bubble-chart .dss-bubble-dimmed image{opacity:.2!important;filter:grayscale(60%) brightness(.8)!important}.dss-legend-item:hover~.dss-bubble-chart .dss-bubble-group{transition:all .3s ease}.dss-legend-hovered{font-weight:600!important}.dss-legend-dimmed{opacity:.4!important;filter:grayscale(40%)!important}.dss-bubble-chart circle,.dss-bubble-chart image,.dss-bubble-group{transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1),filter .3s cubic-bezier(.4,0,.2,1),fill-opacity .3s cubic-bezier(.4,0,.2,1)}.dss-chart-tooltip.dss-crosshair-tooltip{z-index:9999;pointer-events:none}.dss-bubble-chart circle,.dss-bubble-chart image{animation:none!important}.dss-animate-scale .dss-bubble-chart circle,.dss-animate-fade .dss-bubble-chart circle,.dss-animate-scale .dss-bubble-chart image,.dss-animate-fade .dss-bubble-chart image{animation:none!important;opacity:inherit!important;transform:inherit!important}.dss-bubble-chart .dss-bubble-group{isolation:isolate}.dss-bubble-chart .dss-bubble-group circle{opacity:1!important}.dss-bubble-chart .dss-bubble-group image{opacity:0;transition:opacity .3s ease}.dss-bubble-chart [class*=dss-bubble-fallback-],.dss-bubble-chart .dss-bubble-fallback-0,.dss-bubble-chart .dss-bubble-fallback-1,.dss-bubble-chart .dss-bubble-fallback-2,.dss-bubble-chart .dss-bubble-fallback-3,.dss-bubble-chart .dss-bubble-fallback-4,.dss-bubble-chart .dss-bubble-fallback-5,.dss-bubble-chart .dss-bubble-fallback-6,.dss-bubble-chart .dss-bubble-fallback-7,.dss-bubble-chart .dss-bubble-fallback-8,.dss-bubble-chart .dss-bubble-fallback-9{opacity:1!important;display:block!important}.dss-bubble-chart image{opacity:0;transition:opacity .3s ease}.dss-bubble-chart .dss-bubble-group circle{stroke:#fffc!important;stroke-width:2!important}.dss-tooltip-bubble-label{font-size:10px;color:#ffffffb3;margin-top:2px}.dss-bubble-tooltip-series .dss-tooltip-series-value{flex:1}.dss-bubble-tooltip-item{padding-bottom:2px}
@@ -0,0 +1,75 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),qt=require("vue-i18n"),wa=["data-chart-type"],ba={class:"dss-chart-header"},Ea={class:"dss-chart-header-titles"},Ba={key:0,class:"dss-chart-title"},Sa={key:1,class:"dss-chart-subtitle"},Va={key:0,class:"dss-chart-legend"},$a=["onClick","onMouseenter"],_a={class:"dss-legend-text"},Da=["width","height","data-smooth","data-animated"],La={id:"chart-clip"},za=["x","y","width","height"],Na={key:0},Ha={key:0,class:"dss-grid-lines","clip-path":"url(#chart-clip)"},Aa=["x1","x2","y1","y2"],Fa={class:"dss-axes"},Xa=["x1","x2","y1","y2"],Ia=["x1","x2","y1","y2"],Ta={class:"dss-axis-labels"},Ya=["x","y"],Ra=["x","y"],Oa=["x","y"],Za=["y","transform"],Pa={key:1,class:"dss-flag-markers"},ja={"clip-path":"url(#chart-clip)"},Ua=["x1","x2","y1","y2","onMouseover"],Wa=["x1","x2","y1","y2","onMouseover"],qa=["x1","x2","y1","y2","onMouseover"],Ka=["cx","cy","onMouseover"],Qa=["cx","cy","fill","onMouseover"],Ga=["x","y"],Ja={class:"dss-chart-data","clip-path":"url(#chart-clip)"},el={key:0},tl={class:"dss-bar-chart"},ol=["d","fill","onMouseover"],al=["x","y","width","height","fill","onMouseover"],ll={class:"dss-line-chart"},sl=["d","stroke","stroke-width"],nl=["cx","cy","r","fill","onMouseover"],rl={key:1},il=["d","stroke","stroke-width"],cl=["cx","cy","r","fill","onMouseover"],ul={key:2},dl=["id"],ml=["x","y","width","height"],hl=["d","fill","fill-opacity","mask"],vl=["d","stroke","stroke-width"],gl={key:3},pl=["d","fill","onMouseover"],fl=["x","y","width","height","fill","onMouseover"],yl={key:2,class:"dss-crosshair","clip-path":"url(#chart-clip)"},kl=["x1","x2","y1","y2","stroke"],Cl=["cx","cy","r","fill"],xl={key:1,class:"dss-bubble-chart"},Ml={key:0,class:"dss-bubble-group"},wl=["cx","cy","r","fill","fill-opacity","stroke","stroke-width","onMouseenter","onMouseleave","onClick"],bl=["x","y","width","height","xlink:href","clip-path","onLoad","onError","onMouseenter","onMouseleave","onClick"],El={key:2,class:"radial-chart"},Bl=["cx","cy","r"],Sl=["data-chart-type"],Vl=["d","fill","fill-opacity","stroke","stroke-width","onMouseover"],$l={key:1,class:"dss-radial-labels"},_l=["x1","y1","x2","y2","stroke"],Dl=["x1","y1","x2","y2","stroke"],Ll=["x","y","text-anchor","font-size"],zl={key:3,class:"dss-spider-chart"},Nl={key:0,class:"dss-spider-grid"},Hl=["cx","cy","r"],Al={class:"dss-spider-grid-labels"},Fl=["x","y"],Xl=["x","y"],Il=["x1","x2","y1","y2"],Tl={class:"dss-spider-labels"},Yl=["x","y","text-anchor","dominant-baseline"],Rl={class:"dss-spider-data"},Ol=["points","fill","fill-opacity","stroke","stroke-width","onMouseover"],Zl=["cx","cy","r","fill","onMouseover"],Pl={class:"dss-chart-logos"},jl=["cx","cy","r","fill"],Ul=["x","y","width","height","xlink:href","onLoad","onError","clip-path"],Wl=["onClick","title"],ql=["src","onError"],Kl={class:"dss-tooltip-section"},Ql={class:"dss-tooltip-title"},Gl={class:"dss-tooltip-value"},Jl={key:0,class:"dss-tooltip-section"},es={class:"dss-tooltip-section-title"},ts={class:"dss-tooltip-group-header"},os={class:"dss-tooltip-item-content"},as={class:"dss-tooltip-item-text"},ls={key:1,class:"dss-tooltip-section"},ss={class:"dss-tooltip-section-title"},ns={class:"dss-tooltip-item-content"},rs={class:"dss-tooltip-item-title"},is={key:0,class:"dss-tooltip-item-description"},cs={class:"dss-tooltip-section"},us={class:"dss-tooltip-title"},ds={key:0,class:"dss-bubble-tooltip-data"},ms={class:"dss-tooltip-series-name"},hs={class:"dss-tooltip-series-value"},vs={key:0,class:"dss-tooltip-section"},gs={class:"dss-tooltip-section-title"},ps={class:"dss-tooltip-group-header"},fs={class:"dss-tooltip-item-content"},ys={class:"dss-tooltip-item-text"},ks={key:1,class:"dss-tooltip-section"},Cs={class:"dss-tooltip-section-title"},xs={class:"dss-tooltip-item-content"},Ms={class:"dss-tooltip-item-title"},ws={key:0,class:"dss-tooltip-item-description"},bs={key:2,class:"dss-context-menu-separator"},Es={key:0,class:"dss-context-menu-separator"},Bs={key:0,class:"dss-context-menu-separator"},Ss=["onClick"],Vs=["innerHTML"],$s={key:0,class:"dss-context-menu-icon"},_s={class:"dss-marker-modal-header"},Ds={class:"dss-marker-modal-body"},Ls={class:"dss-form-group"},zs={for:"dss-marker-title"},Ns=["placeholder"],Hs={class:"dss-form-group"},As={for:"dss-marker-description"},Fs=["placeholder"],Xs={key:0,class:"dss-form-group"},Is={for:"dss-marker-type"},Ts={value:"default"},Ys=["value"],Rs={class:"dss-form-group"},Os={class:"icon-preview"},Zs=["src"],Ps={class:"dss-marker-modal-footer"},js={class:"modal-footer-left"},Us={class:"dss-modal-footer-right"},Ws=["disabled"],qs={name:"DSSChart"},Ks=Object.assign(qs,{props:{series:{type:Array,required:!0,default:()=>[]},categories:{type:Array,default:()=>[]},flags:{type:Array,default:()=>[]},chartId:{type:String,default:()=>"chart-"+Math.random().toString(36).substring(2,9)},locale:{type:String,default:null},options:{type:Object,default:()=>({}),validator:se=>typeof se=="object"&&se!==null}},setup(se){const{t:D,locale:lt}=qt.useI18n(),f=se,Kt={chart:{type:"line",width:800,height:400,orientation:"vertical"},title:{text:"",style:{}},subtitle:{text:"",style:{}},xAxis:{title:{text:""},type:"category"},yAxis:{min:"auto",max:"auto",title:{text:""}},legend:{show:!0},radialLabels:{show:!1,pointerLength:25,horizontalLength:35,fontSize:14,color:"#000",textOffset:8},grid:{show:!0,style:{}},watermark:{enabled:!0,opacity:.05,size:"25%",position:"bottom-right"},colors:["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#F97316","#06B6D4","#84CC16"],logos:[],stroke:{width:2,curve:"smooth"},bubbles:{size:4},markers:{show:!0,icon:null,iconSize:25,customIcons:{}},fill:{area:{opacity:.3},spider:{opacity:.15}},crosshair:{show:!1,color:"#666"},bubbles:{size:4,tooltip:{fields:["x","y","size"],labels:{x:"X",y:"Y",size:"Size",label:"Label",seriesName:"Series"},formatters:{}}},zoom:{enabled:!0,minScale:1,maxScale:2.5},smoothing:{enabled:!1,factor:.3,barRadius:4},animations:{enabled:!0,type:"draw",duration:2500,delay:0,staggerDelay:200,easing:"ease-out",onDataChange:!0,respectReducedMotion:!0},contextMenu:{enabled:!0,items:{addMarker:!0,downloadSvg:!0,downloadPng:!0,downloadCsv:!0},customItems:[]}};function st(t,a){const o=Object.assign({},t);return Re(t)&&Re(a)&&Object.keys(a).forEach(l=>{Re(a[l])?l in t?o[l]=st(t[l],a[l]):Object.assign(o,{[l]:a[l]}):Object.assign(o,{[l]:a[l]})}),o}const nt=()=>{let t=20,a=0;if(q.value&&(t+=30),G.value&&(t+=25),Ne.value&&f.series.length>0){const o=f.series.filter((c,r)=>!I.value.has(r)).length,s=Math.floor(Q.value/100);a=Math.ceil(o/s)*25+10,t+=a}return{height:t,legendHeight:a}};function Re(t){return t&&typeof t=="object"&&!Array.isArray(t)}const y=e.computed(()=>st(Kt,f.options)),Q=e.computed(()=>{const t=y.value;return t&&t.chart&&typeof t.chart.width=="number"?t.chart.width:800}),ne=e.computed(()=>{const t=y.value;return t&&t.chart&&typeof t.chart.height=="number"?t.chart.height:400}),F=e.computed(()=>{const t=y.value;return t&&t.chart&&t.chart.type?t.chart.type:"line"}),rt=e.computed(()=>{const t=f.series.map(a=>a.type||F.value);return new Set(t).size>1}),q=e.computed(()=>{const t=y.value;return t&&t.title&&t.title.text?t.title.text:""}),G=e.computed(()=>{const t=y.value;return t&&t.subtitle&&t.subtitle.text?t.subtitle.text:""}),Oe=e.computed(()=>{const t=y.value;return t&&t.xAxis&&t.xAxis.title&&t.xAxis.title.text?t.xAxis.title.text:""}),it=e.computed(()=>{const t=y.value;return t&&t.yAxis&&t.yAxis.title&&t.yAxis.title.text?t.yAxis.title.text:""}),Qt=e.computed(()=>{const t=y.value;if(!t||!t.yAxis)return pe;const a=t.yAxis.min;return typeof a=="number"||a===pe?a:pe}),Gt=e.computed(()=>{const t=y.value;if(!t||!t.yAxis)return pe;const a=t.yAxis.max;return typeof a=="number"||a===pe?a:pe}),ct=e.computed(()=>{const t=y.value;return t&&t.grid&&t.grid.show!==!1}),Ne=e.computed(()=>{const t=y.value;return t&&t.legend&&t.legend.show!==!1}),de=e.computed(()=>{const t=y.value;if(!t||!t.crosshair)return!1;const a=t.crosshair.show;return a===!0||a==="true"}),Jt=e.computed(()=>{const t=y.value;return t&&t.crosshair&&t.crosshair.color?t.crosshair.color:"#666"}),Ce=e.computed(()=>{const t=y.value;return t&&t.zoom&&t.zoom.enabled!==!1}),eo=e.computed(()=>{const t=y.value;return t&&t.zoom&&typeof t.zoom.minScale=="number"?t.zoom.minScale:1}),to=e.computed(()=>{const t=y.value;return t&&t.zoom&&typeof t.zoom.maxScale=="number"?t.zoom.maxScale:2.5}),me=e.computed(()=>{const t=y.value;return t&&t.stroke&&typeof t.stroke.width=="number"?t.stroke.width:2}),ee=e.computed(()=>{const t=y.value;return t&&t.bubbles&&typeof t.bubbles.size=="number"?t.bubbles.size:4}),ut=e.computed(()=>{const t=y.value;return t&&t.fill&&t.fill.area&&typeof t.fill.area.opacity=="number"?t.fill.area.opacity:.3}),re=e.computed(()=>{const t=y.value;return t&&t.smoothing&&t.smoothing.enabled===!0}),He=e.computed(()=>{const t=y.value;return t&&t.smoothing&&typeof t.smoothing.factor=="number"?t.smoothing.factor:.3}),dt=e.computed(()=>{const t=y.value;return re.value?t&&t.smoothing&&typeof t.smoothing.barRadius=="number"?t.smoothing.barRadius:4:0}),oo=e.computed(()=>{const t=y.value,a=t&&t.colors&&Array.isArray(t.colors)?t.colors:[];return a.length>0?a:["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#F97316","#06B6D4","#84CC16"]}),Ee=e.computed(()=>{const t=y.value;return t&&t.animations&&t.animations.enabled!==!1}),mt=e.computed(()=>{const t=y.value;return t&&t.animations&&t.animations.type?t.animations.type:"draw"}),ht=e.computed(()=>{const t=y.value;return t&&t.animations&&typeof t.animations.duration=="number"?t.animations.duration:2500}),vt=e.computed(()=>{const t=y.value;return t&&t.animations&&typeof t.animations.delay=="number"?t.animations.delay:0}),gt=e.computed(()=>{const t=y.value;return t&&t.animations&&t.animations.easing?t.animations.easing:"ease-out"}),he=e.computed(()=>{const t=y.value;return t&&t.animations&&typeof t.animations.staggerDelay=="number"?t.animations.staggerDelay:200}),ao=e.computed(()=>{const t=y.value;return t&&t.animations&&t.animations.onDataChange!==!1}),lo=e.computed(()=>{const t=y.value;return t&&t.animations&&t.animations.respectReducedMotion!==!1}),Be=e.computed(()=>{const t=y.value;return t&&t.fill&&t.fill.spider&&typeof t.fill.spider.opacity=="number"?t.fill.spider.opacity:.15}),pt=e.computed(()=>{const t=[];for(let o=1;o<=5;o++)t.push(A.value/5*o);return t}),so=e.computed(()=>{const t=y.value;return t&&t.contextMenu&&t.contextMenu.enabled===!0}),te=e.computed(()=>{const t=y.value,a={addMarker:!0,downloadSvg:!0,downloadPng:!0,downloadCsv:!0};return t&&t.contextMenu&&t.contextMenu.items?{...a,...t.contextMenu.items}:a}),Ze=e.computed(()=>{const t=y.value;return t&&t.contextMenu&&Array.isArray(t.contextMenu.customItems)?t.contextMenu.customItems:[]}),no=e.computed(()=>{const t=y.value;return t&&t.markers&&t.markers.icon?t.markers.icon:mo.value}),Ae=e.computed(()=>{const t=y.value;return t&&t.markers&&t.markers.customIcons?t.markers.customIcons:{}}),ft=e.computed(()=>{const t=y.value;return t&&t.markers&&typeof t.markers.iconSize=="number"?t.markers.iconSize:20}),yt=e.computed(()=>!m.value.isZooming),ro=e.computed(()=>T.value.map(t=>{if(t.categoryIndex!==void 0&&(W.value||Y.value)){const a=K(t.categoryIndex),o=i.value.bottom+(Y.value?100:85);return{...t,x:a,y:o}}return t})),Pe=e.computed(()=>{const t=y.value;return t&&t.watermark&&t.watermark.enabled===!0}),je=e.computed(()=>{const t=y.value;return t&&t.watermark&&typeof t.watermark.opacity=="number"?t.watermark.opacity:.05}),io=e.computed(()=>{const t=y.value;return t&&t.watermark&&t.watermark.size?t.watermark.size:"25%"}),Ue=e.computed(()=>{const t=y.value;return t&&t.watermark&&t.watermark.position?t.watermark.position:"bottom-right"}),We=e.computed(()=>{const t={left:i.value.left,top:i.value.top,width:i.value.width,height:i.value.height};let a,o;const l=String(io.value);if(l.includes("%")){const s=parseFloat(l)/100;a=t.width*s,o=a*(96/499)}else{const s=parseFloat(l)||25;a=Math.min(t.width*.25,200)*(s/25),o=a*(96/499)}return{width:a,height:o,area:t}}),co=e.computed(()=>{const{width:t,height:a}=We.value,o=Ue.value;let l,s;const n=i.value.left,c=i.value.right,r=i.value.top,u=i.value.bottom,d=i.value.width,h=i.value.height;switch(o){case"center":l=n+(d-t)/2,s=r+(h-a)/2;break;case"top-left":l=n+15,s=r+90;break;case"top-right":l=c-t-15,s=r+90;break;case"bottom-left":l=n+15,s=u-a+75;break;case"bottom-right":default:l=c-t-15,s=u-a+75;break}return{backgroundPositionX:l+"px",backgroundPositionY:s+"px",backgroundSize:`${t}px ${a}px`}}),uo=t=>!f.flags||!f.flags.length?[]:f.flags.filter(a=>a.categoryIndex===t),ve=t=>{const a=uo(t),o=Vo(t),l=a.filter(c=>c.manual),s=a.filter(c=>!c.manual),n=[];return l.length>0&&n.push({type:D("chart.tooltip.manualFlags"),color:"#047395",flags:l.map(c=>({text:c.text,color:"#047395"}))}),s.length>0&&n.push({type:D("chart.tooltip.autoFlags"),color:"#0dbf89",flags:s.map(c=>({text:c.text,color:"#0dbf89"}))}),{flagGroups:n,markers:o.map(c=>({title:c.title,description:c.description,type:D("chart.tooltip.markers"),color:c.color||"#FF6B6B"}))}},mo=e.computed(()=>`data:image/svg+xml;base64,${btoa(`<svg width="55" height="56" viewBox="0 0 55 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M55 51.841V4.14647C55 1.86149 53.1797 0.00915527 50.9343 0.00915527L4.06568 0.00915527C1.82027 0.00915527 0 1.86149 0 4.14647V51.841C0 54.126 1.82027 55.9783 4.06568 55.9783H50.9343C53.1797 55.9783 55 54.126 55 51.841Z" fill="#020203"/>
3
+ <path d="M27.7145 10.8883H16.9591C12.7639 10.8883 9.3623 14.3498 9.3623 18.619C9.3623 22.8882 12.7639 26.3497 16.9591 26.3497H27.8036C28.3624 26.3497 28.816 25.8881 28.816 25.3112L28.7188 11.9103C28.7188 11.3416 28.2653 10.8883 27.7064 10.8883H27.7145Z" fill="#FFC230"/>
4
+ <path d="M38.6799 25.649C42.5176 25.649 45.6288 22.483 45.6288 18.5776C45.6288 14.6722 42.5176 11.5063 38.6799 11.5063C34.8421 11.5063 31.731 14.6722 31.731 18.5776C31.731 22.483 34.8421 25.649 38.6799 25.649Z" fill="white"/>
5
+ <path d="M27.2846 45.1083H38.04C42.2352 45.1083 45.6368 41.6468 45.6368 37.3776C45.6368 33.1084 42.2352 29.6469 38.04 29.6469H27.1955C26.6366 29.6469 26.1831 30.1084 26.1831 30.6854L26.2803 44.0863C26.2803 44.655 26.7338 45.1083 27.2927 45.1083H27.2846Z" fill="#07A9DA"/>
6
+ <path d="M16.3198 44.4813C20.1575 44.4813 23.2687 41.3153 23.2687 37.4099C23.2687 33.5045 20.1575 30.3386 16.3198 30.3386C12.482 30.3386 9.37085 33.5045 9.37085 37.4099C9.37085 41.3153 12.482 44.4813 16.3198 44.4813Z" fill="white"/>
7
+ </svg>`)}`),kt=e.computed(()=>`data:image/svg+xml;base64,${btoa(`<svg width="499" height="96" viewBox="0 0 499 96" fill="none" xmlns="http://www.w3.org/2000/svg">
8
+ <path d="M171.52 37.8399H160.38C160.26 36.4799 160.02 35.0599 159.68 33.5699C159.34 32.0799 158.77 30.7399 157.96 29.5299C157.16 28.3199 156 27.3199 154.48 26.5099C152.96 25.7099 150.94 25.2999 148.4 25.2999C144.69 25.2999 141.93 26.1299 140.14 27.8099C138.34 29.4799 137.45 31.5499 137.45 34.0299C137.45 37.7999 139.29 40.0799 142.97 40.8499C146.65 41.6299 150.67 42.3799 155.03 43.1199C159.39 43.8599 163.41 45.3899 167.09 47.7099C170.77 50.0299 172.61 54.6199 172.61 61.4899C172.61 64.6499 172.02 67.5099 170.85 70.0699C169.67 72.6399 168.02 74.7899 165.89 76.5199C163.76 78.2499 161.19 79.5799 158.19 80.5099C155.19 81.4399 151.93 81.8999 148.4 81.8999C143.95 81.8999 140.12 81.2699 136.94 79.9999C133.75 78.7299 131.19 77.0799 129.24 75.0399C127.29 72.9999 125.93 70.6899 125.16 68.1299C124.39 65.5599 124.19 62.9499 124.56 60.2899H136.25C136.37 62.0799 136.58 63.7899 136.85 65.3899C137.13 66.9999 137.68 68.4099 138.52 69.6099C139.35 70.8199 140.58 71.7799 142.19 72.4899C143.8 73.1999 145.99 73.5599 148.78 73.5599C153.3 73.5599 156.47 72.6199 158.29 70.7299C160.11 68.8399 161.03 66.6899 161.03 64.2799C161.03 60.2599 159.19 57.7799 155.51 56.8599C151.83 55.9299 147.79 55.0499 143.4 54.2099C139.01 53.3799 134.97 51.7699 131.29 49.3799C127.61 46.9999 125.77 42.3699 125.77 35.5099C125.77 32.8499 126.3 30.3899 127.35 28.1299C128.4 25.8699 129.9 23.9199 131.85 22.2799C133.8 20.6399 136.16 19.3399 138.95 18.3799C141.73 17.4199 144.8 16.9399 148.14 16.9399C152.41 16.9399 156.07 17.4699 159.14 18.5199C162.2 19.5699 164.69 21.0299 166.61 22.8799C168.53 24.7399 169.89 26.9499 170.69 29.5199C171.49 32.0899 171.77 34.8599 171.52 37.8199V37.8399Z" fill="#020203"/>
9
+ <path d="M179.04 58.1699C179.04 55.0799 179.55 52.0499 180.57 49.0699C181.59 46.0999 183.04 43.4899 184.93 41.2299C186.82 38.9699 189.09 37.1499 191.75 35.7499C194.41 34.3599 197.35 33.6599 200.57 33.6599C207 33.6599 212.15 35.9299 216.02 40.4799C219.89 45.0299 221.97 51.5999 222.28 60.1999H189.34C189.77 64.2199 191.09 67.1499 193.28 68.9699C195.48 70.7999 198.12 71.7099 201.21 71.7099C203 71.7099 204.5 71.4599 205.71 70.9699C206.92 70.4799 207.91 69.8899 208.68 69.2099C209.45 68.5299 210.06 67.8199 210.49 67.0799C210.92 66.3399 211.26 65.7199 211.51 65.2199H221.72C221.6 66.7699 221.1 68.5099 220.24 70.4599C219.37 72.4099 218.14 74.2299 216.53 75.9399C214.92 77.6399 212.85 79.0599 210.31 80.2099C207.77 81.3499 204.77 81.9299 201.31 81.9299C197.85 81.9299 194.91 81.2799 192.12 79.9799C189.34 78.6799 186.98 76.9499 185.07 74.7799C183.15 72.6099 181.67 70.0899 180.61 67.2199C179.56 64.3399 179.03 61.3299 179.03 58.1699H179.04ZM200.94 42.0199C198.47 42.0199 196.24 42.7299 194.26 44.1499C192.28 45.5699 190.89 47.8299 190.08 50.9199H211.33C211.02 48.0799 209.95 45.8799 208.13 44.3299C206.3 42.7899 203.91 42.0099 200.94 42.0099V42.0199Z" fill="#020203"/>
10
+ <path d="M268.59 80.9999H258.01V50.3799C258.01 48.2099 257.3 46.5099 255.88 45.2799C254.46 44.0399 252.6 43.4199 250.31 43.4199C248.45 43.4199 246.94 43.8399 245.76 44.6699C244.58 45.4999 243.67 46.5399 243.02 47.7799C242.37 49.0199 241.94 50.3799 241.72 51.8599C241.5 53.3399 241.4 54.7099 241.4 55.9399V80.9999H230.82V34.5999H241.03V38.3099C241.83 37.6899 243.27 36.7599 245.34 35.5199C247.41 34.2799 250.3 33.6599 254.02 33.6599C256.68 33.6599 259.12 34.1599 261.35 35.1399C263.58 36.1299 265.31 37.6799 266.55 39.7799C267.04 39.2899 267.71 38.6799 268.55 37.9699C269.38 37.2599 270.41 36.5799 271.61 35.9299C272.82 35.2799 274.22 34.7399 275.83 34.3099C277.44 33.8799 279.23 33.6599 281.21 33.6599C285.23 33.6599 288.67 34.8099 291.51 37.0899C294.36 39.3799 295.78 43.0599 295.78 48.1299V80.9799H285.2V50.3599C285.2 48.1899 284.49 46.4899 283.07 45.2599C281.65 44.0199 279.79 43.3999 277.5 43.3999C275.64 43.3999 274.13 43.8199 272.95 44.6499C271.77 45.4799 270.86 46.5199 270.21 47.7599C269.56 48.9999 269.13 50.3599 268.91 51.8399C268.69 53.3199 268.59 54.6899 268.59 55.9199V80.9799V80.9999Z" fill="#020203"/>
11
+ <path d="M344.78 67.3499C344.78 68.7099 345.21 69.7199 346.08 70.3699C346.95 71.0199 348.09 71.3399 349.51 71.3399C350.13 71.3399 350.76 71.2899 351.41 71.1999C352.06 71.1099 352.82 70.9699 353.68 70.7799V80.9899C352.07 81.2399 350.77 81.3899 349.78 81.4499C348.79 81.5099 347.89 81.5399 347.09 81.5399C344.24 81.5399 342.05 81.1799 340.5 80.4699C338.95 79.7599 337.65 78.5099 336.6 76.7099C336.17 77.0199 335.55 77.4699 334.74 78.0599C333.94 78.6499 332.95 79.2199 331.77 79.7799C330.59 80.3399 329.2 80.8299 327.59 81.2599C325.98 81.6899 324.16 81.9099 322.11 81.9099C319.51 81.9099 317.1 81.4899 314.87 80.6599C312.64 79.8299 310.72 78.6999 309.12 77.2699C307.51 75.8499 306.24 74.2099 305.32 72.3499C304.39 70.4899 303.93 68.5499 303.93 66.4999C303.93 61.2399 305.96 57.4499 310.01 55.1299C314.06 52.8099 319.27 51.6499 325.65 51.6499H334.56V49.4199C334.56 46.9499 333.68 44.9399 331.92 43.3899C330.16 41.8399 327.88 41.0699 325.1 41.0699C322.32 41.0699 320.09 41.7799 318.6 43.1999C317.12 44.6199 316.37 46.6999 316.37 49.4199H305.05C305.05 46.9499 305.58 44.7199 306.63 42.7399C307.68 40.7599 309.12 39.1099 310.94 37.7799C312.76 36.4499 314.91 35.4299 317.39 34.7199C319.86 34.0099 322.52 33.6499 325.37 33.6499C327.97 33.6499 330.44 33.9399 332.79 34.5299C335.14 35.1199 337.2 36.0299 338.96 37.2699C340.72 38.5099 342.13 40.0499 343.18 41.9099C344.23 43.7699 344.76 45.9299 344.76 48.4099V67.3399L344.78 67.3499ZM315.45 67.6299C315.45 69.4899 316.19 71.0999 317.68 72.4599C319.16 73.8199 321.14 74.4999 323.62 74.4999C325.54 74.4999 327.18 74.1399 328.54 73.4299C329.9 72.7199 331.03 71.8399 331.93 70.7899C332.83 69.7399 333.49 68.6199 333.93 67.4499C334.36 66.2799 334.58 65.2199 334.58 64.2899V59.6499C330.56 59.4599 327.29 59.5399 324.79 59.8799C322.29 60.2199 320.35 60.7599 318.99 61.4999C317.63 62.2399 316.7 63.1399 316.21 64.1899C315.71 65.2399 315.47 66.3899 315.47 67.6199L315.45 67.6299Z" fill="#020203"/>
12
+ <path d="M356.47 58.1699C356.47 54.5799 357.01 51.2899 358.09 48.2899C359.17 45.2899 360.67 42.7099 362.59 40.5399C364.51 38.3799 366.8 36.6899 369.46 35.4799C372.12 34.2699 375.03 33.6699 378.18 33.6699C382.2 33.6699 385.51 34.4399 388.11 35.9899C390.71 37.5399 392.78 39.3799 394.33 41.5099C395.88 43.6399 397.02 45.8899 397.76 48.2399C398.5 50.5899 399.03 52.5399 399.34 54.0899H388.58C388.15 51.2499 387.11 48.8299 385.47 46.8499C383.83 44.8699 381.28 43.8799 377.81 43.8799C374.78 43.8799 372.16 45.0399 369.97 47.3599C367.77 49.6799 366.68 53.1599 366.68 57.7999C366.68 62.6899 367.89 66.2299 370.3 68.4299C372.71 70.6299 375.47 71.7199 378.56 71.7199C380.29 71.7199 381.78 71.4399 383.01 70.8899C384.25 70.3299 385.27 69.6099 386.07 68.7099C386.87 67.8099 387.54 66.8099 388.07 65.6899C388.59 64.5799 389.07 63.4899 389.51 62.4399H399.16C399.16 64.3599 398.73 66.4599 397.86 68.7499C396.99 71.0399 395.68 73.1599 393.92 75.1099C392.16 77.0599 389.91 78.6799 387.19 79.9799C384.47 81.2799 381.28 81.9299 377.63 81.9299C374.47 81.9299 371.58 81.2799 368.95 79.9799C366.32 78.6799 364.09 76.9499 362.27 74.7799C360.44 72.6099 359.02 70.0899 358 67.2199C356.98 64.3499 356.47 61.3299 356.47 58.1699Z" fill="#020203"/>
13
+ <path d="M410.11 17.8899H420.32V34.5899H426.82V44.7999H420.32V68.7399C420.32 70.0999 420.71 71.0299 421.48 71.5199C422.25 72.0199 423.1 72.2599 424.03 72.2599C424.83 72.2599 425.53 72.1799 426.12 72.0299C426.71 71.8799 427.16 71.6999 427.47 71.5199V80.7999C427.04 80.9199 426.23 81.1399 425.06 81.4499C423.88 81.7599 422.24 81.9099 420.14 81.9099C416.61 81.9099 414.06 81.0099 412.48 79.2199C410.9 77.4299 410.11 75.4199 410.11 73.1899V44.7899H404.54V34.5799H410.11V17.8799V17.8899Z" fill="#020203"/>
14
+ <path d="M435.81 16.96H446.39V28.1H435.81V16.96ZM435.81 34.59H446.39V80.99H435.81V34.59Z" fill="#020203"/>
15
+ <path d="M455.67 58.1699C455.67 54.5799 456.21 51.2899 457.29 48.2899C458.37 45.2899 459.87 42.7099 461.79 40.5399C463.71 38.3799 466 36.6899 468.66 35.4799C471.32 34.2699 474.23 33.6699 477.38 33.6699C481.4 33.6699 484.71 34.4399 487.31 35.9899C489.91 37.5399 491.98 39.3799 493.53 41.5099C495.08 43.6399 496.22 45.8899 496.96 48.2399C497.7 50.5899 498.23 52.5399 498.54 54.0899H487.78C487.35 51.2499 486.31 48.8299 484.67 46.8499C483.03 44.8699 480.48 43.8799 477.01 43.8799C473.98 43.8799 471.36 45.0399 469.17 47.3599C466.97 49.6799 465.88 53.1599 465.88 57.7999C465.88 62.6899 467.09 66.2299 469.5 68.4299C471.91 70.6299 474.67 71.7199 477.76 71.7199C479.49 71.7199 480.98 71.4399 482.21 70.8899C483.45 70.3299 484.47 69.6099 485.27 68.7099C486.07 67.8099 486.74 66.8099 487.27 65.6899C487.79 64.5799 488.27 63.4899 488.71 62.4399H498.36C498.36 64.3599 497.93 66.4599 497.06 68.7499C496.19 71.0399 494.88 73.1599 493.12 75.1099C491.36 77.0599 489.11 78.6799 486.39 79.9799C483.67 81.2799 480.48 81.9299 476.83 81.9299C473.67 81.9299 470.78 81.2799 468.15 79.9799C465.52 78.6799 463.29 76.9499 461.47 74.7799C459.64 72.6099 458.22 70.0899 457.2 67.2199C456.18 64.3499 455.67 61.3299 455.67 58.1699Z" fill="#020203"/>
16
+ <path d="M95.8 88.71V7.09C95.8 3.1743 92.6258 0 88.7101 0L7.09004 0C3.17435 0 4.57764e-05 3.1743 4.57764e-05 7.09V88.71C4.57764e-05 92.6257 3.17435 95.8 7.09004 95.8H88.7101C92.6258 95.8 95.8 92.6257 95.8 88.71Z" fill="#020203"/>
17
+ <path d="M48.2801 18.61H29.5501C22.2401 18.61 16.3201 24.53 16.3201 31.84C16.3201 39.15 22.2401 45.07 29.5501 45.07H48.4401C49.4201 45.07 50.2101 44.27 50.2001 43.29L50.0401 20.35C50.0401 19.38 49.2501 18.6 48.2801 18.6V18.61Z" fill="#FFC530"/>
18
+ <path d="M67.37 43.9C74.0582 43.9 79.48 38.4782 79.48 31.79C79.48 25.1018 74.0582 19.68 67.37 19.68C60.6818 19.68 55.26 25.1018 55.26 31.79C55.26 38.4782 60.6818 43.9 67.37 43.9Z" fill="white"/>
19
+ <path d="M47.5201 77.18H66.2501C73.5601 77.18 79.4801 71.26 79.4801 63.95C79.4801 56.64 73.5601 50.72 66.2501 50.72H47.3601C46.3801 50.72 45.5901 51.52 45.6001 52.5L45.7601 75.44C45.7601 76.41 46.5501 77.19 47.5201 77.19V77.18Z" fill="#07ACDD"/>
20
+ <path d="M28.4201 76.12C35.1082 76.12 40.5301 70.6982 40.5301 64.01C40.5301 57.3218 35.1082 51.9 28.4201 51.9C21.7319 51.9 16.3101 57.3218 16.3101 64.01C16.3101 70.6982 21.7319 76.12 28.4201 76.12Z" fill="white"/>
21
+ </svg>`)}`),Ct=e.computed(()=>{const t=y.value;return t&&t.radialLabels&&t.radialLabels.show===!0}),ho=e.computed(()=>{const t=y.value;return t&&t.radialLabels&&typeof t.radialLabels.fontSize=="number"?t.radialLabels.fontSize:12});e.computed(()=>{const t=y.value;return t&&t.radialLabels&&t.radialLabels.color?t.radialLabels.color:"#000"});const vo=e.computed(()=>{const t=y.value;return t&&t.radialLabels&&typeof t.radialLabels.pointerLength=="number"?t.radialLabels.pointerLength:25}),go=e.computed(()=>{const t=y.value;return t&&t.radialLabels&&typeof t.radialLabels.horizontalLength=="number"?t.radialLabels.horizontalLength:40}),po=e.computed(()=>{const t=y.value;return t&&t.radialLabels&&typeof t.radialLabels.textOffset=="number"?t.radialLabels.textOffset:8}),xt=e.computed(()=>{if(!f.flags||!f.flags.length)return[];const t=new Map;return f.flags.forEach(a=>{const o=a.categoryIndex;t.has(o)||t.set(o,[]),t.get(o).push(a)}),Array.from(t.entries()).map(([a,o])=>{const l=K(a),s=o.filter(c=>c.manual),n=o.filter(c=>!c.manual);return{categoryIndex:parseInt(a),x:l,flags:o,manualCount:s.length,autoCount:n.length,totalCount:o.length,hasManual:s.length>0,hasAuto:n.length>0,texts:o.map(c=>c.text).join(`
22
+ `)}})}),qe=e.ref({show:!1,x:0,y:0,content:"",count:0}),fo=e.computed(()=>y.value?.bubbles?.tooltip?.fields||["x","y","size","label"]),yo=e.computed(()=>{const t=y.value;return{...{x:"X",y:"Y",size:"Size",label:"Label",seriesName:"Series"},...t?.bubbles?.tooltip?.labels||{}}}),ko=e.computed(()=>y.value?.bubbles?.tooltip?.formatters||{}),I=e.ref(new Set),B=e.ref(null),Ke=e.ref(!1),Z=e.ref({show:!1,x:0,y:0,title:"",value:""}),$=e.ref({show:!1,x:0,categoryIndex:-1,data:[]}),P=e.ref({show:!1,x:0,y:0,mouseDataX:0,mouseDataY:0,categoryIndex:-1,chartX:0,chartY:0}),m=e.ref({scale:1,offsetX:0,minScale:1,maxScale:2.5,isDragging:!1,lastMouseX:0,lastMouseY:0,isZooming:!1,zoomTimeout:null}),T=e.ref([]),L=e.ref({show:!1,title:"",description:"",color:"#FF6B6B",type:"default",editingMarkerId:null}),Mt=e.computed(()=>{const t=["default"];return Ae.value&&t.push(...Object.keys(Ae.value)),t}),Se=e.computed(()=>L.value.editingMarkerId!==null),Co=t=>{I.value.has(t)||(ot.value=!0,B.value=t)},xo=()=>{ot.value=!1,B.value=null},Mo=t=>{if(_e.value||Ye.value){$.value.show=!1;return}const o=t.currentTarget.getBoundingClientRect(),l=t.clientX-o.left,s=t.clientY-o.top,n=Y.value?l>=i.value.left-50&&l<=i.value.right+50&&s>=i.value.top-50&&s<=i.value.bottom+100:l>=i.value.left&&l<=i.value.right&&s>=i.value.top&&s<=i.value.bottom;if(Ke.value=n,Y.value){if(!de.value||!n||m.value.isDragging||m.value.isZooming){$.value.show=!1;return}if(Ie.value.find(C=>!C||C.isHidden?!1:Math.sqrt(Math.pow(C.x-l,2)+Math.pow(C.y-s,2))<=C.radius+3))$.value.show=!1;else{const C=Ie.value.filter(S=>!S||S.isHidden?!1:Math.sqrt(Math.pow(S.x-l,2)+Math.pow(S.y-s,2))<=250);if(C.length>0){let S=C[0],_=Math.sqrt(Math.pow(S.x-l,2)+Math.pow(S.y-s,2));C.forEach(p=>{const k=Math.sqrt(Math.pow(p.x-l,2)+Math.pow(p.y-s,2));k<_&&(_=k,S=p)});const g=30,V=Ie.value.filter(p=>!p||p.isHidden?!1:Math.abs(p.x-S.x)<=g).sort((p,k)=>p.y-k.y);$.value={show:!0,x:S.x,categoryIndex:Math.round(S.originalX),data:(()=>{const p=fo.value,k=yo.value,b=[];return V.forEach(w=>{p.forEach(z=>{const H=k[z]||z,ae=la(z,w);ae&&b.push({seriesName:w.seriesName,label:w.label,value:`${H}: ${ae}`,color:w.color,y:w.y})})}),b})()}}else $.value.show=!1}return}if(m.value.isDragging&&m.value.scale>1&&W.value&&Ce.value){$.value.show=!1;const E=t.clientX-m.value.lastMouseX,{minX:C,maxX:S}=X.value,_=S-C||1,V=E*.8;m.value.offsetX+=V;const p=_/m.value.scale,k=_-p,b=0,w=-k/_*i.value.width,z=b;m.value.offsetX=Math.max(w,Math.min(z,m.value.offsetX)),m.value.lastMouseX=t.clientX,m.value.lastMouseY=t.clientY;return}if(!de.value||!W.value||m.value.isDragging||m.value.isZooming||!n){$.value.show=!1;return}const{minX:c,maxX:r}=X.value,u=r-c||1,d=u/m.value.scale,h=c-m.value.offsetX/i.value.width*u,v=(l-i.value.left)/i.value.width,M=h+v*d,x=Math.round(M);if(x>=0&&x<=r){const E=K(x),C=ke.value.map((S,_)=>{const g=f.series.findIndex(p=>p===S),V=S.data[x];return{seriesName:S.name,value:V!==void 0?V:null,color:j(g),y:V!==void 0?oe(V):null}}).filter(S=>S.value!==null);$.value={show:!0,x:E,categoryIndex:x,data:C}}},wo=()=>{$.value.show=!1,Ke.value=!1,Ye.value=!1,_e.value||(qe.value.show=!1),m.value.isDragging&&(m.value.isDragging=!1),m.value.zoomTimeout&&(clearTimeout(m.value.zoomTimeout),m.value.zoomTimeout=null),m.value.isZooming=!1,setTimeout(()=>{B.value=null,Z.value.show=!1},150)},bo=t=>{if(!so.value)return;t.preventDefault();const o=t.currentTarget.getBoundingClientRect(),l=t.clientX-o.left,s=t.clientY-o.top,n=l>=i.value.left&&l<=i.value.right&&s>=i.value.top+60&&s<=i.value.bottom+90,c=40,r=s>=i.value.bottom-c&&s<=i.value.bottom+c;if(!n||!r)return;let u=0,d=0,h=-1;if(W.value){const{minX:C,maxX:S,minY:_}=X.value,g=S-C||1,V=g/m.value.scale,p=C-m.value.offsetX/i.value.width*g,k=(l-i.value.left)/i.value.width;u=p+k*V,d=_,h=Math.round(u)}else if(Y.value){const{minX:C,maxX:S,minY:_}=X.value,g=S-C||1,V=(l-i.value.left)/i.value.width;u=C+V*g,d=_,h=Math.round(u)}let v=t.clientX,M=t.clientY;const x=200,E=150;v+x>window.innerWidth&&(v=window.innerWidth-x-10),M+E>window.innerHeight&&(M=window.innerHeight-E-10),P.value={show:!0,x:v,y:M,mouseDataX:u,mouseDataY:d,categoryIndex:Math.max(0,h),chartX:l,chartY:i.value.bottom}},ie=()=>{P.value.show=!1},Eo=t=>{if(typeof t.template=="function"){const a={series:f.series,categories:f.categories,markers:T.value},o={chartX:P.value.chartX,chartY:P.value.chartY,dataX:P.value.mouseDataX,dataY:P.value.mouseDataY,categoryIndex:P.value.categoryIndex};return t.template(a,o)}return t.template||t.label||""},Bo=t=>{const a=["dss-context-menu-item"];return t.cssClass&&a.push(t.cssClass),a},So=t=>t.style||{},wt=t=>t.type&&Ae.value[t.type]?Ae.value[t.type]:t.customIcon?t.customIcon:no.value,Vo=t=>T.value.length?T.value.filter(a=>a.categoryIndex===t):[],$o=t=>{if(!W.value&&!Y.value)return{x:0,y:0};const a=K(t),o=i.value.bottom+85;return{x:a,y:o}},bt=()=>{T.value.forEach(t=>{if(t.categoryIndex!==void 0&&(W.value||Y.value)){const a=$o(t.categoryIndex);t.x=a.x,t.y=a.y}})},Et=()=>{if(L.value.title.trim()){if(Se.value){const t=T.value.findIndex(a=>a.id===L.value.editingMarkerId);t!==-1&&(T.value[t].title=L.value.title.trim(),T.value[t].description=L.value.description.trim(),T.value[t].color=L.value.color,T.value[t].type=L.value.type||"default")}else{const t="dss-marker-"+Date.now()+"-"+Math.random().toString(36).substring(2,9);let a=Math.max(0,P.value.categoryIndex);if(Y.value){const{maxX:n}=X.value;a=Math.max(0,Math.min(a,Math.floor(n)))}else W.value&&(a=Math.max(0,Math.min(a,X.value.maxX)));const o=K(a),l=i.value.bottom+85,s={id:t,title:L.value.title.trim(),description:L.value.description.trim(),color:L.value.color,type:L.value.type||"default",x:o,y:l,categoryIndex:a,chartType:F.value};T.value.push(s)}xe(),Bt()}},xe=()=>{L.value.show=!1,L.value.title="",L.value.description="",L.value.color="#FF6B6B",L.value.type="default",L.value.editingMarkerId=null},_o=()=>{Se.value&&(Do(L.value.editingMarkerId),xe())},Do=t=>{const a=T.value.findIndex(o=>o.id===t);a!==-1&&(T.value.splice(a,1),Bt())},Lo=t=>{L.value.show=!0,L.value.title=t.title,L.value.description=t.description,L.value.color=t.color,L.value.type=t.type||"default",L.value.editingMarkerId=t.id},zo=()=>{T.value=[],Ao(),ie()},No=(t,a)=>{console.warn(`Failed to load custom icon for marker ${a.id}, falling back to default`)},Bt=()=>{try{const t=`dss-chart-markers-${f.chartId}`;localStorage.setItem(t,JSON.stringify(T.value))}catch(t){console.warn("Could not save markers to localStorage:",t)}},Ho=()=>{try{const t=`dss-chart-markers-${f.chartId}`,a=localStorage.getItem(t);if(a){const o=JSON.parse(a);Array.isArray(o)&&(T.value=o.map(l=>({...l,originalYOffset:l.originalYOffset!==void 0?l.originalYOffset:15})))}}catch(t){console.warn("Could not load markers from localStorage:",t),T.value=[]}},Ao=()=>{try{const t=`dss-chart-markers-${f.chartId}`;localStorage.removeItem(t)}catch(t){console.warn("Could not clear markers from localStorage:",t)}},Fe=t=>{const a=q.value||"Chart",o=new Date().toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"2-digit"}).replace(/\//g,"-");return`${a.replace(/[^a-zA-Z0-9\s]/g,"").replace(/\s+/g,"-").substring(0,50).replace(/^-|-$/g,"")||"Chart"}-${o}.${t}`},St=()=>{const t=$.value.show,a=Z.value.show;return $.value.show=!1,Z.value.show=!1,{originalCrosshair:t,originalTooltip:a}},fe=t=>{$.value.show=t.originalCrosshair,Z.value.show=t.originalTooltip},Fo=async(t,a=32,o=32)=>new Promise((l,s)=>{if(t.startsWith("data:")){l(t);return}const n=new Image;n.crossOrigin="anonymous";const c=setTimeout(()=>{console.warn("Image conversion timeout for:",t),l(t)},5e3);n.onload=()=>{clearTimeout(c);try{const r=document.createElement("canvas"),u=r.getContext("2d");r.width=a,r.height=o,u.fillStyle="white",u.fillRect(0,0,a,o),u.drawImage(n,0,0,a,o);const d=r.toDataURL("image/png");l(d)}catch(r){console.warn("Canvas conversion failed:",r),l(t)}},n.onerror=r=>{clearTimeout(c),console.warn("Failed to load image:",t,r),l(t)},n.src=t}),Xo=async()=>{try{const t=St();setTimeout(async()=>{try{const a=document.querySelector(".dss-chart-svg");if(!a){console.error("Chart SVG element not found"),fe(t);return}const o=nt(),l=Q.value,s=ne.value+o.height,n=a.cloneNode(!0);n.querySelectorAll(".dss-flag-markers, .dss-flag-line, .dss-flag-extension-line, .dss-flag-count-indicator, .dss-flag-count-text").forEach(g=>g.remove());const r=n.querySelectorAll("image"),u=Array.from(r).map(async g=>{const V=g.getAttribute("xlink:href")||g.getAttribute("href");if(V&&!V.startsWith("data:"))try{const p=await Fo(V,32,32);g.setAttribute("xlink:href",p),g.setAttribute("href",p)}catch(p){console.warn("Failed to convert logo to base64:",p)}});await Promise.all(u);const h=new XMLSerializer().serializeToString(n).replace(/<svg[^>]*>/,"").replace("</svg>","");let v="",M=30;if(q.value&&(v+=`
23
+ <text x="24" y="${M}"
24
+ font-family="Arial, sans-serif"
25
+ font-size="18"
26
+ font-weight="bold"
27
+ fill="#333">
28
+ ${q.value.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}
29
+ </text>`,M+=30),G.value&&(v+=`
30
+ <text x="24" y="${M}"
31
+ font-family="Arial, sans-serif"
32
+ font-size="14"
33
+ fill="#666">
34
+ ${G.value.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}
35
+ </text>`,M+=25),Ne.value&&f.series.length>0){let g=l-200,V=q.value||G.value?35:25;const p=Math.floor((l-250)/120);let k=0;f.series.forEach((b,w)=>{if(!I.value.has(w)){const z=j(w),H=b.name.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");v+=`<circle cx="${g+6}" cy="${V-4}" r="6" fill="${z}"/>`,v+=`<text x="${g+18}" y="${V}" font-family="Arial, sans-serif" font-size="12" fill="#333">${H}</text>`,k++,k%p===0?(g=l-200,V+=20):g+=Math.min(120,H.length*8+35)}})}let x="";if(Pe.value)try{const{width:g,height:V}=We.value,p=Ue.value,k=i.value.left,b=i.value.right,w=i.value.top,z=i.value.bottom,H=i.value.width,ae=i.value.height;let U,le;switch(p){case"center":U=k+(H-g)/2,le=w+(ae-V)/2;break;case"top-left":U=k+15,le=w+5;break;case"top-right":U=b-g-5,le=w+5;break;case"bottom-left":U=k+15,le=z-V-5;break;case"bottom-right":default:U=b-g-5,le=z-V-5;break}x=`
36
+ <g opacity="${je.value}">
37
+ <g transform="translate(${U}, ${le}) scale(${g/499})">
38
+ <path d="M171.52 37.8399H160.38C160.26 36.4799 160.02 35.0599 159.68 33.5699C159.34 32.0799 158.77 30.7399 157.96 29.5299C157.16 28.3199 156 27.3199 154.48 26.5099C152.96 25.7099 150.94 25.2999 148.4 25.2999C144.69 25.2999 141.93 26.1299 140.14 27.8099C138.34 29.4799 137.45 31.5499 137.45 34.0299C137.45 37.7999 139.29 40.0799 142.97 40.8499C146.65 41.6299 150.67 42.3799 155.03 43.1199C159.39 43.8599 163.41 45.3899 167.09 47.7099C170.77 50.0299 172.61 54.6199 172.61 61.4899C172.61 64.6499 172.02 67.5099 170.85 70.0699C169.67 72.6399 168.02 74.7899 165.89 76.5199C163.76 78.2499 161.19 79.5799 158.19 80.5099C155.19 81.4399 151.93 81.8999 148.4 81.8999C143.95 81.8999 140.12 81.2699 136.94 79.9999C133.75 78.7299 131.19 77.0799 129.24 75.0399C127.29 72.9999 125.93 70.6899 125.16 68.1299C124.39 65.5599 124.19 62.9499 124.56 60.2899H136.25C136.37 62.0799 136.58 63.7899 136.85 65.3899C137.13 66.9999 137.68 68.4099 138.52 69.6099C139.35 70.8199 140.58 71.7799 142.19 72.4899C143.8 73.1999 145.99 73.5599 148.78 73.5599C153.3 73.5599 156.47 72.6199 158.29 70.7299C160.11 68.8399 161.03 66.6899 161.03 64.2799C161.03 60.2599 159.19 57.7799 155.51 56.8599C151.83 55.9299 147.79 55.0499 143.4 54.2099C139.01 53.3799 134.97 51.7699 131.29 49.3799C127.61 46.9999 125.77 42.3699 125.77 35.5099C125.77 32.8499 126.3 30.3899 127.35 28.1299C128.4 25.8699 129.9 23.9199 131.85 22.2799C133.8 20.6399 136.16 19.3399 138.95 18.3799C141.73 17.4199 144.8 16.9399 148.14 16.9399C152.41 16.9399 156.07 17.4699 159.14 18.5199C162.2 19.5699 164.69 21.0299 166.61 22.8799C168.53 24.7399 169.89 26.9499 170.69 29.5199C171.49 32.0899 171.77 34.8599 171.52 37.8199V37.8399Z" fill="#020203"/>
39
+ <path d="M179.04 58.1699C179.04 55.0799 179.55 52.0499 180.57 49.0699C181.59 46.0999 183.04 43.4899 184.93 41.2299C186.82 38.9699 189.09 37.1499 191.75 35.7499C194.41 34.3599 197.35 33.6599 200.57 33.6599C207 33.6599 212.15 35.9299 216.02 40.4799C219.89 45.0299 221.97 51.5999 222.28 60.1999H189.34C189.77 64.2199 191.09 67.1499 193.28 68.9699C195.48 70.7999 198.12 71.7099 201.21 71.7099C203 71.7099 204.5 71.4599 205.71 70.9699C206.92 70.4799 207.91 69.8899 208.68 69.2099C209.45 68.5299 210.06 67.8199 210.49 67.0799C210.92 66.3399 211.26 65.7199 211.51 65.2199H221.72C221.6 66.7699 221.1 68.5099 220.24 70.4599C219.37 72.4099 218.14 74.2299 216.53 75.9399C214.92 77.6399 212.85 79.0599 210.31 80.2099C207.77 81.3499 204.77 81.9299 201.31 81.9299C197.85 81.9299 194.91 81.2799 192.12 79.9799C189.34 78.6799 186.98 76.9499 185.07 74.7799C183.15 72.6099 181.67 70.0899 180.61 67.2199C179.56 64.3399 179.03 61.3299 179.03 58.1699H179.04ZM200.94 42.0199C198.47 42.0199 196.24 42.7299 194.26 44.1499C192.28 45.5699 190.89 47.8299 190.08 50.9199H211.33C211.02 48.0799 209.95 45.8799 208.13 44.3299C206.3 42.7899 203.91 42.0099 200.94 42.0099V42.0199Z" fill="#020203"/>
40
+ <path d="M268.59 80.9999H258.01V50.3799C258.01 48.2099 257.3 46.5099 255.88 45.2799C254.46 44.0399 252.6 43.4199 250.31 43.4199C248.45 43.4199 246.94 43.8399 245.76 44.6699C244.58 45.4999 243.67 46.5399 243.02 47.7799C242.37 49.0199 241.94 50.3799 241.72 51.8599C241.5 53.3399 241.4 54.7099 241.4 55.9399V80.9999H230.82V34.5999H241.03V38.3099C241.83 37.6899 243.27 36.7599 245.34 35.5199C247.41 34.2799 250.3 33.6599 254.02 33.6599C256.68 33.6599 259.12 34.1599 261.35 35.1399C263.58 36.1299 265.31 37.6799 266.55 39.7799C267.04 39.2899 267.71 38.6799 268.55 37.9699C269.38 37.2599 270.41 36.5799 271.61 35.9299C272.82 35.2799 274.22 34.7399 275.83 34.3099C277.44 33.8799 279.23 33.6599 281.21 33.6599C285.23 33.6599 288.67 34.8099 291.51 37.0899C294.36 39.3799 295.78 43.0599 295.78 48.1299V80.9799H285.2V50.3599C285.2 48.1899 284.49 46.4899 283.07 45.2599C281.65 44.0199 279.79 43.3999 277.5 43.3999C275.64 43.3999 274.13 43.8199 272.95 44.6499C271.77 45.4799 270.86 46.5199 270.21 47.7599C269.56 48.9999 269.13 50.3599 268.91 51.8399C268.69 53.3199 268.59 54.6899 268.59 55.9199V80.9799V80.9999Z" fill="#020203"/>
41
+ <path d="M344.78 67.3499C344.78 68.7099 345.21 69.7199 346.08 70.3699C346.95 71.0199 348.09 71.3399 349.51 71.3399C350.13 71.3399 350.76 71.2899 351.41 71.1999C352.06 71.1099 352.82 70.9699 353.68 70.7799V80.9899C352.07 81.2399 350.77 81.3899 349.78 81.4499C348.79 81.5099 347.89 81.5399 347.09 81.5399C344.24 81.5399 342.05 81.1799 340.5 80.4699C338.95 79.7599 337.65 78.5099 336.6 76.7099C336.17 77.0199 335.55 77.4699 334.74 78.0599C333.94 78.6499 332.95 79.2199 331.77 79.7799C330.59 80.3399 329.2 80.8299 327.59 81.2599C325.98 81.6899 324.16 81.9099 322.11 81.9099C319.51 81.9099 317.1 81.4899 314.87 80.6599C312.64 79.8299 310.72 78.6999 309.12 77.2699C307.51 75.8499 306.24 74.2099 305.32 72.3499C304.39 70.4899 303.93 68.5499 303.93 66.4999C303.93 61.2399 305.96 57.4499 310.01 55.1299C314.06 52.8099 319.27 51.6499 325.65 51.6499H334.56V49.4199C334.56 46.9499 333.68 44.9399 331.92 43.3899C330.16 41.8399 327.88 41.0699 325.1 41.0699C322.32 41.0699 320.09 41.7799 318.6 43.1999C317.12 44.6199 316.37 46.6999 316.37 49.4199H305.05C305.05 46.9499 305.58 44.7199 306.63 42.7399C307.68 40.7599 309.12 39.1099 310.94 37.7799C312.76 36.4499 314.91 35.4299 317.39 34.7199C319.86 34.0099 322.52 33.6499 325.37 33.6499C327.97 33.6499 330.44 33.9399 332.79 34.5299C335.14 35.1199 337.2 36.0299 338.96 37.2699C340.72 38.5099 342.13 40.0499 343.18 41.9099C344.23 43.7699 344.76 45.9299 344.76 48.4099V67.3399L344.78 67.3499ZM315.45 67.6299C315.45 69.4899 316.19 71.0999 317.68 72.4599C319.16 73.8199 321.14 74.4999 323.62 74.4999C325.54 74.4999 327.18 74.1399 328.54 73.4299C329.9 72.7199 331.03 71.8399 331.93 70.7899C332.83 69.7399 333.49 68.6199 333.93 67.4499C334.36 66.2799 334.58 65.2199 334.58 64.2899V59.6499C330.56 59.4599 327.29 59.5399 324.79 59.8799C322.29 60.2199 320.35 60.7599 318.99 61.4999C317.63 62.2399 316.7 63.1399 316.21 64.1899C315.71 65.2399 315.47 66.3899 315.47 67.6199L315.45 67.6299Z" fill="#020203"/>
42
+ <path d="M356.47 58.1699C356.47 54.5799 357.01 51.2899 358.09 48.2899C359.17 45.2899 360.67 42.7099 362.59 40.5399C364.51 38.3799 366.8 36.6899 369.46 35.4799C372.12 34.2699 375.03 33.6699 378.18 33.6699C382.2 33.6699 385.51 34.4399 388.11 35.9899C390.71 37.5399 392.78 39.3799 394.33 41.5099C395.88 43.6399 397.02 45.8899 397.76 48.2399C398.5 50.5899 399.03 52.5399 399.34 54.0899H388.58C388.15 51.2499 387.11 48.8299 385.47 46.8499C383.83 44.8699 381.28 43.8799 377.81 43.8799C374.78 43.8799 372.16 45.0399 369.97 47.3599C367.77 49.6799 366.68 53.1599 366.68 57.7999C366.68 62.6899 367.89 66.2299 370.3 68.4299C372.71 70.6299 375.47 71.7199 378.56 71.7199C380.29 71.7199 381.78 71.4399 383.01 70.8899C384.25 70.3299 385.27 69.6099 386.07 68.7099C386.87 67.8099 387.54 66.8099 388.07 65.6899C388.59 64.5799 389.07 63.4899 389.51 62.4399H399.16C399.16 64.3599 398.73 66.4599 397.86 68.7499C396.99 71.0399 395.68 73.1599 393.92 75.1099C392.16 77.0599 389.91 78.6799 387.19 79.9799C384.47 81.2799 381.28 81.9299 377.63 81.9299C374.47 81.9299 371.58 81.2799 368.95 79.9799C366.32 78.6799 364.09 76.9499 362.27 74.7799C360.44 72.6099 359.02 70.0899 358 67.2199C356.98 64.3499 356.47 61.3299 356.47 58.1699Z" fill="#020203"/>
43
+ <path d="M410.11 17.8899H420.32V34.5899H426.82V44.7999H420.32V68.7399C420.32 70.0999 420.71 71.0299 421.48 71.5199C422.25 72.0199 423.1 72.2599 424.03 72.2599C424.83 72.2599 425.53 72.1799 426.12 72.0299C426.71 71.8799 427.16 71.6999 427.47 71.5199V80.7999C427.04 80.9199 426.23 81.1399 425.06 81.4499C423.88 81.7599 422.24 81.9099 420.14 81.9099C416.61 81.9099 414.06 81.0099 412.48 79.2199C410.9 77.4299 410.11 75.4199 410.11 73.1899V44.7899H404.54V34.5799H410.11V17.8799V17.8899Z" fill="#020203"/>
44
+ <path d="M435.81 16.96H446.39V28.1H435.81V16.96ZM435.81 34.59H446.39V80.99H435.81V34.59Z" fill="#020203"/>
45
+ <path d="M455.67 58.1699C455.67 54.5799 456.21 51.2899 457.29 48.2899C458.37 45.2899 459.87 42.7099 461.79 40.5399C463.71 38.3799 466 36.6899 468.66 35.4799C471.32 34.2699 474.23 33.6699 477.38 33.6699C481.4 33.6699 484.71 34.4399 487.31 35.9899C489.91 37.5399 491.98 39.3799 493.53 41.5099C495.08 43.6399 496.22 45.8899 496.96 48.2399C497.7 50.5899 498.23 52.5399 498.54 54.0899H487.78C487.35 51.2499 486.31 48.8299 484.67 46.8499C483.03 44.8699 480.48 43.8799 477.01 43.8799C473.98 43.8799 471.36 45.0399 469.17 47.3599C466.97 49.6799 465.88 53.1599 465.88 57.7999C465.88 62.6899 467.09 66.2299 469.5 68.4299C471.91 70.6299 474.67 71.7199 477.76 71.7199C479.49 71.7199 480.98 71.4399 482.21 70.8899C483.45 70.3299 484.47 69.6099 485.27 68.7099C486.07 67.8099 486.74 66.8099 487.27 65.6899C487.79 64.5799 488.27 63.4899 488.71 62.4399H498.36C498.36 64.3599 497.93 66.4599 497.06 68.7499C496.19 71.0399 494.88 73.1599 493.12 75.1099C491.36 77.0599 489.11 78.6799 486.39 79.9799C483.67 81.2799 480.48 81.9299 476.83 81.9299C473.67 81.9299 470.78 81.2799 468.15 79.9799C465.52 78.6799 463.29 76.9499 461.47 74.7799C459.64 72.6099 458.22 70.0899 457.2 67.2199C456.18 64.3499 455.67 61.3299 455.67 58.1699Z" fill="#020203"/>
46
+ <path d="M95.8 88.71V7.09C95.8 3.1743 92.6258 0 88.7101 0L7.09004 0C3.17435 0 4.57764e-05 3.1743 4.57764e-05 7.09V88.71C4.57764e-05 92.6257 3.17435 95.8 7.09004 95.8H88.7101C92.6258 95.8 95.8 92.6257 95.8 88.71Z" fill="#020203"/>
47
+ <path d="M48.2801 18.61H29.5501C22.2401 18.61 16.3201 24.53 16.3201 31.84C16.3201 39.15 22.2401 45.07 29.5501 45.07H48.4401C49.4201 45.07 50.2101 44.27 50.2001 43.29L50.0401 20.35C50.0401 19.38 49.2501 18.6 48.2801 18.6V18.61Z" fill="#FFC530"/>
48
+ <path d="M67.37 43.9C74.0582 43.9 79.48 38.4782 79.48 31.79C79.48 25.1018 74.0582 19.68 67.37 19.68C60.6818 19.68 55.26 25.1018 55.26 31.79C55.26 38.4782 60.6818 43.9 67.37 43.9Z" fill="white"/>
49
+ <path d="M47.5201 77.18H66.2501C73.5601 77.18 79.4801 71.26 79.4801 63.95C79.4801 56.64 73.5601 50.72 66.2501 50.72H47.3601C46.3801 50.72 45.5901 51.52 45.6001 52.5L45.7601 75.44C45.7601 76.41 46.5501 77.19 47.5201 77.19V77.18Z" fill="#07ACDD"/>
50
+ <path d="M28.4201 76.12C35.1082 76.12 40.5301 70.6982 40.5301 64.01C40.5301 57.3218 35.1082 51.9 28.4201 51.9C21.7319 51.9 16.3101 57.3218 16.3101 64.01C16.3101 70.6982 21.7319 76.12 28.4201 76.12Z" fill="white"/>
51
+ </g>
52
+ </g>`}catch(g){console.warn("Watermark processing failed, skipping watermark in SVG:",g),x=""}const E=`<?xml version="1.0" encoding="UTF-8"?>
53
+ <svg width="${l}" height="${s}"
54
+ xmlns="http://www.w3.org/2000/svg"
55
+ xmlns:xlink="http://www.w3.org/1999/xlink">
56
+ <defs>
57
+ <style>
58
+ .dss-chart-title { font-family: Arial, sans-serif; font-size: 18px; font-weight: bold; fill: #333; }
59
+ .dss-chart-subtitle { font-family: Arial, sans-serif; font-size: 14px; fill: #666; }
60
+ .dss-legend-text { font-family: Arial, sans-serif; font-size: 12px; fill: #333; }
61
+ </style>
62
+ </defs>
63
+ <rect width="100%" height="100%" fill="white"/>
64
+ ${v}
65
+ <g transform="translate(0, ${o.height})">
66
+ ${h}
67
+ ${x}
68
+ </g>
69
+ </svg>`,C=new Blob([E],{type:"image/svg+xml;charset=utf-8"}),S=URL.createObjectURL(C),_=document.createElement("a");_.href=S,_.download=Fe("svg"),document.body.appendChild(_),_.click(),document.body.removeChild(_),URL.revokeObjectURL(S),fe(t),ie()}catch(a){console.error("Error downloading SVG:",a),fe(t)}},50)}catch(t){console.error("Error downloading SVG:",t)}},Io=async()=>{try{const t=St();document.querySelector(".dss-custom-chart-container").offsetHeight,await new Promise(g=>setTimeout(g,300));const a=nt(),o=Q.value,l=ne.value+a.height,s=document.createElement("canvas"),n=s.getContext("2d"),c=2;s.width=o*c,s.height=l*c,s.style.width=o+"px",s.style.height=l+"px",n.scale(c,c),n.fillStyle="white",n.fillRect(0,0,o,l);let r=30;if(q.value&&(n.fillStyle="#333",n.font="bold 18px Arial, sans-serif",n.fillText(q.value,24,r),r+=30),G.value&&(n.fillStyle="#666",n.font="14px Arial, sans-serif",n.fillText(G.value,24,r),r+=25),Ne.value&&f.series.length>0){let g=o-200,V=q.value||G.value?35:25;const p=Math.floor((o-250)/120);let k=0;n.font="12px Arial, sans-serif",f.series.forEach((b,w)=>{if(!I.value.has(w)){const z=j(w);n.beginPath(),n.arc(g+6,V-4,6,0,2*Math.PI),n.fillStyle=z,n.fill(),n.fillStyle="#333",n.fillText(b.name,g+18,V),k++,k%p===0?(g=o-200,V+=20):g+=Math.min(120,b.name.length*8+35)}})}const d=document.querySelector(".dss-chart-svg").cloneNode(!0),h=d.querySelectorAll(".dss-flag-markers, .dss-flag-line, .dss-flag-extension-line, .dss-flag-count-indicator, .dss-flag-count-text"),v=d.querySelectorAll(".dss-crosshair"),M=d.querySelectorAll('[class*="tooltip"]');h.forEach(g=>g.remove()),v.forEach(g=>g.remove()),M.forEach(g=>g.remove()),d.querySelectorAll("image").forEach((g,V)=>{const p=g.getAttribute("xlink:href")||g.getAttribute("href");if(p&&!p.startsWith("data:")){const k=Te.value[V],b=k?j(k.seriesIndex):"#3B82F6",w=g.getAttribute("x")||0,z=g.getAttribute("y")||0,H=g.getAttribute("width")||32,ae=g.getAttribute("height")||32,U=document.createElementNS("http://www.w3.org/2000/svg","circle");U.setAttribute("cx",parseFloat(w)+parseFloat(H)/2),U.setAttribute("cy",parseFloat(z)+parseFloat(ae)/2),U.setAttribute("r",Math.min(parseFloat(H),parseFloat(ae))/2-1),U.setAttribute("fill",b),U.setAttribute("stroke","white"),U.setAttribute("stroke-width","2"),g.parentNode.replaceChild(U,g)}});const E=new XMLSerializer().serializeToString(d),C=new Blob([E],{type:"image/svg+xml;charset=utf-8"}),S=URL.createObjectURL(C),_=new Image;return new Promise((g,V)=>{_.onload=async()=>{try{if(n.drawImage(_,0,a.height),Te.value.forEach(p=>{const k=p.x,b=p.y+a.height,w=(p.width||32)/2,z=j(p.seriesIndex);n.save(),n.beginPath(),n.arc(k,b,w-1,0,2*Math.PI),n.fillStyle=z,n.fill(),n.strokeStyle="white",n.lineWidth=2,n.stroke(),n.restore()}),Pe.value){const p=new Image,k=()=>{const{width:w,height:z}=We.value,H=Ue.value,ae=i.value.left,U=i.value.right,le=i.value.top,Wt=i.value.bottom,xa=i.value.width,Ma=i.value.height;let we,be;switch(H){case"center":we=ae+(xa-w)/2,be=le+a.height+(Ma-z)/2;break;case"top-left":we=ae+15,be=le+a.height+10;break;case"top-right":we=U-w-5,be=le+a.height+10;break;case"bottom-left":we=ae+15,be=Wt+a.height-z-5;break;case"bottom-right":default:we=U-w-5,be=Wt+a.height-z-5;break}n.globalAlpha=je.value,n.drawImage(p,we,be,w,z),n.globalAlpha=1,b()},b=()=>{s.toBlob(w=>{const z=URL.createObjectURL(w),H=document.createElement("a");H.href=z,H.download=Fe("png"),document.body.appendChild(H),H.click(),document.body.removeChild(H),URL.revokeObjectURL(z),URL.revokeObjectURL(S),fe(t),ie(),g()},"image/png")};p.onload=k,p.onerror=b,p.src=kt.value}else s.toBlob(p=>{const k=URL.createObjectURL(p),b=document.createElement("a");b.href=k,b.download=Fe("png"),document.body.appendChild(b),b.click(),document.body.removeChild(b),URL.revokeObjectURL(k),URL.revokeObjectURL(S),fe(t),ie(),g()},"image/png")}catch(p){URL.revokeObjectURL(S),fe(t),V(p)}},_.onerror=()=>{URL.revokeObjectURL(S),fe(t),V(new Error("Failed to load SVG image"))},_.src=S})}catch(t){console.error("Error downloading PNG:",t)}},To=()=>{try{let t="";q.value&&(t+=`# ${D("chart.csv.chartTitle")}: ${q.value}
70
+ `),G.value&&(t+=`# ${D("chart.csv.chartSubtitle")}: ${G.value}
71
+ `),t+=`# ${D("chart.csv.generated")}: ${new Date().toLocaleString()}
72
+
73
+ `,t+="Category",f.series.forEach(n=>{const c=n.name.replace(/"/g,'""');t+=',"'+c+'"'}),t+=`
74
+ `;const a=Math.max(...f.series.map(n=>n.data?.length||0));for(let n=0;n<a;n++){let u='"'+(f.categories[n]||D("chart.fallback.item",{number:n+1})).toString().replace(/"/g,'""')+'"';f.series.forEach(d=>{const h=d.data&&d.data[n]!==void 0?d.data[n]:"";u+=","+h}),t+=u+`
75
+ `}const o=new Blob([t],{type:"text/csv;charset=utf-8;"}),l=URL.createObjectURL(o),s=document.createElement("a");s.href=l,s.download=Fe("csv"),document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(l),ie()}catch(t){console.error("Error downloading CSV:",t)}},Yo=t=>{if(typeof t.action=="function"){const a={series:f.series,categories:f.categories,markers:T.value},o={chartX:P.value.chartX,chartY:P.value.chartY,dataX:P.value.mouseDataX,dataY:P.value.mouseDataY,categoryIndex:clampedCategoryIndex||P.value.categoryIndex};t.action(a,o)}ie()},Ro=()=>{xe(),L.value.show=!0,ie()},Vt=t=>{if(P.value.show){const a=document.querySelector(".dss-chart-context-menu");a&&!a.contains(t.target)&&ie()}},$t=t=>{if(!W.value||!Ce.value)return;t.preventDefault(),t.stopPropagation(),m.value.isZooming=!0,$.value.show=!1,m.value.zoomTimeout&&clearTimeout(m.value.zoomTimeout);const o=t.currentTarget.getBoundingClientRect(),l=t.clientX-o.left,s=t.clientY-o.top;if(l<i.value.left-50||l>i.value.right+50||s<i.value.top-50||s>i.value.bottom+100){m.value.isZooming=!1;return}const n=t.deltaY>0?.9:1.1,c=Math.max(m.value.minScale,Math.min(m.value.maxScale,m.value.scale*n));if(c!==m.value.scale){const{minX:r,maxX:u}=X.value,d=u-r||1,h=d/m.value.scale,v=r-m.value.offsetX/i.value.width*d,M=(l-i.value.left)/i.value.width,x=v+M*h;m.value.scale=c;const E=d/m.value.scale,C=x-M*E;m.value.offsetX=-(C-r)/d*i.value.width,m.value.scale<=1.01&&(m.value.scale=1,m.value.offsetX=0)}m.value.zoomTimeout=setTimeout(()=>{m.value.isZooming=!1,m.value.zoomTimeout=null},300)},Oo=t=>{if(!W.value||!Ce.value||m.value.scale<=1)return;$.value.show=!1;const o=t.currentTarget.getBoundingClientRect();t.clientX-o.left,t.clientY-o.top,m.value.isDragging=!0,m.value.lastMouseX=t.clientX,m.value.lastMouseY=t.clientY,t.preventDefault()},Zo=()=>{m.value.isDragging=!1},Qe=()=>{!W.value||!Ce.value||(m.value.scale=1,m.value.offsetX=0,m.value.isDragging=!1,m.value.zoomTimeout&&(clearTimeout(m.value.zoomTimeout),m.value.zoomTimeout=null),m.value.isZooming=!1)},Po=()=>!W.value||!Ke.value||!Ce.value?"default":m.value.isDragging?"grabbing":m.value.scale>1?"grab":"dss-crosshair",Ge=t=>{if(t.length<2)return"";if(t.length===2)return`M ${t[0].x} ${t[0].y} L ${t[1].x} ${t[1].y}`;let a=`M ${t[0].x} ${t[0].y}`;for(let o=0;o<t.length-1;o++){const l=t[Math.max(o-1,0)],s=t[o],n=t[o+1],c=t[Math.min(o+2,t.length-1)],r=s.x+(n.x-l.x)/6*He.value,u=s.y+(n.y-l.y)/6*He.value,d=n.x-(c.x-s.x)/6*He.value,h=n.y-(c.y-s.y)/6*He.value;a+=` C ${r} ${u} ${d} ${h} ${n.x} ${n.y}`}return a},ge=e.computed(()=>{const a=50+(Oe.value?30:0)+60;let o=0;return q.value&&(o+=15),G.value&&(o+=10),{left:66,top:50+o,right:50,bottom:a}}),i=e.computed(()=>({left:ge.value.left,top:ge.value.top,right:Q.value-ge.value.right,bottom:ne.value-ge.value.bottom,width:Q.value-(ge.value.left+ge.value.right),height:ne.value-(ge.value.top+ge.value.bottom)})),W=e.computed(()=>["line","area","bar"].includes(F.value)||rt.value),Me=e.computed(()=>rt.value),Ve=e.computed(()=>["radial","semi-radial"].includes(F.value)),Je=e.computed(()=>F.value==="spider"),Y=e.computed(()=>F.value==="bubble"),Xe=e.computed(()=>y.value?.chart?.orientation==="horizontal"&&(F.value==="bar"||Me.value)),_t=t=>{const{minY:a,maxY:o}=X.value,l=o-a||1;return i.value.left+(t-a)/l*i.value.width},Dt=t=>{const{maxX:a}=X.value,o=a+1,s=i.value.height/o;return i.value.top+(t+.5)*s},R=e.computed(()=>Q.value/2),O=e.computed(()=>ne.value/2),A=e.computed(()=>Math.min(i.value.width,i.value.height)/2),J=e.computed(()=>A.value*.45),et=e.computed(()=>y.value?.bubbles?.minSize||8),Lt=e.computed(()=>y.value?.bubbles?.maxSize||50),zt=e.computed(()=>y.value?.bubbles?.opacity||.7),Nt=(t,a)=>{const o=[15,20,25,18,22],l=o[t%o.length]||20,s=1+Math.sin(a*.5)*.2;return Math.max(5,l*s)},jo=t=>{const a=document.querySelector(`.dss-bubble-image-${t}`);a&&(a.style.opacity="1")},Uo=t=>{const a=document.querySelector(`.dss-bubble-image-${t}`);a&&(a.style.display="none")},ye=e.computed(()=>f.series),ke=e.computed(()=>f.series.filter((t,a)=>!I.value.has(a))),pe="auto",X=e.computed(()=>{if(Y.value)return Wo();if(!ke.value.length)return{minX:0,maxX:1,minY:0,maxY:1};let t=1/0,a=-1/0,o=0;ke.value.forEach(r=>{r.data&&r.data.length&&(o=Math.max(o,r.data.length-1),r.data.forEach(u=>{typeof u=="number"&&(t=Math.min(t,u),a=Math.max(a,u))}))}),f.categories.length>0&&(o=Math.max(o,f.categories.length-1)),t===1/0&&(t=0,a=100);const l=Qt.value,s=Gt.value;let n,c;if(l===pe){const r=a-t,u=r>0?r*.1:1;n=Math.max(0,t-u)}else if(typeof l=="number")n=l;else{const r=a-t,u=r>0?r*.1:1;n=Math.max(0,t-u)}if(s===pe){const r=a-t,u=r>0?r*.1:2;c=a+u}else if(typeof s=="number")c=s;else{const r=a-t,u=r>0?r*.1:2;c=a+u}return{minX:0,maxX:o,minY:n,maxY:c}}),Wo=()=>{if(!ke.value.length)return{minX:0,maxX:8,minY:0,maxY:50,minSize:10,maxSize:30};let t=1/0,a=-1/0,o=1/0,l=-1/0,s=1/0,n=-1/0,c=!1;if(ke.value.forEach((d,h)=>{d?.data?.length&&d.data.forEach((v,M)=>{let x,E,C;if(typeof v=="object"&&v!==null&&!Array.isArray(v))x=typeof v.x=="number"?v.x:M,E=typeof v.y=="number"?v.y:0,C=typeof v.size=="number"?v.size:20;else if(Array.isArray(v)&&v.length>=3)x=typeof v[0]=="number"?v[0]:M,E=typeof v[1]=="number"?v[1]:0,C=typeof v[2]=="number"?v[2]:20;else if(typeof v=="number")x=M,E=v,C=Nt(h,M);else return;isFinite(x)&&isFinite(E)&&isFinite(C)&&(t=Math.min(t,x),a=Math.max(a,x),o=Math.min(o,E),l=Math.max(l,E),s=Math.min(s,C),n=Math.max(n,C),c=!0)})}),!c)return{minX:0,maxX:8,minY:0,maxY:50,minSize:10,maxSize:30};t===a&&(t=Math.min(t,0),a=Math.max(a,f.categories?.length-1||8)),o===l&&(o=Math.max(0,o-10),l=o+20);const r=a-t,u=l-o;return{minX:t-r*.1,maxX:a+r*.1,minY:o-u*.1,maxY:l+u*.1,minSize:s,maxSize:n}},K=t=>{if(Y.value){const{minX:r,maxX:u}=X.value,d=u-r||1;return i.value.left+(t-r)/d*i.value.width}const{minX:a,maxX:o}=X.value,l=o-a||1,s=l/m.value.scale,n=a-m.value.offsetX/i.value.width*l,c=(t-n)/s;return i.value.left+c*i.value.width},oe=t=>{const{minY:a,maxY:o}=X.value,l=o-a||1;return i.value.bottom-(t-a)/l*i.value.height},qo=t=>{if(!Y.value)return ee.value||4;const{minSize:a,maxSize:o}=X.value,l=o-a||1;if(l===0)return(et.value+Lt.value)/2;const s=(t-a)/l;return et.value+s*(Lt.value-et.value)},Ko=e.computed(()=>Ht.value.map(t=>({y:t.y}))),Qo=e.computed(()=>{if(Y.value)return Go();if(F.value==="bar"){const E=[],{maxX:C}=X.value,S=C+1,_=5,V=(i.value.width-_*2)/S;for(let p=0;p<=C;p++){const k=i.value.left+_+(p+.5)*V;E.push({x:k,y:i.value.bottom+20,text:f.categories[p]||D("chart.fallback.item",{number:p+1})})}return E}const t=[],{minX:a,maxX:o}=X.value,l=o-a||1,s=l/m.value.scale,n=a-m.value.offsetX/i.value.width*l,c=n+s,r=Math.max(0,Math.floor(n-2)),u=Math.min(o,Math.ceil(c+2)),d=u-r,h=i.value.width,M=Math.floor(h/60);let x=1;d>M&&(x=Math.ceil(d/M));for(let E=r;E<=u;E+=x)if(E>=0&&E<=o){const C=K(E);C>=i.value.left-100&&C<=i.value.right+100&&t.push({x:C,y:i.value.bottom+20,text:f.categories[E]||`Item ${E+1}`})}return t}),Go=()=>{const t=[],{minX:a,maxX:o}=X.value,l=o-a||1,s=Math.min(8,Math.max(4,Math.floor(i.value.width/80)));for(let n=0;n<=s;n++){const c=a+l*n/s,r=K(c);if(r>=i.value.left-10&&r<=i.value.right+10){const u=Math.round(c),d=f.categories?.[u];t.push({x:r,y:i.value.bottom+20,text:d||(Number.isInteger(c)?c.toString():c.toFixed(1))})}}return t},Ht=e.computed(()=>{if(Xe.value){const s=[],{maxX:n}=X.value;for(let c=0;c<=n;c++)s.push({x:i.value.left-10,y:Dt(c),text:f.categories[c]||`Item ${c+1}`});return s}const t=[],{minY:a,maxY:o}=X.value,l=5;for(let s=0;s<=l;s++){const n=a+(o-a)*(s/l),c=Math.round(n);t.push({x:i.value.left-10,y:oe(n),text:c.toString()})}return t}),j=t=>{const a=oo.value;if(!a||a.length===0){const o=["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#F97316","#06B6D4","#84CC16"];return o[t%o.length]}return a[t%a.length]},At=t=>{let a=0;for(let o=1;o<t.length;o++){const l=t[o].x-t[o-1].x,s=t[o].y-t[o-1].y;a+=Math.sqrt(l*l+s*s)}return a},Ft=e.computed(()=>F.value==="line"||Me.value?(Me.value?f.series.filter(a=>(a.type||F.value)==="line"):ye.value).map((a,o)=>{const l=f.series.findIndex(h=>h===a),s=a.data.map((h,v)=>({x:Xe.value?_t(h):K(v),y:Xe.value?Dt(v):oe(h)}));let n="";s.length>0&&(re.value?n=Ge(s):n=`M ${s[0].x} ${s[0].y}`+s.slice(1).map(h=>` L ${h.x} ${h.y}`).join(""));const c=At(s),r=I.value.has(l),u=B.value===l,d=B.value!==null&&B.value!==l;return{path:n,color:j(l),pathLength:c,seriesIndex:l,animationDelay:o*he.value,isHighlighted:u,isDimmed:d,isHidden:r}}):[]),Jo=e.computed(()=>{if(F.value!=="line")return[];const t=[];return ye.value.forEach((a,o)=>{const l=B.value===o,s=B.value!==null&&B.value!==o,n=I.value.has(o);a.data.forEach((c,r)=>{t.push({x:K(r),y:oe(c),color:j(o),value:c,label:f.categories[r]||r.toString(),seriesName:a.name,categoryIndex:r,dataIndex:r,animationDelay:(o*a.data.length+r)*(he.value/8),isHighlighted:l,isDimmed:s,isHidden:n})})}),t}),Ie=e.computed(()=>{if(!Y.value)return[];const t=[];return ye.value.forEach((a,o)=>{if(!a?.data?.length)return;const l=B.value,s=l!==null&&l===o,n=l!==null&&l!==o,c=I.value.has(o);a.data.forEach((r,u)=>{let d,h,v,M,x;if(typeof r=="object"&&r!==null&&!Array.isArray(r))d=typeof r.x=="number"?r.x:u,h=typeof r.y=="number"?r.y:0,v=typeof r.size=="number"?r.size:20,M=r.label||f.categories?.[u]||`Point ${u+1}`,x=r.image||r.imageUrl;else if(Array.isArray(r)&&r.length>=3)d=typeof r[0]=="number"?r[0]:u,h=typeof r[1]=="number"?r[1]:0,v=typeof r[2]=="number"?r[2]:20,M=r[3]||f.categories?.[u]||`Point ${u+1}`,x=r[4];else if(typeof r=="number")d=u,h=r,v=Nt(o,u),M=f.categories?.[u]||`Point ${u+1}`;else return;!isFinite(d)||!isFinite(h)||!isFinite(v)||t.push({x:K(d),y:oe(h),radius:qo(v),originalX:d,originalY:h,originalSize:v,color:j(o),seriesName:a.name||`Series ${o+1}`,label:M,imageUrl:x,seriesIndex:o,dataIndex:u,categoryIndex:Math.round(d),isHighlighted:s,isDimmed:n,isHidden:c,opacity:zt.value})})}),t}),tt=e.computed(()=>F.value!=="area"?[]:ye.value.map((t,a)=>{const o=t.data.map((h,v)=>({x:K(v),y:oe(h)}));if(o.length===0)return{linePath:"",areaPath:"",color:j(a),isHidden:I.value.has(a)};let l=`M ${o[0].x} ${o[0].y}`;re.value&&o.length>1?l=Ge(o):o.slice(1).forEach(h=>{l+=` L ${h.x} ${h.y}`});const s=i.value.bottom+1;let n=`M ${o[0].x} ${s}`;if(n+=` L ${o[0].x} ${o[0].y}`,re.value&&o.length>1){const h=Ge(o),v=h.substring(h.indexOf("C")||h.indexOf("Q")||h.indexOf("L"));v?n+=" "+v:o.slice(1).forEach(M=>{n+=` L ${M.x} ${M.y}`})}else o.slice(1).forEach(h=>{n+=` L ${h.x} ${h.y}`});n+=` L ${o[o.length-1].x} ${s} Z`;const c=B.value===a,r=B.value!==null&&B.value!==a,u=I.value.has(a),d=At(o);return{linePath:l,areaPath:n,color:j(a),pathLength:d,isHighlighted:c,isDimmed:r,isHidden:u}})),Xt=e.computed(()=>{if(!(["bar"].includes(F.value)||Me.value))return[];const t=[],{maxX:a}=X.value,o=Me.value?f.series.filter(s=>(s.type||F.value)==="bar"):ye.value,l=o.length;if(Xe.value){const s=a+1,c=i.value.height/s,r=c*.8,u=r/l,d=u*.05,h=u-d;o.forEach((v,M)=>{const x=f.series.findIndex(_=>_===v),E=B.value===x,C=B.value!==null&&B.value!==x,S=I.value.has(x);v.data.forEach((_,g)=>{const k=i.value.top+(g+.5)*c-r/2+M*u+d/2,b=i.value.left,w=Math.abs(_t(_)-i.value.left);let z="";if(re.value&&w>0){const H=Math.min(dt.value,h/2,w/2);z=[`M ${b} ${k}`,`L ${b+w-H} ${k}`,`Q ${b+w} ${k} ${b+w} ${k+H}`,`L ${b+w} ${k+h-H}`,`Q ${b+w} ${k+h} ${b+w-H} ${k+h}`,`L ${b} ${k+h}`,"Z"].join(" ")}t.push({x:b,y:k,width:w,height:h,color:j(x),value:_,label:f.categories[g]||g.toString(),seriesName:v.name,animationDelay:(M*o.length+g)*(he.value/4),isHighlighted:E,isDimmed:C,isHidden:S,barPath:z,isSmooth:re.value&&w>0})})})}else{const s=a+1,c=i.value.width/s,r=c*.8,u=r/l,d=u*.05,h=u-d;o.forEach((v,M)=>{const x=f.series.findIndex(_=>_===v),E=B.value===x,C=B.value!==null&&B.value!==x,S=I.value.has(x);v.data.forEach((_,g)=>{const k=i.value.left+(g+.5)*c-r/2+M*u+d/2,b=oe(Math.max(0,_)),w=Math.abs(oe(0)-oe(_));let z="";if(re.value&&w>0){const H=Math.min(dt.value,h/2,w/2);z=[`M ${k} ${b+w}`,`L ${k} ${b+H}`,`Q ${k} ${b} ${k+H} ${b}`,`L ${k+h-H} ${b}`,`Q ${k+h} ${b} ${k+h} ${b+H}`,`L ${k+h} ${b+w}`,"Z"].join(" ")}t.push({x:k,y:b,width:h,height:w,color:j(x),value:_,label:f.categories[g]||g.toString(),seriesName:v.name,animationDelay:(M*o.length+g)*(he.value/4),isHighlighted:E,isDimmed:C,isHidden:S,barPath:z,isSmooth:re.value&&w>0})})})}return t}),It=e.computed(()=>{if(!Ve.value)return[];const t=ye.value.map((n,c)=>({series:n,originalIndex:c})).filter(({originalIndex:n})=>!I.value.has(n));if(t.length===0)return[];let a=F.value==="semi-radial"?Math.PI:-Math.PI/2;const o=F.value==="semi-radial"?Math.PI:Math.PI*2,l=[];if(t.length===1){const{series:n,originalIndex:c}=t[0],r=n.data[0]||0,u=a,d=a+o-.001,h=u+o/2,v=R.value+Math.cos(u)*J.value,M=O.value+Math.sin(u)*J.value,x=R.value+Math.cos(d)*J.value,E=O.value+Math.sin(d)*J.value,C=R.value+Math.cos(d)*A.value,S=O.value+Math.sin(d)*A.value,_=R.value+Math.cos(u)*A.value,g=O.value+Math.sin(u)*A.value,V=1,p=[`M ${v} ${M}`,`A ${J.value} ${J.value} 0 ${V} 1 ${x} ${E}`,`L ${C} ${S}`,`A ${A.value} ${A.value} 0 ${V} 0 ${_} ${g}`,"Z"].join(" ");return l.push({path:p,color:j(c),value:r,seriesName:n.name,opacity:.8,isHighlighted:B.value===c,isDimmed:!1,isHidden:!1,startAngle:u,endAngle:d,midAngle:h}),l}const s=t.reduce((n,{series:c})=>n+(c.data[0]||0),0);return s===0?[]:(t.forEach(({series:n,originalIndex:c})=>{const r=n.data[0]||0,u=r/s*o,d=a,h=a+u,v=d+u/2,M=R.value+Math.cos(d)*J.value,x=O.value+Math.sin(d)*J.value,E=R.value+Math.cos(h)*J.value,C=O.value+Math.sin(h)*J.value,S=R.value+Math.cos(h)*A.value,_=O.value+Math.sin(h)*A.value,g=R.value+Math.cos(d)*A.value,V=O.value+Math.sin(d)*A.value,p=u>Math.PI?1:0,k=[`M ${M} ${x}`,`A ${J.value} ${J.value} 0 ${p} 1 ${E} ${C}`,`L ${S} ${_}`,`A ${A.value} ${A.value} 0 ${p} 0 ${g} ${V}`,"Z"].join(" ");l.push({path:k,color:j(c),value:r,seriesName:n.name,opacity:.8,isHighlighted:B.value===c,isDimmed:B.value!==null&&B.value!==c,isHidden:!1,startAngle:d,endAngle:h,midAngle:v}),a=h}),l)}),ea=e.computed(()=>!Ct.value||!Ve.value?[]:It.value.map((t,a)=>{if(t.isHidden)return null;const o=vo.value,l=go.value,s=po.value,n=R.value+Math.cos(t.midAngle)*A.value,c=O.value+Math.sin(t.midAngle)*A.value,r=R.value+Math.cos(t.midAngle)*(A.value+o),u=O.value+Math.sin(t.midAngle)*(A.value+o),d=Math.cos(t.midAngle)>=0,v=r+l*(d?1:-1),M=u,x=d?r+15:r-15,E=M-s,C=d?"start":"end";return{pointerStartX:n,pointerStartY:c,pointerEndX:r,pointerEndY:u,horizontalEndX:v,horizontalEndY:M,textX:x,textY:E,text:`${t.seriesName}: ${t.value}`,color:t.color,textAnchor:C,isRightSide:d,isHighlighted:t.isHighlighted,isDimmed:t.isDimmed}}).filter(Boolean)),ta=t=>{if(!t||t.isHidden)return 0;const a=t.opacity||zt.value||.7;return B.value===null||B.value===void 0?a:B.value!==null?t.seriesIndex===B.value?Math.min(1,a+.1):Math.max(.5,a*.8):a},oa=t=>{if(!t||t.isHidden)return 0;const a=t.radius>20?.9:.8;return B.value!==null?t.seriesIndex===B.value?Math.min(1,a+.1):a*.7:a},Tt=(t,a)=>{if(t)try{if(B.value===t.seriesIndex?B.value=null:B.value=t.seriesIndex,typeof window<"u"&&window.dispatchEvent){const o=new CustomEvent("dss-bubble-click",{detail:{bubble:t,originalEvent:a,chartId:f.chartId}});window.dispatchEvent(o)}}catch(o){console.error("Error in onBubbleClick:",o)}},aa=(t,a)=>{const o=[`dss-bubble-fallback-${a}`];return t.isHighlighted&&o.push("dss-bubble-highlighted"),t.isDimmed&&o.push("dss-bubble-dimmed"),t.isHidden&&o.push("dss-bubble-hidden"),o.push(`dss-bubble-series-${t.seriesIndex}`),o.join(" ")},Yt=(t,a)=>{t&&(a.stopPropagation(),Ye.value=!0,B.value=t.seriesIndex,$.value.show=!1)},la=(t,a)=>{let o;switch(t){case"x":o=a.originalX;break;case"y":o=a.originalY;break;case"size":o=a.originalSize;break;case"label":o=a.label;break;case"seriesName":o=a.seriesName;break;default:o=a[t]||""}const l=ko.value[t];return typeof l=="function"?l(o,a):typeof o=="number"?o.toFixed(1):o?.toString()||""},sa=()=>{if(!Y.value||!$.value.data||$.value.data.length===0)return"Bubbles";const t=[],a=new Set;return $.value.data.forEach(o=>{if(o.seriesName&&o.label){const l=`${o.seriesName} - ${o.label}`;a.has(l)||(t.push(l),a.add(l))}else o.seriesName&&(a.has(o.seriesName)||(t.push(o.seriesName),a.add(o.seriesName)))}),t.length>0?t.join(" | "):"Bubbles"},Rt=(t,a)=>{t&&(Ye.value=!1,B.value=null)},$e=e.computed(()=>f.categories.length||Math.max(...ke.value.map(t=>t.data.length))),na=e.computed(()=>{let t=0;return ke.value.forEach(a=>{a.data.forEach(o=>{typeof o=="number"&&(t=Math.max(t,o))})}),t||100}),Ot=e.computed(()=>{const t=[],a=$e.value;for(let o=0;o<a;o++){const l=o*2*Math.PI/a-Math.PI/2,s=R.value+Math.cos(l)*A.value,n=O.value+Math.sin(l)*A.value;t.push({x:s,y:n,angle:l,index:o})}return t}),ra=e.computed(()=>{const t=[],a=$e.value;return Ot.value.forEach((o,l)=>{const s=A.value+20,n=l*2*Math.PI/a-Math.PI/2,c=R.value+Math.cos(n)*s,r=O.value+Math.sin(n)*s+5;let u="middle",d="middle";Math.abs(Math.cos(n))>.5&&(u=Math.cos(n)>0?"start":"end"),Math.abs(Math.sin(n))>.5&&(d=Math.sin(n)>0?"hanging":"auto"),t.push({x:c,y:r,text:f.categories[l]||`Axis ${l+1}`,anchor:u,baseline:d})}),t}),ia=e.ref(new Set),ca=(t,a,o)=>{const l=`current-${o}`,s=ia.value.has(l);return!s&&B.value===null?a.fillOpacity||Be.value:a.isHighlighted||s?(a.fillOpacity||Be.value)+.15:a.isDimmed?(a.fillOpacity||Be.value)*.3:a.fillOpacity||Be.value},ua=e.computed(()=>{if(!Je.value)return[];const t=[],a=$e.value;return ye.value.forEach((o,l)=>{const s=[],n=[],c=B.value===l,r=B.value!==null&&B.value!==l,u=I.value.has(l);for(let d=0;d<a;d++){const h=o.data[d]||0,M=h/na.value*A.value,x=d*2*Math.PI/a-Math.PI/2,E=R.value+Math.cos(x)*M,C=O.value+Math.sin(x)*M;s.push(`${E},${C}`),n.push({x:E,y:C,value:h,label:f.categories[d]||`Axis ${d+1}`,seriesName:o.name})}t.push({points:s.join(" "),dataPoints:n,color:j(l),fillOpacity:Be.value,seriesName:o.name,value:`${o.name}: ${o.data.join(", ")}`,isHighlighted:c,isDimmed:r,isHidden:u})}),t}),Te=e.computed(()=>{const t=y.value;return t.logos.map((a,o)=>{const l=f.series[a.seriesIndex];if(!l||!l.data||l.data.length===0||I.value.has(a.seriesIndex))return null;let s,n;if(W.value){const r=l.data.map((u,d)=>({x:K(d),y:oe(u)}));if(t.animations.enabled&&!ze.value&&t.animations.type==="draw"&&t.chart.type==="line"&&(N.value.isAnimating||!N.value.hasAnimated))if(N.value.isAnimating){const u=N.value.currentFrame/N.value.totalFrames,d=Zt(t.animations.easing,Math.min(u,1)),h=Ca(r,d);s=h.x+(a.offsetX||0),n=h.y+(a.offsetY||0)}else s=r[0].x+(a.offsetX||0),n=r[0].y+(a.offsetY||0);else{const u=l.data.length-1,d=l.data[u];s=K(u)+(a.offsetX||0),n=oe(d)+(a.offsetY||0)}}else if(Ve.value||Je.value){const r=Math.PI*2/t.logos.length*o;s=R.value+Math.cos(r)*(A.value+30)+(a.offsetX||0),n=O.value+Math.sin(r)*(A.value+30)+(a.offsetY||0)}return{...a,x:s,y:n,seriesIndex:a.seriesIndex}}).filter(Boolean)}),da=t=>{const a=document.querySelector(`.dss-logo-fallback-${t}`),o=document.querySelector(`.dss-logo-image-${t}`);a&&(a.style.opacity="0"),o&&(o.style.opacity="1")},ma=t=>{console.warn(`Logo ${t} failed to load, keeping fallback circle`);const a=document.querySelector(`.dss-logo-image-${t}`);a&&(a.style.display="none")},ha=t=>{I.value.has(t)?I.value.delete(t):I.value.add(t)},va=e.computed(()=>{if(!Z.value.show&&!(de.value&&$.value.show&&!m.value.isZooming))return{display:"none"};let t,a;if(de.value&&$.value.show&&!m.value.isZooming){t=$.value.x+15,a=i.value.top;const o=Y.value?200:150;t+o>Q.value&&(t=$.value.x-o-15),t<0&&(t=10),a<10&&(a=10)}else t=Z.value.x,a=Z.value.y;return{left:t+"px",top:a+"px"}}),ce=(t,a)=>{if(_e.value)return;const l=a.target.closest(".dss-custom-chart-container").getBoundingClientRect();let s=a.clientX-l.left+10,n=a.clientY-l.top-10;const c=200,r=120,u=Q.value,d=ne.value;s+c>u&&(s=a.clientX-l.left-c-10),n+r>d&&(n=a.clientY-l.top-r-10),s<0&&(s=10),n<0&&(n=10);let h;typeof t.categoryIndex=="number"?h=t.categoryIndex:typeof t.dataIndex=="number"?h=t.dataIndex:t.label&&f.categories.includes(t.label)&&(h=f.categories.indexOf(t.label)),Z.value={show:!0,x:s,y:n,title:t.seriesName||t.label||"",value:t.value?.toString()||"",categoryIndex:h}},ot=e.ref(!1),Ye=e.ref(!1),ue=()=>{Z.value.show=!1,$.value.show=!1,ot.value||(B.value=null)},_e=e.ref(!1),De=(t,a)=>{_e.value=!0,Z.value.show=!1,$.value.show=!1;const l=a.target.closest(".dss-custom-chart-container").getBoundingClientRect();let s=a.clientX-l.left+15,n=a.clientY-l.top-10;const c=250;s+c>Q.value&&(s=a.clientX-l.left-c-15),s<0&&(s=10),n<0&&(n=10),qe.value={show:!0,x:s,y:n,content:t.texts,count:t.totalCount}},Le=()=>{_e.value=!1,qe.value.show=!1},N=e.ref({isAnimating:!1,currentFrame:0,totalFrames:0,animationId:null,hasAnimated:!1}),Zt=(t,a)=>{switch(t){case"linear":return a;case"ease":return a<.5?2*a*a:-1+(4-2*a)*a;case"ease-in":return a*a;case"ease-out":return a*(2-a);case"ease-in-out":return a<.5?2*a*a:-1+(4-2*a)*a;default:return a}},ze=e.computed(()=>lo.value?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1),Pt=()=>{if(!Ee.value||ze.value){N.value.hasAnimated=!0;return}N.value.isAnimating=!0,N.value.currentFrame=0,N.value.totalFrames=Math.ceil(ht.value/16.67);const t=()=>{const a=N.value.currentFrame/N.value.totalFrames,o=Zt(gt.value,Math.min(a,1));ga(o),a<1?(N.value.currentFrame++,N.value.animationId=requestAnimationFrame(t)):pa()};N.value.animationId=requestAnimationFrame(t)},ga=t=>{const a=document.querySelector(".dss-custom-chart-container");a&&a.style.setProperty("--dss-animation-progress",t)},pa=()=>{N.value.isAnimating=!1,N.value.hasAnimated=!0,N.value.animationId&&(cancelAnimationFrame(N.value.animationId),N.value.animationId=null)},fa=e.computed(()=>{if(!Ee.value||ze.value||N.value.hasAnimated)return{};const t={};return t["--dss-animation-duration"]=`${ht.value}ms`,t["--dss-animation-easing"]=ya(gt.value),t["--dss-stagger-delay"]=`${he.value}ms`,t}),ya=t=>({linear:"linear",ease:"ease","ease-in":"ease-in","ease-out":"ease-out","ease-in-out":"ease-in-out"})[t]||"ease-out",ka=()=>{if(!Ee.value||ze.value)return"";const t=["dss-chart-animated"];return N.value.hasAnimated||t.push(`dss-animate-${mt.value}`),N.value.hasAnimated||(Ve.value?t.push("dss-animate-fill"):t.push(`dss-animate-${mt.value}`)),N.value.isAnimating&&t.push("dss-is-animating"),t.join(" ")};e.watch(()=>f.series,(t,a)=>{ao.value&&a&&N.value.hasAnimated&&(N.value.hasAnimated=!1,e.nextTick(()=>{setTimeout(()=>Pt(),vt.value)}))},{deep:!0}),e.watch(()=>m.value.isZooming,(t,a)=>{a&&!t&&setTimeout(()=>{bt()},50)}),e.watch(()=>[m.value.scale,m.value.offsetX],()=>{!m.value.isZooming&&!m.value.isDragging&&bt()},{flush:"post"}),e.watch([eo,to],([t,a])=>{m.value.minScale=t,m.value.maxScale=a,(m.value.scale<t||m.value.scale>a)&&Qe()},{immediate:!0}),e.watch(()=>f.locale,t=>{t&&t!==lt.value&&(lt.value=t)},{immediate:!0}),e.onMounted(()=>{B.value=null,Ho(),Ee.value&&!ze.value?setTimeout(()=>Pt(),vt.value):N.value.hasAnimated=!0,document.addEventListener("mousemove",jt),document.addEventListener("mouseup",Ut),document.addEventListener("click",Vt)}),e.onUnmounted(()=>{N.value.animationId&&cancelAnimationFrame(N.value.animationId),m.value.zoomTimeout&&clearTimeout(m.value.zoomTimeout),document.removeEventListener("mousemove",jt),document.removeEventListener("mouseup",Ut),document.removeEventListener("click",Vt)});const jt=t=>{if(m.value.isDragging&&m.value.scale>1&&W.value){$.value.show=!1;const a=t.clientX-m.value.lastMouseX,{minX:o,maxX:l}=X.value,s=l-o||1,c=a*.8;m.value.offsetX+=c;const r=s/m.value.scale,u=s-r,d=0,h=-u/s*i.value.width,v=d;m.value.offsetX=Math.max(h,Math.min(v,m.value.offsetX)),m.value.lastMouseX=t.clientX,m.value.lastMouseY=t.clientY}},Ut=()=>{m.value.isDragging&&(m.value.isDragging=!1,setTimeout(()=>{!m.value.isDragging&&m.value.isZooming},100))},Ca=(t,a)=>{if(!t||t.length===0)return{x:0,y:0};if(t.length===1||a<=0)return t[0];if(a>=1)return t[t.length-1];let o=0;const l=[];for(let c=1;c<t.length;c++){const r=t[c].x-t[c-1].x,u=t[c].y-t[c-1].y,d=Math.sqrt(r*r+u*u);l.push(d),o+=d}const s=o*a;let n=0;for(let c=0;c<l.length;c++){const r=n+l[c];if(s<=r){const u=(s-n)/l[c],d=t[c],h=t[c+1];return{x:d.x+(h.x-d.x)*u,y:d.y+(h.y-d.y)*u}}n=r}return t[t.length-1]};return(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(["dss-custom-chart-container",ka()]),style:e.normalizeStyle({width:Q.value+"px",height:ne.value+20+"px",...fa.value,cursor:Po()}),"data-chart-type":F.value,onWheel:$t,onMousedown:Oo,onMousemove:Mo,onMouseup:Zo,onMouseleave:wo,onDblclick:Qe,onContextmenu:bo,onClick:ie,onWheelCapture:$t},[e.createElementVNode("div",ba,[e.createElementVNode("div",Ea,[q.value?(e.openBlock(),e.createElementBlock("div",Ba,e.toDisplayString(q.value),1)):e.createCommentVNode("",!0),G.value?(e.openBlock(),e.createElementBlock("div",Sa,e.toDisplayString(G.value),1)):e.createCommentVNode("",!0)]),Ne.value?(e.openBlock(),e.createElementBlock("div",Va,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.series,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`legend-${l}`,class:e.normalizeClass(["dss-legend-item",{"dss-legend-hidden":I.value.has(l),"dss-legend-hovered":B.value===l,"dss-legend-dimmed":B.value!==null&&B.value!==l}]),onClick:s=>ha(l),onMouseenter:s=>Co(l),onMouseleave:xo,style:e.normalizeStyle({animationDelay:`${l*100}ms`})},[e.createElementVNode("div",{class:"dss-legend-color",style:e.normalizeStyle({backgroundColor:j(l)})},null,4),e.createElementVNode("span",_a,e.toDisplayString(o.name),1)],46,$a))),128))])):e.createCommentVNode("",!0)]),(e.openBlock(),e.createElementBlock("svg",{width:Q.value,height:ne.value,class:"dss-chart-svg","data-smooth":re.value,"data-animated":Ee.value},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",La,[e.createElementVNode("rect",{x:i.value.left,y:i.value.top,width:i.value.width,height:i.value.height*4},null,8,za)])]),W.value||Y.value?(e.openBlock(),e.createElementBlock("g",Na,[ct.value?(e.openBlock(),e.createElementBlock("g",Ha,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ko.value,(o,l)=>(e.openBlock(),e.createElementBlock("line",{key:`h-grid-${l}`,x1:i.value.left,x2:i.value.right,y1:o.y,y2:o.y,stroke:"#e0e0e0","stroke-width":"1","stroke-dasharray":"4,2",style:e.normalizeStyle({animationDelay:`${l*50}ms`})},null,12,Aa))),128))])):e.createCommentVNode("",!0),e.createElementVNode("g",Fa,[e.createElementVNode("line",{x1:i.value.left,x2:i.value.right,y1:i.value.bottom,y2:i.value.bottom,stroke:"#ccc","stroke-width":"1"},null,8,Xa),e.createElementVNode("line",{x1:i.value.left,x2:i.value.left,y1:i.value.top,y2:i.value.bottom,stroke:"#ccc","stroke-width":"1"},null,8,Ia)]),e.createElementVNode("g",Ta,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Qo.value,(o,l)=>(e.openBlock(),e.createElementBlock("text",{key:`x-${l}`,x:o.x,y:o.y,"text-anchor":"middle","font-size":"12",fill:"#666",style:e.normalizeStyle({animationDelay:`${l*100}ms`})},e.toDisplayString(o.text),13,Ya))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ht.value,(o,l)=>(e.openBlock(),e.createElementBlock("text",{key:`y-${l}`,x:o.x,y:o.y,"text-anchor":"end","font-size":"12",fill:"#666","dominant-baseline":"middle",style:e.normalizeStyle({animationDelay:`${l*80}ms`})},e.toDisplayString(o.text),13,Ra))),128)),Oe.value?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.value.left+i.value.width/2,y:i.value.bottom+45,"text-anchor":"middle","font-size":"14","font-weight":"bold",fill:"#333"},e.toDisplayString(Oe.value),9,Oa)):e.createCommentVNode("",!0),it.value?(e.openBlock(),e.createElementBlock("text",{key:1,x:15,y:i.value.top+12+i.value.height/2,"text-anchor":"middle","font-size":"14","font-weight":"bold",fill:"#333",transform:`rotate(-90, 15, ${i.value.top+i.value.height/2})`},e.toDisplayString(it.value),9,Za)):e.createCommentVNode("",!0)]),xt.value.length>0?(e.openBlock(),e.createElementBlock("g",Pa,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(xt.value,o=>(e.openBlock(),e.createElementBlock("g",{key:`flag-group-${o.categoryIndex}`},[e.createElementVNode("g",ja,[o.hasManual?(e.openBlock(),e.createElementBlock("line",{key:0,x1:o.x,x2:o.x,y1:i.value.bottom,y2:i.value.top,stroke:"#047395","stroke-width":"2","stroke-dasharray":"8",opacity:"0.9",class:"dss-flag-line",onMouseover:l=>De(o,l),onMouseleave:Le},null,40,Ua)):e.createCommentVNode("",!0),o.hasAuto&&!o.hasManual?(e.openBlock(),e.createElementBlock("line",{key:1,x1:o.x,x2:o.x,y1:i.value.bottom,y2:i.value.top,stroke:"#0dbf89","stroke-width":"2","stroke-dasharray":"8",opacity:"0.9",class:"dss-flag-line",onMouseover:l=>De(o,l),onMouseleave:Le},null,40,Wa)):e.createCommentVNode("",!0),o.hasAuto&&o.hasManual?(e.openBlock(),e.createElementBlock("line",{key:2,x1:o.x,x2:o.x,y1:i.value.bottom,y2:i.value.top,stroke:"#047395","stroke-width":"2","stroke-dasharray":"8",opacity:"0.9",class:"dss-flag-line",onMouseover:l=>De(o,l),onMouseleave:Le},null,40,qa)):e.createCommentVNode("",!0)]),o.hasManual&&o.hasAuto?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:o.x+8,cy:Math.max(15,i.value.top-10),r:"14",fill:"#0dbf89",stroke:"white","stroke-width":"2",class:"flag-count-circle",onMouseover:l=>De(o,l),onMouseleave:Le},null,40,Ka)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:o.x,cy:Math.max(15,i.value.top-10),r:"14",fill:o.hasManual&&o.hasAuto||o.hasManual?"#047395":"#0dbf89",stroke:"white","stroke-width":"2",class:"dss-flag-count-indicator",onMouseover:l=>De(o,l),onMouseleave:Le},null,40,Qa),e.createElementVNode("text",{x:o.x,y:Math.max(15,i.value.top-5),"text-anchor":"middle","font-size":"12","font-weight":"bold",fill:"white",class:"dss-flag-count-text","pointer-events":"none"},e.toDisplayString(o.totalCount),9,Ga)]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("g",Ja,[Me.value?(e.openBlock(),e.createElementBlock("g",el,[e.createElementVNode("g",tl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Xt.value,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`mixed-bar-${l}`},[o.isSmooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.barPath,fill:o.color,stroke:"white","stroke-width":"1",class:e.normalizeClass({"dss-bar-highlighted":o.isHighlighted,"dss-bar-dimmed":o.isDimmed,"dss-bar-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${o.animationDelay}ms`}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,ol)):(e.openBlock(),e.createElementBlock("rect",{key:1,x:o.x,y:o.y,width:o.width,height:o.height,fill:o.color,stroke:"white","stroke-width":"1",class:e.normalizeClass({"dss-bar-highlighted":o.isHighlighted,"dss-bar-dimmed":o.isDimmed,"dss-bar-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${o.animationDelay}ms`}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,al))],64))),128))]),e.createElementVNode("g",ll,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ft.value,(o,l)=>(e.openBlock(),e.createElementBlock("path",{key:`mixed-line-${l}`,d:o.path,stroke:o.color,"stroke-width":o.isHighlighted?me.value+2:me.value,fill:"none","stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"dss-series-highlighted":o.isHighlighted,"dss-series-dimmed":o.isDimmed,"dss-series-hidden":o.isHidden}),style:e.normalizeStyle({"--dss-path-length":o.pathLength,animationDelay:`${o.animationDelay}ms`})},null,14,sl))),128)),ee.value>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.mixedLinePoints,(o,l)=>(e.openBlock(),e.createElementBlock("circle",{key:`mixed-point-${l}`,cx:o.x,cy:o.y,r:o.isHighlighted?ee.value+2:ee.value,fill:o.color,stroke:"white","stroke-width":"2",class:e.normalizeClass({"dss-point-highlighted":o.isHighlighted,"dss-point-dimmed":o.isDimmed,"dss-point-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${o.animationDelay}ms`}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,nl))),128)):e.createCommentVNode("",!0)])])):F.value==="line"?(e.openBlock(),e.createElementBlock("g",rl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ft.value,(o,l)=>(e.openBlock(),e.createElementBlock("path",{key:`line-${l}`,d:o.path,stroke:o.color,"stroke-width":o.isHighlighted?me.value+2:me.value,fill:"none","stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"dss-series-highlighted":o.isHighlighted,"dss-series-dimmed":o.isDimmed,"dss-series-hidden":o.isHidden}),style:e.normalizeStyle({"--dss-path-length":o.pathLength,animationDelay:`${o.animationDelay}ms`})},null,14,il))),128)),ee.value>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Jo.value,(o,l)=>(e.openBlock(),e.createElementBlock("circle",{key:`point-${l}`,cx:o.x,cy:o.y,r:o.isHighlighted?ee.value+2:ee.value,fill:o.color,stroke:"white","stroke-width":"2",class:e.normalizeClass({"dss-point-highlighted":o.isHighlighted,"dss-point-dimmed":o.isDimmed,"dss-point-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${o.animationDelay}ms`}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,cl))),128)):e.createCommentVNode("",!0)])):F.value==="area"?(e.openBlock(),e.createElementBlock("g",ul,[e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(tt.value,(o,l)=>(e.openBlock(),e.createElementBlock("mask",{key:`mask-${l}`,id:`area-mask-${l}-${se.chartId}`},[e.createElementVNode("rect",{x:i.value.left-10,y:i.value.top-10,width:i.value.width+20,height:i.value.height+20,fill:"white",class:"dss-area-mask-rect",style:e.normalizeStyle({"--dss-mask-width":`${i.value.width+20}px`})},null,12,ml)],8,dl))),128))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(tt.value,(o,l)=>(e.openBlock(),e.createElementBlock("path",{key:`area-fill-${l}`,d:o.areaPath,fill:o.color,"fill-opacity":o.isHighlighted?ut.value+.2:ut.value,mask:`url(#area-mask-${l}-${se.chartId})`,class:e.normalizeClass({"dss-area-fill-smooth":!0,"dss-series-highlighted":o.isHighlighted,"dss-series-dimmed":o.isDimmed,"dss-series-hidden":o.isHidden})},null,10,hl))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(tt.value,(o,l)=>(e.openBlock(),e.createElementBlock("path",{key:`area-line-${l}`,d:o.linePath,stroke:o.color,"stroke-width":o.isHighlighted?me.value+1:me.value,fill:"none","stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass({"dss-area-line-animated":!0,"dss-series-highlighted":o.isHighlighted,"dss-series-dimmed":o.isDimmed,"dss-series-hidden":o.isHidden}),style:e.normalizeStyle({"--dss-path-length":o.pathLength,animationDelay:`${l*he.value}ms`})},null,14,vl))),128))])):F.value==="bar"?(e.openBlock(),e.createElementBlock("g",gl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Xt.value,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`bar-${l}`},[o.isSmooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.barPath,fill:o.color,stroke:"white","stroke-width":"1",class:e.normalizeClass({"dss-bar-highlighted":o.isHighlighted,"dss-bar-dimmed":o.isDimmed,"dss-bar-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${o.animationDelay}ms`}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,pl)):(e.openBlock(),e.createElementBlock("rect",{key:1,x:o.x,y:o.y,width:o.width,height:o.height,fill:o.color,stroke:"white","stroke-width":"1",class:e.normalizeClass({"dss-bar-highlighted":o.isHighlighted,"dss-bar-dimmed":o.isDimmed,"dss-bar-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${o.animationDelay}ms`}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,fl))],64))),128))])):e.createCommentVNode("",!0)]),de.value&&$.value.show&&!m.value.isZooming?(e.openBlock(),e.createElementBlock("g",yl,[e.createElementVNode("line",{x1:$.value.x,x2:$.value.x,y1:i.value.top,y2:i.value.bottom,stroke:Jt.value,"stroke-width":"1","stroke-dasharray":"4,4",opacity:"0.8"},null,8,kl),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value.data,(o,l)=>(e.openBlock(),e.createElementBlock("circle",{key:`dss-crosshair-point-${l}`,cx:$.value.x,cy:o.y,r:ee.value+2,fill:o.color,stroke:"white","stroke-width":"2",opacity:"0.9"},null,8,Cl))),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),Y.value?(e.openBlock(),e.createElementBlock("g",xl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ie.value,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`bubble-${l}`},[o?(e.openBlock(),e.createElementBlock("g",Ml,[e.createElementVNode("circle",{cx:o.x,cy:o.y,r:o.radius,fill:o.color,"fill-opacity":ta(o),stroke:o.color,"stroke-width":o.isHighlighted?3:1,"stroke-opacity":"0.8",class:e.normalizeClass(aa(o,l)),style:{cursor:"pointer",transition:"all 0.3s ease"},onMouseenter:s=>Yt(o,s),onMouseleave:s=>Rt(o),onClick:s=>Tt(o,s)},null,42,wl),o.imageUrl?(e.openBlock(),e.createElementBlock("image",{key:0,x:o.x-o.radius*.65,y:o.y-o.radius*.65,width:o.radius*1.3,height:o.radius*1.3,"xlink:href":o.imageUrl,class:e.normalizeClass(`dss-bubble-image-${l} ${o.isHighlighted?"dss-bubble-highlighted":""} ${o.isDimmed?"dss-bubble-dimmed":""} ${o.isHidden?"dss-bubble-hidden":""}`),"clip-path":`circle(${o.radius*.65}px at ${o.radius*.65}px ${o.radius*.65}px)`,style:e.normalizeStyle({cursor:"pointer",transition:"all 0.3s ease",opacity:oa(o)}),onLoad:s=>jo(l),onError:s=>Uo(l),onMouseenter:s=>Yt(o,s),onMouseleave:s=>Rt(o),onClick:s=>Tt(o,s)},null,46,bl)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64))),128))])):e.createCommentVNode("",!0),Ve.value?(e.openBlock(),e.createElementBlock("g",El,[F.value==="radial"?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:R.value,cy:O.value,r:A.value,fill:"none",stroke:"#e0e0e0","stroke-width":"1"},null,8,Bl)):e.createCommentVNode("",!0),e.createElementVNode("g",{class:"dss-radial-data","data-chart-type":F.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(It.value,(o,l)=>(e.openBlock(),e.createElementBlock("path",{key:`radial-${l}`,d:o.path,fill:o.color,"fill-opacity":o.isHighlighted?(o.opacity||.8)+.2:o.opacity||.8,stroke:o.color,"stroke-width":o.isHighlighted?2:1,class:e.normalizeClass({"dss-series-highlighted":o.isHighlighted,"dss-series-dimmed":o.isDimmed,"dss-series-hidden":o.isHidden}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,42,Vl))),128))],8,Sl),Ct.value?(e.openBlock(),e.createElementBlock("g",$l,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ea.value,(o,l)=>(e.openBlock(),e.createElementBlock("g",{key:`radial-label-${l}`,class:e.normalizeClass({"dss-label-highlighted":o.isHighlighted,"dss-label-dimmed":o.isDimmed})},[e.createElementVNode("line",{x1:o.pointerStartX,y1:o.pointerStartY,x2:o.pointerEndX,y2:o.pointerEndY,stroke:o.color,"stroke-width":"1.5",opacity:"0.8",style:e.normalizeStyle({animationDelay:`${l*100}ms`})},null,12,_l),e.createElementVNode("line",{x1:o.pointerEndX,y1:o.pointerEndY,x2:o.horizontalEndX,y2:o.horizontalEndY,stroke:o.color,"stroke-width":"1.5",opacity:"0.8",style:e.normalizeStyle({animationDelay:`${l*120}ms`})},null,12,Dl),e.createElementVNode("text",{x:o.textX,y:o.textY,"text-anchor":o.textAnchor,"font-size":ho.value,"dominant-baseline":"middle",style:e.normalizeStyle({animationDelay:`${l*150}ms`})},e.toDisplayString(o.text),13,Ll)],2))),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),Je.value?(e.openBlock(),e.createElementBlock("g",zl,[ct.value?(e.openBlock(),e.createElementBlock("g",Nl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pt.value,(o,l)=>(e.openBlock(),e.createElementBlock("circle",{key:`spider-grid-circle-${l}`,cx:R.value,cy:O.value,r:o,fill:"none",stroke:"#dedede","stroke-width":"1",style:e.normalizeStyle({animationDelay:`${l*150}ms`})},null,12,Hl))),128)),e.createElementVNode("g",Al,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pt.value,(o,l)=>(e.openBlock(),e.createElementBlock("g",{key:`spider-grid-label-group-${l}`},[e.createElementVNode("rect",{x:R.value-16,y:O.value-o-7,width:"32",height:"16",fill:"white",stroke:"none"},null,8,Fl),e.createElementVNode("text",{x:R.value,y:O.value-o+2,"text-anchor":"middle","dominant-baseline":"central",class:"dss-spider-grid-label",style:{fontSize:"10px",fill:"#999",fontWeight:"600"}},e.toDisplayString(Math.round(o/A.value*100))+"% ",9,Xl)]))),128))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ot.value,(o,l)=>(e.openBlock(),e.createElementBlock("line",{key:`spider-axis-${l}`,x1:R.value,x2:o.x,y1:O.value,y2:o.y,stroke:"#dedede","stroke-width":"1",style:e.normalizeStyle({animationDelay:`${l*100}ms`})},null,12,Il))),128))])):e.createCommentVNode("",!0),e.createElementVNode("g",Tl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ra.value,(o,l)=>(e.openBlock(),e.createElementBlock("text",{key:`spider-label-${l}`,x:o.x+Math.cos(l*2*Math.PI/$e.value-Math.PI/2)*16,y:o.y+Math.sin(l*2*Math.PI/$e.value-Math.PI/2)*16,"text-anchor":o.anchor,"dominant-baseline":o.baseline,"font-size":"14px",fill:"#666","font-weight":"500",style:e.normalizeStyle({animationDelay:`${l*120}ms`})},e.toDisplayString(o.text.charAt(0).toUpperCase()+o.text.slice(1)),13,Yl))),128))]),e.createElementVNode("g",Rl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ua.value,(o,l)=>(e.openBlock(),e.createElementBlock("g",{key:`spider-${l}`},[e.createElementVNode("polygon",{points:o.points,fill:o.color,"fill-opacity":ca("current",o,l),stroke:o.color,"stroke-width":o.isHighlighted?me.value+1:me.value,"stroke-linejoin":"round",class:e.normalizeClass({"dss-series-highlighted":o.isHighlighted,"dss-series-dimmed":o.isDimmed,"dss-series-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${l*he.value}ms`,transition:"all 0.2s ease"}),onMouseover:s=>ce(o,s),onMouseleave:ue},null,46,Ol),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dataPoints,(s,n)=>(e.openBlock(),e.createElementBlock("circle",{key:`spider-point-${l}-${n}`,cx:s.x,cy:s.y,r:o.isHighlighted?ee.value+1:ee.value>0?ee.value:0,fill:o.color,stroke:"white","stroke-width":"2",class:e.normalizeClass({"dss-point-highlighted":o.isHighlighted,"dss-point-dimmed":o.isDimmed,"dss-point-hidden":o.isHidden}),style:e.normalizeStyle({animationDelay:`${l*he.value+n*50}ms`,transition:"all 0.2s ease"}),onMouseover:c=>ce(s,c),onMouseleave:ue},null,46,Zl))),128))]))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("g",Pl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Te.value,(o,l)=>(e.openBlock(),e.createElementBlock("circle",{key:`logo-fallback-${l}`,cx:o.x,cy:o.y,r:o.width/2,fill:j(o.seriesIndex),stroke:"white","stroke-width":"2",class:e.normalizeClass(`logo-fallback-${l}`),style:e.normalizeStyle({animationDelay:`${l*200}ms`})},null,14,jl))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Te.value,(o,l)=>(e.openBlock(),e.createElementBlock("image",{key:`logo-${l}`,x:o.x-o.width/2,y:o.y-o.height/2,width:o.width,height:o.height,"xlink:href":o.url,onLoad:s=>da(l),onError:s=>ma(l),class:e.normalizeClass(`dss-logo-image-${l}`),"clip-path":`circle(${o.width/2}px at ${o.width/2}px ${o.height/2}px)`,style:e.normalizeStyle({animationDelay:`${l*200}ms`})},null,46,Ul))),128))])],8,Da)),Pe.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"dss-chart-watermark",style:e.normalizeStyle({position:"absolute",top:"0px",left:"0px",width:Q.value+"px",height:ne.value+"px",backgroundImage:`url('${kt.value}')`,backgroundRepeat:"no-repeat",...co.value,opacity:je.value,pointerEvents:"none",zIndex:10})},null,4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ro.value,(o,l)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:"marker-"+o.id,class:"dss-chart-marker",style:e.normalizeStyle({position:"absolute",left:o.x+"px",top:o.y+"px",width:ft.value+"px",height:ft.value+"px",transform:"translate(-50%, -50%)",cursor:"pointer",zIndex:500,backgroundColor:"#fff",borderRadius:"50%",border:"2px solid #ddd",pointerEvents:yt.value?"auto":"none"}),onClick:e.withModifiers(s=>Lo(o),["stop"]),onWheel:a[0]||(a[0]=e.withModifiers(()=>{},["prevent","stop"])),title:o.title+(o.description?": "+o.description:"")},[e.createElementVNode("img",{src:wt(o),class:"dss-marker-icon",alt:"Marker Icon",style:{width:"100%",height:"100%",objectFit:"contain",borderRadius:"50%",pointerEvents:"none"},onError:s=>No(s,o),draggable:"false"},null,40,ql)],44,Wl)),[[e.vShow,yt.value]])),128)),Z.value.show||de.value&&$.value.show&&!m.value.isZooming?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["dss-chart-tooltip",{"dss-crosshair-tooltip":de.value&&$.value.show&&!m.value.isZooming}]),style:e.normalizeStyle(va.value)},[!de.value||!$.value.show||m.value.isZooming?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Kl,[e.createElementVNode("div",Ql,e.toDisplayString(Z.value.title),1),e.createElementVNode("div",Gl,e.toDisplayString(Z.value.value),1)]),Z.value.categoryIndex!==void 0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[ve(Z.value.categoryIndex).flagGroups.length>0?(e.openBlock(),e.createElementBlock("div",Jl,[a[7]||(a[7]=e.createElementVNode("div",{class:"dss-tooltip-separator"},null,-1)),e.createElementVNode("div",es,e.toDisplayString(e.unref(D)("chart.tooltip.flags")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ve(Z.value.categoryIndex).flagGroups,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`tooltip-flag-group-${l}`},[e.createElementVNode("div",ts,[e.createElementVNode("div",{class:"dss-tooltip-item-indicator",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("span",null,e.toDisplayString(o.type),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.flags,(s,n)=>(e.openBlock(),e.createElementBlock("div",{key:`tooltip-flag-${l}-${n}`,class:"dss-tooltip-item dss-tooltip-item-no-indicator"},[e.createElementVNode("div",os,[e.createElementVNode("div",as,e.toDisplayString(s.text),1)])]))),128))]))),128))])):e.createCommentVNode("",!0),ve(Z.value.categoryIndex).markers.length>0?(e.openBlock(),e.createElementBlock("div",ls,[a[8]||(a[8]=e.createElementVNode("div",{class:"dss-tooltip-separator"},null,-1)),e.createElementVNode("div",ss,e.toDisplayString(e.unref(D)("chart.tooltip.markers")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ve(Z.value.categoryIndex).markers,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`tooltip-marker-${l}`,class:"dss-tooltip-item"},[e.createElementVNode("div",{class:"dss-tooltip-item-indicator",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("div",ns,[e.createElementVNode("div",rs,e.toDisplayString(o.title),1),o.description?(e.openBlock(),e.createElementBlock("div",is,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0)])]))),128))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",cs,[e.createElementVNode("div",us,e.toDisplayString(Y.value?sa():se.categories[$.value.categoryIndex]||`Category ${$.value.categoryIndex+1}`),1),Y.value?(e.openBlock(),e.createElementBlock("div",ds,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value.data,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`crosshair-tooltip-${l}`,class:"dss-bubble-tooltip-item"},e.toDisplayString(o.value),1))),128))])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList($.value.data,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`crosshair-tooltip-${l}`,class:"dss-tooltip-series"},[e.createElementVNode("div",{class:"dss-tooltip-series-indicator",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("span",ms,e.toDisplayString(o.seriesName)+":",1),e.createElementVNode("span",hs,e.toDisplayString(o.value),1)]))),128))]),ve($.value.categoryIndex).flagGroups.length>0?(e.openBlock(),e.createElementBlock("div",vs,[a[9]||(a[9]=e.createElementVNode("div",{class:"dss-tooltip-separator"},null,-1)),e.createElementVNode("div",gs,e.toDisplayString(e.unref(D)("chart.tooltip.flags")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ve($.value.categoryIndex).flagGroups,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`crosshair-flag-group-${l}`},[e.createElementVNode("div",ps,[e.createElementVNode("div",{class:"dss-tooltip-item-indicator",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("span",null,e.toDisplayString(o.type),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.flags,(s,n)=>(e.openBlock(),e.createElementBlock("div",{key:`crosshair-flag-${l}-${n}`,class:"dss-tooltip-item dss-tooltip-item-no-indicator"},[e.createElementVNode("div",fs,[e.createElementVNode("div",ys,e.toDisplayString(s.text),1)])]))),128))]))),128))])):e.createCommentVNode("",!0),ve($.value.categoryIndex).markers.length>0?(e.openBlock(),e.createElementBlock("div",ks,[a[10]||(a[10]=e.createElementVNode("div",{class:"dss-tooltip-separator"},null,-1)),e.createElementVNode("div",Cs,e.toDisplayString(e.unref(D)("chart.tooltip.markers")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ve($.value.categoryIndex).markers,(o,l)=>(e.openBlock(),e.createElementBlock("div",{key:`crosshair-dss-marker-${l}`,class:"dss-tooltip-item"},[e.createElementVNode("div",{class:"dss-tooltip-item-indicator",style:e.normalizeStyle({backgroundColor:o.color})},null,4),e.createElementVNode("div",xs,[e.createElementVNode("div",Ms,e.toDisplayString(o.title),1),o.description?(e.openBlock(),e.createElementBlock("div",ws,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0)])]))),128))])):e.createCommentVNode("",!0)],64))],6)):e.createCommentVNode("",!0),W.value&&Ce.value&&m.value.scale>1?(e.openBlock(),e.createElementBlock("div",{key:2,class:"dss-zoom-indicator",onClick:Qe},[a[11]||(a[11]=e.createElementVNode("span",{style:{display:"inline-block",transform:"scaleX(-1)","font-size":"14px"}},"⌕",-1)),e.createTextVNode(" "+e.toDisplayString(Math.round(m.value.scale*100))+"% "+e.toDisplayString(e.unref(D)("chart.zoom.doubleClickToReset")),1)])):e.createCommentVNode("",!0)],46,wa),P.value.show?(e.openBlock(),e.createElementBlock("div",{key:0,class:"dss-chart-context-menu",style:e.normalizeStyle({left:P.value.x+"px",top:P.value.y+"px"}),onClick:a[1]||(a[1]=e.withModifiers(()=>{},["stop"]))},[te.value.addMarker?(e.openBlock(),e.createElementBlock("div",{key:0,class:"dss-context-menu-item",onClick:Ro},e.toDisplayString(e.unref(D)("chart.contextMenu.addMarker")),1)):e.createCommentVNode("",!0),T.value.length>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:"dss-context-menu-item",onClick:zo},e.toDisplayString(e.unref(D)("chart.contextMenu.clearAllMarkers")),1)):e.createCommentVNode("",!0),te.value.addMarker&&(te.value.downloadSvg||te.value.downloadPng||te.value.downloadCsv||Ze.value.length>0)?(e.openBlock(),e.createElementBlock("div",bs)):e.createCommentVNode("",!0),te.value.downloadSvg?(e.openBlock(),e.createElementBlock("div",{key:3,class:"dss-context-menu-item",onClick:Xo},e.toDisplayString(e.unref(D)("chart.contextMenu.downloadSvg")),1)):e.createCommentVNode("",!0),te.value.downloadPng?(e.openBlock(),e.createElementBlock("div",{key:4,class:"dss-context-menu-item",onClick:Io},e.toDisplayString(e.unref(D)("chart.contextMenu.downloadPng")),1)):e.createCommentVNode("",!0),te.value.downloadCsv?(e.openBlock(),e.createElementBlock("div",{key:5,class:"dss-context-menu-item",onClick:To},e.toDisplayString(e.unref(D)("chart.contextMenu.downloadCsv")),1)):e.createCommentVNode("",!0),Ze.value.length>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:6},[te.value.downloadSvg||te.value.downloadPng||te.value.downloadCsv?(e.openBlock(),e.createElementBlock("div",Es)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ze.value,(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:"custom-"+l},[o.separator?(e.openBlock(),e.createElementBlock("div",Bs)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(Bo(o)),style:e.normalizeStyle(So(o)),onClick:s=>Yo(o)},[o.template?(e.openBlock(),e.createElementBlock("div",{key:0,innerHTML:Eo(o),class:"dss-custom-menu-content"},null,8,Vs)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.icon?(e.openBlock(),e.createElementBlock("span",$s,e.toDisplayString(o.icon),1)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.label),1)],64))],14,Ss)],64))),128))],64)):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),L.value.show?(e.openBlock(),e.createElementBlock("div",{key:1,class:"dss-marker-modal-overlay",onClick:xe},[e.createElementVNode("div",{class:"dss-marker-modal",onClick:a[6]||(a[6]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("div",_s,[e.createElementVNode("h3",null,e.toDisplayString(Se.value?e.unref(D)("chart.modalMarker.editMarker"):e.unref(D)("chart.contextMenu.addMarker")),1),e.createElementVNode("button",{class:"dss-modal-close-btn",onClick:xe},"×")]),e.createElementVNode("div",Ds,[e.createElementVNode("div",Ls,[e.createElementVNode("label",zs,[e.createTextVNode(e.toDisplayString(e.unref(D)("chart.modalMarker.title"))+" ",1),a[12]||(a[12]=e.createElementVNode("span",{style:{color:"hsl(345, 94%, 44%)"}},"*",-1))]),e.withDirectives(e.createElementVNode("input",{id:"dss-marker-title","onUpdate:modelValue":a[2]||(a[2]=o=>L.value.title=o),type:"text",placeholder:e.unref(D)("chart.modalMarker.placeholderTitle"),class:"dss-form-input",onKeyup:e.withKeys(Et,["enter"])},null,40,Ns),[[e.vModelText,L.value.title]])]),e.createElementVNode("div",Hs,[e.createElementVNode("label",As,e.toDisplayString(e.unref(D)("chart.modalMarker.description")),1),e.withDirectives(e.createElementVNode("textarea",{id:"dss-marker-description","onUpdate:modelValue":a[3]||(a[3]=o=>L.value.description=o),placeholder:e.unref(D)("chart.modalMarker.placeholderDescription"),class:"dss-form-textarea",rows:"3"},null,8,Fs),[[e.vModelText,L.value.description]])]),Mt.value.length>1?(e.openBlock(),e.createElementBlock("div",Xs,[e.createElementVNode("label",Is,e.toDisplayString(e.unref(D)("chart.modalMarker.iconType")),1),e.withDirectives(e.createElementVNode("select",{id:"dss-marker-type","onUpdate:modelValue":a[4]||(a[4]=o=>L.value.type=o),class:"form-select"},[e.createElementVNode("option",Ts,e.toDisplayString(e.unref(D)("chart.modalMarker.defaultIcon")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Mt.value.filter(o=>o!=="default"),o=>(e.openBlock(),e.createElementBlock("option",{key:o,value:o},e.toDisplayString(o.charAt(0).toUpperCase()+o.slice(1)),9,Ys))),128))],512),[[e.vModelSelect,L.value.type]])])):e.createCommentVNode("",!0),e.createElementVNode("div",Rs,[e.createElementVNode("label",null,e.toDisplayString(e.unref(D)("chart.modalMarker.iconPreview")),1),e.createElementVNode("div",Os,[e.createElementVNode("img",{src:wt({type:L.value.type}),alt:"Marker Icon Preview",class:"preview-icon",style:{width:"32px",height:"32px","border-radius":"50%",border:"2px solid #ddd"},onError:a[5]||(a[5]=o=>o.target.style.display="none")},null,40,Zs)])])]),e.createElementVNode("div",Ps,[e.createElementVNode("div",js,[Se.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:"dss-btn dss-btn-danger",onClick:_o},e.toDisplayString(e.unref(D)("chart.modalMarker.deleteMarker")),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Us,[e.createElementVNode("button",{class:"dss-btn dss-btn-secondary",onClick:xe},e.toDisplayString(e.unref(D)("chart.modalMarker.cancel")),1),e.createElementVNode("button",{class:"dss-btn dss-btn-primary",onClick:Et,disabled:!L.value.title.trim()},e.toDisplayString(Se.value?e.unref(D)("chart.modalMarker.save"):e.unref(D)("chart.contextMenu.addMarker")),9,Ws)])])])])):e.createCommentVNode("",!0)],64))}}),Qs={contextMenu:{addMarker:"Add Marker",clearAllMarkers:"Clear All Markers",downloadSvg:"Download SVG",downloadPng:"Download PNG",downloadCsv:"Download CSV"},modalMarker:{editMarker:"Edit Marker",title:"Title",description:"Description",iconType:"Icon Type",defaultIcon:"Default Logo",iconPreview:"Icon Preview",deleteMarker:"Delete Marker",cancel:"Cancel",save:"Save",placeholderTitle:"Enter marker title",placeholderDescription:"Enter marker description (optional)"},zoom:{doubleClickToReset:"(Double-click to reset)"},csv:{chartTitle:"Chart Title",chartSubtitle:"Chart Subtitle",generated:"Generated"},fallback:{item:"Item",axis:"Axis"},tooltip:{flags:"Flags",markers:"Markers",manualFlags:"Manual Flags",autoFlags:"Auto Flags"}},Gs={chart:Qs},Js={contextMenu:{addMarker:"Ajouter un marqueur",clearAllMarkers:"Effacer tous les marqueurs",downloadSvg:"Télécharger SVG",downloadPng:"Télécharger PNG",downloadCsv:"Télécharger CSV"},modalMarker:{editMarker:"Modifier le marqueur",title:"Titre",description:"Description",iconType:"Type d'icône",defaultIcon:"Logo par défaut",iconPreview:"Prévisualisation de l'icône",deleteMarker:"Suprimer le marqueur",cancel:"Annuler",save:"Sauvegarder",placeholderTitle:"Entrez le titre du marqueur",placeholderDescription:"Entrez la description du marqueur (optionnel)"},zoom:{doubleClickToReset:"(Double-cliquez pour réinitialiser)"},csv:{chartTitle:"Titre du graphique",chartSubtitle:"Sous-titre du graphique",generated:"Généré"},fallback:{item:"Objet",axis:"Axe"},tooltip:{flags:"Drapeaux",markers:"Marqueurs",manualFlags:"Drapeaux manuels",autoFlags:"Drapeaux automatiques"}},en={chart:Js},tn={contextMenu:{addMarker:"Markering toevoegen",clearAllMarkers:"Wis alle markers",downloadSvg:"SVG downloaden",downloadPng:"PNG downloaden",downloadCsv:"CSV downloaden"},modalMarker:{editMarker:"Markering bewerken",title:"Titel",description:"Beschrijving",iconType:"Icoon Type",defaultIcon:"Standaard Logo",iconPreview:"Icoon Voorbeeld",deleteMarker:"Markering verwijderen",cancel:"Annuleren",save:"Opslaan",placeholderTitle:"Voer marker titel in",placeholderDescription:"Voer marker beschrijving in (optioneel)"},zoom:{doubleClickToReset:"(Dubbelklik om te resetten)"},csv:{chartTitle:"Grafiek Titel",chartSubtitle:"Grafiek Ondertitel",generated:"Gegenereerd"},fallback:{item:"Item",axis:"As"},tooltip:{flags:"Vlaggen",markers:"Markeringen",manualFlags:"Handmatige Vlaggen",autoFlags:"Automatische Vlaggen"}},on={chart:tn},at={en:Gs,fr:en,nl:on};function an(se){Object.keys(at).forEach(D=>{se.global.mergeLocaleMessage(D,at[D])})}qt.createI18n({legacy:!1,locale:"en",messages:at});exports.DSSChart=Ks;exports.addDSSChartTranslations=an;