scb-wc 0.1.78 → 0.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -22
- package/all.js +0 -2
- package/index.js +88 -90
- package/mvc/components/all.js +0 -2
- package/mvc/components/scb-accordion/scb-accordion-item.js +3 -173
- package/mvc/components/scb-accordion/scb-accordion.js +4 -33
- package/mvc/components/scb-app-bar/scb-app-bar.js +2 -110
- package/mvc/components/scb-avatar/scb-avatar.js +2 -94
- package/mvc/components/scb-badge/scb-badge.js +2 -72
- package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +2 -12
- package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +4 -91
- package/mvc/components/scb-button/scb-button.js +47 -309
- package/mvc/components/scb-calendar/scb-calendar-event.js +2 -6
- package/mvc/components/scb-calendar/scb-calendar.js +6 -120
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +21 -350
- package/mvc/components/scb-card/scb-card.js +54 -819
- package/mvc/components/scb-checkbox/scb-checkbox-group.js +3 -31
- package/mvc/components/scb-checkbox/scb-checkbox.js +5 -127
- package/mvc/components/scb-chip/scb-chip.js +2 -76
- package/mvc/components/scb-collapse/scb-collapse.js +2 -44
- package/mvc/components/scb-cookies-consent/scb-cookies-consent.js +7 -73
- package/mvc/components/scb-dialog/scb-dialog.js +2 -213
- package/mvc/components/scb-divider/scb-divider.js +1 -69
- package/mvc/components/scb-drawer/scb-drawer.js +6 -102
- package/mvc/components/scb-drop-zone/scb-drop-zone.js +2 -410
- package/mvc/components/scb-dropdown/scb-dropdown.js +17 -222
- package/mvc/components/scb-fab/scb-fab.js +7 -95
- package/mvc/components/scb-fact-card/scb-fact-card-content.js +2 -69
- package/mvc/components/scb-fact-card/scb-fact-card.js +2 -214
- package/mvc/components/scb-footer/scb-footer-section.js +1 -3
- package/mvc/components/scb-footer/scb-footer.js +3 -172
- package/mvc/components/scb-gallery-grid/scb-gallery-grid.js +2 -112
- package/mvc/components/scb-grid/scb-grid-item.js +1 -32
- package/mvc/components/scb-grid/scb-grid.js +1 -99
- package/mvc/components/scb-grid/scb-stack.js +1 -33
- package/mvc/components/scb-header/scb-header-menu-item.js +1 -5
- package/mvc/components/scb-header/scb-header-tab.js +1 -5
- package/mvc/components/scb-header/scb-header.js +75 -888
- package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +43 -168
- package/mvc/components/scb-icon-button/scb-icon-button.js +59 -171
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +17 -218
- package/mvc/components/scb-link/scb-link.js +4 -55
- package/mvc/components/scb-list/scb-list-item.js +23 -126
- package/mvc/components/scb-list/scb-list.js +5 -26
- package/mvc/components/scb-menu/scb-menu-item.js +16 -190
- package/mvc/components/scb-menu/scb-menu-section.js +4 -36
- package/mvc/components/scb-menu/scb-menu.js +5 -69
- package/mvc/components/scb-menu/scb-sub-menu.js +2 -7
- package/mvc/components/scb-nav/scb-nav-item.js +1 -28
- package/mvc/components/scb-nav/scb-nav.js +5 -98
- package/mvc/components/scb-notification-card/scb-notification-card.js +7 -364
- package/mvc/components/scb-options-menu/scb-options-menu-item.js +3 -50
- package/mvc/components/scb-options-menu/scb-options-menu.js +2 -82
- package/mvc/components/scb-options-menu/scb-options-sub-menu.js +2 -31
- package/mvc/components/scb-overlay/scb-overlay.js +3 -43
- package/mvc/components/scb-pagination/scb-pagination.js +19 -221
- package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +2 -67
- package/mvc/components/scb-progress-stepper/scb-progress-step.js +4 -121
- package/mvc/components/scb-progress-stepper/scb-progress-stepper.js +2 -56
- package/mvc/components/scb-radio-button/scb-radio-button.js +5 -116
- package/mvc/components/scb-radio-button/scb-radio-group.js +2 -32
- package/mvc/components/scb-scrollspy/scb-scrollspy.js +2 -61
- package/mvc/components/scb-search/scb-search.js +5 -249
- package/mvc/components/scb-segmented-button/scb-segmented-button.js +1 -32
- package/mvc/components/scb-segmented-button/scb-segmented-item.js +2 -70
- package/mvc/components/scb-select/scb-select-option.js +2 -54
- package/mvc/components/scb-select/scb-select.js +4 -244
- package/mvc/components/scb-skeleton/scb-skeleton.js +2 -35
- package/mvc/components/scb-slider/scb-slider.js +5 -9
- package/mvc/components/scb-snackbar/scb-snackbar.js +9 -84
- package/mvc/components/scb-status-pill/scb-status-pill.js +2 -43
- package/mvc/components/scb-stepper/scb-step.js +8 -186
- package/mvc/components/scb-stepper/scb-stepper.js +2 -130
- package/mvc/components/scb-switch/scb-switch.js +4 -49
- package/mvc/components/scb-table/scb-table.js +2 -48
- package/mvc/components/scb-table-advanced/scb-table-advanced.js +2 -53
- package/mvc/components/scb-tabs/scb-primary-tab.js +2 -7
- package/mvc/components/scb-tabs/scb-secondary-tab.js +2 -7
- package/mvc/components/scb-tabs/scb-tabs.js +4 -31
- package/mvc/components/scb-textfield/scb-textfield.js +142 -388
- package/mvc/components/scb-toc/scb-toc-item.js +3 -251
- package/mvc/components/scb-toc/scb-toc.js +2 -16
- package/mvc/components/scb-tooltip/scb-tooltip.js +8 -155
- package/mvc/components/scb-viz/scb-viz.js +4 -619
- package/mvc/scb-wc-core.css +1 -1
- package/mvc/scb-wc-selfhost.css +1 -1
- package/mvc/scb-wc.css +1 -1
- package/mvc/vendor/assist-chip.js +3 -3
- package/mvc/vendor/chip-set.js +1 -1
- package/mvc/vendor/chip.js +2 -2
- package/mvc/vendor/elevation.js +2 -2
- package/mvc/vendor/filter-chip.js +1 -1
- package/mvc/vendor/focusable.js +1 -1
- package/mvc/vendor/form-associated.js +1 -1
- package/mvc/vendor/icon.js +2 -2
- package/mvc/vendor/lazy-focus-ring.js +2 -0
- package/mvc/vendor/lazy-ripple.js +2 -0
- package/mvc/vendor/md-focus-ring.js +2 -2
- package/mvc/vendor/ripple.js +2 -2
- package/mvc/vendor/scb-card-variants.internal.js +284 -0
- package/mvc/vendor/scb-chevron.js +10 -0
- package/mvc/vendor/scb-header-drawer.internal.js +71 -0
- package/mvc/vendor/shared-styles.js +1 -1
- package/mvc/vendor/tab-styles.js +3 -3
- package/mvc/vendor/validator.js +1 -1
- package/mvc/vendor/vendor.js +3 -4
- package/package.json +2 -2
- package/scb-accordion/scb-accordion-item.js +33 -32
- package/scb-app-bar/scb-app-bar.js +1 -1
- package/scb-button/scb-button.js +287 -259
- package/scb-calendar/scb-calendar.js +49 -49
- package/scb-calendar-card/scb-calendar-card.js +105 -59
- package/scb-card/scb-card-variants.internal.js +230 -0
- package/scb-card/scb-card.js +387 -528
- package/scb-checkbox/scb-checkbox.js +0 -1
- package/scb-chevron/scb-chevron.js +0 -1
- package/scb-components/scb-button/scb-button.d.ts +14 -2
- package/scb-components/scb-calendar/scb-calendar.d.ts +1 -0
- package/scb-components/scb-calendar-card/scb-calendar-card.d.ts +16 -4
- package/scb-components/scb-card/scb-card-variants.internal.d.ts +15 -0
- package/scb-components/scb-card/scb-card.d.ts +26 -9
- package/scb-components/scb-cookies-consent/scb-cookies-consent.d.ts +3 -0
- package/scb-components/scb-header/scb-header-drawer.internal.d.ts +31 -0
- package/scb-components/scb-header/scb-header.d.ts +1 -2
- package/scb-components/scb-horizontal-scroller/scb-horizontal-scroller.d.ts +6 -1
- package/scb-components/scb-icon-button/scb-icon-button.d.ts +28 -29
- package/scb-components/scb-keyfigure-card/scb-keyfigure-card.d.ts +13 -4
- package/scb-components/scb-list/scb-list-item.d.ts +20 -2
- package/scb-components/scb-list/scb-list.d.ts +1 -2
- package/scb-components/scb-nav/scb-nav.d.ts +2 -0
- package/scb-components/scb-segmented-button/scb-segmented-item.d.ts +1 -0
- package/scb-components/scb-select/scb-select-option.d.ts +2 -0
- package/scb-components/scb-toc/scb-toc-item.d.ts +1 -0
- package/scb-components/scb-tooltip/scb-tooltip.d.ts +2 -0
- package/scb-cookies-consent/scb-cookies-consent.js +43 -31
- package/scb-datepicker/scb-datepicker.js +27 -25
- package/scb-dialog/scb-dialog.js +1 -1
- package/scb-dropdown/scb-dropdown.js +29 -28
- package/scb-header/scb-header-drawer.internal.js +78 -0
- package/scb-header/scb-header.js +41 -89
- package/scb-horizontal-scroller/scb-horizontal-scroller.js +181 -88
- package/scb-icon-button/scb-icon-button.js +293 -205
- package/scb-keyfigure-card/scb-keyfigure-card.js +96 -43
- package/scb-list/scb-list-item.js +117 -52
- package/scb-list/scb-list.js +9 -9
- package/scb-nav/scb-nav.js +26 -23
- package/scb-notification-card/scb-notification-card.js +0 -2
- package/scb-options-menu/scb-options-menu-item.js +20 -20
- package/scb-pagination/scb-pagination.js +0 -1
- package/scb-progress-stepper/scb-progress-step.js +19 -17
- package/scb-radio-button/scb-radio-button.js +0 -1
- package/scb-search/scb-search.js +29 -28
- package/scb-segmented-button/scb-segmented-item.js +22 -19
- package/scb-select/scb-select-option.js +20 -14
- package/scb-select/scb-select.js +26 -26
- package/scb-stepper/scb-step.js +34 -31
- package/scb-textfield/scb-textfield.js +39 -39
- package/scb-toc/scb-toc-item.js +26 -26
- package/scb-tooltip/scb-tooltip.js +5 -4
- package/scb-viz/scb-viz.js +1 -1
- package/scb-wc-core.css +1 -1
- package/scb-wc-public-entry/index.d.ts +97 -0
- package/scb-wc-selfhost.css +1 -1
- package/scb-wc.bundle.js +1873 -1476
- package/scb-wc.css +1 -1
- package/scb-wc.d.ts +194 -198
- package/mvc/components/scb-chevron/scb-chevron.js +0 -41
- package/mvc/components/scb-datepicker/scb-datepicker.js +0 -296
- package/mvc/vendor/element-internals.js +0 -1
- package/mvc/vendor/filled-icon-button.js +0 -2
- package/mvc/vendor/filled-tonal-icon-button.js +0 -2
- package/mvc/vendor/form-label-activation.js +0 -1
- package/mvc/vendor/form-submitter.js +0 -1
- package/mvc/vendor/icon-button.js +0 -2
- package/mvc/vendor/list.js +0 -8
- package/mvc/vendor/outlined-icon-button.js +0 -2
- package/mvc/vendor/shared-styles2.js +0 -30
- package/scb-components/index.d.ts +0 -99
- package/scb-components/scb-chevron/scb-chevron.d.ts +0 -11
- package/scb-components/scb-datepicker/scb-datepicker.d.ts +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as F,h as U,m as J,n as Y,p as b,t as X,v as u,y as Z}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as m}from"../../vendor/decorate.js";import{n as Q,t as h}from"../../vendor/assertClassBrand.js";import"../scb-accordion/scb-accordion.js";import"../scb-icon-button/scb-icon-button.js";import"../scb-divider/scb-divider.js";import"../scb-chip/scb-chip.js";import"../scb-horizontal-scroller/scb-horizontal-scroller.js";import"../scb-segmented-button/scb-segmented-item.js";import"../scb-segmented-button/scb-segmented-button.js";import"../scb-table/scb-table.js";import{buildScbVizExportFileName as tt,createScbVizCsvBlob as et,createScbVizRasterBlobFromElement as it,createScbVizRasterDataUrlFromElement as st,downloadScbVizBlob as O,getScbVizCurrentFullscreenElement as at,isScbVizFullscreenSupported as rt,openScbVizPrintFrame as nt,runWithScbVizForcedPrintLightMode as ot,toggleScbVizFullscreen as lt}from"./scb-viz-actions-runtime.js";import{buildScbVizPrintDocumentHtml as ct,buildScbVizPrintableFooterHtml as ht,buildScbVizPrintableTableHtml as dt}from"./scb-viz-print-runtime.js";import{getScbVizSeriesDifferentiationPatternKinds as pt}from"./scb-viz-series-differentiation-registry.js";import{clearScbVizSeriesDifferentiationColorClass as ut,clearScbVizSeriesDifferentiationMetadata as ft,ensureScbVizStyledModeSeriesPattern as gt,getScbVizGroupedSeriesDifferentiationVariant as mt,getScbVizHighchartsColorClassName as bt,getScbVizHighchartsSvgRoot as vt,getScbVizLegendSeriesDifferentiationTargets as _t,getScbVizSeriesDifferentiationVariantByIndex as yt,isScbVizGroupedSeriesDifferentiationChart as St,isScbVizHighchartsStyledMode as zt,setScbVizSeriesDifferentiationColorClass as wt,setScbVizSeriesDifferentiationMetadata as Ct,shouldShowScbVizSeriesDifferentiationAction as xt,usesScbVizGroupedPointDifferentiation as Dt}from"./scb-viz-series-differentiation-runtime.js";import{buildScbVizResolvedTableView as Mt,createScbVizCsvRows as $t,inferScbVizTableAlignments as Lt,normalizeScbVizRenderableCell as Tt,readScbVizTableDataFromSlot as Vt}from"./scb-viz-table-runtime.js";(function(){try{var n=typeof globalThis<"u"?globalThis:window;if(!n.__scb_ce_guard_installed__){n.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(e,i,s){try{customElements.get(e)||t(e,i,s)}catch(r){var a=String(r||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw r}}}}catch{}})();var c,A,j=`<svg version="1.1" id="Lager_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
2
2
|
viewBox="0 0 727.3 87.3" style="enable-background:new 0 0 727.3 87.3;" xml:space="preserve" fill="currentColor">
|
|
3
3
|
<style type="text/css">
|
|
4
4
|
.st0{clip-path:url(#SVGID_00000118375311472882578510000008414848687067442345_);}
|
|
@@ -250,7 +250,7 @@ import{_ as U,b as J,g as Y,h as b,m as F,o as X,r as Z,y as u}from"../../vendor
|
|
|
250
250
|
</div>
|
|
251
251
|
`:e}_renderTable(){const t=this._getResolvedTableData();if(!t||!t.rows||t.rows.length===0)return null;const{alignments:e,headers:i,rows:s,rowHeaderRows:a}=this._getResolvedTableView(t),r=[this.title,this.subtitle].map(l=>typeof l=="string"?l.trim():"").filter(Boolean).join(". "),o=l=>l.html?l.html:this._escapeHtml(l.text);return u`
|
|
252
252
|
<scb-table part="table" column-width-mode="header">
|
|
253
|
-
${
|
|
253
|
+
${Y(`<table class="scb-viz-table">${r?`<caption class="visually-hidden">${this._escapeHtml(r)}</caption>`:""}${i.length>0?`<thead><tr>${i.map((l,d)=>`<th scope="col" class="${e[d]==="right"?"align-right":"align-left"}">${o(l)}</th>`).join("")}</tr></thead>`:""}<tbody>${s.map((l,d)=>{const f=a[d]===!0;return`<tr>${l.map((v,S)=>{const _=e[S]==="right"?"align-right":"align-left",y=o(v);return S===0&&f?`<th scope="row" class="${_}">${y}</th>`:`<td class="${_}">${y}</td>`}).join("")}</tr>`}).join("")}</tbody></table>`)}
|
|
254
254
|
</scb-table>
|
|
255
255
|
`}_renderRichText(t){const e=typeof t=="string"?t.replace(/\r\n?/g,`
|
|
256
256
|
`):"",i=e.split(/\n{2,}/).filter(s=>s!=="");return i.length?u`${i.map(s=>u`<p class="body-text-paragraph">${s.split(`
|
|
@@ -286,7 +286,7 @@ import{_ as U,b as J,g as Y,h as b,m as F,o as X,r as Z,y as u}from"../../vendor
|
|
|
286
286
|
aria-label="${this.officialStatisticsAlt}"
|
|
287
287
|
>
|
|
288
288
|
<span class="sos-logotype-small" aria-hidden="true">
|
|
289
|
-
${
|
|
289
|
+
${X(j)}
|
|
290
290
|
</span>
|
|
291
291
|
</a>
|
|
292
292
|
`:""}
|
|
@@ -408,619 +408,4 @@ import{_ as U,b as J,g as Y,h as b,m as F,o as X,r as Z,y as u}from"../../vendor
|
|
|
408
408
|
></slot>
|
|
409
409
|
<slot></slot>
|
|
410
410
|
</div>
|
|
411
|
-
`}}}_syncChipClass(){const t=this.variant==="Standard";this.classList.toggle("chip-diagram",t&&this.selectedChip==="Diagram"),this.classList.toggle("chip-table",t&&this.selectedChip==="Table")}_dispatchSelectedChipChanged(){const t={selectedChip:this.selectedChip};this.dispatchEvent(new CustomEvent("selected-chip-changed",{detail:t,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("selectedchipchanged",{detail:t,bubbles:!0,composed:!0}))}_onSegmentedChange(t){const e=t.detail?.value;this.selectedChip===e?this.selectedChip=null:this.selectedChip=e}_toggleActionsMenu(t){t.stopPropagation(),this._actionsMenuOpen=!this._actionsMenuOpen,this._actionsMenuOpen&&requestAnimationFrame(()=>{this._focusFirstMenuItem()})}_closeActionsMenu(){this._actionsMenuOpen=!1}_focusMenuButton(){this.shadowRoot?.querySelector(".actions-menu scb-icon-button")?.focus()}_focusFirstMenuItem(){this.shadowRoot?.querySelector(".actions-menu-item")?.focus()}_getExportSurfaceTarget(){return this.shadowRoot?.querySelector(".viz-container")??this}_getCurrentPrintableView(){return this.variant==="Table"?"table":this.variant==="Image"?"image":this.selectedChip==="Table"?"table":"diagram"}},A.styles=J`
|
|
412
|
-
:host {
|
|
413
|
-
display: block;
|
|
414
|
-
box-sizing: border-box;
|
|
415
|
-
--_scb-viz-font-family: var(--brand-font, Inter, 'Segoe UI', Arial, sans-serif);
|
|
416
|
-
--_scb-viz-body-font-size: var(--md-sys-typescale-body-large-size, 1rem);
|
|
417
|
-
--_scb-viz-body-font-weight: var(--weight-regular, 400);
|
|
418
|
-
--_scb-viz-body-line-height: var(--md-sys-typescale-body-large-line-height, 1.5);
|
|
419
|
-
--_scb-viz-body-letter-spacing: var(--md-sys-typescale-body-large-tracking, normal);
|
|
420
|
-
--_scb-viz-title-size: var(--md-sys-typescale-title-large-size, 1.75rem);
|
|
421
|
-
--_scb-viz-title-weight: var(--weight-semibold, 600);
|
|
422
|
-
--_scb-viz-title-line-height: var(--md-sys-typescale-title-large-line-height, 1.25);
|
|
423
|
-
--_scb-viz-title-letter-spacing: var(--md-sys-typescale-title-large-tracking, normal);
|
|
424
|
-
--_scb-viz-subtitle-size: var(--md-sys-typescale-body-large-size, 1rem);
|
|
425
|
-
--_scb-viz-subtitle-weight: var(--weight-regular, 400);
|
|
426
|
-
--_scb-viz-subtitle-line-height: var(--md-sys-typescale-body-large-line-height, 1.5);
|
|
427
|
-
--_scb-viz-subtitle-letter-spacing: var(--md-sys-typescale-body-large-tracking, normal);
|
|
428
|
-
--_scb-viz-section-title-size: var(--md-sys-typescale-title-medium-size, 1rem);
|
|
429
|
-
--_scb-viz-section-title-weight: var(--weight-semibold, 600);
|
|
430
|
-
--_scb-viz-section-title-line-height: var(--md-sys-typescale-title-medium-line-height, 1.5);
|
|
431
|
-
--_scb-viz-section-title-letter-spacing: var(--md-sys-typescale-title-medium-tracking, normal);
|
|
432
|
-
--_scb-viz-text-color: var(--md-sys-color-on-surface, #1f1f1f);
|
|
433
|
-
font-family: var(--_scb-viz-font-family);
|
|
434
|
-
font-size: var(--_scb-viz-body-font-size);
|
|
435
|
-
font-weight: var(--_scb-viz-body-font-weight);
|
|
436
|
-
line-height: var(--_scb-viz-body-line-height);
|
|
437
|
-
letter-spacing: var(--_scb-viz-body-letter-spacing);
|
|
438
|
-
font-style: normal;
|
|
439
|
-
text-align: start;
|
|
440
|
-
color: var(--_scb-viz-text-color);
|
|
441
|
-
background: var(--scb-viz-surface-color, var(--md-sys-color-surface, #fff));
|
|
442
|
-
padding: var(--scb-viz-padding, var(--spacing-7, 24px));
|
|
443
|
-
max-width: var(--scb-viz-container-max-width, 100%);
|
|
444
|
-
border-radius: var(--scb-viz-border-radius, var(--spacing-04, 16px));
|
|
445
|
-
border: 1px solid var(--scb-viz-outline-color, var(--md-sys-color-outline-variant, #c5c7d0));
|
|
446
|
-
/* Spacing styrs av attributen via CSS-variabler. */
|
|
447
|
-
margin-block-start: var(--scb-viz-spacing-block-start, 0);
|
|
448
|
-
margin-block-end: var(--scb-viz-spacing-block-end, 0);
|
|
449
|
-
margin-inline-start: var(--scb-viz-spacing-inline-start, 0);
|
|
450
|
-
margin-inline-end: var(--scb-viz-spacing-inline-end, 0);
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
:host *,
|
|
454
|
-
:host *::before,
|
|
455
|
-
:host *::after {
|
|
456
|
-
box-sizing: border-box;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
scb-segmented-button {
|
|
460
|
-
--brand-font: var(--_scb-viz-font-family);
|
|
461
|
-
--weight-regular: var(--_scb-viz-body-font-weight);
|
|
462
|
-
--weight-semibold: var(--_scb-viz-section-title-weight);
|
|
463
|
-
--scb-segmented-button-height: var(--icon-size-small, 32px);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
scb-icon-button {
|
|
467
|
-
--brand-font: var(--_scb-viz-font-family);
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
scb-accordion,
|
|
471
|
-
scb-accordion-item {
|
|
472
|
-
--brand-font: var(--_scb-viz-font-family);
|
|
473
|
-
--weight-regular: var(--_scb-viz-body-font-weight);
|
|
474
|
-
--weight-semibold: var(--_scb-viz-section-title-weight);
|
|
475
|
-
--scb-accordion-title-font-size: var(--_scb-viz-section-title-size);
|
|
476
|
-
--scb-accordion-title-line-height: var(--_scb-viz-section-title-line-height);
|
|
477
|
-
--scb-accordion-title-letter-spacing: var(--_scb-viz-section-title-letter-spacing);
|
|
478
|
-
--scb-accordion-supporting-font-size: var(--_scb-viz-body-font-size);
|
|
479
|
-
--scb-accordion-supporting-line-height: var(--_scb-viz-body-line-height);
|
|
480
|
-
--scb-accordion-supporting-letter-spacing: var(--_scb-viz-body-letter-spacing);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.label {
|
|
484
|
-
font-family: var(--_scb-viz-font-family);
|
|
485
|
-
font-size: var(--_scb-viz-title-size);
|
|
486
|
-
font-weight: var(--_scb-viz-title-weight);
|
|
487
|
-
line-height: var(--_scb-viz-title-line-height);
|
|
488
|
-
letter-spacing: var(--_scb-viz-title-letter-spacing);
|
|
489
|
-
text-align: start;
|
|
490
|
-
margin: 0;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.sub-label {
|
|
494
|
-
font-family: var(--_scb-viz-font-family);
|
|
495
|
-
font-size: var(--_scb-viz-subtitle-size);
|
|
496
|
-
font-weight: var(--_scb-viz-subtitle-weight);
|
|
497
|
-
line-height: var(--_scb-viz-subtitle-line-height);
|
|
498
|
-
letter-spacing: var(--_scb-viz-subtitle-letter-spacing);
|
|
499
|
-
text-align: start;
|
|
500
|
-
margin: 0;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.secondary-label {
|
|
504
|
-
font-family: var(--_scb-viz-font-family);
|
|
505
|
-
font-size: var(--_scb-viz-section-title-size);
|
|
506
|
-
font-weight: var(--_scb-viz-section-title-weight);
|
|
507
|
-
line-height: var(--_scb-viz-section-title-line-height);
|
|
508
|
-
letter-spacing: var(--_scb-viz-section-title-letter-spacing);
|
|
509
|
-
text-align: start;
|
|
510
|
-
margin: 0;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.body-text {
|
|
514
|
-
font-family: var(--_scb-viz-font-family);
|
|
515
|
-
font-size: var(--_scb-viz-body-font-size);
|
|
516
|
-
font-weight: var(--_scb-viz-body-font-weight);
|
|
517
|
-
line-height: var(--_scb-viz-body-line-height);
|
|
518
|
-
letter-spacing: var(--_scb-viz-body-letter-spacing);
|
|
519
|
-
font-style: normal;
|
|
520
|
-
text-align: start;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
.body-text-rich {
|
|
524
|
-
display: flex;
|
|
525
|
-
flex-direction: column;
|
|
526
|
-
gap: var(--spacing-4, 16px);
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
.body-text-paragraph {
|
|
530
|
-
margin: 0;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.visually-hidden,
|
|
534
|
-
.highcharts-visually-hidden {
|
|
535
|
-
position: absolute !important;
|
|
536
|
-
width: 1px !important;
|
|
537
|
-
height: 1px !important;
|
|
538
|
-
padding: 0 !important;
|
|
539
|
-
margin: -1px !important;
|
|
540
|
-
overflow: hidden !important;
|
|
541
|
-
white-space: nowrap !important;
|
|
542
|
-
clip: rect(0, 0, 0, 0) !important;
|
|
543
|
-
clip-path: inset(50%) !important;
|
|
544
|
-
border: 0 !important;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.section {
|
|
548
|
-
display: flex;
|
|
549
|
-
flex-direction: column;
|
|
550
|
-
gap: var(--spacing-2, 8px);
|
|
551
|
-
color: var(--_scb-viz-text-color);
|
|
552
|
-
font-family: var(--_scb-viz-font-family);
|
|
553
|
-
font-style: normal;
|
|
554
|
-
text-align: start;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
.more-about-stats-content {
|
|
558
|
-
display: flex;
|
|
559
|
-
flex-direction: column;
|
|
560
|
-
gap: var(--spacing-7, 24px);
|
|
561
|
-
max-width: 600px;
|
|
562
|
-
color: var(--_scb-viz-text-color);
|
|
563
|
-
font-family: var(--_scb-viz-font-family);
|
|
564
|
-
font-style: normal;
|
|
565
|
-
text-align: start;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.sos-logotype-link {
|
|
569
|
-
display: inline-flex;
|
|
570
|
-
border: 0;
|
|
571
|
-
color: var(--_scb-viz-text-color);
|
|
572
|
-
line-height: 0;
|
|
573
|
-
text-decoration: none;
|
|
574
|
-
width: fit-content;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.sos-logotype-link:focus-visible {
|
|
578
|
-
outline: var(--stroke-focus-ring, 2px) solid var(--md-focus-ring-color, currentColor);
|
|
579
|
-
outline-offset: var(--spacing-1, 4px);
|
|
580
|
-
border-radius: var(--radius-xs, 4px);
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
.sos-logotype-small {
|
|
584
|
-
height: 26px;
|
|
585
|
-
width: auto;
|
|
586
|
-
display: block;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
.sos-logotype-small svg {
|
|
590
|
-
height: 100%;
|
|
591
|
-
width: auto;
|
|
592
|
-
display: block;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
@media only screen and (min-width: 768px) {
|
|
596
|
-
.sos-logotype-small {
|
|
597
|
-
height: 24px;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
.header {
|
|
602
|
-
margin-bottom: var(--spacing-7, 24px);
|
|
603
|
-
max-width: 600px;
|
|
604
|
-
color: var(--_scb-viz-text-color);
|
|
605
|
-
font-family: var(--_scb-viz-font-family);
|
|
606
|
-
font-style: normal;
|
|
607
|
-
text-align: start;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
.header-row {
|
|
611
|
-
display: flex;
|
|
612
|
-
align-items: flex-start;
|
|
613
|
-
justify-content: space-between;
|
|
614
|
-
gap: var(--spacing-4, 16px);
|
|
615
|
-
margin-bottom: var(--spacing-7, 24px);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
.header-row .header {
|
|
619
|
-
flex: 1 1 auto;
|
|
620
|
-
margin-bottom: 0;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.header-row .actions-menu {
|
|
624
|
-
margin-block-start: 0;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
.actions-row {
|
|
628
|
-
display: flex;
|
|
629
|
-
align-items: flex-start;
|
|
630
|
-
justify-content: space-between;
|
|
631
|
-
gap: var(--spacing-4, 16px);
|
|
632
|
-
margin-bottom: var(--spacing-9, 40px);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.flipp-wrapper {
|
|
636
|
-
flex: 1 1 auto;
|
|
637
|
-
max-width: 234px;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
.actions-menu {
|
|
641
|
-
position: relative;
|
|
642
|
-
flex: 0 0 auto;
|
|
643
|
-
display: inline-flex;
|
|
644
|
-
align-items: flex-start;
|
|
645
|
-
justify-content: flex-end;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
.actions-menu-panel {
|
|
649
|
-
position: absolute;
|
|
650
|
-
inset-block-start: calc(100% + var(--spacing-2, 8px));
|
|
651
|
-
inset-inline-end: 0;
|
|
652
|
-
min-width: 180px;
|
|
653
|
-
padding: var(--spacing-2, 8px);
|
|
654
|
-
border: 1px solid var(--scb-viz-outline-color, var(--md-sys-color-outline-variant, #c5c7d0));
|
|
655
|
-
border-radius: var(--radius-m, 12px);
|
|
656
|
-
background: var(--scb-viz-surface-color, var(--md-sys-color-surface, #fff));
|
|
657
|
-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
658
|
-
display: none;
|
|
659
|
-
z-index: 10;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
.actions-menu-panel--open {
|
|
663
|
-
display: block;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.actions-menu-list {
|
|
667
|
-
list-style: none;
|
|
668
|
-
margin: 0;
|
|
669
|
-
padding: 0;
|
|
670
|
-
display: flex;
|
|
671
|
-
flex-direction: column;
|
|
672
|
-
gap: var(--spacing-1, 4px);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
.actions-menu-item {
|
|
676
|
-
appearance: none;
|
|
677
|
-
border: 0;
|
|
678
|
-
border-radius: var(--radius-s, 8px);
|
|
679
|
-
background: transparent;
|
|
680
|
-
color: var(--_scb-viz-text-color);
|
|
681
|
-
width: 100%;
|
|
682
|
-
display: flex;
|
|
683
|
-
align-items: center;
|
|
684
|
-
gap: var(--scb-viz-actions-menu-item-gap, var(--spacing-2, 8px));
|
|
685
|
-
text-align: start;
|
|
686
|
-
font-family: var(--_scb-viz-font-family);
|
|
687
|
-
font-size: var(--_scb-viz-body-font-size);
|
|
688
|
-
font-weight: var(--_scb-viz-body-font-weight);
|
|
689
|
-
line-height: var(--_scb-viz-body-line-height);
|
|
690
|
-
letter-spacing: var(--_scb-viz-body-letter-spacing);
|
|
691
|
-
padding-block: var(--spacing-2, 8px);
|
|
692
|
-
padding-inline: var(--spacing-3, 12px);
|
|
693
|
-
cursor: pointer;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
.actions-menu-item-icon {
|
|
697
|
-
display: inline-flex;
|
|
698
|
-
align-items: center;
|
|
699
|
-
justify-content: center;
|
|
700
|
-
flex: 0 0 auto;
|
|
701
|
-
font-family: 'Material Symbols Outlined';
|
|
702
|
-
font-size: var(--scb-viz-actions-menu-item-icon-size, var(--icon-size-small, 20px));
|
|
703
|
-
line-height: 1;
|
|
704
|
-
font-style: normal;
|
|
705
|
-
font-weight: 400;
|
|
706
|
-
letter-spacing: normal;
|
|
707
|
-
text-transform: none;
|
|
708
|
-
white-space: nowrap;
|
|
709
|
-
direction: ltr;
|
|
710
|
-
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
|
|
711
|
-
-webkit-font-smoothing: antialiased;
|
|
712
|
-
text-rendering: optimizeLegibility;
|
|
713
|
-
-moz-osx-font-smoothing: grayscale;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.actions-menu-item-label {
|
|
717
|
-
flex: 1 1 auto;
|
|
718
|
-
min-width: 0;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
.actions-menu-item:hover {
|
|
722
|
-
background: var(--md-sys-color-surface-container, #f5f5f5);
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
.actions-menu-item:focus-visible {
|
|
726
|
-
outline: var(--stroke-focus-ring, 2px) solid var(--md-focus-ring-color, currentColor);
|
|
727
|
-
outline-offset: 0;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
.actions-menu-item:disabled {
|
|
731
|
-
background: transparent;
|
|
732
|
-
color: var(--md-sys-color-on-surface-variant, rgba(0, 0, 0, 0.56));
|
|
733
|
-
cursor: default;
|
|
734
|
-
opacity: 0.64;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
.actions-menu-item:disabled:hover {
|
|
738
|
-
background: transparent;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.content,
|
|
742
|
-
.description,
|
|
743
|
-
.footer {
|
|
744
|
-
color: var(--_scb-viz-text-color);
|
|
745
|
-
font-family: var(--_scb-viz-font-family);
|
|
746
|
-
font-style: normal;
|
|
747
|
-
text-align: start;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
.description {
|
|
751
|
-
margin-bottom: var(--spacing-8, 32px);
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.footer {
|
|
755
|
-
margin-top: var(--spacing-7, 24px);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
.footer-statistics-print {
|
|
759
|
-
display: none;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.print-more-about-stats {
|
|
763
|
-
max-width: 600px;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
.print-more-about-stats .more-about-stats-content {
|
|
767
|
-
gap: var(--spacing-5, 16px);
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
.print-more-about-stats-heading {
|
|
771
|
-
margin-bottom: var(--spacing-5, 16px);
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
.description.section {
|
|
775
|
-
max-width: 600px;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
.diagram-scroller {
|
|
779
|
-
display: none;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
.image-content {
|
|
783
|
-
display: none;
|
|
784
|
-
width: 100%;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.diagram-content {
|
|
788
|
-
width: 100%;
|
|
789
|
-
max-width: var(--scb-viz-content-max-width, none);
|
|
790
|
-
min-width: var(--scb-viz-content-max-width, 0);
|
|
791
|
-
min-height: var(--scb-viz-diagram-min-height, 600px);
|
|
792
|
-
height: var(--scb-viz-diagram-height, auto);
|
|
793
|
-
overflow: var(--scb-viz-diagram-overflow, visible);
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
::slotted([slot='diagram']) {
|
|
797
|
-
display: block;
|
|
798
|
-
width: 100%;
|
|
799
|
-
max-width: 100%;
|
|
800
|
-
min-width: 0;
|
|
801
|
-
min-height: var(--scb-viz-diagram-min-height, 600px);
|
|
802
|
-
height: var(--scb-viz-diagram-height, auto);
|
|
803
|
-
overflow: var(--scb-viz-diagram-overflow, visible);
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
.standard-content-shell {
|
|
807
|
-
display: block;
|
|
808
|
-
width: 100%;
|
|
809
|
-
min-width: 0;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
.standard-content-shell--stable {
|
|
813
|
-
min-height: var(--scb-viz-standard-content-height, var(--scb-viz-diagram-min-height, 600px));
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
.standard-content-panel {
|
|
817
|
-
display: none;
|
|
818
|
-
width: 100%;
|
|
819
|
-
min-width: 0;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
.standard-content-panel--active {
|
|
823
|
-
display: flex;
|
|
824
|
-
flex-direction: column;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
.standard-diagram-scroller {
|
|
828
|
-
display: flex;
|
|
829
|
-
width: 100%;
|
|
830
|
-
min-width: 0;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.table-panel-scroll {
|
|
834
|
-
width: 100%;
|
|
835
|
-
min-width: 0;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
.standard-content-shell--stable .standard-content-panel--table.standard-content-panel--active {
|
|
839
|
-
height: var(--scb-viz-standard-content-height, var(--scb-viz-diagram-min-height, 600px));
|
|
840
|
-
min-height: 0;
|
|
841
|
-
overflow: hidden;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
.standard-content-shell--stable .standard-content-panel--table.standard-content-panel--active .table-panel-scroll {
|
|
845
|
-
flex: 1 1 auto;
|
|
846
|
-
min-height: 0;
|
|
847
|
-
overflow: auto;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
:host([variant='Image']) .image-content {
|
|
851
|
-
display: block;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
:host([variant='Image']) img {
|
|
855
|
-
height: auto;
|
|
856
|
-
max-width: 100%;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
:host([variant='Image']) .diagram-scroller {
|
|
860
|
-
display: none;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
:host([variant='Standard'].chip-diagram) .diagram-scroller {
|
|
864
|
-
display: flex;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
.table-source {
|
|
868
|
-
display: none;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
:host([data-scb-viz-fullscreen]) {
|
|
872
|
-
width: 100%;
|
|
873
|
-
height: 100%;
|
|
874
|
-
max-width: none;
|
|
875
|
-
margin: 0;
|
|
876
|
-
border: 0;
|
|
877
|
-
border-radius: 0;
|
|
878
|
-
overflow: auto;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
:host([data-scb-viz-fullscreen]) .viz-container {
|
|
882
|
-
min-height: 100%;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
:host([data-scb-viz-force-light]),
|
|
886
|
-
:host([data-scb-viz-print-preview]) {
|
|
887
|
-
color-scheme: light;
|
|
888
|
-
--_scb-viz-text-color: #1f1f1f;
|
|
889
|
-
--scb-viz-surface-color: #fff;
|
|
890
|
-
--scb-viz-outline-color: #c5c7d0;
|
|
891
|
-
--md-sys-color-surface: #fff;
|
|
892
|
-
--md-sys-color-surface-container: #f5f5f5;
|
|
893
|
-
--md-sys-color-surface-container-highest: #e7e8ec;
|
|
894
|
-
--md-sys-color-on-surface: #1f1f1f;
|
|
895
|
-
--md-sys-color-on-surface-variant: rgba(0, 0, 0, 0.72);
|
|
896
|
-
--md-sys-color-outline-variant: #c5c7d0;
|
|
897
|
-
--md-focus-ring-color: #1f1f1f;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
:host([data-scb-viz-print-preview]) {
|
|
901
|
-
background: transparent;
|
|
902
|
-
border: 0;
|
|
903
|
-
border-radius: 0;
|
|
904
|
-
box-shadow: none;
|
|
905
|
-
max-width: none;
|
|
906
|
-
padding: 0;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
:host([data-scb-viz-print-preview]) .actions-row {
|
|
910
|
-
display: none !important;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
:host([data-scb-viz-print-preview]) .actions-menu-panel {
|
|
914
|
-
display: none !important;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
:host([data-scb-viz-print-preview]) .standard-content-shell--stable,
|
|
918
|
-
:host([data-scb-viz-print-preview]) .standard-content-shell--stable .standard-content-panel--active,
|
|
919
|
-
:host([data-scb-viz-print-preview]) .standard-content-shell--stable .standard-diagram-scroller,
|
|
920
|
-
:host([data-scb-viz-print-preview]) .standard-content-shell--stable .table-panel-scroll,
|
|
921
|
-
:host([data-scb-viz-print-preview]) .standard-content-shell--stable .diagram-content,
|
|
922
|
-
:host([data-scb-viz-print-preview]) .standard-content-shell--stable ::slotted([slot='diagram']) {
|
|
923
|
-
height: auto !important;
|
|
924
|
-
min-height: 0 !important;
|
|
925
|
-
overflow: visible !important;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
:host([data-scb-viz-print-preview]) .table-panel-scroll {
|
|
929
|
-
overflow: visible !important;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
:host([data-scb-viz-print-preview]) scb-horizontal-scroller {
|
|
933
|
-
overflow: visible !important;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
:host([data-scb-viz-print-preview]) .description {
|
|
937
|
-
margin-bottom: var(--spacing-5, 16px);
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
:host([data-scb-viz-print-preview]) .footer {
|
|
941
|
-
margin-top: var(--spacing-5, 16px);
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
:host([data-scb-viz-print-preview]) .footer-statistics-screen {
|
|
945
|
-
display: none !important;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
:host([data-scb-viz-print-preview]) .footer-statistics-print {
|
|
949
|
-
display: block !important;
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
:host([data-scb-viz-print-preview]) .viz-container {
|
|
953
|
-
zoom: var(--scb-viz-print-scale, 1);
|
|
954
|
-
width: calc(100% / var(--scb-viz-print-scale, 1));
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
@media print {
|
|
958
|
-
:host {
|
|
959
|
-
color-scheme: light;
|
|
960
|
-
--_scb-viz-text-color: #1f1f1f;
|
|
961
|
-
--scb-viz-surface-color: #fff;
|
|
962
|
-
--scb-viz-outline-color: #c5c7d0;
|
|
963
|
-
--md-sys-color-surface: #fff;
|
|
964
|
-
--md-sys-color-surface-container: #f5f5f5;
|
|
965
|
-
--md-sys-color-surface-container-highest: #e7e8ec;
|
|
966
|
-
--md-sys-color-on-surface: #1f1f1f;
|
|
967
|
-
--md-sys-color-on-surface-variant: rgba(0, 0, 0, 0.72);
|
|
968
|
-
--md-sys-color-outline-variant: #c5c7d0;
|
|
969
|
-
--md-focus-ring-color: #1f1f1f;
|
|
970
|
-
background: transparent;
|
|
971
|
-
border: 0;
|
|
972
|
-
border-radius: 0;
|
|
973
|
-
box-shadow: none;
|
|
974
|
-
max-width: none;
|
|
975
|
-
padding: 0;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
.actions-row {
|
|
979
|
-
display: none !important;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
.actions-menu-panel {
|
|
983
|
-
display: none !important;
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
.standard-content-shell--stable,
|
|
987
|
-
.standard-content-shell--stable .standard-content-panel--active,
|
|
988
|
-
.standard-content-shell--stable .standard-diagram-scroller,
|
|
989
|
-
.standard-content-shell--stable .table-panel-scroll,
|
|
990
|
-
.standard-content-shell--stable .diagram-content,
|
|
991
|
-
.standard-content-shell--stable ::slotted([slot='diagram']) {
|
|
992
|
-
height: auto !important;
|
|
993
|
-
min-height: 0 !important;
|
|
994
|
-
overflow: visible !important;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
.table-panel-scroll {
|
|
998
|
-
overflow: visible !important;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
scb-horizontal-scroller {
|
|
1002
|
-
overflow: visible !important;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
.description {
|
|
1006
|
-
margin-bottom: var(--spacing-5, 16px);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
.footer {
|
|
1010
|
-
margin-top: var(--spacing-5, 16px);
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
.footer-statistics-screen {
|
|
1014
|
-
display: none !important;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
.footer-statistics-print {
|
|
1018
|
-
display: block !important;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
.viz-container {
|
|
1022
|
-
zoom: var(--scb-viz-print-scale, 1);
|
|
1023
|
-
width: calc(100% / var(--scb-viz-print-scale, 1));
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
`,A);function E(){if(h(c,this,G).call(this),typeof ResizeObserver>"u")return;const n=this.shadowRoot?.querySelector(".diagram-content");n&&(this._diagramResizeObserver=new ResizeObserver(()=>{h(c,this,x).call(this)}),this._diagramResizeObserver.observe(this),this._diagramResizeObserver.observe(n))}function G(){this._diagramResizeObserver?.disconnect(),this._diagramResizeObserver=void 0}function q(){this._diagramReflowFrame&&(cancelAnimationFrame(this._diagramReflowFrame),this._diagramReflowFrame=0)}function x(){this.variant!=="Standard"||this.selectedChip!=="Diagram"||(h(c,this,q).call(this),this._diagramReflowFrame=requestAnimationFrame(()=>{this._diagramReflowFrame=requestAnimationFrame(()=>{this._diagramReflowFrame=0,h(c,this,At).call(this)})}))}function H(n){const t=n?.getAttribute("data-highcharts-chart");if(!t)return;const e=Number.parseInt(t,10);return Number.isNaN(e)?void 0:e}function B(n){for(const t of n){const e=h(c,this,H).call(this,t);if(e!==void 0)return e;const i=t.querySelector("[data-highcharts-chart]"),s=h(c,this,H).call(this,i);if(s!==void 0)return s}}function At(){if(this.variant!=="Standard"||this.selectedChip!=="Diagram")return;const n=this.shadowRoot?.querySelector('slot[name="diagram"]');if(!n)return;const t=n.assignedElements({flatten:!0});if(t.length===0)return;const e=h(c,this,B).call(this,t);if(e===void 0)return;const i=window.Highcharts?.charts?.[e];i&&(i.setSize?.(null,null,!1),i.reflow?.(),this._seriesDifferentiationEnabled&&h(c,this,V).call(this))}function W(){this._fullscreenDiagramSizingFrame&&(cancelAnimationFrame(this._fullscreenDiagramSizingFrame),this._fullscreenDiagramSizingFrame=0)}function L(){h(c,this,W).call(this),this._fullscreenDiagramSizingFrame=requestAnimationFrame(()=>{this._fullscreenDiagramSizingFrame=requestAnimationFrame(()=>{this._fullscreenDiagramSizingFrame=0,h(c,this,kt).call(this)})})}function kt(){const n=this._getFullscreenDiagramHeight();this._fullscreenDiagramHeight!==n&&(this._fullscreenDiagramHeight=n,h(c,this,T).call(this),h(c,this,x).call(this))}function T(){const n=this.variant==="Standard"?this._getResolvedDiagramHeight():"",t=this.variant==="Standard"&&this._getResolvedToggleHeightMode()==="stable"?this._getResolvedStandardContentHeight():"";this.variant==="Standard"?this.style.setProperty("--scb-viz-diagram-min-height",n||"600px"):this.style.removeProperty("--scb-viz-diagram-min-height"),n?(this.style.setProperty("--scb-viz-diagram-height",n),this.style.setProperty("--scb-viz-diagram-overflow","hidden")):(this.style.removeProperty("--scb-viz-diagram-height"),this.style.removeProperty("--scb-viz-diagram-overflow")),t?this.style.setProperty("--scb-viz-standard-content-height",t):this.style.removeProperty("--scb-viz-standard-content-height")}function K(){this._chartConfigSyncFrame&&(cancelAnimationFrame(this._chartConfigSyncFrame),this._chartConfigSyncFrame=0)}function R(){h(c,this,K).call(this),this._chartConfigSyncFrame=requestAnimationFrame(()=>{this._chartConfigSyncFrame=requestAnimationFrame(()=>{this._chartConfigSyncFrame=0,h(c,this,Et).call(this)})})}function Et(){const n=this._getCurrentHighchartsChart();if(!n)return;let t=!1;typeof this.timeFormat<"u"&&(this._applyTimeFormatToLiveChart(n),t=!0),typeof this.valueFormat<"u"&&(this._applyValueFormatToLiveChart(n),t=!0),typeof this.yAxisSettings<"u"&&(this._applyYAxisSettingsToLiveChart(n),t=!0),t&&n.redraw(!1)}function Ht(n){this._isHighchartsStyledMode(n)&&this._applyStyledModeSeriesDifferentiation(n)}function Rt(n){this._isHighchartsStyledMode(n)&&this._restoreStyledModeSeriesDifferentiation(n)}function V(){const n=this._getCurrentHighchartsChart();if(n){if(this._seriesDifferentiationEnabled){h(c,this,Ht).call(this,n);return}h(c,this,Rt).call(this,n)}}async function P(n){const t=this._getExportableVisualElement();if(!t)return;const e=await it(t,this._getExportSurfaceTarget(),n);e&&O(e,this._buildExportFileName(n==="jpeg"?"jpg":"png"))}function Pt(n){return dt(this._getResolvedTableView(n),t=>this._escapeHtml(t))}function Nt(){return ht({comment:this.comment,commentLabel:this.commentLabel,description:this.description,descriptionLabel:this.descriptionLabel,escapeHtml:n=>this._escapeHtml(n),footnote:this.footnote,footnoteLabel:this.footnoteLabel,moreAboutStatsLabel:this.moreAboutStatsLabel,officialStatistics:this.officialStatistics,renderRichTextHtml:n=>this._renderRichTextHtml(n),sosLogotypeSvg:j,source:this.source,sourceLabel:this.sourceLabel})}function It(n){return ct({contentHtml:n,escapeHtml:t=>this._escapeHtml(t),footerHtml:h(c,this,Nt).call(this),lang:this.lang,subtitle:this.subtitle,title:this.title})}async function Ot(){await ot(this,async()=>{const n=this._getCurrentPrintableView();let t="";if(n==="table"){const e=this._getResolvedTableData();if(!e?.rows?.length)return;t=h(c,this,Pt).call(this,e)}else if(n==="image"){const e=this.shadowRoot?.querySelector(".image-content img"),i=e?.currentSrc||e?.src||this.imageHref;if(!i)return;t=`<img class="viz-image" src="${this._escapeHtml(i)}" alt="${this._escapeHtml(this._getImageAltText())}">`}else{const e=this._getExportableVisualElement();if(!e)return;const i=await st(e,this._getExportSurfaceTarget(),"png");if(!i)return;t=`<img class="viz-chart-image" src="${i}" alt="${this._escapeHtml(this._getImageAltText())}">`}await nt(h(c,this,It).call(this,t))})}function jt(){const n=this._getResolvedTableData();n?.rows?.length&&O(et($t(n,t=>this._normalizeRenderableCell(t)),this.lang),this._buildExportFileName("csv"))}function N(){const n=h(c,this,$).call(this,this.spacing),t=h(c,this,$).call(this,this.spacingTop)??n,e=h(c,this,$).call(this,this.spacingBottom)??n,i=h(c,this,$).call(this,this.spacingLeft),s=h(c,this,$).call(this,this.spacingRight);t?this.style.setProperty("--scb-viz-spacing-block-start",t):this.style.removeProperty("--scb-viz-spacing-block-start"),e?this.style.setProperty("--scb-viz-spacing-block-end",e):this.style.removeProperty("--scb-viz-spacing-block-end"),i?this.style.setProperty("--scb-viz-spacing-inline-start",i):this.style.removeProperty("--scb-viz-spacing-inline-start"),s?this.style.setProperty("--scb-viz-spacing-inline-end",s):this.style.removeProperty("--scb-viz-spacing-inline-end")}function $(n){if(!n)return;const t=String(n).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}function I(){const n=this.containerMaxWidth?.trim();n?this.style.setProperty("--scb-viz-container-max-width",n):this.style.removeProperty("--scb-viz-container-max-width")}m([b({type:String,reflect:!0})],g.prototype,"variant",void 0);m([b({type:String,reflect:!0,attribute:"selected-chip"})],g.prototype,"selectedChip",void 0);m([b({type:String,reflect:!0})],g.prototype,"title",void 0);m([b({type:String,reflect:!0})],g.prototype,"subtitle",void 0);m([b({type:String,reflect:!0})],g.prototype,"description",void 0);m([b({type:String,reflect:!0})],g.prototype,"comment",void 0);m([b({type:String,reflect:!0})],g.prototype,"source",void 0);m([b({type:String,reflect:!0})],g.prototype,"footnote",void 0);m([b({type:String,reflect:!0,attribute:"lang"})],g.prototype,"lang",void 0);m([b({type:String,reflect:!0,attribute:"image-href"})],g.prototype,"imageHref",void 0);m([b({type:Boolean,reflect:!0,attribute:"official-statistics"})],g.prototype,"officialStatistics",void 0);m([b({type:Boolean,reflect:!0,attribute:"disable-toggle"})],g.prototype,"disableToggle",void 0);m([b({type:String,attribute:"content-max-width"})],g.prototype,"contentMaxWidth",void 0);m([b({type:String,attribute:"container-max-width"})],g.prototype,"containerMaxWidth",void 0);m([b({type:String,attribute:"content-height"})],g.prototype,"contentHeight",void 0);m([b({type:String,reflect:!0,attribute:"toggle-height-mode"})],g.prototype,"toggleHeightMode",void 0);m([b({attribute:!1})],g.prototype,"tableData",void 0);m([b({attribute:!1})],g.prototype,"valueFormat",void 0);m([b({attribute:!1})],g.prototype,"timeFormat",void 0);m([b({attribute:!1})],g.prototype,"yAxisSettings",void 0);m([F()],g.prototype,"_slottedTableData",void 0);m([F()],g.prototype,"_actionsMenuOpen",void 0);m([F()],g.prototype,"_seriesDifferentiationEnabled",void 0);m([F()],g.prototype,"_isFullscreen",void 0);m([b({type:String,reflect:!0})],g.prototype,"spacing",void 0);m([b({type:String,attribute:"spacing-top",reflect:!0})],g.prototype,"spacingTop",void 0);m([b({type:String,attribute:"spacing-bottom",reflect:!0})],g.prototype,"spacingBottom",void 0);m([b({type:String,attribute:"spacing-left",reflect:!0})],g.prototype,"spacingLeft",void 0);m([b({type:String,attribute:"spacing-right",reflect:!0})],g.prototype,"spacingRight",void 0);g=m([Y("scb-viz")],g);
|
|
411
|
+
`}}}_syncChipClass(){const t=this.variant==="Standard";this.classList.toggle("chip-diagram",t&&this.selectedChip==="Diagram"),this.classList.toggle("chip-table",t&&this.selectedChip==="Table")}_dispatchSelectedChipChanged(){const t={selectedChip:this.selectedChip};this.dispatchEvent(new CustomEvent("selected-chip-changed",{detail:t,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("selectedchipchanged",{detail:t,bubbles:!0,composed:!0}))}_onSegmentedChange(t){const e=t.detail?.value;this.selectedChip===e?this.selectedChip=null:this.selectedChip=e}_toggleActionsMenu(t){t.stopPropagation(),this._actionsMenuOpen=!this._actionsMenuOpen,this._actionsMenuOpen&&requestAnimationFrame(()=>{this._focusFirstMenuItem()})}_closeActionsMenu(){this._actionsMenuOpen=!1}_focusMenuButton(){this.shadowRoot?.querySelector(".actions-menu scb-icon-button")?.focus()}_focusFirstMenuItem(){this.shadowRoot?.querySelector(".actions-menu-item")?.focus()}_getExportSurfaceTarget(){return this.shadowRoot?.querySelector(".viz-container")??this}_getCurrentPrintableView(){return this.variant==="Table"?"table":this.variant==="Image"?"image":this.selectedChip==="Table"?"table":"diagram"}},A.styles=Z`:host{display:block;--_scb-viz-font-family:var(--brand-font, Inter, 'Segoe UI', Arial, sans-serif);--_scb-viz-body-font-size:var(--md-sys-typescale-body-large-size, 1rem);--_scb-viz-body-font-weight:var(--weight-regular, 400);--_scb-viz-body-line-height:var(--md-sys-typescale-body-large-line-height, 1.5);--_scb-viz-body-letter-spacing:var(--md-sys-typescale-body-large-tracking, normal);--_scb-viz-title-size:var(--md-sys-typescale-title-large-size, 1.75rem);--_scb-viz-title-weight:var(--weight-semibold, 600);--_scb-viz-title-line-height:var(--md-sys-typescale-title-large-line-height, 1.25);--_scb-viz-title-letter-spacing:var(--md-sys-typescale-title-large-tracking, normal);--_scb-viz-subtitle-size:var(--md-sys-typescale-body-large-size, 1rem);--_scb-viz-subtitle-weight:var(--weight-regular, 400);--_scb-viz-subtitle-line-height:var(--md-sys-typescale-body-large-line-height, 1.5);--_scb-viz-subtitle-letter-spacing:var(--md-sys-typescale-body-large-tracking, normal);--_scb-viz-section-title-size:var(--md-sys-typescale-title-medium-size, 1rem);--_scb-viz-section-title-weight:var(--weight-semibold, 600);--_scb-viz-section-title-line-height:var(--md-sys-typescale-title-medium-line-height, 1.5);--_scb-viz-section-title-letter-spacing:var(--md-sys-typescale-title-medium-tracking, normal);--_scb-viz-text-color:var(--md-sys-color-on-surface, #1f1f1f);font-family:var(--_scb-viz-font-family);font-size:var(--_scb-viz-body-font-size);font-weight:var(--_scb-viz-body-font-weight);line-height:var(--_scb-viz-body-line-height);letter-spacing:var(--_scb-viz-body-letter-spacing);font-style:normal;text-align:start;color:var(--_scb-viz-text-color);background:var(--scb-viz-surface-color, var(--md-sys-color-surface, #fff));padding:var(--scb-viz-padding, var(--spacing-7, 24px));max-width:var(--scb-viz-container-max-width, 100%);border-radius:var(--scb-viz-border-radius, var(--spacing-04, 16px));border:1px solid var(--scb-viz-outline-color, var(--md-sys-color-outline-variant, #c5c7d0));margin-block-start:var(--scb-viz-spacing-block-start, 0);margin-block-end:var(--scb-viz-spacing-block-end, 0);margin-inline-start:var(--scb-viz-spacing-inline-start, 0);margin-inline-end:var(--scb-viz-spacing-inline-end, 0)}:host,:host *,:host ::after,:host ::before{box-sizing:border-box}scb-segmented-button{--scb-segmented-button-height:var(--icon-size-small, 32px)}scb-accordion,scb-accordion-item,scb-icon-button,scb-segmented-button{--brand-font:var(--_scb-viz-font-family)}scb-accordion,scb-accordion-item,scb-segmented-button{--weight-regular:var(--_scb-viz-body-font-weight);--weight-semibold:var(--_scb-viz-section-title-weight)}scb-accordion,scb-accordion-item{--scb-accordion-title-font-size:var(--_scb-viz-section-title-size);--scb-accordion-title-line-height:var(--_scb-viz-section-title-line-height);--scb-accordion-title-letter-spacing:var(--_scb-viz-section-title-letter-spacing);--scb-accordion-supporting-font-size:var(--_scb-viz-body-font-size);--scb-accordion-supporting-line-height:var(--_scb-viz-body-line-height);--scb-accordion-supporting-letter-spacing:var(--_scb-viz-body-letter-spacing)}.label{font-family:var(--_scb-viz-font-family);font-size:var(--_scb-viz-title-size);font-weight:var(--_scb-viz-title-weight);line-height:var(--_scb-viz-title-line-height);letter-spacing:var(--_scb-viz-title-letter-spacing);text-align:start;margin:0}.sub-label{font-size:var(--_scb-viz-subtitle-size);font-weight:var(--_scb-viz-subtitle-weight);line-height:var(--_scb-viz-subtitle-line-height);letter-spacing:var(--_scb-viz-subtitle-letter-spacing);margin:0}.body-text,.secondary-label,.sub-label{font-family:var(--_scb-viz-font-family);text-align:start}.secondary-label{font-size:var(--_scb-viz-section-title-size);font-weight:var(--_scb-viz-section-title-weight);line-height:var(--_scb-viz-section-title-line-height);letter-spacing:var(--_scb-viz-section-title-letter-spacing);margin:0}.body-text{font-size:var(--_scb-viz-body-font-size);font-weight:var(--_scb-viz-body-font-weight);line-height:var(--_scb-viz-body-line-height);letter-spacing:var(--_scb-viz-body-letter-spacing);font-style:normal}.body-text-rich{display:flex;flex-direction:column;gap:var(--spacing-4, 16px)}.body-text-paragraph{margin:0}.highcharts-visually-hidden,.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;white-space:nowrap!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;border:0!important}.more-about-stats-content,.section{display:flex;flex-direction:column;color:var(--_scb-viz-text-color);font-family:var(--_scb-viz-font-family);font-style:normal;text-align:start}.section{gap:var(--spacing-2, 8px)}.more-about-stats-content{gap:var(--spacing-7, 24px);max-width:600px}.sos-logotype-link{display:inline-flex;border:0;color:var(--_scb-viz-text-color);line-height:0;text-decoration:none;width:fit-content}.sos-logotype-link:focus-visible{outline:var(--stroke-focus-ring, 2px) solid var(--md-focus-ring-color, currentColor);outline-offset:var(--spacing-1, 4px);border-radius:var(--radius-xs, 4px)}.sos-logotype-small,.sos-logotype-small svg{height:26px;width:auto;display:block}.sos-logotype-small svg{height:100%}@media only screen and (min-width:768px){.sos-logotype-small{height:24px}}.header{margin-bottom:var(--spacing-7, 24px);max-width:600px;color:var(--_scb-viz-text-color);font-family:var(--_scb-viz-font-family);font-style:normal;text-align:start}.actions-row,.header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--spacing-4, 16px)}.header-row{margin-bottom:var(--spacing-7, 24px)}.header-row .header{flex:1 1 auto;margin-bottom:0}.header-row .actions-menu{margin-block-start:0}.actions-row{margin-bottom:var(--spacing-9, 40px)}.flipp-wrapper{flex:1 1 auto;max-width:234px}.actions-menu{position:relative;flex:0 0 auto;display:inline-flex;align-items:flex-start;justify-content:flex-end}.actions-menu-panel{position:absolute;inset-block-start:calc(100% + var(--spacing-2, 8px));inset-inline-end:0;min-width:180px;padding:var(--spacing-2, 8px);border:1px solid var(--scb-viz-outline-color, var(--md-sys-color-outline-variant, #c5c7d0));border-radius:var(--radius-m, 12px);background:var(--scb-viz-surface-color, var(--md-sys-color-surface, #fff));box-shadow:0 8px 24px rgba(0,0,0,.12);display:none;z-index:10}.actions-menu-panel--open{display:block}.actions-menu-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-1, 4px)}.actions-menu-item{appearance:none;border:0;border-radius:var(--radius-s, 8px);background:0 0;color:var(--_scb-viz-text-color);width:100%;display:flex;align-items:center;gap:var(--scb-viz-actions-menu-item-gap, var(--spacing-2, 8px));text-align:start;font-family:var(--_scb-viz-font-family);font-size:var(--_scb-viz-body-font-size);font-weight:var(--_scb-viz-body-font-weight);line-height:var(--_scb-viz-body-line-height);letter-spacing:var(--_scb-viz-body-letter-spacing);padding-block:var(--spacing-2, 8px);padding-inline:var(--spacing-3, 12px);cursor:pointer}.actions-menu-item-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-family:"Material Symbols Outlined";font-size:var(--scb-viz-actions-menu-item-icon-size, var(--icon-size-small, 20px));line-height:1;font-style:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;font-variation-settings:"FILL"0,"wght"400,"GRAD"0,"opsz"20;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.actions-menu-item-label{flex:1 1 auto;min-width:0}.actions-menu-item:hover{background:var(--md-sys-color-surface-container, #f5f5f5)}.actions-menu-item:focus-visible{outline:var(--stroke-focus-ring, 2px) solid var(--md-focus-ring-color, currentColor);outline-offset:0}.actions-menu-item:disabled{background:0 0;color:var(--md-sys-color-on-surface-variant, rgba(0, 0, 0, 0.56));cursor:default;opacity:.64}.actions-menu-item:disabled:hover{background:0 0}.content,.description,.footer{color:var(--_scb-viz-text-color);font-family:var(--_scb-viz-font-family);font-style:normal;text-align:start}.description{margin-bottom:var(--spacing-8, 32px)}.footer{margin-top:var(--spacing-7, 24px)}.footer-statistics-print{display:none}.print-more-about-stats{max-width:600px}.print-more-about-stats .more-about-stats-content{gap:var(--spacing-5, 16px)}.print-more-about-stats-heading{margin-bottom:var(--spacing-5, 16px)}.description.section{max-width:600px}.diagram-scroller{display:none}.image-content{display:none;width:100%}.diagram-content{width:100%;max-width:var(--scb-viz-content-max-width, none);min-width:var(--scb-viz-content-max-width, 0);min-height:var(--scb-viz-diagram-min-height, 600px);height:var(--scb-viz-diagram-height, auto);overflow:var(--scb-viz-diagram-overflow, visible)}::slotted([slot=diagram]){display:block;width:100%;max-width:100%;min-width:0;min-height:var(--scb-viz-diagram-min-height, 600px);height:var(--scb-viz-diagram-height, auto);overflow:var(--scb-viz-diagram-overflow, visible)}.standard-content-shell{display:block;width:100%;min-width:0}.standard-content-shell--stable{min-height:var(--scb-viz-standard-content-height, var(--scb-viz-diagram-min-height, 600px))}.standard-content-panel{display:none;width:100%;min-width:0}.standard-content-panel--active{display:flex;flex-direction:column}.standard-diagram-scroller{display:flex;width:100%;min-width:0}.table-panel-scroll{width:100%;min-width:0}.standard-content-shell--stable .standard-content-panel--table.standard-content-panel--active{height:var(--scb-viz-standard-content-height, var(--scb-viz-diagram-min-height, 600px));min-height:0;overflow:hidden}.standard-content-shell--stable .standard-content-panel--table.standard-content-panel--active .table-panel-scroll{flex:1 1 auto;min-height:0;overflow:auto}:host([variant='Image']) .image-content{display:block}:host([variant='Image']) img{height:auto;max-width:100%}:host([variant='Image']) .diagram-scroller{display:none}:host([variant='Standard'].chip-diagram) .diagram-scroller{display:flex}.table-source{display:none}:host([data-scb-viz-fullscreen]){width:100%;height:100%;max-width:none;margin:0;border:0;border-radius:0;overflow:auto}:host([data-scb-viz-fullscreen]) .viz-container{min-height:100%}:host([data-scb-viz-force-light]),:host([data-scb-viz-print-preview]){color-scheme:light;--_scb-viz-text-color:#1f1f1f;--scb-viz-surface-color:#fff;--scb-viz-outline-color:#c5c7d0;--md-sys-color-surface:#fff;--md-sys-color-surface-container:#f5f5f5;--md-sys-color-surface-container-highest:#e7e8ec;--md-sys-color-on-surface:#1f1f1f;--md-sys-color-on-surface-variant:rgba(0, 0, 0, 0.72);--md-sys-color-outline-variant:#c5c7d0;--md-focus-ring-color:#1f1f1f}:host([data-scb-viz-print-preview]){background:0 0;border:0;border-radius:0;box-shadow:none;max-width:none;padding:0}:host([data-scb-viz-print-preview]) .actions-menu-panel,:host([data-scb-viz-print-preview]) .actions-row{display:none!important}:host([data-scb-viz-print-preview]) .standard-content-shell--stable,:host([data-scb-viz-print-preview]) .standard-content-shell--stable .diagram-content,:host([data-scb-viz-print-preview]) .standard-content-shell--stable .standard-content-panel--active,:host([data-scb-viz-print-preview]) .standard-content-shell--stable .standard-diagram-scroller,:host([data-scb-viz-print-preview]) .standard-content-shell--stable .table-panel-scroll,:host([data-scb-viz-print-preview]) .standard-content-shell--stable ::slotted([slot=diagram]){height:auto!important;min-height:0!important;overflow:visible!important}:host([data-scb-viz-print-preview]) .table-panel-scroll,:host([data-scb-viz-print-preview]) scb-horizontal-scroller{overflow:visible!important}:host([data-scb-viz-print-preview]) .description{margin-bottom:var(--spacing-5, 16px)}:host([data-scb-viz-print-preview]) .footer{margin-top:var(--spacing-5, 16px)}:host([data-scb-viz-print-preview]) .footer-statistics-screen{display:none!important}:host([data-scb-viz-print-preview]) .footer-statistics-print{display:block!important}:host([data-scb-viz-print-preview]) .viz-container{zoom:var(--scb-viz-print-scale, 1);width:calc(100%/var(--scb-viz-print-scale, 1))}@media print{:host{color-scheme:light;--_scb-viz-text-color:#1f1f1f;--scb-viz-surface-color:#fff;--scb-viz-outline-color:#c5c7d0;--md-sys-color-surface:#fff;--md-sys-color-surface-container:#f5f5f5;--md-sys-color-surface-container-highest:#e7e8ec;--md-sys-color-on-surface:#1f1f1f;--md-sys-color-on-surface-variant:rgba(0, 0, 0, 0.72);--md-sys-color-outline-variant:#c5c7d0;--md-focus-ring-color:#1f1f1f;background:0 0;border:0;border-radius:0;box-shadow:none;max-width:none;padding:0}.actions-menu-panel,.actions-row{display:none!important}.standard-content-shell--stable,.standard-content-shell--stable .diagram-content,.standard-content-shell--stable .standard-content-panel--active,.standard-content-shell--stable .standard-diagram-scroller,.standard-content-shell--stable .table-panel-scroll,.standard-content-shell--stable ::slotted([slot=diagram]){height:auto!important;min-height:0!important;overflow:visible!important}.table-panel-scroll,scb-horizontal-scroller{overflow:visible!important}.description{margin-bottom:var(--spacing-5, 16px)}.footer{margin-top:var(--spacing-5, 16px)}.footer-statistics-screen{display:none!important}.footer-statistics-print{display:block!important}.viz-container{zoom:var(--scb-viz-print-scale, 1);width:calc(100%/var(--scb-viz-print-scale, 1))}}`,A);function E(){if(h(c,this,G).call(this),typeof ResizeObserver>"u")return;const n=this.shadowRoot?.querySelector(".diagram-content");n&&(this._diagramResizeObserver=new ResizeObserver(()=>{h(c,this,x).call(this)}),this._diagramResizeObserver.observe(this),this._diagramResizeObserver.observe(n))}function G(){this._diagramResizeObserver?.disconnect(),this._diagramResizeObserver=void 0}function q(){this._diagramReflowFrame&&(cancelAnimationFrame(this._diagramReflowFrame),this._diagramReflowFrame=0)}function x(){this.variant!=="Standard"||this.selectedChip!=="Diagram"||(h(c,this,q).call(this),this._diagramReflowFrame=requestAnimationFrame(()=>{this._diagramReflowFrame=requestAnimationFrame(()=>{this._diagramReflowFrame=0,h(c,this,At).call(this)})}))}function H(n){const t=n?.getAttribute("data-highcharts-chart");if(!t)return;const e=Number.parseInt(t,10);return Number.isNaN(e)?void 0:e}function B(n){for(const t of n){const e=h(c,this,H).call(this,t);if(e!==void 0)return e;const i=t.querySelector("[data-highcharts-chart]"),s=h(c,this,H).call(this,i);if(s!==void 0)return s}}function At(){if(this.variant!=="Standard"||this.selectedChip!=="Diagram")return;const n=this.shadowRoot?.querySelector('slot[name="diagram"]');if(!n)return;const t=n.assignedElements({flatten:!0});if(t.length===0)return;const e=h(c,this,B).call(this,t);if(e===void 0)return;const i=window.Highcharts?.charts?.[e];i&&(i.setSize?.(null,null,!1),i.reflow?.(),this._seriesDifferentiationEnabled&&h(c,this,V).call(this))}function W(){this._fullscreenDiagramSizingFrame&&(cancelAnimationFrame(this._fullscreenDiagramSizingFrame),this._fullscreenDiagramSizingFrame=0)}function L(){h(c,this,W).call(this),this._fullscreenDiagramSizingFrame=requestAnimationFrame(()=>{this._fullscreenDiagramSizingFrame=requestAnimationFrame(()=>{this._fullscreenDiagramSizingFrame=0,h(c,this,kt).call(this)})})}function kt(){const n=this._getFullscreenDiagramHeight();this._fullscreenDiagramHeight!==n&&(this._fullscreenDiagramHeight=n,h(c,this,T).call(this),h(c,this,x).call(this))}function T(){const n=this.variant==="Standard"?this._getResolvedDiagramHeight():"",t=this.variant==="Standard"&&this._getResolvedToggleHeightMode()==="stable"?this._getResolvedStandardContentHeight():"";this.variant==="Standard"?this.style.setProperty("--scb-viz-diagram-min-height",n||"600px"):this.style.removeProperty("--scb-viz-diagram-min-height"),n?(this.style.setProperty("--scb-viz-diagram-height",n),this.style.setProperty("--scb-viz-diagram-overflow","hidden")):(this.style.removeProperty("--scb-viz-diagram-height"),this.style.removeProperty("--scb-viz-diagram-overflow")),t?this.style.setProperty("--scb-viz-standard-content-height",t):this.style.removeProperty("--scb-viz-standard-content-height")}function K(){this._chartConfigSyncFrame&&(cancelAnimationFrame(this._chartConfigSyncFrame),this._chartConfigSyncFrame=0)}function R(){h(c,this,K).call(this),this._chartConfigSyncFrame=requestAnimationFrame(()=>{this._chartConfigSyncFrame=requestAnimationFrame(()=>{this._chartConfigSyncFrame=0,h(c,this,Et).call(this)})})}function Et(){const n=this._getCurrentHighchartsChart();if(!n)return;let t=!1;typeof this.timeFormat<"u"&&(this._applyTimeFormatToLiveChart(n),t=!0),typeof this.valueFormat<"u"&&(this._applyValueFormatToLiveChart(n),t=!0),typeof this.yAxisSettings<"u"&&(this._applyYAxisSettingsToLiveChart(n),t=!0),t&&n.redraw(!1)}function Ht(n){this._isHighchartsStyledMode(n)&&this._applyStyledModeSeriesDifferentiation(n)}function Rt(n){this._isHighchartsStyledMode(n)&&this._restoreStyledModeSeriesDifferentiation(n)}function V(){const n=this._getCurrentHighchartsChart();if(n){if(this._seriesDifferentiationEnabled){h(c,this,Ht).call(this,n);return}h(c,this,Rt).call(this,n)}}async function P(n){const t=this._getExportableVisualElement();if(!t)return;const e=await it(t,this._getExportSurfaceTarget(),n);e&&O(e,this._buildExportFileName(n==="jpeg"?"jpg":"png"))}function Pt(n){return dt(this._getResolvedTableView(n),t=>this._escapeHtml(t))}function Nt(){return ht({comment:this.comment,commentLabel:this.commentLabel,description:this.description,descriptionLabel:this.descriptionLabel,escapeHtml:n=>this._escapeHtml(n),footnote:this.footnote,footnoteLabel:this.footnoteLabel,moreAboutStatsLabel:this.moreAboutStatsLabel,officialStatistics:this.officialStatistics,renderRichTextHtml:n=>this._renderRichTextHtml(n),sosLogotypeSvg:j,source:this.source,sourceLabel:this.sourceLabel})}function It(n){return ct({contentHtml:n,escapeHtml:t=>this._escapeHtml(t),footerHtml:h(c,this,Nt).call(this),lang:this.lang,subtitle:this.subtitle,title:this.title})}async function Ot(){await ot(this,async()=>{const n=this._getCurrentPrintableView();let t="";if(n==="table"){const e=this._getResolvedTableData();if(!e?.rows?.length)return;t=h(c,this,Pt).call(this,e)}else if(n==="image"){const e=this.shadowRoot?.querySelector(".image-content img"),i=e?.currentSrc||e?.src||this.imageHref;if(!i)return;t=`<img class="viz-image" src="${this._escapeHtml(i)}" alt="${this._escapeHtml(this._getImageAltText())}">`}else{const e=this._getExportableVisualElement();if(!e)return;const i=await st(e,this._getExportSurfaceTarget(),"png");if(!i)return;t=`<img class="viz-chart-image" src="${i}" alt="${this._escapeHtml(this._getImageAltText())}">`}await nt(h(c,this,It).call(this,t))})}function jt(){const n=this._getResolvedTableData();n?.rows?.length&&O(et($t(n,t=>this._normalizeRenderableCell(t)),this.lang),this._buildExportFileName("csv"))}function N(){const n=h(c,this,$).call(this,this.spacing),t=h(c,this,$).call(this,this.spacingTop)??n,e=h(c,this,$).call(this,this.spacingBottom)??n,i=h(c,this,$).call(this,this.spacingLeft),s=h(c,this,$).call(this,this.spacingRight);t?this.style.setProperty("--scb-viz-spacing-block-start",t):this.style.removeProperty("--scb-viz-spacing-block-start"),e?this.style.setProperty("--scb-viz-spacing-block-end",e):this.style.removeProperty("--scb-viz-spacing-block-end"),i?this.style.setProperty("--scb-viz-spacing-inline-start",i):this.style.removeProperty("--scb-viz-spacing-inline-start"),s?this.style.setProperty("--scb-viz-spacing-inline-end",s):this.style.removeProperty("--scb-viz-spacing-inline-end")}function $(n){if(!n)return;const t=String(n).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}function I(){const n=this.containerMaxWidth?.trim();n?this.style.setProperty("--scb-viz-container-max-width",n):this.style.removeProperty("--scb-viz-container-max-width")}m([b({type:String,reflect:!0})],g.prototype,"variant",void 0);m([b({type:String,reflect:!0,attribute:"selected-chip"})],g.prototype,"selectedChip",void 0);m([b({type:String,reflect:!0})],g.prototype,"title",void 0);m([b({type:String,reflect:!0})],g.prototype,"subtitle",void 0);m([b({type:String,reflect:!0})],g.prototype,"description",void 0);m([b({type:String,reflect:!0})],g.prototype,"comment",void 0);m([b({type:String,reflect:!0})],g.prototype,"source",void 0);m([b({type:String,reflect:!0})],g.prototype,"footnote",void 0);m([b({type:String,reflect:!0,attribute:"lang"})],g.prototype,"lang",void 0);m([b({type:String,reflect:!0,attribute:"image-href"})],g.prototype,"imageHref",void 0);m([b({type:Boolean,reflect:!0,attribute:"official-statistics"})],g.prototype,"officialStatistics",void 0);m([b({type:Boolean,reflect:!0,attribute:"disable-toggle"})],g.prototype,"disableToggle",void 0);m([b({type:String,attribute:"content-max-width"})],g.prototype,"contentMaxWidth",void 0);m([b({type:String,attribute:"container-max-width"})],g.prototype,"containerMaxWidth",void 0);m([b({type:String,attribute:"content-height"})],g.prototype,"contentHeight",void 0);m([b({type:String,reflect:!0,attribute:"toggle-height-mode"})],g.prototype,"toggleHeightMode",void 0);m([b({attribute:!1})],g.prototype,"tableData",void 0);m([b({attribute:!1})],g.prototype,"valueFormat",void 0);m([b({attribute:!1})],g.prototype,"timeFormat",void 0);m([b({attribute:!1})],g.prototype,"yAxisSettings",void 0);m([F()],g.prototype,"_slottedTableData",void 0);m([F()],g.prototype,"_actionsMenuOpen",void 0);m([F()],g.prototype,"_seriesDifferentiationEnabled",void 0);m([F()],g.prototype,"_isFullscreen",void 0);m([b({type:String,reflect:!0})],g.prototype,"spacing",void 0);m([b({type:String,attribute:"spacing-top",reflect:!0})],g.prototype,"spacingTop",void 0);m([b({type:String,attribute:"spacing-bottom",reflect:!0})],g.prototype,"spacingBottom",void 0);m([b({type:String,attribute:"spacing-left",reflect:!0})],g.prototype,"spacingLeft",void 0);m([b({type:String,attribute:"spacing-right",reflect:!0})],g.prototype,"spacingRight",void 0);g=m([J("scb-viz")],g);
|