@maggioli-design-system/magma 2.0.0-beta.3 → 2.0.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.
- package/README.md +37 -4
- package/dist/cjs/date-B28IitWe.js +24 -0
- package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
- package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
- package/dist/cjs/form-DTCBh5WK.js +22 -0
- package/dist/cjs/index--6wz7eWi.js +5183 -0
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-CB5_Z7PE.js +816 -0
- package/dist/cjs/locale.it-CfUV2hxK.js +515 -0
- package/dist/cjs/magma-components.cjs.js +31 -4
- package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
- package/dist/cjs/mds-author.cjs.entry.js +9 -4
- package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
- package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
- package/dist/cjs/mds-badge.cjs.entry.js +5 -26
- package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
- package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
- package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
- package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
- package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
- package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
- package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
- package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
- package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
- package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
- package/dist/cjs/mds-card.cjs.entry.js +4 -21
- package/dist/cjs/mds-details.cjs.entry.js +8 -18
- package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
- package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
- package/dist/cjs/mds-entity.cjs.entry.js +11 -23
- package/dist/cjs/mds-file-preview.cjs.entry.js +9 -37
- package/dist/cjs/mds-file.cjs.entry.js +7 -35
- package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
- package/dist/cjs/mds-filter.cjs.entry.js +19 -32
- package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
- package/dist/cjs/mds-header.cjs.entry.js +8 -22
- package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/mds-hr.cjs.entry.js +4 -17
- package/dist/cjs/mds-img.cjs.entry.js +8 -16
- package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
- package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
- package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
- package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
- package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
- package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
- package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
- package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
- package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
- package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
- package/dist/cjs/mds-input.cjs.entry.js +23 -52
- package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
- package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
- package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
- package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
- package/dist/cjs/mds-label.cjs.entry.js +7 -29
- package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
- package/dist/cjs/mds-list.cjs.entry.js +1 -1
- package/dist/cjs/mds-mention.cjs.entry.js +38 -4
- package/dist/cjs/mds-modal.cjs.entry.js +54 -47
- package/dist/cjs/mds-note.cjs.entry.js +7 -35
- package/dist/cjs/mds-notification.cjs.entry.js +12 -14
- package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
- package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
- package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
- package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
- package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
- package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
- package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
- package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
- package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
- package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
- package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
- package/dist/cjs/mds-pref.cjs.entry.js +40 -17
- package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
- package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
- package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
- package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
- package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
- package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
- package/dist/cjs/mds-quote.cjs.entry.js +4 -13
- package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
- package/dist/cjs/mds-separator.cjs.entry.js +4 -21
- package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
- package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
- package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
- package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
- package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
- package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
- package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
- package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
- package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
- package/dist/cjs/mds-table.cjs.entry.js +60 -50
- package/dist/cjs/mds-text.cjs.entry.js +36 -21
- package/dist/cjs/mds-toast.cjs.entry.js +10 -27
- package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
- package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
- package/dist/cjs/mds-tree.cjs.entry.js +12 -6
- package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
- package/dist/cjs/mds-usage.cjs.entry.js +5 -33
- package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
- package/dist/cjs/mds-zero.cjs.entry.js +4 -25
- package/dist/cjs/preference-eJcbLLAn.js +389 -0
- package/dist/cjs/slot-RmXfgH4P.js +69 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/common/date.js +9 -1
- package/dist/collection/common/file.js +13 -10
- package/dist/collection/common/floating-controller.js +175 -9
- package/dist/collection/common/form.js +18 -0
- package/dist/collection/common/keyboard-manager.js +5 -5
- package/dist/collection/common/locale.js +9 -31
- package/dist/collection/common/preference.js +83 -59
- package/dist/collection/common/slot.js +14 -1
- package/dist/collection/common/yugop/random-text.js +12 -3
- package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
- package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
- package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
- package/dist/collection/components/mds-author/mds-author.css +4 -0
- package/dist/collection/components/mds-author/mds-author.js +14 -2
- package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
- package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
- package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
- package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
- package/dist/collection/components/mds-badge/mds-badge.css +168 -155
- package/dist/collection/components/mds-badge/mds-badge.js +2 -31
- package/dist/collection/components/mds-banner/mds-banner.css +149 -192
- package/dist/collection/components/mds-banner/mds-banner.js +10 -58
- package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
- package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
- package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
- package/dist/collection/components/mds-button/mds-button.css +285 -333
- package/dist/collection/components/mds-button/mds-button.js +4 -24
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
- package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
- package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
- package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
- package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
- package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
- package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
- package/dist/collection/components/mds-card/mds-card.css +11 -35
- package/dist/collection/components/mds-card/mds-card.js +2 -22
- package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
- package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
- package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
- package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
- package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
- package/dist/collection/components/mds-chip/mds-chip.css +317 -278
- package/dist/collection/components/mds-chip/mds-chip.js +19 -61
- package/dist/collection/components/mds-details/mds-details.css +52 -28
- package/dist/collection/components/mds-details/mds-details.js +4 -16
- package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
- package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
- package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
- package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
- package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
- package/dist/collection/components/mds-entity/mds-entity.css +25 -76
- package/dist/collection/components/mds-entity/mds-entity.js +13 -24
- package/dist/collection/components/mds-file/mds-file.css +103 -79
- package/dist/collection/components/mds-file/mds-file.js +2 -56
- package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
- package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
- package/dist/collection/components/mds-filter/mds-filter.css +66 -78
- package/dist/collection/components/mds-filter/mds-filter.js +16 -33
- package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
- package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
- package/dist/collection/components/mds-header/mds-header.css +15 -68
- package/dist/collection/components/mds-header/mds-header.js +5 -22
- package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
- package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
- package/dist/collection/components/mds-help/mds-help.css +1 -19
- package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
- package/dist/collection/components/mds-hr/mds-hr.css +6 -18
- package/dist/collection/components/mds-hr/mds-hr.js +2 -21
- package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
- package/dist/collection/components/mds-img/mds-img.css +12 -48
- package/dist/collection/components/mds-img/mds-img.js +5 -36
- package/dist/collection/components/mds-input/mds-input.css +120 -158
- package/dist/collection/components/mds-input/mds-input.js +33 -65
- package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
- package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
- package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
- package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
- package/dist/collection/components/mds-input-field/mds-input-field.css +33 -45
- package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
- package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
- package/dist/collection/components/mds-input-range/mds-input-range.css +61 -19
- package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
- package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
- package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
- package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
- package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
- package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
- package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
- package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
- package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
- package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
- package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
- package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
- package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
- package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +103 -40
- package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
- package/dist/collection/components/mds-label/mds-label.css +265 -354
- package/dist/collection/components/mds-label/mds-label.js +3 -54
- package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
- package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
- package/dist/collection/components/mds-mention/mds-mention.css +19 -10
- package/dist/collection/components/mds-mention/mds-mention.js +62 -2
- package/dist/collection/components/mds-modal/mds-modal.css +71 -101
- package/dist/collection/components/mds-modal/mds-modal.js +72 -45
- package/dist/collection/components/mds-note/mds-note.css +220 -198
- package/dist/collection/components/mds-note/mds-note.js +3 -61
- package/dist/collection/components/mds-notification/mds-notification.css +55 -89
- package/dist/collection/components/mds-notification/mds-notification.js +9 -16
- package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
- package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
- package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
- package/dist/collection/components/mds-pref/mds-pref.js +40 -40
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
- package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
- package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
- package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
- package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
- package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
- package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
- package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
- package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
- package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
- package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
- package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
- package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
- package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
- package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
- package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
- package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
- package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
- package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +100 -94
- package/dist/collection/components/mds-progress/mds-progress.js +2 -27
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
- package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
- package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
- package/dist/collection/components/mds-quote/mds-quote.css +2 -2
- package/dist/collection/components/mds-quote/mds-quote.js +2 -16
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
- package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
- package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
- package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
- package/dist/collection/components/mds-separator/mds-separator.css +12 -42
- package/dist/collection/components/mds-separator/mds-separator.js +2 -26
- package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
- package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
- package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
- package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
- package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
- package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
- package/dist/collection/components/mds-tab/mds-tab.css +85 -189
- package/dist/collection/components/mds-tab/mds-tab.js +5 -27
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
- package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
- package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
- package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
- package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
- package/dist/collection/components/mds-table/mds-table.css +86 -130
- package/dist/collection/components/mds-table/mds-table.js +57 -52
- package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
- package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
- package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
- package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
- package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
- package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
- package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
- package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
- package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
- package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
- package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
- package/dist/collection/components/mds-text/mds-text.css +18 -38
- package/dist/collection/components/mds-text/mds-text.js +23 -22
- package/dist/collection/components/mds-toast/mds-toast.css +99 -90
- package/dist/collection/components/mds-toast/mds-toast.js +8 -28
- package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
- package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
- package/dist/collection/components/mds-tree/mds-tree.css +20 -212
- package/dist/collection/components/mds-tree/mds-tree.js +10 -4
- package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
- package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
- package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
- package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
- package/dist/collection/components/mds-usage/mds-usage.css +80 -95
- package/dist/collection/components/mds-usage/mds-usage.js +2 -60
- package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
- package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
- package/dist/collection/components/mds-zero/mds-zero.css +56 -18
- package/dist/collection/components/mds-zero/mds-zero.js +2 -31
- package/dist/collection/event-detail/theme.js +1 -0
- package/dist/collection/type/preference.js +22 -3
- package/dist/components/index.d.ts +230 -0
- package/dist/components/index.js +1 -1
- package/dist/components/mds-accordion-item.js +1 -1
- package/dist/components/mds-accordion-timer-item.js +1 -1
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/components/mds-accordion.js +1 -1
- package/dist/components/mds-author.js +1 -1
- package/dist/components/mds-avatar-stack-item.js +1 -1
- package/dist/components/mds-avatar-stack.js +1 -1
- package/dist/components/mds-avatar.js +1 -1
- package/dist/components/mds-badge.js +1 -1
- package/dist/components/mds-banner.js +1 -1
- package/dist/components/mds-benchmark-bar.js +1 -1
- package/dist/components/mds-bibliography.js +1 -1
- package/dist/components/mds-breadcrumb-item.js +1 -1
- package/dist/components/mds-breadcrumb.js +1 -1
- package/dist/components/mds-button-dropdown.js +1 -1
- package/dist/components/mds-button-group.js +1 -1
- package/dist/components/mds-button.js +1 -1
- package/dist/components/mds-calendar-cell.js +1 -1
- package/dist/components/mds-calendar.js +1 -1
- package/dist/components/mds-card-content.js +1 -1
- package/dist/components/mds-card-footer.js +1 -1
- package/dist/components/mds-card-header.js +1 -1
- package/dist/components/mds-card-media.js +1 -1
- package/dist/components/mds-card.js +1 -1
- package/dist/components/mds-chip.js +1 -1
- package/dist/components/mds-details.js +1 -1
- package/dist/components/mds-dropdown.js +1 -1
- package/dist/components/mds-emoji.js +3 -3
- package/dist/components/mds-entity.js +1 -1
- package/dist/components/mds-file-preview.js +1 -1
- package/dist/components/mds-file.js +3 -3
- package/dist/components/mds-filter-item.js +1 -1
- package/dist/components/mds-filter.js +1 -1
- package/dist/components/mds-header-bar.js +1 -1
- package/dist/components/mds-header.js +1 -1
- package/dist/components/mds-help.js +1 -1
- package/dist/components/mds-horizontal-scroll.js +1 -1
- package/dist/components/mds-hr.js +1 -1
- package/dist/components/mds-icon.js +1 -1
- package/dist/components/mds-img.js +1 -1
- package/dist/components/mds-input-date-range-preselection.js +1 -1
- package/dist/components/mds-input-date-range.js +1 -1
- package/dist/components/mds-input-date.js +1 -1
- package/dist/components/mds-input-field.js +1 -1
- package/dist/components/mds-input-otp.js +1 -1
- package/dist/components/mds-input-range.js +1 -1
- package/dist/components/mds-input-select.js +1 -1
- package/dist/components/mds-input-switch.js +1 -1
- package/dist/components/mds-input-tip-item.js +1 -1
- package/dist/components/mds-input-tip.js +1 -1
- package/dist/components/mds-input-upload.js +1 -1
- package/dist/components/mds-input.js +1 -1
- package/dist/components/mds-keyboard-key.js +1 -1
- package/dist/components/mds-keyboard.js +1 -1
- package/dist/components/mds-kpi-item.js +1 -1
- package/dist/components/mds-kpi.js +1 -1
- package/dist/components/mds-label.js +1 -1
- package/dist/components/mds-list-item.js +1 -1
- package/dist/components/mds-list.js +1 -1
- package/dist/components/mds-mention.js +1 -1
- package/dist/components/mds-modal.js +1 -1
- package/dist/components/mds-note.js +1 -1
- package/dist/components/mds-notification.js +1 -1
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/components/mds-paginator.js +1 -1
- package/dist/components/mds-policy-ai.js +1 -1
- package/dist/components/mds-pref-animation.js +1 -1
- package/dist/components/mds-pref-consumption.js +1 -1
- package/dist/components/mds-pref-contrast.js +1 -1
- package/dist/components/mds-pref-language-item.js +1 -1
- package/dist/components/mds-pref-language.js +1 -1
- package/dist/components/mds-pref-mode.d.ts +11 -0
- package/dist/components/mds-pref-mode.js +1 -0
- package/dist/components/mds-pref-theme-item.d.ts +11 -0
- package/dist/components/mds-pref-theme-item.js +1 -0
- package/dist/components/mds-pref-theme.js +1 -1
- package/dist/components/mds-pref.js +1 -1
- package/dist/components/mds-price-table-features-cell.js +1 -1
- package/dist/components/mds-price-table-features-row.js +1 -1
- package/dist/components/mds-price-table-features.js +1 -1
- package/dist/components/mds-price-table-header.js +1 -1
- package/dist/components/mds-price-table-list-item.js +1 -1
- package/dist/components/mds-price-table-list.js +1 -1
- package/dist/components/mds-price-table.js +1 -1
- package/dist/components/mds-progress.js +1 -1
- package/dist/components/mds-push-notification-item.js +1 -1
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/components/mds-quote.js +1 -1
- package/dist/components/mds-radial-menu-item.js +1 -1
- package/dist/components/mds-radial-menu.js +1 -1
- package/dist/components/mds-radial-progress.js +1 -1
- package/dist/components/mds-separator.js +1 -1
- package/dist/components/mds-spinner.js +1 -1
- package/dist/components/mds-status-bar.js +1 -1
- package/dist/components/mds-stepper-bar-item.js +1 -1
- package/dist/components/mds-stepper-bar.js +1 -1
- package/dist/components/mds-tab-bar-item.js +1 -1
- package/dist/components/mds-tab-bar.js +1 -1
- package/dist/components/mds-tab-item.js +1 -1
- package/dist/components/mds-tab.js +1 -1
- package/dist/components/mds-table-body.js +1 -1
- package/dist/components/mds-table-cell.js +1 -1
- package/dist/components/mds-table-footer.js +1 -1
- package/dist/components/mds-table-header-cell.js +1 -1
- package/dist/components/mds-table-header.js +1 -1
- package/dist/components/mds-table-row.js +1 -1
- package/dist/components/mds-table.js +1 -1
- package/dist/components/mds-text.js +1 -1
- package/dist/components/mds-toast.js +1 -1
- package/dist/components/mds-tooltip.js +1 -1
- package/dist/components/mds-tree-item.js +1 -1
- package/dist/components/mds-tree.js +1 -1
- package/dist/components/mds-url-view.js +1 -1
- package/dist/components/mds-usage.js +1 -1
- package/dist/components/mds-video-wall.js +1 -1
- package/dist/components/mds-zero.js +1 -1
- package/dist/components/p--8aaJX-p.js +1 -0
- package/dist/components/p-A9TZf0Ii.js +1 -0
- package/dist/components/p-B2A_hlV2.js +1 -0
- package/dist/components/p-B9DJLgwr.js +1 -0
- package/dist/components/p-BH3bWzRT.js +1 -0
- package/dist/components/p-BJNK4p33.js +1 -0
- package/dist/components/p-BNHXZ-JR.js +1 -0
- package/dist/components/p-BSxuG1vZ.js +1 -0
- package/dist/components/p-BTHR4xXu.js +1 -0
- package/dist/components/p-BhFTcUD0.js +3 -0
- package/dist/components/p-BouRLCYL.js +1 -0
- package/dist/components/p-Bss3F51Q.js +5 -0
- package/dist/components/p-Bt4xX5ww.js +1 -0
- package/dist/components/p-C03KYHGv.js +1 -0
- package/dist/components/p-C58NKMEE.js +1 -0
- package/dist/components/p-CACEYk42.js +1 -0
- package/dist/components/p-CBLAz3_J.js +1 -0
- package/dist/components/p-CHAGzQT-.js +1 -0
- package/dist/components/p-CVgKDZPF.js +1 -0
- package/dist/components/p-CVpjH8Un.js +1 -0
- package/dist/components/p-Caksrfcd.js +1 -0
- package/dist/components/p-CatD1iUY.js +1 -0
- package/dist/components/p-CbufYCNj.js +1 -0
- package/dist/components/p-Cehcn85x.js +1 -0
- package/dist/components/p-ClKNADBg.js +8 -0
- package/dist/components/p-CsgCQiHG.js +1 -0
- package/dist/components/p-CvIFS8oA.js +1 -0
- package/dist/components/p-D3-GP4KF.js +1 -0
- package/dist/components/p-D8I1RblC.js +1 -0
- package/dist/components/p-DLE5TNTp.js +1 -0
- package/dist/components/p-DaI5QqNu.js +1 -0
- package/dist/components/p-Deh5Aia-.js +1 -0
- package/dist/components/p-Dj_oN194.js +1 -0
- package/dist/components/p-DmELzfvf.js +1 -0
- package/dist/components/p-DtxB7DYE.js +1 -0
- package/dist/components/p-KRu9I7dw.js +1 -0
- package/dist/components/p-cBZsPiMJ.js +1 -0
- package/dist/components/p-s2Gu6hY7.js +1 -0
- package/dist/components/p-sqRs6oj4.js +1 -0
- package/dist/components/p-wq6nWuWE.js +1 -0
- package/dist/documentation.json +751 -1138
- package/dist/esm/date-CACEYk42.js +22 -0
- package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
- package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
- package/dist/esm/form-A9TZf0Ii.js +19 -0
- package/dist/esm/index-DIiEV39g.js +5149 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-CbJbTW_c.js +814 -0
- package/dist/esm/locale.it-Cvxh7La5.js +506 -0
- package/dist/esm/magma-components.js +32 -5
- package/dist/esm/mds-accordion-item.entry.js +7 -28
- package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
- package/dist/esm/mds-accordion-timer.entry.js +3 -3
- package/dist/esm/mds-accordion.entry.js +5 -22
- package/dist/esm/mds-author.entry.js +9 -4
- package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
- package/dist/esm/mds-avatar-stack.entry.js +5 -4
- package/dist/esm/mds-avatar.entry.js +8 -21
- package/dist/esm/mds-badge.entry.js +5 -26
- package/dist/esm/mds-banner_3.entry.js +35 -70
- package/dist/esm/mds-benchmark-bar.entry.js +2 -2
- package/dist/esm/mds-bibliography.entry.js +2 -2
- package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
- package/dist/esm/mds-breadcrumb.entry.js +7 -15
- package/dist/esm/mds-button-dropdown.entry.js +3 -3
- package/dist/esm/mds-button-group.entry.js +3 -3
- package/dist/esm/mds-button_3.entry.js +10 -32
- package/dist/esm/mds-calendar_2.entry.js +123 -102
- package/dist/esm/mds-card-content.entry.js +2 -2
- package/dist/esm/mds-card-footer.entry.js +2 -2
- package/dist/esm/mds-card-header.entry.js +9 -4
- package/dist/esm/mds-card-media.entry.js +2 -2
- package/dist/esm/mds-card.entry.js +4 -21
- package/dist/esm/mds-details.entry.js +8 -18
- package/dist/esm/mds-dropdown.entry.js +184 -58
- package/dist/esm/mds-emoji.entry.js +301 -181
- package/dist/esm/mds-entity.entry.js +11 -23
- package/dist/esm/mds-file-preview.entry.js +9 -37
- package/dist/esm/mds-file.entry.js +7 -35
- package/dist/esm/mds-filter-item.entry.js +6 -25
- package/dist/esm/mds-filter.entry.js +19 -32
- package/dist/esm/mds-header-bar.entry.js +11 -27
- package/dist/esm/mds-header.entry.js +8 -22
- package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
- package/dist/esm/mds-hr.entry.js +4 -17
- package/dist/esm/mds-img.entry.js +8 -16
- package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
- package/dist/esm/mds-input-date-range.entry.js +57 -43
- package/dist/esm/mds-input-date.entry.js +14 -44
- package/dist/esm/mds-input-field.entry.js +42 -6
- package/dist/esm/mds-input-otp.entry.js +37 -3
- package/dist/esm/mds-input-range.entry.js +9 -29
- package/dist/esm/mds-input-select.entry.js +11 -41
- package/dist/esm/mds-input-switch_2.entry.js +19 -55
- package/dist/esm/mds-input-tip_2.entry.js +8 -40
- package/dist/esm/mds-input-upload.entry.js +34 -36
- package/dist/esm/mds-input.entry.js +23 -52
- package/dist/esm/mds-keyboard-key.entry.js +5 -14
- package/dist/esm/mds-keyboard.entry.js +5 -25
- package/dist/esm/mds-kpi-item.entry.js +12 -25
- package/dist/esm/mds-kpi.entry.js +2 -2
- package/dist/esm/mds-label.entry.js +7 -29
- package/dist/esm/mds-list-item.entry.js +4 -13
- package/dist/esm/mds-list.entry.js +1 -1
- package/dist/esm/mds-mention.entry.js +38 -4
- package/dist/esm/mds-modal.entry.js +54 -47
- package/dist/esm/mds-note.entry.js +7 -35
- package/dist/esm/mds-notification.entry.js +12 -14
- package/dist/esm/mds-paginator-item.entry.js +5 -20
- package/dist/esm/mds-paginator.entry.js +27 -32
- package/dist/esm/mds-policy-ai.entry.js +5 -15
- package/dist/esm/mds-pref-animation.entry.js +7 -23
- package/dist/esm/mds-pref-consumption.entry.js +7 -23
- package/dist/esm/mds-pref-contrast.entry.js +10 -24
- package/dist/esm/mds-pref-language-item.entry.js +27 -15
- package/dist/esm/mds-pref-language.entry.js +38 -28
- package/dist/esm/mds-pref-mode.entry.js +271 -0
- package/dist/esm/mds-pref-theme-item.entry.js +41 -0
- package/dist/esm/mds-pref-theme.entry.js +147 -230
- package/dist/esm/mds-pref.entry.js +40 -17
- package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
- package/dist/esm/mds-price-table-features-row.entry.js +4 -25
- package/dist/esm/mds-price-table-features.entry.js +4 -25
- package/dist/esm/mds-price-table-header.entry.js +2 -2
- package/dist/esm/mds-price-table-list-item.entry.js +3 -3
- package/dist/esm/mds-price-table-list.entry.js +4 -25
- package/dist/esm/mds-price-table.entry.js +2 -2
- package/dist/esm/mds-progress_2.entry.js +7 -33
- package/dist/esm/mds-push-notification-item.entry.js +16 -39
- package/dist/esm/mds-push-notification.entry.js +7 -20
- package/dist/esm/mds-quote.entry.js +4 -13
- package/dist/esm/mds-radial-menu-item.entry.js +3 -3
- package/dist/esm/mds-radial-menu.entry.js +7 -6
- package/dist/esm/mds-separator.entry.js +4 -21
- package/dist/esm/mds-status-bar.entry.js +4 -25
- package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
- package/dist/esm/mds-stepper-bar.entry.js +21 -12
- package/dist/esm/mds-tab-bar-item.entry.js +6 -27
- package/dist/esm/mds-tab-bar.entry.js +5 -26
- package/dist/esm/mds-tab_2.entry.js +14 -47
- package/dist/esm/mds-table-body.entry.js +4 -13
- package/dist/esm/mds-table-footer.entry.js +4 -13
- package/dist/esm/mds-table-header-cell.entry.js +4 -13
- package/dist/esm/mds-table-header.entry.js +19 -31
- package/dist/esm/mds-table-row.entry.js +20 -29
- package/dist/esm/mds-table.entry.js +60 -50
- package/dist/esm/mds-text.entry.js +36 -21
- package/dist/esm/mds-toast.entry.js +10 -27
- package/dist/esm/mds-tooltip.entry.js +16 -27
- package/dist/esm/mds-tree-item.entry.js +12 -14
- package/dist/esm/mds-tree.entry.js +12 -6
- package/dist/esm/mds-url-view.entry.js +21 -41
- package/dist/esm/mds-usage.entry.js +5 -33
- package/dist/esm/mds-video-wall.entry.js +8 -4
- package/dist/esm/mds-zero.entry.js +4 -25
- package/dist/esm/preference-CKerJx2M.js +385 -0
- package/dist/esm/slot-C0o_l0td.js +61 -0
- package/dist/esm-es5/date-CACEYk42.js +6 -0
- package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
- package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
- package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
- package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
- package/dist/esm-es5/index-DIiEV39g.js +371 -0
- package/dist/esm-es5/index.js +79 -1
- package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
- package/dist/esm-es5/locale.it-Cvxh7La5.js +6 -0
- package/dist/esm-es5/magma-components.js +4 -1
- package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
- package/dist/esm-es5/mds-accordion.entry.js +7 -1
- package/dist/esm-es5/mds-author.entry.js +1 -1
- package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
- package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
- package/dist/esm-es5/mds-avatar.entry.js +8 -1
- package/dist/esm-es5/mds-badge.entry.js +12 -1
- package/dist/esm-es5/mds-banner_3.entry.js +40 -1
- package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
- package/dist/esm-es5/mds-bibliography.entry.js +14 -1
- package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
- package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
- package/dist/esm-es5/mds-button-group.entry.js +1 -1
- package/dist/esm-es5/mds-button_3.entry.js +42 -1
- package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
- package/dist/esm-es5/mds-card-content.entry.js +1 -1
- package/dist/esm-es5/mds-card-footer.entry.js +1 -1
- package/dist/esm-es5/mds-card-header.entry.js +1 -1
- package/dist/esm-es5/mds-card-media.entry.js +1 -1
- package/dist/esm-es5/mds-card.entry.js +7 -1
- package/dist/esm-es5/mds-details.entry.js +4 -1
- package/dist/esm-es5/mds-dropdown.entry.js +102 -1
- package/dist/esm-es5/mds-emoji.entry.js +899 -3
- package/dist/esm-es5/mds-entity.entry.js +1 -1
- package/dist/esm-es5/mds-file-preview.entry.js +23 -2
- package/dist/esm-es5/mds-file.entry.js +2823 -3
- package/dist/esm-es5/mds-filter-item.entry.js +1 -1
- package/dist/esm-es5/mds-filter.entry.js +11 -1
- package/dist/esm-es5/mds-header-bar.entry.js +11 -1
- package/dist/esm-es5/mds-header.entry.js +30 -1
- package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
- package/dist/esm-es5/mds-hr.entry.js +1 -1
- package/dist/esm-es5/mds-img.entry.js +15 -1
- package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
- package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
- package/dist/esm-es5/mds-input-date.entry.js +50 -1
- package/dist/esm-es5/mds-input-field.entry.js +22 -1
- package/dist/esm-es5/mds-input-otp.entry.js +13 -1
- package/dist/esm-es5/mds-input-range.entry.js +24 -1
- package/dist/esm-es5/mds-input-select.entry.js +39 -1
- package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
- package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
- package/dist/esm-es5/mds-input-upload.entry.js +63 -1
- package/dist/esm-es5/mds-input.entry.js +134 -1
- package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
- package/dist/esm-es5/mds-keyboard.entry.js +11 -1
- package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
- package/dist/esm-es5/mds-kpi.entry.js +1 -1
- package/dist/esm-es5/mds-label.entry.js +16 -1
- package/dist/esm-es5/mds-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-list.entry.js +1 -1
- package/dist/esm-es5/mds-mention.entry.js +4 -1
- package/dist/esm-es5/mds-modal.entry.js +68 -1
- package/dist/esm-es5/mds-note.entry.js +7 -1
- package/dist/esm-es5/mds-notification.entry.js +13 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator.entry.js +14 -1
- package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
- package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
- package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
- package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
- package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
- package/dist/esm-es5/mds-pref-language.entry.js +15 -1
- package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
- package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
- package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
- package/dist/esm-es5/mds-pref.entry.js +9 -1
- package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
- package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
- package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
- package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
- package/dist/esm-es5/mds-price-table.entry.js +1 -1
- package/dist/esm-es5/mds-progress_2.entry.js +32 -1
- package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
- package/dist/esm-es5/mds-push-notification.entry.js +49 -1
- package/dist/esm-es5/mds-quote.entry.js +7 -1
- package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
- package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
- package/dist/esm-es5/mds-separator.entry.js +1 -1
- package/dist/esm-es5/mds-status-bar.entry.js +10 -1
- package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
- package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
- package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
- package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
- package/dist/esm-es5/mds-tab_2.entry.js +26 -1
- package/dist/esm-es5/mds-table-body.entry.js +1 -1
- package/dist/esm-es5/mds-table-footer.entry.js +1 -1
- package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
- package/dist/esm-es5/mds-table-header.entry.js +14 -1
- package/dist/esm-es5/mds-table-row.entry.js +8 -1
- package/dist/esm-es5/mds-table.entry.js +15 -1
- package/dist/esm-es5/mds-text.entry.js +27 -1
- package/dist/esm-es5/mds-toast.entry.js +15 -1
- package/dist/esm-es5/mds-tooltip.entry.js +37 -1
- package/dist/esm-es5/mds-tree-item.entry.js +16 -1
- package/dist/esm-es5/mds-tree.entry.js +20 -1
- package/dist/esm-es5/mds-url-view.entry.js +7 -1
- package/dist/esm-es5/mds-usage.entry.js +4 -1
- package/dist/esm-es5/mds-video-wall.entry.js +16 -1
- package/dist/esm-es5/mds-zero.entry.js +1 -1
- package/dist/esm-es5/preference-CKerJx2M.js +58 -0
- package/dist/esm-es5/slot-C0o_l0td.js +23 -0
- package/dist/hydrate/index.js +4281 -3175
- package/dist/hydrate/index.mjs +4281 -3175
- package/dist/magma-components/index.esm.js +1 -1
- package/dist/magma-components/magma-components.esm.js +1 -1
- package/dist/magma-components/magma-components.js +1 -1
- package/dist/magma-components/p-03be5c0c.entry.js +1 -0
- package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
- package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
- package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
- package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
- package/dist/magma-components/p-086fb3aa.entry.js +1 -0
- package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
- package/dist/magma-components/p-0a691082.entry.js +1 -0
- package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
- package/dist/magma-components/p-0af8d821.entry.js +1 -0
- package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
- package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
- package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
- package/dist/magma-components/p-10704ede.system.entry.js +4 -0
- package/dist/magma-components/p-15f63bf3.entry.js +1 -0
- package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
- package/dist/magma-components/p-1780b8ba.entry.js +1 -0
- package/dist/magma-components/p-181dfb04.entry.js +1 -0
- package/dist/magma-components/p-184720be.system.entry.js +1 -0
- package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
- package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
- package/dist/magma-components/p-1afc0452.entry.js +1 -0
- package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
- package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
- package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
- package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
- package/dist/magma-components/p-209063b6.system.entry.js +50 -0
- package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
- package/dist/magma-components/p-21891a24.entry.js +1 -0
- package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
- package/dist/magma-components/p-231505e8.entry.js +1 -0
- package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
- package/dist/magma-components/p-241dbf61.entry.js +1 -0
- package/dist/magma-components/p-25935d33.system.entry.js +1 -0
- package/dist/magma-components/p-27ea99ee.entry.js +8 -0
- package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
- package/dist/magma-components/p-29684655.system.entry.js +16 -0
- package/dist/magma-components/p-2b73fee6.entry.js +1 -0
- package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
- package/dist/magma-components/p-2de17848.entry.js +1 -0
- package/dist/magma-components/p-34482514.entry.js +1 -0
- package/dist/magma-components/p-34c0890e.entry.js +1 -0
- package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
- package/dist/magma-components/p-3b0c1202.entry.js +1 -0
- package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
- package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
- package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
- package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
- package/dist/magma-components/p-40563e33.entry.js +1 -0
- package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
- package/dist/magma-components/p-421a630e.entry.js +1 -0
- package/dist/magma-components/p-4297da23.system.entry.js +1 -0
- package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
- package/dist/magma-components/p-4543501c.entry.js +1 -0
- package/dist/magma-components/p-454c4774.entry.js +1 -0
- package/dist/magma-components/p-4616bc07.entry.js +1 -0
- package/dist/magma-components/p-46786d71.system.entry.js +14 -0
- package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
- package/dist/magma-components/p-481008e9.system.entry.js +13 -0
- package/dist/magma-components/p-48d37230.entry.js +1 -0
- package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
- package/dist/magma-components/p-4c8316a8.entry.js +1 -0
- package/dist/magma-components/p-4c95442e.entry.js +1 -0
- package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
- package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
- package/dist/magma-components/p-4f107cb2.system.entry.js +2838 -0
- package/dist/magma-components/p-4oB0woT9.system.js +6 -0
- package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
- package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
- package/dist/magma-components/p-59de81ac.entry.js +1 -0
- package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
- package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
- package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
- package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
- package/dist/magma-components/p-636cc471.entry.js +1 -0
- package/dist/magma-components/p-66ce2dee.entry.js +1 -0
- package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
- package/dist/magma-components/p-6937f340.entry.js +1 -0
- package/dist/magma-components/p-69d1b815.entry.js +1 -0
- package/dist/magma-components/p-6b7e449f.entry.js +1 -0
- package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
- package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
- package/dist/magma-components/p-6ce60d59.entry.js +1 -0
- package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
- package/dist/magma-components/p-6dc27543.entry.js +1 -0
- package/dist/magma-components/p-6de37588.entry.js +1 -0
- package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
- package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
- package/dist/magma-components/p-7090184f.entry.js +1 -0
- package/dist/magma-components/p-716ad14c.entry.js +1 -0
- package/dist/magma-components/p-71804224.entry.js +1 -0
- package/dist/magma-components/p-735dc594.system.entry.js +1 -0
- package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
- package/dist/magma-components/p-74b0902a.entry.js +1 -0
- package/dist/magma-components/p-7530a2f2.entry.js +1 -0
- package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
- package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
- package/dist/magma-components/p-76ae22d6.entry.js +1 -0
- package/dist/magma-components/p-78248693.entry.js +1 -0
- package/dist/magma-components/p-78fef00a.entry.js +1 -0
- package/dist/magma-components/p-7c0d202c.entry.js +1 -0
- package/dist/magma-components/p-7fc29447.entry.js +1 -0
- package/dist/magma-components/p-81b72b6e.entry.js +1 -0
- package/dist/magma-components/p-859ab5a2.entry.js +18 -0
- package/dist/magma-components/p-896ae0ee.entry.js +1 -0
- package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
- package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
- package/dist/magma-components/p-8c4fb7ec.system.entry.js +30 -0
- package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
- package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
- package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
- package/dist/magma-components/p-92e1001f.entry.js +1 -0
- package/dist/magma-components/p-9378b373.system.entry.js +49 -0
- package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
- package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
- package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
- package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
- package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
- package/dist/magma-components/p-998721b9.system.entry.js +1 -0
- package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
- package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
- package/dist/magma-components/p-9be4a736.entry.js +1 -0
- package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
- package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
- package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
- package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
- package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
- package/dist/magma-components/p-A9TZf0Ii.js +1 -0
- package/dist/magma-components/p-B6mQg6yQ.js +1 -0
- package/dist/magma-components/p-BFnx_0hM.js +5 -0
- package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
- package/dist/magma-components/p-BbMKuVem.js +1 -0
- package/dist/magma-components/p-C0o_l0td.js +1 -0
- package/dist/magma-components/p-C2FHijr2.system.js +231 -0
- package/dist/magma-components/p-CACEYk42.js +1 -0
- package/dist/magma-components/p-CBam2PI8.system.js +79 -0
- package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
- package/dist/magma-components/p-CHAGzQT-.js +1 -0
- package/dist/magma-components/p-CI85vVs8.system.js +9 -0
- package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
- package/dist/magma-components/p-DB8Rm54c.js +1 -0
- package/dist/magma-components/p-DIiEV39g.js +3 -0
- package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
- package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
- package/dist/magma-components/p-KRu9I7dw.js +1 -0
- package/dist/magma-components/p-LerCJgfP.system.js +5 -0
- package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
- package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
- package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
- package/dist/magma-components/p-a3b0f586.entry.js +1 -0
- package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
- package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
- package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
- package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
- package/dist/magma-components/p-a93b2a39.entry.js +1 -0
- package/dist/magma-components/p-aa267e7b.entry.js +1 -0
- package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
- package/dist/magma-components/p-ac544ab1.entry.js +1 -0
- package/dist/magma-components/p-ace198e9.entry.js +1 -0
- package/dist/magma-components/p-ad3983b2.entry.js +1 -0
- package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
- package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
- package/dist/magma-components/p-b23a6c83.entry.js +1 -0
- package/dist/magma-components/p-b35c26f8.entry.js +18 -0
- package/dist/magma-components/p-b3a3578c.entry.js +1 -0
- package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
- package/dist/magma-components/p-b71e0d51.entry.js +1 -0
- package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
- package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
- package/dist/magma-components/p-ba035f90.entry.js +1 -0
- package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
- package/dist/magma-components/p-bd490a8e.entry.js +1 -0
- package/dist/magma-components/p-be198039.system.entry.js +4 -0
- package/dist/magma-components/p-be692266.system.entry.js +13 -0
- package/dist/magma-components/p-bf7168b4.entry.js +1 -0
- package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
- package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
- package/dist/magma-components/p-c4e58240.entry.js +1 -0
- package/dist/magma-components/p-c573de10.entry.js +1 -0
- package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
- package/dist/magma-components/p-c70d7159.entry.js +1 -0
- package/dist/magma-components/p-c7517884.system.entry.js +38 -0
- package/dist/magma-components/p-c9be79bd.entry.js +1 -0
- package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
- package/dist/magma-components/p-cb6a1908.entry.js +1 -0
- package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
- package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
- package/dist/magma-components/p-cd5866c8.entry.js +1 -0
- package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
- package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
- package/dist/magma-components/p-d3116844.entry.js +1 -0
- package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
- package/dist/magma-components/p-d3933a22.entry.js +1 -0
- package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
- package/dist/magma-components/p-d4a529ce.entry.js +1 -0
- package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
- package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
- package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
- package/dist/magma-components/p-d921d876.entry.js +1 -0
- package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
- package/dist/magma-components/p-ddbdce09.entry.js +1 -0
- package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
- package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
- package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
- package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
- package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
- package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
- package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
- package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
- package/dist/magma-components/p-e3e893c4.entry.js +1 -0
- package/dist/magma-components/p-e4868ade.entry.js +1 -0
- package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
- package/dist/magma-components/p-e5da7036.entry.js +1 -0
- package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
- package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
- package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
- package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
- package/dist/magma-components/p-ef8cb401.entry.js +1 -0
- package/dist/magma-components/p-efe8d359.entry.js +1 -0
- package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
- package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
- package/dist/magma-components/p-f1462410.system.entry.js +9 -0
- package/dist/magma-components/p-f23d4974.entry.js +1 -0
- package/dist/magma-components/p-f542246f.system.entry.js +1 -0
- package/dist/magma-components/p-f5c680dd.entry.js +1 -0
- package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
- package/dist/magma-components/p-f8369939.entry.js +1 -0
- package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
- package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
- package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
- package/dist/magma-components/p-ff133cbd.entry.js +1 -0
- package/dist/magma-components/p-fff44704.entry.js +1 -0
- package/dist/magma-components/p-opeIIa7t.system.js +7 -0
- package/dist/stats.json +5356 -7143
- package/dist/types/common/date.d.ts +5 -1
- package/dist/types/common/floating-controller.d.ts +56 -2
- package/dist/types/common/form.d.ts +10 -0
- package/dist/types/common/locale.d.ts +0 -5
- package/dist/types/common/preference.d.ts +48 -16
- package/dist/types/common/slot.d.ts +11 -1
- package/dist/types/common/yugop/random-text.d.ts +8 -0
- package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
- package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
- package/dist/types/components/mds-author/mds-author.d.ts +2 -1
- package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
- package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
- package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
- package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
- package/dist/types/components/mds-button/mds-button.d.ts +0 -7
- package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
- package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
- package/dist/types/components/mds-card/mds-card.d.ts +0 -8
- package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
- package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
- package/dist/types/components/mds-details/mds-details.d.ts +0 -5
- package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
- package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
- package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
- package/dist/types/components/mds-file/mds-file.d.ts +0 -15
- package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
- package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
- package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
- package/dist/types/components/mds-header/mds-header.d.ts +0 -7
- package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
- package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
- package/dist/types/components/mds-img/mds-img.d.ts +1 -7
- package/dist/types/components/mds-input/mds-input.d.ts +7 -15
- package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
- package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
- package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
- package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
- package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
- package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
- package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
- package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
- package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
- package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
- package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
- package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
- package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
- package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
- package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
- package/dist/types/components/mds-label/mds-label.d.ts +0 -12
- package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
- package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
- package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
- package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
- package/dist/types/components/mds-note/mds-note.d.ts +0 -15
- package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
- package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
- package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
- package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
- package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
- package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
- package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
- package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
- package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
- package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
- package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
- package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
- package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
- package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
- package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
- package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
- package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
- package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
- package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
- package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
- package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
- package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
- package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
- package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
- package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
- package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
- package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
- package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
- package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
- package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
- package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
- package/dist/types/components/mds-table/mds-table.d.ts +10 -14
- package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
- package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
- package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
- package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
- package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
- package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
- package/dist/types/components/mds-text/mds-text.d.ts +0 -4
- package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
- package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
- package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
- package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
- package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
- package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
- package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
- package/dist/types/components.d.ts +243 -239
- package/dist/types/event-detail/preference.d.ts +2 -2
- package/dist/types/event-detail/theme.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -0
- package/dist/types/type/preference.d.ts +16 -3
- package/loader/index.d.ts +1 -1
- package/package.json +60 -66
- package/dist/cjs/date-dnDGaLCn.js +0 -16
- package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
- package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
- package/dist/cjs/index-CNuKb6Lv.js +0 -2896
- package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
- package/dist/cjs/locale-oGW3SvGJ.js +0 -837
- package/dist/cjs/locale.it-D-rxNDkm.js +0 -512
- package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
- package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
- package/dist/cjs/preference-BdpIXWLP.js +0 -81
- package/dist/cjs/slot-CI0KpgtY.js +0 -52
- package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
- package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
- package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
- package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
- package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
- package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
- package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
- package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
- package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
- package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
- package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
- package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
- package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
- package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
- package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
- package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
- package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
- package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
- package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
- package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
- package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
- package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
- package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
- package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
- package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
- package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
- package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
- package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
- package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
- package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
- package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
- package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
- package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
- package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
- package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
- package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
- package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
- package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
- package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
- package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
- package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
- package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
- package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
- package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
- package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
- package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
- package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
- package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
- package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
- package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
- package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
- package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
- package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
- package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
- package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
- package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
- package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
- package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
- package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
- package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
- package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
- package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
- package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
- package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
- package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
- package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
- package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
- package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
- package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
- package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
- package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
- package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
- package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
- package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
- package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
- package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
- package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
- package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
- package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
- package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
- package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
- package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
- package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
- package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
- package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
- package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
- package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
- package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
- package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
- package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
- package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
- package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
- package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
- package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
- package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
- package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
- package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
- package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
- package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
- package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
- package/dist/collection/storybook/box-shadows.stories.js +0 -53
- package/dist/collection/storybook/color-scale.stories.js +0 -465
- package/dist/collection/storybook/components-preview.stories.js +0 -36
- package/dist/collection/storybook/example-page.stories.js +0 -10
- package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
- package/dist/collection/storybook/input-form.stories.js +0 -40
- package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
- package/dist/collection/test/file.js +0 -53
- package/dist/collection/test/mock.js +0 -19
- package/dist/components/date.js +0 -1
- package/dist/components/floating-controller.js +0 -1
- package/dist/components/floating-ui.dom.js +0 -1
- package/dist/components/icons-set.service.js +0 -1
- package/dist/components/keyboard-manager.js +0 -1
- package/dist/components/locale.it.js +0 -1
- package/dist/components/locale.js +0 -5
- package/dist/components/mds-avatar-stack-item2.js +0 -1
- package/dist/components/mds-avatar2.js +0 -1
- package/dist/components/mds-badge2.js +0 -1
- package/dist/components/mds-banner2.js +0 -1
- package/dist/components/mds-button2.js +0 -1
- package/dist/components/mds-calendar-cell2.js +0 -1
- package/dist/components/mds-calendar2.js +0 -1
- package/dist/components/mds-chip2.js +0 -1
- package/dist/components/mds-dropdown2.js +0 -1
- package/dist/components/mds-file-preview2.js +0 -8
- package/dist/components/mds-filter-item2.js +0 -1
- package/dist/components/mds-help2.js +0 -1
- package/dist/components/mds-icon2.js +0 -1
- package/dist/components/mds-img2.js +0 -1
- package/dist/components/mds-input-switch2.js +0 -1
- package/dist/components/mds-input-tip-item2.js +0 -1
- package/dist/components/mds-input-tip2.js +0 -1
- package/dist/components/mds-input2.js +0 -1
- package/dist/components/mds-modal2.js +0 -1
- package/dist/components/mds-paginator-item2.js +0 -1
- package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant-item.js +0 -1
- package/dist/components/mds-pref-theme-variant.d.ts +0 -11
- package/dist/components/mds-pref-theme-variant.js +0 -1
- package/dist/components/mds-progress2.js +0 -1
- package/dist/components/mds-radial-progress2.js +0 -1
- package/dist/components/mds-separator2.js +0 -1
- package/dist/components/mds-spinner2.js +0 -1
- package/dist/components/mds-tab-item2.js +0 -1
- package/dist/components/mds-tab2.js +0 -1
- package/dist/components/mds-table-cell2.js +0 -1
- package/dist/components/mds-table-header-cell2.js +0 -1
- package/dist/components/mds-text2.js +0 -1
- package/dist/components/mds-tooltip2.js +0 -1
- package/dist/components/preference.js +0 -1
- package/dist/components/slot.js +0 -1
- package/dist/esm/date-C1oxPa_J.js +0 -14
- package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
- package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
- package/dist/esm/index-CAd5312P.js +0 -2869
- package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
- package/dist/esm/locale-a4oAcjYG.js +0 -835
- package/dist/esm/locale.it-Dj8sWDfj.js +0 -503
- package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
- package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
- package/dist/esm/preference-fMwnXhio.js +0 -79
- package/dist/esm/slot-ttrRC6OE.js +0 -48
- package/dist/esm-es5/date-C1oxPa_J.js +0 -1
- package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
- package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
- package/dist/esm-es5/index-CAd5312P.js +0 -1
- package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
- package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
- package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
- package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
- package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
- package/dist/esm-es5/preference-fMwnXhio.js +0 -1
- package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-0105d7c7.entry.js +0 -8
- package/dist/magma-components/p-022defe8.entry.js +0 -1
- package/dist/magma-components/p-02d858d0.entry.js +0 -1
- package/dist/magma-components/p-0607a2b3.entry.js +0 -1
- package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
- package/dist/magma-components/p-0b91aae4.entry.js +0 -1
- package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
- package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
- package/dist/magma-components/p-0e986d85.entry.js +0 -18
- package/dist/magma-components/p-0ea42813.entry.js +0 -1
- package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
- package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
- package/dist/magma-components/p-11567740.entry.js +0 -1
- package/dist/magma-components/p-116238cf.system.entry.js +0 -1
- package/dist/magma-components/p-1239667c.system.entry.js +0 -1
- package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
- package/dist/magma-components/p-16c94506.system.entry.js +0 -1
- package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
- package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
- package/dist/magma-components/p-19446c9e.entry.js +0 -1
- package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
- package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
- package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
- package/dist/magma-components/p-2035564c.system.entry.js +0 -1
- package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
- package/dist/magma-components/p-21ee64ec.entry.js +0 -1
- package/dist/magma-components/p-224d2f55.entry.js +0 -1
- package/dist/magma-components/p-23791e85.system.entry.js +0 -1
- package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
- package/dist/magma-components/p-249b80a5.entry.js +0 -1
- package/dist/magma-components/p-262daf4f.entry.js +0 -1
- package/dist/magma-components/p-288ce251.entry.js +0 -1
- package/dist/magma-components/p-2a804b82.entry.js +0 -1
- package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
- package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
- package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
- package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
- package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
- package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
- package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
- package/dist/magma-components/p-31403b12.entry.js +0 -1
- package/dist/magma-components/p-31616d0b.entry.js +0 -1
- package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
- package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
- package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
- package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
- package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
- package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
- package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
- package/dist/magma-components/p-385f395d.system.entry.js +0 -1
- package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
- package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
- package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
- package/dist/magma-components/p-3de6fa18.entry.js +0 -1
- package/dist/magma-components/p-41da539f.entry.js +0 -1
- package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
- package/dist/magma-components/p-447c2d1b.entry.js +0 -1
- package/dist/magma-components/p-44e2965d.entry.js +0 -1
- package/dist/magma-components/p-46266f27.entry.js +0 -1
- package/dist/magma-components/p-4630472f.entry.js +0 -1
- package/dist/magma-components/p-4671336c.entry.js +0 -1
- package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
- package/dist/magma-components/p-4a929c1c.entry.js +0 -1
- package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
- package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
- package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
- package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
- package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
- package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
- package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
- package/dist/magma-components/p-5724212b.entry.js +0 -1
- package/dist/magma-components/p-5be1c273.entry.js +0 -1
- package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
- package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
- package/dist/magma-components/p-5e626696.entry.js +0 -1
- package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
- package/dist/magma-components/p-5fe8c814.entry.js +0 -1
- package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
- package/dist/magma-components/p-611fa0a4.entry.js +0 -1
- package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
- package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
- package/dist/magma-components/p-652b4e43.entry.js +0 -1
- package/dist/magma-components/p-6a92f533.entry.js +0 -1
- package/dist/magma-components/p-6b3569a0.entry.js +0 -1
- package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
- package/dist/magma-components/p-6ecfec17.entry.js +0 -1
- package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
- package/dist/magma-components/p-6ee86191.entry.js +0 -1
- package/dist/magma-components/p-70719b58.entry.js +0 -1
- package/dist/magma-components/p-70e1a436.entry.js +0 -1
- package/dist/magma-components/p-725d9e09.entry.js +0 -1
- package/dist/magma-components/p-726a76f0.entry.js +0 -1
- package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
- package/dist/magma-components/p-73926a10.entry.js +0 -1
- package/dist/magma-components/p-7499262d.system.entry.js +0 -1
- package/dist/magma-components/p-750214a3.entry.js +0 -1
- package/dist/magma-components/p-7590a160.entry.js +0 -1
- package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
- package/dist/magma-components/p-765447d4.system.entry.js +0 -1
- package/dist/magma-components/p-76cb480d.entry.js +0 -1
- package/dist/magma-components/p-79e12ac8.entry.js +0 -1
- package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
- package/dist/magma-components/p-7c464f28.entry.js +0 -1
- package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
- package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
- package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
- package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
- package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
- package/dist/magma-components/p-85a2d99d.entry.js +0 -1
- package/dist/magma-components/p-8620f425.entry.js +0 -1
- package/dist/magma-components/p-89581b08.system.entry.js +0 -1
- package/dist/magma-components/p-8964a9fe.entry.js +0 -1
- package/dist/magma-components/p-899cd759.entry.js +0 -1
- package/dist/magma-components/p-8RYXTPXs.js +0 -1
- package/dist/magma-components/p-8b2408b2.entry.js +0 -1
- package/dist/magma-components/p-8b9f6896.entry.js +0 -1
- package/dist/magma-components/p-8bde0c42.entry.js +0 -1
- package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
- package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
- package/dist/magma-components/p-93538408.system.entry.js +0 -1
- package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
- package/dist/magma-components/p-96f7ec63.entry.js +0 -1
- package/dist/magma-components/p-97144490.entry.js +0 -1
- package/dist/magma-components/p-999b0698.system.entry.js +0 -1
- package/dist/magma-components/p-9e533765.system.entry.js +0 -18
- package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
- package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
- package/dist/magma-components/p-BudfaWhu.js +0 -1
- package/dist/magma-components/p-C1oxPa_J.js +0 -1
- package/dist/magma-components/p-CAd5312P.js +0 -2
- package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
- package/dist/magma-components/p-CSb7Iu19.js +0 -1
- package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
- package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
- package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
- package/dist/magma-components/p-DssKRrAV.system.js +0 -1
- package/dist/magma-components/p-MSUJeuJp.js +0 -1
- package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
- package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
- package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
- package/dist/magma-components/p-a2d761d6.entry.js +0 -1
- package/dist/magma-components/p-a379adca.entry.js +0 -1
- package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
- package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
- package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
- package/dist/magma-components/p-a4oAcjYG.js +0 -5
- package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
- package/dist/magma-components/p-a6103622.entry.js +0 -1
- package/dist/magma-components/p-a6b8b861.entry.js +0 -1
- package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
- package/dist/magma-components/p-a716833c.system.entry.js +0 -1
- package/dist/magma-components/p-a877906d.system.entry.js +0 -1
- package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
- package/dist/magma-components/p-a92edada.entry.js +0 -1
- package/dist/magma-components/p-aafec5fe.entry.js +0 -1
- package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
- package/dist/magma-components/p-ac2ee475.entry.js +0 -1
- package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
- package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
- package/dist/magma-components/p-ae433eb9.entry.js +0 -1
- package/dist/magma-components/p-afaef9a1.entry.js +0 -1
- package/dist/magma-components/p-b257222c.system.entry.js +0 -1
- package/dist/magma-components/p-b472ed3c.entry.js +0 -1
- package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
- package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
- package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
- package/dist/magma-components/p-b97edfb5.entry.js +0 -1
- package/dist/magma-components/p-bc851caf.entry.js +0 -1
- package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
- package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
- package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
- package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
- package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
- package/dist/magma-components/p-c01c49b6.entry.js +0 -1
- package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
- package/dist/magma-components/p-c036f516.entry.js +0 -1
- package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
- package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
- package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
- package/dist/magma-components/p-c92a772e.entry.js +0 -1
- package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
- package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
- package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
- package/dist/magma-components/p-cd49c455.entry.js +0 -1
- package/dist/magma-components/p-d0542487.entry.js +0 -1
- package/dist/magma-components/p-d0dfe659.entry.js +0 -1
- package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
- package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
- package/dist/magma-components/p-d4295773.entry.js +0 -1
- package/dist/magma-components/p-d5700423.system.entry.js +0 -1
- package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
- package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
- package/dist/magma-components/p-daa8f835.entry.js +0 -1
- package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
- package/dist/magma-components/p-de0dac8f.entry.js +0 -1
- package/dist/magma-components/p-de8204f9.entry.js +0 -1
- package/dist/magma-components/p-e0b841e3.entry.js +0 -1
- package/dist/magma-components/p-e35ab355.entry.js +0 -1
- package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
- package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
- package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
- package/dist/magma-components/p-e57698df.system.entry.js +0 -1
- package/dist/magma-components/p-e669739e.entry.js +0 -1
- package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
- package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
- package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
- package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
- package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
- package/dist/magma-components/p-ef142420.system.entry.js +0 -1
- package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
- package/dist/magma-components/p-f0762290.entry.js +0 -1
- package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
- package/dist/magma-components/p-f4b1974a.entry.js +0 -1
- package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
- package/dist/magma-components/p-f83a9e08.entry.js +0 -1
- package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
- package/dist/magma-components/p-f91dab2b.entry.js +0 -1
- package/dist/magma-components/p-fMwnXhio.js +0 -1
- package/dist/magma-components/p-fa61d03c.entry.js +0 -1
- package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
- package/dist/magma-components/p-fbfb589c.entry.js +0 -1
- package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
- package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
- package/dist/magma-components/p-fd574e21.entry.js +0 -1
- package/dist/magma-components/p-fd649ac2.entry.js +0 -1
- package/dist/magma-components/p-fed36619.entry.js +0 -1
- package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
- package/dist/magma-components/p-oCzRm29V.system.js +0 -1
- package/dist/magma-components/p-ttrRC6OE.js +0 -1
- package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
- package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
- package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
- package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
- package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
- package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
- package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
- package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
- package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
- package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
- package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
- package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
- package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
- package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
- package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
- package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
- package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
- package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
- package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
- package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
- package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
- package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
- package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
- package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
- package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
- package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
- package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
- package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
- package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
- package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
- package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
- package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
- package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
- package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
- package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
- package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
- package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
- package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
- package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
- package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
- package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
- package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
- package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
- package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
- package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
- package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
- package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
- package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
- package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
- package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
- package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
- package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
- package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
- package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
- package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
- package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
- package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
- package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
- package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
- package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
- package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
- package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
- package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
- package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
- package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
- package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
- package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
- package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
- package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
- package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
- package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
- package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
- package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
- package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
- package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
- package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
- package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
- package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
- package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
- package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
- package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
- package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
- package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
- package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
- package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
- package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
- package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
- package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
- package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
- package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
- package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
- package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
- package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
- package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
- package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
- package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
- package/dist/types/event-detail/theme-variant.d.ts +0 -5
- package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
- package/dist/types/storybook/color-scale.stories.d.ts +0 -7
- package/dist/types/storybook/components-preview.stories.d.ts +0 -33
- package/dist/types/storybook/example-page.stories.d.ts +0 -7
- package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
- package/dist/types/storybook/input-form.stories.d.ts +0 -7
- package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
- package/dist/types/test/file.d.ts +0 -35
- package/dist/types/test/mock.d.ts +0 -2
- /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
- /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
- /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
- /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
- /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
- /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
- /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
- /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
- /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
- /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
- /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
- /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
- /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
- /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
- /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
- /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
- /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
- /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
- /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
- /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
- /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
- /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
- /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
|
@@ -0,0 +1,2838 @@
|
|
|
1
|
+
System.register(["./p-MGv0i39Y.system.js","./p-DIUTGDX_.system.js","./p-4oB0woT9.system.js","./p-C2FHijr2.system.js","./p-CDTiTqY0.system.js","./p-ChNqZgW5.system.js","./p-TXBtE7G5.system.js"],(function(r){"use strict";var t,a,n,i,e,o,v,s,f,u,c,h,l,d,p,m,b;return{setters:[function(r){t=r.r;a=r.d;n=r.h;i=r.e;e=r.g},function(r){o=r.a;v=r.c},function(r){s=r.f;f=r.a;u=r.b;c=r.c;h=r.g;l=r.d;d=r.h;p=r.e},function(r){m=r.L},function(r){b=r.p},null,null],execute:function(){var g={exports:{}};function w(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var x={exports:{}};var y={};var k=Object.freeze({__proto__:null,default:y});var _=o(k);var z=x.exports;var S;function B(){if(S)return x.exports;S=1;(function(r,t){(function(t,a){{
|
|
2
|
+
// CommonJS
|
|
3
|
+
r.exports=a()}})(z,(function(){
|
|
4
|
+
/*globals window, global, require*/
|
|
5
|
+
/**
|
|
6
|
+
* CryptoJS core components.
|
|
7
|
+
*/
|
|
8
|
+
var r=r||function(r,t){var a;
|
|
9
|
+
// Native crypto from window (Browser)
|
|
10
|
+
if(typeof window!=="undefined"&&window.crypto){a=window.crypto}
|
|
11
|
+
// Native crypto in web worker (Browser)
|
|
12
|
+
if(typeof self!=="undefined"&&self.crypto){a=self.crypto}
|
|
13
|
+
// Native crypto from worker
|
|
14
|
+
if(typeof globalThis!=="undefined"&&globalThis.crypto){a=globalThis.crypto}
|
|
15
|
+
// Native (experimental IE 11) crypto from window (Browser)
|
|
16
|
+
if(!a&&typeof window!=="undefined"&&window.msCrypto){a=window.msCrypto}
|
|
17
|
+
// Native crypto from global (NodeJS)
|
|
18
|
+
if(!a&&typeof v!=="undefined"&&v.crypto){a=v.crypto}
|
|
19
|
+
// Native crypto import via require (NodeJS)
|
|
20
|
+
if(!a&&typeof w==="function"){try{a=_}catch(r){}}
|
|
21
|
+
/*
|
|
22
|
+
* Cryptographically secure pseudorandom number generator
|
|
23
|
+
*
|
|
24
|
+
* As Math.random() is cryptographically not safe to use
|
|
25
|
+
*/var n=function(){if(a){
|
|
26
|
+
// Use getRandomValues method (Browser)
|
|
27
|
+
if(typeof a.getRandomValues==="function"){try{return a.getRandomValues(new Uint32Array(1))[0]}catch(r){}}
|
|
28
|
+
// Use randomBytes method (NodeJS)
|
|
29
|
+
if(typeof a.randomBytes==="function"){try{return a.randomBytes(4).readInt32LE()}catch(r){}}}throw new Error("Native crypto module could not be used to get secure random number.")};
|
|
30
|
+
/*
|
|
31
|
+
* Local polyfill of Object.create
|
|
32
|
+
|
|
33
|
+
*/var i=Object.create||function(){function r(){}return function(t){var a;r.prototype=t;a=new r;r.prototype=null;return a}}();
|
|
34
|
+
/**
|
|
35
|
+
* CryptoJS namespace.
|
|
36
|
+
*/var e={};
|
|
37
|
+
/**
|
|
38
|
+
* Library namespace.
|
|
39
|
+
*/var o=e.lib={};
|
|
40
|
+
/**
|
|
41
|
+
* Base object for prototypal inheritance.
|
|
42
|
+
*/var s=o.Base=function(){return{
|
|
43
|
+
/**
|
|
44
|
+
* Creates a new object that inherits from this object.
|
|
45
|
+
*
|
|
46
|
+
* @param {Object} overrides Properties to copy into the new object.
|
|
47
|
+
*
|
|
48
|
+
* @return {Object} The new object.
|
|
49
|
+
*
|
|
50
|
+
* @static
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
*
|
|
54
|
+
* var MyType = CryptoJS.lib.Base.extend({
|
|
55
|
+
* field: 'value',
|
|
56
|
+
*
|
|
57
|
+
* method: function () {
|
|
58
|
+
* }
|
|
59
|
+
* });
|
|
60
|
+
*/
|
|
61
|
+
extend:function(r){
|
|
62
|
+
// Spawn
|
|
63
|
+
var t=i(this);
|
|
64
|
+
// Augment
|
|
65
|
+
if(r){t.mixIn(r)}
|
|
66
|
+
// Create default initializer
|
|
67
|
+
if(!t.hasOwnProperty("init")||this.init===t.init){t.init=function(){t.$super.init.apply(this,arguments)}}
|
|
68
|
+
// Initializer's prototype is the subtype object
|
|
69
|
+
t.init.prototype=t;
|
|
70
|
+
// Reference supertype
|
|
71
|
+
t.$super=this;return t},
|
|
72
|
+
/**
|
|
73
|
+
* Extends this object and runs the init method.
|
|
74
|
+
* Arguments to create() will be passed to init().
|
|
75
|
+
*
|
|
76
|
+
* @return {Object} The new object.
|
|
77
|
+
*
|
|
78
|
+
* @static
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
*
|
|
82
|
+
* var instance = MyType.create();
|
|
83
|
+
*/
|
|
84
|
+
create:function(){var r=this.extend();r.init.apply(r,arguments);return r},
|
|
85
|
+
/**
|
|
86
|
+
* Initializes a newly created object.
|
|
87
|
+
* Override this method to add some logic when your objects are created.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
*
|
|
91
|
+
* var MyType = CryptoJS.lib.Base.extend({
|
|
92
|
+
* init: function () {
|
|
93
|
+
* // ...
|
|
94
|
+
* }
|
|
95
|
+
* });
|
|
96
|
+
*/
|
|
97
|
+
init:function(){},
|
|
98
|
+
/**
|
|
99
|
+
* Copies properties into this object.
|
|
100
|
+
*
|
|
101
|
+
* @param {Object} properties The properties to mix in.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
*
|
|
105
|
+
* MyType.mixIn({
|
|
106
|
+
* field: 'value'
|
|
107
|
+
* });
|
|
108
|
+
*/
|
|
109
|
+
mixIn:function(r){for(var t in r){if(r.hasOwnProperty(t)){this[t]=r[t]}}
|
|
110
|
+
// IE won't copy toString using the loop above
|
|
111
|
+
if(r.hasOwnProperty("toString")){this.toString=r.toString}},
|
|
112
|
+
/**
|
|
113
|
+
* Creates a copy of this object.
|
|
114
|
+
*
|
|
115
|
+
* @return {Object} The clone.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
*
|
|
119
|
+
* var clone = instance.clone();
|
|
120
|
+
*/
|
|
121
|
+
clone:function(){return this.init.prototype.extend(this)}}}();
|
|
122
|
+
/**
|
|
123
|
+
* An array of 32-bit words.
|
|
124
|
+
*
|
|
125
|
+
* @property {Array} words The array of 32-bit words.
|
|
126
|
+
* @property {number} sigBytes The number of significant bytes in this word array.
|
|
127
|
+
*/var f=o.WordArray=s.extend({
|
|
128
|
+
/**
|
|
129
|
+
* Initializes a newly created word array.
|
|
130
|
+
*
|
|
131
|
+
* @param {Array} words (Optional) An array of 32-bit words.
|
|
132
|
+
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
*
|
|
136
|
+
* var wordArray = CryptoJS.lib.WordArray.create();
|
|
137
|
+
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
|
|
138
|
+
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
|
|
139
|
+
*/
|
|
140
|
+
init:function(r,a){r=this.words=r||[];if(a!=t){this.sigBytes=a}else{this.sigBytes=r.length*4}},
|
|
141
|
+
/**
|
|
142
|
+
* Converts this word array to a string.
|
|
143
|
+
*
|
|
144
|
+
* @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
|
|
145
|
+
*
|
|
146
|
+
* @return {string} The stringified word array.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
*
|
|
150
|
+
* var string = wordArray + '';
|
|
151
|
+
* var string = wordArray.toString();
|
|
152
|
+
* var string = wordArray.toString(CryptoJS.enc.Utf8);
|
|
153
|
+
*/
|
|
154
|
+
toString:function(r){return(r||c).stringify(this)},
|
|
155
|
+
/**
|
|
156
|
+
* Concatenates a word array to this word array.
|
|
157
|
+
*
|
|
158
|
+
* @param {WordArray} wordArray The word array to append.
|
|
159
|
+
*
|
|
160
|
+
* @return {WordArray} This word array.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
*
|
|
164
|
+
* wordArray1.concat(wordArray2);
|
|
165
|
+
*/
|
|
166
|
+
concat:function(r){
|
|
167
|
+
// Shortcuts
|
|
168
|
+
var t=this.words;var a=r.words;var n=this.sigBytes;var i=r.sigBytes;
|
|
169
|
+
// Clamp excess bits
|
|
170
|
+
this.clamp();
|
|
171
|
+
// Concat
|
|
172
|
+
if(n%4){
|
|
173
|
+
// Copy one byte at a time
|
|
174
|
+
for(var e=0;e<i;e++){var o=a[e>>>2]>>>24-e%4*8&255;t[n+e>>>2]|=o<<24-(n+e)%4*8}}else{
|
|
175
|
+
// Copy one word at a time
|
|
176
|
+
for(var v=0;v<i;v+=4){t[n+v>>>2]=a[v>>>2]}}this.sigBytes+=i;
|
|
177
|
+
// Chainable
|
|
178
|
+
return this},
|
|
179
|
+
/**
|
|
180
|
+
* Removes insignificant bits.
|
|
181
|
+
*
|
|
182
|
+
* @example
|
|
183
|
+
*
|
|
184
|
+
* wordArray.clamp();
|
|
185
|
+
*/
|
|
186
|
+
clamp:function(){
|
|
187
|
+
// Shortcuts
|
|
188
|
+
var t=this.words;var a=this.sigBytes;
|
|
189
|
+
// Clamp
|
|
190
|
+
t[a>>>2]&=4294967295<<32-a%4*8;t.length=r.ceil(a/4)},
|
|
191
|
+
/**
|
|
192
|
+
* Creates a copy of this word array.
|
|
193
|
+
*
|
|
194
|
+
* @return {WordArray} The clone.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
*
|
|
198
|
+
* var clone = wordArray.clone();
|
|
199
|
+
*/
|
|
200
|
+
clone:function(){var r=s.clone.call(this);r.words=this.words.slice(0);return r},
|
|
201
|
+
/**
|
|
202
|
+
* Creates a word array filled with random bytes.
|
|
203
|
+
*
|
|
204
|
+
* @param {number} nBytes The number of random bytes to generate.
|
|
205
|
+
*
|
|
206
|
+
* @return {WordArray} The random word array.
|
|
207
|
+
*
|
|
208
|
+
* @static
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
*
|
|
212
|
+
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
213
|
+
*/
|
|
214
|
+
random:function(r){var t=[];for(var a=0;a<r;a+=4){t.push(n())}return new f.init(t,r)}});
|
|
215
|
+
/**
|
|
216
|
+
* Encoder namespace.
|
|
217
|
+
*/var u=e.enc={};
|
|
218
|
+
/**
|
|
219
|
+
* Hex encoding strategy.
|
|
220
|
+
*/var c=u.Hex={
|
|
221
|
+
/**
|
|
222
|
+
* Converts a word array to a hex string.
|
|
223
|
+
*
|
|
224
|
+
* @param {WordArray} wordArray The word array.
|
|
225
|
+
*
|
|
226
|
+
* @return {string} The hex string.
|
|
227
|
+
*
|
|
228
|
+
* @static
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
*
|
|
232
|
+
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
233
|
+
*/
|
|
234
|
+
stringify:function(r){
|
|
235
|
+
// Shortcuts
|
|
236
|
+
var t=r.words;var a=r.sigBytes;
|
|
237
|
+
// Convert
|
|
238
|
+
var n=[];for(var i=0;i<a;i++){var e=t[i>>>2]>>>24-i%4*8&255;n.push((e>>>4).toString(16));n.push((e&15).toString(16))}return n.join("")},
|
|
239
|
+
/**
|
|
240
|
+
* Converts a hex string to a word array.
|
|
241
|
+
*
|
|
242
|
+
* @param {string} hexStr The hex string.
|
|
243
|
+
*
|
|
244
|
+
* @return {WordArray} The word array.
|
|
245
|
+
*
|
|
246
|
+
* @static
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
*
|
|
250
|
+
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
251
|
+
*/
|
|
252
|
+
parse:function(r){
|
|
253
|
+
// Shortcut
|
|
254
|
+
var t=r.length;
|
|
255
|
+
// Convert
|
|
256
|
+
var a=[];for(var n=0;n<t;n+=2){a[n>>>3]|=parseInt(r.substr(n,2),16)<<24-n%8*4}return new f.init(a,t/2)}};
|
|
257
|
+
/**
|
|
258
|
+
* Latin1 encoding strategy.
|
|
259
|
+
*/var h=u.Latin1={
|
|
260
|
+
/**
|
|
261
|
+
* Converts a word array to a Latin1 string.
|
|
262
|
+
*
|
|
263
|
+
* @param {WordArray} wordArray The word array.
|
|
264
|
+
*
|
|
265
|
+
* @return {string} The Latin1 string.
|
|
266
|
+
*
|
|
267
|
+
* @static
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
*
|
|
271
|
+
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
272
|
+
*/
|
|
273
|
+
stringify:function(r){
|
|
274
|
+
// Shortcuts
|
|
275
|
+
var t=r.words;var a=r.sigBytes;
|
|
276
|
+
// Convert
|
|
277
|
+
var n=[];for(var i=0;i<a;i++){var e=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(e))}return n.join("")},
|
|
278
|
+
/**
|
|
279
|
+
* Converts a Latin1 string to a word array.
|
|
280
|
+
*
|
|
281
|
+
* @param {string} latin1Str The Latin1 string.
|
|
282
|
+
*
|
|
283
|
+
* @return {WordArray} The word array.
|
|
284
|
+
*
|
|
285
|
+
* @static
|
|
286
|
+
*
|
|
287
|
+
* @example
|
|
288
|
+
*
|
|
289
|
+
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
290
|
+
*/
|
|
291
|
+
parse:function(r){
|
|
292
|
+
// Shortcut
|
|
293
|
+
var t=r.length;
|
|
294
|
+
// Convert
|
|
295
|
+
var a=[];for(var n=0;n<t;n++){a[n>>>2]|=(r.charCodeAt(n)&255)<<24-n%4*8}return new f.init(a,t)}};
|
|
296
|
+
/**
|
|
297
|
+
* UTF-8 encoding strategy.
|
|
298
|
+
*/var l=u.Utf8={
|
|
299
|
+
/**
|
|
300
|
+
* Converts a word array to a UTF-8 string.
|
|
301
|
+
*
|
|
302
|
+
* @param {WordArray} wordArray The word array.
|
|
303
|
+
*
|
|
304
|
+
* @return {string} The UTF-8 string.
|
|
305
|
+
*
|
|
306
|
+
* @static
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
*
|
|
310
|
+
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
|
|
311
|
+
*/
|
|
312
|
+
stringify:function(r){try{return decodeURIComponent(escape(h.stringify(r)))}catch(r){throw new Error("Malformed UTF-8 data")}},
|
|
313
|
+
/**
|
|
314
|
+
* Converts a UTF-8 string to a word array.
|
|
315
|
+
*
|
|
316
|
+
* @param {string} utf8Str The UTF-8 string.
|
|
317
|
+
*
|
|
318
|
+
* @return {WordArray} The word array.
|
|
319
|
+
*
|
|
320
|
+
* @static
|
|
321
|
+
*
|
|
322
|
+
* @example
|
|
323
|
+
*
|
|
324
|
+
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
|
|
325
|
+
*/
|
|
326
|
+
parse:function(r){return h.parse(unescape(encodeURIComponent(r)))}};
|
|
327
|
+
/**
|
|
328
|
+
* Abstract buffered block algorithm template.
|
|
329
|
+
*
|
|
330
|
+
* The property blockSize must be implemented in a concrete subtype.
|
|
331
|
+
*
|
|
332
|
+
* @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0
|
|
333
|
+
*/var d=o.BufferedBlockAlgorithm=s.extend({
|
|
334
|
+
/**
|
|
335
|
+
* Resets this block algorithm's data buffer to its initial state.
|
|
336
|
+
*
|
|
337
|
+
* @example
|
|
338
|
+
*
|
|
339
|
+
* bufferedBlockAlgorithm.reset();
|
|
340
|
+
*/
|
|
341
|
+
reset:function(){
|
|
342
|
+
// Initial values
|
|
343
|
+
this._data=new f.init;this._nDataBytes=0},
|
|
344
|
+
/**
|
|
345
|
+
* Adds new data to this block algorithm's buffer.
|
|
346
|
+
*
|
|
347
|
+
* @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
|
|
348
|
+
*
|
|
349
|
+
* @example
|
|
350
|
+
*
|
|
351
|
+
* bufferedBlockAlgorithm._append('data');
|
|
352
|
+
* bufferedBlockAlgorithm._append(wordArray);
|
|
353
|
+
*/
|
|
354
|
+
_append:function(r){
|
|
355
|
+
// Convert string to WordArray, else assume WordArray already
|
|
356
|
+
if(typeof r=="string"){r=l.parse(r)}
|
|
357
|
+
// Append
|
|
358
|
+
this._data.concat(r);this._nDataBytes+=r.sigBytes},
|
|
359
|
+
/**
|
|
360
|
+
* Processes available data blocks.
|
|
361
|
+
*
|
|
362
|
+
* This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
|
|
363
|
+
*
|
|
364
|
+
* @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
|
|
365
|
+
*
|
|
366
|
+
* @return {WordArray} The processed data.
|
|
367
|
+
*
|
|
368
|
+
* @example
|
|
369
|
+
*
|
|
370
|
+
* var processedData = bufferedBlockAlgorithm._process();
|
|
371
|
+
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
372
|
+
*/
|
|
373
|
+
_process:function(t){var a;
|
|
374
|
+
// Shortcuts
|
|
375
|
+
var n=this._data;var i=n.words;var e=n.sigBytes;var o=this.blockSize;var v=o*4;
|
|
376
|
+
// Count blocks ready
|
|
377
|
+
var s=e/v;if(t){
|
|
378
|
+
// Round up to include partial blocks
|
|
379
|
+
s=r.ceil(s)}else{
|
|
380
|
+
// Round down to include only full blocks,
|
|
381
|
+
// less the number of blocks that must remain in the buffer
|
|
382
|
+
s=r.max((s|0)-this._minBufferSize,0)}
|
|
383
|
+
// Count words ready
|
|
384
|
+
var u=s*o;
|
|
385
|
+
// Count bytes ready
|
|
386
|
+
var c=r.min(u*4,e);
|
|
387
|
+
// Process blocks
|
|
388
|
+
if(u){for(var h=0;h<u;h+=o){
|
|
389
|
+
// Perform concrete-algorithm logic
|
|
390
|
+
this._doProcessBlock(i,h)}
|
|
391
|
+
// Remove processed words
|
|
392
|
+
a=i.splice(0,u);n.sigBytes-=c}
|
|
393
|
+
// Return processed words
|
|
394
|
+
return new f.init(a,c)},
|
|
395
|
+
/**
|
|
396
|
+
* Creates a copy of this object.
|
|
397
|
+
*
|
|
398
|
+
* @return {Object} The clone.
|
|
399
|
+
*
|
|
400
|
+
* @example
|
|
401
|
+
*
|
|
402
|
+
* var clone = bufferedBlockAlgorithm.clone();
|
|
403
|
+
*/
|
|
404
|
+
clone:function(){var r=s.clone.call(this);r._data=this._data.clone();return r},_minBufferSize:0});
|
|
405
|
+
/**
|
|
406
|
+
* Abstract hasher template.
|
|
407
|
+
*
|
|
408
|
+
* @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)
|
|
409
|
+
*/o.Hasher=d.extend({
|
|
410
|
+
/**
|
|
411
|
+
* Configuration options.
|
|
412
|
+
*/
|
|
413
|
+
cfg:s.extend(),
|
|
414
|
+
/**
|
|
415
|
+
* Initializes a newly created hasher.
|
|
416
|
+
*
|
|
417
|
+
* @param {Object} cfg (Optional) The configuration options to use for this hash computation.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
*
|
|
421
|
+
* var hasher = CryptoJS.algo.SHA256.create();
|
|
422
|
+
*/
|
|
423
|
+
init:function(r){
|
|
424
|
+
// Apply config defaults
|
|
425
|
+
this.cfg=this.cfg.extend(r);
|
|
426
|
+
// Set initial values
|
|
427
|
+
this.reset()},
|
|
428
|
+
/**
|
|
429
|
+
* Resets this hasher to its initial state.
|
|
430
|
+
*
|
|
431
|
+
* @example
|
|
432
|
+
*
|
|
433
|
+
* hasher.reset();
|
|
434
|
+
*/
|
|
435
|
+
reset:function(){
|
|
436
|
+
// Reset data buffer
|
|
437
|
+
d.reset.call(this);
|
|
438
|
+
// Perform concrete-hasher logic
|
|
439
|
+
this._doReset()},
|
|
440
|
+
/**
|
|
441
|
+
* Updates this hasher with a message.
|
|
442
|
+
*
|
|
443
|
+
* @param {WordArray|string} messageUpdate The message to append.
|
|
444
|
+
*
|
|
445
|
+
* @return {Hasher} This hasher.
|
|
446
|
+
*
|
|
447
|
+
* @example
|
|
448
|
+
*
|
|
449
|
+
* hasher.update('message');
|
|
450
|
+
* hasher.update(wordArray);
|
|
451
|
+
*/
|
|
452
|
+
update:function(r){
|
|
453
|
+
// Append
|
|
454
|
+
this._append(r);
|
|
455
|
+
// Update the hash
|
|
456
|
+
this._process();
|
|
457
|
+
// Chainable
|
|
458
|
+
return this},
|
|
459
|
+
/**
|
|
460
|
+
* Finalizes the hash computation.
|
|
461
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
|
462
|
+
*
|
|
463
|
+
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
|
464
|
+
*
|
|
465
|
+
* @return {WordArray} The hash.
|
|
466
|
+
*
|
|
467
|
+
* @example
|
|
468
|
+
*
|
|
469
|
+
* var hash = hasher.finalize();
|
|
470
|
+
* var hash = hasher.finalize('message');
|
|
471
|
+
* var hash = hasher.finalize(wordArray);
|
|
472
|
+
*/
|
|
473
|
+
finalize:function(r){
|
|
474
|
+
// Final message update
|
|
475
|
+
if(r){this._append(r)}
|
|
476
|
+
// Perform concrete-hasher logic
|
|
477
|
+
var t=this._doFinalize();return t},blockSize:512/32,
|
|
478
|
+
/**
|
|
479
|
+
* Creates a shortcut function to a hasher's object interface.
|
|
480
|
+
*
|
|
481
|
+
* @param {Hasher} hasher The hasher to create a helper for.
|
|
482
|
+
*
|
|
483
|
+
* @return {Function} The shortcut function.
|
|
484
|
+
*
|
|
485
|
+
* @static
|
|
486
|
+
*
|
|
487
|
+
* @example
|
|
488
|
+
*
|
|
489
|
+
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
490
|
+
*/
|
|
491
|
+
_createHelper:function(r){return function(t,a){return new r.init(a).finalize(t)}},
|
|
492
|
+
/**
|
|
493
|
+
* Creates a shortcut function to the HMAC's object interface.
|
|
494
|
+
*
|
|
495
|
+
* @param {Hasher} hasher The hasher to use in this HMAC helper.
|
|
496
|
+
*
|
|
497
|
+
* @return {Function} The shortcut function.
|
|
498
|
+
*
|
|
499
|
+
* @static
|
|
500
|
+
*
|
|
501
|
+
* @example
|
|
502
|
+
*
|
|
503
|
+
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
504
|
+
*/
|
|
505
|
+
_createHmacHelper:function(r){return function(t,a){return new p.HMAC.init(r,a).finalize(t)}}});
|
|
506
|
+
/**
|
|
507
|
+
* Algorithm namespace.
|
|
508
|
+
*/var p=e.algo={};return e}(Math);return r}))})(x);return x.exports}var j={exports:{}};var R=j.exports;var F;function D(){if(F)return j.exports;F=1;(function(r,t){(function(t,a){{
|
|
509
|
+
// CommonJS
|
|
510
|
+
r.exports=a(B())}})(R,(function(r){(function(t){
|
|
511
|
+
// Shortcuts
|
|
512
|
+
var a=r;var n=a.lib;var i=n.Base;var e=n.WordArray;
|
|
513
|
+
/**
|
|
514
|
+
* x64 namespace.
|
|
515
|
+
*/var o=a.x64={};
|
|
516
|
+
/**
|
|
517
|
+
* A 64-bit word.
|
|
518
|
+
*/o.Word=i.extend({
|
|
519
|
+
/**
|
|
520
|
+
* Initializes a newly created 64-bit word.
|
|
521
|
+
*
|
|
522
|
+
* @param {number} high The high 32 bits.
|
|
523
|
+
* @param {number} low The low 32 bits.
|
|
524
|
+
*
|
|
525
|
+
* @example
|
|
526
|
+
*
|
|
527
|
+
* var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
|
|
528
|
+
*/
|
|
529
|
+
init:function(r,t){this.high=r;this.low=t}
|
|
530
|
+
/**
|
|
531
|
+
* Bitwise NOTs this word.
|
|
532
|
+
*
|
|
533
|
+
* @return {X64Word} A new x64-Word object after negating.
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
*
|
|
537
|
+
* var negated = x64Word.not();
|
|
538
|
+
*/
|
|
539
|
+
// not: function () {
|
|
540
|
+
// var high = ~this.high;
|
|
541
|
+
// var low = ~this.low;
|
|
542
|
+
// return X64Word.create(high, low);
|
|
543
|
+
// },
|
|
544
|
+
/**
|
|
545
|
+
* Bitwise ANDs this word with the passed word.
|
|
546
|
+
*
|
|
547
|
+
* @param {X64Word} word The x64-Word to AND with this word.
|
|
548
|
+
*
|
|
549
|
+
* @return {X64Word} A new x64-Word object after ANDing.
|
|
550
|
+
*
|
|
551
|
+
* @example
|
|
552
|
+
*
|
|
553
|
+
* var anded = x64Word.and(anotherX64Word);
|
|
554
|
+
*/
|
|
555
|
+
// and: function (word) {
|
|
556
|
+
// var high = this.high & word.high;
|
|
557
|
+
// var low = this.low & word.low;
|
|
558
|
+
// return X64Word.create(high, low);
|
|
559
|
+
// },
|
|
560
|
+
/**
|
|
561
|
+
* Bitwise ORs this word with the passed word.
|
|
562
|
+
*
|
|
563
|
+
* @param {X64Word} word The x64-Word to OR with this word.
|
|
564
|
+
*
|
|
565
|
+
* @return {X64Word} A new x64-Word object after ORing.
|
|
566
|
+
*
|
|
567
|
+
* @example
|
|
568
|
+
*
|
|
569
|
+
* var ored = x64Word.or(anotherX64Word);
|
|
570
|
+
*/
|
|
571
|
+
// or: function (word) {
|
|
572
|
+
// var high = this.high | word.high;
|
|
573
|
+
// var low = this.low | word.low;
|
|
574
|
+
// return X64Word.create(high, low);
|
|
575
|
+
// },
|
|
576
|
+
/**
|
|
577
|
+
* Bitwise XORs this word with the passed word.
|
|
578
|
+
*
|
|
579
|
+
* @param {X64Word} word The x64-Word to XOR with this word.
|
|
580
|
+
*
|
|
581
|
+
* @return {X64Word} A new x64-Word object after XORing.
|
|
582
|
+
*
|
|
583
|
+
* @example
|
|
584
|
+
*
|
|
585
|
+
* var xored = x64Word.xor(anotherX64Word);
|
|
586
|
+
*/
|
|
587
|
+
// xor: function (word) {
|
|
588
|
+
// var high = this.high ^ word.high;
|
|
589
|
+
// var low = this.low ^ word.low;
|
|
590
|
+
// return X64Word.create(high, low);
|
|
591
|
+
// },
|
|
592
|
+
/**
|
|
593
|
+
* Shifts this word n bits to the left.
|
|
594
|
+
*
|
|
595
|
+
* @param {number} n The number of bits to shift.
|
|
596
|
+
*
|
|
597
|
+
* @return {X64Word} A new x64-Word object after shifting.
|
|
598
|
+
*
|
|
599
|
+
* @example
|
|
600
|
+
*
|
|
601
|
+
* var shifted = x64Word.shiftL(25);
|
|
602
|
+
*/
|
|
603
|
+
// shiftL: function (n) {
|
|
604
|
+
// if (n < 32) {
|
|
605
|
+
// var high = (this.high << n) | (this.low >>> (32 - n));
|
|
606
|
+
// var low = this.low << n;
|
|
607
|
+
// } else {
|
|
608
|
+
// var high = this.low << (n - 32);
|
|
609
|
+
// var low = 0;
|
|
610
|
+
// }
|
|
611
|
+
// return X64Word.create(high, low);
|
|
612
|
+
// },
|
|
613
|
+
/**
|
|
614
|
+
* Shifts this word n bits to the right.
|
|
615
|
+
*
|
|
616
|
+
* @param {number} n The number of bits to shift.
|
|
617
|
+
*
|
|
618
|
+
* @return {X64Word} A new x64-Word object after shifting.
|
|
619
|
+
*
|
|
620
|
+
* @example
|
|
621
|
+
*
|
|
622
|
+
* var shifted = x64Word.shiftR(7);
|
|
623
|
+
*/
|
|
624
|
+
// shiftR: function (n) {
|
|
625
|
+
// if (n < 32) {
|
|
626
|
+
// var low = (this.low >>> n) | (this.high << (32 - n));
|
|
627
|
+
// var high = this.high >>> n;
|
|
628
|
+
// } else {
|
|
629
|
+
// var low = this.high >>> (n - 32);
|
|
630
|
+
// var high = 0;
|
|
631
|
+
// }
|
|
632
|
+
// return X64Word.create(high, low);
|
|
633
|
+
// },
|
|
634
|
+
/**
|
|
635
|
+
* Rotates this word n bits to the left.
|
|
636
|
+
*
|
|
637
|
+
* @param {number} n The number of bits to rotate.
|
|
638
|
+
*
|
|
639
|
+
* @return {X64Word} A new x64-Word object after rotating.
|
|
640
|
+
*
|
|
641
|
+
* @example
|
|
642
|
+
*
|
|
643
|
+
* var rotated = x64Word.rotL(25);
|
|
644
|
+
*/
|
|
645
|
+
// rotL: function (n) {
|
|
646
|
+
// return this.shiftL(n).or(this.shiftR(64 - n));
|
|
647
|
+
// },
|
|
648
|
+
/**
|
|
649
|
+
* Rotates this word n bits to the right.
|
|
650
|
+
*
|
|
651
|
+
* @param {number} n The number of bits to rotate.
|
|
652
|
+
*
|
|
653
|
+
* @return {X64Word} A new x64-Word object after rotating.
|
|
654
|
+
*
|
|
655
|
+
* @example
|
|
656
|
+
*
|
|
657
|
+
* var rotated = x64Word.rotR(7);
|
|
658
|
+
*/
|
|
659
|
+
// rotR: function (n) {
|
|
660
|
+
// return this.shiftR(n).or(this.shiftL(64 - n));
|
|
661
|
+
// },
|
|
662
|
+
/**
|
|
663
|
+
* Adds this word with the passed word.
|
|
664
|
+
*
|
|
665
|
+
* @param {X64Word} word The x64-Word to add with this word.
|
|
666
|
+
*
|
|
667
|
+
* @return {X64Word} A new x64-Word object after adding.
|
|
668
|
+
*
|
|
669
|
+
* @example
|
|
670
|
+
*
|
|
671
|
+
* var added = x64Word.add(anotherX64Word);
|
|
672
|
+
*/
|
|
673
|
+
// add: function (word) {
|
|
674
|
+
// var low = (this.low + word.low) | 0;
|
|
675
|
+
// var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
|
|
676
|
+
// var high = (this.high + word.high + carry) | 0;
|
|
677
|
+
// return X64Word.create(high, low);
|
|
678
|
+
// }
|
|
679
|
+
});
|
|
680
|
+
/**
|
|
681
|
+
* An array of 64-bit words.
|
|
682
|
+
*
|
|
683
|
+
* @property {Array} words The array of CryptoJS.x64.Word objects.
|
|
684
|
+
* @property {number} sigBytes The number of significant bytes in this word array.
|
|
685
|
+
*/o.WordArray=i.extend({
|
|
686
|
+
/**
|
|
687
|
+
* Initializes a newly created word array.
|
|
688
|
+
*
|
|
689
|
+
* @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
|
|
690
|
+
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
|
|
691
|
+
*
|
|
692
|
+
* @example
|
|
693
|
+
*
|
|
694
|
+
* var wordArray = CryptoJS.x64.WordArray.create();
|
|
695
|
+
*
|
|
696
|
+
* var wordArray = CryptoJS.x64.WordArray.create([
|
|
697
|
+
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
|
|
698
|
+
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
|
|
699
|
+
* ]);
|
|
700
|
+
*
|
|
701
|
+
* var wordArray = CryptoJS.x64.WordArray.create([
|
|
702
|
+
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
|
|
703
|
+
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
|
|
704
|
+
* ], 10);
|
|
705
|
+
*/
|
|
706
|
+
init:function(r,a){r=this.words=r||[];if(a!=t){this.sigBytes=a}else{this.sigBytes=r.length*8}},
|
|
707
|
+
/**
|
|
708
|
+
* Converts this 64-bit word array to a 32-bit word array.
|
|
709
|
+
*
|
|
710
|
+
* @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
|
|
711
|
+
*
|
|
712
|
+
* @example
|
|
713
|
+
*
|
|
714
|
+
* var x32WordArray = x64WordArray.toX32();
|
|
715
|
+
*/
|
|
716
|
+
toX32:function(){
|
|
717
|
+
// Shortcuts
|
|
718
|
+
var r=this.words;var t=r.length;
|
|
719
|
+
// Convert
|
|
720
|
+
var a=[];for(var n=0;n<t;n++){var i=r[n];a.push(i.high);a.push(i.low)}return e.create(a,this.sigBytes)},
|
|
721
|
+
/**
|
|
722
|
+
* Creates a copy of this word array.
|
|
723
|
+
*
|
|
724
|
+
* @return {X64WordArray} The clone.
|
|
725
|
+
*
|
|
726
|
+
* @example
|
|
727
|
+
*
|
|
728
|
+
* var clone = x64WordArray.clone();
|
|
729
|
+
*/
|
|
730
|
+
clone:function(){var r=i.clone.call(this);
|
|
731
|
+
// Clone "words" array
|
|
732
|
+
var t=r.words=this.words.slice(0);
|
|
733
|
+
// Clone each X64Word object
|
|
734
|
+
var a=t.length;for(var n=0;n<a;n++){t[n]=t[n].clone()}return r}})})();return r}))})(j);return j.exports}var O={exports:{}};var A=O.exports;var M;function q(){if(M)return O.exports;M=1;(function(r,t){(function(t,a){{
|
|
735
|
+
// CommonJS
|
|
736
|
+
r.exports=a(B())}})(A,(function(r){(function(){
|
|
737
|
+
// Check if typed arrays are supported
|
|
738
|
+
if(typeof ArrayBuffer!="function"){return}
|
|
739
|
+
// Shortcuts
|
|
740
|
+
var t=r;var a=t.lib;var n=a.WordArray;
|
|
741
|
+
// Reference original init
|
|
742
|
+
var i=n.init;
|
|
743
|
+
// Augment WordArray.init to handle typed arrays
|
|
744
|
+
var e=n.init=function(r){
|
|
745
|
+
// Convert buffers to uint8
|
|
746
|
+
if(r instanceof ArrayBuffer){r=new Uint8Array(r)}
|
|
747
|
+
// Convert other array views to uint8
|
|
748
|
+
if(r instanceof Int8Array||typeof Uint8ClampedArray!=="undefined"&&r instanceof Uint8ClampedArray||r instanceof Int16Array||r instanceof Uint16Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Float32Array||r instanceof Float64Array){r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}
|
|
749
|
+
// Handle Uint8Array
|
|
750
|
+
if(r instanceof Uint8Array){
|
|
751
|
+
// Shortcut
|
|
752
|
+
var t=r.byteLength;
|
|
753
|
+
// Extract bytes
|
|
754
|
+
var a=[];for(var n=0;n<t;n++){a[n>>>2]|=r[n]<<24-n%4*8}
|
|
755
|
+
// Initialize this word array
|
|
756
|
+
i.call(this,a,t)}else{
|
|
757
|
+
// Else call normal init
|
|
758
|
+
i.apply(this,arguments)}};e.prototype=n})();return r.lib.WordArray}))})(O);return O.exports}var C={exports:{}};var E=C.exports;var U;function P(){if(U)return C.exports;U=1;(function(r,t){(function(t,a){{
|
|
759
|
+
// CommonJS
|
|
760
|
+
r.exports=a(B())}})(E,(function(r){(function(){
|
|
761
|
+
// Shortcuts
|
|
762
|
+
var t=r;var a=t.lib;var n=a.WordArray;var i=t.enc;
|
|
763
|
+
/**
|
|
764
|
+
* UTF-16 BE encoding strategy.
|
|
765
|
+
*/i.Utf16=i.Utf16BE={
|
|
766
|
+
/**
|
|
767
|
+
* Converts a word array to a UTF-16 BE string.
|
|
768
|
+
*
|
|
769
|
+
* @param {WordArray} wordArray The word array.
|
|
770
|
+
*
|
|
771
|
+
* @return {string} The UTF-16 BE string.
|
|
772
|
+
*
|
|
773
|
+
* @static
|
|
774
|
+
*
|
|
775
|
+
* @example
|
|
776
|
+
*
|
|
777
|
+
* var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
|
|
778
|
+
*/
|
|
779
|
+
stringify:function(r){
|
|
780
|
+
// Shortcuts
|
|
781
|
+
var t=r.words;var a=r.sigBytes;
|
|
782
|
+
// Convert
|
|
783
|
+
var n=[];for(var i=0;i<a;i+=2){var e=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(e))}return n.join("")},
|
|
784
|
+
/**
|
|
785
|
+
* Converts a UTF-16 BE string to a word array.
|
|
786
|
+
*
|
|
787
|
+
* @param {string} utf16Str The UTF-16 BE string.
|
|
788
|
+
*
|
|
789
|
+
* @return {WordArray} The word array.
|
|
790
|
+
*
|
|
791
|
+
* @static
|
|
792
|
+
*
|
|
793
|
+
* @example
|
|
794
|
+
*
|
|
795
|
+
* var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
|
|
796
|
+
*/
|
|
797
|
+
parse:function(r){
|
|
798
|
+
// Shortcut
|
|
799
|
+
var t=r.length;
|
|
800
|
+
// Convert
|
|
801
|
+
var a=[];for(var i=0;i<t;i++){a[i>>>1]|=r.charCodeAt(i)<<16-i%2*16}return n.create(a,t*2)}};
|
|
802
|
+
/**
|
|
803
|
+
* UTF-16 LE encoding strategy.
|
|
804
|
+
*/i.Utf16LE={
|
|
805
|
+
/**
|
|
806
|
+
* Converts a word array to a UTF-16 LE string.
|
|
807
|
+
*
|
|
808
|
+
* @param {WordArray} wordArray The word array.
|
|
809
|
+
*
|
|
810
|
+
* @return {string} The UTF-16 LE string.
|
|
811
|
+
*
|
|
812
|
+
* @static
|
|
813
|
+
*
|
|
814
|
+
* @example
|
|
815
|
+
*
|
|
816
|
+
* var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
|
|
817
|
+
*/
|
|
818
|
+
stringify:function(r){
|
|
819
|
+
// Shortcuts
|
|
820
|
+
var t=r.words;var a=r.sigBytes;
|
|
821
|
+
// Convert
|
|
822
|
+
var n=[];for(var i=0;i<a;i+=2){var o=e(t[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(o))}return n.join("")},
|
|
823
|
+
/**
|
|
824
|
+
* Converts a UTF-16 LE string to a word array.
|
|
825
|
+
*
|
|
826
|
+
* @param {string} utf16Str The UTF-16 LE string.
|
|
827
|
+
*
|
|
828
|
+
* @return {WordArray} The word array.
|
|
829
|
+
*
|
|
830
|
+
* @static
|
|
831
|
+
*
|
|
832
|
+
* @example
|
|
833
|
+
*
|
|
834
|
+
* var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
|
|
835
|
+
*/
|
|
836
|
+
parse:function(r){
|
|
837
|
+
// Shortcut
|
|
838
|
+
var t=r.length;
|
|
839
|
+
// Convert
|
|
840
|
+
var a=[];for(var i=0;i<t;i++){a[i>>>1]|=e(r.charCodeAt(i)<<16-i%2*16)}return n.create(a,t*2)}};function e(r){return r<<8&4278255360|r>>>8&16711935}})();return r.enc.Utf16}))})(C);return C.exports}var T={exports:{}};var H=T.exports;var I;function Y(){if(I)return T.exports;I=1;(function(r,t){(function(t,a){{
|
|
841
|
+
// CommonJS
|
|
842
|
+
r.exports=a(B())}})(H,(function(r){(function(){
|
|
843
|
+
// Shortcuts
|
|
844
|
+
var t=r;var a=t.lib;var n=a.WordArray;var i=t.enc;
|
|
845
|
+
/**
|
|
846
|
+
* Base64 encoding strategy.
|
|
847
|
+
*/i.Base64={
|
|
848
|
+
/**
|
|
849
|
+
* Converts a word array to a Base64 string.
|
|
850
|
+
*
|
|
851
|
+
* @param {WordArray} wordArray The word array.
|
|
852
|
+
*
|
|
853
|
+
* @return {string} The Base64 string.
|
|
854
|
+
*
|
|
855
|
+
* @static
|
|
856
|
+
*
|
|
857
|
+
* @example
|
|
858
|
+
*
|
|
859
|
+
* var base64String = CryptoJS.enc.Base64.stringify(wordArray);
|
|
860
|
+
*/
|
|
861
|
+
stringify:function(r){
|
|
862
|
+
// Shortcuts
|
|
863
|
+
var t=r.words;var a=r.sigBytes;var n=this._map;
|
|
864
|
+
// Clamp excess bits
|
|
865
|
+
r.clamp();
|
|
866
|
+
// Convert
|
|
867
|
+
var i=[];for(var e=0;e<a;e+=3){var o=t[e>>>2]>>>24-e%4*8&255;var v=t[e+1>>>2]>>>24-(e+1)%4*8&255;var s=t[e+2>>>2]>>>24-(e+2)%4*8&255;var f=o<<16|v<<8|s;for(var u=0;u<4&&e+u*.75<a;u++){i.push(n.charAt(f>>>6*(3-u)&63))}}
|
|
868
|
+
// Add padding
|
|
869
|
+
var c=n.charAt(64);if(c){while(i.length%4){i.push(c)}}return i.join("")},
|
|
870
|
+
/**
|
|
871
|
+
* Converts a Base64 string to a word array.
|
|
872
|
+
*
|
|
873
|
+
* @param {string} base64Str The Base64 string.
|
|
874
|
+
*
|
|
875
|
+
* @return {WordArray} The word array.
|
|
876
|
+
*
|
|
877
|
+
* @static
|
|
878
|
+
*
|
|
879
|
+
* @example
|
|
880
|
+
*
|
|
881
|
+
* var wordArray = CryptoJS.enc.Base64.parse(base64String);
|
|
882
|
+
*/
|
|
883
|
+
parse:function(r){
|
|
884
|
+
// Shortcuts
|
|
885
|
+
var t=r.length;var a=this._map;var n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i<a.length;i++){n[a.charCodeAt(i)]=i}}
|
|
886
|
+
// Ignore padding
|
|
887
|
+
var o=a.charAt(64);if(o){var v=r.indexOf(o);if(v!==-1){t=v}}
|
|
888
|
+
// Convert
|
|
889
|
+
return e(r,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function e(r,t,a){var i=[];var e=0;for(var o=0;o<t;o++){if(o%4){var v=a[r.charCodeAt(o-1)]<<o%4*2;var s=a[r.charCodeAt(o)]>>>6-o%4*2;var f=v|s;i[e>>>2]|=f<<24-e%4*8;e++}}return n.create(i,e)}})();return r.enc.Base64}))})(T);return T.exports}var L={exports:{}};var X=L.exports;var G;function N(){if(G)return L.exports;G=1;(function(r,t){(function(t,a){{
|
|
890
|
+
// CommonJS
|
|
891
|
+
r.exports=a(B())}})(X,(function(r){(function(){
|
|
892
|
+
// Shortcuts
|
|
893
|
+
var t=r;var a=t.lib;var n=a.WordArray;var i=t.enc;
|
|
894
|
+
/**
|
|
895
|
+
* Base64url encoding strategy.
|
|
896
|
+
*/i.Base64url={
|
|
897
|
+
/**
|
|
898
|
+
* Converts a word array to a Base64url string.
|
|
899
|
+
*
|
|
900
|
+
* @param {WordArray} wordArray The word array.
|
|
901
|
+
*
|
|
902
|
+
* @param {boolean} urlSafe Whether to use url safe
|
|
903
|
+
*
|
|
904
|
+
* @return {string} The Base64url string.
|
|
905
|
+
*
|
|
906
|
+
* @static
|
|
907
|
+
*
|
|
908
|
+
* @example
|
|
909
|
+
*
|
|
910
|
+
* var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
|
|
911
|
+
*/
|
|
912
|
+
stringify:function(r,t){if(t===undefined){t=true}
|
|
913
|
+
// Shortcuts
|
|
914
|
+
var a=r.words;var n=r.sigBytes;var i=t?this._safe_map:this._map;
|
|
915
|
+
// Clamp excess bits
|
|
916
|
+
r.clamp();
|
|
917
|
+
// Convert
|
|
918
|
+
var e=[];for(var o=0;o<n;o+=3){var v=a[o>>>2]>>>24-o%4*8&255;var s=a[o+1>>>2]>>>24-(o+1)%4*8&255;var f=a[o+2>>>2]>>>24-(o+2)%4*8&255;var u=v<<16|s<<8|f;for(var c=0;c<4&&o+c*.75<n;c++){e.push(i.charAt(u>>>6*(3-c)&63))}}
|
|
919
|
+
// Add padding
|
|
920
|
+
var h=i.charAt(64);if(h){while(e.length%4){e.push(h)}}return e.join("")},
|
|
921
|
+
/**
|
|
922
|
+
* Converts a Base64url string to a word array.
|
|
923
|
+
*
|
|
924
|
+
* @param {string} base64Str The Base64url string.
|
|
925
|
+
*
|
|
926
|
+
* @param {boolean} urlSafe Whether to use url safe
|
|
927
|
+
*
|
|
928
|
+
* @return {WordArray} The word array.
|
|
929
|
+
*
|
|
930
|
+
* @static
|
|
931
|
+
*
|
|
932
|
+
* @example
|
|
933
|
+
*
|
|
934
|
+
* var wordArray = CryptoJS.enc.Base64url.parse(base64String);
|
|
935
|
+
*/
|
|
936
|
+
parse:function(r,t){if(t===undefined){t=true}
|
|
937
|
+
// Shortcuts
|
|
938
|
+
var a=r.length;var n=t?this._safe_map:this._map;var i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++){i[n.charCodeAt(o)]=o}}
|
|
939
|
+
// Ignore padding
|
|
940
|
+
var v=n.charAt(64);if(v){var s=r.indexOf(v);if(s!==-1){a=s}}
|
|
941
|
+
// Convert
|
|
942
|
+
return e(r,a,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function e(r,t,a){var i=[];var e=0;for(var o=0;o<t;o++){if(o%4){var v=a[r.charCodeAt(o-1)]<<o%4*2;var s=a[r.charCodeAt(o)]>>>6-o%4*2;var f=v|s;i[e>>>2]|=f<<24-e%4*8;e++}}return n.create(i,e)}})();return r.enc.Base64url}))})(L);return L.exports}var V={exports:{}};var W=V.exports;var Z;function J(){if(Z)return V.exports;Z=1;(function(r,t){(function(t,a){{
|
|
943
|
+
// CommonJS
|
|
944
|
+
r.exports=a(B())}})(W,(function(r){(function(t){
|
|
945
|
+
// Shortcuts
|
|
946
|
+
var a=r;var n=a.lib;var i=n.WordArray;var e=n.Hasher;var o=a.algo;
|
|
947
|
+
// Constants table
|
|
948
|
+
var v=[];
|
|
949
|
+
// Compute constants
|
|
950
|
+
(function(){for(var r=0;r<64;r++){v[r]=t.abs(t.sin(r+1))*4294967296|0}})();
|
|
951
|
+
/**
|
|
952
|
+
* MD5 hash algorithm.
|
|
953
|
+
*/var s=o.MD5=e.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(r,t){
|
|
954
|
+
// Swap endian
|
|
955
|
+
for(var a=0;a<16;a++){
|
|
956
|
+
// Shortcuts
|
|
957
|
+
var n=t+a;var i=r[n];r[n]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360}
|
|
958
|
+
// Shortcuts
|
|
959
|
+
var e=this._hash.words;var o=r[t+0];var s=r[t+1];var l=r[t+2];var d=r[t+3];var p=r[t+4];var m=r[t+5];var b=r[t+6];var g=r[t+7];var w=r[t+8];var x=r[t+9];var y=r[t+10];var k=r[t+11];var _=r[t+12];var z=r[t+13];var S=r[t+14];var B=r[t+15];
|
|
960
|
+
// Working variables
|
|
961
|
+
var j=e[0];var R=e[1];var F=e[2];var D=e[3];
|
|
962
|
+
// Computation
|
|
963
|
+
j=f(j,R,F,D,o,7,v[0]);D=f(D,j,R,F,s,12,v[1]);F=f(F,D,j,R,l,17,v[2]);R=f(R,F,D,j,d,22,v[3]);j=f(j,R,F,D,p,7,v[4]);D=f(D,j,R,F,m,12,v[5]);F=f(F,D,j,R,b,17,v[6]);R=f(R,F,D,j,g,22,v[7]);j=f(j,R,F,D,w,7,v[8]);D=f(D,j,R,F,x,12,v[9]);F=f(F,D,j,R,y,17,v[10]);R=f(R,F,D,j,k,22,v[11]);j=f(j,R,F,D,_,7,v[12]);D=f(D,j,R,F,z,12,v[13]);F=f(F,D,j,R,S,17,v[14]);R=f(R,F,D,j,B,22,v[15]);j=u(j,R,F,D,s,5,v[16]);D=u(D,j,R,F,b,9,v[17]);F=u(F,D,j,R,k,14,v[18]);R=u(R,F,D,j,o,20,v[19]);j=u(j,R,F,D,m,5,v[20]);D=u(D,j,R,F,y,9,v[21]);F=u(F,D,j,R,B,14,v[22]);R=u(R,F,D,j,p,20,v[23]);j=u(j,R,F,D,x,5,v[24]);D=u(D,j,R,F,S,9,v[25]);F=u(F,D,j,R,d,14,v[26]);R=u(R,F,D,j,w,20,v[27]);j=u(j,R,F,D,z,5,v[28]);D=u(D,j,R,F,l,9,v[29]);F=u(F,D,j,R,g,14,v[30]);R=u(R,F,D,j,_,20,v[31]);j=c(j,R,F,D,m,4,v[32]);D=c(D,j,R,F,w,11,v[33]);F=c(F,D,j,R,k,16,v[34]);R=c(R,F,D,j,S,23,v[35]);j=c(j,R,F,D,s,4,v[36]);D=c(D,j,R,F,p,11,v[37]);F=c(F,D,j,R,g,16,v[38]);R=c(R,F,D,j,y,23,v[39]);j=c(j,R,F,D,z,4,v[40]);D=c(D,j,R,F,o,11,v[41]);F=c(F,D,j,R,d,16,v[42]);R=c(R,F,D,j,b,23,v[43]);j=c(j,R,F,D,x,4,v[44]);D=c(D,j,R,F,_,11,v[45]);F=c(F,D,j,R,B,16,v[46]);R=c(R,F,D,j,l,23,v[47]);j=h(j,R,F,D,o,6,v[48]);D=h(D,j,R,F,g,10,v[49]);F=h(F,D,j,R,S,15,v[50]);R=h(R,F,D,j,m,21,v[51]);j=h(j,R,F,D,_,6,v[52]);D=h(D,j,R,F,d,10,v[53]);F=h(F,D,j,R,y,15,v[54]);R=h(R,F,D,j,s,21,v[55]);j=h(j,R,F,D,w,6,v[56]);D=h(D,j,R,F,B,10,v[57]);F=h(F,D,j,R,b,15,v[58]);R=h(R,F,D,j,z,21,v[59]);j=h(j,R,F,D,p,6,v[60]);D=h(D,j,R,F,k,10,v[61]);F=h(F,D,j,R,l,15,v[62]);R=h(R,F,D,j,x,21,v[63]);
|
|
964
|
+
// Intermediate hash value
|
|
965
|
+
e[0]=e[0]+j|0;e[1]=e[1]+R|0;e[2]=e[2]+F|0;e[3]=e[3]+D|0},_doFinalize:function(){
|
|
966
|
+
// Shortcuts
|
|
967
|
+
var r=this._data;var a=r.words;var n=this._nDataBytes*8;var i=r.sigBytes*8;
|
|
968
|
+
// Add padding
|
|
969
|
+
a[i>>>5]|=128<<24-i%32;var e=t.floor(n/4294967296);var o=n;a[(i+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;a[(i+64>>>9<<4)+14]=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;r.sigBytes=(a.length+1)*4;
|
|
970
|
+
// Hash final blocks
|
|
971
|
+
this._process();
|
|
972
|
+
// Shortcuts
|
|
973
|
+
var v=this._hash;var s=v.words;
|
|
974
|
+
// Swap endian
|
|
975
|
+
for(var f=0;f<4;f++){
|
|
976
|
+
// Shortcut
|
|
977
|
+
var u=s[f];s[f]=(u<<8|u>>>24)&16711935|(u<<24|u>>>8)&4278255360}
|
|
978
|
+
// Return final computed hash
|
|
979
|
+
return v},clone:function(){var r=e.clone.call(this);r._hash=this._hash.clone();return r}});function f(r,t,a,n,i,e,o){var v=r+(t&a|~t&n)+i+o;return(v<<e|v>>>32-e)+t}function u(r,t,a,n,i,e,o){var v=r+(t&n|a&~n)+i+o;return(v<<e|v>>>32-e)+t}function c(r,t,a,n,i,e,o){var v=r+(t^a^n)+i+o;return(v<<e|v>>>32-e)+t}function h(r,t,a,n,i,e,o){var v=r+(a^(t|~n))+i+o;return(v<<e|v>>>32-e)+t}
|
|
980
|
+
/**
|
|
981
|
+
* Shortcut function to the hasher's object interface.
|
|
982
|
+
*
|
|
983
|
+
* @param {WordArray|string} message The message to hash.
|
|
984
|
+
*
|
|
985
|
+
* @return {WordArray} The hash.
|
|
986
|
+
*
|
|
987
|
+
* @static
|
|
988
|
+
*
|
|
989
|
+
* @example
|
|
990
|
+
*
|
|
991
|
+
* var hash = CryptoJS.MD5('message');
|
|
992
|
+
* var hash = CryptoJS.MD5(wordArray);
|
|
993
|
+
*/a.MD5=e._createHelper(s);
|
|
994
|
+
/**
|
|
995
|
+
* Shortcut function to the HMAC's object interface.
|
|
996
|
+
*
|
|
997
|
+
* @param {WordArray|string} message The message to hash.
|
|
998
|
+
* @param {WordArray|string} key The secret key.
|
|
999
|
+
*
|
|
1000
|
+
* @return {WordArray} The HMAC.
|
|
1001
|
+
*
|
|
1002
|
+
* @static
|
|
1003
|
+
*
|
|
1004
|
+
* @example
|
|
1005
|
+
*
|
|
1006
|
+
* var hmac = CryptoJS.HmacMD5(message, key);
|
|
1007
|
+
*/a.HmacMD5=e._createHmacHelper(s)})(Math);return r.MD5}))})(V);return V.exports}var K={exports:{}};var Q=K.exports;var $;function rr(){if($)return K.exports;$=1;(function(r,t){(function(t,a){{
|
|
1008
|
+
// CommonJS
|
|
1009
|
+
r.exports=a(B())}})(Q,(function(r){(function(){
|
|
1010
|
+
// Shortcuts
|
|
1011
|
+
var t=r;var a=t.lib;var n=a.WordArray;var i=a.Hasher;var e=t.algo;
|
|
1012
|
+
// Reusable object
|
|
1013
|
+
var o=[];
|
|
1014
|
+
/**
|
|
1015
|
+
* SHA-1 hash algorithm.
|
|
1016
|
+
*/var v=e.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,t){
|
|
1017
|
+
// Shortcut
|
|
1018
|
+
var a=this._hash.words;
|
|
1019
|
+
// Working variables
|
|
1020
|
+
var n=a[0];var i=a[1];var e=a[2];var v=a[3];var s=a[4];
|
|
1021
|
+
// Computation
|
|
1022
|
+
for(var f=0;f<80;f++){if(f<16){o[f]=r[t+f]|0}else{var u=o[f-3]^o[f-8]^o[f-14]^o[f-16];o[f]=u<<1|u>>>31}var c=(n<<5|n>>>27)+s+o[f];if(f<20){c+=(i&e|~i&v)+1518500249}else if(f<40){c+=(i^e^v)+1859775393}else if(f<60){c+=(i&e|i&v|e&v)-1894007588}else/* if (i < 80) */{c+=(i^e^v)-899497514}s=v;v=e;e=i<<30|i>>>2;i=n;n=c}
|
|
1023
|
+
// Intermediate hash value
|
|
1024
|
+
a[0]=a[0]+n|0;a[1]=a[1]+i|0;a[2]=a[2]+e|0;a[3]=a[3]+v|0;a[4]=a[4]+s|0},_doFinalize:function(){
|
|
1025
|
+
// Shortcuts
|
|
1026
|
+
var r=this._data;var t=r.words;var a=this._nDataBytes*8;var n=r.sigBytes*8;
|
|
1027
|
+
// Add padding
|
|
1028
|
+
t[n>>>5]|=128<<24-n%32;t[(n+64>>>9<<4)+14]=Math.floor(a/4294967296);t[(n+64>>>9<<4)+15]=a;r.sigBytes=t.length*4;
|
|
1029
|
+
// Hash final blocks
|
|
1030
|
+
this._process();
|
|
1031
|
+
// Return final computed hash
|
|
1032
|
+
return this._hash},clone:function(){var r=i.clone.call(this);r._hash=this._hash.clone();return r}});
|
|
1033
|
+
/**
|
|
1034
|
+
* Shortcut function to the hasher's object interface.
|
|
1035
|
+
*
|
|
1036
|
+
* @param {WordArray|string} message The message to hash.
|
|
1037
|
+
*
|
|
1038
|
+
* @return {WordArray} The hash.
|
|
1039
|
+
*
|
|
1040
|
+
* @static
|
|
1041
|
+
*
|
|
1042
|
+
* @example
|
|
1043
|
+
*
|
|
1044
|
+
* var hash = CryptoJS.SHA1('message');
|
|
1045
|
+
* var hash = CryptoJS.SHA1(wordArray);
|
|
1046
|
+
*/t.SHA1=i._createHelper(v);
|
|
1047
|
+
/**
|
|
1048
|
+
* Shortcut function to the HMAC's object interface.
|
|
1049
|
+
*
|
|
1050
|
+
* @param {WordArray|string} message The message to hash.
|
|
1051
|
+
* @param {WordArray|string} key The secret key.
|
|
1052
|
+
*
|
|
1053
|
+
* @return {WordArray} The HMAC.
|
|
1054
|
+
*
|
|
1055
|
+
* @static
|
|
1056
|
+
*
|
|
1057
|
+
* @example
|
|
1058
|
+
*
|
|
1059
|
+
* var hmac = CryptoJS.HmacSHA1(message, key);
|
|
1060
|
+
*/t.HmacSHA1=i._createHmacHelper(v)})();return r.SHA1}))})(K);return K.exports}var tr={exports:{}};var ar=tr.exports;var nr;function ir(){if(nr)return tr.exports;nr=1;(function(r,t){(function(t,a){{
|
|
1061
|
+
// CommonJS
|
|
1062
|
+
r.exports=a(B())}})(ar,(function(r){(function(t){
|
|
1063
|
+
// Shortcuts
|
|
1064
|
+
var a=r;var n=a.lib;var i=n.WordArray;var e=n.Hasher;var o=a.algo;
|
|
1065
|
+
// Initialization and round constants tables
|
|
1066
|
+
var v=[];var s=[];
|
|
1067
|
+
// Compute constants
|
|
1068
|
+
(function(){function r(r){var a=t.sqrt(r);for(var n=2;n<=a;n++){if(!(r%n)){return false}}return true}function a(r){return(r-(r|0))*4294967296|0}var n=2;var i=0;while(i<64){if(r(n)){if(i<8){v[i]=a(t.pow(n,1/2))}s[i]=a(t.pow(n,1/3));i++}n++}})();
|
|
1069
|
+
// Reusable object
|
|
1070
|
+
var f=[];
|
|
1071
|
+
/**
|
|
1072
|
+
* SHA-256 hash algorithm.
|
|
1073
|
+
*/var u=o.SHA256=e.extend({_doReset:function(){this._hash=new i.init(v.slice(0))},_doProcessBlock:function(r,t){
|
|
1074
|
+
// Shortcut
|
|
1075
|
+
var a=this._hash.words;
|
|
1076
|
+
// Working variables
|
|
1077
|
+
var n=a[0];var i=a[1];var e=a[2];var o=a[3];var v=a[4];var u=a[5];var c=a[6];var h=a[7];
|
|
1078
|
+
// Computation
|
|
1079
|
+
for(var l=0;l<64;l++){if(l<16){f[l]=r[t+l]|0}else{var d=f[l-15];var p=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3;var m=f[l-2];var b=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;f[l]=p+f[l-7]+b+f[l-16]}var g=v&u^~v&c;var w=n&i^n&e^i&e;var x=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22);var y=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25);var k=h+y+g+s[l]+f[l];var _=x+w;h=c;c=u;u=v;v=o+k|0;o=e;e=i;i=n;n=k+_|0}
|
|
1080
|
+
// Intermediate hash value
|
|
1081
|
+
a[0]=a[0]+n|0;a[1]=a[1]+i|0;a[2]=a[2]+e|0;a[3]=a[3]+o|0;a[4]=a[4]+v|0;a[5]=a[5]+u|0;a[6]=a[6]+c|0;a[7]=a[7]+h|0},_doFinalize:function(){
|
|
1082
|
+
// Shortcuts
|
|
1083
|
+
var r=this._data;var a=r.words;var n=this._nDataBytes*8;var i=r.sigBytes*8;
|
|
1084
|
+
// Add padding
|
|
1085
|
+
a[i>>>5]|=128<<24-i%32;a[(i+64>>>9<<4)+14]=t.floor(n/4294967296);a[(i+64>>>9<<4)+15]=n;r.sigBytes=a.length*4;
|
|
1086
|
+
// Hash final blocks
|
|
1087
|
+
this._process();
|
|
1088
|
+
// Return final computed hash
|
|
1089
|
+
return this._hash},clone:function(){var r=e.clone.call(this);r._hash=this._hash.clone();return r}});
|
|
1090
|
+
/**
|
|
1091
|
+
* Shortcut function to the hasher's object interface.
|
|
1092
|
+
*
|
|
1093
|
+
* @param {WordArray|string} message The message to hash.
|
|
1094
|
+
*
|
|
1095
|
+
* @return {WordArray} The hash.
|
|
1096
|
+
*
|
|
1097
|
+
* @static
|
|
1098
|
+
*
|
|
1099
|
+
* @example
|
|
1100
|
+
*
|
|
1101
|
+
* var hash = CryptoJS.SHA256('message');
|
|
1102
|
+
* var hash = CryptoJS.SHA256(wordArray);
|
|
1103
|
+
*/a.SHA256=e._createHelper(u);
|
|
1104
|
+
/**
|
|
1105
|
+
* Shortcut function to the HMAC's object interface.
|
|
1106
|
+
*
|
|
1107
|
+
* @param {WordArray|string} message The message to hash.
|
|
1108
|
+
* @param {WordArray|string} key The secret key.
|
|
1109
|
+
*
|
|
1110
|
+
* @return {WordArray} The HMAC.
|
|
1111
|
+
*
|
|
1112
|
+
* @static
|
|
1113
|
+
*
|
|
1114
|
+
* @example
|
|
1115
|
+
*
|
|
1116
|
+
* var hmac = CryptoJS.HmacSHA256(message, key);
|
|
1117
|
+
*/a.HmacSHA256=e._createHmacHelper(u)})(Math);return r.SHA256}))})(tr);return tr.exports}var er={exports:{}};var or=er.exports;var vr;function sr(){if(vr)return er.exports;vr=1;(function(r,t){(function(t,a,n){{
|
|
1118
|
+
// CommonJS
|
|
1119
|
+
r.exports=a(B(),ir())}})(or,(function(r){(function(){
|
|
1120
|
+
// Shortcuts
|
|
1121
|
+
var t=r;var a=t.lib;var n=a.WordArray;var i=t.algo;var e=i.SHA256;
|
|
1122
|
+
/**
|
|
1123
|
+
* SHA-224 hash algorithm.
|
|
1124
|
+
*/var o=i.SHA224=e.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var r=e._doFinalize.call(this);r.sigBytes-=4;return r}});
|
|
1125
|
+
/**
|
|
1126
|
+
* Shortcut function to the hasher's object interface.
|
|
1127
|
+
*
|
|
1128
|
+
* @param {WordArray|string} message The message to hash.
|
|
1129
|
+
*
|
|
1130
|
+
* @return {WordArray} The hash.
|
|
1131
|
+
*
|
|
1132
|
+
* @static
|
|
1133
|
+
*
|
|
1134
|
+
* @example
|
|
1135
|
+
*
|
|
1136
|
+
* var hash = CryptoJS.SHA224('message');
|
|
1137
|
+
* var hash = CryptoJS.SHA224(wordArray);
|
|
1138
|
+
*/t.SHA224=e._createHelper(o);
|
|
1139
|
+
/**
|
|
1140
|
+
* Shortcut function to the HMAC's object interface.
|
|
1141
|
+
*
|
|
1142
|
+
* @param {WordArray|string} message The message to hash.
|
|
1143
|
+
* @param {WordArray|string} key The secret key.
|
|
1144
|
+
*
|
|
1145
|
+
* @return {WordArray} The HMAC.
|
|
1146
|
+
*
|
|
1147
|
+
* @static
|
|
1148
|
+
*
|
|
1149
|
+
* @example
|
|
1150
|
+
*
|
|
1151
|
+
* var hmac = CryptoJS.HmacSHA224(message, key);
|
|
1152
|
+
*/t.HmacSHA224=e._createHmacHelper(o)})();return r.SHA224}))})(er);return er.exports}var fr={exports:{}};var ur=fr.exports;var cr;function hr(){if(cr)return fr.exports;cr=1;(function(r,t){(function(t,a,n){{
|
|
1153
|
+
// CommonJS
|
|
1154
|
+
r.exports=a(B(),D())}})(ur,(function(r){(function(){
|
|
1155
|
+
// Shortcuts
|
|
1156
|
+
var t=r;var a=t.lib;var n=a.Hasher;var i=t.x64;var e=i.Word;var o=i.WordArray;var v=t.algo;function s(){return e.create.apply(e,arguments)}
|
|
1157
|
+
// Constants
|
|
1158
|
+
var f=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)];
|
|
1159
|
+
// Reusable objects
|
|
1160
|
+
var u=[];(function(){for(var r=0;r<80;r++){u[r]=s()}})();
|
|
1161
|
+
/**
|
|
1162
|
+
* SHA-512 hash algorithm.
|
|
1163
|
+
*/var c=v.SHA512=n.extend({_doReset:function(){this._hash=new o.init([new e.init(1779033703,4089235720),new e.init(3144134277,2227873595),new e.init(1013904242,4271175723),new e.init(2773480762,1595750129),new e.init(1359893119,2917565137),new e.init(2600822924,725511199),new e.init(528734635,4215389547),new e.init(1541459225,327033209)])},_doProcessBlock:function(r,t){
|
|
1164
|
+
// Shortcuts
|
|
1165
|
+
var a=this._hash.words;var n=a[0];var i=a[1];var e=a[2];var o=a[3];var v=a[4];var s=a[5];var c=a[6];var h=a[7];var l=n.high;var d=n.low;var p=i.high;var m=i.low;var b=e.high;var g=e.low;var w=o.high;var x=o.low;var y=v.high;var k=v.low;var _=s.high;var z=s.low;var S=c.high;var B=c.low;var j=h.high;var R=h.low;
|
|
1166
|
+
// Working variables
|
|
1167
|
+
var F=l;var D=d;var O=p;var A=m;var M=b;var q=g;var C=w;var E=x;var U=y;var P=k;var T=_;var H=z;var I=S;var Y=B;var L=j;var X=R;
|
|
1168
|
+
// Rounds
|
|
1169
|
+
for(var G=0;G<80;G++){var N;var V;
|
|
1170
|
+
// Shortcut
|
|
1171
|
+
var W=u[G];
|
|
1172
|
+
// Extend message
|
|
1173
|
+
if(G<16){V=W.high=r[t+G*2]|0;N=W.low=r[t+G*2+1]|0}else{
|
|
1174
|
+
// Gamma0
|
|
1175
|
+
var Z=u[G-15];var J=Z.high;var K=Z.low;var Q=(J>>>1|K<<31)^(J>>>8|K<<24)^J>>>7;var $=(K>>>1|J<<31)^(K>>>8|J<<24)^(K>>>7|J<<25);
|
|
1176
|
+
// Gamma1
|
|
1177
|
+
var rr=u[G-2];var tr=rr.high;var ar=rr.low;var nr=(tr>>>19|ar<<13)^(tr<<3|ar>>>29)^tr>>>6;var ir=(ar>>>19|tr<<13)^(ar<<3|tr>>>29)^(ar>>>6|tr<<26);
|
|
1178
|
+
// W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16]
|
|
1179
|
+
var er=u[G-7];var or=er.high;var vr=er.low;var sr=u[G-16];var fr=sr.high;var ur=sr.low;N=$+vr;V=Q+or+(N>>>0<$>>>0?1:0);N=N+ir;V=V+nr+(N>>>0<ir>>>0?1:0);N=N+ur;V=V+fr+(N>>>0<ur>>>0?1:0);W.high=V;W.low=N}var cr=U&T^~U&I;var hr=P&H^~P&Y;var lr=F&O^F&M^O&M;var dr=D&A^D&q^A&q;var pr=(F>>>28|D<<4)^(F<<30|D>>>2)^(F<<25|D>>>7);var mr=(D>>>28|F<<4)^(D<<30|F>>>2)^(D<<25|F>>>7);var br=(U>>>14|P<<18)^(U>>>18|P<<14)^(U<<23|P>>>9);var gr=(P>>>14|U<<18)^(P>>>18|U<<14)^(P<<23|U>>>9);
|
|
1180
|
+
// t1 = h + sigma1 + ch + K[i] + W[i]
|
|
1181
|
+
var wr=f[G];var xr=wr.high;var yr=wr.low;var kr=X+gr;var _r=L+br+(kr>>>0<X>>>0?1:0);var kr=kr+hr;var _r=_r+cr+(kr>>>0<hr>>>0?1:0);var kr=kr+yr;var _r=_r+xr+(kr>>>0<yr>>>0?1:0);var kr=kr+N;var _r=_r+V+(kr>>>0<N>>>0?1:0);
|
|
1182
|
+
// t2 = sigma0 + maj
|
|
1183
|
+
var zr=mr+dr;var Sr=pr+lr+(zr>>>0<mr>>>0?1:0);
|
|
1184
|
+
// Update working variables
|
|
1185
|
+
L=I;X=Y;I=T;Y=H;T=U;H=P;P=E+kr|0;U=C+_r+(P>>>0<E>>>0?1:0)|0;C=M;E=q;M=O;q=A;O=F;A=D;D=kr+zr|0;F=_r+Sr+(D>>>0<kr>>>0?1:0)|0}
|
|
1186
|
+
// Intermediate hash value
|
|
1187
|
+
d=n.low=d+D;n.high=l+F+(d>>>0<D>>>0?1:0);m=i.low=m+A;i.high=p+O+(m>>>0<A>>>0?1:0);g=e.low=g+q;e.high=b+M+(g>>>0<q>>>0?1:0);x=o.low=x+E;o.high=w+C+(x>>>0<E>>>0?1:0);k=v.low=k+P;v.high=y+U+(k>>>0<P>>>0?1:0);z=s.low=z+H;s.high=_+T+(z>>>0<H>>>0?1:0);B=c.low=B+Y;c.high=S+I+(B>>>0<Y>>>0?1:0);R=h.low=R+X;h.high=j+L+(R>>>0<X>>>0?1:0)},_doFinalize:function(){
|
|
1188
|
+
// Shortcuts
|
|
1189
|
+
var r=this._data;var t=r.words;var a=this._nDataBytes*8;var n=r.sigBytes*8;
|
|
1190
|
+
// Add padding
|
|
1191
|
+
t[n>>>5]|=128<<24-n%32;t[(n+128>>>10<<5)+30]=Math.floor(a/4294967296);t[(n+128>>>10<<5)+31]=a;r.sigBytes=t.length*4;
|
|
1192
|
+
// Hash final blocks
|
|
1193
|
+
this._process();
|
|
1194
|
+
// Convert hash to 32-bit word array before returning
|
|
1195
|
+
var i=this._hash.toX32();
|
|
1196
|
+
// Return final computed hash
|
|
1197
|
+
return i},clone:function(){var r=n.clone.call(this);r._hash=this._hash.clone();return r},blockSize:1024/32});
|
|
1198
|
+
/**
|
|
1199
|
+
* Shortcut function to the hasher's object interface.
|
|
1200
|
+
*
|
|
1201
|
+
* @param {WordArray|string} message The message to hash.
|
|
1202
|
+
*
|
|
1203
|
+
* @return {WordArray} The hash.
|
|
1204
|
+
*
|
|
1205
|
+
* @static
|
|
1206
|
+
*
|
|
1207
|
+
* @example
|
|
1208
|
+
*
|
|
1209
|
+
* var hash = CryptoJS.SHA512('message');
|
|
1210
|
+
* var hash = CryptoJS.SHA512(wordArray);
|
|
1211
|
+
*/t.SHA512=n._createHelper(c);
|
|
1212
|
+
/**
|
|
1213
|
+
* Shortcut function to the HMAC's object interface.
|
|
1214
|
+
*
|
|
1215
|
+
* @param {WordArray|string} message The message to hash.
|
|
1216
|
+
* @param {WordArray|string} key The secret key.
|
|
1217
|
+
*
|
|
1218
|
+
* @return {WordArray} The HMAC.
|
|
1219
|
+
*
|
|
1220
|
+
* @static
|
|
1221
|
+
*
|
|
1222
|
+
* @example
|
|
1223
|
+
*
|
|
1224
|
+
* var hmac = CryptoJS.HmacSHA512(message, key);
|
|
1225
|
+
*/t.HmacSHA512=n._createHmacHelper(c)})();return r.SHA512}))})(fr);return fr.exports}var lr={exports:{}};var dr=lr.exports;var pr;function mr(){if(pr)return lr.exports;pr=1;(function(r,t){(function(t,a,n){{
|
|
1226
|
+
// CommonJS
|
|
1227
|
+
r.exports=a(B(),D(),hr())}})(dr,(function(r){(function(){
|
|
1228
|
+
// Shortcuts
|
|
1229
|
+
var t=r;var a=t.x64;var n=a.Word;var i=a.WordArray;var e=t.algo;var o=e.SHA512;
|
|
1230
|
+
/**
|
|
1231
|
+
* SHA-384 hash algorithm.
|
|
1232
|
+
*/var v=e.SHA384=o.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var r=o._doFinalize.call(this);r.sigBytes-=16;return r}});
|
|
1233
|
+
/**
|
|
1234
|
+
* Shortcut function to the hasher's object interface.
|
|
1235
|
+
*
|
|
1236
|
+
* @param {WordArray|string} message The message to hash.
|
|
1237
|
+
*
|
|
1238
|
+
* @return {WordArray} The hash.
|
|
1239
|
+
*
|
|
1240
|
+
* @static
|
|
1241
|
+
*
|
|
1242
|
+
* @example
|
|
1243
|
+
*
|
|
1244
|
+
* var hash = CryptoJS.SHA384('message');
|
|
1245
|
+
* var hash = CryptoJS.SHA384(wordArray);
|
|
1246
|
+
*/t.SHA384=o._createHelper(v);
|
|
1247
|
+
/**
|
|
1248
|
+
* Shortcut function to the HMAC's object interface.
|
|
1249
|
+
*
|
|
1250
|
+
* @param {WordArray|string} message The message to hash.
|
|
1251
|
+
* @param {WordArray|string} key The secret key.
|
|
1252
|
+
*
|
|
1253
|
+
* @return {WordArray} The HMAC.
|
|
1254
|
+
*
|
|
1255
|
+
* @static
|
|
1256
|
+
*
|
|
1257
|
+
* @example
|
|
1258
|
+
*
|
|
1259
|
+
* var hmac = CryptoJS.HmacSHA384(message, key);
|
|
1260
|
+
*/t.HmacSHA384=o._createHmacHelper(v)})();return r.SHA384}))})(lr);return lr.exports}var br={exports:{}};var gr=br.exports;var wr;function xr(){if(wr)return br.exports;wr=1;(function(r,t){(function(t,a,n){{
|
|
1261
|
+
// CommonJS
|
|
1262
|
+
r.exports=a(B(),D())}})(gr,(function(r){(function(t){
|
|
1263
|
+
// Shortcuts
|
|
1264
|
+
var a=r;var n=a.lib;var i=n.WordArray;var e=n.Hasher;var o=a.x64;var v=o.Word;var s=a.algo;
|
|
1265
|
+
// Constants tables
|
|
1266
|
+
var f=[];var u=[];var c=[];
|
|
1267
|
+
// Compute Constants
|
|
1268
|
+
(function(){
|
|
1269
|
+
// Compute rho offset constants
|
|
1270
|
+
var r=1,t=0;for(var a=0;a<24;a++){f[r+5*t]=(a+1)*(a+2)/2%64;var n=t%5;var i=(2*r+3*t)%5;r=n;t=i}
|
|
1271
|
+
// Compute pi index constants
|
|
1272
|
+
for(var r=0;r<5;r++){for(var t=0;t<5;t++){u[r+5*t]=t+(2*r+3*t)%5*5}}
|
|
1273
|
+
// Compute round constants
|
|
1274
|
+
var e=1;for(var o=0;o<24;o++){var s=0;var h=0;for(var l=0;l<7;l++){if(e&1){var d=(1<<l)-1;if(d<32){h^=1<<d}else/* if (bitPosition >= 32) */{s^=1<<d-32}}
|
|
1275
|
+
// Compute next LFSR
|
|
1276
|
+
if(e&128){
|
|
1277
|
+
// Primitive polynomial over GF(2): x^8 + x^6 + x^5 + x^4 + 1
|
|
1278
|
+
e=e<<1^113}else{e<<=1}}c[o]=v.create(s,h)}})();
|
|
1279
|
+
// Reusable objects for temporary values
|
|
1280
|
+
var h=[];(function(){for(var r=0;r<25;r++){h[r]=v.create()}})();
|
|
1281
|
+
/**
|
|
1282
|
+
* SHA-3 hash algorithm.
|
|
1283
|
+
*/var l=s.SHA3=e.extend({
|
|
1284
|
+
/**
|
|
1285
|
+
* Configuration options.
|
|
1286
|
+
*
|
|
1287
|
+
* @property {number} outputLength
|
|
1288
|
+
* The desired number of bits in the output hash.
|
|
1289
|
+
* Only values permitted are: 224, 256, 384, 512.
|
|
1290
|
+
* Default: 512
|
|
1291
|
+
*/
|
|
1292
|
+
cfg:e.cfg.extend({outputLength:512}),_doReset:function(){var r=this._state=[];for(var t=0;t<25;t++){r[t]=new v.init}this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(r,t){
|
|
1293
|
+
// Shortcuts
|
|
1294
|
+
var a=this._state;var n=this.blockSize/2;
|
|
1295
|
+
// Absorb
|
|
1296
|
+
for(var i=0;i<n;i++){
|
|
1297
|
+
// Shortcuts
|
|
1298
|
+
var e=r[t+2*i];var o=r[t+2*i+1];
|
|
1299
|
+
// Swap endian
|
|
1300
|
+
e=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;o=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;
|
|
1301
|
+
// Absorb message into state
|
|
1302
|
+
var v=a[i];v.high^=o;v.low^=e}
|
|
1303
|
+
// Rounds
|
|
1304
|
+
for(var s=0;s<24;s++){
|
|
1305
|
+
// Theta
|
|
1306
|
+
for(var l=0;l<5;l++){
|
|
1307
|
+
// Mix column lanes
|
|
1308
|
+
var d=0,p=0;for(var m=0;m<5;m++){var v=a[l+5*m];d^=v.high;p^=v.low}
|
|
1309
|
+
// Temporary values
|
|
1310
|
+
var b=h[l];b.high=d;b.low=p}for(var l=0;l<5;l++){
|
|
1311
|
+
// Shortcuts
|
|
1312
|
+
var g=h[(l+4)%5];var w=h[(l+1)%5];var x=w.high;var y=w.low;
|
|
1313
|
+
// Mix surrounding columns
|
|
1314
|
+
var d=g.high^(x<<1|y>>>31);var p=g.low^(y<<1|x>>>31);for(var m=0;m<5;m++){var v=a[l+5*m];v.high^=d;v.low^=p}}
|
|
1315
|
+
// Rho Pi
|
|
1316
|
+
for(var k=1;k<25;k++){var d;var p;
|
|
1317
|
+
// Shortcuts
|
|
1318
|
+
var v=a[k];var _=v.high;var z=v.low;var S=f[k];
|
|
1319
|
+
// Rotate lanes
|
|
1320
|
+
if(S<32){d=_<<S|z>>>32-S;p=z<<S|_>>>32-S}else/* if (rhoOffset >= 32) */{d=z<<S-32|_>>>64-S;p=_<<S-32|z>>>64-S}
|
|
1321
|
+
// Transpose lanes
|
|
1322
|
+
var B=h[u[k]];B.high=d;B.low=p}
|
|
1323
|
+
// Rho pi at x = y = 0
|
|
1324
|
+
var j=h[0];var R=a[0];j.high=R.high;j.low=R.low;
|
|
1325
|
+
// Chi
|
|
1326
|
+
for(var l=0;l<5;l++){for(var m=0;m<5;m++){
|
|
1327
|
+
// Shortcuts
|
|
1328
|
+
var k=l+5*m;var v=a[k];var F=h[k];var D=h[(l+1)%5+5*m];var O=h[(l+2)%5+5*m];
|
|
1329
|
+
// Mix rows
|
|
1330
|
+
v.high=F.high^~D.high&O.high;v.low=F.low^~D.low&O.low}}
|
|
1331
|
+
// Iota
|
|
1332
|
+
var v=a[0];var A=c[s];v.high^=A.high;v.low^=A.low}},_doFinalize:function(){
|
|
1333
|
+
// Shortcuts
|
|
1334
|
+
var r=this._data;var a=r.words;var n=r.sigBytes*8;var e=this.blockSize*32;
|
|
1335
|
+
// Add padding
|
|
1336
|
+
a[n>>>5]|=1<<24-n%32;a[(t.ceil((n+1)/e)*e>>>5)-1]|=128;r.sigBytes=a.length*4;
|
|
1337
|
+
// Hash final blocks
|
|
1338
|
+
this._process();
|
|
1339
|
+
// Shortcuts
|
|
1340
|
+
var o=this._state;var v=this.cfg.outputLength/8;var s=v/8;
|
|
1341
|
+
// Squeeze
|
|
1342
|
+
var f=[];for(var u=0;u<s;u++){
|
|
1343
|
+
// Shortcuts
|
|
1344
|
+
var c=o[u];var h=c.high;var l=c.low;
|
|
1345
|
+
// Swap endian
|
|
1346
|
+
h=(h<<8|h>>>24)&16711935|(h<<24|h>>>8)&4278255360;l=(l<<8|l>>>24)&16711935|(l<<24|l>>>8)&4278255360;
|
|
1347
|
+
// Squeeze state to retrieve hash
|
|
1348
|
+
f.push(l);f.push(h)}
|
|
1349
|
+
// Return final computed hash
|
|
1350
|
+
return new i.init(f,v)},clone:function(){var r=e.clone.call(this);var t=r._state=this._state.slice(0);for(var a=0;a<25;a++){t[a]=t[a].clone()}return r}});
|
|
1351
|
+
/**
|
|
1352
|
+
* Shortcut function to the hasher's object interface.
|
|
1353
|
+
*
|
|
1354
|
+
* @param {WordArray|string} message The message to hash.
|
|
1355
|
+
*
|
|
1356
|
+
* @return {WordArray} The hash.
|
|
1357
|
+
*
|
|
1358
|
+
* @static
|
|
1359
|
+
*
|
|
1360
|
+
* @example
|
|
1361
|
+
*
|
|
1362
|
+
* var hash = CryptoJS.SHA3('message');
|
|
1363
|
+
* var hash = CryptoJS.SHA3(wordArray);
|
|
1364
|
+
*/a.SHA3=e._createHelper(l);
|
|
1365
|
+
/**
|
|
1366
|
+
* Shortcut function to the HMAC's object interface.
|
|
1367
|
+
*
|
|
1368
|
+
* @param {WordArray|string} message The message to hash.
|
|
1369
|
+
* @param {WordArray|string} key The secret key.
|
|
1370
|
+
*
|
|
1371
|
+
* @return {WordArray} The HMAC.
|
|
1372
|
+
*
|
|
1373
|
+
* @static
|
|
1374
|
+
*
|
|
1375
|
+
* @example
|
|
1376
|
+
*
|
|
1377
|
+
* var hmac = CryptoJS.HmacSHA3(message, key);
|
|
1378
|
+
*/a.HmacSHA3=e._createHmacHelper(l)})(Math);return r.SHA3}))})(br);return br.exports}var yr={exports:{}};var kr=yr.exports;var _r;function zr(){if(_r)return yr.exports;_r=1;(function(r,t){(function(t,a){{
|
|
1379
|
+
// CommonJS
|
|
1380
|
+
r.exports=a(B())}})(kr,(function(r){
|
|
1381
|
+
/** @preserve
|
|
1382
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
1383
|
+
|
|
1384
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
1385
|
+
|
|
1386
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
1387
|
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
1388
|
+
|
|
1389
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1390
|
+
*/
|
|
1391
|
+
(function(t){
|
|
1392
|
+
// Shortcuts
|
|
1393
|
+
var a=r;var n=a.lib;var i=n.WordArray;var e=n.Hasher;var o=a.algo;
|
|
1394
|
+
// Constants table
|
|
1395
|
+
var v=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]);var s=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]);var f=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]);var u=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]);var c=i.create([0,1518500249,1859775393,2400959708,2840853838]);var h=i.create([1352829926,1548603684,1836072691,2053994217,0]);
|
|
1396
|
+
/**
|
|
1397
|
+
* RIPEMD160 hash algorithm.
|
|
1398
|
+
*/var l=o.RIPEMD160=e.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,t){
|
|
1399
|
+
// Swap endian
|
|
1400
|
+
for(var a=0;a<16;a++){
|
|
1401
|
+
// Shortcuts
|
|
1402
|
+
var n=t+a;var i=r[n];
|
|
1403
|
+
// Swap
|
|
1404
|
+
r[n]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360}
|
|
1405
|
+
// Shortcut
|
|
1406
|
+
var e=this._hash.words;var o=c.words;var l=h.words;var x=v.words;var y=s.words;var k=f.words;var _=u.words;
|
|
1407
|
+
// Working variables
|
|
1408
|
+
var z,S,B,j,R;var F,D,O,A,M;F=z=e[0];D=S=e[1];O=B=e[2];A=j=e[3];M=R=e[4];
|
|
1409
|
+
// Computation
|
|
1410
|
+
var q;for(var a=0;a<80;a+=1){q=z+r[t+x[a]]|0;if(a<16){q+=d(S,B,j)+o[0]}else if(a<32){q+=p(S,B,j)+o[1]}else if(a<48){q+=m(S,B,j)+o[2]}else if(a<64){q+=b(S,B,j)+o[3]}else{// if (i<80) {
|
|
1411
|
+
q+=g(S,B,j)+o[4]}q=q|0;q=w(q,k[a]);q=q+R|0;z=R;R=j;j=w(B,10);B=S;S=q;q=F+r[t+y[a]]|0;if(a<16){q+=g(D,O,A)+l[0]}else if(a<32){q+=b(D,O,A)+l[1]}else if(a<48){q+=m(D,O,A)+l[2]}else if(a<64){q+=p(D,O,A)+l[3]}else{// if (i<80) {
|
|
1412
|
+
q+=d(D,O,A)+l[4]}q=q|0;q=w(q,_[a]);q=q+M|0;F=M;M=A;A=w(O,10);O=D;D=q}
|
|
1413
|
+
// Intermediate hash value
|
|
1414
|
+
q=e[1]+B+A|0;e[1]=e[2]+j+M|0;e[2]=e[3]+R+F|0;e[3]=e[4]+z+D|0;e[4]=e[0]+S+O|0;e[0]=q},_doFinalize:function(){
|
|
1415
|
+
// Shortcuts
|
|
1416
|
+
var r=this._data;var t=r.words;var a=this._nDataBytes*8;var n=r.sigBytes*8;
|
|
1417
|
+
// Add padding
|
|
1418
|
+
t[n>>>5]|=128<<24-n%32;t[(n+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;r.sigBytes=(t.length+1)*4;
|
|
1419
|
+
// Hash final blocks
|
|
1420
|
+
this._process();
|
|
1421
|
+
// Shortcuts
|
|
1422
|
+
var i=this._hash;var e=i.words;
|
|
1423
|
+
// Swap endian
|
|
1424
|
+
for(var o=0;o<5;o++){
|
|
1425
|
+
// Shortcut
|
|
1426
|
+
var v=e[o];
|
|
1427
|
+
// Swap
|
|
1428
|
+
e[o]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}
|
|
1429
|
+
// Return final computed hash
|
|
1430
|
+
return i},clone:function(){var r=e.clone.call(this);r._hash=this._hash.clone();return r}});function d(r,t,a){return r^t^a}function p(r,t,a){return r&t|~r&a}function m(r,t,a){return(r|~t)^a}function b(r,t,a){return r&a|t&~a}function g(r,t,a){return r^(t|~a)}function w(r,t){return r<<t|r>>>32-t}
|
|
1431
|
+
/**
|
|
1432
|
+
* Shortcut function to the hasher's object interface.
|
|
1433
|
+
*
|
|
1434
|
+
* @param {WordArray|string} message The message to hash.
|
|
1435
|
+
*
|
|
1436
|
+
* @return {WordArray} The hash.
|
|
1437
|
+
*
|
|
1438
|
+
* @static
|
|
1439
|
+
*
|
|
1440
|
+
* @example
|
|
1441
|
+
*
|
|
1442
|
+
* var hash = CryptoJS.RIPEMD160('message');
|
|
1443
|
+
* var hash = CryptoJS.RIPEMD160(wordArray);
|
|
1444
|
+
*/a.RIPEMD160=e._createHelper(l);
|
|
1445
|
+
/**
|
|
1446
|
+
* Shortcut function to the HMAC's object interface.
|
|
1447
|
+
*
|
|
1448
|
+
* @param {WordArray|string} message The message to hash.
|
|
1449
|
+
* @param {WordArray|string} key The secret key.
|
|
1450
|
+
*
|
|
1451
|
+
* @return {WordArray} The HMAC.
|
|
1452
|
+
*
|
|
1453
|
+
* @static
|
|
1454
|
+
*
|
|
1455
|
+
* @example
|
|
1456
|
+
*
|
|
1457
|
+
* var hmac = CryptoJS.HmacRIPEMD160(message, key);
|
|
1458
|
+
*/a.HmacRIPEMD160=e._createHmacHelper(l)})();return r.RIPEMD160}))})(yr);return yr.exports}var Sr={exports:{}};var Br=Sr.exports;var jr;function Rr(){if(jr)return Sr.exports;jr=1;(function(r,t){(function(t,a){{
|
|
1459
|
+
// CommonJS
|
|
1460
|
+
r.exports=a(B())}})(Br,(function(r){(function(){
|
|
1461
|
+
// Shortcuts
|
|
1462
|
+
var t=r;var a=t.lib;var n=a.Base;var i=t.enc;var e=i.Utf8;var o=t.algo;
|
|
1463
|
+
/**
|
|
1464
|
+
* HMAC algorithm.
|
|
1465
|
+
*/o.HMAC=n.extend({
|
|
1466
|
+
/**
|
|
1467
|
+
* Initializes a newly created HMAC.
|
|
1468
|
+
*
|
|
1469
|
+
* @param {Hasher} hasher The hash algorithm to use.
|
|
1470
|
+
* @param {WordArray|string} key The secret key.
|
|
1471
|
+
*
|
|
1472
|
+
* @example
|
|
1473
|
+
*
|
|
1474
|
+
* var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
|
|
1475
|
+
*/
|
|
1476
|
+
init:function(r,t){
|
|
1477
|
+
// Init hasher
|
|
1478
|
+
r=this._hasher=new r.init;
|
|
1479
|
+
// Convert string to WordArray, else assume WordArray already
|
|
1480
|
+
if(typeof t=="string"){t=e.parse(t)}
|
|
1481
|
+
// Shortcuts
|
|
1482
|
+
var a=r.blockSize;var n=a*4;
|
|
1483
|
+
// Allow arbitrary length keys
|
|
1484
|
+
if(t.sigBytes>n){t=r.finalize(t)}
|
|
1485
|
+
// Clamp excess bits
|
|
1486
|
+
t.clamp();
|
|
1487
|
+
// Clone key for inner and outer pads
|
|
1488
|
+
var i=this._oKey=t.clone();var o=this._iKey=t.clone();
|
|
1489
|
+
// Shortcuts
|
|
1490
|
+
var v=i.words;var s=o.words;
|
|
1491
|
+
// XOR keys with pad constants
|
|
1492
|
+
for(var f=0;f<a;f++){v[f]^=1549556828;s[f]^=909522486}i.sigBytes=o.sigBytes=n;
|
|
1493
|
+
// Set initial values
|
|
1494
|
+
this.reset()},
|
|
1495
|
+
/**
|
|
1496
|
+
* Resets this HMAC to its initial state.
|
|
1497
|
+
*
|
|
1498
|
+
* @example
|
|
1499
|
+
*
|
|
1500
|
+
* hmacHasher.reset();
|
|
1501
|
+
*/
|
|
1502
|
+
reset:function(){
|
|
1503
|
+
// Shortcut
|
|
1504
|
+
var r=this._hasher;
|
|
1505
|
+
// Reset
|
|
1506
|
+
r.reset();r.update(this._iKey)},
|
|
1507
|
+
/**
|
|
1508
|
+
* Updates this HMAC with a message.
|
|
1509
|
+
*
|
|
1510
|
+
* @param {WordArray|string} messageUpdate The message to append.
|
|
1511
|
+
*
|
|
1512
|
+
* @return {HMAC} This HMAC instance.
|
|
1513
|
+
*
|
|
1514
|
+
* @example
|
|
1515
|
+
*
|
|
1516
|
+
* hmacHasher.update('message');
|
|
1517
|
+
* hmacHasher.update(wordArray);
|
|
1518
|
+
*/
|
|
1519
|
+
update:function(r){this._hasher.update(r);
|
|
1520
|
+
// Chainable
|
|
1521
|
+
return this},
|
|
1522
|
+
/**
|
|
1523
|
+
* Finalizes the HMAC computation.
|
|
1524
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
|
1525
|
+
*
|
|
1526
|
+
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
|
1527
|
+
*
|
|
1528
|
+
* @return {WordArray} The HMAC.
|
|
1529
|
+
*
|
|
1530
|
+
* @example
|
|
1531
|
+
*
|
|
1532
|
+
* var hmac = hmacHasher.finalize();
|
|
1533
|
+
* var hmac = hmacHasher.finalize('message');
|
|
1534
|
+
* var hmac = hmacHasher.finalize(wordArray);
|
|
1535
|
+
*/
|
|
1536
|
+
finalize:function(r){
|
|
1537
|
+
// Shortcut
|
|
1538
|
+
var t=this._hasher;
|
|
1539
|
+
// Compute HMAC
|
|
1540
|
+
var a=t.finalize(r);t.reset();var n=t.finalize(this._oKey.clone().concat(a));return n}})})()}))})(Sr);return Sr.exports}var Fr={exports:{}};var Dr=Fr.exports;var Or;function Ar(){if(Or)return Fr.exports;Or=1;(function(r,t){(function(t,a,n){{
|
|
1541
|
+
// CommonJS
|
|
1542
|
+
r.exports=a(B(),ir(),Rr())}})(Dr,(function(r){(function(){
|
|
1543
|
+
// Shortcuts
|
|
1544
|
+
var t=r;var a=t.lib;var n=a.Base;var i=a.WordArray;var e=t.algo;var o=e.SHA256;var v=e.HMAC;
|
|
1545
|
+
/**
|
|
1546
|
+
* Password-Based Key Derivation Function 2 algorithm.
|
|
1547
|
+
*/var s=e.PBKDF2=n.extend({
|
|
1548
|
+
/**
|
|
1549
|
+
* Configuration options.
|
|
1550
|
+
*
|
|
1551
|
+
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
|
|
1552
|
+
* @property {Hasher} hasher The hasher to use. Default: SHA256
|
|
1553
|
+
* @property {number} iterations The number of iterations to perform. Default: 250000
|
|
1554
|
+
*/
|
|
1555
|
+
cfg:n.extend({keySize:128/32,hasher:o,iterations:25e4}),
|
|
1556
|
+
/**
|
|
1557
|
+
* Initializes a newly created key derivation function.
|
|
1558
|
+
*
|
|
1559
|
+
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
|
|
1560
|
+
*
|
|
1561
|
+
* @example
|
|
1562
|
+
*
|
|
1563
|
+
* var kdf = CryptoJS.algo.PBKDF2.create();
|
|
1564
|
+
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
|
|
1565
|
+
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
|
|
1566
|
+
*/
|
|
1567
|
+
init:function(r){this.cfg=this.cfg.extend(r)},
|
|
1568
|
+
/**
|
|
1569
|
+
* Computes the Password-Based Key Derivation Function 2.
|
|
1570
|
+
*
|
|
1571
|
+
* @param {WordArray|string} password The password.
|
|
1572
|
+
* @param {WordArray|string} salt A salt.
|
|
1573
|
+
*
|
|
1574
|
+
* @return {WordArray} The derived key.
|
|
1575
|
+
*
|
|
1576
|
+
* @example
|
|
1577
|
+
*
|
|
1578
|
+
* var key = kdf.compute(password, salt);
|
|
1579
|
+
*/
|
|
1580
|
+
compute:function(r,t){
|
|
1581
|
+
// Shortcut
|
|
1582
|
+
var a=this.cfg;
|
|
1583
|
+
// Init HMAC
|
|
1584
|
+
var n=v.create(a.hasher,r);
|
|
1585
|
+
// Initial values
|
|
1586
|
+
var e=i.create();var o=i.create([1]);
|
|
1587
|
+
// Shortcuts
|
|
1588
|
+
var s=e.words;var f=o.words;var u=a.keySize;var c=a.iterations;
|
|
1589
|
+
// Generate key
|
|
1590
|
+
while(s.length<u){var h=n.update(t).finalize(o);n.reset();
|
|
1591
|
+
// Shortcuts
|
|
1592
|
+
var l=h.words;var d=l.length;
|
|
1593
|
+
// Iterations
|
|
1594
|
+
var p=h;for(var m=1;m<c;m++){p=n.finalize(p);n.reset();
|
|
1595
|
+
// Shortcut
|
|
1596
|
+
var b=p.words;
|
|
1597
|
+
// XOR intermediate with block
|
|
1598
|
+
for(var g=0;g<d;g++){l[g]^=b[g]}}e.concat(h);f[0]++}e.sigBytes=u*4;return e}});
|
|
1599
|
+
/**
|
|
1600
|
+
* Computes the Password-Based Key Derivation Function 2.
|
|
1601
|
+
*
|
|
1602
|
+
* @param {WordArray|string} password The password.
|
|
1603
|
+
* @param {WordArray|string} salt A salt.
|
|
1604
|
+
* @param {Object} cfg (Optional) The configuration options to use for this computation.
|
|
1605
|
+
*
|
|
1606
|
+
* @return {WordArray} The derived key.
|
|
1607
|
+
*
|
|
1608
|
+
* @static
|
|
1609
|
+
*
|
|
1610
|
+
* @example
|
|
1611
|
+
*
|
|
1612
|
+
* var key = CryptoJS.PBKDF2(password, salt);
|
|
1613
|
+
* var key = CryptoJS.PBKDF2(password, salt, { keySize: 8 });
|
|
1614
|
+
* var key = CryptoJS.PBKDF2(password, salt, { keySize: 8, iterations: 1000 });
|
|
1615
|
+
*/t.PBKDF2=function(r,t,a){return s.create(a).compute(r,t)}})();return r.PBKDF2}))})(Fr);return Fr.exports}var Mr={exports:{}};var qr=Mr.exports;var Cr;function Er(){if(Cr)return Mr.exports;Cr=1;(function(r,t){(function(t,a,n){{
|
|
1616
|
+
// CommonJS
|
|
1617
|
+
r.exports=a(B(),rr(),Rr())}})(qr,(function(r){(function(){
|
|
1618
|
+
// Shortcuts
|
|
1619
|
+
var t=r;var a=t.lib;var n=a.Base;var i=a.WordArray;var e=t.algo;var o=e.MD5;
|
|
1620
|
+
/**
|
|
1621
|
+
* This key derivation function is meant to conform with EVP_BytesToKey.
|
|
1622
|
+
* www.openssl.org/docs/crypto/EVP_BytesToKey.html
|
|
1623
|
+
*/var v=e.EvpKDF=n.extend({
|
|
1624
|
+
/**
|
|
1625
|
+
* Configuration options.
|
|
1626
|
+
*
|
|
1627
|
+
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
|
|
1628
|
+
* @property {Hasher} hasher The hash algorithm to use. Default: MD5
|
|
1629
|
+
* @property {number} iterations The number of iterations to perform. Default: 1
|
|
1630
|
+
*/
|
|
1631
|
+
cfg:n.extend({keySize:128/32,hasher:o,iterations:1}),
|
|
1632
|
+
/**
|
|
1633
|
+
* Initializes a newly created key derivation function.
|
|
1634
|
+
*
|
|
1635
|
+
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
|
|
1636
|
+
*
|
|
1637
|
+
* @example
|
|
1638
|
+
*
|
|
1639
|
+
* var kdf = CryptoJS.algo.EvpKDF.create();
|
|
1640
|
+
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
|
|
1641
|
+
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
|
|
1642
|
+
*/
|
|
1643
|
+
init:function(r){this.cfg=this.cfg.extend(r)},
|
|
1644
|
+
/**
|
|
1645
|
+
* Derives a key from a password.
|
|
1646
|
+
*
|
|
1647
|
+
* @param {WordArray|string} password The password.
|
|
1648
|
+
* @param {WordArray|string} salt A salt.
|
|
1649
|
+
*
|
|
1650
|
+
* @return {WordArray} The derived key.
|
|
1651
|
+
*
|
|
1652
|
+
* @example
|
|
1653
|
+
*
|
|
1654
|
+
* var key = kdf.compute(password, salt);
|
|
1655
|
+
*/
|
|
1656
|
+
compute:function(r,t){var a;
|
|
1657
|
+
// Shortcut
|
|
1658
|
+
var n=this.cfg;
|
|
1659
|
+
// Init hasher
|
|
1660
|
+
var e=n.hasher.create();
|
|
1661
|
+
// Initial values
|
|
1662
|
+
var o=i.create();
|
|
1663
|
+
// Shortcuts
|
|
1664
|
+
var v=o.words;var s=n.keySize;var f=n.iterations;
|
|
1665
|
+
// Generate key
|
|
1666
|
+
while(v.length<s){if(a){e.update(a)}a=e.update(r).finalize(t);e.reset();
|
|
1667
|
+
// Iterations
|
|
1668
|
+
for(var u=1;u<f;u++){a=e.finalize(a);e.reset()}o.concat(a)}o.sigBytes=s*4;return o}});
|
|
1669
|
+
/**
|
|
1670
|
+
* Derives a key from a password.
|
|
1671
|
+
*
|
|
1672
|
+
* @param {WordArray|string} password The password.
|
|
1673
|
+
* @param {WordArray|string} salt A salt.
|
|
1674
|
+
* @param {Object} cfg (Optional) The configuration options to use for this computation.
|
|
1675
|
+
*
|
|
1676
|
+
* @return {WordArray} The derived key.
|
|
1677
|
+
*
|
|
1678
|
+
* @static
|
|
1679
|
+
*
|
|
1680
|
+
* @example
|
|
1681
|
+
*
|
|
1682
|
+
* var key = CryptoJS.EvpKDF(password, salt);
|
|
1683
|
+
* var key = CryptoJS.EvpKDF(password, salt, { keySize: 8 });
|
|
1684
|
+
* var key = CryptoJS.EvpKDF(password, salt, { keySize: 8, iterations: 1000 });
|
|
1685
|
+
*/t.EvpKDF=function(r,t,a){return v.create(a).compute(r,t)}})();return r.EvpKDF}))})(Mr);return Mr.exports}var Ur={exports:{}};var Pr=Ur.exports;var Tr;function Hr(){if(Tr)return Ur.exports;Tr=1;(function(r,t){(function(t,a,n){{
|
|
1686
|
+
// CommonJS
|
|
1687
|
+
r.exports=a(B(),Er())}})(Pr,(function(r){
|
|
1688
|
+
/**
|
|
1689
|
+
* Cipher core components.
|
|
1690
|
+
*/
|
|
1691
|
+
r.lib.Cipher||function(t){
|
|
1692
|
+
// Shortcuts
|
|
1693
|
+
var a=r;var n=a.lib;var i=n.Base;var e=n.WordArray;var o=n.BufferedBlockAlgorithm;var v=a.enc;var s=v.Base64;var f=a.algo;var u=f.EvpKDF;
|
|
1694
|
+
/**
|
|
1695
|
+
* Abstract base cipher template.
|
|
1696
|
+
*
|
|
1697
|
+
* @property {number} keySize This cipher's key size. Default: 4 (128 bits)
|
|
1698
|
+
* @property {number} ivSize This cipher's IV size. Default: 4 (128 bits)
|
|
1699
|
+
* @property {number} _ENC_XFORM_MODE A constant representing encryption mode.
|
|
1700
|
+
* @property {number} _DEC_XFORM_MODE A constant representing decryption mode.
|
|
1701
|
+
*/var c=n.Cipher=o.extend({
|
|
1702
|
+
/**
|
|
1703
|
+
* Configuration options.
|
|
1704
|
+
*
|
|
1705
|
+
* @property {WordArray} iv The IV to use for this operation.
|
|
1706
|
+
*/
|
|
1707
|
+
cfg:i.extend(),
|
|
1708
|
+
/**
|
|
1709
|
+
* Creates this cipher in encryption mode.
|
|
1710
|
+
*
|
|
1711
|
+
* @param {WordArray} key The key.
|
|
1712
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
1713
|
+
*
|
|
1714
|
+
* @return {Cipher} A cipher instance.
|
|
1715
|
+
*
|
|
1716
|
+
* @static
|
|
1717
|
+
*
|
|
1718
|
+
* @example
|
|
1719
|
+
*
|
|
1720
|
+
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
|
|
1721
|
+
*/
|
|
1722
|
+
createEncryptor:function(r,t){return this.create(this._ENC_XFORM_MODE,r,t)},
|
|
1723
|
+
/**
|
|
1724
|
+
* Creates this cipher in decryption mode.
|
|
1725
|
+
*
|
|
1726
|
+
* @param {WordArray} key The key.
|
|
1727
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
1728
|
+
*
|
|
1729
|
+
* @return {Cipher} A cipher instance.
|
|
1730
|
+
*
|
|
1731
|
+
* @static
|
|
1732
|
+
*
|
|
1733
|
+
* @example
|
|
1734
|
+
*
|
|
1735
|
+
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
|
|
1736
|
+
*/
|
|
1737
|
+
createDecryptor:function(r,t){return this.create(this._DEC_XFORM_MODE,r,t)},
|
|
1738
|
+
/**
|
|
1739
|
+
* Initializes a newly created cipher.
|
|
1740
|
+
*
|
|
1741
|
+
* @param {number} xformMode Either the encryption or decryption transormation mode constant.
|
|
1742
|
+
* @param {WordArray} key The key.
|
|
1743
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
1744
|
+
*
|
|
1745
|
+
* @example
|
|
1746
|
+
*
|
|
1747
|
+
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
|
1748
|
+
*/
|
|
1749
|
+
init:function(r,t,a){
|
|
1750
|
+
// Apply config defaults
|
|
1751
|
+
this.cfg=this.cfg.extend(a);
|
|
1752
|
+
// Store transform mode and key
|
|
1753
|
+
this._xformMode=r;this._key=t;
|
|
1754
|
+
// Set initial values
|
|
1755
|
+
this.reset()},
|
|
1756
|
+
/**
|
|
1757
|
+
* Resets this cipher to its initial state.
|
|
1758
|
+
*
|
|
1759
|
+
* @example
|
|
1760
|
+
*
|
|
1761
|
+
* cipher.reset();
|
|
1762
|
+
*/
|
|
1763
|
+
reset:function(){
|
|
1764
|
+
// Reset data buffer
|
|
1765
|
+
o.reset.call(this);
|
|
1766
|
+
// Perform concrete-cipher logic
|
|
1767
|
+
this._doReset()},
|
|
1768
|
+
/**
|
|
1769
|
+
* Adds data to be encrypted or decrypted.
|
|
1770
|
+
*
|
|
1771
|
+
* @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
|
|
1772
|
+
*
|
|
1773
|
+
* @return {WordArray} The data after processing.
|
|
1774
|
+
*
|
|
1775
|
+
* @example
|
|
1776
|
+
*
|
|
1777
|
+
* var encrypted = cipher.process('data');
|
|
1778
|
+
* var encrypted = cipher.process(wordArray);
|
|
1779
|
+
*/
|
|
1780
|
+
process:function(r){
|
|
1781
|
+
// Append
|
|
1782
|
+
this._append(r);
|
|
1783
|
+
// Process available blocks
|
|
1784
|
+
return this._process()},
|
|
1785
|
+
/**
|
|
1786
|
+
* Finalizes the encryption or decryption process.
|
|
1787
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
|
1788
|
+
*
|
|
1789
|
+
* @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
|
|
1790
|
+
*
|
|
1791
|
+
* @return {WordArray} The data after final processing.
|
|
1792
|
+
*
|
|
1793
|
+
* @example
|
|
1794
|
+
*
|
|
1795
|
+
* var encrypted = cipher.finalize();
|
|
1796
|
+
* var encrypted = cipher.finalize('data');
|
|
1797
|
+
* var encrypted = cipher.finalize(wordArray);
|
|
1798
|
+
*/
|
|
1799
|
+
finalize:function(r){
|
|
1800
|
+
// Final data update
|
|
1801
|
+
if(r){this._append(r)}
|
|
1802
|
+
// Perform concrete-cipher logic
|
|
1803
|
+
var t=this._doFinalize();return t},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,
|
|
1804
|
+
/**
|
|
1805
|
+
* Creates shortcut functions to a cipher's object interface.
|
|
1806
|
+
*
|
|
1807
|
+
* @param {Cipher} cipher The cipher to create a helper for.
|
|
1808
|
+
*
|
|
1809
|
+
* @return {Object} An object with encrypt and decrypt shortcut functions.
|
|
1810
|
+
*
|
|
1811
|
+
* @static
|
|
1812
|
+
*
|
|
1813
|
+
* @example
|
|
1814
|
+
*
|
|
1815
|
+
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
1816
|
+
*/
|
|
1817
|
+
_createHelper:function(){function r(r){if(typeof r=="string"){return _}else{return x}}return function(t){return{encrypt:function(a,n,i){return r(n).encrypt(t,a,n,i)},decrypt:function(a,n,i){return r(n).decrypt(t,a,n,i)}}}}()});
|
|
1818
|
+
/**
|
|
1819
|
+
* Abstract base stream cipher template.
|
|
1820
|
+
*
|
|
1821
|
+
* @property {number} blockSize The number of 32-bit words this cipher operates on. Default: 1 (32 bits)
|
|
1822
|
+
*/n.StreamCipher=c.extend({_doFinalize:function(){
|
|
1823
|
+
// Process partial blocks
|
|
1824
|
+
var r=this._process(true);return r},blockSize:1});
|
|
1825
|
+
/**
|
|
1826
|
+
* Mode namespace.
|
|
1827
|
+
*/var h=a.mode={};
|
|
1828
|
+
/**
|
|
1829
|
+
* Abstract base block cipher mode template.
|
|
1830
|
+
*/var l=n.BlockCipherMode=i.extend({
|
|
1831
|
+
/**
|
|
1832
|
+
* Creates this mode for encryption.
|
|
1833
|
+
*
|
|
1834
|
+
* @param {Cipher} cipher A block cipher instance.
|
|
1835
|
+
* @param {Array} iv The IV words.
|
|
1836
|
+
*
|
|
1837
|
+
* @static
|
|
1838
|
+
*
|
|
1839
|
+
* @example
|
|
1840
|
+
*
|
|
1841
|
+
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
|
|
1842
|
+
*/
|
|
1843
|
+
createEncryptor:function(r,t){return this.Encryptor.create(r,t)},
|
|
1844
|
+
/**
|
|
1845
|
+
* Creates this mode for decryption.
|
|
1846
|
+
*
|
|
1847
|
+
* @param {Cipher} cipher A block cipher instance.
|
|
1848
|
+
* @param {Array} iv The IV words.
|
|
1849
|
+
*
|
|
1850
|
+
* @static
|
|
1851
|
+
*
|
|
1852
|
+
* @example
|
|
1853
|
+
*
|
|
1854
|
+
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
|
|
1855
|
+
*/
|
|
1856
|
+
createDecryptor:function(r,t){return this.Decryptor.create(r,t)},
|
|
1857
|
+
/**
|
|
1858
|
+
* Initializes a newly created mode.
|
|
1859
|
+
*
|
|
1860
|
+
* @param {Cipher} cipher A block cipher instance.
|
|
1861
|
+
* @param {Array} iv The IV words.
|
|
1862
|
+
*
|
|
1863
|
+
* @example
|
|
1864
|
+
*
|
|
1865
|
+
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
|
|
1866
|
+
*/
|
|
1867
|
+
init:function(r,t){this._cipher=r;this._iv=t}});
|
|
1868
|
+
/**
|
|
1869
|
+
* Cipher Block Chaining mode.
|
|
1870
|
+
*/var d=h.CBC=function(){
|
|
1871
|
+
/**
|
|
1872
|
+
* Abstract base CBC mode.
|
|
1873
|
+
*/
|
|
1874
|
+
var r=l.extend();
|
|
1875
|
+
/**
|
|
1876
|
+
* CBC encryptor.
|
|
1877
|
+
*/r.Encryptor=r.extend({
|
|
1878
|
+
/**
|
|
1879
|
+
* Processes the data block at offset.
|
|
1880
|
+
*
|
|
1881
|
+
* @param {Array} words The data words to operate on.
|
|
1882
|
+
* @param {number} offset The offset where the block starts.
|
|
1883
|
+
*
|
|
1884
|
+
* @example
|
|
1885
|
+
*
|
|
1886
|
+
* mode.processBlock(data.words, offset);
|
|
1887
|
+
*/
|
|
1888
|
+
processBlock:function(r,t){
|
|
1889
|
+
// Shortcuts
|
|
1890
|
+
var n=this._cipher;var i=n.blockSize;
|
|
1891
|
+
// XOR and encrypt
|
|
1892
|
+
a.call(this,r,t,i);n.encryptBlock(r,t);
|
|
1893
|
+
// Remember this block to use with next block
|
|
1894
|
+
this._prevBlock=r.slice(t,t+i)}});
|
|
1895
|
+
/**
|
|
1896
|
+
* CBC decryptor.
|
|
1897
|
+
*/r.Decryptor=r.extend({
|
|
1898
|
+
/**
|
|
1899
|
+
* Processes the data block at offset.
|
|
1900
|
+
*
|
|
1901
|
+
* @param {Array} words The data words to operate on.
|
|
1902
|
+
* @param {number} offset The offset where the block starts.
|
|
1903
|
+
*
|
|
1904
|
+
* @example
|
|
1905
|
+
*
|
|
1906
|
+
* mode.processBlock(data.words, offset);
|
|
1907
|
+
*/
|
|
1908
|
+
processBlock:function(r,t){
|
|
1909
|
+
// Shortcuts
|
|
1910
|
+
var n=this._cipher;var i=n.blockSize;
|
|
1911
|
+
// Remember this block to use with next block
|
|
1912
|
+
var e=r.slice(t,t+i);
|
|
1913
|
+
// Decrypt and XOR
|
|
1914
|
+
n.decryptBlock(r,t);a.call(this,r,t,i);
|
|
1915
|
+
// This block becomes the previous block
|
|
1916
|
+
this._prevBlock=e}});function a(r,a,n){var i;
|
|
1917
|
+
// Shortcut
|
|
1918
|
+
var e=this._iv;
|
|
1919
|
+
// Choose mixing block
|
|
1920
|
+
if(e){i=e;
|
|
1921
|
+
// Remove IV for subsequent blocks
|
|
1922
|
+
this._iv=t}else{i=this._prevBlock}
|
|
1923
|
+
// XOR blocks
|
|
1924
|
+
for(var o=0;o<n;o++){r[a+o]^=i[o]}}return r}();
|
|
1925
|
+
/**
|
|
1926
|
+
* Padding namespace.
|
|
1927
|
+
*/var p=a.pad={};
|
|
1928
|
+
/**
|
|
1929
|
+
* PKCS #5/7 padding strategy.
|
|
1930
|
+
*/var m=p.Pkcs7={
|
|
1931
|
+
/**
|
|
1932
|
+
* Pads data using the algorithm defined in PKCS #5/7.
|
|
1933
|
+
*
|
|
1934
|
+
* @param {WordArray} data The data to pad.
|
|
1935
|
+
* @param {number} blockSize The multiple that the data should be padded to.
|
|
1936
|
+
*
|
|
1937
|
+
* @static
|
|
1938
|
+
*
|
|
1939
|
+
* @example
|
|
1940
|
+
*
|
|
1941
|
+
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
1942
|
+
*/
|
|
1943
|
+
pad:function(r,t){
|
|
1944
|
+
// Shortcut
|
|
1945
|
+
var a=t*4;
|
|
1946
|
+
// Count padding bytes
|
|
1947
|
+
var n=a-r.sigBytes%a;
|
|
1948
|
+
// Create padding word
|
|
1949
|
+
var i=n<<24|n<<16|n<<8|n;
|
|
1950
|
+
// Create padding
|
|
1951
|
+
var o=[];for(var v=0;v<n;v+=4){o.push(i)}var s=e.create(o,n);
|
|
1952
|
+
// Add padding
|
|
1953
|
+
r.concat(s)},
|
|
1954
|
+
/**
|
|
1955
|
+
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
1956
|
+
*
|
|
1957
|
+
* @param {WordArray} data The data to unpad.
|
|
1958
|
+
*
|
|
1959
|
+
* @static
|
|
1960
|
+
*
|
|
1961
|
+
* @example
|
|
1962
|
+
*
|
|
1963
|
+
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
|
1964
|
+
*/
|
|
1965
|
+
unpad:function(r){
|
|
1966
|
+
// Get number of padding bytes from last byte
|
|
1967
|
+
var t=r.words[r.sigBytes-1>>>2]&255;
|
|
1968
|
+
// Remove padding
|
|
1969
|
+
r.sigBytes-=t}};
|
|
1970
|
+
/**
|
|
1971
|
+
* Abstract base block cipher template.
|
|
1972
|
+
*
|
|
1973
|
+
* @property {number} blockSize The number of 32-bit words this cipher operates on. Default: 4 (128 bits)
|
|
1974
|
+
*/n.BlockCipher=c.extend({
|
|
1975
|
+
/**
|
|
1976
|
+
* Configuration options.
|
|
1977
|
+
*
|
|
1978
|
+
* @property {Mode} mode The block mode to use. Default: CBC
|
|
1979
|
+
* @property {Padding} padding The padding strategy to use. Default: Pkcs7
|
|
1980
|
+
*/
|
|
1981
|
+
cfg:c.cfg.extend({mode:d,padding:m}),reset:function(){var r;
|
|
1982
|
+
// Reset cipher
|
|
1983
|
+
c.reset.call(this);
|
|
1984
|
+
// Shortcuts
|
|
1985
|
+
var t=this.cfg;var a=t.iv;var n=t.mode;
|
|
1986
|
+
// Reset block mode
|
|
1987
|
+
if(this._xformMode==this._ENC_XFORM_MODE){r=n.createEncryptor}else/* if (this._xformMode == this._DEC_XFORM_MODE) */{r=n.createDecryptor;
|
|
1988
|
+
// Keep at least one block in the buffer for unpadding
|
|
1989
|
+
this._minBufferSize=1}if(this._mode&&this._mode.__creator==r){this._mode.init(this,a&&a.words)}else{this._mode=r.call(n,this,a&&a.words);this._mode.__creator=r}},_doProcessBlock:function(r,t){this._mode.processBlock(r,t)},_doFinalize:function(){var r;
|
|
1990
|
+
// Shortcut
|
|
1991
|
+
var t=this.cfg.padding;
|
|
1992
|
+
// Finalize
|
|
1993
|
+
if(this._xformMode==this._ENC_XFORM_MODE){
|
|
1994
|
+
// Pad data
|
|
1995
|
+
t.pad(this._data,this.blockSize);
|
|
1996
|
+
// Process final blocks
|
|
1997
|
+
r=this._process(true)}else/* if (this._xformMode == this._DEC_XFORM_MODE) */{
|
|
1998
|
+
// Process final blocks
|
|
1999
|
+
r=this._process(true);
|
|
2000
|
+
// Unpad data
|
|
2001
|
+
t.unpad(r)}return r},blockSize:128/32});
|
|
2002
|
+
/**
|
|
2003
|
+
* A collection of cipher parameters.
|
|
2004
|
+
*
|
|
2005
|
+
* @property {WordArray} ciphertext The raw ciphertext.
|
|
2006
|
+
* @property {WordArray} key The key to this ciphertext.
|
|
2007
|
+
* @property {WordArray} iv The IV used in the ciphering operation.
|
|
2008
|
+
* @property {WordArray} salt The salt used with a key derivation function.
|
|
2009
|
+
* @property {Cipher} algorithm The cipher algorithm.
|
|
2010
|
+
* @property {Mode} mode The block mode used in the ciphering operation.
|
|
2011
|
+
* @property {Padding} padding The padding scheme used in the ciphering operation.
|
|
2012
|
+
* @property {number} blockSize The block size of the cipher.
|
|
2013
|
+
* @property {Format} formatter The default formatting strategy to convert this cipher params object to a string.
|
|
2014
|
+
*/var b=n.CipherParams=i.extend({
|
|
2015
|
+
/**
|
|
2016
|
+
* Initializes a newly created cipher params object.
|
|
2017
|
+
*
|
|
2018
|
+
* @param {Object} cipherParams An object with any of the possible cipher parameters.
|
|
2019
|
+
*
|
|
2020
|
+
* @example
|
|
2021
|
+
*
|
|
2022
|
+
* var cipherParams = CryptoJS.lib.CipherParams.create({
|
|
2023
|
+
* ciphertext: ciphertextWordArray,
|
|
2024
|
+
* key: keyWordArray,
|
|
2025
|
+
* iv: ivWordArray,
|
|
2026
|
+
* salt: saltWordArray,
|
|
2027
|
+
* algorithm: CryptoJS.algo.AES,
|
|
2028
|
+
* mode: CryptoJS.mode.CBC,
|
|
2029
|
+
* padding: CryptoJS.pad.PKCS7,
|
|
2030
|
+
* blockSize: 4,
|
|
2031
|
+
* formatter: CryptoJS.format.OpenSSL
|
|
2032
|
+
* });
|
|
2033
|
+
*/
|
|
2034
|
+
init:function(r){this.mixIn(r)},
|
|
2035
|
+
/**
|
|
2036
|
+
* Converts this cipher params object to a string.
|
|
2037
|
+
*
|
|
2038
|
+
* @param {Format} formatter (Optional) The formatting strategy to use.
|
|
2039
|
+
*
|
|
2040
|
+
* @return {string} The stringified cipher params.
|
|
2041
|
+
*
|
|
2042
|
+
* @throws Error If neither the formatter nor the default formatter is set.
|
|
2043
|
+
*
|
|
2044
|
+
* @example
|
|
2045
|
+
*
|
|
2046
|
+
* var string = cipherParams + '';
|
|
2047
|
+
* var string = cipherParams.toString();
|
|
2048
|
+
* var string = cipherParams.toString(CryptoJS.format.OpenSSL);
|
|
2049
|
+
*/
|
|
2050
|
+
toString:function(r){return(r||this.formatter).stringify(this)}});
|
|
2051
|
+
/**
|
|
2052
|
+
* Format namespace.
|
|
2053
|
+
*/var g=a.format={};
|
|
2054
|
+
/**
|
|
2055
|
+
* OpenSSL formatting strategy.
|
|
2056
|
+
*/var w=g.OpenSSL={
|
|
2057
|
+
/**
|
|
2058
|
+
* Converts a cipher params object to an OpenSSL-compatible string.
|
|
2059
|
+
*
|
|
2060
|
+
* @param {CipherParams} cipherParams The cipher params object.
|
|
2061
|
+
*
|
|
2062
|
+
* @return {string} The OpenSSL-compatible string.
|
|
2063
|
+
*
|
|
2064
|
+
* @static
|
|
2065
|
+
*
|
|
2066
|
+
* @example
|
|
2067
|
+
*
|
|
2068
|
+
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
2069
|
+
*/
|
|
2070
|
+
stringify:function(r){var t;
|
|
2071
|
+
// Shortcuts
|
|
2072
|
+
var a=r.ciphertext;var n=r.salt;
|
|
2073
|
+
// Format
|
|
2074
|
+
if(n){t=e.create([1398893684,1701076831]).concat(n).concat(a)}else{t=a}return t.toString(s)},
|
|
2075
|
+
/**
|
|
2076
|
+
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
2077
|
+
*
|
|
2078
|
+
* @param {string} openSSLStr The OpenSSL-compatible string.
|
|
2079
|
+
*
|
|
2080
|
+
* @return {CipherParams} The cipher params object.
|
|
2081
|
+
*
|
|
2082
|
+
* @static
|
|
2083
|
+
*
|
|
2084
|
+
* @example
|
|
2085
|
+
*
|
|
2086
|
+
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
2087
|
+
*/
|
|
2088
|
+
parse:function(r){var t;
|
|
2089
|
+
// Parse base64
|
|
2090
|
+
var a=s.parse(r);
|
|
2091
|
+
// Shortcut
|
|
2092
|
+
var n=a.words;
|
|
2093
|
+
// Test for salt
|
|
2094
|
+
if(n[0]==1398893684&&n[1]==1701076831){
|
|
2095
|
+
// Extract salt
|
|
2096
|
+
t=e.create(n.slice(2,4));
|
|
2097
|
+
// Remove salt from ciphertext
|
|
2098
|
+
n.splice(0,4);a.sigBytes-=16}return b.create({ciphertext:a,salt:t})}};
|
|
2099
|
+
/**
|
|
2100
|
+
* A cipher wrapper that returns ciphertext as a serializable cipher params object.
|
|
2101
|
+
*/var x=n.SerializableCipher=i.extend({
|
|
2102
|
+
/**
|
|
2103
|
+
* Configuration options.
|
|
2104
|
+
*
|
|
2105
|
+
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
|
|
2106
|
+
*/
|
|
2107
|
+
cfg:i.extend({format:w}),
|
|
2108
|
+
/**
|
|
2109
|
+
* Encrypts a message.
|
|
2110
|
+
*
|
|
2111
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
|
2112
|
+
* @param {WordArray|string} message The message to encrypt.
|
|
2113
|
+
* @param {WordArray} key The key.
|
|
2114
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
2115
|
+
*
|
|
2116
|
+
* @return {CipherParams} A cipher params object.
|
|
2117
|
+
*
|
|
2118
|
+
* @static
|
|
2119
|
+
*
|
|
2120
|
+
* @example
|
|
2121
|
+
*
|
|
2122
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
|
|
2123
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
|
2124
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
2125
|
+
*/
|
|
2126
|
+
encrypt:function(r,t,a,n){
|
|
2127
|
+
// Apply config defaults
|
|
2128
|
+
n=this.cfg.extend(n);
|
|
2129
|
+
// Encrypt
|
|
2130
|
+
var i=r.createEncryptor(a,n);var e=i.finalize(t);
|
|
2131
|
+
// Shortcut
|
|
2132
|
+
var o=i.cfg;
|
|
2133
|
+
// Create and return serializable cipher params
|
|
2134
|
+
return b.create({ciphertext:e,key:a,iv:o.iv,algorithm:r,mode:o.mode,padding:o.padding,blockSize:r.blockSize,formatter:n.format})},
|
|
2135
|
+
/**
|
|
2136
|
+
* Decrypts serialized ciphertext.
|
|
2137
|
+
*
|
|
2138
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
|
2139
|
+
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
|
|
2140
|
+
* @param {WordArray} key The key.
|
|
2141
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
2142
|
+
*
|
|
2143
|
+
* @return {WordArray} The plaintext.
|
|
2144
|
+
*
|
|
2145
|
+
* @static
|
|
2146
|
+
*
|
|
2147
|
+
* @example
|
|
2148
|
+
*
|
|
2149
|
+
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
2150
|
+
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
2151
|
+
*/
|
|
2152
|
+
decrypt:function(r,t,a,n){
|
|
2153
|
+
// Apply config defaults
|
|
2154
|
+
n=this.cfg.extend(n);
|
|
2155
|
+
// Convert string to CipherParams
|
|
2156
|
+
t=this._parse(t,n.format);
|
|
2157
|
+
// Decrypt
|
|
2158
|
+
var i=r.createDecryptor(a,n).finalize(t.ciphertext);return i},
|
|
2159
|
+
/**
|
|
2160
|
+
* Converts serialized ciphertext to CipherParams,
|
|
2161
|
+
* else assumed CipherParams already and returns ciphertext unchanged.
|
|
2162
|
+
*
|
|
2163
|
+
* @param {CipherParams|string} ciphertext The ciphertext.
|
|
2164
|
+
* @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
|
|
2165
|
+
*
|
|
2166
|
+
* @return {CipherParams} The unserialized ciphertext.
|
|
2167
|
+
*
|
|
2168
|
+
* @static
|
|
2169
|
+
*
|
|
2170
|
+
* @example
|
|
2171
|
+
*
|
|
2172
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
|
2173
|
+
*/
|
|
2174
|
+
_parse:function(r,t){if(typeof r=="string"){return t.parse(r,this)}else{return r}}});
|
|
2175
|
+
/**
|
|
2176
|
+
* Key derivation function namespace.
|
|
2177
|
+
*/var y=a.kdf={};
|
|
2178
|
+
/**
|
|
2179
|
+
* OpenSSL key derivation function.
|
|
2180
|
+
*/var k=y.OpenSSL={
|
|
2181
|
+
/**
|
|
2182
|
+
* Derives a key and IV from a password.
|
|
2183
|
+
*
|
|
2184
|
+
* @param {string} password The password to derive from.
|
|
2185
|
+
* @param {number} keySize The size in words of the key to generate.
|
|
2186
|
+
* @param {number} ivSize The size in words of the IV to generate.
|
|
2187
|
+
* @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
|
|
2188
|
+
*
|
|
2189
|
+
* @return {CipherParams} A cipher params object with the key, IV, and salt.
|
|
2190
|
+
*
|
|
2191
|
+
* @static
|
|
2192
|
+
*
|
|
2193
|
+
* @example
|
|
2194
|
+
*
|
|
2195
|
+
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
2196
|
+
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
2197
|
+
*/
|
|
2198
|
+
execute:function(r,t,a,n,i){
|
|
2199
|
+
// Generate random salt
|
|
2200
|
+
if(!n){n=e.random(64/8)}
|
|
2201
|
+
// Derive key and IV
|
|
2202
|
+
if(!i){var o=u.create({keySize:t+a}).compute(r,n)}else{var o=u.create({keySize:t+a,hasher:i}).compute(r,n)}
|
|
2203
|
+
// Separate key and IV
|
|
2204
|
+
var v=e.create(o.words.slice(t),a*4);o.sigBytes=t*4;
|
|
2205
|
+
// Return params
|
|
2206
|
+
return b.create({key:o,iv:v,salt:n})}};
|
|
2207
|
+
/**
|
|
2208
|
+
* A serializable cipher wrapper that derives the key from a password,
|
|
2209
|
+
* and returns ciphertext as a serializable cipher params object.
|
|
2210
|
+
*/var _=n.PasswordBasedCipher=x.extend({
|
|
2211
|
+
/**
|
|
2212
|
+
* Configuration options.
|
|
2213
|
+
*
|
|
2214
|
+
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
|
2215
|
+
*/
|
|
2216
|
+
cfg:x.cfg.extend({kdf:k}),
|
|
2217
|
+
/**
|
|
2218
|
+
* Encrypts a message using a password.
|
|
2219
|
+
*
|
|
2220
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
|
2221
|
+
* @param {WordArray|string} message The message to encrypt.
|
|
2222
|
+
* @param {string} password The password.
|
|
2223
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
2224
|
+
*
|
|
2225
|
+
* @return {CipherParams} A cipher params object.
|
|
2226
|
+
*
|
|
2227
|
+
* @static
|
|
2228
|
+
*
|
|
2229
|
+
* @example
|
|
2230
|
+
*
|
|
2231
|
+
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
|
2232
|
+
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
|
2233
|
+
*/
|
|
2234
|
+
encrypt:function(r,t,a,n){
|
|
2235
|
+
// Apply config defaults
|
|
2236
|
+
n=this.cfg.extend(n);
|
|
2237
|
+
// Derive key and other params
|
|
2238
|
+
var i=n.kdf.execute(a,r.keySize,r.ivSize,n.salt,n.hasher);
|
|
2239
|
+
// Add IV to config
|
|
2240
|
+
n.iv=i.iv;
|
|
2241
|
+
// Encrypt
|
|
2242
|
+
var e=x.encrypt.call(this,r,t,i.key,n);
|
|
2243
|
+
// Mix in derived params
|
|
2244
|
+
e.mixIn(i);return e},
|
|
2245
|
+
/**
|
|
2246
|
+
* Decrypts serialized ciphertext using a password.
|
|
2247
|
+
*
|
|
2248
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
|
2249
|
+
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
|
|
2250
|
+
* @param {string} password The password.
|
|
2251
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
|
2252
|
+
*
|
|
2253
|
+
* @return {WordArray} The plaintext.
|
|
2254
|
+
*
|
|
2255
|
+
* @static
|
|
2256
|
+
*
|
|
2257
|
+
* @example
|
|
2258
|
+
*
|
|
2259
|
+
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
|
2260
|
+
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
|
2261
|
+
*/
|
|
2262
|
+
decrypt:function(r,t,a,n){
|
|
2263
|
+
// Apply config defaults
|
|
2264
|
+
n=this.cfg.extend(n);
|
|
2265
|
+
// Convert string to CipherParams
|
|
2266
|
+
t=this._parse(t,n.format);
|
|
2267
|
+
// Derive key and other params
|
|
2268
|
+
var i=n.kdf.execute(a,r.keySize,r.ivSize,t.salt,n.hasher);
|
|
2269
|
+
// Add IV to config
|
|
2270
|
+
n.iv=i.iv;
|
|
2271
|
+
// Decrypt
|
|
2272
|
+
var e=x.decrypt.call(this,r,t,i.key,n);return e}})}()}))})(Ur);return Ur.exports}var Ir={exports:{}};var Yr=Ir.exports;var Lr;function Xr(){if(Lr)return Ir.exports;Lr=1;(function(r,t){(function(t,a,n){{
|
|
2273
|
+
// CommonJS
|
|
2274
|
+
r.exports=a(B(),Hr())}})(Yr,(function(r){
|
|
2275
|
+
/**
|
|
2276
|
+
* Cipher Feedback block mode.
|
|
2277
|
+
*/
|
|
2278
|
+
r.mode.CFB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,t){
|
|
2279
|
+
// Shortcuts
|
|
2280
|
+
var n=this._cipher;var i=n.blockSize;a.call(this,r,t,i,n);
|
|
2281
|
+
// Remember this block to use with next block
|
|
2282
|
+
this._prevBlock=r.slice(t,t+i)}});t.Decryptor=t.extend({processBlock:function(r,t){
|
|
2283
|
+
// Shortcuts
|
|
2284
|
+
var n=this._cipher;var i=n.blockSize;
|
|
2285
|
+
// Remember this block to use with next block
|
|
2286
|
+
var e=r.slice(t,t+i);a.call(this,r,t,i,n);
|
|
2287
|
+
// This block becomes the previous block
|
|
2288
|
+
this._prevBlock=e}});function a(r,t,a,n){var i;
|
|
2289
|
+
// Shortcut
|
|
2290
|
+
var e=this._iv;
|
|
2291
|
+
// Generate keystream
|
|
2292
|
+
if(e){i=e.slice(0);
|
|
2293
|
+
// Remove IV for subsequent blocks
|
|
2294
|
+
this._iv=undefined}else{i=this._prevBlock}n.encryptBlock(i,0);
|
|
2295
|
+
// Encrypt
|
|
2296
|
+
for(var o=0;o<a;o++){r[t+o]^=i[o]}}return t}();return r.mode.CFB}))})(Ir);return Ir.exports}var Gr={exports:{}};var Nr=Gr.exports;var Vr;function Wr(){if(Vr)return Gr.exports;Vr=1;(function(r,t){(function(t,a,n){{
|
|
2297
|
+
// CommonJS
|
|
2298
|
+
r.exports=a(B(),Hr())}})(Nr,(function(r){
|
|
2299
|
+
/**
|
|
2300
|
+
* Counter block mode.
|
|
2301
|
+
*/
|
|
2302
|
+
r.mode.CTR=function(){var t=r.lib.BlockCipherMode.extend();var a=t.Encryptor=t.extend({processBlock:function(r,t){
|
|
2303
|
+
// Shortcuts
|
|
2304
|
+
var a=this._cipher;var n=a.blockSize;var i=this._iv;var e=this._counter;
|
|
2305
|
+
// Generate keystream
|
|
2306
|
+
if(i){e=this._counter=i.slice(0);
|
|
2307
|
+
// Remove IV for subsequent blocks
|
|
2308
|
+
this._iv=undefined}var o=e.slice(0);a.encryptBlock(o,0);
|
|
2309
|
+
// Increment counter
|
|
2310
|
+
e[n-1]=e[n-1]+1|0;
|
|
2311
|
+
// Encrypt
|
|
2312
|
+
for(var v=0;v<n;v++){r[t+v]^=o[v]}}});t.Decryptor=a;return t}();return r.mode.CTR}))})(Gr);return Gr.exports}var Zr={exports:{}};var Jr=Zr.exports;var Kr;function Qr(){if(Kr)return Zr.exports;Kr=1;(function(r,t){(function(t,a,n){{
|
|
2313
|
+
// CommonJS
|
|
2314
|
+
r.exports=a(B(),Hr())}})(Jr,(function(r){
|
|
2315
|
+
/** @preserve
|
|
2316
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
2317
|
+
* derived from CryptoJS.mode.CTR
|
|
2318
|
+
* Jan Hruby jhruby.web@gmail.com
|
|
2319
|
+
*/
|
|
2320
|
+
r.mode.CTRGladman=function(){var t=r.lib.BlockCipherMode.extend();function a(r){if((r>>24&255)===255){//overflow
|
|
2321
|
+
var t=r>>16&255;var a=r>>8&255;var n=r&255;if(t===255)// overflow b1
|
|
2322
|
+
{t=0;if(a===255){a=0;if(n===255){n=0}else{++n}}else{++a}}else{++t}r=0;r+=t<<16;r+=a<<8;r+=n}else{r+=1<<24}return r}function n(r){if((r[0]=a(r[0]))===0){
|
|
2323
|
+
// encr_data in fileenc.c from Dr Brian Gladman's counts only with DWORD j < 8
|
|
2324
|
+
r[1]=a(r[1])}return r}var i=t.Encryptor=t.extend({processBlock:function(r,t){
|
|
2325
|
+
// Shortcuts
|
|
2326
|
+
var a=this._cipher;var i=a.blockSize;var e=this._iv;var o=this._counter;
|
|
2327
|
+
// Generate keystream
|
|
2328
|
+
if(e){o=this._counter=e.slice(0);
|
|
2329
|
+
// Remove IV for subsequent blocks
|
|
2330
|
+
this._iv=undefined}n(o);var v=o.slice(0);a.encryptBlock(v,0);
|
|
2331
|
+
// Encrypt
|
|
2332
|
+
for(var s=0;s<i;s++){r[t+s]^=v[s]}}});t.Decryptor=i;return t}();return r.mode.CTRGladman}))})(Zr);return Zr.exports}var $r={exports:{}};var rt=$r.exports;var tt;function at(){if(tt)return $r.exports;tt=1;(function(r,t){(function(t,a,n){{
|
|
2333
|
+
// CommonJS
|
|
2334
|
+
r.exports=a(B(),Hr())}})(rt,(function(r){
|
|
2335
|
+
/**
|
|
2336
|
+
* Output Feedback block mode.
|
|
2337
|
+
*/
|
|
2338
|
+
r.mode.OFB=function(){var t=r.lib.BlockCipherMode.extend();var a=t.Encryptor=t.extend({processBlock:function(r,t){
|
|
2339
|
+
// Shortcuts
|
|
2340
|
+
var a=this._cipher;var n=a.blockSize;var i=this._iv;var e=this._keystream;
|
|
2341
|
+
// Generate keystream
|
|
2342
|
+
if(i){e=this._keystream=i.slice(0);
|
|
2343
|
+
// Remove IV for subsequent blocks
|
|
2344
|
+
this._iv=undefined}a.encryptBlock(e,0);
|
|
2345
|
+
// Encrypt
|
|
2346
|
+
for(var o=0;o<n;o++){r[t+o]^=e[o]}}});t.Decryptor=a;return t}();return r.mode.OFB}))})($r);return $r.exports}var nt={exports:{}};var it=nt.exports;var et;function ot(){if(et)return nt.exports;et=1;(function(r,t){(function(t,a,n){{
|
|
2347
|
+
// CommonJS
|
|
2348
|
+
r.exports=a(B(),Hr())}})(it,(function(r){
|
|
2349
|
+
/**
|
|
2350
|
+
* Electronic Codebook block mode.
|
|
2351
|
+
*/
|
|
2352
|
+
r.mode.ECB=function(){var t=r.lib.BlockCipherMode.extend();t.Encryptor=t.extend({processBlock:function(r,t){this._cipher.encryptBlock(r,t)}});t.Decryptor=t.extend({processBlock:function(r,t){this._cipher.decryptBlock(r,t)}});return t}();return r.mode.ECB}))})(nt);return nt.exports}var vt={exports:{}};var st=vt.exports;var ft;function ut(){if(ft)return vt.exports;ft=1;(function(r,t){(function(t,a,n){{
|
|
2353
|
+
// CommonJS
|
|
2354
|
+
r.exports=a(B(),Hr())}})(st,(function(r){
|
|
2355
|
+
/**
|
|
2356
|
+
* ANSI X.923 padding strategy.
|
|
2357
|
+
*/
|
|
2358
|
+
r.pad.AnsiX923={pad:function(r,t){
|
|
2359
|
+
// Shortcuts
|
|
2360
|
+
var a=r.sigBytes;var n=t*4;
|
|
2361
|
+
// Count padding bytes
|
|
2362
|
+
var i=n-a%n;
|
|
2363
|
+
// Compute last byte position
|
|
2364
|
+
var e=a+i-1;
|
|
2365
|
+
// Pad
|
|
2366
|
+
r.clamp();r.words[e>>>2]|=i<<24-e%4*8;r.sigBytes+=i},unpad:function(r){
|
|
2367
|
+
// Get number of padding bytes from last byte
|
|
2368
|
+
var t=r.words[r.sigBytes-1>>>2]&255;
|
|
2369
|
+
// Remove padding
|
|
2370
|
+
r.sigBytes-=t}};return r.pad.Ansix923}))})(vt);return vt.exports}var ct={exports:{}};var ht=ct.exports;var lt;function dt(){if(lt)return ct.exports;lt=1;(function(r,t){(function(t,a,n){{
|
|
2371
|
+
// CommonJS
|
|
2372
|
+
r.exports=a(B(),Hr())}})(ht,(function(r){
|
|
2373
|
+
/**
|
|
2374
|
+
* ISO 10126 padding strategy.
|
|
2375
|
+
*/
|
|
2376
|
+
r.pad.Iso10126={pad:function(t,a){
|
|
2377
|
+
// Shortcut
|
|
2378
|
+
var n=a*4;
|
|
2379
|
+
// Count padding bytes
|
|
2380
|
+
var i=n-t.sigBytes%n;
|
|
2381
|
+
// Pad
|
|
2382
|
+
t.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(r){
|
|
2383
|
+
// Get number of padding bytes from last byte
|
|
2384
|
+
var t=r.words[r.sigBytes-1>>>2]&255;
|
|
2385
|
+
// Remove padding
|
|
2386
|
+
r.sigBytes-=t}};return r.pad.Iso10126}))})(ct);return ct.exports}var pt={exports:{}};var mt=pt.exports;var bt;function gt(){if(bt)return pt.exports;bt=1;(function(r,t){(function(t,a,n){{
|
|
2387
|
+
// CommonJS
|
|
2388
|
+
r.exports=a(B(),Hr())}})(mt,(function(r){
|
|
2389
|
+
/**
|
|
2390
|
+
* ISO/IEC 9797-1 Padding Method 2.
|
|
2391
|
+
*/
|
|
2392
|
+
r.pad.Iso97971={pad:function(t,a){
|
|
2393
|
+
// Add 0x80 byte
|
|
2394
|
+
t.concat(r.lib.WordArray.create([2147483648],1));
|
|
2395
|
+
// Zero pad the rest
|
|
2396
|
+
r.pad.ZeroPadding.pad(t,a)},unpad:function(t){
|
|
2397
|
+
// Remove zero padding
|
|
2398
|
+
r.pad.ZeroPadding.unpad(t);
|
|
2399
|
+
// Remove one more byte -- the 0x80 byte
|
|
2400
|
+
t.sigBytes--}};return r.pad.Iso97971}))})(pt);return pt.exports}var wt={exports:{}};var xt=wt.exports;var yt;function kt(){if(yt)return wt.exports;yt=1;(function(r,t){(function(t,a,n){{
|
|
2401
|
+
// CommonJS
|
|
2402
|
+
r.exports=a(B(),Hr())}})(xt,(function(r){
|
|
2403
|
+
/**
|
|
2404
|
+
* Zero padding strategy.
|
|
2405
|
+
*/
|
|
2406
|
+
r.pad.ZeroPadding={pad:function(r,t){
|
|
2407
|
+
// Shortcut
|
|
2408
|
+
var a=t*4;
|
|
2409
|
+
// Pad
|
|
2410
|
+
r.clamp();r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){
|
|
2411
|
+
// Shortcut
|
|
2412
|
+
var t=r.words;
|
|
2413
|
+
// Unpad
|
|
2414
|
+
var a=r.sigBytes-1;for(var a=r.sigBytes-1;a>=0;a--){if(t[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}}};return r.pad.ZeroPadding}))})(wt);return wt.exports}var _t={exports:{}};var zt=_t.exports;var St;function Bt(){if(St)return _t.exports;St=1;(function(r,t){(function(t,a,n){{
|
|
2415
|
+
// CommonJS
|
|
2416
|
+
r.exports=a(B(),Hr())}})(zt,(function(r){
|
|
2417
|
+
/**
|
|
2418
|
+
* A noop padding strategy.
|
|
2419
|
+
*/
|
|
2420
|
+
r.pad.NoPadding={pad:function(){},unpad:function(){}};return r.pad.NoPadding}))})(_t);return _t.exports}var jt={exports:{}};var Rt=jt.exports;var Ft;function Dt(){if(Ft)return jt.exports;Ft=1;(function(r,t){(function(t,a,n){{
|
|
2421
|
+
// CommonJS
|
|
2422
|
+
r.exports=a(B(),Hr())}})(Rt,(function(r){(function(t){
|
|
2423
|
+
// Shortcuts
|
|
2424
|
+
var a=r;var n=a.lib;var i=n.CipherParams;var e=a.enc;var o=e.Hex;var v=a.format;v.Hex={
|
|
2425
|
+
/**
|
|
2426
|
+
* Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
|
|
2427
|
+
*
|
|
2428
|
+
* @param {CipherParams} cipherParams The cipher params object.
|
|
2429
|
+
*
|
|
2430
|
+
* @return {string} The hexadecimally encoded string.
|
|
2431
|
+
*
|
|
2432
|
+
* @static
|
|
2433
|
+
*
|
|
2434
|
+
* @example
|
|
2435
|
+
*
|
|
2436
|
+
* var hexString = CryptoJS.format.Hex.stringify(cipherParams);
|
|
2437
|
+
*/
|
|
2438
|
+
stringify:function(r){return r.ciphertext.toString(o)},
|
|
2439
|
+
/**
|
|
2440
|
+
* Converts a hexadecimally encoded ciphertext string to a cipher params object.
|
|
2441
|
+
*
|
|
2442
|
+
* @param {string} input The hexadecimally encoded string.
|
|
2443
|
+
*
|
|
2444
|
+
* @return {CipherParams} The cipher params object.
|
|
2445
|
+
*
|
|
2446
|
+
* @static
|
|
2447
|
+
*
|
|
2448
|
+
* @example
|
|
2449
|
+
*
|
|
2450
|
+
* var cipherParams = CryptoJS.format.Hex.parse(hexString);
|
|
2451
|
+
*/
|
|
2452
|
+
parse:function(r){var t=o.parse(r);return i.create({ciphertext:t})}}})();return r.format.Hex}))})(jt);return jt.exports}var Ot={exports:{}};var At=Ot.exports;var Mt;function qt(){if(Mt)return Ot.exports;Mt=1;(function(r,t){(function(t,a,n){{
|
|
2453
|
+
// CommonJS
|
|
2454
|
+
r.exports=a(B(),Y(),J(),Er(),Hr())}})(At,(function(r){(function(){
|
|
2455
|
+
// Shortcuts
|
|
2456
|
+
var t=r;var a=t.lib;var n=a.BlockCipher;var i=t.algo;
|
|
2457
|
+
// Lookup tables
|
|
2458
|
+
var e=[];var o=[];var v=[];var s=[];var f=[];var u=[];var c=[];var h=[];var l=[];var d=[];
|
|
2459
|
+
// Compute lookup tables
|
|
2460
|
+
(function(){
|
|
2461
|
+
// Compute double table
|
|
2462
|
+
var r=[];for(var t=0;t<256;t++){if(t<128){r[t]=t<<1}else{r[t]=t<<1^283}}
|
|
2463
|
+
// Walk GF(2^8)
|
|
2464
|
+
var a=0;var n=0;for(var t=0;t<256;t++){
|
|
2465
|
+
// Compute sbox
|
|
2466
|
+
var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^i&255^99;e[a]=i;o[i]=a;
|
|
2467
|
+
// Compute multiplication
|
|
2468
|
+
var p=r[a];var m=r[p];var b=r[m];
|
|
2469
|
+
// Compute sub bytes, mix columns tables
|
|
2470
|
+
var g=r[i]*257^i*16843008;v[a]=g<<24|g>>>8;s[a]=g<<16|g>>>16;f[a]=g<<8|g>>>24;u[a]=g;
|
|
2471
|
+
// Compute inv sub bytes, inv mix columns tables
|
|
2472
|
+
var g=b*16843009^m*65537^p*257^a*16843008;c[i]=g<<24|g>>>8;h[i]=g<<16|g>>>16;l[i]=g<<8|g>>>24;d[i]=g;
|
|
2473
|
+
// Compute next counter
|
|
2474
|
+
if(!a){a=n=1}else{a=p^r[r[r[b^p]]];n^=r[r[n]]}}})();
|
|
2475
|
+
// Precomputed Rcon lookup
|
|
2476
|
+
var p=[0,1,2,4,8,16,32,64,128,27,54];
|
|
2477
|
+
/**
|
|
2478
|
+
* AES block cipher algorithm.
|
|
2479
|
+
*/var m=i.AES=n.extend({_doReset:function(){var r;
|
|
2480
|
+
// Skip reset of nRounds has been set before and key did not change
|
|
2481
|
+
if(this._nRounds&&this._keyPriorReset===this._key){return}
|
|
2482
|
+
// Shortcuts
|
|
2483
|
+
var t=this._keyPriorReset=this._key;var a=t.words;var n=t.sigBytes/4;
|
|
2484
|
+
// Compute number of rounds
|
|
2485
|
+
var i=this._nRounds=n+6;
|
|
2486
|
+
// Compute number of key schedule rows
|
|
2487
|
+
var o=(i+1)*4;
|
|
2488
|
+
// Compute key schedule
|
|
2489
|
+
var v=this._keySchedule=[];for(var s=0;s<o;s++){if(s<n){v[s]=a[s]}else{r=v[s-1];if(!(s%n)){
|
|
2490
|
+
// Rot word
|
|
2491
|
+
r=r<<8|r>>>24;
|
|
2492
|
+
// Sub word
|
|
2493
|
+
r=e[r>>>24]<<24|e[r>>>16&255]<<16|e[r>>>8&255]<<8|e[r&255];
|
|
2494
|
+
// Mix Rcon
|
|
2495
|
+
r^=p[s/n|0]<<24}else if(n>6&&s%n==4){
|
|
2496
|
+
// Sub word
|
|
2497
|
+
r=e[r>>>24]<<24|e[r>>>16&255]<<16|e[r>>>8&255]<<8|e[r&255]}v[s]=v[s-n]^r}}
|
|
2498
|
+
// Compute inv key schedule
|
|
2499
|
+
var f=this._invKeySchedule=[];for(var u=0;u<o;u++){var s=o-u;if(u%4){var r=v[s]}else{var r=v[s-4]}if(u<4||s<=4){f[u]=r}else{f[u]=c[e[r>>>24]]^h[e[r>>>16&255]]^l[e[r>>>8&255]]^d[e[r&255]]}}},encryptBlock:function(r,t){this._doCryptBlock(r,t,this._keySchedule,v,s,f,u,e)},decryptBlock:function(r,t){
|
|
2500
|
+
// Swap 2nd and 4th rows
|
|
2501
|
+
var a=r[t+1];r[t+1]=r[t+3];r[t+3]=a;this._doCryptBlock(r,t,this._invKeySchedule,c,h,l,d,o);
|
|
2502
|
+
// Inv swap 2nd and 4th rows
|
|
2503
|
+
var a=r[t+1];r[t+1]=r[t+3];r[t+3]=a},_doCryptBlock:function(r,t,a,n,i,e,o,v){
|
|
2504
|
+
// Shortcut
|
|
2505
|
+
var s=this._nRounds;
|
|
2506
|
+
// Get input, add round key
|
|
2507
|
+
var f=r[t]^a[0];var u=r[t+1]^a[1];var c=r[t+2]^a[2];var h=r[t+3]^a[3];
|
|
2508
|
+
// Key schedule row counter
|
|
2509
|
+
var l=4;
|
|
2510
|
+
// Rounds
|
|
2511
|
+
for(var d=1;d<s;d++){
|
|
2512
|
+
// Shift rows, sub bytes, mix columns, add round key
|
|
2513
|
+
var p=n[f>>>24]^i[u>>>16&255]^e[c>>>8&255]^o[h&255]^a[l++];var m=n[u>>>24]^i[c>>>16&255]^e[h>>>8&255]^o[f&255]^a[l++];var b=n[c>>>24]^i[h>>>16&255]^e[f>>>8&255]^o[u&255]^a[l++];var g=n[h>>>24]^i[f>>>16&255]^e[u>>>8&255]^o[c&255]^a[l++];
|
|
2514
|
+
// Update state
|
|
2515
|
+
f=p;u=m;c=b;h=g}
|
|
2516
|
+
// Shift rows, sub bytes, add round key
|
|
2517
|
+
var p=(v[f>>>24]<<24|v[u>>>16&255]<<16|v[c>>>8&255]<<8|v[h&255])^a[l++];var m=(v[u>>>24]<<24|v[c>>>16&255]<<16|v[h>>>8&255]<<8|v[f&255])^a[l++];var b=(v[c>>>24]<<24|v[h>>>16&255]<<16|v[f>>>8&255]<<8|v[u&255])^a[l++];var g=(v[h>>>24]<<24|v[f>>>16&255]<<16|v[u>>>8&255]<<8|v[c&255])^a[l++];
|
|
2518
|
+
// Set output
|
|
2519
|
+
r[t]=p;r[t+1]=m;r[t+2]=b;r[t+3]=g},keySize:256/32});
|
|
2520
|
+
/**
|
|
2521
|
+
* Shortcut functions to the cipher's object interface.
|
|
2522
|
+
*
|
|
2523
|
+
* @example
|
|
2524
|
+
*
|
|
2525
|
+
* var ciphertext = CryptoJS.AES.encrypt(message, key, cfg);
|
|
2526
|
+
* var plaintext = CryptoJS.AES.decrypt(ciphertext, key, cfg);
|
|
2527
|
+
*/t.AES=n._createHelper(m)})();return r.AES}))})(Ot);return Ot.exports}var Ct={exports:{}};var Et=Ct.exports;var Ut;function Pt(){if(Ut)return Ct.exports;Ut=1;(function(r,t){(function(t,a,n){{
|
|
2528
|
+
// CommonJS
|
|
2529
|
+
r.exports=a(B(),Y(),J(),Er(),Hr())}})(Et,(function(r){(function(){
|
|
2530
|
+
// Shortcuts
|
|
2531
|
+
var t=r;var a=t.lib;var n=a.WordArray;var i=a.BlockCipher;var e=t.algo;
|
|
2532
|
+
// Permuted Choice 1 constants
|
|
2533
|
+
var o=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4];
|
|
2534
|
+
// Permuted Choice 2 constants
|
|
2535
|
+
var v=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32];
|
|
2536
|
+
// Cumulative bit shift constants
|
|
2537
|
+
var s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28];
|
|
2538
|
+
// SBOXes and round permutation constants
|
|
2539
|
+
var f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}];
|
|
2540
|
+
// Masks that select the SBOX input
|
|
2541
|
+
var u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679];
|
|
2542
|
+
/**
|
|
2543
|
+
* DES block cipher algorithm.
|
|
2544
|
+
*/var c=e.DES=i.extend({_doReset:function(){
|
|
2545
|
+
// Shortcuts
|
|
2546
|
+
var r=this._key;var t=r.words;
|
|
2547
|
+
// Select 56 bits according to PC1
|
|
2548
|
+
var a=[];for(var n=0;n<56;n++){var i=o[n]-1;a[n]=t[i>>>5]>>>31-i%32&1}
|
|
2549
|
+
// Assemble 16 subkeys
|
|
2550
|
+
var e=this._subKeys=[];for(var f=0;f<16;f++){
|
|
2551
|
+
// Create subkey
|
|
2552
|
+
var u=e[f]=[];
|
|
2553
|
+
// Shortcut
|
|
2554
|
+
var c=s[f];
|
|
2555
|
+
// Select 48 bits according to PC2
|
|
2556
|
+
for(var n=0;n<24;n++){
|
|
2557
|
+
// Select from the left 28 key bits
|
|
2558
|
+
u[n/6|0]|=a[(v[n]-1+c)%28]<<31-n%6;
|
|
2559
|
+
// Select from the right 28 key bits
|
|
2560
|
+
u[4+(n/6|0)]|=a[28+(v[n+24]-1+c)%28]<<31-n%6}
|
|
2561
|
+
// Since each subkey is applied to an expanded 32-bit input,
|
|
2562
|
+
// the subkey can be broken into 8 values scaled to 32-bits,
|
|
2563
|
+
// which allows the key to be used without expansion
|
|
2564
|
+
u[0]=u[0]<<1|u[0]>>>31;for(var n=1;n<7;n++){u[n]=u[n]>>>(n-1)*4+3}u[7]=u[7]<<5|u[7]>>>27}
|
|
2565
|
+
// Compute inverse subkeys
|
|
2566
|
+
var h=this._invSubKeys=[];for(var n=0;n<16;n++){h[n]=e[15-n]}},encryptBlock:function(r,t){this._doCryptBlock(r,t,this._subKeys)},decryptBlock:function(r,t){this._doCryptBlock(r,t,this._invSubKeys)},_doCryptBlock:function(r,t,a){
|
|
2567
|
+
// Get input
|
|
2568
|
+
this._lBlock=r[t];this._rBlock=r[t+1];
|
|
2569
|
+
// Initial permutation
|
|
2570
|
+
h.call(this,4,252645135);h.call(this,16,65535);l.call(this,2,858993459);l.call(this,8,16711935);h.call(this,1,1431655765);
|
|
2571
|
+
// Rounds
|
|
2572
|
+
for(var n=0;n<16;n++){
|
|
2573
|
+
// Shortcuts
|
|
2574
|
+
var i=a[n];var e=this._lBlock;var o=this._rBlock;
|
|
2575
|
+
// Feistel function
|
|
2576
|
+
var v=0;for(var s=0;s<8;s++){v|=f[s][((o^i[s])&u[s])>>>0]}this._lBlock=o;this._rBlock=e^v}
|
|
2577
|
+
// Undo swap from last round
|
|
2578
|
+
var c=this._lBlock;this._lBlock=this._rBlock;this._rBlock=c;
|
|
2579
|
+
// Final permutation
|
|
2580
|
+
h.call(this,1,1431655765);l.call(this,8,16711935);l.call(this,2,858993459);h.call(this,16,65535);h.call(this,4,252645135);
|
|
2581
|
+
// Set output
|
|
2582
|
+
r[t]=this._lBlock;r[t+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});
|
|
2583
|
+
// Swap bits across the left and right words
|
|
2584
|
+
function h(r,t){var a=(this._lBlock>>>r^this._rBlock)&t;this._rBlock^=a;this._lBlock^=a<<r}function l(r,t){var a=(this._rBlock>>>r^this._lBlock)&t;this._lBlock^=a;this._rBlock^=a<<r}
|
|
2585
|
+
/**
|
|
2586
|
+
* Shortcut functions to the cipher's object interface.
|
|
2587
|
+
*
|
|
2588
|
+
* @example
|
|
2589
|
+
*
|
|
2590
|
+
* var ciphertext = CryptoJS.DES.encrypt(message, key, cfg);
|
|
2591
|
+
* var plaintext = CryptoJS.DES.decrypt(ciphertext, key, cfg);
|
|
2592
|
+
*/t.DES=i._createHelper(c);
|
|
2593
|
+
/**
|
|
2594
|
+
* Triple-DES block cipher algorithm.
|
|
2595
|
+
*/var d=e.TripleDES=i.extend({_doReset:function(){
|
|
2596
|
+
// Shortcuts
|
|
2597
|
+
var r=this._key;var t=r.words;
|
|
2598
|
+
// Make sure the key length is valid (64, 128 or >= 192 bit)
|
|
2599
|
+
if(t.length!==2&&t.length!==4&&t.length<6){throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.")}
|
|
2600
|
+
// Extend the key according to the keying options defined in 3DES standard
|
|
2601
|
+
var a=t.slice(0,2);var i=t.length<4?t.slice(0,2):t.slice(2,4);var e=t.length<6?t.slice(0,2):t.slice(4,6);
|
|
2602
|
+
// Create DES instances
|
|
2603
|
+
this._des1=c.createEncryptor(n.create(a));this._des2=c.createEncryptor(n.create(i));this._des3=c.createEncryptor(n.create(e))},encryptBlock:function(r,t){this._des1.encryptBlock(r,t);this._des2.decryptBlock(r,t);this._des3.encryptBlock(r,t)},decryptBlock:function(r,t){this._des3.decryptBlock(r,t);this._des2.encryptBlock(r,t);this._des1.decryptBlock(r,t)},keySize:192/32,ivSize:64/32,blockSize:64/32});
|
|
2604
|
+
/**
|
|
2605
|
+
* Shortcut functions to the cipher's object interface.
|
|
2606
|
+
*
|
|
2607
|
+
* @example
|
|
2608
|
+
*
|
|
2609
|
+
* var ciphertext = CryptoJS.TripleDES.encrypt(message, key, cfg);
|
|
2610
|
+
* var plaintext = CryptoJS.TripleDES.decrypt(ciphertext, key, cfg);
|
|
2611
|
+
*/t.TripleDES=i._createHelper(d)})();return r.TripleDES}))})(Ct);return Ct.exports}var Tt={exports:{}};var Ht=Tt.exports;var It;function Yt(){if(It)return Tt.exports;It=1;(function(r,t){(function(t,a,n){{
|
|
2612
|
+
// CommonJS
|
|
2613
|
+
r.exports=a(B(),Y(),J(),Er(),Hr())}})(Ht,(function(r){(function(){
|
|
2614
|
+
// Shortcuts
|
|
2615
|
+
var t=r;var a=t.lib;var n=a.StreamCipher;var i=t.algo;
|
|
2616
|
+
/**
|
|
2617
|
+
* RC4 stream cipher algorithm.
|
|
2618
|
+
*/var e=i.RC4=n.extend({_doReset:function(){
|
|
2619
|
+
// Shortcuts
|
|
2620
|
+
var r=this._key;var t=r.words;var a=r.sigBytes;
|
|
2621
|
+
// Init sbox
|
|
2622
|
+
var n=this._S=[];for(var i=0;i<256;i++){n[i]=i}
|
|
2623
|
+
// Key setup
|
|
2624
|
+
for(var i=0,e=0;i<256;i++){var o=i%a;var v=t[o>>>2]>>>24-o%4*8&255;e=(e+n[i]+v)%256;
|
|
2625
|
+
// Swap
|
|
2626
|
+
var s=n[i];n[i]=n[e];n[e]=s}
|
|
2627
|
+
// Counters
|
|
2628
|
+
this._i=this._j=0},_doProcessBlock:function(r,t){r[t]^=o.call(this)},keySize:256/32,ivSize:0});function o(){
|
|
2629
|
+
// Shortcuts
|
|
2630
|
+
var r=this._S;var t=this._i;var a=this._j;
|
|
2631
|
+
// Generate keystream word
|
|
2632
|
+
var n=0;for(var i=0;i<4;i++){t=(t+1)%256;a=(a+r[t])%256;
|
|
2633
|
+
// Swap
|
|
2634
|
+
var e=r[t];r[t]=r[a];r[a]=e;n|=r[(r[t]+r[a])%256]<<24-i*8}
|
|
2635
|
+
// Update counters
|
|
2636
|
+
this._i=t;this._j=a;return n}
|
|
2637
|
+
/**
|
|
2638
|
+
* Shortcut functions to the cipher's object interface.
|
|
2639
|
+
*
|
|
2640
|
+
* @example
|
|
2641
|
+
*
|
|
2642
|
+
* var ciphertext = CryptoJS.RC4.encrypt(message, key, cfg);
|
|
2643
|
+
* var plaintext = CryptoJS.RC4.decrypt(ciphertext, key, cfg);
|
|
2644
|
+
*/t.RC4=n._createHelper(e);
|
|
2645
|
+
/**
|
|
2646
|
+
* Modified RC4 stream cipher algorithm.
|
|
2647
|
+
*/var v=i.RC4Drop=e.extend({
|
|
2648
|
+
/**
|
|
2649
|
+
* Configuration options.
|
|
2650
|
+
*
|
|
2651
|
+
* @property {number} drop The number of keystream words to drop. Default 192
|
|
2652
|
+
*/
|
|
2653
|
+
cfg:e.cfg.extend({drop:192}),_doReset:function(){e._doReset.call(this);
|
|
2654
|
+
// Drop
|
|
2655
|
+
for(var r=this.cfg.drop;r>0;r--){o.call(this)}}});
|
|
2656
|
+
/**
|
|
2657
|
+
* Shortcut functions to the cipher's object interface.
|
|
2658
|
+
*
|
|
2659
|
+
* @example
|
|
2660
|
+
*
|
|
2661
|
+
* var ciphertext = CryptoJS.RC4Drop.encrypt(message, key, cfg);
|
|
2662
|
+
* var plaintext = CryptoJS.RC4Drop.decrypt(ciphertext, key, cfg);
|
|
2663
|
+
*/t.RC4Drop=n._createHelper(v)})();return r.RC4}))})(Tt);return Tt.exports}var Lt={exports:{}};var Xt=Lt.exports;var Gt;function Nt(){if(Gt)return Lt.exports;Gt=1;(function(r,t){(function(t,a,n){{
|
|
2664
|
+
// CommonJS
|
|
2665
|
+
r.exports=a(B(),Y(),J(),Er(),Hr())}})(Xt,(function(r){(function(){
|
|
2666
|
+
// Shortcuts
|
|
2667
|
+
var t=r;var a=t.lib;var n=a.StreamCipher;var i=t.algo;
|
|
2668
|
+
// Reusable objects
|
|
2669
|
+
var e=[];var o=[];var v=[];
|
|
2670
|
+
/**
|
|
2671
|
+
* Rabbit stream cipher algorithm
|
|
2672
|
+
*/var s=i.Rabbit=n.extend({_doReset:function(){
|
|
2673
|
+
// Shortcuts
|
|
2674
|
+
var r=this._key.words;var t=this.cfg.iv;
|
|
2675
|
+
// Swap endian
|
|
2676
|
+
for(var a=0;a<4;a++){r[a]=(r[a]<<8|r[a]>>>24)&16711935|(r[a]<<24|r[a]>>>8)&4278255360}
|
|
2677
|
+
// Generate initial state values
|
|
2678
|
+
var n=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16];
|
|
2679
|
+
// Generate initial counter values
|
|
2680
|
+
var i=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];
|
|
2681
|
+
// Carry bit
|
|
2682
|
+
this._b=0;
|
|
2683
|
+
// Iterate the system four times
|
|
2684
|
+
for(var a=0;a<4;a++){f.call(this)}
|
|
2685
|
+
// Modify the counters
|
|
2686
|
+
for(var a=0;a<8;a++){i[a]^=n[a+4&7]}
|
|
2687
|
+
// IV setup
|
|
2688
|
+
if(t){
|
|
2689
|
+
// Shortcuts
|
|
2690
|
+
var e=t.words;var o=e[0];var v=e[1];
|
|
2691
|
+
// Generate four subvectors
|
|
2692
|
+
var s=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var u=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var c=s>>>16|u&4294901760;var h=u<<16|s&65535;
|
|
2693
|
+
// Modify counter values
|
|
2694
|
+
i[0]^=s;i[1]^=c;i[2]^=u;i[3]^=h;i[4]^=s;i[5]^=c;i[6]^=u;i[7]^=h;
|
|
2695
|
+
// Iterate the system four times
|
|
2696
|
+
for(var a=0;a<4;a++){f.call(this)}}},_doProcessBlock:function(r,t){
|
|
2697
|
+
// Shortcut
|
|
2698
|
+
var a=this._X;
|
|
2699
|
+
// Iterate the system
|
|
2700
|
+
f.call(this);
|
|
2701
|
+
// Generate four keystream words
|
|
2702
|
+
e[0]=a[0]^a[5]>>>16^a[3]<<16;e[1]=a[2]^a[7]>>>16^a[5]<<16;e[2]=a[4]^a[1]>>>16^a[7]<<16;e[3]=a[6]^a[3]>>>16^a[1]<<16;for(var n=0;n<4;n++){
|
|
2703
|
+
// Swap endian
|
|
2704
|
+
e[n]=(e[n]<<8|e[n]>>>24)&16711935|(e[n]<<24|e[n]>>>8)&4278255360;
|
|
2705
|
+
// Encrypt
|
|
2706
|
+
r[t+n]^=e[n]}},blockSize:128/32,ivSize:64/32});function f(){
|
|
2707
|
+
// Shortcuts
|
|
2708
|
+
var r=this._X;var t=this._C;
|
|
2709
|
+
// Save old counter values
|
|
2710
|
+
for(var a=0;a<8;a++){o[a]=t[a]}
|
|
2711
|
+
// Calculate new counter values
|
|
2712
|
+
t[0]=t[0]+1295307597+this._b|0;t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0;t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0;t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0;t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0;t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0;t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0;t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0;this._b=t[7]>>>0<o[7]>>>0?1:0;
|
|
2713
|
+
// Calculate the g-values
|
|
2714
|
+
for(var a=0;a<8;a++){var n=r[a]+t[a];
|
|
2715
|
+
// Construct high and low argument for squaring
|
|
2716
|
+
var i=n&65535;var e=n>>>16;
|
|
2717
|
+
// Calculate high and low result of squaring
|
|
2718
|
+
var s=((i*i>>>17)+i*e>>>15)+e*e;var f=((n&4294901760)*n|0)+((n&65535)*n|0);
|
|
2719
|
+
// High XOR low
|
|
2720
|
+
v[a]=s^f}
|
|
2721
|
+
// Calculate new state values
|
|
2722
|
+
r[0]=v[0]+(v[7]<<16|v[7]>>>16)+(v[6]<<16|v[6]>>>16)|0;r[1]=v[1]+(v[0]<<8|v[0]>>>24)+v[7]|0;r[2]=v[2]+(v[1]<<16|v[1]>>>16)+(v[0]<<16|v[0]>>>16)|0;r[3]=v[3]+(v[2]<<8|v[2]>>>24)+v[1]|0;r[4]=v[4]+(v[3]<<16|v[3]>>>16)+(v[2]<<16|v[2]>>>16)|0;r[5]=v[5]+(v[4]<<8|v[4]>>>24)+v[3]|0;r[6]=v[6]+(v[5]<<16|v[5]>>>16)+(v[4]<<16|v[4]>>>16)|0;r[7]=v[7]+(v[6]<<8|v[6]>>>24)+v[5]|0}
|
|
2723
|
+
/**
|
|
2724
|
+
* Shortcut functions to the cipher's object interface.
|
|
2725
|
+
*
|
|
2726
|
+
* @example
|
|
2727
|
+
*
|
|
2728
|
+
* var ciphertext = CryptoJS.Rabbit.encrypt(message, key, cfg);
|
|
2729
|
+
* var plaintext = CryptoJS.Rabbit.decrypt(ciphertext, key, cfg);
|
|
2730
|
+
*/t.Rabbit=n._createHelper(s)})();return r.Rabbit}))})(Lt);return Lt.exports}var Vt={exports:{}};var Wt=Vt.exports;var Zt;function Jt(){if(Zt)return Vt.exports;Zt=1;(function(r,t){(function(t,a,n){{
|
|
2731
|
+
// CommonJS
|
|
2732
|
+
r.exports=a(B(),Y(),J(),Er(),Hr())}})(Wt,(function(r){(function(){
|
|
2733
|
+
// Shortcuts
|
|
2734
|
+
var t=r;var a=t.lib;var n=a.StreamCipher;var i=t.algo;
|
|
2735
|
+
// Reusable objects
|
|
2736
|
+
var e=[];var o=[];var v=[];
|
|
2737
|
+
/**
|
|
2738
|
+
* Rabbit stream cipher algorithm.
|
|
2739
|
+
*
|
|
2740
|
+
* This is a legacy version that neglected to convert the key to little-endian.
|
|
2741
|
+
* This error doesn't affect the cipher's security,
|
|
2742
|
+
* but it does affect its compatibility with other implementations.
|
|
2743
|
+
*/var s=i.RabbitLegacy=n.extend({_doReset:function(){
|
|
2744
|
+
// Shortcuts
|
|
2745
|
+
var r=this._key.words;var t=this.cfg.iv;
|
|
2746
|
+
// Generate initial state values
|
|
2747
|
+
var a=this._X=[r[0],r[3]<<16|r[2]>>>16,r[1],r[0]<<16|r[3]>>>16,r[2],r[1]<<16|r[0]>>>16,r[3],r[2]<<16|r[1]>>>16];
|
|
2748
|
+
// Generate initial counter values
|
|
2749
|
+
var n=this._C=[r[2]<<16|r[2]>>>16,r[0]&4294901760|r[1]&65535,r[3]<<16|r[3]>>>16,r[1]&4294901760|r[2]&65535,r[0]<<16|r[0]>>>16,r[2]&4294901760|r[3]&65535,r[1]<<16|r[1]>>>16,r[3]&4294901760|r[0]&65535];
|
|
2750
|
+
// Carry bit
|
|
2751
|
+
this._b=0;
|
|
2752
|
+
// Iterate the system four times
|
|
2753
|
+
for(var i=0;i<4;i++){f.call(this)}
|
|
2754
|
+
// Modify the counters
|
|
2755
|
+
for(var i=0;i<8;i++){n[i]^=a[i+4&7]}
|
|
2756
|
+
// IV setup
|
|
2757
|
+
if(t){
|
|
2758
|
+
// Shortcuts
|
|
2759
|
+
var e=t.words;var o=e[0];var v=e[1];
|
|
2760
|
+
// Generate four subvectors
|
|
2761
|
+
var s=(o<<8|o>>>24)&16711935|(o<<24|o>>>8)&4278255360;var u=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var c=s>>>16|u&4294901760;var h=u<<16|s&65535;
|
|
2762
|
+
// Modify counter values
|
|
2763
|
+
n[0]^=s;n[1]^=c;n[2]^=u;n[3]^=h;n[4]^=s;n[5]^=c;n[6]^=u;n[7]^=h;
|
|
2764
|
+
// Iterate the system four times
|
|
2765
|
+
for(var i=0;i<4;i++){f.call(this)}}},_doProcessBlock:function(r,t){
|
|
2766
|
+
// Shortcut
|
|
2767
|
+
var a=this._X;
|
|
2768
|
+
// Iterate the system
|
|
2769
|
+
f.call(this);
|
|
2770
|
+
// Generate four keystream words
|
|
2771
|
+
e[0]=a[0]^a[5]>>>16^a[3]<<16;e[1]=a[2]^a[7]>>>16^a[5]<<16;e[2]=a[4]^a[1]>>>16^a[7]<<16;e[3]=a[6]^a[3]>>>16^a[1]<<16;for(var n=0;n<4;n++){
|
|
2772
|
+
// Swap endian
|
|
2773
|
+
e[n]=(e[n]<<8|e[n]>>>24)&16711935|(e[n]<<24|e[n]>>>8)&4278255360;
|
|
2774
|
+
// Encrypt
|
|
2775
|
+
r[t+n]^=e[n]}},blockSize:128/32,ivSize:64/32});function f(){
|
|
2776
|
+
// Shortcuts
|
|
2777
|
+
var r=this._X;var t=this._C;
|
|
2778
|
+
// Save old counter values
|
|
2779
|
+
for(var a=0;a<8;a++){o[a]=t[a]}
|
|
2780
|
+
// Calculate new counter values
|
|
2781
|
+
t[0]=t[0]+1295307597+this._b|0;t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0;t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0;t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0;t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0;t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0;t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0;t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0;this._b=t[7]>>>0<o[7]>>>0?1:0;
|
|
2782
|
+
// Calculate the g-values
|
|
2783
|
+
for(var a=0;a<8;a++){var n=r[a]+t[a];
|
|
2784
|
+
// Construct high and low argument for squaring
|
|
2785
|
+
var i=n&65535;var e=n>>>16;
|
|
2786
|
+
// Calculate high and low result of squaring
|
|
2787
|
+
var s=((i*i>>>17)+i*e>>>15)+e*e;var f=((n&4294901760)*n|0)+((n&65535)*n|0);
|
|
2788
|
+
// High XOR low
|
|
2789
|
+
v[a]=s^f}
|
|
2790
|
+
// Calculate new state values
|
|
2791
|
+
r[0]=v[0]+(v[7]<<16|v[7]>>>16)+(v[6]<<16|v[6]>>>16)|0;r[1]=v[1]+(v[0]<<8|v[0]>>>24)+v[7]|0;r[2]=v[2]+(v[1]<<16|v[1]>>>16)+(v[0]<<16|v[0]>>>16)|0;r[3]=v[3]+(v[2]<<8|v[2]>>>24)+v[1]|0;r[4]=v[4]+(v[3]<<16|v[3]>>>16)+(v[2]<<16|v[2]>>>16)|0;r[5]=v[5]+(v[4]<<8|v[4]>>>24)+v[3]|0;r[6]=v[6]+(v[5]<<16|v[5]>>>16)+(v[4]<<16|v[4]>>>16)|0;r[7]=v[7]+(v[6]<<8|v[6]>>>24)+v[5]|0}
|
|
2792
|
+
/**
|
|
2793
|
+
* Shortcut functions to the cipher's object interface.
|
|
2794
|
+
*
|
|
2795
|
+
* @example
|
|
2796
|
+
*
|
|
2797
|
+
* var ciphertext = CryptoJS.RabbitLegacy.encrypt(message, key, cfg);
|
|
2798
|
+
* var plaintext = CryptoJS.RabbitLegacy.decrypt(ciphertext, key, cfg);
|
|
2799
|
+
*/t.RabbitLegacy=n._createHelper(s)})();return r.RabbitLegacy}))})(Vt);return Vt.exports}var Kt={exports:{}};var Qt=Kt.exports;var $t;function ra(){if($t)return Kt.exports;$t=1;(function(r,t){(function(t,a,n){{
|
|
2800
|
+
// CommonJS
|
|
2801
|
+
r.exports=a(B(),Y(),J(),Er(),Hr())}})(Qt,(function(r){(function(){
|
|
2802
|
+
// Shortcuts
|
|
2803
|
+
var t=r;var a=t.lib;var n=a.BlockCipher;var i=t.algo;var e=16;
|
|
2804
|
+
//Origin pbox and sbox, derived from PI
|
|
2805
|
+
var o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731];var v=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function f(r,t){var a=t>>24&255;var n=t>>16&255;var i=t>>8&255;var e=t&255;var o=r.sbox[0][a]+r.sbox[1][n];o=o^r.sbox[2][i];o=o+r.sbox[3][e];return o}function u(r,t,a){var n=t;var i=a;var o;for(var v=0;v<e;++v){n=n^r.pbox[v];i=f(r,n)^i;o=n;n=i;i=o}o=n;n=i;i=o;i=i^r.pbox[e];n=n^r.pbox[e+1];return{left:n,right:i}}function c(r,t,a){var n=t;var i=a;var o;for(var v=e+1;v>1;--v){n=n^r.pbox[v];i=f(r,n)^i;o=n;n=i;i=o}o=n;n=i;i=o;i=i^r.pbox[1];n=n^r.pbox[0];return{left:n,right:i}}
|
|
2806
|
+
/**
|
|
2807
|
+
* Initialization ctx's pbox and sbox.
|
|
2808
|
+
*
|
|
2809
|
+
* @param {Object} ctx The object has pbox and sbox.
|
|
2810
|
+
* @param {Array} key An array of 32-bit words.
|
|
2811
|
+
* @param {int} keysize The length of the key.
|
|
2812
|
+
*
|
|
2813
|
+
* @example
|
|
2814
|
+
*
|
|
2815
|
+
* BlowFishInit(BLOWFISH_CTX, key, 128/32);
|
|
2816
|
+
*/function h(r,t,a){for(var n=0;n<4;n++){r.sbox[n]=[];for(var i=0;i<256;i++){r.sbox[n][i]=v[n][i]}}var s=0;for(var f=0;f<e+2;f++){r.pbox[f]=o[f]^t[s];s++;if(s>=a){s=0}}var c=0;var h=0;var l=0;for(var d=0;d<e+2;d+=2){l=u(r,c,h);c=l.left;h=l.right;r.pbox[d]=c;r.pbox[d+1]=h}for(var d=0;d<4;d++){for(var p=0;p<256;p+=2){l=u(r,c,h);c=l.left;h=l.right;r.sbox[d][p]=c;r.sbox[d][p+1]=h}}return true}
|
|
2817
|
+
/**
|
|
2818
|
+
* Blowfish block cipher algorithm.
|
|
2819
|
+
*/var l=i.Blowfish=n.extend({_doReset:function(){
|
|
2820
|
+
// Skip reset of nRounds has been set before and key did not change
|
|
2821
|
+
if(this._keyPriorReset===this._key){return}
|
|
2822
|
+
// Shortcuts
|
|
2823
|
+
var r=this._keyPriorReset=this._key;var t=r.words;var a=r.sigBytes/4;
|
|
2824
|
+
//Initialization pbox and sbox
|
|
2825
|
+
h(s,t,a)},encryptBlock:function(r,t){var a=u(s,r[t],r[t+1]);r[t]=a.left;r[t+1]=a.right},decryptBlock:function(r,t){var a=c(s,r[t],r[t+1]);r[t]=a.left;r[t+1]=a.right},blockSize:64/32,keySize:128/32,ivSize:64/32});
|
|
2826
|
+
/**
|
|
2827
|
+
* Shortcut functions to the cipher's object interface.
|
|
2828
|
+
*
|
|
2829
|
+
* @example
|
|
2830
|
+
*
|
|
2831
|
+
* var ciphertext = CryptoJS.Blowfish.encrypt(message, key, cfg);
|
|
2832
|
+
* var plaintext = CryptoJS.Blowfish.decrypt(ciphertext, key, cfg);
|
|
2833
|
+
*/t.Blowfish=n._createHelper(l)})();return r.Blowfish}))})(Kt);return Kt.exports}var ta=g.exports;var aa;function na(){if(aa)return g.exports;aa=1;(function(r,t){(function(t,a,n){{
|
|
2834
|
+
// CommonJS
|
|
2835
|
+
r.exports=a(B(),D(),q(),P(),Y(),N(),J(),rr(),ir(),sr(),hr(),mr(),xr(),zr(),Rr(),Ar(),Er(),Hr(),Xr(),Wr(),Qr(),at(),ot(),ut(),dt(),gt(),kt(),Bt(),Dt(),qt(),Pt(),Yt(),Nt(),Jt(),ra())}})(ta,(function(r){return r}))})(g);return g.exports}var ia=na();var ea='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 18h14v2H5v-2zm4.6-2.7L5 10.7l2-1.9l2.6 2.6L17 4l2 2l-9.4 9.3z"/></svg>';var oa='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4l-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59L7 11l5 5l5-5z"/></svg>';var va="Έχετε ήδη κατεβάσει αυτό το αρχείο";var sa={alreadyDownloaded:va};var fa="You have already downloaded this file";var ua={alreadyDownloaded:fa};var ca="Ya has descargado este archivo";var ha={alreadyDownloaded:ca};var la="Hai già scaricato questo file";var da={alreadyDownloaded:la};var pa=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-file-transition-duration:var(--duration-200,.2s);--private-file-transition-duration:var(--mds-file-transition-duration);--private-icon-download-offset:10%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));-webkit-box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);box-shadow:var(--shadow-outline-weak,0 0 0 1px #0000000d,0 1px 2px 0 #0000000d);color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;cursor:pointer;display:inline-flex;overflow:hidden;-webkit-transition-duration:var(--private-file-transition-duration);transition-duration:var(--private-file-transition-duration);transition-property:box-shadow,outline,outline-offset;-webkit-transition-timing-function:var(--ease-out);transition-timing-function:var(--ease-out);width:100%}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){-webkit-box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px)}:host(:hover) .download-icon{opacity:1;transform:translateY(0)}:host(:hover) :is(.icon-preview,.image-preview){opacity:0;-webkit-transform:translateY(var(--private-icon-download-offset));transform:translateY(var(--private-icon-download-offset))}.download-icon{inset:0;opacity:0;position:absolute;-webkit-transform:translateY(calc(var(--private-icon-download-offset)*-1));transform:translateY(calc(var(--private-icon-download-offset)*-1));-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.download-icon,.preview{align-items:center;display:flex;justify-content:center}.preview{background-color:var(--mds-file-preview-icon-background);color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));flex-shrink:0;position:relative;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:color,background-color,fill;-webkit-transition-timing-function:var(--ease-in-out);transition-timing-function:var(--ease-in-out);width:calc(var(--spacing,.0025rem)*1400)}.image-preview{background-position:50%;background-repeat:no-repeat;background-size:contain;inset:calc(var(--spacing,.0025rem)*300);position:absolute}.icon-preview,.image-preview{-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:opacity,transform;-webkit-transition-timing-function:inherit;transition-timing-function:inherit}.info{flex-direction:column;flex-grow:1;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*1400);justify-content:center;padding:0 calc(var(--spacing,.0025rem)*300)}.filename,.info{display:flex;min-width:0}.name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.extension{flex-shrink:0}.detail{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200);min-width:0}.suffix{flex-shrink:0;pointer-events:none}.description{color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.indicator{align-items:center;display:flex;justify-content:center;padding-right:calc(var(--spacing,.0025rem)*400)}.downloaded{display:flex;fill:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}.downloaded svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([format=archive]),:host([format=executable]){--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236))}:host([format=attachment]){--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([format=audio]),:host([format=video]){--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186))}:host([format=certificate]),:host([format=document]){--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219))}:host([format=email]),:host([format=text]){--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254))}:host([format=image]){--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221))}:host([format=slide]){--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242))}:host([format=spreadsheet]){--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178))}:host([format=vector]){--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-file-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-contrast=more]):host(:hover){-webkit-box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-file-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover){-webkit-box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6));box-shadow:var(--shadow-ring-strong-4,0 0 0 4px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var ma=r("mds_file",/** @class */function(){function r(r){var n=this;t(this,r);this.downloadedEvent=a(this,"mdsFileDownload",7);this.t=new m({el:Object.assign(Object.assign({},sa),c),en:Object.assign(Object.assign({},ua),u),es:Object.assign(Object.assign({},ha),f),it:Object.assign(Object.assign({},da),s)});this.wasDownloaded=false;
|
|
2836
|
+
/**
|
|
2837
|
+
* Hides the download icon
|
|
2838
|
+
*/this.hideDownloadedIcon=false;this.handleOnClick=function(){var r;var t=h(n.filename,n.suffix),a=t.format,i=t.description;n.downloadedEvent.emit({description:(r=n.description)!==null&&r!==void 0?r:i,extension:l(n.filename,n.suffix),filename:n.filename,target:n.host,type:a});localStorage.setItem("mdsFile".concat(ia.MD5(n.filename).toString()),"downloaded");n.checkWasDownloaded()};this.checkWasDownloaded=function(){var r="mdsFile/".concat(ia.MD5(n.filename).toString());n.wasDownloaded=localStorage.getItem(r)==="downloaded"};this.getDefaultDescription=function(){return h(n.filename,n.suffix).description}}r.prototype.componentWillLoad=function(){this.checkWasDownloaded();this.format=h(this.filename,this.suffix).format};r.prototype.componentDidUpdate=function(){this.checkWasDownloaded()};r.prototype.handleFilename=function(r){this.format=h(r,this.suffix).format};r.prototype.render=function(){var r,t;return n(i,{key:"8a7d7748c23239b50d4c37d964f13063d5e49ec9",tabindex:"0",onClick:this.handleOnClick,"pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},n("div",{key:"76aba9185620945d48d49925ff541ba02cfc5589",class:"preview"},this.preview!==undefined?n("div",{class:"image-preview",style:{backgroundImage:"url(".concat(this.preview,")")}}):n("mds-icon",{class:"icon-preview",name:p(this.filename,this.suffix).icon}),n("div",{key:"941e38b59816e8bc922df0100c9e6fb592b9a3a7",class:"download-icon"},n("mds-icon",{key:"2df4fee611dbe5c04d48db8cb076956c138caf41",name:oa}))),n("div",{key:"9f31aee487c2474fa4cdedf2a65537561e4f33dd",class:"info"},n("div",{key:"72d1936efbc18a2ffcd925455a92813d36473b04",class:"filename",title:this.filename},n("mds-text",{key:"f0cdbde4761e336443896b007370b8627cf7c13d",truncate:"word",typography:"h6",class:"name"},d(this.filename)),this.suffix===undefined&&l(this.filename,this.suffix)&&n("mds-text",{key:"9f3a91dee2b7a74f53cb5b5c82cf6ee2907fae1c",typography:"h6",class:"extension"},".",l(this.filename,this.suffix))),n("div",{key:"88353b1eca9f70f9e8299033117f860f86887c37",class:"detail"},l(this.filename,this.suffix)&&n("mds-badge",{key:"0f39cadf78668484118351f4857efa3e8cace2fc",variant:p(this.filename,this.suffix).variant,tone:"weak",class:"suffix"},l(this.filename,this.suffix)),n("mds-text",{key:"4c4416ff676f9a86187170f3e12d9f062d44459e",truncate:"word",typography:"caption",class:"description",title:(r=this.description)!==null&&r!==void 0?r:this.t.get(this.getDefaultDescription())},(t=this.description)!==null&&t!==void 0?t:this.t.get(this.getDefaultDescription())))),this.wasDownloaded&&!this.hideDownloadedIcon&&n("div",{key:"3228d642251f2232ab903ac1737ae464dac26618",class:"indicator"},n("i",{key:"3e0a2c984d07b53d3e26d73f22c3dfe6bad7d232",class:"downloaded",innerHTML:ea,title:this.t.get("alreadyDownloaded")})))};Object.defineProperty(r.prototype,"host",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return r}());ma.style=pa()}}}));
|