new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"applyMixins.js","sources":["../../../src/internal/util/applyMixins.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,WAAW,CAAC,WAAgB,EAAE,SAAgB;IAC5D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QACpD,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC9B,MAAM,YAAY,GAAG,MAAM,CAAC,mBAAmB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QACpE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE;YACzD,MAAM,IAAI,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC;YAC7B,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;SACxD;KACF;AACH,CAAC"}
|
||||
@@ -0,0 +1,13 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
var ArgumentOutOfRangeErrorImpl = /*@__PURE__*/ (function () {
|
||||
function ArgumentOutOfRangeErrorImpl() {
|
||||
Error.call(this);
|
||||
this.message = 'argument out of range';
|
||||
this.name = 'ArgumentOutOfRangeError';
|
||||
return this;
|
||||
}
|
||||
ArgumentOutOfRangeErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);
|
||||
return ArgumentOutOfRangeErrorImpl;
|
||||
})();
|
||||
export var ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;
|
||||
//# sourceMappingURL=ArgumentOutOfRangeError.js.map
|
||||
@@ -0,0 +1,16 @@
|
||||
import { SubscribeOnObservable } from '../observable/SubscribeOnObservable';
|
||||
export function subscribeOn(scheduler, delay = 0) {
|
||||
return function subscribeOnOperatorFunction(source) {
|
||||
return source.lift(new SubscribeOnOperator(scheduler, delay));
|
||||
};
|
||||
}
|
||||
class SubscribeOnOperator {
|
||||
constructor(scheduler, delay) {
|
||||
this.scheduler = scheduler;
|
||||
this.delay = delay;
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return new SubscribeOnObservable(source, this.delay, this.scheduler).subscribe(subscriber);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=subscribeOn.js.map
|
||||
@@ -0,0 +1,33 @@
|
||||
/** PURE_IMPORTS_START _Observable,_from,_empty PURE_IMPORTS_END */
|
||||
import { Observable } from '../Observable';
|
||||
import { from } from './from';
|
||||
import { EMPTY } from './empty';
|
||||
export function using(resourceFactory, observableFactory) {
|
||||
return new Observable(function (subscriber) {
|
||||
var resource;
|
||||
try {
|
||||
resource = resourceFactory();
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
var result;
|
||||
try {
|
||||
result = observableFactory(resource);
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
var source = result ? from(result) : EMPTY;
|
||||
var subscription = source.subscribe(subscriber);
|
||||
return function () {
|
||||
subscription.unsubscribe();
|
||||
if (resource) {
|
||||
resource.unsubscribe();
|
||||
}
|
||||
};
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=using.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"G A B","2":"J E F BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC"},E:{"1":"J E F G A B C K L H HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I GC zB","16":"u"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d qB 9B SC rB","2":"G OC PC QC RC"},G:{"1":"F TC AC UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","16":"zB"},H:{"1":"nC"},I:{"1":"tB I D qC rC AC sC tC","16":"oC pC"},J:{"1":"E A"},K:{"1":"B C e qB 9B rB","2":"A"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:1,C:"document.head"};
|
||||
@@ -0,0 +1,140 @@
|
||||
/** PURE_IMPORTS_START _util_isArray,_util_isObject,_util_isFunction,_util_UnsubscriptionError PURE_IMPORTS_END */
|
||||
import { isArray } from './util/isArray';
|
||||
import { isObject } from './util/isObject';
|
||||
import { isFunction } from './util/isFunction';
|
||||
import { UnsubscriptionError } from './util/UnsubscriptionError';
|
||||
var Subscription = /*@__PURE__*/ (function () {
|
||||
function Subscription(unsubscribe) {
|
||||
this.closed = false;
|
||||
this._parentOrParents = null;
|
||||
this._subscriptions = null;
|
||||
if (unsubscribe) {
|
||||
this._ctorUnsubscribe = true;
|
||||
this._unsubscribe = unsubscribe;
|
||||
}
|
||||
}
|
||||
Subscription.prototype.unsubscribe = function () {
|
||||
var errors;
|
||||
if (this.closed) {
|
||||
return;
|
||||
}
|
||||
var _a = this, _parentOrParents = _a._parentOrParents, _ctorUnsubscribe = _a._ctorUnsubscribe, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;
|
||||
this.closed = true;
|
||||
this._parentOrParents = null;
|
||||
this._subscriptions = null;
|
||||
if (_parentOrParents instanceof Subscription) {
|
||||
_parentOrParents.remove(this);
|
||||
}
|
||||
else if (_parentOrParents !== null) {
|
||||
for (var index = 0; index < _parentOrParents.length; ++index) {
|
||||
var parent_1 = _parentOrParents[index];
|
||||
parent_1.remove(this);
|
||||
}
|
||||
}
|
||||
if (isFunction(_unsubscribe)) {
|
||||
if (_ctorUnsubscribe) {
|
||||
this._unsubscribe = undefined;
|
||||
}
|
||||
try {
|
||||
_unsubscribe.call(this);
|
||||
}
|
||||
catch (e) {
|
||||
errors = e instanceof UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];
|
||||
}
|
||||
}
|
||||
if (isArray(_subscriptions)) {
|
||||
var index = -1;
|
||||
var len = _subscriptions.length;
|
||||
while (++index < len) {
|
||||
var sub = _subscriptions[index];
|
||||
if (isObject(sub)) {
|
||||
try {
|
||||
sub.unsubscribe();
|
||||
}
|
||||
catch (e) {
|
||||
errors = errors || [];
|
||||
if (e instanceof UnsubscriptionError) {
|
||||
errors = errors.concat(flattenUnsubscriptionErrors(e.errors));
|
||||
}
|
||||
else {
|
||||
errors.push(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (errors) {
|
||||
throw new UnsubscriptionError(errors);
|
||||
}
|
||||
};
|
||||
Subscription.prototype.add = function (teardown) {
|
||||
var subscription = teardown;
|
||||
if (!teardown) {
|
||||
return Subscription.EMPTY;
|
||||
}
|
||||
switch (typeof teardown) {
|
||||
case 'function':
|
||||
subscription = new Subscription(teardown);
|
||||
case 'object':
|
||||
if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {
|
||||
return subscription;
|
||||
}
|
||||
else if (this.closed) {
|
||||
subscription.unsubscribe();
|
||||
return subscription;
|
||||
}
|
||||
else if (!(subscription instanceof Subscription)) {
|
||||
var tmp = subscription;
|
||||
subscription = new Subscription();
|
||||
subscription._subscriptions = [tmp];
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');
|
||||
}
|
||||
}
|
||||
var _parentOrParents = subscription._parentOrParents;
|
||||
if (_parentOrParents === null) {
|
||||
subscription._parentOrParents = this;
|
||||
}
|
||||
else if (_parentOrParents instanceof Subscription) {
|
||||
if (_parentOrParents === this) {
|
||||
return subscription;
|
||||
}
|
||||
subscription._parentOrParents = [_parentOrParents, this];
|
||||
}
|
||||
else if (_parentOrParents.indexOf(this) === -1) {
|
||||
_parentOrParents.push(this);
|
||||
}
|
||||
else {
|
||||
return subscription;
|
||||
}
|
||||
var subscriptions = this._subscriptions;
|
||||
if (subscriptions === null) {
|
||||
this._subscriptions = [subscription];
|
||||
}
|
||||
else {
|
||||
subscriptions.push(subscription);
|
||||
}
|
||||
return subscription;
|
||||
};
|
||||
Subscription.prototype.remove = function (subscription) {
|
||||
var subscriptions = this._subscriptions;
|
||||
if (subscriptions) {
|
||||
var subscriptionIndex = subscriptions.indexOf(subscription);
|
||||
if (subscriptionIndex !== -1) {
|
||||
subscriptions.splice(subscriptionIndex, 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
Subscription.EMPTY = (function (empty) {
|
||||
empty.closed = true;
|
||||
return empty;
|
||||
}(new Subscription()));
|
||||
return Subscription;
|
||||
}());
|
||||
export { Subscription };
|
||||
function flattenUnsubscriptionErrors(errors) {
|
||||
return errors.reduce(function (errs, err) { return errs.concat((err instanceof UnsubscriptionError) ? err.errors : err); }, []);
|
||||
}
|
||||
//# sourceMappingURL=Subscription.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F BC","260":"G A B"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB I u J E F G A B C K L DC EC"},D:{"1":"QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB","132":"CB DB EB FB GB HB IB JB KB LB MB NB OB PB"},E:{"1":"C K L H qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E G A B GC zB HC IC KC 0B","132":"F JC"},F:{"1":"DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d rB","2":"H M N O v w x y","4":"B C PC QC RC qB 9B SC","16":"G OC","132":"0 1 2 3 4 5 6 7 8 9 z AB BB CB"},G:{"1":"dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC VC WC YC ZC aC bC cC","132":"F XC"},H:{"1":"nC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"2":"E","132":"A"},K:{"1":"e rB","4":"A B C qB 9B"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C","132":"I"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:4,C:"SVG fragment identifiers"};
|
||||
@@ -0,0 +1,19 @@
|
||||
/** PURE_IMPORTS_START PURE_IMPORTS_END */
|
||||
var _enable_super_gross_mode_that_will_cause_bad_things = false;
|
||||
export var config = {
|
||||
Promise: undefined,
|
||||
set useDeprecatedSynchronousErrorHandling(value) {
|
||||
if (value) {
|
||||
var error = /*@__PURE__*/ new Error();
|
||||
/*@__PURE__*/ console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
|
||||
}
|
||||
else if (_enable_super_gross_mode_that_will_cause_bad_things) {
|
||||
/*@__PURE__*/ console.log('RxJS: Back to a better error behavior. Thank you. <3');
|
||||
}
|
||||
_enable_super_gross_mode_that_will_cause_bad_things = value;
|
||||
},
|
||||
get useDeprecatedSynchronousErrorHandling() {
|
||||
return _enable_super_gross_mode_that_will_cause_bad_things;
|
||||
},
|
||||
};
|
||||
//# sourceMappingURL=config.js.map
|
||||
@@ -0,0 +1,2 @@
|
||||
'use strict';
|
||||
module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);
|
||||
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Subject_1 = require("../Subject");
|
||||
var multicast_1 = require("./multicast");
|
||||
function publish(selector) {
|
||||
return selector ?
|
||||
multicast_1.multicast(function () { return new Subject_1.Subject(); }, selector) :
|
||||
multicast_1.multicast(new Subject_1.Subject());
|
||||
}
|
||||
exports.publish = publish;
|
||||
//# sourceMappingURL=publish.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"min.js","sources":["../../src/add/operator/min.ts"],"names":[],"mappings":";;AAAA,wCAAsC"}
|
||||
@@ -0,0 +1,71 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Observable_1 = require("../Observable");
|
||||
var isArray_1 = require("../util/isArray");
|
||||
var map_1 = require("../operators/map");
|
||||
var isObject_1 = require("../util/isObject");
|
||||
var from_1 = require("./from");
|
||||
function forkJoin() {
|
||||
var sources = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
sources[_i] = arguments[_i];
|
||||
}
|
||||
if (sources.length === 1) {
|
||||
var first_1 = sources[0];
|
||||
if (isArray_1.isArray(first_1)) {
|
||||
return forkJoinInternal(first_1, null);
|
||||
}
|
||||
if (isObject_1.isObject(first_1) && Object.getPrototypeOf(first_1) === Object.prototype) {
|
||||
var keys = Object.keys(first_1);
|
||||
return forkJoinInternal(keys.map(function (key) { return first_1[key]; }), keys);
|
||||
}
|
||||
}
|
||||
if (typeof sources[sources.length - 1] === 'function') {
|
||||
var resultSelector_1 = sources.pop();
|
||||
sources = (sources.length === 1 && isArray_1.isArray(sources[0])) ? sources[0] : sources;
|
||||
return forkJoinInternal(sources, null).pipe(map_1.map(function (args) { return resultSelector_1.apply(void 0, args); }));
|
||||
}
|
||||
return forkJoinInternal(sources, null);
|
||||
}
|
||||
exports.forkJoin = forkJoin;
|
||||
function forkJoinInternal(sources, keys) {
|
||||
return new Observable_1.Observable(function (subscriber) {
|
||||
var len = sources.length;
|
||||
if (len === 0) {
|
||||
subscriber.complete();
|
||||
return;
|
||||
}
|
||||
var values = new Array(len);
|
||||
var completed = 0;
|
||||
var emitted = 0;
|
||||
var _loop_1 = function (i) {
|
||||
var source = from_1.from(sources[i]);
|
||||
var hasValue = false;
|
||||
subscriber.add(source.subscribe({
|
||||
next: function (value) {
|
||||
if (!hasValue) {
|
||||
hasValue = true;
|
||||
emitted++;
|
||||
}
|
||||
values[i] = value;
|
||||
},
|
||||
error: function (err) { return subscriber.error(err); },
|
||||
complete: function () {
|
||||
completed++;
|
||||
if (completed === len || !hasValue) {
|
||||
if (emitted === len) {
|
||||
subscriber.next(keys ?
|
||||
keys.reduce(function (result, key, i) { return (result[key] = values[i], result); }, {}) :
|
||||
values);
|
||||
}
|
||||
subscriber.complete();
|
||||
}
|
||||
}
|
||||
}));
|
||||
};
|
||||
for (var i = 0; i < len; i++) {
|
||||
_loop_1(i);
|
||||
}
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=forkJoin.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.00814,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0.00814,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.00271,"79":0,"80":0.00271,"81":0,"82":0.00543,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0.00271,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0.00271,"99":0.00271,"100":0,"101":0,"102":0.00543,"103":0,"104":0.00271,"105":0,"106":0,"107":0.00271,"108":0.16013,"109":0.18727,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.00271,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00271,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0.00271,"65":0.00814,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00271,"74":0.00271,"75":0.00271,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0.01357,"83":0.00814,"84":0,"85":0,"86":0,"87":0.019,"88":0,"89":0.00271,"90":0.00271,"91":0.00271,"92":0.00271,"93":0.00271,"94":0,"95":0.00271,"96":0,"97":0.00271,"98":0.00271,"99":0.00814,"100":0.00271,"101":0.00543,"102":0.00271,"103":0.02171,"104":0.01086,"105":0.00543,"106":0.019,"107":0.038,"108":2.71671,"109":2.39103,"110":0.00271,"111":0.00271,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00271,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0.00271,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.01086,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.10313,"94":0.10585,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0.00271,"17":0,"18":0.00271,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00271,"93":0,"94":0,"95":0,"96":0,"97":0.00543,"98":0,"99":0,"100":0,"101":0,"102":0.00271,"103":0,"104":0,"105":0,"106":0.01086,"107":0.00814,"108":0.24697,"109":0.19269},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.00271,"14":0.01086,"15":0.00271,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00543,"13.1":0.019,"14.1":0.02985,"15.1":0.00543,"15.2-15.3":0.02443,"15.4":0.01628,"15.5":0.038,"15.6":0.09228,"16.0":0.03528,"16.1":0.09228,"16.2":0.08142,"16.3":0.01086},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0.00315,"9.3":0.02517,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0.00629,"12.0-12.1":0.00629,"12.2-12.5":0.20765,"13.0-13.1":0.00315,"13.2":0,"13.3":0.01888,"13.4-13.7":0.05663,"14.0-14.4":0.1699,"14.5-14.8":0.50341,"15.0-15.1":0.20765,"15.2-15.3":0.35553,"15.4":0.34924,"15.5":0.6387,"15.6":2.52647,"16.0":6.42471,"16.1":9.313,"16.2":8.12056,"16.3":0.78657},P:{"4":0.0211,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.05276,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0,"12.0":0.01055,"13.0":0.01055,"14.0":0.0211,"15.0":0.01055,"16.0":0.04221,"17.0":0.0211,"18.0":0.06331,"19.0":1.27681},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.09814},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.19672},Q:{"13.1":0},O:{"0":0.57559},H:{"0":0.58632},L:{"0":59.51461},S:{"2.5":0}};
|
||||
@@ -0,0 +1,170 @@
|
||||
// Type definitions for html-minifier 4.0
|
||||
// Project: https://github.com/kangax/html-minifier, https://kangax.github.io/html-minifier
|
||||
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
|
||||
// Riku <https://github.com/rikuayanokozy>
|
||||
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import * as UglifyJS from 'uglify-js';
|
||||
import * as CleanCSS from 'clean-css';
|
||||
import * as RelateUrl from 'relateurl';
|
||||
|
||||
export function minify(text: string, options?: Options): string;
|
||||
|
||||
export interface Options {
|
||||
// Treat attributes in case sensitive manner (useful for custom HTML tags)
|
||||
caseSensitive?: boolean;
|
||||
|
||||
// Omit attribute values from boolean attributes
|
||||
collapseBooleanAttributes?: boolean;
|
||||
|
||||
// Don't leave any spaces between display:inline; elements when collapsing. Must be used in conjunction with collapseWhitespace=true
|
||||
collapseInlineTagWhitespace?: boolean;
|
||||
|
||||
/**
|
||||
* Collapse white space that contributes to text nodes in a document tree
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#collapse_whitespace
|
||||
*/
|
||||
collapseWhitespace?: boolean;
|
||||
|
||||
// Always collapse to 1 space (never remove it entirely). Must be used in conjunction with collapseWhitespace=true
|
||||
conservativeCollapse?: boolean;
|
||||
/**
|
||||
* Handle parse errors instead of aborting
|
||||
* @default false
|
||||
*/
|
||||
continueOnParseError?: boolean;
|
||||
|
||||
// Arrays of regex'es that allow to support custom attribute assign expressions (e.g. '<div flex?="{{mode != cover}}"></div>')
|
||||
customAttrAssign?: RegExp[];
|
||||
|
||||
// Regex that specifies custom attribute to strip newlines from (e.g. /ng-class/)
|
||||
customAttrCollapse?: RegExp;
|
||||
|
||||
// Arrays of regex'es that allow to support custom attribute surround expressions (e.g. <input {{#if value}}checked="checked"{{/if}}>)
|
||||
customAttrSurround?: RegExp[];
|
||||
|
||||
// Arrays of regex'es that allow to support custom event attributes for minifyJS (e.g. ng-click)
|
||||
customEventAttributes?: RegExp[];
|
||||
|
||||
// Use direct Unicode characters whenever possible
|
||||
decodeEntities?: boolean;
|
||||
|
||||
// Parse input according to HTML5 specifications
|
||||
html5?: boolean;
|
||||
|
||||
// Array of regex'es that allow to ignore certain comments, when matched
|
||||
ignoreCustomComments?: RegExp[];
|
||||
|
||||
// Array of regex'es that allow to ignore certain fragments, when matched (e.g. <?php ... ?>, {{ ... }}, etc.)
|
||||
ignoreCustomFragments?: RegExp[];
|
||||
|
||||
// Insert tags generated by HTML parser
|
||||
includeAutoGeneratedTags?: boolean;
|
||||
|
||||
// Keep the trailing slash on singleton elements
|
||||
keepClosingSlash?: boolean;
|
||||
|
||||
// Specify a maximum line length. Compressed output will be split by newlines at valid HTML split-points
|
||||
maxLineLength?: number;
|
||||
|
||||
// Minify CSS in style elements and style attributes (uses clean-css or function specified)
|
||||
minifyCSS?: boolean | CleanCSS.Options | ((text: string) => string);
|
||||
|
||||
// Minify JavaScript in script elements and event attributes (uses UglifyJS or function specified)
|
||||
minifyJS?: boolean | UglifyJS.MinifyOptions | ((text: string, inline: boolean) => string);
|
||||
|
||||
// Minify URLs in various attributes (uses relateurl or function specified)
|
||||
minifyURLs?: boolean | RelateUrl.Options | ((text: string) => string);
|
||||
|
||||
// Always collapse to 1 line break (never remove it entirely) when whitespace between tags include a line break. Must be used in conjunction with collapseWhitespace=true
|
||||
preserveLineBreaks?: boolean;
|
||||
|
||||
// Prevents the escaping of the values of attributes
|
||||
preventAttributesEscaping?: boolean;
|
||||
|
||||
// Process contents of conditional comments through minifier
|
||||
processConditionalComments?: boolean;
|
||||
|
||||
// Array of strings corresponding to types of script elements to process through minifier (e.g. text/ng-template, text/x-handlebars-template, etc.)
|
||||
processScripts?: string[];
|
||||
|
||||
// Type of quote to use for attribute values (' or ")
|
||||
quoteCharacter?: string;
|
||||
|
||||
/**
|
||||
* Remove quotes around attributes when possible
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#remove_attribute_quotes
|
||||
*/
|
||||
removeAttributeQuotes?: boolean;
|
||||
|
||||
/**
|
||||
* Strip HTML comments
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#remove_comments
|
||||
*/
|
||||
removeComments?: boolean;
|
||||
|
||||
/**
|
||||
* Remove all attributes with whitespace-only values
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_or_blank_attributes
|
||||
*/
|
||||
removeEmptyAttributes?: boolean | ((attrName: string, tag: string) => boolean);
|
||||
|
||||
/**
|
||||
* Remove all elements with empty contents
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#remove_empty_elements
|
||||
*/
|
||||
removeEmptyElements?: boolean;
|
||||
|
||||
/**
|
||||
* Remove optional tags
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#remove_optional_tags
|
||||
*/
|
||||
removeOptionalTags?: boolean;
|
||||
|
||||
/**
|
||||
* Remove attributes when value matches default.
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#remove_redundant_attributes
|
||||
*/
|
||||
removeRedundantAttributes?: boolean;
|
||||
|
||||
// Remove type="text/javascript" from script tags. Other type attribute values are left intact
|
||||
removeScriptTypeAttributes?: boolean;
|
||||
|
||||
// Remove type="text/css" from style and link tags. Other type attribute values are left intact
|
||||
removeStyleLinkTypeAttributes?: boolean;
|
||||
|
||||
// Remove space between attributes whenever possible. Note that this will result in invalid HTML!
|
||||
removeTagWhitespace?: boolean;
|
||||
|
||||
/**
|
||||
* Sort attributes by frequency
|
||||
*
|
||||
* Minifier options like sortAttributes and sortClassName won't impact the plain-text size
|
||||
* of the output. However, they form long repetitive chains of characters that should improve
|
||||
* compression ratio of gzip used in HTTP compression.
|
||||
*
|
||||
* @see https://github.com/kangax/html-minifier#sorting-attributes--style-classes
|
||||
*/
|
||||
sortAttributes?: boolean;
|
||||
|
||||
/**
|
||||
* Sort style classes by frequency
|
||||
*
|
||||
* Minifier options like sortAttributes and sortClassName won't impact the plain-text size
|
||||
* of the output. However, they form long repetitive chains of characters that should improve
|
||||
* compression ratio of gzip used in HTTP compression.
|
||||
*
|
||||
* @see https://github.com/kangax/html-minifier#sorting-attributes--style-classes
|
||||
*/
|
||||
sortClassName?: boolean;
|
||||
|
||||
// Trim white space around ignoreCustomFragments
|
||||
trimCustomFragments?: boolean;
|
||||
|
||||
/**
|
||||
* Replaces the doctype with the short (HTML5) doctype
|
||||
* @see http://perfectionkills.com/experimenting-with-html-minifier/#use_short_doctype
|
||||
*/
|
||||
useShortDoctype?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var empty_1 = require("./observable/empty");
|
||||
var of_1 = require("./observable/of");
|
||||
var throwError_1 = require("./observable/throwError");
|
||||
var NotificationKind;
|
||||
(function (NotificationKind) {
|
||||
NotificationKind["NEXT"] = "N";
|
||||
NotificationKind["ERROR"] = "E";
|
||||
NotificationKind["COMPLETE"] = "C";
|
||||
})(NotificationKind = exports.NotificationKind || (exports.NotificationKind = {}));
|
||||
var Notification = (function () {
|
||||
function Notification(kind, value, error) {
|
||||
this.kind = kind;
|
||||
this.value = value;
|
||||
this.error = error;
|
||||
this.hasValue = kind === 'N';
|
||||
}
|
||||
Notification.prototype.observe = function (observer) {
|
||||
switch (this.kind) {
|
||||
case 'N':
|
||||
return observer.next && observer.next(this.value);
|
||||
case 'E':
|
||||
return observer.error && observer.error(this.error);
|
||||
case 'C':
|
||||
return observer.complete && observer.complete();
|
||||
}
|
||||
};
|
||||
Notification.prototype.do = function (next, error, complete) {
|
||||
var kind = this.kind;
|
||||
switch (kind) {
|
||||
case 'N':
|
||||
return next && next(this.value);
|
||||
case 'E':
|
||||
return error && error(this.error);
|
||||
case 'C':
|
||||
return complete && complete();
|
||||
}
|
||||
};
|
||||
Notification.prototype.accept = function (nextOrObserver, error, complete) {
|
||||
if (nextOrObserver && typeof nextOrObserver.next === 'function') {
|
||||
return this.observe(nextOrObserver);
|
||||
}
|
||||
else {
|
||||
return this.do(nextOrObserver, error, complete);
|
||||
}
|
||||
};
|
||||
Notification.prototype.toObservable = function () {
|
||||
var kind = this.kind;
|
||||
switch (kind) {
|
||||
case 'N':
|
||||
return of_1.of(this.value);
|
||||
case 'E':
|
||||
return throwError_1.throwError(this.error);
|
||||
case 'C':
|
||||
return empty_1.empty();
|
||||
}
|
||||
throw new Error('unexpected notification kind value');
|
||||
};
|
||||
Notification.createNext = function (value) {
|
||||
if (typeof value !== 'undefined') {
|
||||
return new Notification('N', value);
|
||||
}
|
||||
return Notification.undefinedValueNotification;
|
||||
};
|
||||
Notification.createError = function (err) {
|
||||
return new Notification('E', undefined, err);
|
||||
};
|
||||
Notification.createComplete = function () {
|
||||
return Notification.completeNotification;
|
||||
};
|
||||
Notification.completeNotification = new Notification('C');
|
||||
Notification.undefinedValueNotification = new Notification('N', undefined);
|
||||
return Notification;
|
||||
}());
|
||||
exports.Notification = Notification;
|
||||
//# sourceMappingURL=Notification.js.map
|
||||
@@ -0,0 +1,15 @@
|
||||
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
||||
importScripts('shim.js');
|
||||
/* uncomment the next line for encoding support */
|
||||
importScripts('dist/cpexcel.js');
|
||||
importScripts('jszip.js');
|
||||
importScripts('xlsx.js');
|
||||
postMessage({t:"ready"});
|
||||
|
||||
onmessage = function (evt) {
|
||||
var v;
|
||||
try {
|
||||
v = XLSX.read(evt.data.d, {type: evt.data.b});
|
||||
postMessage({t:"xlsx", d:JSON.stringify(v)});
|
||||
} catch(e) { postMessage({t:"e",d:e.stack||e}); }
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","2":"C K L H M N O"},C:{"1":"fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB DC EC"},D:{"1":"nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB"},E:{"1":"K L H rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E F G A B C GC zB HC IC JC KC 0B qB"},F:{"1":"aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"0 1 2 3 4 5 6 7 8 9 G B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB OC PC QC RC qB 9B SC rB"},G:{"1":"gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC eC fC"},H:{"2":"nC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"2":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"1C 2C 3C 4C sB 5C 6C 7C","2":"I vC wC xC yC zC 0B 0C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"2":"9C"}},B:5,C:"prefers-color-scheme media query"};
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "caniuse-lite",
|
||||
"version": "1.0.30001453",
|
||||
"description": "A smaller version of caniuse-db, with only the essentials!",
|
||||
"main": "dist/unpacker/index.js",
|
||||
"files": [
|
||||
"data",
|
||||
"dist"
|
||||
],
|
||||
"keywords": [
|
||||
"support"
|
||||
],
|
||||
"author": {
|
||||
"name": "Ben Briggs",
|
||||
"email": "beneb.info@gmail.com",
|
||||
"url": "http://beneb.info"
|
||||
},
|
||||
"repository": "browserslist/caniuse-lite",
|
||||
"funding": [
|
||||
{
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/browserslist"
|
||||
},
|
||||
{
|
||||
"type": "tidelift",
|
||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
||||
}
|
||||
],
|
||||
"license": "CC-BY-4.0"
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
import validate from './validate.js';
|
||||
|
||||
function parse(uuid) {
|
||||
if (!validate(uuid)) {
|
||||
throw TypeError('Invalid UUID');
|
||||
}
|
||||
|
||||
var v;
|
||||
var arr = new Uint8Array(16); // Parse ########-....-....-....-............
|
||||
|
||||
arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
|
||||
arr[1] = v >>> 16 & 0xff;
|
||||
arr[2] = v >>> 8 & 0xff;
|
||||
arr[3] = v & 0xff; // Parse ........-####-....-....-............
|
||||
|
||||
arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
|
||||
arr[5] = v & 0xff; // Parse ........-....-####-....-............
|
||||
|
||||
arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
|
||||
arr[7] = v & 0xff; // Parse ........-....-....-####-............
|
||||
|
||||
arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
|
||||
arr[9] = v & 0xff; // Parse ........-....-....-....-############
|
||||
// (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
|
||||
|
||||
arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
|
||||
arr[11] = v / 0x100000000 & 0xff;
|
||||
arr[12] = v >>> 24 & 0xff;
|
||||
arr[13] = v >>> 16 & 0xff;
|
||||
arr[14] = v >>> 8 & 0xff;
|
||||
arr[15] = v & 0xff;
|
||||
return arr;
|
||||
}
|
||||
|
||||
export default parse;
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"1":"K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t","16":"C"},C:{"1":"0 1 2 3 4 5 6 7 8 9 z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB I u J E F G A B C K L H M N O v w x y DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"I u J E F G A B C K L H M N O v w x y z"},E:{"1":"E F G A B C K L H IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u GC zB HC","16":"J"},F:{"1":"0 1 2 3 4 5 6 7 8 9 H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"G B C OC PC QC RC qB 9B SC rB"},G:{"1":"F WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC VC"},H:{"2":"nC"},I:{"1":"D sC tC","2":"tB I oC pC qC rC AC"},J:{"1":"A","2":"E"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:1,C:"ChildNode.remove()"};
|
||||
@@ -0,0 +1 @@
|
||||
{"name":"ci-info","version":"2.0.0","files":{"LICENSE":{"checkedAt":1678887830265,"integrity":"sha512-2KVUREHYKdgMoMzPJX/RY12fWR3jole3XkkqD8Gf5f7pOwcObXeU3HyFYaOqdK/qFh8oy82bZ6ZCrjQxRdRMXQ==","mode":420,"size":1091},"package.json":{"checkedAt":1678887830280,"integrity":"sha512-VLEMaDwL0If7CzFAAkcehc5m+gUuMFDvi+ixJn9AiIUkTroNV+9JHHXW8rsW3bfrypB9Fl0W1RWtrV98V7OmWQ==","mode":420,"size":798},"index.js":{"checkedAt":1678887830280,"integrity":"sha512-yKejQd2ctLwSqO7o6c1UpTUUPYk7XuwGTooX4n6pUoDwmAHTjkIakzPralxQ4EhJz/UYe7DL+MtnZKCBzS2d3Q==","mode":420,"size":1739},"README.md":{"checkedAt":1678887830280,"integrity":"sha512-rt7zppKM60ZaCRlr+48TzECH/7NQEa4cJJve5fQgVqdXXag0pa230OA60ENab9eIs9mW0DdqSZRcnJCp7a/BKQ==","mode":420,"size":4146},"CHANGELOG.md":{"checkedAt":1678887830280,"integrity":"sha512-aoOldYkHv3QWd58Zc/plvJfHq3yUj6JlJZHFHbTbc3+1aV1qdLXSEsEuIICQ8EjU0LjRQp/pMi2zgFo6J5r3Sw==","mode":420,"size":2004},"vendors.json":{"checkedAt":1678887830282,"integrity":"sha512-9+uHCz73jFBCnQ/szd/64Y25Krfl1HSWn+nV+4fD6vOEiXOxcUCFW5FRa4dnSwjsWGzpqtgcuPP8GqZ51itd+w==","mode":420,"size":3030}}}
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/operators/shareReplay';
|
||||
Reference in New Issue
Block a user