@mjhls/mjh-framework 1.0.237 → 1.0.239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +174 -174
- package/dist/cjs/{AdSlot-d87cef08.js → AdSlot-1fe1c231.js} +5 -5
- package/dist/cjs/DeckContent.js +34 -27
- package/dist/cjs/DeckQueue.js +24 -18
- package/dist/cjs/{Dfp-f62b16e1.js → Dfp-045b016b.js} +10 -7
- package/dist/cjs/{GridContent-6dae5d6a.js → GridContent-21bc198f.js} +23 -20
- package/dist/cjs/GridContent.js +18 -12
- package/dist/cjs/IssueContentDeck.js +3 -3
- package/dist/cjs/IssueDeck.js +3 -3
- package/dist/cjs/MasterDeck-f8fbac3c.js +917 -0
- package/dist/cjs/MasterDeck.js +18 -329
- package/dist/cjs/{Normal-821546cd.js → Normal-c89b709d.js} +65 -52
- package/dist/cjs/PublicationDeck.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +21 -16
- package/dist/cjs/{TaxonomyCard-d97685e2.js → TaxonomyCard-e3566492.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +6 -5
- package/dist/cjs/TemplateNormal.js +11 -8
- package/dist/cjs/ThumbnailCard.js +4 -4
- package/dist/cjs/{Ustream-0d3dd953.js → Ustream-85b14a8d.js} +3 -5
- package/dist/cjs/Ustream.js +6 -2
- package/dist/cjs/VideoSeriesListing.js +19 -15
- package/dist/cjs/{YoutubeGroup-ad994d02.js → YoutubeGroup-5f480446.js} +6 -6
- package/dist/cjs/YoutubeGroup.js +3 -3
- package/dist/cjs/{_commonjsHelpers-3fc1f64e.js → _commonjsHelpers-06173234.js} +5 -0
- package/dist/cjs/_to-object-329a650b.js +348 -0
- package/dist/cjs/core.get-iterator-method-e049ca4a.js +39 -0
- package/dist/cjs/{debounce-a963b136.js → debounce-bbca43c4.js} +1 -1
- package/dist/cjs/{entities-3e0b4a16.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/extends-e94dbea5.js +98 -0
- package/dist/cjs/{get-126b1712.js → get-af2516a4.js} +1 -1
- package/dist/cjs/{index-a4c53ff4.js → index-be0c82be.js} +2 -3
- package/dist/cjs/{index-0d0efcfa.js → index-fa0fb52c.js} +1 -1
- package/dist/cjs/{index-0322e486.js → index-fa3cec70.js} +1 -1
- package/dist/cjs/index.js +3510 -681
- package/dist/cjs/inherits-5b5ca8db.js +650 -0
- package/dist/cjs/{main-58839f4e.js → main-d9a1b014.js} +1 -1
- package/dist/cjs/slicedToArray-e38fb29d.js +95 -0
- package/dist/cjs/toConsumableArray-7e4caf3c.js +123 -0
- package/dist/cjs/{visibility-sensor-8936e703.js → visibility-sensor-b72d9527.js} +1 -1
- package/dist/cjs/web.dom.iterable-0998bdc3.js +254 -0
- package/dist/esm/{AdSlot-0ea49f7e.js → AdSlot-017b8051.js} +5 -5
- package/dist/esm/DeckContent.js +32 -25
- package/dist/esm/DeckQueue.js +22 -16
- package/dist/esm/{Dfp-f026ab16.js → Dfp-01f14ae3.js} +10 -7
- package/dist/esm/{GridContent-7990f509.js → GridContent-73c97039.js} +21 -18
- package/dist/esm/GridContent.js +18 -12
- package/dist/esm/IssueContentDeck.js +3 -3
- package/dist/esm/IssueDeck.js +3 -3
- package/dist/esm/MasterDeck-238f31d7.js +910 -0
- package/dist/esm/MasterDeck.js +17 -328
- package/dist/esm/{Normal-20ff5bf5.js → Normal-fdd55386.js} +65 -52
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +19 -14
- package/dist/esm/{TaxonomyCard-f9c93953.js → TaxonomyCard-a7b7ded8.js} +3 -3
- package/dist/esm/TaxonomyCard.js +6 -5
- package/dist/esm/TemplateNormal.js +11 -8
- package/dist/esm/ThumbnailCard.js +4 -4
- package/dist/esm/{Ustream-6bb45fe7.js → Ustream-62a07a32.js} +3 -5
- package/dist/esm/Ustream.js +6 -2
- package/dist/esm/VideoSeriesListing.js +16 -12
- package/dist/esm/{YoutubeGroup-1368335c.js → YoutubeGroup-78d93d44.js} +6 -6
- package/dist/esm/YoutubeGroup.js +3 -3
- package/dist/esm/{_commonjsHelpers-ae1b5db5.js → _commonjsHelpers-0c4b6f40.js} +5 -1
- package/dist/esm/_to-object-86553f76.js +318 -0
- package/dist/esm/core.get-iterator-method-709061dc.js +36 -0
- package/dist/esm/{debounce-dc0c02e5.js → debounce-fa7fbf11.js} +1 -1
- package/dist/esm/{entities-e85d3a4a.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/extends-7f88fa22.js +94 -0
- package/dist/esm/{get-b074314b.js → get-8d382479.js} +1 -1
- package/dist/esm/{index-3c1ee9ab.js → index-5f9f807a.js} +1 -1
- package/dist/esm/{index-ca4ff5cb.js → index-73819142.js} +2 -3
- package/dist/esm/{index-70f7c966.js → index-fa84ea96.js} +1 -1
- package/dist/esm/index.js +3509 -680
- package/dist/esm/inherits-a82a4471.js +642 -0
- package/dist/esm/{main-cd81c243.js → main-eecf7b27.js} +1 -1
- package/dist/esm/slicedToArray-eb7eca9e.js +93 -0
- package/dist/esm/toConsumableArray-08d50169.js +117 -0
- package/dist/esm/{visibility-sensor-71e50a91.js → visibility-sensor-336093e1.js} +1 -1
- package/dist/esm/web.dom.iterable-f05d2f57.js +246 -0
- package/package.json +101 -98
- package/dist/cjs/_babelHelpers-f321c258.js +0 -119
- package/dist/esm/_babelHelpers-67c05996.js +0 -111
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
+
|
|
5
|
+
// 7.1.4 ToInteger
|
|
6
|
+
var ceil = Math.ceil;
|
|
7
|
+
var floor = Math.floor;
|
|
8
|
+
var _toInteger = function (it) {
|
|
9
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
|
13
|
+
var _defined = function (it) {
|
|
14
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
15
|
+
return it;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
var _global = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
19
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
20
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
21
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
22
|
+
// eslint-disable-next-line no-new-func
|
|
23
|
+
: Function('return this')();
|
|
24
|
+
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
var _core = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
28
|
+
var core = module.exports = { version: '2.6.11' };
|
|
29
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
30
|
+
});
|
|
31
|
+
var _core_1 = _core.version;
|
|
32
|
+
|
|
33
|
+
var _aFunction = function (it) {
|
|
34
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
35
|
+
return it;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// optional / simple context binding
|
|
39
|
+
|
|
40
|
+
var _ctx = function (fn, that, length) {
|
|
41
|
+
_aFunction(fn);
|
|
42
|
+
if (that === undefined) return fn;
|
|
43
|
+
switch (length) {
|
|
44
|
+
case 1: return function (a) {
|
|
45
|
+
return fn.call(that, a);
|
|
46
|
+
};
|
|
47
|
+
case 2: return function (a, b) {
|
|
48
|
+
return fn.call(that, a, b);
|
|
49
|
+
};
|
|
50
|
+
case 3: return function (a, b, c) {
|
|
51
|
+
return fn.call(that, a, b, c);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
return function (/* ...args */) {
|
|
55
|
+
return fn.apply(that, arguments);
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
var _isObject = function (it) {
|
|
60
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
var _anObject = function (it) {
|
|
64
|
+
if (!_isObject(it)) throw TypeError(it + ' is not an object!');
|
|
65
|
+
return it;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
var _fails = function (exec) {
|
|
69
|
+
try {
|
|
70
|
+
return !!exec();
|
|
71
|
+
} catch (e) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Thank's IE8 for his funny defineProperty
|
|
77
|
+
var _descriptors = !_fails(function () {
|
|
78
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
var document = _global.document;
|
|
82
|
+
// typeof document.createElement is 'object' in old IE
|
|
83
|
+
var is = _isObject(document) && _isObject(document.createElement);
|
|
84
|
+
var _domCreate = function (it) {
|
|
85
|
+
return is ? document.createElement(it) : {};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
89
|
+
return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
93
|
+
|
|
94
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
95
|
+
// and the second argument - flag - preferred type is a string
|
|
96
|
+
var _toPrimitive = function (it, S) {
|
|
97
|
+
if (!_isObject(it)) return it;
|
|
98
|
+
var fn, val;
|
|
99
|
+
if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
100
|
+
if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
101
|
+
if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
102
|
+
throw TypeError("Can't convert object to primitive value");
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
var dP = Object.defineProperty;
|
|
106
|
+
|
|
107
|
+
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
108
|
+
_anObject(O);
|
|
109
|
+
P = _toPrimitive(P, true);
|
|
110
|
+
_anObject(Attributes);
|
|
111
|
+
if (_ie8DomDefine) try {
|
|
112
|
+
return dP(O, P, Attributes);
|
|
113
|
+
} catch (e) { /* empty */ }
|
|
114
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
115
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
116
|
+
return O;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
var _objectDp = {
|
|
120
|
+
f: f
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
var _propertyDesc = function (bitmap, value) {
|
|
124
|
+
return {
|
|
125
|
+
enumerable: !(bitmap & 1),
|
|
126
|
+
configurable: !(bitmap & 2),
|
|
127
|
+
writable: !(bitmap & 4),
|
|
128
|
+
value: value
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
133
|
+
return _objectDp.f(object, key, _propertyDesc(1, value));
|
|
134
|
+
} : function (object, key, value) {
|
|
135
|
+
object[key] = value;
|
|
136
|
+
return object;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
140
|
+
var _has = function (it, key) {
|
|
141
|
+
return hasOwnProperty.call(it, key);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
var PROTOTYPE = 'prototype';
|
|
145
|
+
|
|
146
|
+
var $export = function (type, name, source) {
|
|
147
|
+
var IS_FORCED = type & $export.F;
|
|
148
|
+
var IS_GLOBAL = type & $export.G;
|
|
149
|
+
var IS_STATIC = type & $export.S;
|
|
150
|
+
var IS_PROTO = type & $export.P;
|
|
151
|
+
var IS_BIND = type & $export.B;
|
|
152
|
+
var IS_WRAP = type & $export.W;
|
|
153
|
+
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
154
|
+
var expProto = exports[PROTOTYPE];
|
|
155
|
+
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
|
|
156
|
+
var key, own, out;
|
|
157
|
+
if (IS_GLOBAL) source = name;
|
|
158
|
+
for (key in source) {
|
|
159
|
+
// contains in native
|
|
160
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
161
|
+
if (own && _has(exports, key)) continue;
|
|
162
|
+
// export native or passed
|
|
163
|
+
out = own ? target[key] : source[key];
|
|
164
|
+
// prevent global pollution for namespaces
|
|
165
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
|
166
|
+
// bind timers to global for call from export context
|
|
167
|
+
: IS_BIND && own ? _ctx(out, _global)
|
|
168
|
+
// wrap global constructors for prevent change them in library
|
|
169
|
+
: IS_WRAP && target[key] == out ? (function (C) {
|
|
170
|
+
var F = function (a, b, c) {
|
|
171
|
+
if (this instanceof C) {
|
|
172
|
+
switch (arguments.length) {
|
|
173
|
+
case 0: return new C();
|
|
174
|
+
case 1: return new C(a);
|
|
175
|
+
case 2: return new C(a, b);
|
|
176
|
+
} return new C(a, b, c);
|
|
177
|
+
} return C.apply(this, arguments);
|
|
178
|
+
};
|
|
179
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
|
180
|
+
return F;
|
|
181
|
+
// make static versions for prototype methods
|
|
182
|
+
})(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
|
|
183
|
+
// export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
|
|
184
|
+
if (IS_PROTO) {
|
|
185
|
+
(exports.virtual || (exports.virtual = {}))[key] = out;
|
|
186
|
+
// export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
|
|
187
|
+
if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
// type bitmap
|
|
192
|
+
$export.F = 1; // forced
|
|
193
|
+
$export.G = 2; // global
|
|
194
|
+
$export.S = 4; // static
|
|
195
|
+
$export.P = 8; // proto
|
|
196
|
+
$export.B = 16; // bind
|
|
197
|
+
$export.W = 32; // wrap
|
|
198
|
+
$export.U = 64; // safe
|
|
199
|
+
$export.R = 128; // real proto method for `library`
|
|
200
|
+
var _export = $export;
|
|
201
|
+
|
|
202
|
+
var toString = {}.toString;
|
|
203
|
+
|
|
204
|
+
var _cof = function (it) {
|
|
205
|
+
return toString.call(it).slice(8, -1);
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
209
|
+
|
|
210
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
211
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
212
|
+
return _cof(it) == 'String' ? it.split('') : Object(it);
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
var _toIobject = function (it) {
|
|
219
|
+
return _iobject(_defined(it));
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
// 7.1.15 ToLength
|
|
223
|
+
|
|
224
|
+
var min = Math.min;
|
|
225
|
+
var _toLength = function (it) {
|
|
226
|
+
return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
var max = Math.max;
|
|
230
|
+
var min$1 = Math.min;
|
|
231
|
+
var _toAbsoluteIndex = function (index, length) {
|
|
232
|
+
index = _toInteger(index);
|
|
233
|
+
return index < 0 ? max(index + length, 0) : min$1(index, length);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
// false -> Array#indexOf
|
|
237
|
+
// true -> Array#includes
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
var _arrayIncludes = function (IS_INCLUDES) {
|
|
242
|
+
return function ($this, el, fromIndex) {
|
|
243
|
+
var O = _toIobject($this);
|
|
244
|
+
var length = _toLength(O.length);
|
|
245
|
+
var index = _toAbsoluteIndex(fromIndex, length);
|
|
246
|
+
var value;
|
|
247
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
248
|
+
// eslint-disable-next-line no-self-compare
|
|
249
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
250
|
+
value = O[index++];
|
|
251
|
+
// eslint-disable-next-line no-self-compare
|
|
252
|
+
if (value != value) return true;
|
|
253
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
254
|
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
|
255
|
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
|
256
|
+
} return !IS_INCLUDES && -1;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
var _shared = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
261
|
+
var SHARED = '__core-js_shared__';
|
|
262
|
+
var store = _global[SHARED] || (_global[SHARED] = {});
|
|
263
|
+
|
|
264
|
+
(module.exports = function (key, value) {
|
|
265
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
266
|
+
})('versions', []).push({
|
|
267
|
+
version: _core.version,
|
|
268
|
+
mode: 'pure' ,
|
|
269
|
+
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
|
|
273
|
+
var id = 0;
|
|
274
|
+
var px = Math.random();
|
|
275
|
+
var _uid = function (key) {
|
|
276
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
var shared = _shared('keys');
|
|
280
|
+
|
|
281
|
+
var _sharedKey = function (key) {
|
|
282
|
+
return shared[key] || (shared[key] = _uid(key));
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
var arrayIndexOf = _arrayIncludes(false);
|
|
286
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
287
|
+
|
|
288
|
+
var _objectKeysInternal = function (object, names) {
|
|
289
|
+
var O = _toIobject(object);
|
|
290
|
+
var i = 0;
|
|
291
|
+
var result = [];
|
|
292
|
+
var key;
|
|
293
|
+
for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
|
|
294
|
+
// Don't enum bug & hidden keys
|
|
295
|
+
while (names.length > i) if (_has(O, key = names[i++])) {
|
|
296
|
+
~arrayIndexOf(result, key) || result.push(key);
|
|
297
|
+
}
|
|
298
|
+
return result;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
// IE 8- don't enum bug keys
|
|
302
|
+
var _enumBugKeys = (
|
|
303
|
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
|
304
|
+
).split(',');
|
|
305
|
+
|
|
306
|
+
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
var _objectKeys = Object.keys || function keys(O) {
|
|
311
|
+
return _objectKeysInternal(O, _enumBugKeys);
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
// 7.1.13 ToObject(argument)
|
|
315
|
+
|
|
316
|
+
var _toObject = function (it) {
|
|
317
|
+
return Object(_defined(it));
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
exports._aFunction = _aFunction;
|
|
321
|
+
exports._anObject = _anObject;
|
|
322
|
+
exports._cof = _cof;
|
|
323
|
+
exports._core = _core;
|
|
324
|
+
exports._ctx = _ctx;
|
|
325
|
+
exports._defined = _defined;
|
|
326
|
+
exports._descriptors = _descriptors;
|
|
327
|
+
exports._domCreate = _domCreate;
|
|
328
|
+
exports._enumBugKeys = _enumBugKeys;
|
|
329
|
+
exports._export = _export;
|
|
330
|
+
exports._fails = _fails;
|
|
331
|
+
exports._global = _global;
|
|
332
|
+
exports._has = _has;
|
|
333
|
+
exports._hide = _hide;
|
|
334
|
+
exports._ie8DomDefine = _ie8DomDefine;
|
|
335
|
+
exports._iobject = _iobject;
|
|
336
|
+
exports._isObject = _isObject;
|
|
337
|
+
exports._objectDp = _objectDp;
|
|
338
|
+
exports._objectKeys = _objectKeys;
|
|
339
|
+
exports._objectKeysInternal = _objectKeysInternal;
|
|
340
|
+
exports._propertyDesc = _propertyDesc;
|
|
341
|
+
exports._shared = _shared;
|
|
342
|
+
exports._sharedKey = _sharedKey;
|
|
343
|
+
exports._toInteger = _toInteger;
|
|
344
|
+
exports._toIobject = _toIobject;
|
|
345
|
+
exports._toLength = _toLength;
|
|
346
|
+
exports._toObject = _toObject;
|
|
347
|
+
exports._toPrimitive = _toPrimitive;
|
|
348
|
+
exports._uid = _uid;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _toObject = require('./_to-object-329a650b.js');
|
|
4
|
+
var web_dom_iterable = require('./web.dom.iterable-0998bdc3.js');
|
|
5
|
+
|
|
6
|
+
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
7
|
+
|
|
8
|
+
var TAG = web_dom_iterable._wks('toStringTag');
|
|
9
|
+
// ES3 wrong here
|
|
10
|
+
var ARG = _toObject._cof(function () { return arguments; }()) == 'Arguments';
|
|
11
|
+
|
|
12
|
+
// fallback for IE11 Script Access Denied error
|
|
13
|
+
var tryGet = function (it, key) {
|
|
14
|
+
try {
|
|
15
|
+
return it[key];
|
|
16
|
+
} catch (e) { /* empty */ }
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var _classof = function (it) {
|
|
20
|
+
var O, T, B;
|
|
21
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
22
|
+
// @@toStringTag case
|
|
23
|
+
: typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
|
|
24
|
+
// builtinTag case
|
|
25
|
+
: ARG ? _toObject._cof(O)
|
|
26
|
+
// ES3 arguments fallback
|
|
27
|
+
: (B = _toObject._cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
var ITERATOR = web_dom_iterable._wks('iterator');
|
|
31
|
+
|
|
32
|
+
var core_getIteratorMethod = _toObject._core.getIteratorMethod = function (it) {
|
|
33
|
+
if (it != undefined) return it[ITERATOR]
|
|
34
|
+
|| it['@@iterator']
|
|
35
|
+
|| web_dom_iterable._iterators[_classof(it)];
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
exports._classof = _classof;
|
|
39
|
+
exports.core_getIteratorMethod = core_getIteratorMethod;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
+
var _toObject = require('./_to-object-329a650b.js');
|
|
5
|
+
|
|
6
|
+
var f = Object.getOwnPropertySymbols;
|
|
7
|
+
|
|
8
|
+
var _objectGops = {
|
|
9
|
+
f: f
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
var f$1 = {}.propertyIsEnumerable;
|
|
13
|
+
|
|
14
|
+
var _objectPie = {
|
|
15
|
+
f: f$1
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// 19.1.2.1 Object.assign(target, source, ...)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
var $assign = Object.assign;
|
|
26
|
+
|
|
27
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
|
28
|
+
var _objectAssign = !$assign || _toObject._fails(function () {
|
|
29
|
+
var A = {};
|
|
30
|
+
var B = {};
|
|
31
|
+
// eslint-disable-next-line no-undef
|
|
32
|
+
var S = Symbol();
|
|
33
|
+
var K = 'abcdefghijklmnopqrst';
|
|
34
|
+
A[S] = 7;
|
|
35
|
+
K.split('').forEach(function (k) { B[k] = k; });
|
|
36
|
+
return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
|
|
37
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
|
|
38
|
+
var T = _toObject._toObject(target);
|
|
39
|
+
var aLen = arguments.length;
|
|
40
|
+
var index = 1;
|
|
41
|
+
var getSymbols = _objectGops.f;
|
|
42
|
+
var isEnum = _objectPie.f;
|
|
43
|
+
while (aLen > index) {
|
|
44
|
+
var S = _toObject._iobject(arguments[index++]);
|
|
45
|
+
var keys = getSymbols ? _toObject._objectKeys(S).concat(getSymbols(S)) : _toObject._objectKeys(S);
|
|
46
|
+
var length = keys.length;
|
|
47
|
+
var j = 0;
|
|
48
|
+
var key;
|
|
49
|
+
while (length > j) {
|
|
50
|
+
key = keys[j++];
|
|
51
|
+
if (!_toObject._descriptors || isEnum.call(S, key)) T[key] = S[key];
|
|
52
|
+
}
|
|
53
|
+
} return T;
|
|
54
|
+
} : $assign;
|
|
55
|
+
|
|
56
|
+
// 19.1.3.1 Object.assign(target, source)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
_toObject._export(_toObject._export.S + _toObject._export.F, 'Object', { assign: _objectAssign });
|
|
60
|
+
|
|
61
|
+
var assign = _toObject._core.Object.assign;
|
|
62
|
+
|
|
63
|
+
var assign$1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
64
|
+
module.exports = { "default": assign, __esModule: true };
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
_commonjsHelpers.unwrapExports(assign$1);
|
|
68
|
+
|
|
69
|
+
var _extends = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
70
|
+
|
|
71
|
+
exports.__esModule = true;
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
var _assign2 = _interopRequireDefault(assign$1);
|
|
76
|
+
|
|
77
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
78
|
+
|
|
79
|
+
exports.default = _assign2.default || function (target) {
|
|
80
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
81
|
+
var source = arguments[i];
|
|
82
|
+
|
|
83
|
+
for (var key in source) {
|
|
84
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
85
|
+
target[key] = source[key];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return target;
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
var _extends$1 = _commonjsHelpers.unwrapExports(_extends);
|
|
95
|
+
|
|
96
|
+
exports._extends = _extends$1;
|
|
97
|
+
exports._objectGops = _objectGops;
|
|
98
|
+
exports._objectPie = _objectPie;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-
|
|
3
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
4
|
|
|
5
5
|
var parseAssetId_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -377,8 +377,7 @@ function urlBuilder(options) {
|
|
|
377
377
|
var client = options;
|
|
378
378
|
if (isSanityClient(client)) {
|
|
379
379
|
// Inherit config from client
|
|
380
|
-
var _a = client.clientConfig,
|
|
381
|
-
var apiHost = apiUrl || 'https://api.sanity.io';
|
|
380
|
+
var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
|
|
382
381
|
return new ImageUrlBuilder(null, {
|
|
383
382
|
baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
|
|
384
383
|
projectId: projectId,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var React__default = _interopDefault(React);
|
|
7
|
-
var _commonjsHelpers = require('./_commonjsHelpers-3fc1f64e.js');
|
|
8
8
|
var PropTypes = _interopDefault(require('prop-types'));
|
|
9
9
|
var reactDom = _interopDefault(require('react-dom'));
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
4
|
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var React__default = _interopDefault(React);
|
|
7
|
-
var _commonjsHelpers = require('./_commonjsHelpers-3fc1f64e.js');
|
|
8
8
|
var PropTypes = _interopDefault(require('prop-types'));
|
|
9
9
|
|
|
10
10
|
var domain;
|