@exezt-/webamp 1.5.0-0x707 → 1.5.0-0x708

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.
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 50);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 51);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ([
@@ -102,7 +102,7 @@ return /******/ (function(modules) { // webpackBootstrap
102
102
 
103
103
 
104
104
  if (true) {
105
- module.exports = __webpack_require__(57);
105
+ module.exports = __webpack_require__(58);
106
106
  } else {}
107
107
 
108
108
 
@@ -114,7 +114,7 @@ if (true) {
114
114
 
115
115
 
116
116
  if (true) {
117
- module.exports = __webpack_require__(58);
117
+ module.exports = __webpack_require__(59);
118
118
  } else {}
119
119
 
120
120
 
@@ -140,8 +140,8 @@ if (true) {
140
140
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return VISUALIZER_ORDER; });
141
141
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return TIME_MODE; });
142
142
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return MEDIA_STATUS; });
143
- /* harmony import */ var _baseSkin_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(40);
144
- var _baseSkin_json__WEBPACK_IMPORTED_MODULE_0___namespace = /*#__PURE__*/__webpack_require__.t(40, 1);
143
+ /* harmony import */ var _baseSkin_json__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41);
144
+ var _baseSkin_json__WEBPACK_IMPORTED_MODULE_0___namespace = /*#__PURE__*/__webpack_require__.t(41, 1);
145
145
 
146
146
  const BANDS = [60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000];
