@limetech/lime-elements 40.21.0 → 40.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/language-s0bKUCvO.js +58 -0
  3. package/dist/cjs/lime-elements.cjs.js +1 -1
  4. package/dist/cjs/limel-action-bar_3.cjs.entry.js +2 -2
  5. package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
  6. package/dist/cjs/limel-badge_7.cjs.entry.js +12 -2
  7. package/dist/cjs/limel-callout.cjs.entry.js +2 -2
  8. package/dist/cjs/limel-chart.cjs.entry.js +524 -76
  9. package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
  10. package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
  11. package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
  12. package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
  13. package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
  14. package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/limel-dock.cjs.entry.js +2 -2
  16. package/dist/cjs/limel-drag-handle_2.cjs.entry.js +2 -2
  17. package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
  18. package/dist/cjs/limel-file-viewer.cjs.entry.js +164 -2
  19. package/dist/cjs/limel-file.cjs.entry.js +2 -2
  20. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
  21. package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
  22. package/dist/cjs/limel-pagination-jump.cjs.entry.js +2 -2
  23. package/dist/cjs/limel-pagination.cjs.entry.js +14 -26
  24. package/dist/cjs/limel-picker.cjs.entry.js +70 -27
  25. package/dist/cjs/limel-profile-picture.cjs.entry.js +2 -2
  26. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +2 -2
  27. package/dist/cjs/limel-resize-handle.cjs.entry.js +2 -2
  28. package/dist/cjs/limel-side-panel.cjs.entry.js +2 -2
  29. package/dist/cjs/limel-slider.cjs.entry.js +2 -2
  30. package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
  31. package/dist/cjs/limel-table.cjs.entry.js +2 -2
  32. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +2 -2
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/cjs/{translations-CqJEWcfw.js → translations-JLP5icQ9.js} +1 -1
  35. package/dist/collection/components/chart/chart.js +116 -45
  36. package/dist/collection/components/chart/format.js +302 -0
  37. package/dist/collection/components/chart/options.js +26 -14
  38. package/dist/collection/components/chart/scale.js +132 -19
  39. package/dist/collection/components/input-field/input-field.js +10 -0
  40. package/dist/collection/components/pagination/pagination.js +13 -25
  41. package/dist/collection/components/picker/picker.js +67 -24
  42. package/dist/collection/util/language.js +29 -0
  43. package/dist/esm/language-VamkUr90.js +55 -0
  44. package/dist/esm/lime-elements.js +1 -1
  45. package/dist/esm/limel-action-bar_3.entry.js +2 -2
  46. package/dist/esm/limel-ai-avatar.entry.js +2 -2
  47. package/dist/esm/limel-badge_7.entry.js +12 -2
  48. package/dist/esm/limel-callout.entry.js +2 -2
  49. package/dist/esm/limel-chart.entry.js +524 -76
  50. package/dist/esm/limel-chip-set.entry.js +2 -2
  51. package/dist/esm/limel-chip_2.entry.js +2 -2
  52. package/dist/esm/limel-code-diff.entry.js +2 -2
  53. package/dist/esm/limel-code-editor.entry.js +2 -2
  54. package/dist/esm/limel-collapsible-section.entry.js +2 -2
  55. package/dist/esm/limel-date-picker.entry.js +1 -1
  56. package/dist/esm/limel-dock.entry.js +2 -2
  57. package/dist/esm/limel-drag-handle_2.entry.js +2 -2
  58. package/dist/esm/limel-email-viewer.entry.js +2 -2
  59. package/dist/esm/limel-file-viewer.entry.js +164 -2
  60. package/dist/esm/limel-file.entry.js +2 -2
  61. package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
  62. package/dist/esm/limel-list-item.entry.js +2 -2
  63. package/dist/esm/limel-pagination-jump.entry.js +2 -2
  64. package/dist/esm/limel-pagination.entry.js +14 -26
  65. package/dist/esm/limel-picker.entry.js +71 -28
  66. package/dist/esm/limel-profile-picture.entry.js +2 -2
  67. package/dist/esm/limel-prosemirror-adapter.entry.js +2 -2
  68. package/dist/esm/limel-resize-handle.entry.js +2 -2
  69. package/dist/esm/limel-side-panel.entry.js +2 -2
  70. package/dist/esm/limel-slider.entry.js +2 -2
  71. package/dist/esm/limel-snackbar.entry.js +2 -2
  72. package/dist/esm/limel-table.entry.js +2 -2
  73. package/dist/esm/limel-text-editor-link-menu.entry.js +2 -2
  74. package/dist/esm/loader.js +1 -1
  75. package/dist/esm/{translations-kct5Kybu.js → translations-D9ZGrMhe.js} +1 -1
  76. package/dist/lime-elements/lime-elements.esm.js +1 -1
  77. package/dist/lime-elements/{p-6e9eeb0a.entry.js → p-0a7cbdc3.entry.js} +1 -1
  78. package/dist/lime-elements/{p-d35d2859.entry.js → p-0f96e94d.entry.js} +1 -1
  79. package/dist/lime-elements/{p-a7be03e1.entry.js → p-1a0c5e45.entry.js} +1 -1
  80. package/dist/lime-elements/{p-5e408c27.entry.js → p-401d5c92.entry.js} +1 -1
  81. package/dist/lime-elements/{p-6d2d25b9.entry.js → p-430db3b9.entry.js} +1 -1
  82. package/dist/lime-elements/{p-a6c6a31b.entry.js → p-43b62587.entry.js} +1 -1
  83. package/dist/lime-elements/{p-958396b5.entry.js → p-48dccb83.entry.js} +1 -1
  84. package/dist/lime-elements/{p-814b4934.entry.js → p-5c918155.entry.js} +1 -1
  85. package/dist/lime-elements/{p-22e9e327.entry.js → p-66101ed6.entry.js} +1 -1
  86. package/dist/lime-elements/{p-d8559847.entry.js → p-7ab72b52.entry.js} +1 -1
  87. package/dist/lime-elements/{p-7ab726c2.entry.js → p-8d9a2a22.entry.js} +1 -1
  88. package/dist/lime-elements/{p-55fa19ae.entry.js → p-8de4f0f3.entry.js} +1 -1
  89. package/dist/lime-elements/p-8e80a884.entry.js +56 -0
  90. package/dist/lime-elements/{p-bffb5ed2.entry.js → p-99984c66.entry.js} +1 -1
  91. package/dist/lime-elements/{p-56e2fa48.entry.js → p-9d46f720.entry.js} +1 -1
  92. package/dist/lime-elements/p-9e2b426c.entry.js +1 -0
  93. package/dist/lime-elements/{p-Dzp8dXTo.js → p-C9dBa_Im.js} +1 -1
  94. package/dist/lime-elements/p-VamkUr90.js +1 -0
  95. package/dist/lime-elements/{p-3ac39bd5.entry.js → p-b1c7033b.entry.js} +2 -2
  96. package/dist/lime-elements/{p-47fe76a8.entry.js → p-b5451350.entry.js} +1 -1
  97. package/dist/lime-elements/{p-9edd79a8.entry.js → p-c75f3b0d.entry.js} +1 -1
  98. package/dist/lime-elements/{p-4c080cd9.entry.js → p-ca4247c4.entry.js} +1 -1
  99. package/dist/lime-elements/{p-1a7d1d2b.entry.js → p-d53421af.entry.js} +1 -1
  100. package/dist/lime-elements/{p-6d9b89db.entry.js → p-d8901e39.entry.js} +1 -1
  101. package/dist/lime-elements/{p-933ffaa8.entry.js → p-d89553b3.entry.js} +1 -1
  102. package/dist/lime-elements/{p-496b2437.entry.js → p-d93b8ce0.entry.js} +1 -1
  103. package/dist/lime-elements/{p-23067836.entry.js → p-e97340c4.entry.js} +1 -1
  104. package/dist/lime-elements/{p-7b87e547.entry.js → p-ec0c113d.entry.js} +1 -1
  105. package/dist/lime-elements/p-f197000b.entry.js +159 -0
  106. package/dist/lime-elements/{p-07f3565b.entry.js → p-f6bc6658.entry.js} +1 -1
  107. package/dist/lime-elements/{p-7fcd48c6.entry.js → p-fa1aa440.entry.js} +1 -1
  108. package/dist/types/components/chart/chart.d.ts +32 -7
  109. package/dist/types/components/chart/chart.types.d.ts +15 -1
  110. package/dist/types/components/chart/format.d.ts +54 -0
  111. package/dist/types/components/chart/options.d.ts +3 -4
  112. package/dist/types/components/chart/scale.d.ts +39 -7
  113. package/dist/types/components/input-field/input-field.d.ts +1 -0
  114. package/dist/types/components/pagination/pagination.d.ts +6 -12
  115. package/dist/types/components/picker/picker.d.ts +10 -2
  116. package/dist/types/components.d.ts +36 -8
  117. package/dist/types/util/language.d.ts +19 -0
  118. package/package.json +2 -2
  119. package/dist/cjs/language-v-MMS6ym.js +0 -28
  120. package/dist/esm/language-ChagAaNf.js +0 -26
  121. package/dist/lime-elements/p-7d6a12fe.entry.js +0 -56
  122. package/dist/lime-elements/p-ChagAaNf.js +0 -1
  123. package/dist/lime-elements/p-a807a45f.entry.js +0 -159
  124. package/dist/lime-elements/p-cd479c23.entry.js +0 -1
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
2
  import { d as ARROW_LEFT, e as ARROW_RIGHT, a as ENTER, D as DELETE, B as BACKSPACE, E as ESCAPE } from './keycodes-DQ5DmW_Y.js';
