@unisphere/genie-types 1.47.2 → 1.47.4
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/index.esm.js +253 -150
- package/package.json +1 -1
- package/src/lib/avatar-runtime/avatar-service-types.d.ts +5 -1
- package/src/lib/avatar-runtime/runtime-types.d.ts +5 -1
- package/src/lib/avatar-runtime/shared-types.d.ts +1 -1
- package/src/lib/chat-runtime/client-request-vars.d.ts +4 -0
- package/src/lib/chat-runtime/index.d.ts +1 -0
- package/src/lib/shared/genie-chat-service-types.d.ts +2 -2
- package/src/lib/shared/genie-thread-service-types.d.ts +25 -0
- package/src/lib/shared/index.d.ts +1 -0
package/index.esm.js
CHANGED
|
@@ -92,21 +92,21 @@ var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
var uncurryThis$
|
|
95
|
+
var uncurryThis$f = functionUncurryThis;
|
|
96
96
|
|
|
97
|
-
var toString$
|
|
98
|
-
var stringSlice$1 = uncurryThis$
|
|
97
|
+
var toString$3 = uncurryThis$f({}.toString);
|
|
98
|
+
var stringSlice$1 = uncurryThis$f(''.slice);
|
|
99
99
|
|
|
100
100
|
var classofRaw$2 = function (it) {
|
|
101
|
-
return stringSlice$1(toString$
|
|
101
|
+
return stringSlice$1(toString$3(it), 8, -1);
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
var uncurryThis$
|
|
104
|
+
var uncurryThis$e = functionUncurryThis;
|
|
105
105
|
var fails$c = fails$f;
|
|
106
|
-
var classof$
|
|
106
|
+
var classof$4 = classofRaw$2;
|
|
107
107
|
|
|
108
108
|
var $Object$4 = Object;
|
|
109
|
-
var split = uncurryThis$
|
|
109
|
+
var split = uncurryThis$e(''.split);
|
|
110
110
|
|
|
111
111
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
112
112
|
var indexedObject = fails$c(function () {
|
|
@@ -114,7 +114,7 @@ var indexedObject = fails$c(function () {
|
|
|
114
114
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
115
115
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
116
116
|
}) ? function (it) {
|
|
117
|
-
return classof$
|
|
117
|
+
return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
118
118
|
} : $Object$4;
|
|
119
119
|
|
|
120
120
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -125,21 +125,21 @@ var isNullOrUndefined$3 = function (it) {
|
|
|
125
125
|
|
|
126
126
|
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
127
127
|
|
|
128
|
-
var $TypeError$
|
|
128
|
+
var $TypeError$c = TypeError;
|
|
129
129
|
|
|
130
130
|
// `RequireObjectCoercible` abstract operation
|
|
131
131
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
132
|
-
var requireObjectCoercible$
|
|
133
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$
|
|
132
|
+
var requireObjectCoercible$4 = function (it) {
|
|
133
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$c("Can't call method on " + it);
|
|
134
134
|
return it;
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
// toObject with fallback for non-array-like ES3 strings
|
|
138
138
|
var IndexedObject$1 = indexedObject;
|
|
139
|
-
var requireObjectCoercible$
|
|
139
|
+
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
140
140
|
|
|
141
141
|
var toIndexedObject$5 = function (it) {
|
|
142
|
-
return IndexedObject$1(requireObjectCoercible$
|
|
142
|
+
return IndexedObject$1(requireObjectCoercible$3(it));
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -156,7 +156,7 @@ var isCallable$f = typeof documentAll == 'undefined' && documentAll !== undefine
|
|
|
156
156
|
|
|
157
157
|
var isCallable$e = isCallable$f;
|
|
158
158
|
|
|
159
|
-
var isObject$
|
|
159
|
+
var isObject$9 = function (it) {
|
|
160
160
|
return typeof it == 'object' ? it !== null : isCallable$e(it);
|
|
161
161
|
};
|
|
162
162
|
|
|
@@ -171,9 +171,9 @@ var getBuiltIn$4 = function (namespace, method) {
|
|
|
171
171
|
return arguments.length < 2 ? aFunction(globalThis$e[namespace]) : globalThis$e[namespace] && globalThis$e[namespace][method];
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
var uncurryThis$
|
|
174
|
+
var uncurryThis$d = functionUncurryThis;
|
|
175
175
|
|
|
176
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
176
|
+
var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
|
|
177
177
|
|
|
178
178
|
var globalThis$d = globalThis_1;
|
|
179
179
|
|
|
@@ -215,7 +215,7 @@ var V8_VERSION = environmentV8Version;
|
|
|
215
215
|
var fails$b = fails$f;
|
|
216
216
|
var globalThis$b = globalThis_1;
|
|
217
217
|
|
|
218
|
-
var $String$
|
|
218
|
+
var $String$5 = globalThis$b.String;
|
|
219
219
|
|
|
220
220
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
221
221
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
@@ -224,7 +224,7 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(func
|
|
|
224
224
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
225
225
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
226
226
|
// of course, fail.
|
|
227
|
-
return !$String$
|
|
227
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
228
228
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
229
229
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
230
230
|
});
|
|
@@ -250,11 +250,11 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
250
250
|
return isCallable$c($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
var $String$
|
|
253
|
+
var $String$4 = String;
|
|
254
254
|
|
|
255
255
|
var tryToString$3 = function (argument) {
|
|
256
256
|
try {
|
|
257
|
-
return $String$
|
|
257
|
+
return $String$4(argument);
|
|
258
258
|
} catch (error) {
|
|
259
259
|
return 'Object';
|
|
260
260
|
}
|
|
@@ -263,12 +263,12 @@ var tryToString$3 = function (argument) {
|
|
|
263
263
|
var isCallable$b = isCallable$f;
|
|
264
264
|
var tryToString$2 = tryToString$3;
|
|
265
265
|
|
|
266
|
-
var $TypeError$
|
|
266
|
+
var $TypeError$b = TypeError;
|
|
267
267
|
|
|
268
268
|
// `Assert: IsCallable(argument) is true`
|
|
269
269
|
var aCallable$6 = function (argument) {
|
|
270
270
|
if (isCallable$b(argument)) return argument;
|
|
271
|
-
throw new $TypeError$
|
|
271
|
+
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
var aCallable$5 = aCallable$6;
|
|
@@ -283,18 +283,18 @@ var getMethod$3 = function (V, P) {
|
|
|
283
283
|
|
|
284
284
|
var call$a = functionCall;
|
|
285
285
|
var isCallable$a = isCallable$f;
|
|
286
|
-
var isObject$
|
|
286
|
+
var isObject$8 = isObject$9;
|
|
287
287
|
|
|
288
|
-
var $TypeError$
|
|
288
|
+
var $TypeError$a = TypeError;
|
|
289
289
|
|
|
290
290
|
// `OrdinaryToPrimitive` abstract operation
|
|
291
291
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
292
292
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
293
293
|
var fn, val;
|
|
294
|
-
if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$
|
|
295
|
-
if (isCallable$a(fn = input.valueOf) && !isObject$
|
|
296
|
-
if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$
|
|
297
|
-
throw new $TypeError$
|
|
294
|
+
if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$8(val = call$a(fn, input))) return val;
|
|
295
|
+
if (isCallable$a(fn = input.valueOf) && !isObject$8(val = call$a(fn, input))) return val;
|
|
296
|
+
if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$8(val = call$a(fn, input))) return val;
|
|
297
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
|
298
298
|
};
|
|
299
299
|
|
|
300
300
|
var sharedStore = {exports: {}};
|
|
@@ -334,20 +334,20 @@ var shared$3 = function (key, value) {
|
|
|
334
334
|
return store$2[key] || (store$2[key] = value || {});
|
|
335
335
|
};
|
|
336
336
|
|
|
337
|
-
var requireObjectCoercible$
|
|
337
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
338
338
|
|
|
339
339
|
var $Object$2 = Object;
|
|
340
340
|
|
|
341
341
|
// `ToObject` abstract operation
|
|
342
342
|
// https://tc39.es/ecma262/#sec-toobject
|
|
343
343
|
var toObject$3 = function (argument) {
|
|
344
|
-
return $Object$2(requireObjectCoercible$
|
|
344
|
+
return $Object$2(requireObjectCoercible$2(argument));
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
-
var uncurryThis$
|
|
347
|
+
var uncurryThis$c = functionUncurryThis;
|
|
348
348
|
var toObject$2 = toObject$3;
|
|
349
349
|
|
|
350
|
-
var hasOwnProperty = uncurryThis$
|
|
350
|
+
var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
|
|
351
351
|
|
|
352
352
|
// `HasOwnProperty` abstract operation
|
|
353
353
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -356,14 +356,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
356
356
|
return hasOwnProperty(toObject$2(it), key);
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
var uncurryThis$
|
|
359
|
+
var uncurryThis$b = functionUncurryThis;
|
|
360
360
|
|
|
361
361
|
var id = 0;
|
|
362
362
|
var postfix = Math.random();
|
|
363
|
-
var toString = uncurryThis$
|
|
363
|
+
var toString$2 = uncurryThis$b(1.1.toString);
|
|
364
364
|
|
|
365
365
|
var uid$2 = function (key) {
|
|
366
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
366
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
|
367
367
|
};
|
|
368
368
|
|
|
369
369
|
var globalThis$8 = globalThis_1;
|
|
@@ -377,7 +377,7 @@ var Symbol$1 = globalThis$8.Symbol;
|
|
|
377
377
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
378
378
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
379
379
|
|
|
380
|
-
var wellKnownSymbol$
|
|
380
|
+
var wellKnownSymbol$d = function (name) {
|
|
381
381
|
if (!hasOwn$9(WellKnownSymbolsStore, name)) {
|
|
382
382
|
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
|
|
383
383
|
? Symbol$1[name]
|
|
@@ -386,26 +386,26 @@ var wellKnownSymbol$b = function (name) {
|
|
|
386
386
|
};
|
|
387
387
|
|
|
388
388
|
var call$9 = functionCall;
|
|
389
|
-
var isObject$
|
|
389
|
+
var isObject$7 = isObject$9;
|
|
390
390
|
var isSymbol$1 = isSymbol$2;
|
|
391
391
|
var getMethod$2 = getMethod$3;
|
|
392
392
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
393
|
-
var wellKnownSymbol$
|
|
393
|
+
var wellKnownSymbol$c = wellKnownSymbol$d;
|
|
394
394
|
|
|
395
|
-
var $TypeError$
|
|
396
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
395
|
+
var $TypeError$9 = TypeError;
|
|
396
|
+
var TO_PRIMITIVE = wellKnownSymbol$c('toPrimitive');
|
|
397
397
|
|
|
398
398
|
// `ToPrimitive` abstract operation
|
|
399
399
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
400
400
|
var toPrimitive$1 = function (input, pref) {
|
|
401
|
-
if (!isObject$
|
|
401
|
+
if (!isObject$7(input) || isSymbol$1(input)) return input;
|
|
402
402
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
403
403
|
var result;
|
|
404
404
|
if (exoticToPrim) {
|
|
405
405
|
if (pref === undefined) pref = 'default';
|
|
406
406
|
result = call$9(exoticToPrim, input, pref);
|
|
407
|
-
if (!isObject$
|
|
408
|
-
throw new $TypeError$
|
|
407
|
+
if (!isObject$7(result) || isSymbol$1(result)) return result;
|
|
408
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
409
409
|
}
|
|
410
410
|
if (pref === undefined) pref = 'number';
|
|
411
411
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -422,11 +422,11 @@ var toPropertyKey$2 = function (argument) {
|
|
|
422
422
|
};
|
|
423
423
|
|
|
424
424
|
var globalThis$7 = globalThis_1;
|
|
425
|
-
var isObject$
|
|
425
|
+
var isObject$6 = isObject$9;
|
|
426
426
|
|
|
427
427
|
var document$1 = globalThis$7.document;
|
|
428
428
|
// typeof document.createElement is 'object' in old IE
|
|
429
|
-
var EXISTS$1 = isObject$
|
|
429
|
+
var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
|
|
430
430
|
|
|
431
431
|
var documentCreateElement$2 = function (it) {
|
|
432
432
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
@@ -482,15 +482,15 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
|
482
482
|
}).prototype !== 42;
|
|
483
483
|
});
|
|
484
484
|
|
|
485
|
-
var isObject$
|
|
485
|
+
var isObject$5 = isObject$9;
|
|
486
486
|
|
|
487
|
-
var $String$
|
|
488
|
-
var $TypeError$
|
|
487
|
+
var $String$3 = String;
|
|
488
|
+
var $TypeError$8 = TypeError;
|
|
489
489
|
|
|
490
490
|
// `Assert: Type(argument) is Object`
|
|
491
491
|
var anObject$a = function (argument) {
|
|
492
|
-
if (isObject$
|
|
493
|
-
throw new $TypeError$
|
|
492
|
+
if (isObject$5(argument)) return argument;
|
|
493
|
+
throw new $TypeError$8($String$3(argument) + ' is not an object');
|
|
494
494
|
};
|
|
495
495
|
|
|
496
496
|
var DESCRIPTORS$8 = descriptors;
|
|
@@ -499,7 +499,7 @@ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
|
499
499
|
var anObject$9 = anObject$a;
|
|
500
500
|
var toPropertyKey = toPropertyKey$2;
|
|
501
501
|
|
|
502
|
-
var $TypeError$
|
|
502
|
+
var $TypeError$7 = TypeError;
|
|
503
503
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
504
504
|
var $defineProperty = Object.defineProperty;
|
|
505
505
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -532,7 +532,7 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
532
532
|
if (IE8_DOM_DEFINE) try {
|
|
533
533
|
return $defineProperty(O, P, Attributes);
|
|
534
534
|
} catch (error) { /* empty */ }
|
|
535
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
535
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
|
|
536
536
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
537
537
|
return O;
|
|
538
538
|
};
|
|
@@ -567,11 +567,11 @@ var functionName = {
|
|
|
567
567
|
CONFIGURABLE: CONFIGURABLE
|
|
568
568
|
};
|
|
569
569
|
|
|
570
|
-
var uncurryThis$
|
|
570
|
+
var uncurryThis$a = functionUncurryThis;
|
|
571
571
|
var isCallable$9 = isCallable$f;
|
|
572
572
|
var store$1 = sharedStoreExports;
|
|
573
573
|
|
|
574
|
-
var functionToString = uncurryThis$
|
|
574
|
+
var functionToString = uncurryThis$a(Function.toString);
|
|
575
575
|
|
|
576
576
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
577
577
|
if (!isCallable$9(store$1.inspectSource)) {
|
|
@@ -602,7 +602,7 @@ var hiddenKeys$4 = {};
|
|
|
602
602
|
|
|
603
603
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
604
604
|
var globalThis$5 = globalThis_1;
|
|
605
|
-
var isObject$
|
|
605
|
+
var isObject$4 = isObject$9;
|
|
606
606
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
607
607
|
var hasOwn$6 = hasOwnProperty_1;
|
|
608
608
|
var shared = sharedStoreExports;
|
|
@@ -621,7 +621,7 @@ var enforce = function (it) {
|
|
|
621
621
|
var getterFor = function (TYPE) {
|
|
622
622
|
return function (it) {
|
|
623
623
|
var state;
|
|
624
|
-
if (!isObject$
|
|
624
|
+
if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
|
|
625
625
|
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
626
626
|
} return state;
|
|
627
627
|
};
|
|
@@ -671,7 +671,7 @@ var internalState = {
|
|
|
671
671
|
getterFor: getterFor
|
|
672
672
|
};
|
|
673
673
|
|
|
674
|
-
var uncurryThis$
|
|
674
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
675
675
|
var fails$8 = fails$f;
|
|
676
676
|
var isCallable$7 = isCallable$f;
|
|
677
677
|
var hasOwn$5 = hasOwnProperty_1;
|
|
@@ -682,12 +682,12 @@ var InternalStateModule$1 = internalState;
|
|
|
682
682
|
|
|
683
683
|
var enforceInternalState = InternalStateModule$1.enforce;
|
|
684
684
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
685
|
-
var $String$
|
|
685
|
+
var $String$2 = String;
|
|
686
686
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
687
687
|
var defineProperty$5 = Object.defineProperty;
|
|
688
|
-
var stringSlice = uncurryThis$
|
|
689
|
-
var replace = uncurryThis$
|
|
690
|
-
var join = uncurryThis$
|
|
688
|
+
var stringSlice = uncurryThis$9(''.slice);
|
|
689
|
+
var replace = uncurryThis$9(''.replace);
|
|
690
|
+
var join = uncurryThis$9([].join);
|
|
691
691
|
|
|
692
692
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
693
693
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -696,8 +696,8 @@ var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
|
696
696
|
var TEMPLATE = String(String).split('String');
|
|
697
697
|
|
|
698
698
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
699
|
-
if (stringSlice($String$
|
|
700
|
-
name = '[' + replace($String$
|
|
699
|
+
if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
|
|
700
|
+
name = '[' + replace($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
701
701
|
}
|
|
702
702
|
if (options && options.getter) name = 'get ' + name;
|
|
703
703
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -845,13 +845,13 @@ var arrayIncludes = {
|
|
|
845
845
|
indexOf: createMethod(false)
|
|
846
846
|
};
|
|
847
847
|
|
|
848
|
-
var uncurryThis$
|
|
848
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
849
849
|
var hasOwn$4 = hasOwnProperty_1;
|
|
850
850
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
851
851
|
var indexOf = arrayIncludes.indexOf;
|
|
852
852
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
853
853
|
|
|
854
|
-
var push = uncurryThis$
|
|
854
|
+
var push = uncurryThis$8([].push);
|
|
855
855
|
|
|
856
856
|
var objectKeysInternal = function (object, names) {
|
|
857
857
|
var O = toIndexedObject$2(object);
|
|
@@ -895,12 +895,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
895
895
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
896
896
|
|
|
897
897
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
898
|
-
var uncurryThis$
|
|
898
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
899
899
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
900
900
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
901
901
|
var anObject$8 = anObject$a;
|
|
902
902
|
|
|
903
|
-
var concat$1 = uncurryThis$
|
|
903
|
+
var concat$1 = uncurryThis$7([].concat);
|
|
904
904
|
|
|
905
905
|
// all object keys, includes non-enumerable and symbols
|
|
906
906
|
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -1015,7 +1015,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
1017
|
var DESCRIPTORS$4 = descriptors;
|
|
1018
|
-
var uncurryThis$
|
|
1018
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1019
1019
|
var call$7 = functionCall;
|
|
1020
1020
|
var fails$6 = fails$f;
|
|
1021
1021
|
var objectKeys$1 = objectKeys$2;
|
|
@@ -1028,7 +1028,7 @@ var IndexedObject = indexedObject;
|
|
|
1028
1028
|
var $assign = Object.assign;
|
|
1029
1029
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1030
1030
|
var defineProperty$4 = Object.defineProperty;
|
|
1031
|
-
var concat = uncurryThis$
|
|
1031
|
+
var concat = uncurryThis$6([].concat);
|
|
1032
1032
|
|
|
1033
1033
|
// `Object.assign` method
|
|
1034
1034
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -1072,13 +1072,13 @@ var objectAssign = !$assign || fails$6(function () {
|
|
|
1072
1072
|
} return T;
|
|
1073
1073
|
} : $assign;
|
|
1074
1074
|
|
|
1075
|
-
var $$
|
|
1075
|
+
var $$c = _export;
|
|
1076
1076
|
var assign = objectAssign;
|
|
1077
1077
|
|
|
1078
1078
|
// `Object.assign` method
|
|
1079
1079
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1080
1080
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1081
|
-
$$
|
|
1081
|
+
$$c({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1082
1082
|
assign: assign
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
@@ -2297,11 +2297,11 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2297
2297
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
2298
2298
|
};
|
|
2299
2299
|
|
|
2300
|
-
var wellKnownSymbol$
|
|
2300
|
+
var wellKnownSymbol$b = wellKnownSymbol$d;
|
|
2301
2301
|
var create$1 = objectCreate;
|
|
2302
2302
|
var defineProperty$3 = objectDefineProperty.f;
|
|
2303
2303
|
|
|
2304
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
2304
|
+
var UNSCOPABLES = wellKnownSymbol$b('unscopables');
|
|
2305
2305
|
var ArrayPrototype$1 = Array.prototype;
|
|
2306
2306
|
|
|
2307
2307
|
// Array.prototype[@@unscopables]
|
|
@@ -2318,7 +2318,7 @@ var addToUnscopables$2 = function (key) {
|
|
|
2318
2318
|
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
2319
2319
|
};
|
|
2320
2320
|
|
|
2321
|
-
var $$
|
|
2321
|
+
var $$b = _export;
|
|
2322
2322
|
var $includes = arrayIncludes.includes;
|
|
2323
2323
|
var fails$5 = fails$f;
|
|
2324
2324
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
@@ -2331,7 +2331,7 @@ var BROKEN_ON_SPARSE = fails$5(function () {
|
|
|
2331
2331
|
|
|
2332
2332
|
// `Array.prototype.includes` method
|
|
2333
2333
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2334
|
-
$$
|
|
2334
|
+
$$b({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
2335
2335
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2336
2336
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2337
2337
|
}
|
|
@@ -2340,6 +2340,138 @@ $$a({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
2340
2340
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2341
2341
|
addToUnscopables$1('includes');
|
|
2342
2342
|
|
|
2343
|
+
var isObject$3 = isObject$9;
|
|
2344
|
+
var classof$3 = classofRaw$2;
|
|
2345
|
+
var wellKnownSymbol$a = wellKnownSymbol$d;
|
|
2346
|
+
|
|
2347
|
+
var MATCH$1 = wellKnownSymbol$a('match');
|
|
2348
|
+
|
|
2349
|
+
// `IsRegExp` abstract operation
|
|
2350
|
+
// https://tc39.es/ecma262/#sec-isregexp
|
|
2351
|
+
var isRegexp = function (it) {
|
|
2352
|
+
var isRegExp;
|
|
2353
|
+
return isObject$3(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$3(it) === 'RegExp');
|
|
2354
|
+
};
|
|
2355
|
+
|
|
2356
|
+
var isRegExp = isRegexp;
|
|
2357
|
+
|
|
2358
|
+
var $TypeError$6 = TypeError;
|
|
2359
|
+
|
|
2360
|
+
var notARegexp = function (it) {
|
|
2361
|
+
if (isRegExp(it)) {
|
|
2362
|
+
throw new $TypeError$6("The method doesn't accept regular expressions");
|
|
2363
|
+
} return it;
|
|
2364
|
+
};
|
|
2365
|
+
|
|
2366
|
+
var wellKnownSymbol$9 = wellKnownSymbol$d;
|
|
2367
|
+
|
|
2368
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$9('toStringTag');
|
|
2369
|
+
var test = {};
|
|
2370
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
2371
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
2372
|
+
|
|
2373
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
2374
|
+
|
|
2375
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2376
|
+
var isCallable$4 = isCallable$f;
|
|
2377
|
+
var classofRaw$1 = classofRaw$2;
|
|
2378
|
+
var wellKnownSymbol$8 = wellKnownSymbol$d;
|
|
2379
|
+
|
|
2380
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
|
|
2381
|
+
var $Object$1 = Object;
|
|
2382
|
+
|
|
2383
|
+
// ES3 wrong here
|
|
2384
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
2385
|
+
|
|
2386
|
+
// fallback for IE11 Script Access Denied error
|
|
2387
|
+
var tryGet = function (it, key) {
|
|
2388
|
+
try {
|
|
2389
|
+
return it[key];
|
|
2390
|
+
} catch (error) { /* empty */ }
|
|
2391
|
+
};
|
|
2392
|
+
|
|
2393
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
2394
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
2395
|
+
var O, tag, result;
|
|
2396
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2397
|
+
// @@toStringTag case
|
|
2398
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
2399
|
+
// builtinTag case
|
|
2400
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2401
|
+
// ES3 arguments fallback
|
|
2402
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$4(O.callee) ? 'Arguments' : result;
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2405
|
+
var classof$1 = classof$2;
|
|
2406
|
+
|
|
2407
|
+
var $String$1 = String;
|
|
2408
|
+
|
|
2409
|
+
var toString$1 = function (argument) {
|
|
2410
|
+
if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
2411
|
+
return $String$1(argument);
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
var wellKnownSymbol$7 = wellKnownSymbol$d;
|
|
2415
|
+
|
|
2416
|
+
var MATCH = wellKnownSymbol$7('match');
|
|
2417
|
+
|
|
2418
|
+
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
2419
|
+
var regexp = /./;
|
|
2420
|
+
try {
|
|
2421
|
+
'/./'[METHOD_NAME](regexp);
|
|
2422
|
+
} catch (error1) {
|
|
2423
|
+
try {
|
|
2424
|
+
regexp[MATCH] = false;
|
|
2425
|
+
return '/./'[METHOD_NAME](regexp);
|
|
2426
|
+
} catch (error2) { /* empty */ }
|
|
2427
|
+
} return false;
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
var $$a = _export;
|
|
2431
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2432
|
+
var notARegExp = notARegexp;
|
|
2433
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
2434
|
+
var toString = toString$1;
|
|
2435
|
+
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
2436
|
+
|
|
2437
|
+
var stringIndexOf = uncurryThis$5(''.indexOf);
|
|
2438
|
+
|
|
2439
|
+
// `String.prototype.includes` method
|
|
2440
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
2441
|
+
$$a({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
2442
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
2443
|
+
return !!~stringIndexOf(
|
|
2444
|
+
toString(requireObjectCoercible$1(this)),
|
|
2445
|
+
toString(notARegExp(searchString)),
|
|
2446
|
+
arguments.length > 1 ? arguments[1] : undefined
|
|
2447
|
+
);
|
|
2448
|
+
}
|
|
2449
|
+
});
|
|
2450
|
+
|
|
2451
|
+
// Client-facing capability returned by the Genie `/status` API. When on, the
|
|
2452
|
+
// server expects the browser timezone in `request_vars.timezone`.
|
|
2453
|
+
const INCLUDE_TIME_CAPABILITY = 'include_time';
|
|
2454
|
+
const TIMEZONE_VARIABLE_NAME = 'timezone';
|
|
2455
|
+
// IANA zone name (e.g. "Asia/Tokyo"), or undefined when Intl can't resolve it.
|
|
2456
|
+
const getBrowserTimezone = () => {
|
|
2457
|
+
try {
|
|
2458
|
+
return Intl.DateTimeFormat().resolvedOptions().timeZone || undefined;
|
|
2459
|
+
} catch (_a) {
|
|
2460
|
+
return undefined;
|
|
2461
|
+
}
|
|
2462
|
+
};
|
|
2463
|
+
// Request variables the client adds on its own, based on the capabilities the
|
|
2464
|
+
// server reported. Empty when the server didn't report any (older servers).
|
|
2465
|
+
const buildClientRequestVars = serverCapabilities => {
|
|
2466
|
+
if (!(serverCapabilities === null || serverCapabilities === void 0 ? void 0 : serverCapabilities.includes(INCLUDE_TIME_CAPABILITY))) {
|
|
2467
|
+
return {};
|
|
2468
|
+
}
|
|
2469
|
+
const timezone = getBrowserTimezone();
|
|
2470
|
+
return timezone ? {
|
|
2471
|
+
[TIMEZONE_VARIABLE_NAME]: timezone
|
|
2472
|
+
} : {};
|
|
2473
|
+
};
|
|
2474
|
+
|
|
2343
2475
|
/**
|
|
2344
2476
|
This list is closed and SHOULD NOT be updates.
|
|
2345
2477
|
it contains the tools that we had prior to moving them to new experience
|
|
@@ -2398,6 +2530,14 @@ const kalturaSchema = {
|
|
|
2398
2530
|
allowUnknownProperties: true,
|
|
2399
2531
|
properties: {}
|
|
2400
2532
|
},
|
|
2533
|
+
serverCapabilities: {
|
|
2534
|
+
type: 'array',
|
|
2535
|
+
optional: true,
|
|
2536
|
+
items: {
|
|
2537
|
+
type: 'primitive',
|
|
2538
|
+
value: 'string'
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2401
2541
|
// @deprecated - kept for backward compatibility
|
|
2402
2542
|
entryId: {
|
|
2403
2543
|
type: 'primitive',
|
|
@@ -2550,6 +2690,7 @@ const avatarRuntimeSettingsSchema = {
|
|
|
2550
2690
|
value: 'string',
|
|
2551
2691
|
optional: true
|
|
2552
2692
|
},
|
|
2693
|
+
getSourceUrl: getSourceUrlSchema,
|
|
2553
2694
|
kaltura: kalturaSchema,
|
|
2554
2695
|
features: featuresSchema,
|
|
2555
2696
|
multipleAvatarBehavior: multipleAvatarBehaviorSchema
|
|
@@ -2578,6 +2719,7 @@ const avatarRuntimeSettingsSchema = {
|
|
|
2578
2719
|
value: 'string',
|
|
2579
2720
|
optional: true
|
|
2580
2721
|
},
|
|
2722
|
+
getSourceUrl: getSourceUrlSchema,
|
|
2581
2723
|
kaltura: kalturaSchema,
|
|
2582
2724
|
features: featuresSchema,
|
|
2583
2725
|
multipleAvatarBehavior: multipleAvatarBehaviorSchema
|
|
@@ -2702,35 +2844,35 @@ var correctPrototypeGetter = !fails$4(function () {
|
|
|
2702
2844
|
});
|
|
2703
2845
|
|
|
2704
2846
|
var hasOwn$2 = hasOwnProperty_1;
|
|
2705
|
-
var isCallable$
|
|
2847
|
+
var isCallable$3 = isCallable$f;
|
|
2706
2848
|
var toObject = toObject$3;
|
|
2707
2849
|
var sharedKey = sharedKey$3;
|
|
2708
2850
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
2709
2851
|
|
|
2710
2852
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
2711
|
-
var $Object
|
|
2712
|
-
var ObjectPrototype = $Object
|
|
2853
|
+
var $Object = Object;
|
|
2854
|
+
var ObjectPrototype = $Object.prototype;
|
|
2713
2855
|
|
|
2714
2856
|
// `Object.getPrototypeOf` method
|
|
2715
2857
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
2716
2858
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2717
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object
|
|
2859
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2718
2860
|
var object = toObject(O);
|
|
2719
2861
|
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
2720
2862
|
var constructor = object.constructor;
|
|
2721
|
-
if (isCallable$
|
|
2863
|
+
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
2722
2864
|
return constructor.prototype;
|
|
2723
|
-
} return object instanceof $Object
|
|
2865
|
+
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2724
2866
|
};
|
|
2725
2867
|
|
|
2726
2868
|
var fails$3 = fails$f;
|
|
2727
|
-
var isCallable$
|
|
2728
|
-
var isObject$2 = isObject$
|
|
2869
|
+
var isCallable$2 = isCallable$f;
|
|
2870
|
+
var isObject$2 = isObject$9;
|
|
2729
2871
|
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
2730
2872
|
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
2731
|
-
var wellKnownSymbol$
|
|
2873
|
+
var wellKnownSymbol$6 = wellKnownSymbol$d;
|
|
2732
2874
|
|
|
2733
|
-
var ITERATOR$5 = wellKnownSymbol$
|
|
2875
|
+
var ITERATOR$5 = wellKnownSymbol$6('iterator');
|
|
2734
2876
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
2735
2877
|
|
|
2736
2878
|
// `%IteratorPrototype%` object
|
|
@@ -2758,7 +2900,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$3 = {};
|
|
|
2758
2900
|
|
|
2759
2901
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
2760
2902
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
2761
|
-
if (!isCallable$
|
|
2903
|
+
if (!isCallable$2(IteratorPrototype$3[ITERATOR$5])) {
|
|
2762
2904
|
defineBuiltIn$1(IteratorPrototype$3, ITERATOR$5, function () {
|
|
2763
2905
|
return this;
|
|
2764
2906
|
});
|
|
@@ -2771,14 +2913,14 @@ var iteratorsCore = {
|
|
|
2771
2913
|
|
|
2772
2914
|
var defineProperty$2 = objectDefineProperty.f;
|
|
2773
2915
|
var hasOwn$1 = hasOwnProperty_1;
|
|
2774
|
-
var wellKnownSymbol$
|
|
2916
|
+
var wellKnownSymbol$5 = wellKnownSymbol$d;
|
|
2775
2917
|
|
|
2776
|
-
var TO_STRING_TAG$
|
|
2918
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
2777
2919
|
|
|
2778
2920
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
2779
2921
|
if (target && !STATIC) target = target.prototype;
|
|
2780
|
-
if (target && !hasOwn$1(target, TO_STRING_TAG$
|
|
2781
|
-
defineProperty$2(target, TO_STRING_TAG$
|
|
2922
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {
|
|
2923
|
+
defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
2782
2924
|
}
|
|
2783
2925
|
};
|
|
2784
2926
|
|
|
@@ -2808,7 +2950,7 @@ var functionUncurryThisAccessor = function (object, key, method) {
|
|
|
2808
2950
|
} catch (error) { /* empty */ }
|
|
2809
2951
|
};
|
|
2810
2952
|
|
|
2811
|
-
var isObject$1 = isObject$
|
|
2953
|
+
var isObject$1 = isObject$9;
|
|
2812
2954
|
|
|
2813
2955
|
var isPossiblePrototype$1 = function (argument) {
|
|
2814
2956
|
return isObject$1(argument) || argument === null;
|
|
@@ -2826,8 +2968,8 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
2826
2968
|
|
|
2827
2969
|
/* eslint-disable no-proto -- safe */
|
|
2828
2970
|
var uncurryThisAccessor$1 = functionUncurryThisAccessor;
|
|
2829
|
-
var isObject = isObject$
|
|
2830
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
2971
|
+
var isObject = isObject$9;
|
|
2972
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
2831
2973
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
2832
2974
|
|
|
2833
2975
|
// `Object.setPrototypeOf` method
|
|
@@ -2856,14 +2998,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2856
2998
|
var $$9 = _export;
|
|
2857
2999
|
var call$6 = functionCall;
|
|
2858
3000
|
var FunctionName = functionName;
|
|
2859
|
-
var isCallable$
|
|
3001
|
+
var isCallable$1 = isCallable$f;
|
|
2860
3002
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2861
3003
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2862
3004
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2863
3005
|
var setToStringTag$1 = setToStringTag$3;
|
|
2864
3006
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
2865
3007
|
var defineBuiltIn = defineBuiltIn$3;
|
|
2866
|
-
var wellKnownSymbol$
|
|
3008
|
+
var wellKnownSymbol$4 = wellKnownSymbol$d;
|
|
2867
3009
|
var Iterators$3 = iterators;
|
|
2868
3010
|
var IteratorsCore = iteratorsCore;
|
|
2869
3011
|
|
|
@@ -2871,7 +3013,7 @@ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
|
2871
3013
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2872
3014
|
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
2873
3015
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2874
|
-
var ITERATOR$4 = wellKnownSymbol$
|
|
3016
|
+
var ITERATOR$4 = wellKnownSymbol$4('iterator');
|
|
2875
3017
|
var KEYS = 'keys';
|
|
2876
3018
|
var VALUES = 'values';
|
|
2877
3019
|
var ENTRIES = 'entries';
|
|
@@ -2911,7 +3053,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2911
3053
|
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
2912
3054
|
if (setPrototypeOf) {
|
|
2913
3055
|
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
2914
|
-
} else if (!isCallable$
|
|
3056
|
+
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$4])) {
|
|
2915
3057
|
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
|
2916
3058
|
}
|
|
2917
3059
|
}
|
|
@@ -3579,9 +3721,9 @@ var DOMTokenListPrototype = domTokenListPrototype;
|
|
|
3579
3721
|
var ArrayIteratorMethods = es_array_iterator;
|
|
3580
3722
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
3581
3723
|
var setToStringTag = setToStringTag$3;
|
|
3582
|
-
var wellKnownSymbol$
|
|
3724
|
+
var wellKnownSymbol$3 = wellKnownSymbol$d;
|
|
3583
3725
|
|
|
3584
|
-
var ITERATOR$3 = wellKnownSymbol$
|
|
3726
|
+
var ITERATOR$3 = wellKnownSymbol$3('iterator');
|
|
3585
3727
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
3586
3728
|
|
|
3587
3729
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
@@ -3739,25 +3881,25 @@ var $$1 = _export;
|
|
|
3739
3881
|
var globalThis$2 = globalThis_1;
|
|
3740
3882
|
var anInstance = anInstance$1;
|
|
3741
3883
|
var anObject$3 = anObject$a;
|
|
3742
|
-
var isCallable
|
|
3884
|
+
var isCallable = isCallable$f;
|
|
3743
3885
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
3744
3886
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
3745
3887
|
var createProperty = createProperty$1;
|
|
3746
3888
|
var fails = fails$f;
|
|
3747
3889
|
var hasOwn = hasOwnProperty_1;
|
|
3748
|
-
var wellKnownSymbol$
|
|
3890
|
+
var wellKnownSymbol$2 = wellKnownSymbol$d;
|
|
3749
3891
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3750
3892
|
var DESCRIPTORS = descriptors;
|
|
3751
3893
|
|
|
3752
3894
|
var CONSTRUCTOR = 'constructor';
|
|
3753
3895
|
var ITERATOR$2 = 'Iterator';
|
|
3754
|
-
var TO_STRING_TAG
|
|
3896
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
3755
3897
|
|
|
3756
3898
|
var $TypeError$2 = TypeError;
|
|
3757
3899
|
var NativeIterator = globalThis$2[ITERATOR$2];
|
|
3758
3900
|
|
|
3759
3901
|
// FF56- have non-standard global helper `Iterator`
|
|
3760
|
-
var FORCED = !isCallable
|
|
3902
|
+
var FORCED = !isCallable(NativeIterator)
|
|
3761
3903
|
|| NativeIterator.prototype !== IteratorPrototype
|
|
3762
3904
|
// FF44- non-standard `Iterator` passes previous tests
|
|
3763
3905
|
|| !fails(function () { NativeIterator({}); });
|
|
@@ -3784,7 +3926,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
3784
3926
|
} else IteratorPrototype[key] = value;
|
|
3785
3927
|
};
|
|
3786
3928
|
|
|
3787
|
-
if (!hasOwn(IteratorPrototype, TO_STRING_TAG
|
|
3929
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR$2);
|
|
3788
3930
|
|
|
3789
3931
|
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
3790
3932
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
@@ -3798,14 +3940,14 @@ $$1({ global: true, constructor: true, forced: FORCED }, {
|
|
|
3798
3940
|
Iterator: IteratorConstructor
|
|
3799
3941
|
});
|
|
3800
3942
|
|
|
3801
|
-
var classofRaw
|
|
3943
|
+
var classofRaw = classofRaw$2;
|
|
3802
3944
|
var uncurryThis$1 = functionUncurryThis;
|
|
3803
3945
|
|
|
3804
3946
|
var functionUncurryThisClause = function (fn) {
|
|
3805
3947
|
// Nashorn bug:
|
|
3806
3948
|
// https://github.com/zloirock/core-js/issues/1128
|
|
3807
3949
|
// https://github.com/zloirock/core-js/issues/1130
|
|
3808
|
-
if (classofRaw
|
|
3950
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
|
|
3809
3951
|
};
|
|
3810
3952
|
|
|
3811
3953
|
var uncurryThis = functionUncurryThisClause;
|
|
@@ -3822,10 +3964,10 @@ var functionBindContext = function (fn, that) {
|
|
|
3822
3964
|
};
|
|
3823
3965
|
};
|
|
3824
3966
|
|
|
3825
|
-
var wellKnownSymbol$
|
|
3967
|
+
var wellKnownSymbol$1 = wellKnownSymbol$d;
|
|
3826
3968
|
var Iterators$1 = iterators;
|
|
3827
3969
|
|
|
3828
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
3970
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
3829
3971
|
var ArrayPrototype = Array.prototype;
|
|
3830
3972
|
|
|
3831
3973
|
// check on default Array iterator
|
|
@@ -3833,50 +3975,11 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
3833
3975
|
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
3834
3976
|
};
|
|
3835
3977
|
|
|
3836
|
-
var
|
|
3837
|
-
|
|
3838
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
3839
|
-
var test = {};
|
|
3840
|
-
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
3841
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
3842
|
-
|
|
3843
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
3844
|
-
|
|
3845
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3846
|
-
var isCallable = isCallable$f;
|
|
3847
|
-
var classofRaw = classofRaw$2;
|
|
3848
|
-
var wellKnownSymbol$1 = wellKnownSymbol$b;
|
|
3849
|
-
|
|
3850
|
-
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
3851
|
-
var $Object = Object;
|
|
3852
|
-
|
|
3853
|
-
// ES3 wrong here
|
|
3854
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
3855
|
-
|
|
3856
|
-
// fallback for IE11 Script Access Denied error
|
|
3857
|
-
var tryGet = function (it, key) {
|
|
3858
|
-
try {
|
|
3859
|
-
return it[key];
|
|
3860
|
-
} catch (error) { /* empty */ }
|
|
3861
|
-
};
|
|
3862
|
-
|
|
3863
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
3864
|
-
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
3865
|
-
var O, tag, result;
|
|
3866
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
3867
|
-
// @@toStringTag case
|
|
3868
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
3869
|
-
// builtinTag case
|
|
3870
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
3871
|
-
// ES3 arguments fallback
|
|
3872
|
-
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
3873
|
-
};
|
|
3874
|
-
|
|
3875
|
-
var classof = classof$1;
|
|
3978
|
+
var classof = classof$2;
|
|
3876
3979
|
var getMethod = getMethod$3;
|
|
3877
3980
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
3878
3981
|
var Iterators = iterators;
|
|
3879
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
3982
|
+
var wellKnownSymbol = wellKnownSymbol$d;
|
|
3880
3983
|
|
|
3881
3984
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
3882
3985
|
|
|
@@ -4059,4 +4162,4 @@ function isTextBlock(b) {
|
|
|
4059
4162
|
}
|
|
4060
4163
|
const hasSources = blocks => blocks.some(b => b.type === 'unisphere-tool' && b.runtimeName === 'sources-tool');
|
|
4061
4164
|
|
|
4062
|
-
export { AVATAR_DEFAULT_CAPABILITIES, AnswerModelEnum, AnswerTypeEnum, AvatarConnectionStatus, AvatarRuntimeName, CHAT_CONTEXT_TYPE, CHAT_CONTEXT_TYPE_GLOBAL, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ChatThreadRuntimeName, DeviceType, DisconnectReasons, SUPPORTED_LAYOUT_TYPES, agentModeSchema, avatarContainerModeSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeConnectSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeFloaterVisualSettingsSchema, avatarRuntimeHeadFloaterVisualSettingsSchema, avatarRuntimeHeadlessVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, chatContextSchema, chatCustomizationSchema, chatCustomizationSchemaProperties, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, chatThreadRuntimeContainedVisualSettingsSchema, chatThreadRuntimeSettingsSchema, containedVisualSettingsSchema, dynamicVariablesSchema, floaterCTAVisualSettingsSchema, floaterVisualSettingsSchema, getAvatarDefaultCapabilities, getChatDefaultCapabilities, getResolvedRuntimeName, getResolvedWidgetName, getSourceUrlSchema, hasSources, integrationsSchema, isAvatarConnectionProxyInternalType, isFlashcardBlock, isFlashcardElement, isFollowupsBlock, isFollowupsElement, isPDFSourceItem, isSourcesBlock, isSourcesElement, isTextBlock, isTextFlashcard, isVideoGalleryFlashcard, isVideoSourceItem, multipleAvatarBehaviorSchema, pageVisualSettingsSchema, popupVisualSettingsSchema, resolveActiveContextType, schemaVersionSchema, shareUrlSchema, widgetName };
|
|
4165
|
+
export { AVATAR_DEFAULT_CAPABILITIES, AnswerModelEnum, AnswerTypeEnum, AvatarConnectionStatus, AvatarRuntimeName, CHAT_CONTEXT_TYPE, CHAT_CONTEXT_TYPE_GLOBAL, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ChatThreadRuntimeName, DeviceType, DisconnectReasons, INCLUDE_TIME_CAPABILITY, SUPPORTED_LAYOUT_TYPES, TIMEZONE_VARIABLE_NAME, agentModeSchema, avatarContainerModeSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeConnectSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeFloaterVisualSettingsSchema, avatarRuntimeHeadFloaterVisualSettingsSchema, avatarRuntimeHeadlessVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, buildClientRequestVars, chatContextSchema, chatCustomizationSchema, chatCustomizationSchemaProperties, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, chatThreadRuntimeContainedVisualSettingsSchema, chatThreadRuntimeSettingsSchema, containedVisualSettingsSchema, dynamicVariablesSchema, floaterCTAVisualSettingsSchema, floaterVisualSettingsSchema, getAvatarDefaultCapabilities, getBrowserTimezone, getChatDefaultCapabilities, getResolvedRuntimeName, getResolvedWidgetName, getSourceUrlSchema, hasSources, integrationsSchema, isAvatarConnectionProxyInternalType, isFlashcardBlock, isFlashcardElement, isFollowupsBlock, isFollowupsElement, isPDFSourceItem, isSourcesBlock, isSourcesElement, isTextBlock, isTextFlashcard, isVideoGalleryFlashcard, isVideoSourceItem, multipleAvatarBehaviorSchema, pageVisualSettingsSchema, popupVisualSettingsSchema, resolveActiveContextType, schemaVersionSchema, shareUrlSchema, widgetName };
|
package/package.json
CHANGED
|
@@ -36,7 +36,11 @@ export interface AvatarServiceType extends UnisphereService {
|
|
|
36
36
|
uiConfId: string;
|
|
37
37
|
ks: string;
|
|
38
38
|
} | null;
|
|
39
|
-
|
|
39
|
+
/** Present only when the host provided a source URL resolver */
|
|
40
|
+
getEntrySourceUrl?: (entryId: string, startTime?: number) => string | {
|
|
41
|
+
url: string;
|
|
42
|
+
target: string;
|
|
43
|
+
};
|
|
40
44
|
clearContent(): void;
|
|
41
45
|
askViaText(question: string): void;
|
|
42
46
|
/** Start a tap-to-talk recording. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TinyDataStoreConsumer, ValidatorSchema } from '@unisphere/core';
|
|
2
2
|
import { UnisphereRuntimeBaseType } from '@unisphere/runtime';
|
|
3
3
|
import { widgetName } from '../widget-types';
|
|
4
|
-
import { ChatContext, GenieCapabilities } from '../chat-runtime/shared-settings';
|
|
4
|
+
import { ChatContext, GenieCapabilities, GlobalChatSettings } from '../chat-runtime/shared-settings';
|
|
5
5
|
import { AgentData, AgentScreenShareInfo, AgentTapToTalkInfo, AvatarConnectionStatus, CaptionConfig, CaptionState, DisconnectReasons, MultipleAvatarBehavior } from './shared-types';
|
|
6
6
|
import { ChatEntry } from './chat-types';
|
|
7
7
|
/** Runtime name constant for avatar experiences */
|
|
@@ -160,6 +160,8 @@ export type AvatarRuntimeSettings = {
|
|
|
160
160
|
everywhere?: boolean;
|
|
161
161
|
/** Genie capability overrides — defaults applied per API if absent */
|
|
162
162
|
capabilities?: GenieCapabilities;
|
|
163
|
+
/** Client-facing capabilities turned on for the partner, as returned by the Genie `/status` API (e.g. `include_time`) */
|
|
164
|
+
serverCapabilities?: string[];
|
|
163
165
|
/** Kaltura server URI */
|
|
164
166
|
kalturaServerURI?: string;
|
|
165
167
|
/** Kaltura partner ID */
|
|
@@ -195,6 +197,8 @@ export type AvatarRuntimeSettings = {
|
|
|
195
197
|
};
|
|
196
198
|
/** Full URL to POST client-tool-call responses to (e.g. `https://genie.example.com/assistant/tool_response`). Required for client tool calls to receive a response. Applies to both `manual` and `studio` modes. */
|
|
197
199
|
clientToolResponseUrl?: string;
|
|
200
|
+
/** Callback to generate source URLs for an entry. When absent, source links are not shown. */
|
|
201
|
+
getSourceUrl?: GlobalChatSettings['getSourceUrl'];
|
|
198
202
|
/** What happens when several avatars share the page and one is already in a call. Defaults to `{ preventDisconnections: false }`. */
|
|
199
203
|
multipleAvatarBehavior?: MultipleAvatarBehavior;
|
|
200
204
|
} & (({
|
|
@@ -453,7 +453,7 @@ export interface AvatarClientManagerType {
|
|
|
453
453
|
readonly clientToolCallLog: TinyDataStoreConsumer<ClientToolCallLogEntry[]>;
|
|
454
454
|
/** Observable persistent thread identifier */
|
|
455
455
|
readonly threadId: TinyDataStoreConsumer<string | null>;
|
|
456
|
-
/**
|
|
456
|
+
/** @deprecated only writes the `threadId` store; it does not affect `connect()`. Pass `connect({ context })` instead. */
|
|
457
457
|
setExternalThreadId(id: string | null): void;
|
|
458
458
|
/** Observable preview mode flag */
|
|
459
459
|
readonly isPreviewMode: TinyDataStoreConsumer<boolean>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const INCLUDE_TIME_CAPABILITY = "include_time";
|
|
2
|
+
export declare const TIMEZONE_VARIABLE_NAME = "timezone";
|
|
3
|
+
export declare const getBrowserTimezone: () => string | undefined;
|
|
4
|
+
export declare const buildClientRequestVars: (serverCapabilities: string[] | undefined) => Record<string, string>;
|
|
@@ -37,8 +37,8 @@ export interface GenieChatServiceType extends UnisphereService {
|
|
|
37
37
|
getClipPlayerUrl?: (source: ClassGenieGetClipPlayerUrlData) => string | null;
|
|
38
38
|
/** Generate poster/thumbnail URL for video clip */
|
|
39
39
|
getClipPlayerPosterUrl: (source: ClassGenieGetClipPlayerPosterUrlData) => string;
|
|
40
|
-
/** Generate source URL for media entry with optional start time */
|
|
41
|
-
getEntrySourceUrl
|
|
40
|
+
/** Generate source URL for media entry with optional start time. Present only when the host provided a source URL resolver */
|
|
41
|
+
getEntrySourceUrl?: (entryId: string, startTime?: number) => string | {
|
|
42
42
|
url: string;
|
|
43
43
|
target: string;
|
|
44
44
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UnisphereService } from '@unisphere/runtime';
|
|
2
|
+
import { TinyDataStoreConsumer, TinyPubSub } from '@unisphere/core';
|
|
3
|
+
/** Who wrote the thread id. Subscribers use it (with `source`) to skip their own writes. */
|
|
4
|
+
export type ThreadOrigin = 'chat' | 'avatar' | 'host';
|
|
5
|
+
export type ThreadIdChange = {
|
|
6
|
+
threadId: string | null;
|
|
7
|
+
previous: string | null;
|
|
8
|
+
origin: ThreadOrigin;
|
|
9
|
+
/** Identifies the individual writer within an origin (e.g. one chat machine of several in a workspace) */
|
|
10
|
+
source?: unknown;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Single source of truth for the active thread id, shared by the chat and
|
|
14
|
+
* avatar runtimes (either one may be absent). Whichever runtime is created
|
|
15
|
+
* first registers it on the workspace.
|
|
16
|
+
*/
|
|
17
|
+
export interface GenieThreadServiceType extends UnisphereService {
|
|
18
|
+
id: 'unisphere.widget.genie.thread-id';
|
|
19
|
+
/** `null` = no thread yet / new thread */
|
|
20
|
+
threadId: TinyDataStoreConsumer<string | null>;
|
|
21
|
+
/** Emits only on a real change */
|
|
22
|
+
changes: TinyPubSub<ThreadIdChange>;
|
|
23
|
+
/** No-op when the value is unchanged, so echo loops cannot form */
|
|
24
|
+
set(threadId: string | null, origin: ThreadOrigin, source?: unknown): void;
|
|
25
|
+
}
|