147
147
  const WINDOWS = {
@@ -798,7 +798,7 @@ if (true) {
798
798
  // DCE check should happen before ReactDOM bundle executes so that
799
799
  // DevTools can report bad minification during injection.
800
800
  checkDCE();
801
- module.exports = __webpack_require__(59);
801
+ module.exports = __webpack_require__(60);
802
802
  } else {}
803
803
 
804
804
 
@@ -807,7 +807,7 @@ if (true) {
807
807
  /* 9 */
808
808
  /***/ (function(module, exports, __webpack_require__) {
809
809
 
810
- var objectWithoutPropertiesLoose = __webpack_require__(67);
810
+ var objectWithoutPropertiesLoose = __webpack_require__(68);
811
811
 
812
812
  function _objectWithoutProperties(source, excluded) {
813
813
  if (source == null) return {};
@@ -984,7 +984,7 @@ var singleton = null;
984
984
  var singletonCounter = 0;
985
985
  var stylesInsertedAtTop = [];
986
986
 
987
- var fixUrls = __webpack_require__(72);
987
+ var fixUrls = __webpack_require__(73);
988
988
 
989
989
  module.exports = function(list, options) {
990
990
  if (typeof DEBUG !== "undefined" && DEBUG) {
@@ -3252,7 +3252,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
3252
3252
  /* 27 */
3253
3253
  /***/ (function(module, exports, __webpack_require__) {
3254
3254
 
3255
- var root = __webpack_require__(81);
3255
+ var root = __webpack_require__(82);
3256
3256
 
3257
3257
  /** Built-in value references. */
3258
3258
  var Symbol = root.Symbol;
@@ -3268,7 +3268,7 @@ module.exports = Symbol;
3268
3268
 
3269
3269
 
3270
3270
  if (true) {
3271
- module.exports = __webpack_require__(65);
3271
+ module.exports = __webpack_require__(66);
3272
3272
  } else {}
3273
3273
 
3274
3274
 
@@ -3387,7 +3387,7 @@ module.exports = hoistNonReactStatics;
3387
3387
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3388
3388
 
3389
3389
  "use strict";
3390
- /* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
3390
+ /* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39);
3391
3391
  /* global window */
3392
3392
 
3393
3393
 
@@ -3406,15 +3406,15 @@ if (typeof self !== 'undefined') {
3406
3406
  var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(root);
3407
3407
  /* harmony default export */ __webpack_exports__["a"] = (result);
3408
3408
 
3409
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(19), __webpack_require__(66)(module)))
3409
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(19), __webpack_require__(67)(module)))
3410
3410
 
3411
3411
  /***/ }),
3412
3412
  /* 31 */
3413
3413
  /***/ (function(module, exports, __webpack_require__) {
3414
3414
 
3415
- var parser = __webpack_require__(68);
3415
+ var parser = __webpack_require__(69);
3416
3416
 
3417
- var creator = __webpack_require__(69);
3417
+ var creator = __webpack_require__(70);
3418
3418
 
3419
3419
  module.exports = {
3420
3420
  parser: parser,
@@ -3424,10 +3424,375 @@ module.exports = {
3424
3424
  /***/ }),
3425
3425
  /* 32 */,
3426
3426
  /* 33 */,
3427
- /* 34 */,
3427
+ /* 34 */
3428
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3429
+
3430
+ "use strict";
3431
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WinampTelegramCustomHandler; });
3432
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
3433
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__);
3434
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
3435
+
3436
+ // @ts-ignore
3437
+
3438
+ class WinampTelegramCustomHandler {
3439
+ constructor(emit) {
3440
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "webamp", void 0);
3441
+
3442
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxFileSize", 0x1400000);
3443
+
3444
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "telegram", void 0);
3445
+
3446
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "updateAppState", () => {
3447
+ localStorage.setItem("appState", JSON.stringify(this.webamp.__getSerializedState()));
3448
+ });
3449
+
3450
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getFiles", async ln => {
3451
+ const x = new XMLHttpRequest();
3452
+ const link = encodeURIComponent(ln);
3453
+ x.open('get', `https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${link}`, true);
3454
+ x.setRequestHeader('Accept', 'application/json');
3455
+ x.setRequestHeader('Content-Type', 'application/json');
3456
+ x.setRequestHeader('Authorization', 'OAuth 0dc7925ebcf047a1b001c07d6bd5ac49');
3457
+ x.send();
3458
+
3459
+ x.onload = async () => {
3460
+ if (x.status === 200) {
3461
+ var _JSON$parse;
3462
+
3463
+ const data = (_JSON$parse = JSON.parse(x.responseText)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse._embedded.items;
3464
+ let i = 0;
3465
+ this.saveLastPlaylist(ln);
3466
+
3467
+ for (const item of data) {
3468
+ if (item.size > this.maxFileSize) {
3469
+ console.info(`File ${item.name} can't be loaded due oversize`);
3470
+ } else {
3471
+ await fetch(`${item.file}&public_key=${item.public_key}`, {
3472
+ method: "GET"
3473
+ }).then(response => response).then(resp => fetch(resp.url)).then(async response => {
3474
+ if (response.status === 302) {
3475
+ return await fetch(`${response.headers.get("Location")}&public_key=${item.public_key}`);
3476
+ } else {
3477
+ return response;
3478
+ }
3479
+ }).then(res => {
3480
+ var _res$body;
3481
+
3482
+ console.log(res);
3483
+ const read = (_res$body = res.body) === null || _res$body === void 0 ? void 0 : _res$body.getReader();
3484
+ return new ReadableStream({
3485
+ start(controller) {
3486
+ // @ts-ignore
3487
+ function pump() {
3488
+ // @ts-ignore
3489
+ return read === null || read === void 0 ? void 0 : read.read().then(({
3490
+ done,
3491
+ value
3492
+ }) => {
3493
+ if (done) {
3494
+ controller.close();
3495
+ return;
3496
+ }
3497
+
3498
+ controller.enqueue(value);
3499
+ return pump();
3500
+ });
3501
+ }
3502
+
3503
+ return pump();
3504
+ }
3505
+
3506
+ });
3507
+ }).then(stream => new Response(stream)).then(response => response.blob()).then(blob => URL.createObjectURL(blob)).then(uri => {
3508
+ if (i === 0) {
3509
+ this.webamp.setTracksToPlay([{
3510
+ defaultName: item.name,
3511
+ url: uri
3512
+ }]);
3513
+ } else {
3514
+ this.webamp.appendTracks([{
3515
+ defaultName: item.name,
3516
+ url: uri
3517
+ }]);
3518
+ }
3519
+
3520
+ i++; // yes, it should be here
3521
+ }).catch(err => err);
3522
+ }
3523
+ }
3524
+ }
3525
+ };
3526
+ });
3527
+
3528
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getTrackListFromYandexDisk", async playlistLink => {
3529
+ fetch(`https://cloud-api.yandex.net/v1/disk/public/resources?public_key=${encodeURIComponent(playlistLink)}`, {
3530
+ method: "GET",
3531
+ headers: {
3532
+ Accept: "application/json",
3533
+ "Content-Type": "application/json"
3534
+ }
3535
+ }).then(async response => {
3536
+ if (response.status === 200) {
3537
+ return response.text();
3538
+ } else {
3539
+ return null;
3540
+ }
3541
+ }).then(async response => {
3542
+ if (response !== null) {
3543
+ var _JSON$parse2;
3544
+
3545
+ const data = (_JSON$parse2 = JSON.parse(response)) === null || _JSON$parse2 === void 0 ? void 0 : _JSON$parse2._embedded.items;
3546
+ let i = 0;
3547
+ this.saveLastPlaylist(playlistLink);
3548
+
3549
+ for (const item of data) {
3550
+ if (i === 0) {
3551
+ this.webamp.setTracksToPlay([{
3552
+ defaultName: item.name,
3553
+ url: `$${item.file}&public_key=${item.public_key}`
3554
+ }]);
3555
+ } else {
3556
+ this.webamp.appendTracks([{
3557
+ defaultName: item.name,
3558
+ url: `$${item.file}&public_key=${item.public_key}`
3559
+ }]);
3560
+ }
3561
+ }
3562
+ }
3563
+ });
3564
+ });
3565
+
3566
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loadTrackFromYandexDisk", async track => {
3567
+ let public_key = new URL(track.url).searchParams.get("public_key");
3568
+ await fetch(track.url, {
3569
+ method: "GET"
3570
+ }).then(response => response).then(resp => fetch(resp.url)).then(async response => {
3571
+ if (response.status === 302) {
3572
+ return await fetch(`${response.headers.get("Location")}&public_key=${public_key}`);
3573
+ } else {
3574
+ return response;
3575
+ }
3576
+ }).then(res => {
3577
+ var _res$body2;
3578
+
3579
+ console.log(res);
3580
+ const read = (_res$body2 = res.body) === null || _res$body2 === void 0 ? void 0 : _res$body2.getReader();
3581
+ return new ReadableStream({
3582
+ start(controller) {
3583
+ // @ts-ignore
3584
+ function pump() {
3585
+ // @ts-ignore
3586
+ return read === null || read === void 0 ? void 0 : read.read().then(({
3587
+ done,
3588
+ value
3589
+ }) => {
3590
+ if (done) {
3591
+ controller.close();
3592
+ return;
3593
+ }
3594
+
3595
+ controller.enqueue(value);
3596
+ return pump();
3597
+ });
3598
+ }
3599
+
3600
+ return pump();
3601
+ }
3602
+
3603
+ });
3604
+ }).then(stream => new Response(stream)).then(response => response.blob()).then(blob => URL.createObjectURL(blob)).then(uri => {
3605
+ let tracks = this.getAllTracks();
3606
+ this.replaceTrack(track, tracks);
3607
+ }).catch(err => err);
3608
+ });
3609
+
3610
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onTrackNeedToLoad", () => {
3611
+ let track = this.getCurrentTrack();
3612
+
3613
+ if (track.url.split('')[0] === "$") {
3614
+ let uri = track.url.replace('$', '');
3615
+ this.loadTrackFromYandexDisk(track);
3616
+ }
3617
+ });
3618
+
3619
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getCurrentTrack", () => {
3620
+ let trackId = this.webamp.store.getState().playlist.currentTrack;
3621
+ return this.webamp.store.getState().tracks[trackId];
3622
+ });
3623
+
3624
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getAllTracks", () => {
3625
+ return this.webamp.store.getState().tracks;
3626
+ });
3627
+
3628
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "replaceTrack", (track, tracks) => {
3629
+ let a = [];
3630
+ Object.entries(tracks).forEach(([_key, value]) => {
3631
+ if (value.id === track.id) {
3632
+ a.push(track);
3633
+ } else {
3634
+ a.push(value);
3635
+ }
3636
+ });
3637
+ this.webamp.setTracksToPlay(a);
3638
+ });
3639
+
3640
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "saveLastPlaylist", playlistLink => {
3641
+ document.cookie = `lastlist=${playlistLink}; path=/;`;
3642
+ });
3643
+
3644
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "getCookie", name => {
3645
+ const regex = new RegExp(`(^| )${name}=([^;]+)`);
3646
+ const match = document.cookie.match(regex);
3647
+
3648
+ if (match) {
3649
+ return match[2];
3650
+ }
3651
+ });
3652
+
3653
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loadOptions2", opts => {
3654
+ this.webamp.__loadSerializedState(opts);
3655
+ });
3656
+
3657
+ _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loadOptions", opts => {
3658
+ let i = 0;
3659
+ let vol = opts.media.volume;
3660
+ let balance = opts.media.balance;
3661
+ let eq1 = opts.equalizer.sliders.preamp;
3662
+ let eq2 = opts.equalizer.sliders["60"];
3663
+ let eq3 = opts.equalizer.sliders["170"];
3664
+ let eq4 = opts.equalizer.sliders["310"];
3665
+ let eq5 = opts.equalizer.sliders["600"];
3666
+ let eq6 = opts.equalizer.sliders["1000"];
3667
+ let eq7 = opts.equalizer.sliders["3000"];
3668
+ let eq8 = opts.equalizer.sliders["6000"];
3669
+ let eq9 = opts.equalizer.sliders["12000"];
3670
+ let eq10 = opts.equalizer.sliders["14000"];
3671
+ let eq11 = opts.equalizer.sliders["16000"];
3672
+ let equal = [eq1, eq2, eq3, eq4, eq5, eq6, eq7, eq8, eq9, eq10, eq11];
3673
+ let bands = [60, 170, 310, 600, 1000, 3000, 6000, 12000, 14000, 16000];
3674
+ this.webamp.store.dispatch({
3675
+ type: "SET_VOLUME",
3676
+ volume: Object(_utils__WEBPACK_IMPORTED_MODULE_1__[/* clamp */ "d"])(vol, 0, 100)
3677
+ });
3678
+ this.webamp.store.dispatch({
3679
+ type: "SET_BALANCE",
3680
+ balance: balance
3681
+ });
3682
+ this.webamp.store.dispatch({
3683
+ type: "SET_BAND_VALUE",
3684
+ band: "preamp",
3685
+ value: opts.equalizer.sliders.preamp
3686
+ });
3687
+
3688
+ for (const band of bands) {
3689
+ this.webamp.store.dispatch({
3690
+ type: "SET_BAND_VALUE",
3691
+ band: band,
3692
+ value: equal[i]
3693
+ });
3694
+ i++;
3695
+ }
3696
+
3697
+ if (window.__webamp.store.getState().media.shuffle !== opts.media.shuffle) {
3698
+ this.webamp.store.dispatch({
3699
+ type: "TOGGLE_SHUFFLE"
3700
+ });
3701
+ }
3702
+
3703
+ if (window.__webamp.store.getState().media.repeat !== opts.media.repeat) {
3704
+ this.webamp.store.dispatch({
3705
+ type: "TOGGLE_REPEAT"
3706
+ });
3707
+ }
3708
+ });
3709
+
3710
+ setTimeout(() => {
3711
+ if (!window.__webamp) {
3712
+ throw new Error("Webamp __webamp is undefined!!");
3713
+ } else {
3714
+ this.webamp = window.__webamp;
3715
+ }
3716
+
3717
+ if (typeof localStorage.getItem('app-state') !== "undefined") {
3718
+ this.loadOptions2(JSON.parse(localStorage.getItem('app-state')));
3719
+ } // emit
3720
+
3721
+
3722
+ if (emit !== false) {
3723
+ var _window, _window$Telegram;
3724
+
3725
+ const lastList = this.getCookie('lastlist');
3726
+
3727
+ if (typeof lastList !== "undefined") {
3728
+ this.getTrackListFromYandexDisk(lastList);
3729
+ } // @ts-ignore | because no global var telegram avail in project types
3730
+
3731
+
3732
+ if (!((_window = window) !== null && _window !== void 0 && (_window$Telegram = _window.Telegram) !== null && _window$Telegram !== void 0 && _window$Telegram.WebApp)) {
3733
+ console.error("Telegram is undefined!! Skipping Telegram.WebApp event handler...");
3734
+ } else {
3735
+ var _window2, _window2$Telegram;
3736
+
3737
+ // @ts-ignore | because no global var telegram avail in project types
3738
+ this.telegram = (_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$Telegram = _window2.Telegram) === null || _window2$Telegram === void 0 ? void 0 : _window2$Telegram.WebApp;
3739
+ this.initializeTelegramWebAppEvents();
3740
+ }
3741
+
3742
+ this.initializeApplicationHandlers();
3743
+ }
3744
+ }, 1000);
3745
+ }
3746
+
3747
+ initializeTelegramWebAppEvents() {
3748
+ this.telegram.offEvent("deactivated", () => {
3749
+ this.updateAppState();
3750
+ });
3751
+ }
3752
+
3753
+ initializeApplicationHandlers() {
3754
+ const window_handlers = ['unload', 'beforeunload', 'pagehide'];
3755
+ window_handlers.forEach(handler => {
3756
+ window.addEventListener(handler, () => {
3757
+ this.updateAppState();
3758
+ });
3759
+ });
3760
+ this.webamp.onTrackDidChange(() => {
3761
+ console.log(this.webamp.store.getState());
3762
+ this.updateAppState();
3763
+ });
3764
+ this.webamp.onWillClose(() => {
3765
+ this.updateAppState();
3766
+ });
3767
+ this.webamp.onClose(() => {
3768
+ this.updateAppState();
3769
+ });
3770
+ this.webamp.onMinimize(() => {
3771
+ this.updateAppState();
3772
+ });
3773
+ this.webamp.store.dispatch({
3774
+ type: "ENABLE_MILKDROP",
3775
+ open: false
3776
+ });
3777
+ const ev = ['ended', 'playing', 'timeupdate', 'fileLoaded', 'waiting', 'stopWaiting'];
3778
+
3779
+ this.webamp.__onStateChange(() => {
3780
+ this.onTrackNeedToLoad();
3781
+ this.updateAppState();
3782
+ });
3783
+
3784
+ ev.forEach(ev => this.webamp.media.on(ev, () => {
3785
+ this.updateAppState();
3786
+ }));
3787
+ }
3788
+
3789
+ }
3790
+
3791
+ /***/ }),
3428
3792
  /* 35 */,