3
- import { t as translations } from './translations-kct5Kybu.js';
3
+ import { t as translations } from './translations-D9ZGrMhe.js';
4
4
  import { a as getTarget, b as getHref } from './link-helper-5KsJICvh.js';
5
5
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
6
6
  import { s as setControlledElement } from './controlled-element-ByOXsysp.js';
7
7
  import { i as isEqual } from './isEqual-BIfg0KPc.js';
8
8
  import { M as MDCTextField } from './component-CVihTrav.js';
9
- import './language-ChagAaNf.js';
9
+ import './language-VamkUr90.js';
10
10
  import './_baseIsEqual-CJf575VC.js';
11
11
  import './_arrayPush-NEl7BpFy.js';
12
12
  import './_getNative-COawFdVX.js';
@@ -3,10 +3,10 @@ import { I as ImageTemplate } from './image.template-BGjw97m_.js';
3
3
  import { g as getRel } from './link-helper-5KsJICvh.js';
4
4
  import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
5
5
  import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
6
- import { t as translations } from './translations-kct5Kybu.js';
6
+ import { t as translations } from './translations-D9ZGrMhe.js';
7
7
  import { D as DELETE, B as BACKSPACE } from './keycodes-DQ5DmW_Y.js';
8
8
  import { i as isEmpty } from './isEmpty-CvLNUkER.js';
9
- import './language-ChagAaNf.js';
9
+ import './language-VamkUr90.js';
10
10
  import './_getTag-BTNY_Z_q.js';
11
11
  import './isObject-BJQylLSL.js';
12
12
  import './isLength-BZrtP4vv.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
3
- import './language-ChagAaNf.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
+ import './language-VamkUr90.js';
4
4
 
