aliyun-aliplayer 2.40.0 → 2.41.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.
@@ -0,0 +1 @@
1
+ .aliplayer-root{--aliplayer-color-main:#fff;--aliplayer-color-accent:#fff;--aliplayer-color-dim:rgba(255, 255, 255, 0.55);--aliplayer-color-track:rgba(255, 255, 255, 0.12);--aliplayer-color-panel:rgba(20, 20, 20, 0.9);--aliplayer-menu-bg:rgba(16, 16, 16, 0.6);--aliplayer-menu-border-color:rgba(255, 255, 255, 0.08);--aliplayer-menu-border-width:0.913043px;--aliplayer-menu-radius:7.304348px;--aliplayer-menu-shadow:-3.652174px 0 18.26087px rgba(0, 0, 0, 0.2);--aliplayer-menu-backdrop-blur:10px;--aliplayer-menu-enter-duration:100ms;--aliplayer-menu-exit-duration:50ms;--aliplayer-menu-motion-ease:cubic-bezier(0, 0, 0.2, 1);--aliplayer-menu-hidden-scale:0.95;--aliplayer-menu-hidden-blur:4px;--aliplayer-menu-hidden-offset:8px;--aliplayer-menu-padding:8px;--aliplayer-menu-gap:4px;--aliplayer-menu-offset:18px;--aliplayer-menu-min-width:81.2171px;--aliplayer-menu-item-height:22.059px;--aliplayer-menu-item-padding:4px 8px;--aliplayer-menu-item-radius:6px;--aliplayer-menu-item-font:500 10px/16px Barlow,"Noto Sans SC",-apple-system,"PingFang SC",sans-serif;--aliplayer-menu-item-color:rgba(255, 255, 255, 0.6);--aliplayer-menu-item-hover-bg:rgba(255, 255, 255, 0.04);--aliplayer-menu-item-active-bg:rgba(255, 255, 255, 0.08);--aliplayer-menu-item-active-color:#fff;--aliplayer-menu-item-icon-size:12px;--aliplayer-control-size:20px;--aliplayer-gap:8px;--aliplayer-radius:4px;--aliplayer-font:12px/18px "Noto Sans SC",-apple-system,"PingFang SC","Helvetica Neue",Arial,sans-serif;--aliplayer-control-bar-scrim:rgba(0, 0, 0, 0.4);--aliplayer-control-bar-padding:4px 16px 8px;--aliplayer-control-bar-padding-single-row:8px;--aliplayer-control-bar-gap:12px;--aliplayer-control-bar-section-gap:20px;--aliplayer-control-bar-row-gap:7px;--aliplayer-control-bar-play-size:20px;--aliplayer-control-bar-optical-inset:6px;--aliplayer-control-bar-label-font:500 12px/18px Barlow,"Noto Sans SC",-apple-system,"PingFang SC",sans-serif;--aliplayer-play-icon-transition:0.15s cubic-bezier(0, 0, 0.2, 1);--aliplayer-progress-height:3px;--aliplayer-progress-hit-area-height:20px;--aliplayer-progress-height-active:5px;--aliplayer-progress-height-hover:var(--aliplayer-progress-height-active);--aliplayer-progress-height-hover-segmented:7px;--aliplayer-progress-height-hover-rest:5px;--aliplayer-progress-handle-size:7px;--aliplayer-progress-handle-size-hover:16px;--aliplayer-progress-segment-gap:1px;--aliplayer-progress-segment-gap-hover:0.891846px;--aliplayer-progress-radius:2px;--aliplayer-progress-radius-hover:1.78362px;--aliplayer-progress-radius-hover-rest:1.33771px;--aliplayer-progress-hover-fill-color:rgba(255, 255, 255, 0.3);--aliplayer-progress-end-overflow:0px;--aliplayer-progress-preview-width:156px;--aliplayer-progress-preview-thumb-height:calc(var(--aliplayer-progress-preview-width) * 9 / 16);--aliplayer-progress-preview-bg:rgba(16, 16, 16, 0.4);--aliplayer-progress-preview-color:var(--aliplayer-color-main);--aliplayer-progress-preview-border-width:1px;--aliplayer-progress-preview-border-color:rgba(255, 255, 255, 0.2);--aliplayer-progress-preview-radius:8px;--aliplayer-progress-preview-thumb-radius:12px 12px 0 0;--aliplayer-progress-preview-shadow:-4px 0 20px rgba(0, 0, 0, 0.5);--aliplayer-progress-preview-backdrop-blur:5px;--aliplayer-progress-preview-enter-duration:150ms;--aliplayer-progress-preview-exit-duration:150ms;--aliplayer-progress-preview-motion-ease:cubic-bezier(0, 0, 0.2, 1);--aliplayer-progress-preview-hidden-scale:0.8;--aliplayer-progress-preview-hidden-blur:8px;--aliplayer-progress-preview-hidden-offset:8px;--aliplayer-progress-preview-info-padding:3px 8px 2px;--aliplayer-progress-preview-font:400 12px/20px "PingFang SC","Noto Sans SC",-apple-system,sans-serif;--aliplayer-progress-preview-gap:8px;--aliplayer-progress-time-tooltip-bg:rgba(0, 0, 0, 0.75);--aliplayer-progress-time-tooltip-radius:3px;--aliplayer-mini-progress-height:1.333px;--aliplayer-mini-progress-track-color:var(--aliplayer-color-track);--aliplayer-mini-progress-played-color:var(--aliplayer-progress-played-color);--aliplayer-loading-size:40px;--aliplayer-loading-shadow:0 0 3px rgba(0, 0, 0, 0.5);--aliplayer-loading-duration:0.9s;--aliplayer-cover-fade:240ms;--aliplayer-cover-scrim:radial-gradient(120% 100% at 50% 50%, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);--aliplayer-volume-track-width:68px;--aliplayer-volume-track-height:3px;--aliplayer-volume-handle-size:5px;--aliplayer-volume-gap:4px;--aliplayer-volume-slider-offset:0.5px;--aliplayer-volume-icon-color:#fffafa;--aliplayer-volume-track-color:rgba(255, 255, 255, 0.4);--aliplayer-volume-filled-color:var(--aliplayer-color-main);--aliplayer-volume-handle-color:var(--aliplayer-color-main);--aliplayer-transition:0.15s ease;--aliplayer-hide-duration:200ms;--aliplayer-progress-played-color:var(--aliplayer-color-accent);--aliplayer-progress-played-opacity:0.6;--aliplayer-progress-buffered-color:var(--aliplayer-color-dim);--aliplayer-progress-handle-color:var(--aliplayer-color-accent);position:relative;overflow:hidden;background:#000}.aliplayer-root[data-size=compact]{--aliplayer-control-size:18px;--aliplayer-gap:4px;--aliplayer-control-bar-padding:4px 12px 8px;--aliplayer-control-bar-gap:8px;--aliplayer-control-bar-section-gap:12px;--aliplayer-control-bar-play-size:18px}.aliplayer-root video{display:block;width:100%;height:100%}.aliplayer-ui{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none;font:var(--aliplayer-font);color:var(--aliplayer-color-main);-webkit-user-select:none;user-select:none}.aliplayer-area{position:absolute;pointer-events:auto}.aliplayer-area-control-bar{left:0;right:0;bottom:0;display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--aliplayer-control-bar-gap);row-gap:var(--aliplayer-control-bar-row-gap);padding:var(--aliplayer-control-bar-padding);box-sizing:border-box;background:var(--aliplayer-control-bar-scrim);opacity:1;visibility:visible;transition:opacity var(--aliplayer-hide-duration) linear,visibility 0s linear 0s}.aliplayer-ui[data-no-progress] .aliplayer-area-control-bar{padding-top:var(--aliplayer-control-bar-padding-single-row)}.aliplayer-area-control-bar .aliplayer-spacer~.aliplayer-control{margin-left:calc(var(--aliplayer-control-bar-section-gap) - var(--aliplayer-control-bar-gap))}.aliplayer-area-control-bar .aliplayer-fullscreen{margin-right:var(--aliplayer-control-bar-optical-inset)}.aliplayer-area-control-bar[data-visible=false]{opacity:0;visibility:hidden;transition:opacity var(--aliplayer-hide-duration) linear,visibility 0s linear var(--aliplayer-hide-duration)}.aliplayer-area-top{left:0;right:0;top:0;display:flex;align-items:center;gap:var(--aliplayer-gap);padding:8px 12px;box-sizing:border-box}.aliplayer-area-center{left:0;right:0;top:0;bottom:0;pointer-events:none;display:flex;align-items:center;justify-content:center}.aliplayer-area-overlay{left:0;right:0;top:0;bottom:0;pointer-events:none}.aliplayer-area-overlay[data-error-visible]{pointer-events:auto}.aliplayer-control{flex:none}.aliplayer-control button,button.aliplayer-control{appearance:none;-webkit-appearance:none;margin:0;padding:0;border:0;background:0 0;color:inherit;font:inherit;cursor:pointer;pointer-events:auto;width:var(--aliplayer-control-size);height:var(--aliplayer-control-size);display:inline-flex;align-items:center;justify-content:center;border-radius:var(--aliplayer-radius);opacity:1;transition:opacity var(--aliplayer-transition)}.aliplayer-control button:hover,button.aliplayer-control:hover{opacity:1}.aliplayer-ui :focus-visible{outline:2px solid var(--aliplayer-color-main);outline-offset:2px}.aliplayer-ui svg{width:var(--aliplayer-control-size);height:var(--aliplayer-control-size);fill:currentColor;display:block}button.aliplayer-play{position:relative;width:var(--aliplayer-control-bar-play-size);height:var(--aliplayer-control-bar-play-size)}.aliplayer-play svg{width:var(--aliplayer-control-bar-play-size);height:var(--aliplayer-control-bar-play-size)}.aliplayer-play-icon{position:absolute;inset:0;opacity:0;transform:scale(0);transition:opacity var(--aliplayer-play-icon-transition),transform var(--aliplayer-play-icon-transition)}.aliplayer-play-icon-play{opacity:1;transform:scale(1)}button.aliplayer-play[data-playing] .aliplayer-play-icon-play{opacity:0;transform:scale(0)}button.aliplayer-play[data-playing] .aliplayer-play-icon-pause{opacity:1;transform:scale(1)}@media (prefers-reduced-motion:reduce){.aliplayer-play-icon{transition:none}}.aliplayer-spacer{flex:1 1 auto}.aliplayer-ui[data-cover-visible] .aliplayer-loading{display:none}.aliplayer-cover{position:absolute;left:0;right:0;top:0;bottom:0;background-color:#000;background-repeat:no-repeat;background-position:center;background-size:cover;pointer-events:none;opacity:0;visibility:hidden;transition:opacity var(--aliplayer-cover-fade) ease,visibility 0s linear var(--aliplayer-cover-fade)}.aliplayer-cover[data-visible]{opacity:1;visibility:visible;transition:opacity var(--aliplayer-cover-fade) ease,visibility 0s linear 0s}.aliplayer-cover::after{content:'';position:absolute;left:0;right:0;top:0;bottom:0;background:var(--aliplayer-cover-scrim)}.aliplayer-loading{position:absolute;left:50%;top:50%;width:var(--aliplayer-loading-size);height:var(--aliplayer-loading-size);transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(var(--aliplayer-loading-shadow));display:none}.aliplayer-loading[data-visible]{display:block}.aliplayer-loading svg{display:block;width:100%;height:100%;fill:currentColor;-webkit-mask-image:radial-gradient(ellipse 110% 110% at 26.3% 25%,#000 31.7%,transparent 100%);mask-image:radial-gradient(ellipse 110% 110% at 26.3% 25%,#000 31.7%,transparent 100%);animation:aliplayer-spin var(--aliplayer-loading-duration) linear infinite}@keyframes aliplayer-spin{to{transform:rotate(1turn)}}.aliplayer-root[data-size=compact] .aliplayer-loading{--aliplayer-loading-size:28px}@media (prefers-reduced-motion:reduce){.aliplayer-loading{--aliplayer-loading-duration:2.4s}}.aliplayer-progress{flex:0 0 calc(100% + var(--aliplayer-progress-end-overflow));position:relative;height:5px;cursor:pointer;touch-action:none}.aliplayer-progress::before{content:'';position:absolute;left:0;right:0;top:50%;height:var(--aliplayer-progress-hit-area-height);transform:translateY(-50%)}.aliplayer-progress-segments{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:var(--aliplayer-progress-height);transition:height var(--aliplayer-transition)}.aliplayer-progress-segment{position:absolute;top:0;height:100%;background:var(--aliplayer-color-track);border-radius:var(--aliplayer-progress-radius);overflow:hidden;transition:height var(--aliplayer-transition),top var(--aliplayer-transition),margin-top var(--aliplayer-transition),border-radius var(--aliplayer-transition)}.aliplayer-progress-segment+.aliplayer-progress-segment{margin-left:var(--aliplayer-progress-segment-gap)}.aliplayer-progress-segment-buffered,.aliplayer-progress-segment-played{position:absolute;left:0;top:0;bottom:0;width:0}.aliplayer-progress-segment-buffered{background:var(--aliplayer-progress-buffered-color)}.aliplayer-progress-segment-played{background:var(--aliplayer-progress-played-color);opacity:var(--aliplayer-progress-played-opacity)}.aliplayer-progress-segment-hover{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--aliplayer-progress-hover-fill-color)}.aliplayer-progress-handle{position:absolute;top:50%;width:var(--aliplayer-progress-handle-size);height:var(--aliplayer-progress-handle-size);margin-left:calc(var(--aliplayer-progress-handle-size)/ -2);border-radius:50%;background:var(--aliplayer-progress-handle-color);transform:translateY(-50%) scale(1);transition:width var(--aliplayer-transition),height var(--aliplayer-transition),margin-left var(--aliplayer-transition),transform var(--aliplayer-transition)}.aliplayer-progress[data-dragging] .aliplayer-progress-segment,.aliplayer-progress[data-dragging] .aliplayer-progress-segments{height:var(--aliplayer-progress-height-active)}.aliplayer-progress[data-dragging] .aliplayer-progress-handle{transform:translateY(-50%) scale(1)}.aliplayer-progress:hover:not([data-dragging]) .aliplayer-progress-segments,.aliplayer-progress[data-segmented][data-dragging]:hover .aliplayer-progress-segments{height:var(--aliplayer-progress-height-hover-rest)}.aliplayer-progress:hover:not([data-dragging]) .aliplayer-progress-segment,.aliplayer-progress[data-segmented][data-dragging]:hover .aliplayer-progress-segment{border-radius:var(--aliplayer-progress-radius-hover-rest)}.aliplayer-progress:hover:not([data-dragging]) .aliplayer-progress-segment+.aliplayer-progress-segment,.aliplayer-progress[data-segmented][data-dragging]:hover .aliplayer-progress-segment+.aliplayer-progress-segment{margin-left:var(--aliplayer-progress-segment-gap-hover)}.aliplayer-progress:hover:not([data-dragging]) .aliplayer-progress-handle,.aliplayer-progress[data-segmented][data-dragging]:hover .aliplayer-progress-handle{width:var(--aliplayer-progress-handle-size-hover);height:var(--aliplayer-progress-handle-size-hover);margin-left:calc(var(--aliplayer-progress-handle-size-hover)/ -2);transform:translateY(-50%) scale(1)}.aliplayer-progress-segment[data-hover]{height:var(--aliplayer-progress-height-active);top:50%;margin-top:calc(var(--aliplayer-progress-height-active)/ -2)}.aliplayer-progress:hover:not([data-dragging]) .aliplayer-progress-segment[data-hover]{height:var(--aliplayer-progress-height-hover);margin-top:calc(var(--aliplayer-progress-height-hover)/ -2);border-radius:var(--aliplayer-progress-radius-hover)}.aliplayer-progress[data-segmented]:hover:not([data-dragging]) .aliplayer-progress-segment[data-hover],.aliplayer-progress[data-segmented][data-dragging]:hover .aliplayer-progress-segment[data-hover]{height:var(--aliplayer-progress-height-hover-segmented);margin-top:calc(var(--aliplayer-progress-height-hover-segmented)/ -2)}.aliplayer-progress[data-disabled]{cursor:default;opacity:.4;pointer-events:none}.aliplayer-progress[data-hidden]{display:none}.aliplayer-progress-preview{position:absolute;bottom:calc(100% + var(--aliplayer-progress-preview-gap));left:clamp(calc(var(--aliplayer-progress-preview-width)/ 2),var(--aliplayer-progress-preview-position),calc(100% - var(--aliplayer-progress-preview-width)/ 2));display:flex;flex-direction:column;width:var(--aliplayer-progress-preview-width);transform:translate(-50%,0) scale(var(--aliplayer-progress-preview-hidden-scale));transform-origin:center bottom;filter:blur(var(--aliplayer-progress-preview-hidden-blur));color:var(--aliplayer-progress-preview-color);background:var(--aliplayer-progress-preview-bg);border-radius:var(--aliplayer-progress-preview-radius);box-shadow:inset 0 0 0 var(--aliplayer-progress-preview-border-width) var(--aliplayer-progress-preview-border-color),var(--aliplayer-progress-preview-shadow);backdrop-filter:blur(var(--aliplayer-progress-preview-backdrop-blur));-webkit-backdrop-filter:blur(var(--aliplayer-progress-preview-backdrop-blur));font:var(--aliplayer-progress-preview-font);text-align:center;pointer-events:none;opacity:0;transition:opacity var(--aliplayer-progress-preview-exit-duration) var(--aliplayer-progress-preview-motion-ease),filter var(--aliplayer-progress-preview-exit-duration) var(--aliplayer-progress-preview-motion-ease),transform var(--aliplayer-progress-preview-exit-duration) var(--aliplayer-progress-preview-motion-ease)}.aliplayer-progress-preview[data-visible]{opacity:1;filter:none;transform:translate(-50%,0) scale(1);animation:aliplayer-progress-preview-enter var(--aliplayer-progress-preview-enter-duration) var(--aliplayer-progress-preview-motion-ease)}@keyframes aliplayer-progress-preview-enter{from{opacity:0;filter:blur(var(--aliplayer-progress-preview-hidden-blur));transform:translate(-50%,var(--aliplayer-progress-preview-hidden-offset)) scale(var(--aliplayer-progress-preview-hidden-scale))}to{opacity:1;filter:none;transform:translate(-50%,0) scale(1)}}.aliplayer-progress-preview-thumb{display:none;position:relative;flex:0 0 auto;width:100%;height:var(--aliplayer-progress-preview-thumb-height);overflow:hidden;border-radius:var(--aliplayer-progress-preview-thumb-radius)}.aliplayer-progress-preview-thumb[data-visible]{display:block}.aliplayer-progress-preview-thumb-img{display:none;width:100%;height:100%;object-fit:contain}.aliplayer-progress-preview-thumb-img[data-visible]{display:block}.aliplayer-progress-preview-thumb-sprite{display:none;position:absolute;top:0;left:0;background-repeat:no-repeat;background-size:auto;transform-origin:0 0;will-change:transform}.aliplayer-progress-preview-thumb-sprite[data-visible]{display:block}.aliplayer-progress-preview-info{display:flex;flex-direction:column;align-items:center;padding:var(--aliplayer-progress-preview-info-padding);box-sizing:border-box}.aliplayer-progress-preview-title{display:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aliplayer-progress-preview-title[data-visible]{display:block}.aliplayer-progress-preview-time{display:block;font-variant-numeric:tabular-nums;white-space:nowrap}.aliplayer-progress-time-tooltip{position:absolute;bottom:calc(100% + var(--aliplayer-progress-preview-gap));padding:3px 6px;background:var(--aliplayer-progress-time-tooltip-bg);color:#fff;font-size:12px;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap;border-radius:var(--aliplayer-progress-time-tooltip-radius);transform:translateX(-50%);pointer-events:none;opacity:0;transition:opacity var(--aliplayer-transition)}.aliplayer-progress-time-tooltip[data-visible]{opacity:1}.aliplayer-mini-progress{position:absolute;left:0;right:0;bottom:0;height:var(--aliplayer-mini-progress-height);background:var(--aliplayer-mini-progress-track-color);pointer-events:none;opacity:0;visibility:hidden;transition:opacity var(--aliplayer-hide-duration) linear,visibility 0s linear var(--aliplayer-hide-duration)}.aliplayer-ui[data-control-bar-visible=false] .aliplayer-mini-progress:not([data-disabled]){opacity:1;visibility:visible;transition:opacity var(--aliplayer-hide-duration) linear,visibility 0s linear 0s}.aliplayer-mini-progress-played{height:100%;background:var(--aliplayer-mini-progress-played-color);opacity:var(--aliplayer-progress-played-opacity)}.aliplayer-time{padding:0;font-variant-numeric:tabular-nums;opacity:1;white-space:nowrap}.aliplayer-volume{display:flex;align-items:center}.aliplayer-volume .aliplayer-volume-toggle{color:var(--aliplayer-volume-icon-color)}.aliplayer-volume-track{position:relative;width:0;height:var(--aliplayer-control-size);margin-left:0;overflow:hidden;cursor:pointer;touch-action:none;transition:width var(--aliplayer-transition),margin-left var(--aliplayer-transition)}.aliplayer-volume:focus-within .aliplayer-volume-track,.aliplayer-volume:hover .aliplayer-volume-track{width:var(--aliplayer-volume-track-width);margin-left:var(--aliplayer-volume-gap);overflow:visible}.aliplayer-volume-filled,.aliplayer-volume-track::before{content:'';position:absolute;left:0;top:calc(50% + var(--aliplayer-volume-slider-offset));transform:translateY(-50%);height:var(--aliplayer-volume-track-height);border-radius:calc(var(--aliplayer-volume-track-height)/ 2)}.aliplayer-volume-track::before{right:0;background:var(--aliplayer-volume-track-color)}.aliplayer-volume-filled{background:var(--aliplayer-volume-filled-color)}.aliplayer-volume-handle{position:absolute;top:calc(50% + var(--aliplayer-volume-slider-offset));width:var(--aliplayer-volume-handle-size);height:var(--aliplayer-volume-handle-size);margin-left:calc(var(--aliplayer-volume-handle-size)/ -2);border-radius:50%;background:var(--aliplayer-volume-handle-color);transform:translateY(-50%)}.aliplayer-playback-rate{position:relative}.aliplayer-playback-rate[data-hidden]{display:none}.aliplayer-playback-rate-trigger{width:auto!important;min-width:0;height:20px!important;gap:4px;padding:0!important;white-space:nowrap;font:var(--aliplayer-control-bar-label-font)}.aliplayer-menu{--aliplayer-menu-translate-x:-50%;position:absolute;bottom:100%;left:50%;transform:translate(var(--aliplayer-menu-translate-x),0) scale(var(--aliplayer-menu-hidden-scale));transform-origin:center bottom;margin-bottom:var(--aliplayer-menu-offset);padding:var(--aliplayer-menu-padding);display:flex;flex-direction:column;gap:var(--aliplayer-menu-gap);min-width:var(--aliplayer-menu-min-width);box-sizing:border-box;background:var(--aliplayer-menu-bg);border-radius:var(--aliplayer-menu-radius);box-shadow:inset 0 0 0 var(--aliplayer-menu-border-width) var(--aliplayer-menu-border-color),var(--aliplayer-menu-shadow);backdrop-filter:blur(var(--aliplayer-menu-backdrop-blur));opacity:0;filter:blur(var(--aliplayer-menu-hidden-blur));visibility:hidden;pointer-events:none;transition:opacity var(--aliplayer-menu-exit-duration) var(--aliplayer-menu-motion-ease),filter var(--aliplayer-menu-exit-duration) var(--aliplayer-menu-motion-ease),transform var(--aliplayer-menu-exit-duration) var(--aliplayer-menu-motion-ease),visibility 0s linear var(--aliplayer-menu-exit-duration)}.aliplayer-menu::after{content:'';position:absolute;top:100%;left:0;right:0;height:var(--aliplayer-menu-offset)}.aliplayer-playback-rate[data-open] .aliplayer-menu,.aliplayer-quality[data-open] .aliplayer-menu{opacity:1;filter:none;visibility:visible;pointer-events:auto;transform:translate(var(--aliplayer-menu-translate-x),0) scale(1);transition:visibility 0s;animation:aliplayer-menu-enter var(--aliplayer-menu-enter-duration) var(--aliplayer-menu-motion-ease)}@keyframes aliplayer-menu-enter{from{opacity:0;filter:blur(var(--aliplayer-menu-hidden-blur));transform:translate(var(--aliplayer-menu-translate-x),var(--aliplayer-menu-hidden-offset)) scale(var(--aliplayer-menu-hidden-scale))}to{opacity:1;filter:none;transform:translate(var(--aliplayer-menu-translate-x),0) scale(1)}}@media (prefers-reduced-motion:reduce){.aliplayer-menu,.aliplayer-progress-preview{transition:none}.aliplayer-playback-rate[data-open] .aliplayer-menu,.aliplayer-progress-preview[data-visible],.aliplayer-quality[data-open] .aliplayer-menu{animation:none}}.aliplayer-control .aliplayer-menu-item{width:100%!important;height:var(--aliplayer-menu-item-height)!important;padding:var(--aliplayer-menu-item-padding)!important;gap:8px;justify-content:space-between;white-space:nowrap;font:var(--aliplayer-menu-item-font);color:var(--aliplayer-menu-item-color);opacity:1;border-radius:var(--aliplayer-menu-item-radius);transition:background-color .2s var(--aliplayer-menu-motion-ease)}.aliplayer-menu-item:hover{background:var(--aliplayer-menu-item-hover-bg)}.aliplayer-menu-item[data-active]{background:var(--aliplayer-menu-item-active-bg);color:var(--aliplayer-menu-item-active-color)}.aliplayer-menu-item-icon{display:none;flex:0 0 var(--aliplayer-menu-item-icon-size);width:var(--aliplayer-menu-item-icon-size);height:var(--aliplayer-menu-item-icon-size)}.aliplayer-menu-item[data-active] .aliplayer-menu-item-icon{display:block}.aliplayer-menu-item-icon svg{width:var(--aliplayer-menu-item-icon-size);height:var(--aliplayer-menu-item-icon-size)}.aliplayer-quality{position:relative}.aliplayer-quality[data-hidden]{display:none}.aliplayer-quality-trigger{width:auto!important;min-width:0;height:20px!important;gap:4px;padding:0!important;white-space:nowrap;font:var(--aliplayer-control-bar-label-font)}.aliplayer-error-overlay{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:#151515;color:var(--aliplayer-color-main);text-align:left;padding:24px;overflow:auto;box-sizing:border-box;pointer-events:auto;user-select:text;-webkit-user-select:text;z-index:10;animation:aliplayer-error-fade 150ms linear both}@keyframes aliplayer-error-fade{from{opacity:0}to{opacity:1}}.aliplayer-error-content{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:16px;width:100%;max-width:410px;margin:auto}.aliplayer-error-icon{grid-column:1;grid-row:1;color:#f1f1f1}.aliplayer-error-icon svg{width:30px;height:30px;fill:none}.aliplayer-error-message{grid-column:2;margin:0;color:#f4f4f5;font-size:18px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.aliplayer-error-desc{grid-column:2;margin:6px 0 0;color:#b4b4b4;font-size:12px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}.aliplayer-error-info{grid-column:2;margin-top:16px;font-size:11px;color:#aaa;line-height:1.9;overflow-wrap:anywhere}.aliplayer-error-info p{margin:0}.aliplayer-error-datetime,.aliplayer-error-request-id,.aliplayer-error-version{color:#8f8f8f;font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.aliplayer-error-code,.aliplayer-error-request-id{color:#aaa;font-size:11px}.aliplayer-error-copy{appearance:none;-webkit-appearance:none;grid-column:2;justify-self:start;display:inline-flex;align-items:center;gap:7px;min-height:32px;margin:8px 0 0;padding:8px 0;border:none;border-radius:var(--aliplayer-radius);background:0 0;color:#b6cced;font:var(--aliplayer-font);font-size:11px;cursor:pointer;transition:color var(--aliplayer-transition)}.aliplayer-error-copy-icon svg{display:block;width:13px;height:13px;fill:currentColor}.aliplayer-error-copy:hover{color:#e1ecfc}.aliplayer-root[data-size=compact] .aliplayer-error-overlay{padding:16px}.aliplayer-root[data-size=compact] .aliplayer-error-content{grid-template-columns:22px minmax(0,1fr);column-gap:12px}.aliplayer-root[data-size=compact] .aliplayer-error-message{font-size:14px}.aliplayer-root[data-size=compact] .aliplayer-error-desc{margin-top:5px;font-size:10px;line-height:1.6}.aliplayer-root[data-size=compact] .aliplayer-error-icon svg{width:22px;height:22px}.aliplayer-root[data-size=compact] .aliplayer-error-info{margin-top:12px;font-size:10px;line-height:1.7}.aliplayer-root[data-size=compact] .aliplayer-error-copy{gap:5px;min-height:28px;font-size:10px;padding:6px 0}.aliplayer-root[data-size=compact] .aliplayer-error-copy-icon svg{width:11px;height:11px}.aliplayer-root[data-pointer=touch] .aliplayer-volume{display:none}.aliplayer-root[data-pointer=touch] .aliplayer-control button,.aliplayer-root[data-pointer=touch] button.aliplayer-control{width:40px;height:40px;opacity:1}.aliplayer-root[data-pointer=touch] .aliplayer-progress{height:24px}.aliplayer-root[data-pointer=touch] .aliplayer-progress-segment,.aliplayer-root[data-pointer=touch] .aliplayer-progress-segments{height:var(--aliplayer-progress-height-active)}.aliplayer-root[data-pointer=touch] .aliplayer-progress-handle{transform:translateY(-50%) scale(1)}
@@ -1,2 +1,2 @@
1
- /*! aliyun-aliplayer - v2.40.0 - 2026-11-13 09.52.06 */
2
- !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Aliplayer=t()}(function(){return function r(o,i,s){function u(e,t){if(!i[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(c)return c(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=i[e]={exports:{}},o[e][0].call(n.exports,function(t){return u(o[e][1][t]||t)},n,n.exports,r,o,i,s)}return i[e].exports}for(var c="function"==typeof require&&require,t=0;t<s.length;t++)u(s[t]);return u}({1:[function(D,n,r){!function(Y,B){!function(){var t,e;t=this,e=function(){function c(t){return"function"==typeof t}var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,e=void 0,o=void 0,s=function(t,e){l[r]=t,l[r+1]=e,2===(r+=2)&&(o?o(h):U())};var t="undefined"!=typeof window?window:void 0,i=t||{},i=i.MutationObserver||i.WebKitMutationObserver,u="undefined"==typeof self&&void 0!==Y&&"[object process]"==={}.toString.call(Y),a="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(h,1)}}var l=new Array(1e3);function h(){for(var t=0;t<r;t+=2)(0,l[t])(l[t+1]),l[t]=void 0,l[t+1]=void 0;r=0}function p(){try{var t=Function("return this")().require("vertx");return void 0!==(e=t.runOnLoop||t.runOnContext)?function(){e(h)}:f()}catch(t){return f()}}var d,v,y,U=void 0;function m(t,e){var n,r=this,o=new this.constructor(_),i=(void 0===o[g]&&M(o),r._state);return i?(n=arguments[i-1],s(function(){return P(i,o,n,r._result)})):S(r,o,t,e),o}function w(t){var e;return t&&"object"==typeof t&&t.constructor===this?t:(E(e=new this(_),t),e)}var U=u?function(){return Y.nextTick(h)}:i?(v=0,u=new i(h),y=document.createTextNode(""),u.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):a?((d=new MessageChannel).port1.onmessage=h,function(){return d.port2.postMessage(0)}):(void 0===t&&"function"==typeof D?p:f)(),g=Math.random().toString(36).substring(2);function _(){}var b=void 0,T=1,O=2;function G(t,r,o){s(function(e){var n=!1,t=((t,e,n,r)=>{try{t.call(e,n,r)}catch(t){return t}})(o,r,function(t){n||(n=!0,(r!==t?E:x)(e,t))},function(t){n||(n=!0,A(e,t))},e._label);!n&&t&&(n=!0,A(e,t))},t)}function j(t,e,n){var r,o;e.constructor===t.constructor&&n===m&&e.constructor.resolve===w?(r=t,(o=e)._state===T?x(r,o._result):o._state===O?A(r,o._result):S(o,void 0,function(t){return E(r,t)},function(t){return A(r,t)})):void 0!==n&&c(n)?G(t,e,n):x(t,e)}function E(e,t){if(e===t)A(e,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof t,null===t||"object"!=n&&"function"!=n)x(e,t);else{n=void 0;try{n=t.then}catch(t){return void A(e,t)}j(e,t,n)}var n}function N(t){t._onerror&&t._onerror(t._result),k(t)}function x(t,e){t._state===b&&(t._result=e,t._state=T,0!==t._subscribers.length)&&s(k,t)}function A(t,e){t._state===b&&(t._state=O,t._result=e,s(N,t))}function S(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+T]=n,o[i+O]=r,0===i&&t._state&&s(k,t)}function k(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}function P(t,e,n,r){var o=c(n),i=void 0,s=void 0,u=!0;if(o){try{i=n(r)}catch(t){u=!1,s=t}if(e===i)return void A(e,new TypeError("A promises callback cannot return that same promise."))}else i=r;e._state===b&&(o&&u?E(e,i):!1===u?A(e,s):t===T?x(e,i):t===O&&A(e,i))}var L=0;function M(t){t[g]=L++,t._state=void 0,t._result=void 0,t._subscribers=[]}C.prototype._enumerate=function(t){for(var e=0;this._state===b&&e<t.length;e++)this._eachEntry(t[e],e)},C.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===w){var o,i=void 0,s=void 0,u=!1;try{i=e.then}catch(t){u=!0,s=t}i===m&&e._state!==b?this._settledAt(e._state,t,e._result):"function"!=typeof i?(this._remaining--,this._result[t]=e):n===q?(o=new n(_),u?A(o,s):j(o,e,i),this._willSettleAt(o,t)):this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},C.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===b&&(this._remaining--,t===O?A(r,n):this._result[e]=n),0===this._remaining&&x(r,this._result)},C.prototype._willSettleAt=function(t,e){var n=this;S(t,void 0,function(t){return n._settledAt(T,e,t)},function(t){return n._settledAt(O,e,t)})};var W=C;function C(t,e){this._instanceConstructor=t,this.promise=new t(_),this.promise[g]||M(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(e),0!==this._remaining)||x(this.promise,this._result)):A(this.promise,new Error("Array Methods must be provided an Array"))}F.prototype.catch=function(t){return this.then(null,t)},F.prototype.finally=function(e){var n=this.constructor;return c(e)?this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})}):this.then(e,e)};var q=F;function F(t){if(this[g]=L++,this._result=this._state=void 0,this._subscribers=[],_!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof F))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var e=this;try{t(function(t){E(e,t)},function(t){A(e,t)})}catch(t){A(e,t)}}}return q.prototype.then=m,q.all=function(t){return new W(this,t).promise},q.race=function(o){var i=this;return n(o)?new i(function(t,e){for(var n=o.length,r=0;r<n;r++)i.resolve(o[r]).then(t,e)}):new i(function(t,e){return e(new TypeError("You must pass an array to race."))})},q.resolve=w,q.reject=function(t){var e=new this(_);return A(e,t),e},q._setScheduler=function(t){o=t},q._setAsap=function(t){s=t},q._asap=s,q.polyfill=function(){var t=void 0;if(void 0!==B)t=B;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=q},q.Promise=q},"object"==typeof r&&void 0!==n?n.exports=e():t.ES6Promise=e()}.call(this)}.call(this,D("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],2:[function(t,e,n){var r,o,e=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{r="function"==typeof setTimeout?setTimeout:i}catch(t){r=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return(r=setTimeout)(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}var c,a=[],f=!1,l=-1;function h(){f&&c&&(f=!1,c.length?a=c.concat(a):l=-1,a.length)&&p()}function p(){if(!f){for(var t=u(h),e=(f=!0,a.length);e;){for(c=a,a=[];++l<e;)c&&c[l].run();l=-1,e=a.length}c=null,f=!1,!function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return(o=clearTimeout)(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];a.push(new d(t,e)),1!==a.length||f||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=v,e.addListener=v,e.once=v,e.off=v,e.removeListener=v,e.removeAllListeners=v,e.emit=v,e.prependListener=v,e.prependOnceListener=v,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}],3:[function(t,e,n){function c(){var d,t="function"==typeof Symbol?Symbol:{},e=t.iterator||"@@iterator",n=t.toStringTag||"@@toStringTag";function r(t,e,n,r){var o,i,s,u,c,a,f,l,h,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype);return w(e,"_invoke",(o=t,i=n,f=r||[],l=!1,h={p:a=0,n:0,v:d,a:p,f:p.bind(d,4),d:function(t,e){return s=t,u=0,c=d,h.n=e,v}},function(t,e,n){if(1<a)throw TypeError("Generator is already running");for(l&&1===e&&p(e,n),u=e,c=n;(m=u<2?d:c)||!l;){s||(u?u<3?(1<u&&(h.n=-1),p(u,c)):h.n=c:h.v=c);try{if(a=2,s){if(m=s[t=u?t:"next"]){if(!(m=m.call(s,c)))throw TypeError("iterator result is not an object");if(!m.done)return m;c=m.value,u<2&&(u=0)}else 1===u&&(m=s.return)&&m.call(s),u<2&&(c=TypeError("The iterator does not provide a '"+t+"' method"),u=1);s=d}else if((m=(l=h.n<0)?c:o.call(i,h))!==v)break}catch(t){s=d,u=1,c=t}finally{a=1}}return{value:m,done:l}}),!0),e;function p(t,e){for(u=t,c=e,m=0;!l&&a&&!n&&m<f.length;m++){var n,r=f[m],o=h.p,i=r[2];3<t?(n=i===e)&&(c=r[(u=r[4])?5:u=3],r[4]=r[5]=d):r[0]<=o&&((n=t<2&&o<r[1])?(u=0,h.v=e,h.n=r[1]):o<i&&(n=t<3||r[0]>e||i<e)&&(r[4]=t,r[5]=e,h.n=i,u=0))}if(n||1<t)return v;throw l=!0,e}}var v={};function y(){}function o(){}function i(){}var m=Object.getPrototypeOf,t=[][e]?m(m([][e]())):(w(m={},e,function(){return this}),m),s=i.prototype=y.prototype=Object.create(t);function u(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,w(t,n,"GeneratorFunction")),t.prototype=Object.create(s),t}return w(s,"constructor",o.prototype=i),w(i,"constructor",o),w(i,n,o.displayName="GeneratorFunction"),w(s),w(s,n,"Generator"),w(s,e,function(){return this}),w(s,"toString",function(){return"[object Generator]"}),(c=function(){return{w:r,m:u}})()}function w(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}(w=function(t,e,n,r){function o(e,n){w(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))})(t,e,n,r)}function a(t,e,n,r,o,i,s){try{var u=t[i](s),c=u.value}catch(t){return n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function f(u){return function(){var t=this,s=arguments;return new Promise(function(e,n){var r=u.apply(t,s);function o(t){a(r,e,n,o,i,"next",t)}function i(t){a(r,e,n,o,i,"throw",t)}o(void 0)})}}var l="undefined"==typeof Promise?t("es6-promise").Promise:Promise,h="__aliplayerMessage__",s="setup",u="setupAck",p="dispose",d="encSegment",v="decSegment",y="abortSegment",r=0,m=1,g="fragment",_="playlist",o="other",i="unknown",b=null,T={},O={},j=r;function E(){b=null,Object.keys(T).forEach(function(t){T[t].controller.abort(),T[t].reject("Fetch aborted.")}),T={},O={},j=r}function x(t,e,n){var r="";try{r=/[0-9]+\.ts/.exec(e.url)[0]}catch(t){}console.log(("send"===n?"[SW -> Main]":"[Main -> SW]")+"["+t+"]",r,e)}self.addEventListener("install",function(t){self.skipWaiting()}),self.addEventListener("activate",(()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:e.waitUntil(clients.claim());case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})()),self.addEventListener("fetch",function(t){if("navigate"===t.request.mode)E();else if(j!==r){var e,s=t.request.url,u=-1===(e=s).indexOf("_s=enc")?o:-1<e.indexOf(".ts")?g:-1<e.indexOf(".m3u8")?_:i;if(u!==o){if(u===i)return console.warn("Unknown request type",s);try{/[0-9]+\.ts/.exec(s)[0]}catch(t){}t.respondWith(f(c().m(function t(){return c().w(function(t){for(;;)if(0===t.n)return t.a(2,new l((()=>{var n=f(c().m(function t(n,e){var o,i;return c().w(function(t){for(;;)switch(t.n){case 0:t.n=1;var r=s;return new l((()=>{var e=f(c().m(function t(e){var n;return c().w(function(t){for(;;)switch(t.n){case 0:if(0<Object.keys(T).length&&!T[r])return b||console.error("no player client!"),t.n=1,clients.get(b);t.n=2;break;case 1:n=t.v,Object.keys(T).forEach((()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:T[e].controller.abort(),T[e].reject(),n.postMessage({scope:h,name:y,payload:{url:e}}),x(y,{url:e},"send");case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 2:e();case 3:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 1:o=new AbortController,u===g&&(T[s]={resolve:n,reject:e,controller:o}),performance.now(),fetch(s.replace("_s=enc",""),{signal:o.signal}).then(function(t){if(i=new Headers(t.headers),T[s])T[s].headers=i;else if(-1<s.indexOf(".ts"))return void console.warn("fragment request is missed",s);if(200===t.status)return u===_?t.text():t.arrayBuffer();n(t)}).then(function(e){var t;e&&(u===_?(O[s]=e,t=((t,e)=>{var r;if(e=e.replace(/#EXT-X-KEY:.*\n?/g,""),t=t.match(/^(.*)\/[^\/]*$/))return r=t[1],e=e.replace(/(#EXTINF:[^\n]+\n)([^\n]+)/g,function(t,e,n){return""+e+r+"/"+n+(-1<n.indexOf("?")?"&":"?")+"_s=enc"});console.warn("no match base url found.")})(s,e),i.set("Content-Length",new Blob([t]).size),n(new Response(t,{status:200,headers:i}))):(b||console.error("no player client!"),clients.get(b).then(function(t){t.postMessage({scope:h,name:d,payload:{buffer:e,url:s,playlistUrl:(t=>{var e,n=(t=>{var e;try{e=/\/([^/?]+)(\?|$)/.exec(t)[1]}catch(t){}return e})(t);return n||console.warn("no fragUrlBase"),Object.keys(O).some(function(t){return-1<O[t].indexOf(n)&&(e=t,!0)}),e})(s)}},[e]),x(d,{url:s},"send")})))}).catch(function(t){console.log("fetch error from remote",t),e(t),delete T[s]});case 2:return t.a(2)}},t)}));return function(t,e){return n.apply(this,arguments)}})()))},t)}))())}}}),self.addEventListener("message",function(t){var e=t.data;if((i=e)&&i.scope===h){var n,r,o,i=e.name;switch(x(i,e.payload),i){case s:b=t.source.id,j=m,clients.get(b).then(function(t){t.postMessage({scope:h,name:u,payload:{version:"2.40.0"}})});break;case p:E();break;case v:e.payload&&(n=e.payload,r=T[n.url])&&(delete T[n.url],(o=r.headers).set("Content-Length",n.buffer.byteLength),r.resolve(new Response(n.buffer,{status:200,headers:o})),x(v,n,"send"))}}})},{"es6-promise":1}]},{},[3])(3)});
1
+ /*! aliyun-aliplayer - v2.41.0 - 2026-12-01 15.40.27 */
2
+ !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Aliplayer=t()}(function(){return function r(o,i,s){function u(e,t){if(!i[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(c)return c(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=i[e]={exports:{}},o[e][0].call(n.exports,function(t){return u(o[e][1][t]||t)},n,n.exports,r,o,i,s)}return i[e].exports}for(var c="function"==typeof require&&require,t=0;t<s.length;t++)u(s[t]);return u}({1:[function(D,n,r){!function(Y,B){!function(){var t,e;t=this,e=function(){function c(t){return"function"==typeof t}var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,e=void 0,o=void 0,s=function(t,e){l[r]=t,l[r+1]=e,2===(r+=2)&&(o?o(h):U())};var t="undefined"!=typeof window?window:void 0,i=t||{},i=i.MutationObserver||i.WebKitMutationObserver,u="undefined"==typeof self&&void 0!==Y&&"[object process]"==={}.toString.call(Y),a="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var t=setTimeout;return function(){return t(h,1)}}var l=new Array(1e3);function h(){for(var t=0;t<r;t+=2)(0,l[t])(l[t+1]),l[t]=void 0,l[t+1]=void 0;r=0}function p(){try{var t=Function("return this")().require("vertx");return void 0!==(e=t.runOnLoop||t.runOnContext)?function(){e(h)}:f()}catch(t){return f()}}var d,v,y,U=void 0;function m(t,e){var n,r=this,o=new this.constructor(_),i=(void 0===o[g]&&M(o),r._state);return i?(n=arguments[i-1],s(function(){return P(i,o,n,r._result)})):S(r,o,t,e),o}function w(t){var e;return t&&"object"==typeof t&&t.constructor===this?t:(E(e=new this(_),t),e)}var U=u?function(){return Y.nextTick(h)}:i?(v=0,u=new i(h),y=document.createTextNode(""),u.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):a?((d=new MessageChannel).port1.onmessage=h,function(){return d.port2.postMessage(0)}):(void 0===t&&"function"==typeof D?p:f)(),g=Math.random().toString(36).substring(2);function _(){}var b=void 0,T=1,O=2;function G(t,r,o){s(function(e){var n=!1,t=((t,e,n,r)=>{try{t.call(e,n,r)}catch(t){return t}})(o,r,function(t){n||(n=!0,(r!==t?E:x)(e,t))},function(t){n||(n=!0,A(e,t))},e._label);!n&&t&&(n=!0,A(e,t))},t)}function j(t,e,n){var r,o;e.constructor===t.constructor&&n===m&&e.constructor.resolve===w?(r=t,(o=e)._state===T?x(r,o._result):o._state===O?A(r,o._result):S(o,void 0,function(t){return E(r,t)},function(t){return A(r,t)})):void 0!==n&&c(n)?G(t,e,n):x(t,e)}function E(e,t){if(e===t)A(e,new TypeError("You cannot resolve a promise with itself"));else if(n=typeof t,null===t||"object"!=n&&"function"!=n)x(e,t);else{n=void 0;try{n=t.then}catch(t){return void A(e,t)}j(e,t,n)}var n}function N(t){t._onerror&&t._onerror(t._result),k(t)}function x(t,e){t._state===b&&(t._result=e,t._state=T,0!==t._subscribers.length)&&s(k,t)}function A(t,e){t._state===b&&(t._state=O,t._result=e,s(N,t))}function S(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+T]=n,o[i+O]=r,0===i&&t._state&&s(k,t)}function k(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o=void 0,i=t._result,s=0;s<e.length;s+=3)r=e[s],o=e[s+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}function P(t,e,n,r){var o=c(n),i=void 0,s=void 0,u=!0;if(o){try{i=n(r)}catch(t){u=!1,s=t}if(e===i)return void A(e,new TypeError("A promises callback cannot return that same promise."))}else i=r;e._state===b&&(o&&u?E(e,i):!1===u?A(e,s):t===T?x(e,i):t===O&&A(e,i))}var L=0;function M(t){t[g]=L++,t._state=void 0,t._result=void 0,t._subscribers=[]}C.prototype._enumerate=function(t){for(var e=0;this._state===b&&e<t.length;e++)this._eachEntry(t[e],e)},C.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===w){var o,i=void 0,s=void 0,u=!1;try{i=e.then}catch(t){u=!0,s=t}i===m&&e._state!==b?this._settledAt(e._state,t,e._result):"function"!=typeof i?(this._remaining--,this._result[t]=e):n===q?(o=new n(_),u?A(o,s):j(o,e,i),this._willSettleAt(o,t)):this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(r(e),t)},C.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===b&&(this._remaining--,t===O?A(r,n):this._result[e]=n),0===this._remaining&&x(r,this._result)},C.prototype._willSettleAt=function(t,e){var n=this;S(t,void 0,function(t){return n._settledAt(T,e,t)},function(t){return n._settledAt(O,e,t)})};var W=C;function C(t,e){this._instanceConstructor=t,this.promise=new t(_),this.promise[g]||M(this.promise),n(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(e),0!==this._remaining)||x(this.promise,this._result)):A(this.promise,new Error("Array Methods must be provided an Array"))}F.prototype.catch=function(t){return this.then(null,t)},F.prototype.finally=function(e){var n=this.constructor;return c(e)?this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})}):this.then(e,e)};var q=F;function F(t){if(this[g]=L++,this._result=this._state=void 0,this._subscribers=[],_!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof F))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var e=this;try{t(function(t){E(e,t)},function(t){A(e,t)})}catch(t){A(e,t)}}}return q.prototype.then=m,q.all=function(t){return new W(this,t).promise},q.race=function(o){var i=this;return n(o)?new i(function(t,e){for(var n=o.length,r=0;r<n;r++)i.resolve(o[r]).then(t,e)}):new i(function(t,e){return e(new TypeError("You must pass an array to race."))})},q.resolve=w,q.reject=function(t){var e=new this(_);return A(e,t),e},q._setScheduler=function(t){o=t},q._setAsap=function(t){s=t},q._asap=s,q.polyfill=function(){var t=void 0;if(void 0!==B)t=B;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=q},q.Promise=q},"object"==typeof r&&void 0!==n?n.exports=e():t.ES6Promise=e()}.call(this)}.call(this,D("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],2:[function(t,e,n){var r,o,e=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}try{r="function"==typeof setTimeout?setTimeout:i}catch(t){r=i}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return(r=setTimeout)(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}var c,a=[],f=!1,l=-1;function h(){f&&c&&(f=!1,c.length?a=c.concat(a):l=-1,a.length)&&p()}function p(){if(!f){for(var t=u(h),e=(f=!0,a.length);e;){for(c=a,a=[];++l<e;)c&&c[l].run();l=-1,e=a.length}c=null,f=!1,!function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return(o=clearTimeout)(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function v(){}e.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];a.push(new d(t,e)),1!==a.length||f||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=v,e.addListener=v,e.once=v,e.off=v,e.removeListener=v,e.removeAllListeners=v,e.emit=v,e.prependListener=v,e.prependOnceListener=v,e.listeners=function(t){return[]},e.binding=function(t){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(t){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},{}],3:[function(t,e,n){function c(){var d,t="function"==typeof Symbol?Symbol:{},e=t.iterator||"@@iterator",n=t.toStringTag||"@@toStringTag";function r(t,e,n,r){var o,i,s,u,c,a,f,l,h,e=e&&e.prototype instanceof y?e:y,e=Object.create(e.prototype);return w(e,"_invoke",(o=t,i=n,f=r||[],l=!1,h={p:a=0,n:0,v:d,a:p,f:p.bind(d,4),d:function(t,e){return s=t,u=0,c=d,h.n=e,v}},function(t,e,n){if(1<a)throw TypeError("Generator is already running");for(l&&1===e&&p(e,n),u=e,c=n;(m=u<2?d:c)||!l;){s||(u?u<3?(1<u&&(h.n=-1),p(u,c)):h.n=c:h.v=c);try{if(a=2,s){if(m=s[t=u?t:"next"]){if(!(m=m.call(s,c)))throw TypeError("iterator result is not an object");if(!m.done)return m;c=m.value,u<2&&(u=0)}else 1===u&&(m=s.return)&&m.call(s),u<2&&(c=TypeError("The iterator does not provide a '"+t+"' method"),u=1);s=d}else if((m=(l=h.n<0)?c:o.call(i,h))!==v)break}catch(t){s=d,u=1,c=t}finally{a=1}}return{value:m,done:l}}),!0),e;function p(t,e){for(u=t,c=e,m=0;!l&&a&&!n&&m<f.length;m++){var n,r=f[m],o=h.p,i=r[2];3<t?(n=i===e)&&(c=r[(u=r[4])?5:u=3],r[4]=r[5]=d):r[0]<=o&&((n=t<2&&o<r[1])?(u=0,h.v=e,h.n=r[1]):o<i&&(n=t<3||r[0]>e||i<e)&&(r[4]=t,r[5]=e,h.n=i,u=0))}if(n||1<t)return v;throw l=!0,e}}var v={};function y(){}function o(){}function i(){}var m=Object.getPrototypeOf,t=[][e]?m(m([][e]())):(w(m={},e,function(){return this}),m),s=i.prototype=y.prototype=Object.create(t);function u(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,w(t,n,"GeneratorFunction")),t.prototype=Object.create(s),t}return w(s,"constructor",o.prototype=i),w(i,"constructor",o),w(i,n,o.displayName="GeneratorFunction"),w(s),w(s,n,"Generator"),w(s,e,function(){return this}),w(s,"toString",function(){return"[object Generator]"}),(c=function(){return{w:r,m:u}})()}function w(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}(w=function(t,e,n,r){function o(e,n){w(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))})(t,e,n,r)}function a(t,e,n,r,o,i,s){try{var u=t[i](s),c=u.value}catch(t){return n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function f(u){return function(){var t=this,s=arguments;return new Promise(function(e,n){var r=u.apply(t,s);function o(t){a(r,e,n,o,i,"next",t)}function i(t){a(r,e,n,o,i,"throw",t)}o(void 0)})}}var l="undefined"==typeof Promise?t("es6-promise").Promise:Promise,h="__aliplayerMessage__",s="setup",u="setupAck",p="dispose",d="encSegment",v="decSegment",y="abortSegment",r=0,m=1,g="fragment",_="playlist",o="other",i="unknown",b=null,T={},O={},j=r;function E(){b=null,Object.keys(T).forEach(function(t){T[t].controller.abort(),T[t].reject("Fetch aborted.")}),T={},O={},j=r}function x(t,e,n){var r="";try{r=/[0-9]+\.ts/.exec(e.url)[0]}catch(t){}console.log(("send"===n?"[SW -> Main]":"[Main -> SW]")+"["+t+"]",r,e)}self.addEventListener("install",function(t){self.skipWaiting()}),self.addEventListener("activate",(()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:e.waitUntil(clients.claim());case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})()),self.addEventListener("fetch",function(t){if("navigate"===t.request.mode)E();else if(j!==r){var e,s=t.request.url,u=-1===(e=s).indexOf("_s=enc")?o:-1<e.indexOf(".ts")?g:-1<e.indexOf(".m3u8")?_:i;if(u!==o){if(u===i)return console.warn("Unknown request type",s);try{/[0-9]+\.ts/.exec(s)[0]}catch(t){}t.respondWith(f(c().m(function t(){return c().w(function(t){for(;;)if(0===t.n)return t.a(2,new l((()=>{var n=f(c().m(function t(n,e){var o,i;return c().w(function(t){for(;;)switch(t.n){case 0:t.n=1;var r=s;return new l((()=>{var e=f(c().m(function t(e){var n;return c().w(function(t){for(;;)switch(t.n){case 0:if(0<Object.keys(T).length&&!T[r])return b||console.error("no player client!"),t.n=1,clients.get(b);t.n=2;break;case 1:n=t.v,Object.keys(T).forEach((()=>{var e=f(c().m(function t(e){return c().w(function(t){for(;;)switch(t.n){case 0:T[e].controller.abort(),T[e].reject(),n.postMessage({scope:h,name:y,payload:{url:e}}),x(y,{url:e},"send");case 1:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 2:e();case 3:return t.a(2)}},t)}));return function(t){return e.apply(this,arguments)}})());case 1:o=new AbortController,u===g&&(T[s]={resolve:n,reject:e,controller:o}),performance.now(),fetch(s.replace("_s=enc",""),{signal:o.signal}).then(function(t){if(i=new Headers(t.headers),T[s])T[s].headers=i;else if(-1<s.indexOf(".ts"))return void console.warn("fragment request is missed",s);if(200===t.status)return u===_?t.text():t.arrayBuffer();n(t)}).then(function(e){var t;e&&(u===_?(O[s]=e,t=((t,e)=>{var r;if(e=e.replace(/#EXT-X-KEY:.*\n?/g,""),t=t.match(/^(.*)\/[^\/]*$/))return r=t[1],e=e.replace(/(#EXTINF:[^\n]+\n)([^\n]+)/g,function(t,e,n){return""+e+r+"/"+n+(-1<n.indexOf("?")?"&":"?")+"_s=enc"});console.warn("no match base url found.")})(s,e),i.set("Content-Length",new Blob([t]).size),n(new Response(t,{status:200,headers:i}))):(b||console.error("no player client!"),clients.get(b).then(function(t){t.postMessage({scope:h,name:d,payload:{buffer:e,url:s,playlistUrl:(t=>{var e,n=(t=>{var e;try{e=/\/([^/?]+)(\?|$)/.exec(t)[1]}catch(t){}return e})(t);return n||console.warn("no fragUrlBase"),Object.keys(O).some(function(t){return-1<O[t].indexOf(n)&&(e=t,!0)}),e})(s)}},[e]),x(d,{url:s},"send")})))}).catch(function(t){console.log("fetch error from remote",t),e(t),delete T[s]});case 2:return t.a(2)}},t)}));return function(t,e){return n.apply(this,arguments)}})()))},t)}))())}}}),self.addEventListener("message",function(t){var e=t.data;if((i=e)&&i.scope===h){var n,r,o,i=e.name;switch(x(i,e.payload),i){case s:b=t.source.id,j=m,clients.get(b).then(function(t){t.postMessage({scope:h,name:u,payload:{version:"2.41.0"}})});break;case p:E();break;case v:e.payload&&(n=e.payload,r=T[n.url])&&(delete T[n.url],(o=r.headers).set("Content-Length",n.buffer.byteLength),r.resolve(new Response(n.buffer,{status:200,headers:o})),x(v,n,"send"))}}})},{"es6-promise":1}]},{},[3])(3)});
@@ -25,6 +25,12 @@ module.exports = {
25
25
  "Snapshot":"Snapshot",
26
26
  "Detection_Text":"Diagnose",
27
27
  "Play_DateTime":"Time",
28
+ "Error_Code_Label":"Error code",
29
+ "Error_Session_Id_Label":"Session ID",
30
+ "Error_Version_Label":"Version",
31
+ "Error_Time_Label":"Time",
32
+ "Error_Copy_Diagnostic":"Copy diagnostics",
33
+ "Error_Copied":"Copied",
28
34
  "Default": "Default",
29
35
  "Quality_Change_Fail_Switch_Text":"Cannot play, switch to ",
30
36
  "Quality_Change_Text":"Switching to ",
@@ -70,6 +76,7 @@ module.exports = {
70
76
  "Error_Drm_Not_Supported": "DRM in not supported",
71
77
  "Error_Drm_Load": "DRM load error",
72
78
  "Error_Drm_No_Sts": "STS(accessKeyId/accessKeySecret/securityToken) is required for DRM playback",
79
+ "Error_Jwt_Drm_Not_Support": "DRM playback is not supported with playAuthToken (JWT). Use STS or the legacy playAuth instead",
73
80
  "Error_Drm_Params_Missing": "Parameters for drm.widevine/fairplay, etc. are missing",
74
81
  "Error_Url_Refresh_Failed_Text": "Video URL expired, refresh failed. Please retry",
75
82
  "Error_Region_Block_Text": "(HttpCode-403)This video is not available in your region",
@@ -134,6 +141,7 @@ module.exports = {
134
141
  "Subtitle":"Subtitle/CC",
135
142
  "AudioTrack":"Audio Track",
136
143
  "Quality":"Quality",
144
+ "Chapters":"Chapters",
137
145
  "Auto":"Auto",
138
146
  "Quality_Switch_To":"Quality switching to ",
139
147
  "Fullscreen":"Full Screen",
@@ -29,6 +29,12 @@ module.exports = {
29
29
  "Click_To_Unmute":"点击取消静音",
30
30
  "Snapshot":"截图",
31
31
  "Play_DateTime":"播放时间",
32
+ "Error_Code_Label":"错误码",
33
+ "Error_Session_Id_Label":"会话ID",
34
+ "Error_Version_Label":"版本",
35
+ "Error_Time_Label":"时间",
36
+ "Error_Copy_Diagnostic":"复制诊断信息",
37
+ "Error_Copied":"已复制",
32
38
  "Default": "默认",
33
39
  "AutoPlayDelayDisplayText":"$$秒以后开始播放",
34
40
  "Error_Load_Abort_Text":"获取数据过程被中止",
@@ -70,6 +76,7 @@ module.exports = {
70
76
  "Error_Drm_Not_Supported": "当前浏览器不支持 DRM 播放",
71
77
  "Error_Drm_Load": "DRM 播放错误",
72
78
  "Error_Drm_No_Sts": "DRM 播放需要使用STS(accessKeyId/accessKeySecret/securityToken)",
79
+ "Error_Jwt_Drm_Not_Support": "playAuthToken(JWT 凭证)不支持 DRM 播放,请改用 STS 或老 playAuth",
73
80
  "Error_Drm_Params_Missing": "缺少drm.widevine/fairplay等参数",
74
81
  "Error_Url_Refresh_Failed_Text": "播放地址已过期,刷新失败,请重试",
75
82
  "Error_Region_Block_Text": "【HttpCode-403】您所在的地区无法观看该视频",
@@ -134,6 +141,7 @@ module.exports = {
134
141
  "Subtitle":"字幕",
135
142
  "AudioTrack":"音轨",
136
143
  "Quality":"清晰度",
144
+ "Chapters":"章节",
137
145
  "Auto":"自动",
138
146
  "Quality_Switch_To":"正在切换清晰度至 ",
139
147
  "Fullscreen":"全屏",
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "aliyun-aliplayer",
3
- "version": "2.40.0",
3
+ "version": "2.41.0",
4
4
  "description": "阿里云 Web 播放器",
5
5
  "main": "./build/aliplayer-min",
6
- "style": "./build/skins/default/aliplayer-min.css",
6
+ "style": "./build/aliplayer-v2-min.css",
7
7
  "files": [
8
8
  "build"
9
9
  ],
@@ -28,12 +28,17 @@
28
28
  "docs:metrics": "node scripts/check-player-docs.js --l1-only --update-metrics",
29
29
  "release": "commit-and-tag-version",
30
30
  "prepublishOnly": "npm run build",
31
- "test:unit": "karma start",
31
+ "test:unit": "node scripts/run-unit-tests.js",
32
32
  "test:first-frame": "karma start karma.first-frame.conf.js",
33
33
  "test:first-frame:smoke": "node scripts/check-first-frame.js",
34
34
  "test:unit:watch": "karma start --no-single-run",
35
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
36
+ "typecheck:test": "tsc --noEmit -p tsconfig.test.json",
37
+ "lint": "eslint src/ui-v2",
38
+ "check:agent-docs": "node scripts/check-agent-docs.js",
39
+ "sync:agent-docs": "node scripts/check-agent-docs.js --fix",
35
40
  "test:e2e:install": "npx playwright install",
36
- "test:e2e:test-all": "npm run build && cp -r build/* e2e/pages/build && npx playwright test ; rm -rf e2e/pages/build/*",
41
+ "test:e2e:test-all": "npm run build && mkdir -p e2e/pages/build && rm -rf e2e/pages/build/* && cp -r build/* e2e/pages/build && npx playwright test; status=$?; rm -rf e2e/pages/build/*; exit $status",
37
42
  "ci:e2e-test": "tnpm install && tnpm run build && cp -r ./build ./e2e/pages/build/ && npm run ci:e2e-test-install && npm run ci:e2e-test-run",
38
43
  "ci:e2e-test-install": "PLAYWRIGHT_DOWNLOAD_HOST=https://anpm.alibaba-inc.com/mirrors/playwright playwright install chrome",
39
44
  "ci:e2e-test-run": "playwright test --project 'Google Chrome'",
@@ -42,7 +47,9 @@
42
47
  "devDependencies": {
43
48
  "@ali/mediabox-quality-tracer": "^0.26.0",
44
49
  "@babel/core": "^7.26.0",
50
+ "@babel/plugin-transform-modules-commonjs": "^7.29.7",
45
51
  "@babel/preset-env": "^7.26.0",
52
+ "@babel/preset-typescript": "^7.29.7",
46
53
  "@playwright/test": "~1.61.1",
47
54
  "@types/chai": "^5.0.1",
48
55
  "@types/mocha": "^10.0.10",
@@ -54,6 +61,7 @@
54
61
  "chai": "^5.1.2",
55
62
  "commit-and-tag-version": "^11.2.1",
56
63
  "es6-promise": "^4.2.8",
64
+ "eslint": "^10.9.1",
57
65
  "grunt": "^1.0.4",
58
66
  "grunt-autoprefixer": "^3.0.4",
59
67
  "grunt-babel": "^8.0.0",
@@ -77,6 +85,8 @@
77
85
  "node-args": "^2.1.8",
78
86
  "sinon": "^19.0.2",
79
87
  "sinon-chai": "^4.0.0",
88
+ "typescript": "~5.9.0",
89
+ "typescript-eslint": "^8.69.0",
80
90
  "webpack": "^5.97.1"
81
91
  },
82
92
  "dependencies": {
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkpost_build=self.webpackChunkpost_build||[]).push([[655],{44:(e,_,n)=>{var t=n(241);e.exports=n.v(_,e.id,"027bada6aebde55036a1",{"./index_bg.js":{__wbindgen_string_new:t.yc,__wbindgen_string_get:t.qN,__wbindgen_is_undefined:t.vU,__wbindgen_in:t.zE,__wbindgen_is_object:t.qv,__wbg_license_new:t.uF,__wbindgen_jsval_loose_eq:t.U8,__wbindgen_boolean_get:t.eF,__wbindgen_number_get:t.sW,__wbindgen_as_number:t.qm,__wbindgen_error_new:t.Rj,__wbg_getwithrefkey_1dc361bd10053bfe:t.FP,__wbg_getRandomValues_38097e921c2494c3:t.s5,__wbg_queueMicrotask_97d92b4fcc8a61c5:t._m,__wbg_queueMicrotask_d3219def82552485:t.k2,__wbindgen_is_function:t.PR,__wbindgen_cb_drop:t.LC,__wbg_instanceof_Window_def73ea0955fc569:t.vF,__wbg_document_d249400bd7bd996d:t.Gh,__wbg_location_350d99456c2f3693:t.ZP,__wbg_navigator_1577371c070c8947:t.Im,__wbg_localStorage_1406c99c39728187:t.x8,__wbg_clearTimeout_b2651b7485c58446:t.Xt,__wbg_fetch_b7bf320f681242d2:t.KI,__wbg_title_09f6e06f98d0b686:t.Cz,__wbg_setbody_5923b78a95eedf29:t.Nh,__wbg_setmethod_3c5280fe5d890842:t._h,__wbg_setmode_5dc300b865044b65:t.BF,__wbg_set_11cd83f45504cedf:t.ju,__wbg_href_87d60a783a012377:t.Zj,__wbg_host_9bd7b5dc07c48606:t.lb,__wbg_instanceof_Response_f2cc20d9f7dfd644:t.Hz,__wbg_text_7805bea50de2af49:t.gt,__wbg_getItem_17f98dee3b43fa7e:t.wU,__wbg_removeItem_9d2669ee3bba6f7d:t.Bu,__wbg_setItem_212ecc915942ab0a:t.Eb,__wbg_headers_7852a8ea641c1379:t._p,__wbg_newwithstrandinit_06c535e0a867c635:t.he,__wbg_new_86231e225ca6b962:t._b,__wbg_open_13a598ea50d82926:t.e8,__wbg_send_dfdb375d4404a997:t.YY,__wbg_setRequestHeader_51d371ad5196f6ef:t.AB,__wbg_sendBeacon_a98a679269b5461a:t.mT,__wbg_crypto_574e78ad8b13b65f:t.CB,__wbg_process_dc0fbacc7c1c06f7:t.x2,__wbg_versions_c01dfd4722a88165:t.Kw,__wbg_node_905d3e251edff8a2:t.lU,__wbindgen_is_string:t.Gu,__wbg_require_60cc747a6bc5215a:t.mE,__wbg_msCrypto_a61aeb35a24c1329:t.Fx,__wbg_randomFillSync_ac0988aba3254290:t.IZ,__wbg_getRandomValues_b8f5dbd5f3995a9e:t.ty,__wbg_newnoargs_105ed471475aaf50:t.Vr,__wbg_call_672a4d21634d4a24:t.wH,__wbg_new_405e22f390576ce2:t.v,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:t.gG,__wbg_call_7cccdd69e0791ae2:t.w9,__wbg_isSafeInteger_343e2beeeece1bb0:t.Yb,__wbg_now_807e54c39636c349:t.f3,__wbg_new_23a2665fac83c611:t.c6,__wbg_resolve_4851785c9c5f573d:t.wJ,__wbg_then_44b73946d2fb3e7d:t.GQ,__wbg_then_48b406749878a531:t.xV,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:t.w6,__wbg_static_accessor_SELF_37c5d418e4bf5819:t.fb,__wbg_static_accessor_WINDOW_5de37043a91a9c40:t.x0,__wbg_static_accessor_GLOBAL_88a902d13a557d07:t.ii,__wbg_buffer_609cc3eee51ed158:t.FH,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:t.hI,__wbg_new_a12002a7f91c75be:t.vV,__wbg_set_65595bdd868b3009:t.HB,__wbg_length_a446193dc22c12f8:t.eI,__wbg_instanceof_Uint8Array_17156bcf118086a9:t.SJ,__wbg_newwithlength_a381634e90c276d4:t.Ht,__wbg_subarray_aa9065fa9dc5df96:t.TO,__wbindgen_debug_string:t.rl,__wbindgen_throw:t.Qn,__wbindgen_memory:t.Py,__wbindgen_closure_wrapper376:t.pz,__wbindgen_init_externref_table:t.bL}})},241:(e,_,n)=>{let t;function r(e){t=e}function c(e){const _=t.__externref_table_alloc();return t.__wbindgen_export_2.set(_,e),_}function i(e,_){try{return e.apply(this,_)}catch(e){const _=c(e);t.__wbindgen_exn_store(_)}}function o(e){return null==e}n.d(_,{AB:()=>le,BF:()=>ve,Bu:()=>ue,CB:()=>j,Cz:()=>Se,Eb:()=>we,FH:()=>F,FP:()=>U,Fx:()=>M,GQ:()=>je,Gh:()=>H,Gu:()=>Pe,HB:()=>he,Ht:()=>_e,Hz:()=>O,IZ:()=>ae,Im:()=>D,KI:()=>S,Kw:()=>Ae,LC:()=>Ue,Nh:()=>me,PR:()=>Ve,Py:()=>Ye,Qn:()=>Je,Rj:()=>ze,SJ:()=>V,TO:()=>Be,U8:()=>We,Vr:()=>X,Xt:()=>R,YY:()=>ge,Yb:()=>P,ZP:()=>Z,Zj:()=>z,_b:()=>K,_h:()=>pe,_m:()=>oe,_p:()=>k,bL:()=>Oe,c6:()=>J,e8:()=>ce,eF:()=>Le,eI:()=>N,f3:()=>re,fb:()=>Fe,gG:()=>G,gt:()=>Re,hI:()=>ee,he:()=>ne,ii:()=>Ie,ju:()=>ye,k2:()=>be,lI:()=>r,lU:()=>te,lb:()=>E,mE:()=>fe,mT:()=>se,pz:()=>ke,qN:()=>Me,qm:()=>Te,qv:()=>Ce,rl:()=>Ee,s5:()=>T,sW:()=>Ze,ty:()=>L,u8:()=>x,uF:()=>W,v:()=>$,vF:()=>C,vU:()=>Ne,vV:()=>Q,w6:()=>xe,w9:()=>B,wH:()=>q,wJ:()=>de,wU:()=>A,x0:()=>qe,x2:()=>ie,x8:()=>Y,xV:()=>He,yc:()=>De,zE:()=>Ge});let b=new("undefined"==typeof TextDecoder?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});b.decode();let a=null;function u(){return null!==a&&0!==a.byteLength||(a=new Uint8Array(t.memory.buffer)),a}function f(e,_){return e>>>=0,b.decode(u().subarray(e,e+_))}let d=0,s=new("undefined"==typeof TextEncoder?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8");const g="function"==typeof s.encodeInto?function(e,_){return s.encodeInto(e,_)}:function(e,_){const n=s.encode(e);return _.set(n),{read:e.length,written:n.length}};function w(e,_,n){if(void 0===n){const n=s.encode(e),t=_(n.length,1)>>>0;return u().subarray(t,t+n.length).set(n),d=n.length,t}let t=e.length,r=_(t,1)>>>0;const c=u();let i=0;for(;i<t;i++){const _=e.charCodeAt(i);if(_>127)break;c[r+i]=_}if(i!==t){0!==i&&(e=e.slice(i)),r=n(r,t,t=i+3*e.length,1)>>>0;const _=u().subarray(r+i,r+t);i+=g(e,_).written,r=n(r,t,i,1)>>>0}return d=i,r}let l=null;function y(){return(null===l||!0===l.buffer.detached||void 0===l.buffer.detached&&l.buffer!==t.memory.buffer)&&(l=new DataView(t.memory.buffer)),l}const h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{t.__wbindgen_export_5.get(e.dtor)(e.a,e.b)});function m(e){const _=typeof e;if("number"==_||"boolean"==_||null==e)return`${e}`;if("string"==_)return`"${e}"`;if("symbol"==_){const _=e.description;return null==_?"Symbol":`Symbol(${_})`}if("function"==_){const _=e.name;return"string"==typeof _&&_.length>0?`Function(${_})`:"Function"}if(Array.isArray(e)){const _=e.length;let n="[";_>0&&(n+=m(e[0]));for(let t=1;t<_;t++)n+=", "+m(e[t]);return n+="]",n}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let t;if(!(n&&n.length>1))return toString.call(e);if(t=n[1],"Object"==t)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:t}function p(e,_,n){t.closure83_externref_shim(e,_,n)}const v=["same-origin","no-cors","cors","navigate"],I="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>t.__wbg_license_free(e>>>0,1));class x{static __wrap(e){e>>>=0;const _=Object.create(x.prototype);return _.__wbg_ptr=e,I.register(_,_.__wbg_ptr,_),_}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),e}free(){const e=this.__destroy_into_raw();t.__wbg_license_free(e,0)}static get version(){let e,_;try{const n=t.license_get_version();return e=n[0],_=n[1],f(n[0],n[1])}finally{t.__wbindgen_free(e,_,1)}}constructor(e){const _=t.license_new(e);return this.__wbg_ptr=_>>>0,I.register(this,this.__wbg_ptr,this),this}update(){return t.license_update(this.__wbg_ptr)}static init(e,_,n){const r=w(_,t.__wbindgen_malloc,t.__wbindgen_realloc),c=d,i=w(n,t.__wbindgen_malloc,t.__wbindgen_realloc),o=d;return t.license_init(e,r,c,i,o)}validate(e,_){return t.license_validate(this.__wbg_ptr,e,o(_)?16777215:_)}get appId(){let e,_;try{const n=t.license_get_app_id(this.__wbg_ptr);return e=n[0],_=n[1],f(n[0],n[1])}finally{t.__wbindgen_free(e,_,1)}}}function F(e){return e.buffer}function q(){return i(function(e,_){return e.call(_)},arguments)}function B(){return i(function(e,_,n){return e.call(_,n)},arguments)}function R(e,_){e.clearTimeout(_)}function j(e){return e.crypto}function H(e){const _=e.document;return o(_)?0:c(_)}function S(e,_){return e.fetch(_)}function A(){return i(function(e,_,n,r){const c=_.getItem(f(n,r));var i=o(c)?0:w(c,t.__wbindgen_malloc,t.__wbindgen_realloc),b=d;y().setInt32(e+4,b,!0),y().setInt32(e+0,i,!0)},arguments)}function T(){return i(function(e,_){var n,t;globalThis.crypto.getRandomValues((n=e,t=_,n>>>=0,u().subarray(n/1,n/1+t)))},arguments)}function L(){return i(function(e,_){e.getRandomValues(_)},arguments)}function U(e,_){return e[_]}function k(e){return e.headers}function E(){return i(function(e,_){const n=w(_.host,t.__wbindgen_malloc,t.__wbindgen_realloc),r=d;y().setInt32(e+4,r,!0),y().setInt32(e+0,n,!0)},arguments)}function z(){return i(function(e,_){const n=w(_.href,t.__wbindgen_malloc,t.__wbindgen_realloc),r=d;y().setInt32(e+4,r,!0),y().setInt32(e+0,n,!0)},arguments)}function G(e){let _;try{_=e instanceof ArrayBuffer}catch(e){_=!1}return _}function O(e){let _;try{_=e instanceof Response}catch(e){_=!1}return _}function V(e){let _;try{_=e instanceof Uint8Array}catch(e){_=!1}return _}function C(e){let _;try{_=e instanceof Window}catch(e){_=!1}return _}function P(e){return Number.isSafeInteger(e)}function N(e){return e.length}function W(e){return x.__wrap(e)}function Y(){return i(function(e){const _=e.localStorage;return o(_)?0:c(_)},arguments)}function Z(e){return e.location}function M(e){return e.msCrypto}function D(e){return e.navigator}function J(e,_){try{var n={a:e,b:_};const r=new Promise((e,_)=>{const r=n.a;n.a=0;try{return function(e,_,n,r){t.closure134_externref_shim(e,_,n,r)}(r,n.b,e,_)}finally{n.a=r}});return r}finally{n.a=n.b=0}}function $(){return new Object}function K(){return i(function(){return new XMLHttpRequest},arguments)}function Q(e){return new Uint8Array(e)}function X(e,_){return new Function(f(e,_))}function ee(e,_,n){return new Uint8Array(e,_>>>0,n>>>0)}function _e(e){return new Uint8Array(e>>>0)}function ne(){return i(function(e,_,n){return new Request(f(e,_),n)},arguments)}function te(e){return e.node}function re(){return Date.now()}function ce(){return i(function(e,_,n,t,r,c){e.open(f(_,n),f(t,r),0!==c)},arguments)}function ie(e){return e.process}function oe(e){queueMicrotask(e)}function be(e){return e.queueMicrotask}function ae(){return i(function(e,_){e.randomFillSync(_)},arguments)}function ue(){return i(function(e,_,n){e.removeItem(f(_,n))},arguments)}function fe(){return i(function(){return module.require},arguments)}function de(e){return Promise.resolve(e)}function se(){return i(function(e,_,n,t,r){return e.sendBeacon(f(_,n),0===t?void 0:f(t,r))},arguments)}function ge(){return i(function(e,_,n){e.send(0===_?void 0:f(_,n))},arguments)}function we(){return i(function(e,_,n,t,r){e.setItem(f(_,n),f(t,r))},arguments)}function le(){return i(function(e,_,n,t,r){e.setRequestHeader(f(_,n),f(t,r))},arguments)}function ye(){return i(function(e,_,n,t,r){e.set(f(_,n),f(t,r))},arguments)}function he(e,_,n){e.set(_,n>>>0)}function me(e,_){e.body=_}function pe(e,_,n){e.method=f(_,n)}function ve(e,_){e.mode=v[_]}function Ie(){const e="undefined"==typeof global?null:global;return o(e)?0:c(e)}function xe(){const e="undefined"==typeof globalThis?null:globalThis;return o(e)?0:c(e)}function Fe(){const e="undefined"==typeof self?null:self;return o(e)?0:c(e)}function qe(){const e="undefined"==typeof window?null:window;return o(e)?0:c(e)}function Be(e,_,n){return e.subarray(_>>>0,n>>>0)}function Re(){return i(function(e){return e.text()},arguments)}function je(e,_){return e.then(_)}function He(e,_,n){return e.then(_,n)}function Se(e,_){const n=w(_.title,t.__wbindgen_malloc,t.__wbindgen_realloc),r=d;y().setInt32(e+4,r,!0),y().setInt32(e+0,n,!0)}function Ae(e){return e.versions}function Te(e){return+e}function Le(e){return"boolean"==typeof e?e?1:0:2}function Ue(e){const _=e.original;return 1==_.cnt--&&(_.a=0,!0)}function ke(e,_,n){const r=function(e,_,n,r){const c={a:e,b:_,cnt:1,dtor:84},i=(...e)=>{c.cnt++;const _=c.a;c.a=0;try{return r(_,c.b,...e)}finally{0===--c.cnt?(t.__wbindgen_export_5.get(c.dtor)(_,c.b),h.unregister(c)):c.a=_}};return i.original=c,h.register(i,c,c),i}(e,_,0,p);return r}function Ee(e,_){const n=w(m(_),t.__wbindgen_malloc,t.__wbindgen_realloc),r=d;y().setInt32(e+4,r,!0),y().setInt32(e+0,n,!0)}function ze(e,_){return new Error(f(e,_))}function Ge(e,_){return e in _}function Oe(){const e=t.__wbindgen_export_2,_=e.grow(4);e.set(0,void 0),e.set(_+0,void 0),e.set(_+1,null),e.set(_+2,!0),e.set(_+3,!1)}function Ve(e){return"function"==typeof e}function Ce(e){return"object"==typeof e&&null!==e}function Pe(e){return"string"==typeof e}function Ne(e){return void 0===e}function We(e,_){return e==_}function Ye(){return t.memory}function Ze(e,_){const n="number"==typeof _?_:void 0;y().setFloat64(e+8,o(n)?0:n,!0),y().setInt32(e+0,!o(n),!0)}function Me(e,_){const n="string"==typeof _?_:void 0;var r=o(n)?0:w(n,t.__wbindgen_malloc,t.__wbindgen_realloc),c=d;y().setInt32(e+4,c,!0),y().setInt32(e+0,r,!0)}function De(e,_){return f(e,_)}function Je(e,_){throw new Error(f(e,_))}},655:(e,_,n)=>{n.a(e,async(e,t)=>{try{n.r(_),n.d(_,{License:()=>c.u8,__wbg_buffer_609cc3eee51ed158:()=>c.FH,__wbg_call_672a4d21634d4a24:()=>c.wH,__wbg_call_7cccdd69e0791ae2:()=>c.w9,__wbg_clearTimeout_b2651b7485c58446:()=>c.Xt,__wbg_crypto_574e78ad8b13b65f:()=>c.CB,__wbg_document_d249400bd7bd996d:()=>c.Gh,__wbg_fetch_b7bf320f681242d2:()=>c.KI,__wbg_getItem_17f98dee3b43fa7e:()=>c.wU,__wbg_getRandomValues_38097e921c2494c3:()=>c.s5,__wbg_getRandomValues_b8f5dbd5f3995a9e:()=>c.ty,__wbg_getwithrefkey_1dc361bd10053bfe:()=>c.FP,__wbg_headers_7852a8ea641c1379:()=>c._p,__wbg_host_9bd7b5dc07c48606:()=>c.lb,__wbg_href_87d60a783a012377:()=>c.Zj,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>c.gG,__wbg_instanceof_Response_f2cc20d9f7dfd644:()=>c.Hz,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>c.SJ,__wbg_instanceof_Window_def73ea0955fc569:()=>c.vF,__wbg_isSafeInteger_343e2beeeece1bb0:()=>c.Yb,__wbg_length_a446193dc22c12f8:()=>c.eI,__wbg_license_new:()=>c.uF,__wbg_localStorage_1406c99c39728187:()=>c.x8,__wbg_location_350d99456c2f3693:()=>c.ZP,__wbg_msCrypto_a61aeb35a24c1329:()=>c.Fx,__wbg_navigator_1577371c070c8947:()=>c.Im,__wbg_new_23a2665fac83c611:()=>c.c6,__wbg_new_405e22f390576ce2:()=>c.v,__wbg_new_86231e225ca6b962:()=>c._b,__wbg_new_a12002a7f91c75be:()=>c.vV,__wbg_newnoargs_105ed471475aaf50:()=>c.Vr,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>c.hI,__wbg_newwithlength_a381634e90c276d4:()=>c.Ht,__wbg_newwithstrandinit_06c535e0a867c635:()=>c.he,__wbg_node_905d3e251edff8a2:()=>c.lU,__wbg_now_807e54c39636c349:()=>c.f3,__wbg_open_13a598ea50d82926:()=>c.e8,__wbg_process_dc0fbacc7c1c06f7:()=>c.x2,__wbg_queueMicrotask_97d92b4fcc8a61c5:()=>c._m,__wbg_queueMicrotask_d3219def82552485:()=>c.k2,__wbg_randomFillSync_ac0988aba3254290:()=>c.IZ,__wbg_removeItem_9d2669ee3bba6f7d:()=>c.Bu,__wbg_require_60cc747a6bc5215a:()=>c.mE,__wbg_resolve_4851785c9c5f573d:()=>c.wJ,__wbg_sendBeacon_a98a679269b5461a:()=>c.mT,__wbg_send_dfdb375d4404a997:()=>c.YY,__wbg_setItem_212ecc915942ab0a:()=>c.Eb,__wbg_setRequestHeader_51d371ad5196f6ef:()=>c.AB,__wbg_set_11cd83f45504cedf:()=>c.ju,__wbg_set_65595bdd868b3009:()=>c.HB,__wbg_set_wasm:()=>c.lI,__wbg_setbody_5923b78a95eedf29:()=>c.Nh,__wbg_setmethod_3c5280fe5d890842:()=>c._h,__wbg_setmode_5dc300b865044b65:()=>c.BF,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>c.ii,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>c.w6,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>c.fb,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>c.x0,__wbg_subarray_aa9065fa9dc5df96:()=>c.TO,__wbg_text_7805bea50de2af49:()=>c.gt,__wbg_then_44b73946d2fb3e7d:()=>c.GQ,__wbg_then_48b406749878a531:()=>c.xV,__wbg_title_09f6e06f98d0b686:()=>c.Cz,__wbg_versions_c01dfd4722a88165:()=>c.Kw,__wbindgen_as_number:()=>c.qm,__wbindgen_boolean_get:()=>c.eF,__wbindgen_cb_drop:()=>c.LC,__wbindgen_closure_wrapper376:()=>c.pz,__wbindgen_debug_string:()=>c.rl,__wbindgen_error_new:()=>c.Rj,__wbindgen_in:()=>c.zE,__wbindgen_init_externref_table:()=>c.bL,__wbindgen_is_function:()=>c.PR,__wbindgen_is_object:()=>c.qv,__wbindgen_is_string:()=>c.Gu,__wbindgen_is_undefined:()=>c.vU,__wbindgen_jsval_loose_eq:()=>c.U8,__wbindgen_memory:()=>c.Py,__wbindgen_number_get:()=>c.sW,__wbindgen_string_get:()=>c.qN,__wbindgen_string_new:()=>c.yc,__wbindgen_throw:()=>c.Qn});var r=n(44),c=n(241),i=e([r]);r=(i.then?(await i)():i)[0],(0,c.lI)(r),r.__wbindgen_start(),t()}catch(e){t(e)}})}}]);
@@ -1 +0,0 @@
1
- (()=>{var e,r,t,n,a,o,i,s={},c={};function l(e){var r=c[e];if(void 0!==r)return r.exports;var t=c[e]={id:e,exports:{}};return s[e](t,t.exports,l),t.exports}l.m=s,e="function"==typeof Symbol,r=e?Symbol("webpack queues"):"__webpack_queues__",t=e?Symbol("webpack exports"):"__webpack_exports__",n=e?Symbol("webpack error"):"__webpack_error__",a=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},l.a=(e,o,i)=>{var s;i&&((s=[]).d=-1);var c,l,p,u=new Set,d=e.exports,b=new Promise((e,r)=>{p=r,l=e});b[t]=d,b[r]=e=>(s&&e(s),u.forEach(e),b.catch(e=>{})),e.exports=b,o(e=>{var o;c=(e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(e[r])return e;if(e.then){var o=[];o.d=0,e.then(e=>{i[t]=e,a(o)},e=>{i[n]=e,a(o)});var i={};return i[r]=e=>e(o),i}}var s={};return s[r]=e=>{},s[t]=e,s}))(e);var i=()=>c.map(e=>{if(e[n])throw e[n];return e[t]}),l=new Promise(e=>{(o=()=>e(i)).r=0;var t=e=>e!==s&&!u.has(e)&&(u.add(e),e&&!e.d&&(o.r++,e.push(o)));c.map(e=>e[r](t))});return o.r?l:i()},e=>(e?p(b[n]=e):l(d),a(s))),s&&s.d<0&&(s.d=0)},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce((r,t)=>(l.f[t](e,r),r),[])),l.u=e=>e+".index.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},i="post-build:",l.l=(e,r,t,n)=>{if(o[e])o[e].push(r);else{var a,s;if(void 0!==t)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==i+t){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,l.nc&&a.setAttribute("nonce",l.nc),a.setAttribute("data-webpack",i+t),a.src=e),o[e]=[r];var d=(r,t)=>{a.onerror=a.onload=null,clearTimeout(b);var n=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach(e=>e(t)),r)return r(t)},b=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.v=(e,r,t,n)=>{var a=fetch(l.p+"index.wasm"),o=()=>a.then(e=>e.arrayBuffer()).then(e=>WebAssembly.instantiate(e,n)).then(r=>Object.assign(e,r.instance.exports));return a.then(r=>"function"==typeof WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(r,n).then(r=>Object.assign(e,r.instance.exports),e=>{if("application/wasm"!==r.headers.get("Content-Type"))return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e),o();throw e}):o())},(()=>{var e;l.g.importScripts&&(e=l.g.location+"");var r=l.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e})(),(()=>{var e={792:0};l.f.j=(r,t)=>{var n=l.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,a)=>n=e[r]=[t,a]);t.push(n[2]=a);var o=l.p+l.u(r),i=new Error;l.l(o,t=>{if(l.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,s]=t,c=0;if(o.some(r=>0!==e[r])){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);s&&s(l)}for(r&&r(t);c<o.length;c++)a=o[c],l.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=self.webpackChunkpost_build=self.webpackChunkpost_build||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),window.loadLicenseSource=async()=>(await l.e(655).then(l.bind(l,655))).License})();
Binary file