3429
3793
  /* 36 */,
3430
- /* 37 */
3794
+ /* 37 */,
3795
+ /* 38 */
3431
3796
  /***/ (function(module, exports) {
3432
3797
 
3433
3798
  var PRESET_VALUES = ["hz60", "hz170", "hz310", "hz600", "hz1000", "hz3000", "hz6000", "hz12000", "hz14000", "hz16000", "preamp"];
@@ -3438,7 +3803,7 @@ module.exports = {
3438
3803
  };
3439
3804
 
3440
3805
  /***/ }),
3441
- /* 38 */
3806
+ /* 39 */
3442
3807
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3443
3808
 
3444
3809
  "use strict";
@@ -3463,7 +3828,7 @@ function symbolObservablePonyfill(root) {
3463
3828
 
3464
3829
 
3465
3830
  /***/ }),
3466
- /* 39 */
3831
+ /* 40 */
3467
3832
  /***/ (function(module, exports, __webpack_require__) {
3468
3833
 
3469
3834
  "use strict";
@@ -3490,13 +3855,13 @@ exports.devToolsEnhancer = (
3490
3855
 
3491
3856
 
3492
3857
  /***/ }),
3493
- /* 40 */
3858
+ /* 41 */
3494
3859
  /***/ (function(module) {
3495
3860
 
3496
3861
  module.exports = JSON.parse("{\"images\":{\"EQ_PREAMP_LINE\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAABCAYAAADpXEERAAAAE0lEQVQoU2Pcdfruf4ZRMKRDAAD1lwNjTqcaUQAAAABJRU5ErkJggg==\",\"EQ_GRAPH_LINE_COLORS\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAATCAYAAABRC2cZAAAAR0lEQVQYV2O4rCT9n+F9kOJ/hvfViv8ZHkzSQCE2afxneH/HEJm49Nr0PwOYWPLIAkp0PjL4z1B41uQ/Q9QGnf8MWrPEIAQANWYwvnlToNIAAAAASUVORK5CYII=\"},\"colors\":[\"rgb(0,0,0)\",\"rgb(24,33,41)\",\"rgb(239,49,16)\",\"rgb(206,41,16)\",\"rgb(214,90,0)\",\"rgb(214,102,0)\",\"rgb(214,115,0)\",\"rgb(198,123,8)\",\"rgb(222,165,24)\",\"rgb(214,181,33)\",\"rgb(189,222,41)\",\"rgb(148,222,33)\",\"rgb(41,206,16)\",\"rgb(50,190,16)\",\"rgb(57,181,16)\",\"rgb(49,156,8)\",\"rgb(41,148,0)\",\"rgb(24,132,8)\",\"rgb(255,255,255)\",\"rgb(214,214,222)\",\"rgb(181,189,189)\",\"rgb(160,170,175)\",\"rgb(148,156,165)\",\"rgb(150,150,150)\"],\"playlistStyle\":{\"normal\":\"#00FF00\",\"current\":\"#FFFFFF\",\"normalbg\":\"#000000\",\"selectedbg\":\"#0000FF\",\"font\":\"Arial\"}}");
3497
3862
 
3498
3863
  /***/ }),
3499
- /* 41 */
3864
+ /* 42 */
3500
3865
  /***/ (function(module, exports, __webpack_require__) {
3501
3866
 
3502
3867
  "use strict";
@@ -3591,11 +3956,11 @@ TinyQueue.prototype = {
3591
3956
 
3592
3957
 
3593
3958
  /***/ }),
3594
- /* 42 */
3959
+ /* 43 */
3595
3960
  /***/ (function(module, exports, __webpack_require__) {
3596
3961
 
3597
- var deburrLetter = __webpack_require__(77),
3598
- toString = __webpack_require__(79);
3962
+ var deburrLetter = __webpack_require__(78),
3963
+ toString = __webpack_require__(80);
3599
3964
 
3600
3965
  /** Used to match Latin Unicode letters (excluding mathematical operators). */
3601
3966
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
@@ -3642,13 +4007,13 @@ module.exports = deburr;
3642
4007
 
3643
4008
 
3644
4009
  /***/ }),
3645
- /* 43 */
4010
+ /* 44 */
3646
4011
  /***/ (function(module) {
3647
4012
 
3648
4013
  module.exports = JSON.parse("{\"type\":\"Winamp EQ library file v1.1\",\"presets\":[{\"name\":\"Classical\",\"hz60\":33,\"hz170\":33,\"hz310\":33,\"hz600\":33,\"hz1000\":33,\"hz3000\":33,\"hz6000\":20,\"hz12000\":20,\"hz14000\":20,\"hz16000\":16,\"preamp\":33},{\"name\":\"Club\",\"hz60\":33,\"hz170\":33,\"hz310\":38,\"hz600\":42,\"hz1000\":42,\"hz3000\":42,\"hz6000\":38,\"hz12000\":33,\"hz14000\":33,\"hz16000\":33,\"preamp\":33},{\"name\":\"Dance\",\"hz60\":48,\"hz170\":44,\"hz310\":36,\"hz600\":32,\"hz1000\":32,\"hz3000\":22,\"hz6000\":20,\"hz12000\":20,\"hz14000\":32,\"hz16000\":32,\"preamp\":33},{\"name\":\"Laptop speakers/headphones\",\"hz60\":40,\"hz170\":50,\"hz310\":41,\"hz600\":26,\"hz1000\":28,\"hz3000\":35,\"hz6000\":40,\"hz12000\":48,\"hz14000\":53,\"hz16000\":56,\"preamp\":33},{\"name\":\"Large hall\",\"hz60\":49,\"hz170\":49,\"hz310\":42,\"hz600\":42,\"hz1000\":33,\"hz3000\":24,\"hz6000\":24,\"hz12000\":24,\"hz14000\":33,\"hz16000\":33,\"preamp\":33},{\"name\":\"Party\",\"hz60\":44,\"hz170\":44,\"hz310\":33,\"hz600\":33,\"hz1000\":33,\"hz3000\":33,\"hz6000\":33,\"hz12000\":33,\"hz14000\":44,\"hz16000\":44,\"preamp\":33},{\"name\":\"Pop\",\"hz60\":29,\"hz170\":40,\"hz310\":44,\"hz600\":45,\"hz1000\":41,\"hz3000\":30,\"hz6000\":28,\"hz12000\":28,\"hz14000\":29,\"hz16000\":29,\"preamp\":33},{\"name\":\"Reggae\",\"hz60\":33,\"hz170\":33,\"hz310\":31,\"hz600\":22,\"hz1000\":33,\"hz3000\":43,\"hz6000\":43,\"hz12000\":33,\"hz14000\":33,\"hz16000\":33,\"preamp\":33},{\"name\":\"Rock\",\"hz60\":45,\"hz170\":40,\"hz310\":23,\"hz600\":19,\"hz1000\":26,\"hz3000\":39,\"hz6000\":47,\"hz12000\":50,\"hz14000\":50,\"hz16000\":50,\"preamp\":33},{\"name\":\"Soft\",\"hz60\":40,\"hz170\":35,\"hz310\":30,\"hz600\":28,\"hz1000\":30,\"hz3000\":39,\"hz6000\":46,\"hz12000\":48,\"hz14000\":50,\"hz16000\":52,\"preamp\":33},{\"name\":\"Ska\",\"hz60\":28,\"hz170\":24,\"hz310\":25,\"hz600\":31,\"hz1000\":39,\"hz3000\":42,\"hz6000\":47,\"hz12000\":48,\"hz14000\":50,\"hz16000\":48,\"preamp\":33},{\"name\":\"Full Bass\",\"hz60\":48,\"hz170\":48,\"hz310\":48,\"hz600\":42,\"hz1000\":35,\"hz3000\":25,\"hz6000\":18,\"hz12000\":15,\"hz14000\":14,\"hz16000\":14,\"preamp\":33},{\"name\":\"Soft Rock\",\"hz60\":39,\"hz170\":39,\"hz310\":36,\"hz600\":31,\"hz1000\":25,\"hz3000\":23,\"hz6000\":26,\"hz12000\":31,\"hz14000\":37,\"hz16000\":47,\"preamp\":33},{\"name\":\"Full Treble\",\"hz60\":16,\"hz170\":16,\"hz310\":16,\"hz600\":25,\"hz1000\":37,\"hz3000\":50,\"hz6000\":58,\"hz12000\":58,\"hz14000\":58,\"hz16000\":60,\"preamp\":33},{\"name\":\"Full Bass & Treble\",\"hz60\":44,\"hz170\":42,\"hz310\":33,\"hz600\":20,\"hz1000\":24,\"hz3000\":35,\"hz6000\":46,\"hz12000\":50,\"hz14000\":52,\"hz16000\":52,\"preamp\":33},{\"name\":\"Live\",\"hz60\":24,\"hz170\":33,\"hz310\":39,\"hz600\":41,\"hz1000\":42,\"hz3000\":42,\"hz6000\":39,\"hz12000\":37,\"hz14000\":37,\"hz16000\":36,\"preamp\":33},{\"name\":\"Techno\",\"hz60\":45,\"hz170\":42,\"hz310\":33,\"hz600\":23,\"hz1000\":24,\"hz3000\":33,\"hz6000\":45,\"hz12000\":48,\"hz14000\":48,\"hz16000\":47,\"preamp\":33}]}");
3649
4014
 
3650
4015
  /***/ }),
3651
- /* 44 */
4016
+ /* 45 */
3652
4017
  /***/ (function(module, exports, __webpack_require__) {
3653
4018
 
3654
4019
  "use strict";
@@ -3675,7 +4040,7 @@ var __spread = (this && this.__spread) || function () {
3675
4040
  };
3676
4041
  Object.defineProperty(exports, "__esModule", { value: true });
3677
4042
  exports.convertAniBinaryToCSS = void 0;
3678
- var parser_1 = __webpack_require__(98);
4043
+ var parser_1 = __webpack_require__(99);
3679
4044
  var JIFFIES_PER_MS = 1000 / 60;
3680
4045
  // Generate CSS for an animated cursor.
3681
4046
  //
@@ -3740,12 +4105,12 @@ function sum(values) {
3740
4105
  //# sourceMappingURL=index.js.map
3741
4106
 
3742
4107
  /***/ }),
3743
- /* 45 */,
3744
4108
  /* 46 */,
3745
4109
  /* 47 */,
3746
4110
  /* 48 */,
3747
4111
  /* 49 */,
3748
- /* 50 */
4112
+ /* 50 */,
4113
+ /* 51 */
3749
4114
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3750
4115
 
3751
4116
  "use strict";
@@ -3768,7 +4133,7 @@ var react_dom = __webpack_require__(7);
3768
4133
  var react_dom_default = /*#__PURE__*/__webpack_require__.n(react_dom);
3769
4134
 
3770
4135
  // EXTERNAL MODULE: /home/exezt-/Projects/webamp/node_modules/prop-types/index.js
3771
- var prop_types = __webpack_require__(62);
4136
+ var prop_types = __webpack_require__(63);
3772
4137
 
3773
4138
  // CONCATENATED MODULE: /home/exezt-/Projects/webamp/node_modules/react-redux/es/components/Context.js
3774
4139
 
@@ -5063,7 +5428,7 @@ thunk.withExtraArgument = createThunkMiddleware;
5063
5428
 
5064
5429
  /* harmony default export */ var es = (thunk);
5065
5430
  // EXTERNAL MODULE: /home/exezt-/Projects/webamp/node_modules/redux-devtools-extension/index.js
5066
- var redux_devtools_extension = __webpack_require__(39);
5431
+ var redux_devtools_extension = __webpack_require__(40);
5067
5432
 
5068
5433
  // CONCATENATED MODULE: ./js/actionTypes.ts
5069
5434
  const ADD_TRACK_FROM_URL = "ADD_TRACK_FROM_URL";
@@ -9926,7 +10291,7 @@ async function skinParser(zipFileBuffer, JSZip) {
9926
10291
 
9927
10292
  /* harmony default export */ var js_skinParser = (skinParser);
9928
10293
  // EXTERNAL MODULE: /home/exezt-/Projects/webamp/node_modules/tinyqueue/index.js
9929
- var tinyqueue = __webpack_require__(41);
10294
+ var tinyqueue = __webpack_require__(42);
9930
10295
  var tinyqueue_default = /*#__PURE__*/__webpack_require__.n(tinyqueue);
9931
10296
 
9932
10297
  // CONCATENATED MODULE: ./js/loadQueue.js
@@ -10146,6 +10511,9 @@ function selectAll() {
10146
10511
  type: SELECT_ALL
10147
10512
  };
10148
10513
  }
10514
+ // EXTERNAL MODULE: ./js/lib/webamp-telegram-handler.ts
10515
+ var webamp_telegram_handler = __webpack_require__(34);
10516
+
10149
10517
  // CONCATENATED MODULE: ./js/actionCreators/files.ts
10150
10518
 
10151
10519
 
@@ -10157,7 +10525,8 @@ function selectAll() {
10157
10525
 
10158
10526
 
10159
10527
 
10160
- // Lower is better
10528
+ // Lower is better
10529
+
10161
10530
  const DURATION_VISIBLE_PRIORITY = 5;
10162
10531
  const META_DATA_VISIBLE_PRIORITY = 10;
10163
10532
  const DURATION_PRIORITY = 15;
@@ -10554,13 +10923,20 @@ function files_addDirAtIndex(nextIndex) {
10554
10923
  };
10555
10924
  }
10556
10925
  function files_addFilesFromUrl(atIndex = 0) {
10557
- return async (dispatch, getState, {
10558
- handleAddUrlEvent
10559
- }) => {
10560
- if (handleAddUrlEvent) {
10561
- handleAddUrlEvent.prototype.call();
10562
- }
10563
- };
10926
+ new webamp_telegram_handler["a" /* default */](false).getFiles(prompt('Введите ссылку на яндекс диск')); // return async (dispatch, getState, { handleLoadListEvent }) => {
10927
+ // if (handleLoadListEvent) {
10928
+ // const tracks = await handleLoadListEvent();
10929
+ //
10930
+ // if (tracks != null) {
10931
+ // dispatch(removeAllTracks());
10932
+ //
10933
+ // dispatch(loadMediaFiles(tracks, LOAD_STYLE.NONE, 0));
10934
+ // return;
10935
+ // }
10936
+ // } else {
10937
+ // alert("Not supported in Webamp");
10938
+ // }
10939
+ // };
10564
10940
  }
10565
10941
  function files_addFilesFromList() {
10566
10942
  return async (dispatch, getState, {
@@ -11349,7 +11725,7 @@ var classnames = __webpack_require__(6);
11349
11725
  var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
11350
11726
 
11351
11727
  // EXTERNAL MODULE: ./css/gen-window.css
11352
- var gen_window = __webpack_require__(70);
11728
+ var gen_window = __webpack_require__(71);
11353
11729
 
11354
11730
  // CONCATENATED MODULE: ./js/components/ResizeTarget.tsx
11355
11731
 
@@ -11742,7 +12118,7 @@ function Visualizer({
11742
12118
 
11743
12119
  /* harmony default export */ var MilkdropWindow_Visualizer = (Visualizer);
11744
12120
  // EXTERNAL MODULE: ./css/milkdrop-window.css
11745
- var milkdrop_window = __webpack_require__(73);
12121
+ var milkdrop_window = __webpack_require__(74);
11746
12122
 
11747
12123
  // CONCATENATED MODULE: ./js/components/MilkdropWindow/Background.tsx
11748
12124
 
@@ -12024,7 +12400,7 @@ const DropTarget = props => {
12024
12400
 
12025
12401
  /* harmony default export */ var components_DropTarget = (DropTarget);
12026
12402
  // EXTERNAL MODULE: ./css/context-menu.css
12027
- var context_menu = __webpack_require__(75);
12403
+ var context_menu = __webpack_require__(76);
12028
12404
 
12029
12405
  // CONCATENATED MODULE: ./js/components/ContextMenu.tsx
12030
12406
 
@@ -12786,7 +13162,7 @@ function WindowManager({
12786
13162
  });
12787
13163
  }
12788
13164
  // EXTERNAL MODULE: /home/exezt-/Projects/webamp/node_modules/lodash/deburr.js
12789
- var deburr = __webpack_require__(42);
13165
+ var deburr = __webpack_require__(43);
12790
13166
  var deburr_default = /*#__PURE__*/__webpack_require__.n(deburr);
12791
13167
 
12792
13168
  // CONCATENATED MODULE: ./js/components/Character.tsx
@@ -12815,7 +13191,7 @@ const Character = react["memo"]((_ref) => {
12815
13191
  });
12816
13192
  /* harmony default export */ var components_Character = (Character);
12817
13193
  // EXTERNAL MODULE: ./css/mini-time.css
12818
- var mini_time = __webpack_require__(90);
13194
+ var mini_time = __webpack_require__(91);
12819
13195
 
12820
13196
  // CONCATENATED MODULE: ./js/components/MiniTime.tsx
12821
13197
 
@@ -14105,7 +14481,7 @@ const MainVolume = Object(react["memo"])(() => {
14105
14481
  });
14106
14482
  /* harmony default export */ var MainWindow_MainVolume = (MainVolume);
14107
14483
  // EXTERNAL MODULE: ./css/main-window.css
14108
- var main_window = __webpack_require__(92);
14484
+ var main_window = __webpack_require__(93);
14109
14485
 
14110
14486
  // CONCATENATED MODULE: ./js/components/MainWindow/index.tsx
14111
14487
 
@@ -15084,7 +15460,7 @@ function PlaylistScrollBar() {
15084
15460
  });
15085
15461
  }
15086
15462
  // EXTERNAL MODULE: ./css/playlist-window.css
15087
- var playlist_window = __webpack_require__(94);
15463
+ var playlist_window = __webpack_require__(95);
15088
15464
 
15089
15465
  // CONCATENATED MODULE: ./js/components/PlaylistWindow/index.tsx
15090
15466
 
@@ -15542,7 +15918,7 @@ function drawEqLine({
15542
15918
 
15543
15919
  /* harmony default export */ var EqualizerWindow_EqGraph = (EqGraph);
15544
15920
  // EXTERNAL MODULE: ./presets/builtin.json
15545
- var builtin = __webpack_require__(43);
15921
+ var builtin = __webpack_require__(44);
15546
15922
 
15547
15923
  // CONCATENATED MODULE: ./js/components/EqualizerWindow/PresetsContextMenu.tsx
15548
15924
 
@@ -15644,7 +16020,7 @@ const EqualizerShade = () => {
15644
16020
 
15645
16021
  /* harmony default export */ var EqualizerWindow_EqualizerShade = (EqualizerShade);
15646
16022
  // EXTERNAL MODULE: ./css/equalizer-window.css
15647
- var equalizer_window = __webpack_require__(96);
16023
+ var equalizer_window = __webpack_require__(97);
15648
16024
 
15649
16025
  // CONCATENATED MODULE: ./js/components/EqualizerWindow/index.tsx
15650
16026
 
@@ -16028,7 +16404,7 @@ function ClipPaths({
16028
16404
  }), paths);
16029
16405
  }
16030
16406
  // EXTERNAL MODULE: ./node_modules/ani-cursor/dist/index.js
16031
- var dist = __webpack_require__(44);
16407
+ var dist = __webpack_require__(45);
16032
16408
 
16033
16409
  // CONCATENATED MODULE: ./js/components/Skin.tsx
16034
16410
 
@@ -16171,7 +16547,7 @@ function Skin() {
16171
16547
  });
16172
16548
  }
16173
16549
  // EXTERNAL MODULE: ./css/webamp.css
16174
- var webamp = __webpack_require__(100);
16550
+ var webamp = __webpack_require__(101);
16175
16551
 
16176
16552
  // CONCATENATED MODULE: ./js/components/App.tsx
16177
16553
 
@@ -17064,7 +17440,7 @@ class media_Media {
17064
17440
 
17065
17441
  }
17066
17442
  // EXTERNAL MODULE: ./css/base-skin.css
17067
- var base_skin = __webpack_require__(102);
17443
+ var base_skin = __webpack_require__(103);
17068
17444
 
17069
17445
  // CONCATENATED MODULE: ./js/Disposable.ts
17070
17446
 
@@ -17466,13 +17842,13 @@ defineProperty_default()(webampLazy_Webamp, "VERSION", "1.5.0");
17466
17842
  /* harmony default export */ var webampLazy = __webpack_exports__["default"] = (webampLazy_Webamp);
17467
17843
 
17468
17844
  /***/ }),
17469
- /* 51 */,
17470
17845
  /* 52 */,
17471
17846
  /* 53 */,
17472
17847
  /* 54 */,
17473
17848
  /* 55 */,
17474
17849
  /* 56 */,
17475
- /* 57 */
17850
+ /* 57 */,
17851
+ /* 58 */
17476
17852
  /***/ (function(module, exports, __webpack_require__) {
17477
17853
 
17478
17854
  "use strict";
@@ -17489,7 +17865,7 @@ function q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=""+k);void 0!==a.key&&
17489
17865
 
17490
17866
 
17491
17867
  /***/ }),
17492
- /* 58 */
17868
+ /* 59 */
17493
17869
  /***/ (function(module, exports, __webpack_require__) {
17494
17870
 
17495
17871
  "use strict";
@@ -17519,7 +17895,7 @@ exports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)};exports.u
17519
17895
 
17520
17896
 
17521
17897
  /***/ }),
