videomail-client 13.6.4 → 13.6.6
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/dist/cjs/index.cjs +169 -165
- package/dist/esm/index.js +144 -135
- package/dist/esm/wrappers/visuals/recorder.d.ts +1 -1
- package/dist/esm/wrappers/visuals.d.ts +1 -1
- package/dist/umd/index.js +162 -153
- package/package.json +14 -14
package/dist/esm/index.js
CHANGED
|
@@ -13,15 +13,15 @@ import websocket_stream from "websocket-stream";
|
|
|
13
13
|
import audio_sample from "audio-sample";
|
|
14
14
|
import is_power_of_two from "is-power-of-two";
|
|
15
15
|
var __webpack_modules__ = {
|
|
16
|
-
"./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
|
|
16
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
__webpack_require__.d(__webpack_exports__, {
|
|
18
18
|
A: ()=>__rspack_default_export
|
|
19
19
|
});
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var ___CSS_LOADER_EXPORT___ =
|
|
20
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
21
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
22
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
23
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
24
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
25
25
|
___CSS_LOADER_EXPORT___.push([
|
|
26
26
|
module.id,
|
|
27
27
|
`@keyframes blink {
|
|
@@ -171,7 +171,7 @@ var __webpack_modules__ = {
|
|
|
171
171
|
exports.fromByteArray = fromByteArray;
|
|
172
172
|
var lookup = [];
|
|
173
173
|
var revLookup = [];
|
|
174
|
-
var Arr =
|
|
174
|
+
var Arr = "u" > typeof Uint8Array ? Uint8Array : Array;
|
|
175
175
|
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
176
176
|
for(var i = 0, len = code.length; i < len; ++i){
|
|
177
177
|
lookup[i] = code[i];
|
|
@@ -269,7 +269,7 @@ var __webpack_modules__ = {
|
|
|
269
269
|
var K_MAX_LENGTH = 0x7fffffff;
|
|
270
270
|
exports.kMaxLength = K_MAX_LENGTH;
|
|
271
271
|
Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
272
|
-
if (!Buffer.TYPED_ARRAY_SUPPORT &&
|
|
272
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && "u" > typeof console && 'function' == typeof console.error) console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
|
|
273
273
|
function typedArraySupport() {
|
|
274
274
|
try {
|
|
275
275
|
var arr = new Uint8Array(1);
|
|
@@ -318,13 +318,13 @@ var __webpack_modules__ = {
|
|
|
318
318
|
if (ArrayBuffer.isView(value)) return fromArrayView(value);
|
|
319
319
|
if (null == value) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
|
|
320
320
|
if (isInstance(value, ArrayBuffer) || value && isInstance(value.buffer, ArrayBuffer)) return fromArrayBuffer(value, encodingOrOffset, length);
|
|
321
|
-
if (
|
|
321
|
+
if ("u" > typeof SharedArrayBuffer && (isInstance(value, SharedArrayBuffer) || value && isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
|
|
322
322
|
if ('number' == typeof value) throw new TypeError('The "value" argument must not be of type number. Received type number');
|
|
323
323
|
var valueOf = value.valueOf && value.valueOf();
|
|
324
324
|
if (null != valueOf && valueOf !== value) return Buffer.from(valueOf, encodingOrOffset, length);
|
|
325
325
|
var b = fromObject(value);
|
|
326
326
|
if (b) return b;
|
|
327
|
-
if (
|
|
327
|
+
if ("u" > typeof Symbol && null != Symbol.toPrimitive && 'function' == typeof value[Symbol.toPrimitive]) return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length);
|
|
328
328
|
throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
|
|
329
329
|
}
|
|
330
330
|
Buffer.from = function(value, encodingOrOffset, length) {
|
|
@@ -1368,7 +1368,7 @@ var __webpack_modules__ = {
|
|
|
1368
1368
|
};
|
|
1369
1369
|
},
|
|
1370
1370
|
"./node_modules/call-bind-apply-helpers/reflectApply.js" (module) {
|
|
1371
|
-
module.exports =
|
|
1371
|
+
module.exports = "u" > typeof Reflect && Reflect && Reflect.apply;
|
|
1372
1372
|
},
|
|
1373
1373
|
"./node_modules/call-bind/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1374
1374
|
var setFunctionLength = __webpack_require__("./node_modules/set-function-length/index.js");
|
|
@@ -1612,24 +1612,24 @@ var __webpack_modules__ = {
|
|
|
1612
1612
|
var $apply = __webpack_require__("./node_modules/call-bind-apply-helpers/functionApply.js");
|
|
1613
1613
|
var $call = __webpack_require__("./node_modules/call-bind-apply-helpers/functionCall.js");
|
|
1614
1614
|
var needsEval = {};
|
|
1615
|
-
var TypedArray =
|
|
1615
|
+
var TypedArray = "u" > typeof Uint8Array && getProto ? getProto(Uint8Array) : undefined;
|
|
1616
1616
|
var INTRINSICS = {
|
|
1617
1617
|
__proto__: null,
|
|
1618
|
-
'%AggregateError%':
|
|
1618
|
+
'%AggregateError%': "u" < typeof AggregateError ? undefined : AggregateError,
|
|
1619
1619
|
'%Array%': Array,
|
|
1620
|
-
'%ArrayBuffer%':
|
|
1620
|
+
'%ArrayBuffer%': "u" < typeof ArrayBuffer ? undefined : ArrayBuffer,
|
|
1621
1621
|
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
1622
1622
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
1623
1623
|
'%AsyncFunction%': needsEval,
|
|
1624
1624
|
'%AsyncGenerator%': needsEval,
|
|
1625
1625
|
'%AsyncGeneratorFunction%': needsEval,
|
|
1626
1626
|
'%AsyncIteratorPrototype%': needsEval,
|
|
1627
|
-
'%Atomics%':
|
|
1628
|
-
'%BigInt%':
|
|
1629
|
-
'%BigInt64Array%':
|
|
1630
|
-
'%BigUint64Array%':
|
|
1627
|
+
'%Atomics%': "u" < typeof Atomics ? undefined : Atomics,
|
|
1628
|
+
'%BigInt%': "u" < typeof BigInt ? undefined : BigInt,
|
|
1629
|
+
'%BigInt64Array%': "u" < typeof BigInt64Array ? undefined : BigInt64Array,
|
|
1630
|
+
'%BigUint64Array%': "u" < typeof BigUint64Array ? undefined : BigUint64Array,
|
|
1631
1631
|
'%Boolean%': Boolean,
|
|
1632
|
-
'%DataView%':
|
|
1632
|
+
'%DataView%': "u" < typeof DataView ? undefined : DataView,
|
|
1633
1633
|
'%Date%': Date,
|
|
1634
1634
|
'%decodeURI%': decodeURI,
|
|
1635
1635
|
'%decodeURIComponent%': decodeURIComponent,
|
|
@@ -1638,36 +1638,36 @@ var __webpack_modules__ = {
|
|
|
1638
1638
|
'%Error%': $Error,
|
|
1639
1639
|
'%eval%': eval,
|
|
1640
1640
|
'%EvalError%': $EvalError,
|
|
1641
|
-
'%Float16Array%':
|
|
1642
|
-
'%Float32Array%':
|
|
1643
|
-
'%Float64Array%':
|
|
1644
|
-
'%FinalizationRegistry%':
|
|
1641
|
+
'%Float16Array%': "u" < typeof Float16Array ? undefined : Float16Array,
|
|
1642
|
+
'%Float32Array%': "u" < typeof Float32Array ? undefined : Float32Array,
|
|
1643
|
+
'%Float64Array%': "u" < typeof Float64Array ? undefined : Float64Array,
|
|
1644
|
+
'%FinalizationRegistry%': "u" < typeof FinalizationRegistry ? undefined : FinalizationRegistry,
|
|
1645
1645
|
'%Function%': $Function,
|
|
1646
1646
|
'%GeneratorFunction%': needsEval,
|
|
1647
|
-
'%Int8Array%':
|
|
1648
|
-
'%Int16Array%':
|
|
1649
|
-
'%Int32Array%':
|
|
1647
|
+
'%Int8Array%': "u" < typeof Int8Array ? undefined : Int8Array,
|
|
1648
|
+
'%Int16Array%': "u" < typeof Int16Array ? undefined : Int16Array,
|
|
1649
|
+
'%Int32Array%': "u" < typeof Int32Array ? undefined : Int32Array,
|
|
1650
1650
|
'%isFinite%': isFinite,
|
|
1651
1651
|
'%isNaN%': isNaN,
|
|
1652
1652
|
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
1653
1653
|
'%JSON%': 'object' == typeof JSON ? JSON : undefined,
|
|
1654
|
-
'%Map%':
|
|
1655
|
-
'%MapIteratorPrototype%':
|
|
1654
|
+
'%Map%': "u" < typeof Map ? undefined : Map,
|
|
1655
|
+
'%MapIteratorPrototype%': "u" > typeof Map && hasSymbols && getProto ? getProto(new Map()[Symbol.iterator]()) : undefined,
|
|
1656
1656
|
'%Math%': Math,
|
|
1657
1657
|
'%Number%': Number,
|
|
1658
1658
|
'%Object%': $Object,
|
|
1659
1659
|
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
1660
1660
|
'%parseFloat%': parseFloat,
|
|
1661
1661
|
'%parseInt%': parseInt,
|
|
1662
|
-
'%Promise%':
|
|
1663
|
-
'%Proxy%':
|
|
1662
|
+
'%Promise%': "u" < typeof Promise ? undefined : Promise,
|
|
1663
|
+
'%Proxy%': "u" < typeof Proxy ? undefined : Proxy,
|
|
1664
1664
|
'%RangeError%': $RangeError,
|
|
1665
1665
|
'%ReferenceError%': $ReferenceError,
|
|
1666
|
-
'%Reflect%':
|
|
1666
|
+
'%Reflect%': "u" < typeof Reflect ? undefined : Reflect,
|
|
1667
1667
|
'%RegExp%': RegExp,
|
|
1668
|
-
'%Set%':
|
|
1669
|
-
'%SetIteratorPrototype%':
|
|
1670
|
-
'%SharedArrayBuffer%':
|
|
1668
|
+
'%Set%': "u" < typeof Set ? undefined : Set,
|
|
1669
|
+
'%SetIteratorPrototype%': "u" > typeof Set && hasSymbols && getProto ? getProto(new Set()[Symbol.iterator]()) : undefined,
|
|
1670
|
+
'%SharedArrayBuffer%': "u" < typeof SharedArrayBuffer ? undefined : SharedArrayBuffer,
|
|
1671
1671
|
'%String%': String,
|
|
1672
1672
|
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
1673
1673
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
@@ -1675,14 +1675,14 @@ var __webpack_modules__ = {
|
|
|
1675
1675
|
'%ThrowTypeError%': ThrowTypeError,
|
|
1676
1676
|
'%TypedArray%': TypedArray,
|
|
1677
1677
|
'%TypeError%': $TypeError,
|
|
1678
|
-
'%Uint8Array%':
|
|
1679
|
-
'%Uint8ClampedArray%':
|
|
1680
|
-
'%Uint16Array%':
|
|
1681
|
-
'%Uint32Array%':
|
|
1678
|
+
'%Uint8Array%': "u" < typeof Uint8Array ? undefined : Uint8Array,
|
|
1679
|
+
'%Uint8ClampedArray%': "u" < typeof Uint8ClampedArray ? undefined : Uint8ClampedArray,
|
|
1680
|
+
'%Uint16Array%': "u" < typeof Uint16Array ? undefined : Uint16Array,
|
|
1681
|
+
'%Uint32Array%': "u" < typeof Uint32Array ? undefined : Uint32Array,
|
|
1682
1682
|
'%URIError%': $URIError,
|
|
1683
|
-
'%WeakMap%':
|
|
1684
|
-
'%WeakRef%':
|
|
1685
|
-
'%WeakSet%':
|
|
1683
|
+
'%WeakMap%': "u" < typeof WeakMap ? undefined : WeakMap,
|
|
1684
|
+
'%WeakRef%': "u" < typeof WeakRef ? undefined : WeakRef,
|
|
1685
|
+
'%WeakSet%': "u" < typeof WeakSet ? undefined : WeakSet,
|
|
1686
1686
|
'%Function.prototype.call%': $call,
|
|
1687
1687
|
'%Function.prototype.apply%': $apply,
|
|
1688
1688
|
'%Object.defineProperty%': $defineProperty,
|
|
@@ -2023,7 +2023,7 @@ var __webpack_modules__ = {
|
|
|
2023
2023
|
module.exports = $Object.getPrototypeOf || null;
|
|
2024
2024
|
},
|
|
2025
2025
|
"./node_modules/get-proto/Reflect.getPrototypeOf.js" (module) {
|
|
2026
|
-
module.exports =
|
|
2026
|
+
module.exports = "u" > typeof Reflect && Reflect.getPrototypeOf || null;
|
|
2027
2027
|
},
|
|
2028
2028
|
"./node_modules/get-proto/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
2029
2029
|
var reflectGetProto = __webpack_require__("./node_modules/get-proto/Reflect.getPrototypeOf.js");
|
|
@@ -2068,7 +2068,7 @@ var __webpack_modules__ = {
|
|
|
2068
2068
|
module.exports = hasPropertyDescriptors;
|
|
2069
2069
|
},
|
|
2070
2070
|
"./node_modules/has-symbols/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
2071
|
-
var origSymbol =
|
|
2071
|
+
var origSymbol = "u" > typeof Symbol && Symbol;
|
|
2072
2072
|
var hasSymbolSham = __webpack_require__("./node_modules/has-symbols/shams.js");
|
|
2073
2073
|
module.exports = function() {
|
|
2074
2074
|
if ('function' != typeof origSymbol) return false;
|
|
@@ -2593,8 +2593,8 @@ var __webpack_modules__ = {
|
|
|
2593
2593
|
function uncurryThis(f) {
|
|
2594
2594
|
return f.call.bind(f);
|
|
2595
2595
|
}
|
|
2596
|
-
var BigIntSupported =
|
|
2597
|
-
var SymbolSupported =
|
|
2596
|
+
var BigIntSupported = "u" > typeof BigInt;
|
|
2597
|
+
var SymbolSupported = "u" > typeof Symbol;
|
|
2598
2598
|
var ObjectToString = uncurryThis(Object.prototype.toString);
|
|
2599
2599
|
var numberValue = uncurryThis(Number.prototype.valueOf);
|
|
2600
2600
|
var stringValue = uncurryThis(String.prototype.valueOf);
|
|
@@ -2614,11 +2614,11 @@ var __webpack_modules__ = {
|
|
|
2614
2614
|
exports.isGeneratorFunction = isGeneratorFunction;
|
|
2615
2615
|
exports.isTypedArray = isTypedArray;
|
|
2616
2616
|
function isPromise(input) {
|
|
2617
|
-
return
|
|
2617
|
+
return "u" > typeof Promise && input instanceof Promise || null !== input && 'object' == typeof input && 'function' == typeof input.then && 'function' == typeof input.catch;
|
|
2618
2618
|
}
|
|
2619
2619
|
exports.isPromise = isPromise;
|
|
2620
2620
|
function isArrayBufferView(value) {
|
|
2621
|
-
if (
|
|
2621
|
+
if ("u" > typeof ArrayBuffer && ArrayBuffer.isView) return ArrayBuffer.isView(value);
|
|
2622
2622
|
return isTypedArray(value) || isDataView(value);
|
|
2623
2623
|
}
|
|
2624
2624
|
exports.isArrayBufferView = isArrayBufferView;
|
|
@@ -2669,34 +2669,34 @@ var __webpack_modules__ = {
|
|
|
2669
2669
|
function isMapToString(value) {
|
|
2670
2670
|
return '[object Map]' === ObjectToString(value);
|
|
2671
2671
|
}
|
|
2672
|
-
isMapToString.working =
|
|
2672
|
+
isMapToString.working = "u" > typeof Map && isMapToString(new Map());
|
|
2673
2673
|
function isMap(value) {
|
|
2674
|
-
if (
|
|
2674
|
+
if ("u" < typeof Map) return false;
|
|
2675
2675
|
return isMapToString.working ? isMapToString(value) : value instanceof Map;
|
|
2676
2676
|
}
|
|
2677
2677
|
exports.isMap = isMap;
|
|
2678
2678
|
function isSetToString(value) {
|
|
2679
2679
|
return '[object Set]' === ObjectToString(value);
|
|
2680
2680
|
}
|
|
2681
|
-
isSetToString.working =
|
|
2681
|
+
isSetToString.working = "u" > typeof Set && isSetToString(new Set());
|
|
2682
2682
|
function isSet(value) {
|
|
2683
|
-
if (
|
|
2683
|
+
if ("u" < typeof Set) return false;
|
|
2684
2684
|
return isSetToString.working ? isSetToString(value) : value instanceof Set;
|
|
2685
2685
|
}
|
|
2686
2686
|
exports.isSet = isSet;
|
|
2687
2687
|
function isWeakMapToString(value) {
|
|
2688
2688
|
return '[object WeakMap]' === ObjectToString(value);
|
|
2689
2689
|
}
|
|
2690
|
-
isWeakMapToString.working =
|
|
2690
|
+
isWeakMapToString.working = "u" > typeof WeakMap && isWeakMapToString(new WeakMap());
|
|
2691
2691
|
function isWeakMap(value) {
|
|
2692
|
-
if (
|
|
2692
|
+
if ("u" < typeof WeakMap) return false;
|
|
2693
2693
|
return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
|
|
2694
2694
|
}
|
|
2695
2695
|
exports.isWeakMap = isWeakMap;
|
|
2696
2696
|
function isWeakSetToString(value) {
|
|
2697
2697
|
return '[object WeakSet]' === ObjectToString(value);
|
|
2698
2698
|
}
|
|
2699
|
-
isWeakSetToString.working =
|
|
2699
|
+
isWeakSetToString.working = "u" > typeof WeakSet && isWeakSetToString(new WeakSet());
|
|
2700
2700
|
function isWeakSet(value) {
|
|
2701
2701
|
return isWeakSetToString(value);
|
|
2702
2702
|
}
|
|
@@ -2704,22 +2704,22 @@ var __webpack_modules__ = {
|
|
|
2704
2704
|
function isArrayBufferToString(value) {
|
|
2705
2705
|
return '[object ArrayBuffer]' === ObjectToString(value);
|
|
2706
2706
|
}
|
|
2707
|
-
isArrayBufferToString.working =
|
|
2707
|
+
isArrayBufferToString.working = "u" > typeof ArrayBuffer && isArrayBufferToString(new ArrayBuffer());
|
|
2708
2708
|
function isArrayBuffer(value) {
|
|
2709
|
-
if (
|
|
2709
|
+
if ("u" < typeof ArrayBuffer) return false;
|
|
2710
2710
|
return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
|
|
2711
2711
|
}
|
|
2712
2712
|
exports.isArrayBuffer = isArrayBuffer;
|
|
2713
2713
|
function isDataViewToString(value) {
|
|
2714
2714
|
return '[object DataView]' === ObjectToString(value);
|
|
2715
2715
|
}
|
|
2716
|
-
isDataViewToString.working =
|
|
2716
|
+
isDataViewToString.working = "u" > typeof ArrayBuffer && "u" > typeof DataView && isDataViewToString(new DataView(new ArrayBuffer(1), 0, 1));
|
|
2717
2717
|
function isDataView(value) {
|
|
2718
|
-
if (
|
|
2718
|
+
if ("u" < typeof DataView) return false;
|
|
2719
2719
|
return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
|
|
2720
2720
|
}
|
|
2721
2721
|
exports.isDataView = isDataView;
|
|
2722
|
-
var SharedArrayBufferCopy =
|
|
2722
|
+
var SharedArrayBufferCopy = "u" > typeof SharedArrayBuffer ? SharedArrayBuffer : void 0;
|
|
2723
2723
|
function isSharedArrayBufferToString(value) {
|
|
2724
2724
|
return '[object SharedArrayBuffer]' === ObjectToString(value);
|
|
2725
2725
|
}
|
|
@@ -2774,7 +2774,7 @@ var __webpack_modules__ = {
|
|
|
2774
2774
|
}
|
|
2775
2775
|
exports.isBoxedPrimitive = isBoxedPrimitive;
|
|
2776
2776
|
function isAnyArrayBuffer(value) {
|
|
2777
|
-
return
|
|
2777
|
+
return "u" > typeof Uint8Array && (isArrayBuffer(value) || isSharedArrayBuffer(value));
|
|
2778
2778
|
}
|
|
2779
2779
|
exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
2780
2780
|
[
|
|
@@ -3180,7 +3180,7 @@ var __webpack_modules__ = {
|
|
|
3180
3180
|
function hasOwnProperty(obj, prop) {
|
|
3181
3181
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
3182
3182
|
}
|
|
3183
|
-
var kCustomPromisifiedSymbol =
|
|
3183
|
+
var kCustomPromisifiedSymbol = "u" > typeof Symbol ? Symbol('util.promisify.custom') : void 0;
|
|
3184
3184
|
exports.promisify = function(original) {
|
|
3185
3185
|
if ('function' != typeof original) throw new TypeError('The "original" argument must be of type Function');
|
|
3186
3186
|
if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
|
|
@@ -3263,7 +3263,7 @@ var __webpack_modules__ = {
|
|
|
3263
3263
|
var getProto = __webpack_require__("./node_modules/get-proto/index.js");
|
|
3264
3264
|
var $toString = callBound('Object.prototype.toString');
|
|
3265
3265
|
var hasToStringTag = __webpack_require__("./node_modules/has-tostringtag/shams.js")();
|
|
3266
|
-
var g =
|
|
3266
|
+
var g = "u" < typeof globalThis ? __webpack_require__.g : globalThis;
|
|
3267
3267
|
var typedArrays = availableTypedArrays();
|
|
3268
3268
|
var $slice = callBound('String.prototype.slice');
|
|
3269
3269
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function(array, value) {
|
|
@@ -3320,7 +3320,7 @@ var __webpack_modules__ = {
|
|
|
3320
3320
|
return tryTypedArrays(value);
|
|
3321
3321
|
};
|
|
3322
3322
|
},
|
|
3323
|
-
"./node_modules/@rsbuild/core/compiled/css-loader/api.js" (module) {
|
|
3323
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/api.js" (module) {
|
|
3324
3324
|
module.exports = function(cssWithMappingToString) {
|
|
3325
3325
|
var list = [];
|
|
3326
3326
|
list.toString = function() {
|
|
@@ -3373,12 +3373,12 @@ var __webpack_modules__ = {
|
|
|
3373
3373
|
return list;
|
|
3374
3374
|
};
|
|
3375
3375
|
},
|
|
3376
|
-
"./node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js" (module) {
|
|
3376
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js" (module) {
|
|
3377
3377
|
module.exports = function(i) {
|
|
3378
3378
|
return i[1];
|
|
3379
3379
|
};
|
|
3380
3380
|
},
|
|
3381
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js" (module) {
|
|
3381
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js" (module) {
|
|
3382
3382
|
var stylesInDOM = [];
|
|
3383
3383
|
function getIndexByIdentifier(identifier) {
|
|
3384
3384
|
var result = -1;
|
|
@@ -3456,7 +3456,7 @@ var __webpack_modules__ = {
|
|
|
3456
3456
|
};
|
|
3457
3457
|
};
|
|
3458
3458
|
},
|
|
3459
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js" (module) {
|
|
3459
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js" (module) {
|
|
3460
3460
|
var memo = {};
|
|
3461
3461
|
function getTarget(target) {
|
|
3462
3462
|
if (void 0 === memo[target]) {
|
|
@@ -3477,7 +3477,7 @@ var __webpack_modules__ = {
|
|
|
3477
3477
|
}
|
|
3478
3478
|
module.exports = insertBySelector;
|
|
3479
3479
|
},
|
|
3480
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js" (module) {
|
|
3480
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js" (module) {
|
|
3481
3481
|
function insertStyleElement(options) {
|
|
3482
3482
|
var element = document.createElement("style");
|
|
3483
3483
|
options.setAttributes(element, options.attributes);
|
|
@@ -3486,14 +3486,14 @@ var __webpack_modules__ = {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
module.exports = insertStyleElement;
|
|
3488
3488
|
},
|
|
3489
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
3489
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
3490
3490
|
function setAttributesWithoutAttributes(styleElement) {
|
|
3491
3491
|
var nonce = __webpack_require__.nc;
|
|
3492
3492
|
if (nonce) styleElement.setAttribute("nonce", nonce);
|
|
3493
3493
|
}
|
|
3494
3494
|
module.exports = setAttributesWithoutAttributes;
|
|
3495
3495
|
},
|
|
3496
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js" (module) {
|
|
3496
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js" (module) {
|
|
3497
3497
|
function apply(styleElement, options, obj) {
|
|
3498
3498
|
var css = "";
|
|
3499
3499
|
if (obj.supports) css += "@supports (".concat(obj.supports, ") {");
|
|
@@ -3505,7 +3505,7 @@ var __webpack_modules__ = {
|
|
|
3505
3505
|
if (obj.media) css += "}";
|
|
3506
3506
|
if (obj.supports) css += "}";
|
|
3507
3507
|
var sourceMap = obj.sourceMap;
|
|
3508
|
-
if (sourceMap && "
|
|
3508
|
+
if (sourceMap && "u" > typeof btoa) css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
3509
3509
|
options.styleTagTransform(css, styleElement, options.options);
|
|
3510
3510
|
}
|
|
3511
3511
|
function removeStyleElement(styleElement) {
|
|
@@ -3513,7 +3513,7 @@ var __webpack_modules__ = {
|
|
|
3513
3513
|
styleElement.parentNode.removeChild(styleElement);
|
|
3514
3514
|
}
|
|
3515
3515
|
function domAPI(options) {
|
|
3516
|
-
if ("
|
|
3516
|
+
if ("u" < typeof document) return {
|
|
3517
3517
|
update: function() {},
|
|
3518
3518
|
remove: function() {}
|
|
3519
3519
|
};
|
|
@@ -3529,7 +3529,7 @@ var __webpack_modules__ = {
|
|
|
3529
3529
|
}
|
|
3530
3530
|
module.exports = domAPI;
|
|
3531
3531
|
},
|
|
3532
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js" (module) {
|
|
3532
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js" (module) {
|
|
3533
3533
|
function styleTagTransform(css, styleElement) {
|
|
3534
3534
|
if (styleElement.styleSheet) styleElement.styleSheet.cssText = css;
|
|
3535
3535
|
else {
|
|
@@ -3541,7 +3541,7 @@ var __webpack_modules__ = {
|
|
|
3541
3541
|
},
|
|
3542
3542
|
"./node_modules/available-typed-arrays/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
3543
3543
|
var possibleNames = __webpack_require__("./node_modules/possible-typed-array-names/index.js");
|
|
3544
|
-
var g =
|
|
3544
|
+
var g = "u" < typeof globalThis ? __webpack_require__.g : globalThis;
|
|
3545
3545
|
module.exports = function() {
|
|
3546
3546
|
var out = [];
|
|
3547
3547
|
for(var i = 0; i < possibleNames.length; i++)if ('function' == typeof g[possibleNames[i]]) out[out.length] = possibleNames[i];
|
|
@@ -3606,8 +3606,37 @@ const constants = {
|
|
|
3606
3606
|
}
|
|
3607
3607
|
};
|
|
3608
3608
|
var package_namespaceObject = {
|
|
3609
|
-
rE: "13.6.
|
|
3609
|
+
rE: "13.6.6"
|
|
3610
3610
|
};
|
|
3611
|
+
function isAudioEnabled(options) {
|
|
3612
|
+
return Boolean(options.audio.enabled);
|
|
3613
|
+
}
|
|
3614
|
+
function setAudioEnabled(enabled, options) {
|
|
3615
|
+
options.audio.enabled = enabled;
|
|
3616
|
+
return options;
|
|
3617
|
+
}
|
|
3618
|
+
function isAutoPauseEnabled(options) {
|
|
3619
|
+
return options.enableAutoPause && options.enablePause;
|
|
3620
|
+
}
|
|
3621
|
+
var util = __webpack_require__("./node_modules/util/util.js");
|
|
3622
|
+
var util_default = /*#__PURE__*/ __webpack_require__.n(util);
|
|
3623
|
+
function inspect(element) {
|
|
3624
|
+
return util_default().inspect(element, {
|
|
3625
|
+
colors: false,
|
|
3626
|
+
compact: true,
|
|
3627
|
+
depth: 4,
|
|
3628
|
+
breakLength: 1 / 0
|
|
3629
|
+
}).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
|
|
3630
|
+
}
|
|
3631
|
+
function pretty(anything) {
|
|
3632
|
+
if (anything instanceof HTMLElement) {
|
|
3633
|
+
if (anything.id) return `#${anything.id}`;
|
|
3634
|
+
if (anything.className) return `.${anything.className}`;
|
|
3635
|
+
return "(No HTML identifier available)";
|
|
3636
|
+
}
|
|
3637
|
+
return inspect(anything);
|
|
3638
|
+
}
|
|
3639
|
+
const util_pretty = pretty;
|
|
3611
3640
|
function canPlayType_canPlayType(video, type) {
|
|
3612
3641
|
const canPlayType = video.canPlayType(`video/${type}`);
|
|
3613
3642
|
if ("" === canPlayType) return false;
|
|
@@ -3697,35 +3726,6 @@ function getBrowser(localOptions) {
|
|
|
3697
3726
|
return getBrowser_browser;
|
|
3698
3727
|
}
|
|
3699
3728
|
const util_getBrowser = getBrowser;
|
|
3700
|
-
function isAudioEnabled(options) {
|
|
3701
|
-
return Boolean(options.audio.enabled);
|
|
3702
|
-
}
|
|
3703
|
-
function setAudioEnabled(enabled, options) {
|
|
3704
|
-
options.audio.enabled = enabled;
|
|
3705
|
-
return options;
|
|
3706
|
-
}
|
|
3707
|
-
function isAutoPauseEnabled(options) {
|
|
3708
|
-
return options.enableAutoPause && options.enablePause;
|
|
3709
|
-
}
|
|
3710
|
-
var util = __webpack_require__("./node_modules/util/util.js");
|
|
3711
|
-
var util_default = /*#__PURE__*/ __webpack_require__.n(util);
|
|
3712
|
-
function inspect(element) {
|
|
3713
|
-
return util_default().inspect(element, {
|
|
3714
|
-
colors: false,
|
|
3715
|
-
compact: true,
|
|
3716
|
-
depth: 4,
|
|
3717
|
-
breakLength: 1 / 0
|
|
3718
|
-
}).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
|
|
3719
|
-
}
|
|
3720
|
-
function pretty(anything) {
|
|
3721
|
-
if (anything instanceof HTMLElement) {
|
|
3722
|
-
if (anything.id) return `#${anything.id}`;
|
|
3723
|
-
if (anything.className) return `.${anything.className}`;
|
|
3724
|
-
return "(No HTML identifier available)";
|
|
3725
|
-
}
|
|
3726
|
-
return inspect(anything);
|
|
3727
|
-
}
|
|
3728
|
-
const util_pretty = pretty;
|
|
3729
3729
|
class HTTPVideomailError extends Error {
|
|
3730
3730
|
code;
|
|
3731
3731
|
status;
|
|
@@ -3809,7 +3809,6 @@ function createError(errorParams) {
|
|
|
3809
3809
|
let explanation = errorParams.explanation;
|
|
3810
3810
|
const classList = errorParams.classList ?? [];
|
|
3811
3811
|
const audioEnabled = isAudioEnabled(options);
|
|
3812
|
-
const browser = util_getBrowser(options);
|
|
3813
3812
|
const errName = err?.name ?? err?.constructor.name;
|
|
3814
3813
|
switch(errName){
|
|
3815
3814
|
case error_VideomailError.SECURITY_ERROR:
|
|
@@ -3856,9 +3855,9 @@ function createError(errorParams) {
|
|
|
3856
3855
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
3857
3856
|
break;
|
|
3858
3857
|
case "HARDWARE_UNAVAILABLE":
|
|
3858
|
+
case "AbortError":
|
|
3859
3859
|
message = "Webcam is unavailable";
|
|
3860
3860
|
explanation = "Maybe it is already busy in another window?";
|
|
3861
|
-
if (browser.isChromeBased() || browser.isFirefox()) explanation += " Or you have to allow access above?";
|
|
3862
3861
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
3863
3862
|
break;
|
|
3864
3863
|
case "NO_VIDEO_FEED":
|
|
@@ -4614,19 +4613,19 @@ function mergeWithDefaultOptions(options = {}) {
|
|
|
4614
4613
|
return newOptions;
|
|
4615
4614
|
}
|
|
4616
4615
|
const options_mergeWithDefaultOptions = mergeWithDefaultOptions;
|
|
4617
|
-
var injectStylesIntoStyleTag = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js");
|
|
4616
|
+
var injectStylesIntoStyleTag = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js");
|
|
4618
4617
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/ __webpack_require__.n(injectStylesIntoStyleTag);
|
|
4619
|
-
var styleDomAPI = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js");
|
|
4618
|
+
var styleDomAPI = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js");
|
|
4620
4619
|
var styleDomAPI_default = /*#__PURE__*/ __webpack_require__.n(styleDomAPI);
|
|
4621
|
-
var insertBySelector = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js");
|
|
4620
|
+
var insertBySelector = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js");
|
|
4622
4621
|
var insertBySelector_default = /*#__PURE__*/ __webpack_require__.n(insertBySelector);
|
|
4623
|
-
var setAttributesWithoutAttributes = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js");
|
|
4622
|
+
var setAttributesWithoutAttributes = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js");
|
|
4624
4623
|
var setAttributesWithoutAttributes_default = /*#__PURE__*/ __webpack_require__.n(setAttributesWithoutAttributes);
|
|
4625
|
-
var insertStyleElement = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js");
|
|
4624
|
+
var insertStyleElement = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js");
|
|
4626
4625
|
var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
|
|
4627
|
-
var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
|
|
4626
|
+
var styleTagTransform = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
|
|
4628
4627
|
var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
|
|
4629
|
-
var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
|
|
4628
|
+
var main = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
|
|
4630
4629
|
var main_options = {};
|
|
4631
4630
|
main_options.styleTagTransform = styleTagTransform_default();
|
|
4632
4631
|
main_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -5627,7 +5626,7 @@ class Notifier extends util_Despot {
|
|
|
5627
5626
|
if (this.options.video.stretch) {
|
|
5628
5627
|
const heightDimension = this.visuals.getRecorderHeight(true, true);
|
|
5629
5628
|
this.notifyElement.style.width = "auto";
|
|
5630
|
-
this.notifyElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
5629
|
+
if (heightDimension) this.notifyElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
5631
5630
|
} else {
|
|
5632
5631
|
let heightDimension;
|
|
5633
5632
|
let widthDimension = dimensions_useFullWidth(this.options.video.mobileBreakPoint);
|
|
@@ -6449,7 +6448,7 @@ class Recorder extends util_Despot {
|
|
|
6449
6448
|
this.emit("PREVIEW", {
|
|
6450
6449
|
key: this.key,
|
|
6451
6450
|
width: widthDimension?.value,
|
|
6452
|
-
height: heightDimension
|
|
6451
|
+
height: heightDimension?.value,
|
|
6453
6452
|
hasAudio,
|
|
6454
6453
|
duration
|
|
6455
6454
|
});
|
|
@@ -7057,7 +7056,7 @@ class Recorder extends util_Despot {
|
|
|
7057
7056
|
}
|
|
7058
7057
|
if (this.options.video.height) {
|
|
7059
7058
|
const recorderHeight = this.getRecorderHeight(true);
|
|
7060
|
-
if (recorderHeight
|
|
7059
|
+
if (recorderHeight?.value) this.recorderElement.height = recorderHeight.value;
|
|
7061
7060
|
else this.recorderElement.style.removeProperty("height");
|
|
7062
7061
|
}
|
|
7063
7062
|
}
|
|
@@ -7165,29 +7164,28 @@ class Recorder extends util_Despot {
|
|
|
7165
7164
|
return dimension;
|
|
7166
7165
|
}
|
|
7167
7166
|
getRecorderHeight(responsive, useBoundingClientRect) {
|
|
7167
|
+
let recorderHeight;
|
|
7168
7168
|
if (this.recorderElement && useBoundingClientRect) {
|
|
7169
7169
|
const height = this.recorderElement.getBoundingClientRect().height;
|
|
7170
|
-
|
|
7170
|
+
recorderHeight = {
|
|
7171
7171
|
unit: "px",
|
|
7172
7172
|
value: height
|
|
7173
7173
|
};
|
|
7174
|
-
|
|
7175
|
-
}
|
|
7176
|
-
if (this.userMedia) {
|
|
7174
|
+
} else if (this.userMedia) {
|
|
7177
7175
|
const height = this.userMedia.getRawHeight(responsive);
|
|
7178
|
-
|
|
7176
|
+
recorderHeight = {
|
|
7177
|
+
unit: "px",
|
|
7178
|
+
value: height
|
|
7179
|
+
};
|
|
7180
|
+
} else if (responsive && this.options.video.height) recorderHeight = this.calculateHeight(responsive);
|
|
7181
|
+
else if (this.options.video.height) {
|
|
7182
|
+
const height = this.options.video.height;
|
|
7183
|
+
recorderHeight = {
|
|
7179
7184
|
unit: "px",
|
|
7180
7185
|
value: height
|
|
7181
7186
|
};
|
|
7182
|
-
return dimension;
|
|
7183
7187
|
}
|
|
7184
|
-
|
|
7185
|
-
const height = this.options.video.height;
|
|
7186
|
-
const dimension = {
|
|
7187
|
-
unit: "px",
|
|
7188
|
-
value: height
|
|
7189
|
-
};
|
|
7190
|
-
return dimension;
|
|
7188
|
+
return recorderHeight;
|
|
7191
7189
|
}
|
|
7192
7190
|
getRatio() {
|
|
7193
7191
|
let ratio;
|
|
@@ -7206,10 +7204,21 @@ class Recorder extends util_Despot {
|
|
|
7206
7204
|
return dimensions_calculateWidth(responsive, videoHeight, this.options, this.getRatio());
|
|
7207
7205
|
}
|
|
7208
7206
|
calculateHeight(responsive) {
|
|
7209
|
-
let
|
|
7210
|
-
if (this.userMedia)
|
|
7211
|
-
|
|
7212
|
-
|
|
7207
|
+
let videoDimension;
|
|
7208
|
+
if (this.userMedia) {
|
|
7209
|
+
const videoHeight = this.userMedia.getVideoHeight();
|
|
7210
|
+
videoDimension = {
|
|
7211
|
+
value: videoHeight,
|
|
7212
|
+
unit: "px"
|
|
7213
|
+
};
|
|
7214
|
+
} else if (this.recorderElement) {
|
|
7215
|
+
const videoHeight = this.recorderElement.videoHeight || this.recorderElement.height;
|
|
7216
|
+
videoDimension = {
|
|
7217
|
+
value: videoHeight,
|
|
7218
|
+
unit: "px"
|
|
7219
|
+
};
|
|
7220
|
+
} else videoDimension = dimensions_calculateHeight(responsive, void 0, this.options, this.getRatio(), this.recorderElement);
|
|
7221
|
+
return videoDimension;
|
|
7213
7222
|
}
|
|
7214
7223
|
getRawVisualUserMedia() {
|
|
7215
7224
|
return this.recorderElement;
|
|
@@ -7541,9 +7550,9 @@ class Visuals extends util_Despot {
|
|
|
7541
7550
|
widthDimension = this.getRecorderWidth(true);
|
|
7542
7551
|
heightDimension = this.getRecorderHeight(true);
|
|
7543
7552
|
}
|
|
7544
|
-
if (widthDimension) this.visualsElement.style.width = `${widthDimension.value}${widthDimension.unit}`;
|
|
7553
|
+
if (widthDimension?.value) this.visualsElement.style.width = `${widthDimension.value}${widthDimension.unit}`;
|
|
7545
7554
|
else this.visualsElement.style.removeProperty("width");
|
|
7546
|
-
if (heightDimension) this.visualsElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
7555
|
+
if (heightDimension?.value) this.visualsElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
7547
7556
|
else this.visualsElement.style.removeProperty("height");
|
|
7548
7557
|
}
|
|
7549
7558
|
}
|
|
@@ -7937,7 +7946,7 @@ class Container extends util_Despot {
|
|
|
7937
7946
|
const widthDimension = this.visuals.getRecorderWidth(true);
|
|
7938
7947
|
const heightDimension = this.visuals.getRecorderHeight(true);
|
|
7939
7948
|
videomailFormData.width = widthDimension?.value;
|
|
7940
|
-
videomailFormData.height = heightDimension
|
|
7949
|
+
videomailFormData.height = heightDimension?.value;
|
|
7941
7950
|
return await this.resource.post(videomailFormData);
|
|
7942
7951
|
}
|
|
7943
7952
|
if (method === FormMethod.PUT) return await this.resource.put(videomailFormData);
|