5
5
  class Diff {
6
6
  diff(oldStr, newStr,
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
2
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
3
3
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
4
- import { t as translations } from './translations-kct5Kybu.js';
5
- import './language-ChagAaNf.js';
4
+ import { t as translations } from './translations-D9ZGrMhe.js';
5
+ import './language-VamkUr90.js';
6
6
 
7
7
  var codemirror$1 = {exports: {}};
8
8
 
@@ -3,9 +3,9 @@ import { d as dispatchResizeEvent } from './dispatch-resize-event-z_E3sq3p.js';
3
3
  import { m as makeEnterClickable, r as removeEnterClickable } from './make-enter-clickable-CIf8aGSd.js';
4
4
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
5
5
  import { b as getIconColor, d as getIconTitle, g as getIconName } from './get-icon-props-CgNJbSP4.js';
6
- import { t as translations } from './translations-kct5Kybu.js';
6
+ import { t as translations } from './translations-D9ZGrMhe.js';
7
7
  import { i as isHeadingLevel } from './heading-level-B3C0kDpZ.js';
8
- import './language-ChagAaNf.js';
8
+ import './language-VamkUr90.js';
9
9
 
10
10
  const collapsibleSectionCss = () => `@charset "UTF-8";.expand-icon{position:relative;display:flex;align-items:center;justify-content:center;height:1.875rem;margin:0 0 0 0.5rem;width:0.75rem;flex-shrink:0}.line{position:absolute;inset:auto;margin:auto;width:100%;border-radius:1rem;height:0.125rem}.line:first-of-type,.line:last-of-type{transition:opacity 0.2s ease 0.1s, transform 0.4s ease 0.3s;opacity:0;background-color:var(--header-stroke-color, rgb(var(--contrast-900)))}.line:nth-of-type(2){transform:translate3d(0, 0.25rem, 0) rotate(90deg)}.line:nth-of-type(3){transform:translate3d(0, -0.25rem, 0) rotate(-90deg)}.line:nth-of-type(2),.line:nth-of-type(3){transition:opacity 0.2s ease, transform 0.18s ease}.line:nth-of-type(2):before,.line:nth-of-type(2):after,.line:nth-of-type(3):before,.line:nth-of-type(3):after{content:"";position:absolute;inset:0;margin:auto;width:50%;height:100%;border-radius:inherit;background-color:var(--header-stroke-color, rgb(var(--contrast-900)))}.line:nth-of-type(2):before,.line:nth-of-type(3):before{transform:translate3d(0, -0.1rem, 0) rotate(45deg)}.line:nth-of-type(2):after,.line:nth-of-type(3):after{transform:translate3d(0, 0.1rem, 0) rotate(-45deg)}.open-close-toggle:hover+.expand-icon .line:first-of-type,.open-close-toggle:hover+.expand-icon .line:last-of-type,.open-close-toggle:focus-visible+.expand-icon .line:first-of-type,.open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transition:opacity 0.8s ease 0.4s, transform 0.4s ease 0.3s;opacity:1}.open-close-toggle:hover+.expand-icon .line:first-of-type,.open-close-toggle:focus-visible+.expand-icon .line:first-of-type{transform:rotate3d(0, 0, 1, 0deg)}.open-close-toggle:hover+.expand-icon .line:last-of-type,.open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transform:rotate3d(0, 0, 1, 0deg)}.open-close-toggle:hover+.expand-icon .line:nth-of-type(2),.open-close-toggle:hover+.expand-icon .line:nth-of-type(3),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transition:opacity 0.5s ease 0.4s, transform 0.7s cubic-bezier(0.85, 0.11, 0.14, 1.35) 0.2s}.open-close-toggle:hover+.expand-icon .line:nth-of-type(2),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2){transform:translate3d(0, 0.5rem, 0) rotate(90deg);opacity:0.4}.open-close-toggle:hover+.expand-icon .line:nth-of-type(3),.open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transform:translate3d(0, -0.5rem, 0) rotate(-90deg);opacity:0.4}section.open .line:first-of-type,section.open .line:last-of-type{transition:opacity 0.2s ease 0.1s, transform 0.4s ease 0.3s;opacity:1}section.open .line:first-of-type{transform:rotate3d(0, 0, 1, 0deg)}section.open .line:last-of-type{transform:rotate3d(0, 0, 1, 0deg)}section.open .line:nth-of-type(2),section.open .line:nth-of-type(3){transition:opacity 1s ease, transform 0.4s ease}section.open .line:nth-of-type(2){transform:translate3d(0, 1rem, 0) rotate(90deg);opacity:0}section.open .line:nth-of-type(3){transform:translate3d(0, -1rem, 0) rotate(-90deg);opacity:0}section.open .open-close-toggle:hover+.expand-icon .line:first-of-type,section.open .open-close-toggle:hover+.expand-icon .line:last-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:first-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transition:opacity 0.2s ease 0.4s, transform 0.4s cubic-bezier(0.85, 0.11, 0.14, 1.35) 0.2s}section.open .open-close-toggle:hover+.expand-icon .line:first-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:first-of-type{transform:rotate3d(0, 0, 1, 45deg)}section.open .open-close-toggle:hover+.expand-icon .line:last-of-type,section.open .open-close-toggle:focus-visible+.expand-icon .line:last-of-type{transform:rotate3d(0, 0, 1, -45deg)}section.open .open-close-toggle:hover+.expand-icon .line:nth-of-type(2),section.open .open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(2){transform:translate3d(0, 1rem, 0) rotate(90deg);opacity:0}section.open .open-close-toggle:hover+.expand-icon .line:nth-of-type(3),section.open .open-close-toggle:focus-visible+.expand-icon .line:nth-of-type(3){transform:translate3d(0, -1rem, 0) rotate(-90deg);opacity:0}:host(limel-collapsible-section){--border-radius-of-header:0.75rem;display:block}:host([hidden]){display:none}button.open-close-toggle{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;position:absolute;inset:0;width:100%}button.open-close-toggle:focus{outline:none}button.open-close-toggle:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.open-close-toggle{transition:background-color 0.4s ease, border-radius 0.1s ease;cursor:pointer;z-index:-1;background-color:var(--closed-header-background-color, rgb(var(--contrast-200)));border-radius:var(--border-radius-of-header)}button.open-close-toggle:hover,button.open-close-toggle:focus-visible{background-color:var(--open-header-background-color, rgb(var(--contrast-300)))}section.open button.open-close-toggle{background-color:var(--open-header-background-color, rgb(var(--contrast-100)));border-radius:var(--border-radius-of-header) var(--border-radius-of-header) var(--limel-cs-open-header-bottom-border-radius, 0) var(--limel-cs-open-header-bottom-border-radius, 0)}section.open button.open-close-toggle:hover,section.open button.open-close-toggle:focus-visible{background-color:var(--open-header-background-color, rgb(var(--contrast-300)))}.title,.divider-line,.expand-icon{pointer-events:none}section{transition:box-shadow 0.4s ease;border-radius:var(--border-radius-of-header)}section[aria-invalid]:not([aria-invalid=false]){--header-stroke-color:rgb(var(--color-red-default)) !important}section[aria-invalid]:not([aria-invalid=false]):not(.open){box-shadow:0 0 0 1px rgb(var(--color-red-default))}header{isolation:isolate;position:relative;align-items:center;display:flex;justify-content:space-between;gap:0.5rem;padding-left:0.5rem;height:2.5rem}limel-icon{width:1.5rem;flex-shrink:0}.title{font-size:1rem;font-weight:300;color:var(--limel-theme-on-surface-color);justify-self:flex-start;user-select:none;height:auto;max-height:3rem;line-height:1.2rem;display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.divider-line{transition:opacity 0.3s ease 0.3s;flex-grow:1;height:0.125rem;border-radius:1rem;background-color:var(--header-stroke-color, rgb(var(--contrast-900)));opacity:0;margin-right:0.5rem}section.open .divider-line{opacity:0.16}.actions{justify-self:flex-end;flex-shrink:0}::slotted([slot=header]){margin-right:0.5rem}.body{background-color:var(--body-background-color, var(--contrast-100));padding-left:var(--body-padding, 1.25rem);padding-right:var(--body-padding, 1.25rem);border-radius:0 0 var(--border-radius-of-header) var(--border-radius-of-header)}.body{transition:grid-template-rows var(--limel-cs-grid-template-rows-transition-speed) cubic-bezier(1, 0.09, 0, 0.89);display:grid;grid-template-rows:var(--limel-cs-grid-template-rows)}.body slot{transition:opacity var(--limel-cs-opacity-transition-speed) ease var(--limel-cs-opacity-transition-delay);display:block;overflow:hidden}:host(limel-collapsible-section:not([is-open])){--limel-cs-opacity-transition-speed:0.1s;--limel-cs-opacity-transition-delay:0s;--limel-cs-grid-template-rows-transition-speed:0.3s;--limel-cs-grid-template-rows:0fr}:host(limel-collapsible-section:not([is-open])) slot{opacity:0}:host(limel-collapsible-section[is-open]){--limel-cs-opacity-transition-speed:0.4s;--limel-cs-opacity-transition-delay:0.3s;--limel-cs-grid-template-rows-transition-speed:0.46s;--limel-cs-grid-template-rows:1fr}:host(limel-collapsible-section[is-open]) slot{opacity:1}header:hover+.body,header:has(.open-close-toggle:hover)+.body,header:has(.open-close-toggle:focus-visible)+.body{will-change:grid-template-rows}header:hover+.body slot,header:has(.open-close-toggle:hover)+.body slot,header:has(.open-close-toggle:focus-visible)+.body slot{will-change:opacity}`;
11
11
 
@@ -3,7 +3,7 @@ import { c as createRandomString } from './random-string-BrjD-ITe.js';
3
3
  import { i as isIOSDevice, a as isAndroidDevice } from './device-B-tmXAXV.js';
4
4
  import './sv-DpsDSi7k.js';
5
5
  import { m as moment } from './moment-_DadZLWp.js';
6
- import { g as getPrimarySubtag } from './language-ChagAaNf.js';
6
+ import { a as getPrimarySubtag } from './language-VamkUr90.js';
7
7
  import { M as MDCTextField } from './component-CVihTrav.js';
8
8
  import './_commonjsHelpers-B85MJLTf.js';
9
9
  import './ponyfill-6YuZiAPi.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
3
- import './language-ChagAaNf.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
+ import './language-VamkUr90.js';
4
4
 
5
5
  const dockCss = () => `@charset "UTF-8";button.expand-shrink{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;box-sizing:border-box;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.expand-shrink:hover,button.expand-shrink:focus,button.expand-shrink:focus-visible{will-change:color, background-color, box-shadow, transform}button.expand-shrink:hover,button.expand-shrink:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button.expand-shrink:hover{box-shadow:var(--button-shadow-hovered)}button.expand-shrink:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.expand-shrink:hover,button.expand-shrink:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.expand-shrink:focus{outline:none}button.expand-shrink:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.expand-shrink{display:flex;justify-content:center;align-items:center;height:var(--dock-expand-shrink-button-height);padding:0 0.5rem;margin:var(--limel-dock-padding);border-radius:0.375rem}button.expand-shrink.expanded{justify-content:flex-end}button.expand-shrink.expanded limel-icon{transform:rotateY(180deg)}button.expand-shrink limel-icon{width:calc(var(--dock-expand-shrink-button-height) - 0.25rem);color:var(--dock-item-icon-color, var(--limel-dock-item-text-color))}:host(limel-dock){--badge-background-color:rgb(var(--color-red-default));--badge-text-color:rgb(var(--color-white));--dock-item-height:2.75rem;--limel-dock-padding:0.25rem;--dock-expand-shrink-button-height:1rem;--limel-dock-item-text-color:var( --dock-item-text-color, rgb(var(--contrast-1100)) );--limel-dock-item-text-color--selected:var( --dock-item-text-color--selected, rgb(var(--contrast-1300)) );isolation:isolate;position:relative;box-sizing:border-box;display:inline-flex;flex-direction:column;background-color:var(--dock-background-color, rgb(var(--contrast-100)));box-shadow:var(--shadow-depth-8);padding-top:var(--dock-padding-top);padding-right:var(--dock-padding-right);padding-bottom:var(--dock-padding-bottom);padding-left:var(--dock-padding-left)}:host(limel-dock:not(.has-mobile-layout)){height:100%;width:calc(var(--limel-dock-padding) * 2 + var(--dock-item-height) + var(--dock-padding-left, 0px) + var(--dock-padding-right, 0px))}:host(limel-dock:not(.has-mobile-layout)) nav{padding-bottom:calc(var(--limel-dock-padding) + 0.25rem)}:host(limel-dock.expanded:not(.has-mobile-layout)){width:calc(var(--dock-expanded-max-width, 10rem) + var(--dock-padding-left, 0px) + var(--dock-padding-right, 0px))}.footer-separator{margin-top:auto;justify-self:flex-end}nav{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:0.375rem;flex-grow:1;padding:var(--limel-dock-padding);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}nav::-webkit-scrollbar{display:none}:host(limel-dock.has-mobile-layout) nav{justify-content:space-between;flex-direction:row}limel-dock-button:first-of-type{--limel-custom-home-icon-enabler:var(--crm-custom-home-icon-enabler);--limel-custom-home-icon:var(--crm-custom-home-icon)}`;
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
3
- import './language-ChagAaNf.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
+ import './language-VamkUr90.js';
4
4
 
5
5
  const dragHandleCss = () => `@charset "UTF-8";limel-drag-handle{display:inline-flex;align-items:center;justify-content:center}button.limel-drag-handle{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button.limel-drag-handle:focus{outline:none}button.limel-drag-handle:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.limel-drag-handle{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.limel-drag-handle:hover,button.limel-drag-handle:focus,button.limel-drag-handle:focus-visible{will-change:color, background-color, box-shadow, transform}button.limel-drag-handle:hover,button.limel-drag-handle:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--mdc-theme-primary);background-color:transparent}button.limel-drag-handle:hover{box-shadow:var(--button-shadow-hovered)}button.limel-drag-handle:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.limel-drag-handle:hover,button.limel-drag-handle:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.limel-drag-handle{touch-action:none;cursor:grab}button.limel-drag-handle:active{cursor:grabbing}button.limel-drag-handle:active,button.limel-drag-handle:hover{box-shadow:none !important}button.limel-drag-handle{display:inline-flex;align-items:center;justify-content:center;border-radius:0.4rem;padding:0.5rem;max-height:2.25rem;max-width:2.25rem;color:rgb(var(--contrast-900))}button.limel-drag-handle .drag-icon{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0.2rem}limel-drag-handle[drag-direction=horizontal] button.limel-drag-handle .drag-icon{grid-template-columns:1fr 1fr}button.limel-drag-handle .drag-icon div{transition:transform 0.2s ease, background-color 0.2s ease;height:0.125rem;width:0.125rem;border-radius:1rem;background-color:currentColor;transform:scale(1)}.is-being-dragged button.limel-drag-handle .drag-icon div,button.limel-drag-handle:active .drag-icon div,button.limel-drag-handle:focus .drag-icon div,button.limel-drag-handle:hover .drag-icon div,button.limel-drag-handle:focus-visible .drag-icon div{background-color:var(--mdc-theme-primary);transform:scale(1.5)}`;
6
6
 
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { f as formatBytes } from './format-bytes-24yUSW40.js';
4
4
  import { a as adaptColorContrast } from './adapt-color-contrast-BQoih_t0.js';
5
5
  import { g as getIconBackgroundColorForFile, a as getIconFillColorForFile, b as getIconForFile } from './icons-Bu_YRgCL.js';
6
- import './language-ChagAaNf.js';
6
+ import './language-VamkUr90.js';
7
7
 
8
8
  /**
9
9
  * Checks whether the given HTML contains any images with a `data-remote-src`
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { d as defaultSchema, u as unified, r as rehypeParse, a as rehypeSanitize, v as visit, b as rehypeStringify } from './index-CofmbCdQ.js';
4
4
  import { I as ImageTemplate } from './image.template-BGjw97m_.js';
5
- import './language-ChagAaNf.js';
5
+ import './language-VamkUr90.js';
6
6
  import './_commonjsHelpers-B85MJLTf.js';
7
7
 
8
8
  /**
@@ -5848,6 +5848,164 @@ function base64ArrayBuffer(arrayBuffer) {
5848
5848
  return base64;
5849
5849
  }
5850
5850
 
5851
+ // Parser for the OTP-Token header of draft-goto-otp-token-01, an Internet-Draft that expires
5852
+ // on 25 March 2027. By then check for a newer revision of the draft or a published RFC, the
5853
+ // header name and its parameters are still open questions in the draft.
5854
+ //
5855
+ // The header value is a structured field item (RFC 9651): a String holding the passcode,
5856
+ // with an `origin` parameter naming the origin the passcode is bound to. Unknown parameters
5857
+ // are ignored, but they still have to be valid, otherwise the whole field fails to parse.
5858
+ // RFC 9651 lets a parser limit the size of a field. A passcode and an origin take well under
5859
+ // a kilobyte, the limit keeps the regular expressions below away from megabyte inputs
5860
+ const MAX_FIELD_LENGTH = 8192;
5861
+ // The bare item syntax of RFC 9651 4.2.3.1, keyed by the first character of the item. An
5862
+ // Integer has at most 15 digits, a Decimal at most 12 before and 1 to 3 after the dot, and a
5863
+ // Date is an Integer. Whatever follows a match is left for the caller, which only accepts a
5864
+ // parameter separator or the end of the field, so a 16th digit or a 4th decimal fails there
5865
+ const NUMBER = /-?(?:\d{1,12}\.\d{1,3}|\d{1,15})/y;
5866
+ const STRING = /"((?:[\x20\x21\x23-\x5b\x5d-\x7e]|\\["\\])*)"/y;
5867
+ const TOKEN = /[A-Za-z*][!#$%&'*+\-.^_`|~0-9A-Za-z:/]*/y;
5868
+ const BYTE_SEQUENCE = /:[A-Za-z0-9+/=]*:/y;
5869
+ const BOOLEAN = /\?[01]/y;
5870
+ const DATE = /@-?\d{1,15}/y;
5871
+ const DISPLAY_STRING = /%"((?:[\x20\x21\x23\x24\x26-\x7e]|%[0-9a-f]{2})*)"/y;
5872
+ const KEY = /[a-z*][a-z0-9_\-.*]*/y;
5873
+ const SPACES = / */y;
5874
+ // Matches the sticky expression at the cursor and moves past it, returns null if it does not match
5875
+ function match(cursor, re) {
5876
+ re.lastIndex = cursor.pos;
5877
+ const result = re.exec(cursor.input);
5878
+ if (result) {
5879
+ cursor.pos = re.lastIndex;
5880
+ }
5881
+ return result;
5882
+ }
5883
+ // RFC 9651 4.2.5, returns the unescaped String or null if there is no valid String at the cursor
5884
+ function parseString(cursor) {
5885
+ const result = match(cursor, STRING);
5886
+ return result && result[1].replace(/\\(["\\])/g, '$1');
5887
+ }
5888
+ // RFC 9651 4.2.10. The percent encoded bytes must be valid UTF-8, which decodeURIComponent
5889
+ // checks as it decodes them
5890
+ function isDisplayString(cursor) {
5891
+ const result = match(cursor, DISPLAY_STRING);
5892
+ if (!result) {
5893
+ return false;
5894
+ }
5895
+ try {
5896
+ return true;
5897
+ }
5898
+ catch {
5899
+ return false;
5900
+ }
5901
+ }
5902
+ // RFC 9651 4.2.3.1. Returns the value of a String, true for any other valid bare item and
5903
+ // false for an invalid one
5904
+ function parseBareItem(cursor) {
5905
+ const c = cursor.input.charAt(cursor.pos);
5906
+ switch (c) {
5907
+ case '"':
5908
+ return parseString(cursor) ?? false;
5909
+ case ':':
5910
+ return !!match(cursor, BYTE_SEQUENCE);
5911
+ case '?':
5912
+ return !!match(cursor, BOOLEAN);
5913
+ case '@':
5914
+ return !!match(cursor, DATE);
5915
+ case '%':
5916
+ return isDisplayString(cursor);
5917
+ }
5918
+ return !!match(cursor, c === '-' || (c >= '0' && c <= '9') ? NUMBER : TOKEN);
5919
+ }
5920
+ /**
5921
+ * Parses a structured field item (RFC 9651 4.2 with field_type "item") whose bare item is a
5922
+ * String. Returns the String and the String parameters, or null if the value does not parse
5923
+ * or the bare item is of another type. A parameter of any other type is stored as true
5924
+ * @internal
5925
+ */
5926
+ function parseStringItem(value) {
5927
+ const cursor = { input: value, pos: 0 };
5928
+ match(cursor, SPACES);
5929
+ const item = parseString(cursor);
5930
+ if (item === null) {
5931
+ return null;
5932
+ }
5933
+ // a later parameter with the same key replaces the earlier one
5934
+ const params = new Map();
5935
+ while (cursor.input[cursor.pos] === ';') {
5936
+ cursor.pos++;
5937
+ match(cursor, SPACES);
5938
+ const key = match(cursor, KEY);
5939
+ if (!key) {
5940
+ return null;
5941
+ }
5942
+ let paramValue = true;
5943
+ if (cursor.input[cursor.pos] === '=') {
5944
+ cursor.pos++;
5945
+ paramValue = parseBareItem(cursor);
5946
+ if (paramValue === false) {
5947
+ return null;
5948
+ }
5949
+ }
5950
+ params.set(key[0], paramValue);
5951
+ }
5952
+ match(cursor, SPACES);
5953
+ return cursor.pos === cursor.input.length ? { value: item, params } : null;
5954
+ }
5955
+ /**
5956
+ * Checks that the origin is the canonical ASCII serialization of a potentially trustworthy
5957
+ * origin, as the draft requires: https, or http on a loopback host
5958
+ * @internal
5959
+ */
5960
+ function isOtpOrigin(origin) {
5961
+ let url;
5962
+ try {
5963
+ url = new URL(origin);
5964
+ }
5965
+ catch {
5966
+ return false;
5967
+ }
5968
+ // the URL parser lowercases the host, converts it to punycode and drops the default port, so
5969
+ // a value that is not canonical, or has a path, userinfo or an opaque origin, does not match
5970
+ // its own origin. The WHATWG parser lets characters such as a quote or a brace into a host,
5971
+ // which the origin grammar (RFC 6454) does not allow, so only a DNS name, an IPv4 address or a
5972
+ // bracketed IPv6 address is accepted
5973
+ if (url.origin !== origin || !/^([a-z0-9_-]+\.)*[a-z0-9_-]+$|^\[[0-9a-f:.]+\]$/.test(url.hostname)) {
5974
+ return false;
5975
+ }
5976
+ const isLoopback = /^(localhost|.+\.localhost|127(\.\d+){3}|\[::1\])$/.test(url.hostname);
5977
+ return url.protocol === 'https:' || (url.protocol === 'http:' && isLoopback);
5978
+ }
5979
+ /**
5980
+ * Returns the one-time passcode from the OTP-Token header of a message, following the
5981
+ * receiver steps of the draft (section 3.2), or undefined if the message has no valid one.
5982
+ * Only the header of the message itself counts, the draft has an OTP-Token in a MIME part
5983
+ * ignored, and more than one OTP-Token header makes the message have none
5984
+ * @internal
5985
+ */
5986
+ function getOtp(headers) {
5987
+ let otpHeader;
5988
+ for (const header of headers) {
5989
+ if (header.key === 'otp-token') {
5990
+ if (otpHeader) {
5991
+ return undefined;
5992
+ }
5993
+ otpHeader = header;
5994
+ }
5995
+ }
5996
+ if (!otpHeader || otpHeader.value.length > MAX_FIELD_LENGTH) {
5997
+ return undefined;
5998
+ }
5999
+ // the header value is already unfolded, which the draft requires before the structured field parse
6000
+ const parsed = parseStringItem(otpHeader.value);
6001
+ const origin = parsed?.params.get('origin');
6002
+ // an empty passcode is valid syntax, but there is nothing in it to fill in
6003
+ if (!parsed?.value || typeof origin !== 'string' || !isOtpOrigin(origin)) {
6004
+ return undefined;
6005
+ }
6006
+ return { code: parsed.value, origin };
6007
+ }
6008
+
5851
6009
  function isReadableStream(value) {
5852
6010
  return !!value && typeof value.getReader === 'function';
5853
6011
  }
@@ -6423,6 +6581,10 @@ class PostalMime {
6423
6581
  // enforce ISO format if seems to be a valid date
6424
6582
  message.date = date.toString() === 'Invalid Date' ? dateHeader.value : date.toISOString();
6425
6583
  }
6584
+ const otp = getOtp(headers);
6585
+ if (otp) {
6586
+ message.otp = otp;
6587
+ }
6426
6588
  if (this.textContent.html) {
6427
6589
  message.html = this.textContent.html;
6428
6590
  }
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { g as getFileBackgroundColor, a as getFileColor, b as getFileExtensionTitle, c as getFileIcon } from './file-metadata-BHzkIH4g.js';
4
4
  import { f as formatBytes } from './format-bytes-24yUSW40.js';
5
5
  import { r as resizeImage } from './image-resize-Dv2HOgWN.js';
6
- import './language-ChagAaNf.js';
6
+ import './language-VamkUr90.js';
7
7
  import './icons-Bu_YRgCL.js';
8
8
  import './get-icon-props-CgNJbSP4.js';
9
9
 
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
4
4
  import './sv-DpsDSi7k.js';
5
5
  import { m as moment } from './moment-_DadZLWp.js';
6
6
  import { i as isIOSDevice, a as isAndroidDevice } from './device-B-tmXAXV.js';
7
- import { g as getPrimarySubtag } from './language-ChagAaNf.js';
7
+ import { a as getPrimarySubtag } from './language-VamkUr90.js';
8
8
  import { e as eq } from './eq-CZ30nDJE.js';
9
9
  import { i as isArrayLike$1 } from './isArrayLike-wfLI14yj.js';
10
10
  import { i as isIndex } from './_isIndex-B--C3qwe.js';
@@ -3,9 +3,9 @@ import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
3
3
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
4
4
  import { r as renderListComponent } from './render-list-component-J1IzNpbv.js';
5
5
  import { C as CheckboxTemplate } from './checkbox.template-CAja2LKZ.js';
6
- import { t as translations } from './translations-kct5Kybu.js';
6
+ import { t as translations } from './translations-D9ZGrMhe.js';
7
7
  import { I as ImageTemplate } from './image.template-BGjw97m_.js';
8
- import './language-ChagAaNf.js';
8
+ import './language-VamkUr90.js';
9
9
 
10
10
  const listItemCss = () => `@charset "UTF-8";*,*:before,*:after{box-sizing:border-box}.boolean-input{--limel-boolean-input-box-size:1.25rem;--limel-boolean-input-gap-size:0.5rem;position:relative;isolation:isolate;display:flex;align-items:center;min-height:var(--limel-checkbox-min-height, 2.5rem);width:100%}.boolean-input input[type=checkbox],.boolean-input input[type=radio]{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;-webkit-appearance:none;-moz-appearance:none;appearance:none}label.boolean-input-label{min-width:var(--limel-boolean-input-box-size);min-height:var(--limel-boolean-input-box-size);padding-top:0.125rem;cursor:pointer;position:relative;width:100%;overflow-wrap:var(--limel-boolean-input-label-overflow-wrap, normal);font-size:var(--limel-theme-default-small-font-size);color:var(--limel-theme-text-primary-on-background-color);padding-left:calc(var(--limel-boolean-input-box-size) + var(--limel-boolean-input-gap-size))}.disabled:not([readonly]):not([readonly=true]) label.boolean-input-label{cursor:not-allowed;color:var(--limel-theme-text-disabled-color)}.required label.boolean-input-label:after{margin-left:0.0625rem;content:"*"}.invalid:not(.readonly) label.boolean-input-label{color:var(--limel-theme-error-text-color)}:host(limel-checkbox.hide-label) label.boolean-input-label,.hide-label label.boolean-input-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0;width:var(--limel-boolean-input-box-size)}.box{position:absolute;pointer-events:none;transition:border-color 0.4s ease 0.2s, background-color 0.2s ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease;display:inline-block;vertical-align:middle;width:var(--limel-boolean-input-box-size);height:var(--limel-boolean-input-box-size);margin-right:var(--limel-boolean-input-gap-size);border-radius:var(--limel-boolean-input-box-border-radius);border:0.125rem solid;border-color:var(--checkbox-unchecked-border-color, rgb(var(--contrast-900)));background-color:var(--limel-checkbox-background-color, rgb(var(--contrast-300)));}.checked .box,.boolean-input>input[type=checkbox]:checked+.box,.boolean-input>input[type=radio]:checked+.box{background-color:var(--lime-primary-color, var(--limel-theme-primary-color));border-color:var(--lime-primary-color, var(--limel-theme-primary-color))}.disabled .box{opacity:0.4}.box{}.boolean-input:not(.disabled):hover .box{will-change:box-shadow;box-shadow:var(--button-shadow-hovered)}.boolean-input:not(.disabled):active .box{will-change:box-shadow;box-shadow:var(--button-shadow-pressed)}.box:before{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);content:"";position:absolute;inset:-0.1875rem;border-radius:inherit;}.boolean-input>input[type=checkbox]:focus-visible+.box:before,.boolean-input>input[type=radio]:focus-visible+.box:before{will-change:box-shadow;box-shadow:var(--shadow-depth-8-focused)}.box:after{transition:opacity 0.2s ease, width 0.4s ease, box-shadow 0.6s cubic-bezier(0.68, -0.55, 0, 1.87), transform 0.6s cubic-bezier(0.68, -0.55, 0, 1.87);content:"";position:absolute;inset:0;margin:auto;border-radius:1rem;opacity:0;background-color:rgb(var(--color-white));}.boolean-input:not(.disabled):hover .box:after{will-change:opacity, box-shadow, transform, width}:host(limel-checkbox){--limel-boolean-input-label-overflow-wrap:var( --checkbox-label-overflow-wrap, normal );min-height:var(--limel-checkbox-min-height, 2.5rem)}.box:after{height:0.125rem;width:0.25rem}.indeterminate .box:after{opacity:1;width:calc(var(--limel-boolean-input-box-size) - 0.5rem)}.checkbox{--limel-boolean-input-box-border-radius:0.25rem}.checkbox svg.check-mark{position:absolute;z-index:1;inset:0;transform:translate3d(-0.125rem, -0.125rem, 0);width:var(--limel-boolean-input-box-size);height:var(--limel-boolean-input-box-size);padding:0.25rem;color:rgb(var(--color-white));opacity:0;stroke-width:0.1875rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}.checkbox svg.check-mark path{stroke-dashoffset:29.7833;stroke-dasharray:29.7833;transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1)}.checkbox{}.checkbox:not(.indeterminate)>input[type=checkbox]:checked+.box svg.check-mark{opacity:1}.checkbox:not(.indeterminate)>input[type=checkbox]:checked+.box svg.check-mark path{stroke-dashoffset:0}limel-dynamic-label{margin-top:0.375rem;margin-left:-0.25rem}:host(limel-checkbox:focus),:host(limel-checkbox:focus-visible),:host(limel-checkbox:focus-within){--limel-h-l-grid-template-rows-transition-speed:0.46s;--limel-h-l-grid-template-rows:1fr}:host(limel-checkbox){--limel-h-l-grid-template-rows-transition-speed:0.3s;--limel-h-l-grid-template-rows:0fr}:host(limel-checkbox:focus) limel-helper-line,:host(limel-checkbox:focus-visible) limel-helper-line,:host(limel-checkbox:focus-within) limel-helper-line,:host(limel-checkbox:hover) limel-helper-line{will-change:grid-template-rows}*,*:before,*:after{box-sizing:border-box}limel-list-item{--limel-list-item-image-size:2rem;min-height:2.5rem}limel-list-item:focus{outline:none}limel-list-item:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}limel-list-item{transition:background-color 0.6s ease;position:relative;isolation:isolate;display:flex;align-items:center;gap:0.5rem;padding:0 1rem;background-color:rgb(var(--contrast-100))}limel-list-item:hover{z-index:1;transition:background-color 0.2s ease;border-radius:0.5rem}limel-list-item:focus,limel-list-item:focus-visible,limel-list-item:active{z-index:1;border-radius:0.5rem}limel-list-item:first-of-type{border-top-left-radius:0.5rem;border-top-right-radius:0.5rem}limel-list-item:last-of-type{border-bottom-left-radius:0.5rem;border-bottom-right-radius:0.5rem}limel-list-item:not([disabled]):not([disabled=true]){cursor:pointer}limel-list-item[disabled]:not([disabled=false]){cursor:not-allowed}limel-list-item[disabled]:not([disabled=false]){cursor:not-allowed}limel-list-item[disabled]:not([disabled=false]) .text,limel-list-item[disabled]:not([disabled=false]) limel-icon,limel-list-item[disabled]:not([disabled=false]) img,limel-list-item[disabled]:not([disabled=false]) .boolean-input{opacity:0.4}limel-list-item:not([disabled]):not([disabled=true]):hover,limel-list-item:not([disabled]):not([disabled=true]):focus-visible{background-color:rgb(var(--contrast-400))}limel-list-item[type=option]:before{transition:background-color 0.6s ease;content:"";position:absolute;inset:0;opacity:0.2;border-radius:0.5rem}limel-list-item[type=option][selected]:not([selected=false]):before{transition:background-color 0.2s ease;background-color:var(--mdc-theme-primary)}limel-list-item .text{flex-grow:1;min-width:0;display:flex;flex-direction:column;padding:0.5rem 0;color:var(--limel-theme-text-primary-on-background-color)}limel-list-item .label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--limel-theme-default-font-size);line-height:1rem}limel-list-item .description{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:var(--maxLinesSecondaryText);line-height:1rem;font-size:var(--limel-theme-default-small-font-size);opacity:0.6}limel-list-item limel-icon{color:var(--limel-theme-text-secondary-on-background-color);flex-shrink:0;margin-left:-0.5rem}limel-list-item limel-icon:has(+img){margin-left:0;position:absolute;top:0.125rem;left:0.125rem;padding:0.1875rem;width:1.25rem;background-color:rgb(var(--contrast-200), 0.8)}limel-list-item img{flex-shrink:0;object-fit:var(--list-item-image-object-fit, cover);border-radius:var(--list-item-image-border-radius, 50%);width:var(--limel-list-item-image-size);height:var(--limel-list-item-image-size);box-shadow:0 0 0 1px rgb(var(--contrast-800), 0.5)}limel-list-item limel-menu{margin-right:-0.5rem;order:var(--limel-list-item-menu-order, 3)}:has(>limel-list-item>img)>limel-list-item:not(:has(>img))>limel-icon{margin-left:0;min-width:var(--limel-list-item-image-size);max-width:var(--limel-list-item-image-size);min-height:var(--limel-list-item-image-size);max-height:var(--limel-list-item-image-size);box-shadow:0 0 0 1px rgb(var(--contrast-800), 0.5)}:has(>limel-list-item>img)>limel-list-item:not(:has(>img))>limel-icon:not([badge]){padding:0.25rem}limel-list-item[role=menuitem] limel-list-item .label{font-size:var(--limel-theme-default-small-font-size)}.boolean-input,limel-radio-button{width:var(--limel-boolean-input-box-size) !important;margin-left:-0.25rem !important}.boolean-input.checkbox{margin-right:0.25rem}limel-list-item:has(limel-icon) .boolean-input,limel-list-item:has(img) .boolean-input{margin-right:-0.25rem;margin-left:0;order:2}.boolean-input .boolean-input-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;opacity:0;width:var(--limel-boolean-input-box-size)}`;
11
11
 
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { a as ENTER } from './keycodes-DQ5DmW_Y.js';
4
4
  import { p as pageFromInput } from './pagination.util-CSC2LJ7P.js';
5
- import './language-ChagAaNf.js';
5
+ import './language-VamkUr90.js';
6
6
 
7
7
  const paginationJumpCss = () => `:host{display:flex;flex-direction:column;gap:0.75rem;padding:0.75rem;min-width:12rem}:host(:not([open])){display:none}`;
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
- import { t as translations } from './translations-kct5Kybu.js';
2
+ import { t as translations } from './translations-D9ZGrMhe.js';
3
3
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
4
- import { g as getPrimarySubtag } from './language-ChagAaNf.js';
4
+ import { g as getSupportedLocale } from './language-VamkUr90.js';
5
5
  import { g as getPageSlots } from './pagination.util-CSC2LJ7P.js';
6
6
 
7
7
  const paginationCss = () => `@charset "UTF-8";:host(limel-pagination){display:block;box-sizing:border-box}*{box-sizing:border-box}nav{display:flex;align-items:center}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button:focus{outline:none}button:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:1.75rem;min-width:1.75rem;border-radius:1.75rem;padding:0 0.5rem;font-variant-numeric:tabular-nums}button:not([aria-disabled=true]):not([aria-current=page]){transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:rgb(var(--contrast-1100));background-color:transparent}button:not([aria-disabled=true]):not([aria-current=page]):hover,button:not([aria-disabled=true]):not([aria-current=page]):focus,button:not([aria-disabled=true]):not([aria-current=page]):focus-visible{will-change:color, background-color, box-shadow, transform}button:not([aria-disabled=true]):not([aria-current=page]):hover,button:not([aria-disabled=true]):not([aria-current=page]):focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button:not([aria-disabled=true]):not([aria-current=page]):hover{box-shadow:var(--button-shadow-hovered)}button:not([aria-disabled=true]):not([aria-current=page]):active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button:not([aria-disabled=true]):not([aria-current=page]):hover,button:not([aria-disabled=true]):not([aria-current=page]):active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button[aria-disabled=true]:not([aria-current=page]){opacity:0.4}button[aria-disabled=true]{cursor:default}button[aria-current=page]{background-color:var(--limel-theme-surface-background-color);box-shadow:var(--button-shadow-inset)}button limel-spinner{position:absolute;pointer-events:none}limel-popover{display:inline-flex}.gap{width:1.75rem;padding:0;color:rgb(var(--contrast-1100))}.gap[aria-expanded=true]{box-shadow:var(--button-shadow-inset-pressed) !important}.arrow span{display:block;border-style:solid;border-color:transparent;border-width:0.25rem 0 0.25rem 0.375rem;border-left-color:currentColor;transition:transform 0.2s ease}.arrow.previous span{transform:rotateZ(180deg)}.arrow:not([aria-disabled=true]):hover.next span{transform:translate3d(0.1rem, 0, 0)}.arrow:not([aria-disabled=true]):hover.previous span{transform:translate3d(-0.1rem, 0, 0) rotateZ(180deg)}.live-region{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}`;
@@ -287,7 +287,7 @@ const Pagination = class {
287
287
  }
288
288
  render() {
289
289
  const { slots } = this.view;
290
- return (h(Host, { key: '924becb588f7d773572b61865b9dd79b14171153' }, h("nav", { key: 'f517b62cf0107c912d576f08e9d99594f868be44', "aria-label": this.translate('pagination.label'), "aria-busy": this.loading ? 'true' : null }, this.renderArrow('previous'), slots.map((slot, index) => this.renderSlot(slot, index)), this.renderArrow('next')), h("span", { key: '21758520849acfe32f43e86570fe60a040cf2748', class: "live-region", "aria-live": "polite" }, this.liveMessage)));
290
+ return (h(Host, { key: '7c47cdc658859b4cd8199ef92ebd9bc48275a8ae' }, h("nav", { key: '3bba45547a7183a4b1df58294a56788f9b2e078f', "aria-label": this.translate('pagination.label'), "aria-busy": this.loading ? 'true' : null }, this.renderArrow('previous'), slots.map((slot, index) => this.renderSlot(slot, index)), this.renderArrow('next')), h("span", { key: '60fff33d8e135b1605d0a0f68b6c1ede1b571281', class: "live-region", "aria-live": "polite" }, this.liveMessage)));
291
291
  }
292
292
  /**
293
293
  * Without a count we know where the user is but not how far the set goes,
@@ -603,9 +603,7 @@ const Pagination = class {
603
603
  }
604
604
  /**
605
605
  * What the jump form is given, so that the one warning about a language
606
- * this browser cannot write numbers in describes both of us. A tag it
607
- * accepts but does not support, `zz`, resolves to the viewer's own locale
608
- * rather than throwing, so asking the formatter is the only way to know.
606
+ * this browser cannot write numbers in describes both of us.
609
607
  */
610
608
  get languageForNumbers() {
611
609
  var _a;
@@ -613,31 +611,21 @@ const Pagination = class {
613
611
  return this.settledLanguage;
614
612
  }
615
613
  /**
616
- * `Intl.NumberFormat` throws on a language it cannot parse, and this is
617
- * called from `render`, so an unusable one would leave the control drawing
618
- * nothing at all — the single state a user cannot click their way out of.
619
- * `src/util/language.ts` states the rule this keeps.
620
- *
621
- * A tag it cannot parse throws; a well-formed tag it does not support, like
622
- * `zz`, does not — it quietly resolves to whatever locale the machine runs
623
- * in. Both end up formatting numbers in something other than what was
624
- * asked for, so both are worth saying out loud.
614
+ * This is called from `render`, so a language that `Intl` cannot write
615
+ * numbers in must not throw, or the control would draw nothing at all —
616
+ * the single state a user cannot click their way out of.
617
+ * `getSupportedLocale` in `src/util/language.ts` decides which languages
618
+ * those are.
625
619
  *
626
620
  * @returns a formatter, in the given language where that is possible
627
621
  */
628
622
  createNumberFormat() {
629
623
  const { language } = this;
630
- try {
631
- const format = new Intl.NumberFormat(language);
632
- const resolved = format.resolvedOptions().locale;
633
- if (getPrimarySubtag(resolved) === getPrimarySubtag(language)) {
634
- this.warnedAbout.delete('language');
635
- this.settledLanguage = language;
636
- return format;
637
- }
638
- }
639
- catch (_a) {
640
- // Fall through to the warning below.
624
+ const locale = getSupportedLocale(language);
625
+ if (locale) {
626
+ this.warnedAbout.delete('language');
627
+ this.settledLanguage = language;
628
+ return new Intl.NumberFormat(locale);
641
629
  }
642
630
  this.warnOnce('language', language, () => `\`language\` must be one this browser can write numbers in, but was ${JSON.stringify(language)}. Using ${FALLBACK_LANGUAGE}.`);
643
631
  // Where the translations land for the same unusable value, rather than