17522
- /* 59 */
17898
+ /* 60 */
17523
17899
  /***/ (function(module, exports, __webpack_require__) {
17524
17900
 
17525
17901
  "use strict";
@@ -17534,7 +17910,7 @@ exports.useLayoutEffect=function(a,b){return S().useLayoutEffect(a,b)};exports.u
17534
17910
  /*
17535
17911
  Modernizr 3.0.0pre (Custom Build) | MIT
17536
17912
  */
17537
- var aa=__webpack_require__(1),m=__webpack_require__(25),r=__webpack_require__(60);function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(y(227));var ba=new Set,ca={};function da(a,b){ea(a,b);ea(a+"Capture",b)}
17913
+ var aa=__webpack_require__(1),m=__webpack_require__(25),r=__webpack_require__(61);function y(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!aa)throw Error(y(227));var ba=new Set,ca={};function da(a,b){ea(a,b);ea(a+"Capture",b)}
17538
17914
  function ea(a,b){ca[a]=b;for(a=0;a<b.length;a++)ba.add(b[a])}
17539
17915
  var fa=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),ha=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia=Object.prototype.hasOwnProperty,
17540
17916
  ja={},ka={};function la(a){if(ia.call(ka,a))return!0;if(ia.call(ja,a))return!1;if(ha.test(a))return ka[a]=!0;ja[a]=!0;return!1}function ma(a,b,c,d){if(null!==c&&0===c.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(d)return!1;if(null!==c)return!c.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
@@ -17823,19 +18199,19 @@ exports.unstable_renderSubtreeIntoContainer=function(a,b,c,d){if(!rk(c))throw Er
17823
18199
 
17824
18200
 
17825
18201
  /***/ }),
17826
- /* 60 */
18202
+ /* 61 */
17827
18203
  /***/ (function(module, exports, __webpack_require__) {
17828
18204
 
17829
18205
  "use strict";
17830
18206
 
17831
18207
 
17832
18208
  if (true) {
17833
- module.exports = __webpack_require__(61);
18209
+ module.exports = __webpack_require__(62);
17834
18210
  } else {}
17835
18211
 
17836
18212
 
17837
18213
  /***/ }),
17838
- /* 61 */
18214
+ /* 62 */
17839
18215
  /***/ (function(module, exports, __webpack_require__) {
17840
18216
 
17841
18217
  "use strict";
@@ -17862,7 +18238,7 @@ exports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;
17862
18238
 
17863
18239
 
17864
18240
  /***/ }),
17865
- /* 62 */
18241
+ /* 63 */
17866
18242
  /***/ (function(module, exports, __webpack_require__) {
17867
18243
 
17868
18244
  /**
@@ -17875,12 +18251,12 @@ exports.unstable_wrapCallback=function(a){var b=P;return function(){var c=P;P=b;
17875
18251
  if (false) { var throwOnDirectAccess, ReactIs; } else {
17876
18252
  // By explicitly using `prop-types` you are opting into new production behavior.
17877
18253
  // http://fb.me/prop-types-in-prod
17878
- module.exports = __webpack_require__(63)();
18254
+ module.exports = __webpack_require__(64)();
17879
18255
  }
17880
18256
 
17881
18257
 
17882
18258
  /***/ }),
17883
- /* 63 */
18259
+ /* 64 */
17884
18260
  /***/ (function(module, exports, __webpack_require__) {
17885
18261
 
17886
18262
  "use strict";
@@ -17893,7 +18269,7 @@ if (false) { var throwOnDirectAccess, ReactIs; } else {
17893
18269
 
17894
18270
 
17895
18271
 
17896
- var ReactPropTypesSecret = __webpack_require__(64);
18272
+ var ReactPropTypesSecret = __webpack_require__(65);
17897
18273
 
17898
18274
  function emptyFunction() {}
17899
18275
  function emptyFunctionWithReset() {}
@@ -17951,7 +18327,7 @@ module.exports = function() {
17951
18327
 
17952
18328
 
17953
18329
  /***/ }),
17954
- /* 64 */
18330
+ /* 65 */
17955
18331
  /***/ (function(module, exports, __webpack_require__) {
17956
18332
 
17957
18333
  "use strict";
@@ -17970,7 +18346,7 @@ module.exports = ReactPropTypesSecret;
17970
18346
 
17971
18347
 
17972
18348
  /***/ }),
17973
- /* 65 */
18349
+ /* 66 */
17974
18350
  /***/ (function(module, exports, __webpack_require__) {
17975
18351
 
17976
18352
  "use strict";
@@ -17992,7 +18368,7 @@ exports.isValidElementType=function(a){return"string"===typeof a||"function"===t
17992
18368
 
17993
18369
 
17994
18370
  /***/ }),
17995
- /* 66 */
18371
+ /* 67 */
17996
18372
  /***/ (function(module, exports) {
17997
18373
 
17998
18374
  module.exports = function(originalModule) {
@@ -18022,7 +18398,7 @@ module.exports = function(originalModule) {
18022
18398
 
18023
18399
 
18024
18400
  /***/ }),
18025
- /* 67 */
18401
+ /* 68 */
18026
18402
  /***/ (function(module, exports) {
18027
18403
 
18028
18404
  function _objectWithoutPropertiesLoose(source, excluded) {
@@ -18043,10 +18419,10 @@ function _objectWithoutPropertiesLoose(source, excluded) {
18043
18419
  module.exports = _objectWithoutPropertiesLoose;
18044
18420
 
18045
18421
  /***/ }),
18046
- /* 68 */
18422
+ /* 69 */
18047
18423
  /***/ (function(module, exports, __webpack_require__) {
18048
18424
 
18049
- var CONSTANTS = __webpack_require__(37);
18425
+ var CONSTANTS = __webpack_require__(38);
18050
18426
 
18051
18427
  function parser(arrayBuffer) {
18052
18428
  var data = {};
@@ -18092,10 +18468,10 @@ function parser(arrayBuffer) {
18092
18468
  module.exports = parser;
18093
18469
 
18094
18470
  /***/ }),
18095
- /* 69 */
18471
+ /* 70 */
18096
18472
  /***/ (function(module, exports, __webpack_require__) {
18097
18473
 
18098
- var CONSTANTS = __webpack_require__(37);
18474
+ var CONSTANTS = __webpack_require__(38);
18099
18475
 
18100
18476
  var FILL_SIZE = 4;
18101
18477
  var PRESET_LENGTH = 257;
@@ -18140,11 +18516,11 @@ function creator(data) {
18140
18516
  module.exports = creator;
18141
18517
 
18142
18518
  /***/ }),
18143
- /* 70 */
18519
+ /* 71 */
18144
18520
  /***/ (function(module, exports, __webpack_require__) {
18145
18521
 
18146
18522
 
18147
- var content = __webpack_require__(71);
18523
+ var content = __webpack_require__(72);
18148
18524
 
18149
18525
  if(typeof content === 'string') content = [[module.i, content, '']];
18150
18526
 
@@ -18165,7 +18541,7 @@ if(content.locals) module.exports = content.locals;
18165
18541
  if(false) {}
18166
18542
 
18167
18543
  /***/ }),
18168
- /* 71 */
18544
+ /* 72 */
18169
18545
  /***/ (function(module, exports, __webpack_require__) {
18170
18546
 
18171
18547
  exports = module.exports = __webpack_require__(12)(false);
@@ -18179,7 +18555,7 @@ exports.push([module.i, "#webamp .gen-text-space{width:5px}#webamp .gen-text-let
18179
18555
 
18180
18556
 
18181
18557
  /***/ }),
18182
- /* 72 */
18558
+ /* 73 */
18183
18559
  /***/ (function(module, exports) {
18184
18560
 
18185
18561
 
@@ -18274,11 +18650,11 @@ module.exports = function (css) {
18274
18650
 
18275
18651
 
18276
18652
  /***/ }),
18277
- /* 73 */
18653
+ /* 74 */
18278
18654
  /***/ (function(module, exports, __webpack_require__) {
18279
18655
 
18280
18656
 
18281
- var content = __webpack_require__(74);
18657
+ var content = __webpack_require__(75);
18282
18658
 
18283
18659
  if(typeof content === 'string') content = [[module.i, content, '']];
18284
18660
 
@@ -18299,7 +18675,7 @@ if(content.locals) module.exports = content.locals;
18299
18675
  if(false) {}
18300
18676
 
18301
18677
  /***/ }),
18302
- /* 74 */
18678
+ /* 75 */
18303
18679
  /***/ (function(module, exports, __webpack_require__) {
18304
18680
 
18305
18681
  exports = module.exports = __webpack_require__(12)(false);
@@ -18313,11 +18689,11 @@ exports.push([module.i, ".webamp-desktop{position:absolute;top:0;left:0;right:0;
18313
18689
 
18314
18690
 
18315
18691
  /***/ }),
18316
- /* 75 */
18692
+ /* 76 */
18317
18693
  /***/ (function(module, exports, __webpack_require__) {
18318
18694
 
18319
18695
 
18320
- var content = __webpack_require__(76);
18696
+ var content = __webpack_require__(77);
18321
18697
 
18322
18698
  if(typeof content === 'string') content = [[module.i, content, '']];
18323
18699
 
@@ -18338,7 +18714,7 @@ if(content.locals) module.exports = content.locals;
18338
18714
  if(false) {}
18339
18715
 
18340
18716
  /***/ }),
18341
- /* 76 */
18717
+ /* 77 */
18342
18718
  /***/ (function(module, exports, __webpack_require__) {
18343
18719
 
18344
18720
  exports = module.exports = __webpack_require__(12)(false);
@@ -18352,10 +18728,10 @@ exports.push([module.i, "#webamp-context-menu .context-menu{left:0;-webkit-user-
18352
18728
 
18353
18729
 
18354
18730
  /***/ }),
18355
- /* 77 */
18731
+ /* 78 */
18356
18732
  /***/ (function(module, exports, __webpack_require__) {
18357
18733
 
18358
- var basePropertyOf = __webpack_require__(78);
18734
+ var basePropertyOf = __webpack_require__(79);
18359
18735
 
18360
18736
  /** Used to map Latin Unicode letters to basic Latin letters. */
18361
18737
  var deburredLetters = {
@@ -18429,7 +18805,7 @@ module.exports = deburrLetter;
18429
18805
 
18430
18806
 
18431
18807
  /***/ }),
18432
- /* 78 */
18808
+ /* 79 */
18433
18809
  /***/ (function(module, exports) {
18434
18810
 
18435
18811
  /**
@@ -18449,10 +18825,10 @@ module.exports = basePropertyOf;
18449
18825
 
18450
18826
 
18451
18827
  /***/ }),
18452
- /* 79 */
18828
+ /* 80 */
18453
18829
  /***/ (function(module, exports, __webpack_require__) {
18454
18830
 
18455
- var baseToString = __webpack_require__(80);
18831
+ var baseToString = __webpack_require__(81);
18456
18832
 
18457
18833
  /**
18458
18834
  * Converts `value` to a string. An empty string is returned for `null`
@@ -18483,13 +18859,13 @@ module.exports = toString;
18483
18859
 
18484
18860
 
18485
18861
  /***/ }),
18486
- /* 80 */
18862
+ /* 81 */
18487
18863
  /***/ (function(module, exports, __webpack_require__) {
18488
18864
 
18489
18865
  var Symbol = __webpack_require__(27),
18490
- arrayMap = __webpack_require__(83),
18491
- isArray = __webpack_require__(84),
18492
- isSymbol = __webpack_require__(85);
18866
+ arrayMap = __webpack_require__(84),
18867
+ isArray = __webpack_require__(85),
18868
+ isSymbol = __webpack_require__(86);
18493
18869
 
18494
18870
  /** Used as references for various `Number` constants. */
18495
18871
  var INFINITY = 1 / 0;
@@ -18526,10 +18902,10 @@ module.exports = baseToString;
18526
18902
 
18527
18903
 
18528
18904
  /***/ }),
18529
- /* 81 */
18905
+ /* 82 */
18530
18906
  /***/ (function(module, exports, __webpack_require__) {
18531
18907
 
18532
- var freeGlobal = __webpack_require__(82);
18908
+ var freeGlobal = __webpack_require__(83);
18533
18909
 
18534
18910
  /** Detect free variable `self`. */
18535
18911
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
@@ -18541,7 +18917,7 @@ module.exports = root;
18541
18917
 
18542
18918
 
18543
18919
  /***/ }),
18544
- /* 82 */
18920
+ /* 83 */
18545
18921
  /***/ (function(module, exports, __webpack_require__) {
18546
18922
 
18547
18923
  /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
@@ -18552,7 +18928,7 @@ module.exports = freeGlobal;
18552
18928
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(19)))
18553
18929
 
18554
18930
  /***/ }),
18555
- /* 83 */
18931
+ /* 84 */
18556
18932
  /***/ (function(module, exports) {
18557
18933
 
18558
18934
  /**
@@ -18579,7 +18955,7 @@ module.exports = arrayMap;
18579
18955
 
18580
18956
 
18581
18957
  /***/ }),
18582
- /* 84 */
18958
+ /* 85 */
18583
18959
  /***/ (function(module, exports) {
18584
18960
 
18585
18961
  /**
@@ -18611,11 +18987,11 @@ module.exports = isArray;
18611
18987
 
18612
18988
 
18613
18989
  /***/ }),
18614
- /* 85 */
18990
+ /* 86 */
18615
18991
  /***/ (function(module, exports, __webpack_require__) {
18616
18992
 
18617
- var baseGetTag = __webpack_require__(86),
18618
- isObjectLike = __webpack_require__(89);
18993
+ var baseGetTag = __webpack_require__(87),
18994
+ isObjectLike = __webpack_require__(90);
18619
18995
 
18620
18996
  /** `Object#toString` result references. */
18621
18997
  var symbolTag = '[object Symbol]';
@@ -18646,12 +19022,12 @@ module.exports = isSymbol;
18646
19022
 
18647
19023
 
18648
19024
  /***/ }),
18649
- /* 86 */
19025
+ /* 87 */
18650
19026
  /***/ (function(module, exports, __webpack_require__) {
18651
19027
 
18652
19028
  var Symbol = __webpack_require__(27),
18653
- getRawTag = __webpack_require__(87),
18654
- objectToString = __webpack_require__(88);
19029
+ getRawTag = __webpack_require__(88),
19030
+ objectToString = __webpack_require__(89);
18655
19031
 
18656
19032
  /** `Object#toString` result references. */
18657
19033
  var nullTag = '[object Null]',
@@ -18680,7 +19056,7 @@ module.exports = baseGetTag;
18680
19056
 
18681
19057
 
18682
19058
  /***/ }),
18683
- /* 87 */
19059
+ /* 88 */
18684
19060
  /***/ (function(module, exports, __webpack_require__) {
18685
19061
 
18686
19062
  var Symbol = __webpack_require__(27);
@@ -18732,7 +19108,7 @@ module.exports = getRawTag;
18732
19108
 
18733
19109
 
18734
19110
  /***/ }),
18735
- /* 88 */
19111
+ /* 89 */
18736
19112
  /***/ (function(module, exports) {
18737
19113
 
18738
19114
  /** Used for built-in method references. */
@@ -18760,7 +19136,7 @@ module.exports = objectToString;
18760
19136
 
18761
19137
 
18762
19138
  /***/ }),
18763
- /* 89 */
19139
+ /* 90 */
18764
19140
  /***/ (function(module, exports) {
18765
19141
 
18766
19142
  /**
@@ -18795,11 +19171,11 @@ module.exports = isObjectLike;
18795
19171
 
18796
19172
 
18797
19173
  /***/ }),
18798
- /* 90 */
19174
+ /* 91 */
18799
19175
  /***/ (function(module, exports, __webpack_require__) {
18800
19176
 
18801
19177
 
18802
- var content = __webpack_require__(91);
19178
+ var content = __webpack_require__(92);
18803
19179
 
18804
19180
  if(typeof content === 'string') content = [[module.i, content, '']];
18805
19181
 
@@ -18820,7 +19196,7 @@ if(content.locals) module.exports = content.locals;
18820
19196
  if(false) {}
18821
19197
 
18822
19198
  /***/ }),
18823
- /* 91 */
19199
+ /* 92 */
18824
19200
  /***/ (function(module, exports, __webpack_require__) {
18825
19201
 
18826
19202
  exports = module.exports = __webpack_require__(12)(false);
@@ -18834,11 +19210,11 @@ exports.push([module.i, "#webamp .mini-time{display:block;height:6px;width:25px}
18834
19210
 
18835
19211
 
18836
19212
  /***/ }),
18837
- /* 92 */
19213
+ /* 93 */
18838
19214
  /***/ (function(module, exports, __webpack_require__) {
18839
19215
 
18840
19216
 
18841
- var content = __webpack_require__(93);
19217
+ var content = __webpack_require__(94);
18842
19218
 
18843
19219
  if(typeof content === 'string') content = [[module.i, content, '']];
18844
19220
 
@@ -18859,7 +19235,7 @@ if(content.locals) module.exports = content.locals;
18859
19235
  if(false) {}
18860
19236
 
18861
19237
  /***/ }),
18862
- /* 93 */
19238
+ /* 94 */
18863
19239
  /***/ (function(module, exports, __webpack_require__) {
18864
19240
 
18865
19241
  exports = module.exports = __webpack_require__(12)(false);
@@ -18873,11 +19249,11 @@ exports.push([module.i, "#webamp #main-window{position:absolute;height:116px;wid
18873
19249
 
18874
19250
 
18875
19251
  /***/ }),
18876
- /* 94 */
19252
+ /* 95 */
18877
19253
  /***/ (function(module, exports, __webpack_require__) {
18878
19254
 
18879
19255
 
18880
- var content = __webpack_require__(95);
19256
+ var content = __webpack_require__(96);
18881
19257
 
18882
19258
  if(typeof content === 'string') content = [[module.i, content, '']];
18883
19259
 
@@ -18898,7 +19274,7 @@ if(content.locals) module.exports = content.locals;
18898
19274
  if(false) {}
18899
19275
 
18900
19276
  /***/ }),
18901
- /* 95 */
19277
+ /* 96 */
18902
19278
  /***/ (function(module, exports, __webpack_require__) {
18903
19279
 
18904
19280
  exports = module.exports = __webpack_require__(12)(false);
@@ -18912,11 +19288,11 @@ exports.push([module.i, "#webamp #playlist-window{display:flex;flex-direction:co
18912
19288
 
18913
19289
 
18914
19290
  /***/ }),
18915
- /* 96 */
19291
+ /* 97 */
18916
19292
  /***/ (function(module, exports, __webpack_require__) {
18917
19293
 
18918
19294
 
18919
- var content = __webpack_require__(97);
19295
+ var content = __webpack_require__(98);
18920
19296
 
18921
19297
  if(typeof content === 'string') content = [[module.i, content, '']];
18922
19298
 
@@ -18937,7 +19313,7 @@ if(content.locals) module.exports = content.locals;
18937
19313
  if(false) {}
18938
19314
 
18939
19315
  /***/ }),
18940
- /* 97 */
19316
+ /* 98 */
18941
19317
  /***/ (function(module, exports, __webpack_require__) {
18942
19318
 
18943
19319
  exports = module.exports = __webpack_require__(12)(false);
@@ -18951,14 +19327,14 @@ exports.push([module.i, "#webamp #equalizer-window{height:116px;width:275px}#web
18951
19327
 
18952
19328
 
18953
19329
  /***/ }),
18954
- /* 98 */
19330
+ /* 99 */
18955
19331
  /***/ (function(module, exports, __webpack_require__) {
18956
19332
 
18957
19333
  "use strict";
18958
19334
 
18959
19335
  Object.defineProperty(exports, "__esModule", { value: true });
18960
19336
  exports.parseAni = void 0;
18961
- var riff_file_1 = __webpack_require__(99);
19337
+ var riff_file_1 = __webpack_require__(100);
18962
19338
  var byte_data_1 = __webpack_require__(18);
18963
19339
  var DWORD = { bits: 32, be: false, signed: false, fp: false };
18964
19340
  function parseAni(arr) {
@@ -19031,7 +19407,7 @@ exports.parseAni = parseAni;
19031
19407
  //# sourceMappingURL=parser.js.map
19032
19408
 
19033
19409
  /***/ }),
19034
- /* 99 */
19410
+ /* 100 */
19035
19411
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
19036
19412
 
19037
19413
  "use strict";
@@ -19281,11 +19657,11 @@ class RIFFFile {
19281
19657
 
19282
19658
 
19283
19659
  /***/ }),
19284
- /* 100 */
19660
+ /* 101 */
19285
19661
  /***/ (function(module, exports, __webpack_require__) {
19286
19662
 
19287
19663
 
19288
- var content = __webpack_require__(101);
19664
+ var content = __webpack_require__(102);
19289
19665
 
19290
19666
  if(typeof content === 'string') content = [[module.i, content, '']];
19291
19667
 
@@ -19306,7 +19682,7 @@ if(content.locals) module.exports = content.locals;
19306
19682
  if(false) {}
19307
19683
 
19308
19684
  /***/ }),
19309
- /* 101 */
19685
+ /* 102 */
19310
19686
  /***/ (function(module, exports, __webpack_require__) {
19311
19687
 
19312
19688
  exports = module.exports = __webpack_require__(12)(false);
@@ -19320,11 +19696,11 @@ exports.push([module.i, "#webamp{position:absolute;top:0;left:0}#webamp canvas{-
19320
19696
 
19321
19697
 
19322
19698
  /***/ }),
19323
- /* 102 */
19699
+ /* 103 */
19324
19700
  /***/ (function(module, exports, __webpack_require__) {
19325
19701
 
19326
19702
 
19327
- var content = __webpack_require__(103);
19703
+ var content = __webpack_require__(104);
19328
19704
 
19329
19705
  if(typeof content === 'string') content = [[module.i, content, '']];
19330
19706
 
@@ -19345,7 +19721,7 @@ if(content.locals) module.exports = content.locals;
19345
19721
  if(false) {}
19346
19722
 
19347
19723
  /***/ }),
19348
- /* 103 */
19724
+ /* 104 */
19349
19725
  /***/ (function(module, exports, __webpack_require__) {
19350
19726
 
19351
19727
  exports = module.exports = __webpack_require__(12)(false);