@myinterview/widget-react 1.1.22-development-2bfa0c3 → 1.1.23-development-94da5c1
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/components/CountDown.d.ts +2 -2
- package/dist/cjs/components/Counter.d.ts +2 -2
- package/dist/cjs/components/DeviceSelector.d.ts +2 -1
- package/dist/cjs/components/Setup.d.ts +1 -0
- package/dist/cjs/components/SetupChecks.d.ts +1 -0
- package/dist/cjs/components/VideoCamera.d.ts +1 -0
- package/dist/cjs/index.js +408 -190
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/configInterface.d.ts +1 -0
- package/dist/cjs/interfaces/recorderInterface.d.ts +4 -1
- package/dist/cjs/interfaces/widgetInterface.d.ts +2 -0
- package/dist/cjs/utils/debug.utils.d.ts +1 -0
- package/dist/cjs/utils/messages.utils.d.ts +1 -0
- package/dist/esm/components/CountDown.d.ts +2 -2
- package/dist/esm/components/Counter.d.ts +2 -2
- package/dist/esm/components/DeviceSelector.d.ts +2 -1
- package/dist/esm/components/Setup.d.ts +1 -0
- package/dist/esm/components/SetupChecks.d.ts +1 -0
- package/dist/esm/components/VideoCamera.d.ts +1 -0
- package/dist/esm/index.js +408 -190
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +1 -0
- package/dist/esm/interfaces/recorderInterface.d.ts +4 -1
- package/dist/esm/interfaces/widgetInterface.d.ts +2 -0
- package/dist/esm/utils/debug.utils.d.ts +1 -0
- package/dist/esm/utils/messages.utils.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -2097,7 +2097,10 @@ function visit(
|
|
|
2097
2097
|
const [memoize, unmemoize] = memo;
|
|
2098
2098
|
|
|
2099
2099
|
// Get the simple cases out of the way first
|
|
2100
|
-
if (
|
|
2100
|
+
if (
|
|
2101
|
+
value == null || // this matches null and undefined -> eqeq not eqeqeq
|
|
2102
|
+
(['number', 'boolean', 'string'].includes(typeof value) && !isNaN$1(value))
|
|
2103
|
+
) {
|
|
2101
2104
|
return value ;
|
|
2102
2105
|
}
|
|
2103
2106
|
|
|
@@ -2235,11 +2238,6 @@ function stringifyValue(
|
|
|
2235
2238
|
return '[NaN]';
|
|
2236
2239
|
}
|
|
2237
2240
|
|
|
2238
|
-
// this catches `undefined` (but not `null`, which is a primitive and can be serialized on its own)
|
|
2239
|
-
if (value === void 0) {
|
|
2240
|
-
return '[undefined]';
|
|
2241
|
-
}
|
|
2242
|
-
|
|
2243
2241
|
if (typeof value === 'function') {
|
|
2244
2242
|
return `[Function: ${getFunctionName(value)}]`;
|
|
2245
2243
|
}
|
|
@@ -5822,7 +5820,7 @@ function getEventForEnvelopeItem(item, type) {
|
|
|
5822
5820
|
return Array.isArray(item) ? (item )[1] : undefined;
|
|
5823
5821
|
}
|
|
5824
5822
|
|
|
5825
|
-
const SDK_VERSION = '7.
|
|
5823
|
+
const SDK_VERSION = '7.51.2';
|
|
5826
5824
|
|
|
5827
5825
|
let originalFunctionToString;
|
|
5828
5826
|
|
|
@@ -8361,7 +8359,7 @@ function maskInputValue({ input, maskInputSelector, unmaskInputSelector, maskInp
|
|
|
8361
8359
|
if (unmaskInputSelector && input.matches(unmaskInputSelector)) {
|
|
8362
8360
|
return text;
|
|
8363
8361
|
}
|
|
8364
|
-
if (input.hasAttribute('
|
|
8362
|
+
if (input.hasAttribute('data-rr-is-password')) {
|
|
8365
8363
|
type = 'password';
|
|
8366
8364
|
}
|
|
8367
8365
|
if (isInputTypeMasked({ maskInputOptions, tagName, type }) ||
|
|
@@ -8394,6 +8392,21 @@ function is2DCanvasBlank(canvas) {
|
|
|
8394
8392
|
}
|
|
8395
8393
|
return true;
|
|
8396
8394
|
}
|
|
8395
|
+
function getInputType(element) {
|
|
8396
|
+
const type = element.type;
|
|
8397
|
+
return element.hasAttribute('data-rr-is-password')
|
|
8398
|
+
? 'password'
|
|
8399
|
+
: type
|
|
8400
|
+
? type.toLowerCase()
|
|
8401
|
+
: null;
|
|
8402
|
+
}
|
|
8403
|
+
function getInputValue(el, tagName, type) {
|
|
8404
|
+
typeof type === 'string' ? type.toLowerCase() : '';
|
|
8405
|
+
if (tagName === 'INPUT' && (type === 'radio' || type === 'checkbox')) {
|
|
8406
|
+
return el.getAttribute('value') || '';
|
|
8407
|
+
}
|
|
8408
|
+
return el.value;
|
|
8409
|
+
}
|
|
8397
8410
|
|
|
8398
8411
|
let _id = 1;
|
|
8399
8412
|
const tagNameRegex = new RegExp('[^a-z0-9-_:]');
|
|
@@ -8432,6 +8445,13 @@ function getCssRuleString(rule) {
|
|
|
8432
8445
|
catch (_a) {
|
|
8433
8446
|
}
|
|
8434
8447
|
}
|
|
8448
|
+
return validateStringifiedCssRule(cssStringified);
|
|
8449
|
+
}
|
|
8450
|
+
function validateStringifiedCssRule(cssStringified) {
|
|
8451
|
+
if (cssStringified.indexOf(':') > -1) {
|
|
8452
|
+
const regex = /(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;
|
|
8453
|
+
return cssStringified.replace(regex, '$1\\$2');
|
|
8454
|
+
}
|
|
8435
8455
|
return cssStringified;
|
|
8436
8456
|
}
|
|
8437
8457
|
function isCSSImportRule(rule) {
|
|
@@ -8440,7 +8460,7 @@ function isCSSImportRule(rule) {
|
|
|
8440
8460
|
function stringifyStyleSheet(sheet) {
|
|
8441
8461
|
return sheet.cssRules
|
|
8442
8462
|
? Array.from(sheet.cssRules)
|
|
8443
|
-
.map((rule) => rule.cssText
|
|
8463
|
+
.map((rule) => rule.cssText ? validateStringifiedCssRule(rule.cssText) : '')
|
|
8444
8464
|
.join('')
|
|
8445
8465
|
: '';
|
|
8446
8466
|
}
|
|
@@ -8775,14 +8795,15 @@ function serializeNode(n, options) {
|
|
|
8775
8795
|
tagName === 'select' ||
|
|
8776
8796
|
tagName === 'option') {
|
|
8777
8797
|
const el = n;
|
|
8778
|
-
const
|
|
8798
|
+
const type = getInputType(el);
|
|
8799
|
+
const value = getInputValue(el, tagName.toUpperCase(), type);
|
|
8779
8800
|
const checked = n.checked;
|
|
8780
|
-
if (
|
|
8781
|
-
|
|
8801
|
+
if (type !== 'submit' &&
|
|
8802
|
+
type !== 'button' &&
|
|
8782
8803
|
value) {
|
|
8783
8804
|
attributes.value = maskInputValue({
|
|
8784
8805
|
input: el,
|
|
8785
|
-
type
|
|
8806
|
+
type,
|
|
8786
8807
|
tagName,
|
|
8787
8808
|
value,
|
|
8788
8809
|
maskInputSelector,
|
|
@@ -9255,15 +9276,8 @@ function snapshot(n, options) {
|
|
|
9255
9276
|
function skipAttribute(tagName, attributeName, value) {
|
|
9256
9277
|
return ((tagName === 'video' || tagName === 'audio') && attributeName === 'autoplay');
|
|
9257
9278
|
}
|
|
9258
|
-
function getInputValue(tagName, el, attributes) {
|
|
9259
|
-
if (tagName === 'input' &&
|
|
9260
|
-
(attributes.type === 'radio' || attributes.type === 'checkbox')) {
|
|
9261
|
-
return el.getAttribute('value') || '';
|
|
9262
|
-
}
|
|
9263
|
-
return el.value;
|
|
9264
|
-
}
|
|
9265
9279
|
|
|
9266
|
-
var EventType;
|
|
9280
|
+
var EventType$1;
|
|
9267
9281
|
(function (EventType) {
|
|
9268
9282
|
EventType[EventType["DomContentLoaded"] = 0] = "DomContentLoaded";
|
|
9269
9283
|
EventType[EventType["Load"] = 1] = "Load";
|
|
@@ -9272,7 +9286,7 @@ var EventType;
|
|
|
9272
9286
|
EventType[EventType["Meta"] = 4] = "Meta";
|
|
9273
9287
|
EventType[EventType["Custom"] = 5] = "Custom";
|
|
9274
9288
|
EventType[EventType["Plugin"] = 6] = "Plugin";
|
|
9275
|
-
})(EventType || (EventType = {}));
|
|
9289
|
+
})(EventType$1 || (EventType$1 = {}));
|
|
9276
9290
|
var IncrementalSource;
|
|
9277
9291
|
(function (IncrementalSource) {
|
|
9278
9292
|
IncrementalSource[IncrementalSource["Mutation"] = 0] = "Mutation";
|
|
@@ -9887,9 +9901,9 @@ class MutationBuffer {
|
|
|
9887
9901
|
this.attributes.push(item);
|
|
9888
9902
|
}
|
|
9889
9903
|
if (m.attributeName === 'type' &&
|
|
9890
|
-
|
|
9904
|
+
target.tagName === 'INPUT' &&
|
|
9891
9905
|
(m.oldValue || '').toLowerCase() === 'password') {
|
|
9892
|
-
|
|
9906
|
+
target.setAttribute('data-rr-is-password', 'true');
|
|
9893
9907
|
}
|
|
9894
9908
|
if (m.attributeName === 'style') {
|
|
9895
9909
|
const old = this.doc.createElement('span');
|
|
@@ -10286,27 +10300,25 @@ function initInputObserver({ inputCb, doc, mirror, blockClass, blockSelector, un
|
|
|
10286
10300
|
isBlocked(target, blockClass, blockSelector, unblockSelector)) {
|
|
10287
10301
|
return;
|
|
10288
10302
|
}
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10303
|
+
const el = target;
|
|
10304
|
+
const type = getInputType(el);
|
|
10305
|
+
if (el.classList.contains(ignoreClass) ||
|
|
10306
|
+
(ignoreSelector && el.matches(ignoreSelector))) {
|
|
10292
10307
|
return;
|
|
10293
10308
|
}
|
|
10294
|
-
let text =
|
|
10309
|
+
let text = getInputValue(el, tagName, type);
|
|
10295
10310
|
let isChecked = false;
|
|
10296
|
-
if (target.hasAttribute('rr_is_password')) {
|
|
10297
|
-
type = 'password';
|
|
10298
|
-
}
|
|
10299
10311
|
if (type === 'radio' || type === 'checkbox') {
|
|
10300
10312
|
isChecked = target.checked;
|
|
10301
10313
|
}
|
|
10302
|
-
|
|
10314
|
+
if (hasInputMaskOptions({
|
|
10303
10315
|
maskInputOptions,
|
|
10304
10316
|
maskInputSelector,
|
|
10305
10317
|
tagName,
|
|
10306
10318
|
type,
|
|
10307
10319
|
})) {
|
|
10308
10320
|
text = maskInputValue({
|
|
10309
|
-
input:
|
|
10321
|
+
input: el,
|
|
10310
10322
|
maskInputOptions,
|
|
10311
10323
|
maskInputSelector,
|
|
10312
10324
|
unmaskInputSelector,
|
|
@@ -10323,8 +10335,18 @@ function initInputObserver({ inputCb, doc, mirror, blockClass, blockSelector, un
|
|
|
10323
10335
|
.querySelectorAll(`input[type="radio"][name="${name}"]`)
|
|
10324
10336
|
.forEach((el) => {
|
|
10325
10337
|
if (el !== target) {
|
|
10338
|
+
const text = maskInputValue({
|
|
10339
|
+
input: el,
|
|
10340
|
+
maskInputOptions,
|
|
10341
|
+
maskInputSelector,
|
|
10342
|
+
unmaskInputSelector,
|
|
10343
|
+
tagName,
|
|
10344
|
+
type,
|
|
10345
|
+
value: getInputValue(el, tagName, type),
|
|
10346
|
+
maskInputFn,
|
|
10347
|
+
});
|
|
10326
10348
|
cbWithDedup(el, callbackWrapper(wrapEventWithUserTriggeredFlag)({
|
|
10327
|
-
text
|
|
10349
|
+
text,
|
|
10328
10350
|
isChecked: !isChecked,
|
|
10329
10351
|
userTriggered: false,
|
|
10330
10352
|
}, userTriggeredOnInput));
|
|
@@ -11237,17 +11259,17 @@ function record(options = {}) {
|
|
|
11237
11259
|
wrappedEmit = (e, isCheckout) => {
|
|
11238
11260
|
var _a;
|
|
11239
11261
|
if (((_a = mutationBuffers[0]) === null || _a === void 0 ? void 0 : _a.isFrozen()) &&
|
|
11240
|
-
e.type !== EventType.FullSnapshot &&
|
|
11241
|
-
!(e.type === EventType.IncrementalSnapshot &&
|
|
11262
|
+
e.type !== EventType$1.FullSnapshot &&
|
|
11263
|
+
!(e.type === EventType$1.IncrementalSnapshot &&
|
|
11242
11264
|
e.data.source === IncrementalSource.Mutation)) {
|
|
11243
11265
|
mutationBuffers.forEach((buf) => buf.unfreeze());
|
|
11244
11266
|
}
|
|
11245
11267
|
emit(eventProcessor(e), isCheckout);
|
|
11246
|
-
if (e.type === EventType.FullSnapshot) {
|
|
11268
|
+
if (e.type === EventType$1.FullSnapshot) {
|
|
11247
11269
|
lastFullSnapshotEvent = e;
|
|
11248
11270
|
incrementalSnapshotCount = 0;
|
|
11249
11271
|
}
|
|
11250
|
-
else if (e.type === EventType.IncrementalSnapshot) {
|
|
11272
|
+
else if (e.type === EventType$1.IncrementalSnapshot) {
|
|
11251
11273
|
if (e.data.source === IncrementalSource.Mutation &&
|
|
11252
11274
|
e.data.isAttachIframe) {
|
|
11253
11275
|
return;
|
|
@@ -11263,16 +11285,16 @@ function record(options = {}) {
|
|
|
11263
11285
|
};
|
|
11264
11286
|
const wrappedMutationEmit = (m) => {
|
|
11265
11287
|
wrappedEmit(wrapEvent({
|
|
11266
|
-
type: EventType.IncrementalSnapshot,
|
|
11288
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11267
11289
|
data: Object.assign({ source: IncrementalSource.Mutation }, m),
|
|
11268
11290
|
}));
|
|
11269
11291
|
};
|
|
11270
11292
|
const wrappedScrollEmit = (p) => wrappedEmit(wrapEvent({
|
|
11271
|
-
type: EventType.IncrementalSnapshot,
|
|
11293
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11272
11294
|
data: Object.assign({ source: IncrementalSource.Scroll }, p),
|
|
11273
11295
|
}));
|
|
11274
11296
|
const wrappedCanvasMutationEmit = (p) => wrappedEmit(wrapEvent({
|
|
11275
|
-
type: EventType.IncrementalSnapshot,
|
|
11297
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11276
11298
|
data: Object.assign({ source: IncrementalSource.CanvasMutation }, p),
|
|
11277
11299
|
}));
|
|
11278
11300
|
const iframeManager = new IframeManager({
|
|
@@ -11317,7 +11339,7 @@ function record(options = {}) {
|
|
|
11317
11339
|
takeFullSnapshot = (isCheckout = false) => {
|
|
11318
11340
|
var _a, _b, _c, _d;
|
|
11319
11341
|
wrappedEmit(wrapEvent({
|
|
11320
|
-
type: EventType.Meta,
|
|
11342
|
+
type: EventType$1.Meta,
|
|
11321
11343
|
data: {
|
|
11322
11344
|
href: window.location.href,
|
|
11323
11345
|
width: getWindowWidth(),
|
|
@@ -11360,7 +11382,7 @@ function record(options = {}) {
|
|
|
11360
11382
|
}
|
|
11361
11383
|
mirror.map = idNodeMap;
|
|
11362
11384
|
wrappedEmit(wrapEvent({
|
|
11363
|
-
type: EventType.FullSnapshot,
|
|
11385
|
+
type: EventType$1.FullSnapshot,
|
|
11364
11386
|
data: {
|
|
11365
11387
|
node,
|
|
11366
11388
|
initialOffset: {
|
|
@@ -11385,7 +11407,7 @@ function record(options = {}) {
|
|
|
11385
11407
|
const handlers = [];
|
|
11386
11408
|
handlers.push(on$1('DOMContentLoaded', () => {
|
|
11387
11409
|
wrappedEmit(wrapEvent({
|
|
11388
|
-
type: EventType.DomContentLoaded,
|
|
11410
|
+
type: EventType$1.DomContentLoaded,
|
|
11389
11411
|
data: {},
|
|
11390
11412
|
}));
|
|
11391
11413
|
}));
|
|
@@ -11395,40 +11417,40 @@ function record(options = {}) {
|
|
|
11395
11417
|
onMutation,
|
|
11396
11418
|
mutationCb: wrappedMutationEmit,
|
|
11397
11419
|
mousemoveCb: (positions, source) => wrappedEmit(wrapEvent({
|
|
11398
|
-
type: EventType.IncrementalSnapshot,
|
|
11420
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11399
11421
|
data: {
|
|
11400
11422
|
source,
|
|
11401
11423
|
positions,
|
|
11402
11424
|
},
|
|
11403
11425
|
})),
|
|
11404
11426
|
mouseInteractionCb: (d) => wrappedEmit(wrapEvent({
|
|
11405
|
-
type: EventType.IncrementalSnapshot,
|
|
11427
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11406
11428
|
data: Object.assign({ source: IncrementalSource.MouseInteraction }, d),
|
|
11407
11429
|
})),
|
|
11408
11430
|
scrollCb: wrappedScrollEmit,
|
|
11409
11431
|
viewportResizeCb: (d) => wrappedEmit(wrapEvent({
|
|
11410
|
-
type: EventType.IncrementalSnapshot,
|
|
11432
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11411
11433
|
data: Object.assign({ source: IncrementalSource.ViewportResize }, d),
|
|
11412
11434
|
})),
|
|
11413
11435
|
inputCb: (v) => wrappedEmit(wrapEvent({
|
|
11414
|
-
type: EventType.IncrementalSnapshot,
|
|
11436
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11415
11437
|
data: Object.assign({ source: IncrementalSource.Input }, v),
|
|
11416
11438
|
})),
|
|
11417
11439
|
mediaInteractionCb: (p) => wrappedEmit(wrapEvent({
|
|
11418
|
-
type: EventType.IncrementalSnapshot,
|
|
11440
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11419
11441
|
data: Object.assign({ source: IncrementalSource.MediaInteraction }, p),
|
|
11420
11442
|
})),
|
|
11421
11443
|
styleSheetRuleCb: (r) => wrappedEmit(wrapEvent({
|
|
11422
|
-
type: EventType.IncrementalSnapshot,
|
|
11444
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11423
11445
|
data: Object.assign({ source: IncrementalSource.StyleSheetRule }, r),
|
|
11424
11446
|
})),
|
|
11425
11447
|
styleDeclarationCb: (r) => wrappedEmit(wrapEvent({
|
|
11426
|
-
type: EventType.IncrementalSnapshot,
|
|
11448
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11427
11449
|
data: Object.assign({ source: IncrementalSource.StyleDeclaration }, r),
|
|
11428
11450
|
})),
|
|
11429
11451
|
canvasMutationCb: wrappedCanvasMutationEmit,
|
|
11430
11452
|
fontCb: (p) => wrappedEmit(wrapEvent({
|
|
11431
|
-
type: EventType.IncrementalSnapshot,
|
|
11453
|
+
type: EventType$1.IncrementalSnapshot,
|
|
11432
11454
|
data: Object.assign({ source: IncrementalSource.Font }, p),
|
|
11433
11455
|
})),
|
|
11434
11456
|
blockClass,
|
|
@@ -11461,7 +11483,7 @@ function record(options = {}) {
|
|
|
11461
11483
|
observer: p.observer,
|
|
11462
11484
|
options: p.options,
|
|
11463
11485
|
callback: (payload) => wrappedEmit(wrapEvent({
|
|
11464
|
-
type: EventType.Plugin,
|
|
11486
|
+
type: EventType$1.Plugin,
|
|
11465
11487
|
data: {
|
|
11466
11488
|
plugin: p.name,
|
|
11467
11489
|
payload,
|
|
@@ -11489,7 +11511,7 @@ function record(options = {}) {
|
|
|
11489
11511
|
else {
|
|
11490
11512
|
handlers.push(on$1('load', () => {
|
|
11491
11513
|
wrappedEmit(wrapEvent({
|
|
11492
|
-
type: EventType.Load,
|
|
11514
|
+
type: EventType$1.Load,
|
|
11493
11515
|
data: {},
|
|
11494
11516
|
}));
|
|
11495
11517
|
init();
|
|
@@ -11508,7 +11530,7 @@ record.addCustomEvent = (tag, payload) => {
|
|
|
11508
11530
|
throw new Error('please add custom event after start recording');
|
|
11509
11531
|
}
|
|
11510
11532
|
wrappedEmit(wrapEvent({
|
|
11511
|
-
type: EventType.Custom,
|
|
11533
|
+
type: EventType$1.Custom,
|
|
11512
11534
|
data: {
|
|
11513
11535
|
tag,
|
|
11514
11536
|
payload,
|
|
@@ -11663,6 +11685,14 @@ function t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0
|
|
|
11663
11685
|
|
|
11664
11686
|
function e(){const e=new Blob([r]);return URL.createObjectURL(e)}
|
|
11665
11687
|
|
|
11688
|
+
/**
|
|
11689
|
+
* Converts a timestamp to ms, if it was in s, or keeps it as ms.
|
|
11690
|
+
*/
|
|
11691
|
+
function timestampToMs(timestamp) {
|
|
11692
|
+
const isMs = timestamp > 9999999999;
|
|
11693
|
+
return isMs ? timestamp : timestamp * 1000;
|
|
11694
|
+
}
|
|
11695
|
+
|
|
11666
11696
|
/**
|
|
11667
11697
|
* A basic event buffer that does not do any compression.
|
|
11668
11698
|
* Used as fallback if the compression worker cannot be loaded or is disabled.
|
|
@@ -11679,20 +11709,19 @@ class EventBufferArray {
|
|
|
11679
11709
|
return this.events.length > 0;
|
|
11680
11710
|
}
|
|
11681
11711
|
|
|
11712
|
+
/** @inheritdoc */
|
|
11713
|
+
get type() {
|
|
11714
|
+
return 'sync';
|
|
11715
|
+
}
|
|
11716
|
+
|
|
11682
11717
|
/** @inheritdoc */
|
|
11683
11718
|
destroy() {
|
|
11684
11719
|
this.events = [];
|
|
11685
11720
|
}
|
|
11686
11721
|
|
|
11687
11722
|
/** @inheritdoc */
|
|
11688
|
-
async addEvent(event
|
|
11689
|
-
if (isCheckout) {
|
|
11690
|
-
this.events = [event];
|
|
11691
|
-
return;
|
|
11692
|
-
}
|
|
11693
|
-
|
|
11723
|
+
async addEvent(event) {
|
|
11694
11724
|
this.events.push(event);
|
|
11695
|
-
return;
|
|
11696
11725
|
}
|
|
11697
11726
|
|
|
11698
11727
|
/** @inheritdoc */
|
|
@@ -11706,6 +11735,22 @@ class EventBufferArray {
|
|
|
11706
11735
|
resolve(JSON.stringify(eventsRet));
|
|
11707
11736
|
});
|
|
11708
11737
|
}
|
|
11738
|
+
|
|
11739
|
+
/** @inheritdoc */
|
|
11740
|
+
clear() {
|
|
11741
|
+
this.events = [];
|
|
11742
|
+
}
|
|
11743
|
+
|
|
11744
|
+
/** @inheritdoc */
|
|
11745
|
+
getEarliestTimestamp() {
|
|
11746
|
+
const timestamp = this.events.map(event => event.timestamp).sort()[0];
|
|
11747
|
+
|
|
11748
|
+
if (!timestamp) {
|
|
11749
|
+
return null;
|
|
11750
|
+
}
|
|
11751
|
+
|
|
11752
|
+
return timestampToMs(timestamp);
|
|
11753
|
+
}
|
|
11709
11754
|
}
|
|
11710
11755
|
|
|
11711
11756
|
/**
|
|
@@ -11813,11 +11858,20 @@ class WorkerHandler {
|
|
|
11813
11858
|
* Exported only for testing.
|
|
11814
11859
|
*/
|
|
11815
11860
|
class EventBufferCompressionWorker {
|
|
11816
|
-
/** @inheritdoc */
|
|
11817
11861
|
|
|
11818
11862
|
constructor(worker) {
|
|
11819
11863
|
this._worker = new WorkerHandler(worker);
|
|
11820
|
-
this.
|
|
11864
|
+
this._earliestTimestamp = null;
|
|
11865
|
+
}
|
|
11866
|
+
|
|
11867
|
+
/** @inheritdoc */
|
|
11868
|
+
get hasEvents() {
|
|
11869
|
+
return !!this._earliestTimestamp;
|
|
11870
|
+
}
|
|
11871
|
+
|
|
11872
|
+
/** @inheritdoc */
|
|
11873
|
+
get type() {
|
|
11874
|
+
return 'worker';
|
|
11821
11875
|
}
|
|
11822
11876
|
|
|
11823
11877
|
/**
|
|
@@ -11840,13 +11894,10 @@ class EventBufferCompressionWorker {
|
|
|
11840
11894
|
*
|
|
11841
11895
|
* Returns true if event was successfuly received and processed by worker.
|
|
11842
11896
|
*/
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
// This event is a checkout, make sure worker buffer is cleared before
|
|
11848
|
-
// proceeding.
|
|
11849
|
-
await this._clear();
|
|
11897
|
+
addEvent(event) {
|
|
11898
|
+
const timestamp = timestampToMs(event.timestamp);
|
|
11899
|
+
if (!this._earliestTimestamp || timestamp < this._earliestTimestamp) {
|
|
11900
|
+
this._earliestTimestamp = timestamp;
|
|
11850
11901
|
}
|
|
11851
11902
|
|
|
11852
11903
|
return this._sendEventToWorker(event);
|
|
@@ -11859,6 +11910,18 @@ class EventBufferCompressionWorker {
|
|
|
11859
11910
|
return this._finishRequest();
|
|
11860
11911
|
}
|
|
11861
11912
|
|
|
11913
|
+
/** @inheritdoc */
|
|
11914
|
+
clear() {
|
|
11915
|
+
this._earliestTimestamp = null;
|
|
11916
|
+
// We do not wait on this, as we assume the order of messages is consistent for the worker
|
|
11917
|
+
void this._worker.postMessage('clear');
|
|
11918
|
+
}
|
|
11919
|
+
|
|
11920
|
+
/** @inheritdoc */
|
|
11921
|
+
getEarliestTimestamp() {
|
|
11922
|
+
return this._earliestTimestamp;
|
|
11923
|
+
}
|
|
11924
|
+
|
|
11862
11925
|
/**
|
|
11863
11926
|
* Send the event to the worker.
|
|
11864
11927
|
*/
|
|
@@ -11872,15 +11935,10 @@ class EventBufferCompressionWorker {
|
|
|
11872
11935
|
async _finishRequest() {
|
|
11873
11936
|
const response = await this._worker.postMessage('finish');
|
|
11874
11937
|
|
|
11875
|
-
this.
|
|
11938
|
+
this._earliestTimestamp = null;
|
|
11876
11939
|
|
|
11877
11940
|
return response;
|
|
11878
11941
|
}
|
|
11879
|
-
|
|
11880
|
-
/** Clear any pending events from the worker. */
|
|
11881
|
-
_clear() {
|
|
11882
|
-
return this._worker.postMessage('clear');
|
|
11883
|
-
}
|
|
11884
11942
|
}
|
|
11885
11943
|
|
|
11886
11944
|
/**
|
|
@@ -11898,6 +11956,11 @@ class EventBufferProxy {
|
|
|
11898
11956
|
this._ensureWorkerIsLoadedPromise = this._ensureWorkerIsLoaded();
|
|
11899
11957
|
}
|
|
11900
11958
|
|
|
11959
|
+
/** @inheritdoc */
|
|
11960
|
+
get type() {
|
|
11961
|
+
return this._used.type;
|
|
11962
|
+
}
|
|
11963
|
+
|
|
11901
11964
|
/** @inheritDoc */
|
|
11902
11965
|
get hasEvents() {
|
|
11903
11966
|
return this._used.hasEvents;
|
|
@@ -11909,13 +11972,23 @@ class EventBufferProxy {
|
|
|
11909
11972
|
this._compression.destroy();
|
|
11910
11973
|
}
|
|
11911
11974
|
|
|
11975
|
+
/** @inheritdoc */
|
|
11976
|
+
clear() {
|
|
11977
|
+
return this._used.clear();
|
|
11978
|
+
}
|
|
11979
|
+
|
|
11980
|
+
/** @inheritdoc */
|
|
11981
|
+
getEarliestTimestamp() {
|
|
11982
|
+
return this._used.getEarliestTimestamp();
|
|
11983
|
+
}
|
|
11984
|
+
|
|
11912
11985
|
/**
|
|
11913
11986
|
* Add an event to the event buffer.
|
|
11914
11987
|
*
|
|
11915
11988
|
* Returns true if event was successfully added.
|
|
11916
11989
|
*/
|
|
11917
|
-
addEvent(event
|
|
11918
|
-
return this._used.addEvent(event
|
|
11990
|
+
addEvent(event) {
|
|
11991
|
+
return this._used.addEvent(event);
|
|
11919
11992
|
}
|
|
11920
11993
|
|
|
11921
11994
|
/** @inheritDoc */
|
|
@@ -12216,10 +12289,7 @@ async function addEvent(
|
|
|
12216
12289
|
return null;
|
|
12217
12290
|
}
|
|
12218
12291
|
|
|
12219
|
-
|
|
12220
|
-
// requires coordination with frontend
|
|
12221
|
-
const isMs = event.timestamp > 9999999999;
|
|
12222
|
-
const timestampInMs = isMs ? event.timestamp : event.timestamp * 1000;
|
|
12292
|
+
const timestampInMs = timestampToMs(event.timestamp);
|
|
12223
12293
|
|
|
12224
12294
|
// Throw out events that happen more than 5 minutes ago. This can happen if
|
|
12225
12295
|
// page has been left open and idle for a long period of time and user
|
|
@@ -12229,15 +12299,12 @@ async function addEvent(
|
|
|
12229
12299
|
return null;
|
|
12230
12300
|
}
|
|
12231
12301
|
|
|
12232
|
-
// Only record earliest event if a new session was created, otherwise it
|
|
12233
|
-
// shouldn't be relevant
|
|
12234
|
-
const earliestEvent = replay.getContext().earliestEvent;
|
|
12235
|
-
if (replay.session && replay.session.segmentId === 0 && (!earliestEvent || timestampInMs < earliestEvent)) {
|
|
12236
|
-
replay.getContext().earliestEvent = timestampInMs;
|
|
12237
|
-
}
|
|
12238
|
-
|
|
12239
12302
|
try {
|
|
12240
|
-
|
|
12303
|
+
if (isCheckout) {
|
|
12304
|
+
replay.eventBuffer.clear();
|
|
12305
|
+
}
|
|
12306
|
+
|
|
12307
|
+
return await replay.eventBuffer.addEvent(event);
|
|
12241
12308
|
} catch (error) {
|
|
12242
12309
|
(typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__) && logger.error(error);
|
|
12243
12310
|
await replay.stop('addEvent');
|
|
@@ -12299,22 +12366,18 @@ function handleAfterSendEvent(replay) {
|
|
|
12299
12366
|
return;
|
|
12300
12367
|
}
|
|
12301
12368
|
|
|
12302
|
-
// Add error to list of errorIds of replay
|
|
12369
|
+
// Add error to list of errorIds of replay. This is ok to do even if not
|
|
12370
|
+
// sampled because context will get reset at next checkout.
|
|
12371
|
+
// XXX: There is also a race condition where it's possible to capture an
|
|
12372
|
+
// error to Sentry before Replay SDK has loaded, but response returns after
|
|
12373
|
+
// it was loaded, and this gets called.
|
|
12303
12374
|
if (event.event_id) {
|
|
12304
12375
|
replay.getContext().errorIds.add(event.event_id);
|
|
12305
12376
|
}
|
|
12306
12377
|
|
|
12307
|
-
//
|
|
12378
|
+
// If error event is tagged with replay id it means it was sampled (when in buffer mode)
|
|
12308
12379
|
// Need to be very careful that this does not cause an infinite loop
|
|
12309
|
-
if (
|
|
12310
|
-
replay.recordingMode === 'buffer' &&
|
|
12311
|
-
event.exception &&
|
|
12312
|
-
event.message !== UNABLE_TO_SEND_REPLAY // ignore this error because otherwise we could loop indefinitely with trying to capture replay and failing
|
|
12313
|
-
) {
|
|
12314
|
-
if (!isSampled(replay.getOptions().errorSampleRate)) {
|
|
12315
|
-
return;
|
|
12316
|
-
}
|
|
12317
|
-
|
|
12380
|
+
if (replay.recordingMode === 'buffer' && event.tags && event.tags.replayId) {
|
|
12318
12381
|
setTimeout(() => {
|
|
12319
12382
|
// Capture current event buffer as new replay
|
|
12320
12383
|
void replay.sendBufferedReplayOrFlush();
|
|
@@ -12378,7 +12441,7 @@ function addBreadcrumbEvent(replay, breadcrumb) {
|
|
|
12378
12441
|
|
|
12379
12442
|
replay.addUpdate(() => {
|
|
12380
12443
|
void addEvent(replay, {
|
|
12381
|
-
type: EventType.Custom,
|
|
12444
|
+
type: EventType$1.Custom,
|
|
12382
12445
|
// TODO: We were converting from ms to seconds for breadcrumbs, spans,
|
|
12383
12446
|
// but maybe we should just keep them as milliseconds
|
|
12384
12447
|
timestamp: (breadcrumb.timestamp || 0) * 1000,
|
|
@@ -12446,15 +12509,18 @@ const handleDomListener =
|
|
|
12446
12509
|
|
|
12447
12510
|
/**
|
|
12448
12511
|
* An event handler to react to DOM events.
|
|
12512
|
+
* Exported for tests only.
|
|
12449
12513
|
*/
|
|
12450
12514
|
function handleDom(handlerData) {
|
|
12451
12515
|
let target;
|
|
12452
12516
|
let targetNode;
|
|
12453
12517
|
|
|
12518
|
+
const isClick = handlerData.name === 'click';
|
|
12519
|
+
|
|
12454
12520
|
// Accessing event.target can throw (see getsentry/raven-js#838, #768)
|
|
12455
12521
|
try {
|
|
12456
|
-
targetNode = getTargetNode(handlerData);
|
|
12457
|
-
target = htmlTreeAsString(targetNode);
|
|
12522
|
+
targetNode = isClick ? getClickTargetNode(handlerData.event) : getTargetNode(handlerData.event);
|
|
12523
|
+
target = htmlTreeAsString(targetNode, { maxStringLength: 200 });
|
|
12458
12524
|
} catch (e) {
|
|
12459
12525
|
target = '<unknown>';
|
|
12460
12526
|
}
|
|
@@ -12488,12 +12554,29 @@ function handleDom(handlerData) {
|
|
|
12488
12554
|
});
|
|
12489
12555
|
}
|
|
12490
12556
|
|
|
12491
|
-
function getTargetNode(
|
|
12492
|
-
if (isEventWithTarget(
|
|
12493
|
-
return
|
|
12557
|
+
function getTargetNode(event) {
|
|
12558
|
+
if (isEventWithTarget(event)) {
|
|
12559
|
+
return event.target;
|
|
12494
12560
|
}
|
|
12495
12561
|
|
|
12496
|
-
return
|
|
12562
|
+
return event;
|
|
12563
|
+
}
|
|
12564
|
+
|
|
12565
|
+
const INTERACTIVE_SELECTOR = 'button,a';
|
|
12566
|
+
|
|
12567
|
+
// For clicks, we check if the target is inside of a button or link
|
|
12568
|
+
// If so, we use this as the target instead
|
|
12569
|
+
// This is useful because if you click on the image in <button><img></button>,
|
|
12570
|
+
// The target will be the image, not the button, which we don't want here
|
|
12571
|
+
function getClickTargetNode(event) {
|
|
12572
|
+
const target = getTargetNode(event);
|
|
12573
|
+
|
|
12574
|
+
if (!target || !(target instanceof Element)) {
|
|
12575
|
+
return target;
|
|
12576
|
+
}
|
|
12577
|
+
|
|
12578
|
+
const closestInteractive = target.closest(INTERACTIVE_SELECTOR);
|
|
12579
|
+
return closestInteractive || target;
|
|
12497
12580
|
}
|
|
12498
12581
|
|
|
12499
12582
|
function isEventWithTarget(event) {
|
|
@@ -12523,6 +12606,30 @@ function isRrwebError(event, hint) {
|
|
|
12523
12606
|
});
|
|
12524
12607
|
}
|
|
12525
12608
|
|
|
12609
|
+
/**
|
|
12610
|
+
* Determine if event should be sampled (only applies in buffer mode).
|
|
12611
|
+
* When an event is captured by `hanldleGlobalEvent`, when in buffer mode
|
|
12612
|
+
* we determine if we want to sample the error or not.
|
|
12613
|
+
*/
|
|
12614
|
+
function shouldSampleForBufferEvent(replay, event) {
|
|
12615
|
+
if (replay.recordingMode !== 'buffer') {
|
|
12616
|
+
return false;
|
|
12617
|
+
}
|
|
12618
|
+
|
|
12619
|
+
// ignore this error because otherwise we could loop indefinitely with
|
|
12620
|
+
// trying to capture replay and failing
|
|
12621
|
+
if (event.message === UNABLE_TO_SEND_REPLAY) {
|
|
12622
|
+
return false;
|
|
12623
|
+
}
|
|
12624
|
+
|
|
12625
|
+
// Require the event to be an error event & to have an exception
|
|
12626
|
+
if (!event.exception || event.type) {
|
|
12627
|
+
return false;
|
|
12628
|
+
}
|
|
12629
|
+
|
|
12630
|
+
return isSampled(replay.getOptions().errorSampleRate);
|
|
12631
|
+
}
|
|
12632
|
+
|
|
12526
12633
|
/**
|
|
12527
12634
|
* Returns a listener to be added to `addGlobalEventProcessor(listener)`.
|
|
12528
12635
|
*/
|
|
@@ -12552,8 +12659,16 @@ function handleGlobalEventListener(
|
|
|
12552
12659
|
return null;
|
|
12553
12660
|
}
|
|
12554
12661
|
|
|
12555
|
-
//
|
|
12556
|
-
if
|
|
12662
|
+
// When in buffer mode, we decide to sample here.
|
|
12663
|
+
// Later, in `handleAfterSendEvent`, if the replayId is set, we know that we sampled
|
|
12664
|
+
// And convert the buffer session to a full session
|
|
12665
|
+
const isErrorEventSampled = shouldSampleForBufferEvent(replay, event);
|
|
12666
|
+
|
|
12667
|
+
// Tag errors if it has been sampled in buffer mode, or if it is session mode
|
|
12668
|
+
// Only tag transactions if in session mode
|
|
12669
|
+
const shouldTagReplayId = isErrorEventSampled || replay.recordingMode === 'session';
|
|
12670
|
+
|
|
12671
|
+
if (shouldTagReplayId) {
|
|
12557
12672
|
event.tags = { ...event.tags, replayId: replay.getSessionId() };
|
|
12558
12673
|
}
|
|
12559
12674
|
|
|
@@ -12603,7 +12718,7 @@ function createPerformanceSpans(
|
|
|
12603
12718
|
) {
|
|
12604
12719
|
return entries.map(({ type, start, end, name, data }) =>
|
|
12605
12720
|
addEvent(replay, {
|
|
12606
|
-
type: EventType.Custom,
|
|
12721
|
+
type: EventType$1.Custom,
|
|
12607
12722
|
timestamp: start,
|
|
12608
12723
|
data: {
|
|
12609
12724
|
tag: 'performanceSpan',
|
|
@@ -13935,7 +14050,8 @@ function addGlobalListeners(replay) {
|
|
|
13935
14050
|
client.on('afterSendEvent', handleAfterSendEvent(replay));
|
|
13936
14051
|
client.on('createDsc', (dsc) => {
|
|
13937
14052
|
const replayId = replay.getSessionId();
|
|
13938
|
-
|
|
14053
|
+
// We do not want to set the DSC when in buffer mode, as that means the replay has not been sent (yet)
|
|
14054
|
+
if (replayId && replay.isEnabled() && replay.recordingMode === 'session') {
|
|
13939
14055
|
dsc.replay_id = replayId;
|
|
13940
14056
|
}
|
|
13941
14057
|
});
|
|
@@ -14215,6 +14331,23 @@ function debounce(func, wait, options) {
|
|
|
14215
14331
|
return debounced;
|
|
14216
14332
|
}
|
|
14217
14333
|
|
|
14334
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14335
|
+
|
|
14336
|
+
var EventType; (function (EventType) {
|
|
14337
|
+
const DomContentLoaded = 0; EventType[EventType["DomContentLoaded"] = DomContentLoaded] = "DomContentLoaded";
|
|
14338
|
+
const Load = 1; EventType[EventType["Load"] = Load] = "Load";
|
|
14339
|
+
const FullSnapshot = 2; EventType[EventType["FullSnapshot"] = FullSnapshot] = "FullSnapshot";
|
|
14340
|
+
const IncrementalSnapshot = 3; EventType[EventType["IncrementalSnapshot"] = IncrementalSnapshot] = "IncrementalSnapshot";
|
|
14341
|
+
const Meta = 4; EventType[EventType["Meta"] = Meta] = "Meta";
|
|
14342
|
+
const Custom = 5; EventType[EventType["Custom"] = Custom] = "Custom";
|
|
14343
|
+
const Plugin = 6; EventType[EventType["Plugin"] = Plugin] = "Plugin";
|
|
14344
|
+
})(EventType || (EventType = {}));
|
|
14345
|
+
|
|
14346
|
+
/**
|
|
14347
|
+
* This is a partial copy of rrweb's eventWithTime type which only contains the properties
|
|
14348
|
+
* we specifcally need in the SDK.
|
|
14349
|
+
*/
|
|
14350
|
+
|
|
14218
14351
|
/**
|
|
14219
14352
|
* Handler for recording events.
|
|
14220
14353
|
*
|
|
@@ -14257,6 +14390,14 @@ function getHandleRecordingEmit(replay) {
|
|
|
14257
14390
|
return false;
|
|
14258
14391
|
}
|
|
14259
14392
|
|
|
14393
|
+
// Additionally, create a meta event that will capture certain SDK settings.
|
|
14394
|
+
// In order to handle buffer mode, this needs to either be done when we
|
|
14395
|
+
// receive checkout events or at flush time.
|
|
14396
|
+
//
|
|
14397
|
+
// `isCheckout` is always true, but want to be explicit that it should
|
|
14398
|
+
// only be added for checkouts
|
|
14399
|
+
void addSettingsEvent(replay, isCheckout);
|
|
14400
|
+
|
|
14260
14401
|
// If there is a previousSessionId after a full snapshot occurs, then
|
|
14261
14402
|
// the replay session was started due to session expiration. The new session
|
|
14262
14403
|
// is started before triggering a new checkout and contains the id
|
|
@@ -14267,10 +14408,10 @@ function getHandleRecordingEmit(replay) {
|
|
|
14267
14408
|
return true;
|
|
14268
14409
|
}
|
|
14269
14410
|
|
|
14270
|
-
//
|
|
14271
|
-
// checkout
|
|
14272
|
-
if (replay.recordingMode === 'buffer' && replay.session) {
|
|
14273
|
-
const
|
|
14411
|
+
// When in buffer mode, make sure we adjust the session started date to the current earliest event of the buffer
|
|
14412
|
+
// this should usually be the timestamp of the checkout event, but to be safe...
|
|
14413
|
+
if (replay.recordingMode === 'buffer' && replay.session && replay.eventBuffer) {
|
|
14414
|
+
const earliestEvent = replay.eventBuffer.getEarliestTimestamp();
|
|
14274
14415
|
if (earliestEvent) {
|
|
14275
14416
|
replay.session.started = earliestEvent;
|
|
14276
14417
|
|
|
@@ -14294,6 +14435,46 @@ function getHandleRecordingEmit(replay) {
|
|
|
14294
14435
|
};
|
|
14295
14436
|
}
|
|
14296
14437
|
|
|
14438
|
+
/**
|
|
14439
|
+
* Exported for tests
|
|
14440
|
+
*/
|
|
14441
|
+
function createOptionsEvent(replay) {
|
|
14442
|
+
const options = replay.getOptions();
|
|
14443
|
+
return {
|
|
14444
|
+
type: EventType.Custom,
|
|
14445
|
+
timestamp: Date.now(),
|
|
14446
|
+
data: {
|
|
14447
|
+
tag: 'options',
|
|
14448
|
+
payload: {
|
|
14449
|
+
sessionSampleRate: options.sessionSampleRate,
|
|
14450
|
+
errorSampleRate: options.errorSampleRate,
|
|
14451
|
+
useCompressionOption: options.useCompression,
|
|
14452
|
+
blockAllMedia: options.blockAllMedia,
|
|
14453
|
+
maskAllText: options.maskAllText,
|
|
14454
|
+
maskAllInputs: options.maskAllInputs,
|
|
14455
|
+
useCompression: replay.eventBuffer ? replay.eventBuffer.type === 'worker' : false,
|
|
14456
|
+
networkDetailHasUrls: options.networkDetailAllowUrls.length > 0,
|
|
14457
|
+
networkCaptureBodies: options.networkCaptureBodies,
|
|
14458
|
+
networkRequestHasHeaders: options.networkRequestHeaders.length > 0,
|
|
14459
|
+
networkResponseHasHeaders: options.networkResponseHeaders.length > 0,
|
|
14460
|
+
},
|
|
14461
|
+
},
|
|
14462
|
+
};
|
|
14463
|
+
}
|
|
14464
|
+
|
|
14465
|
+
/**
|
|
14466
|
+
* Add a "meta" event that contains a simplified view on current configuration
|
|
14467
|
+
* options. This should only be included on the first segment of a recording.
|
|
14468
|
+
*/
|
|
14469
|
+
function addSettingsEvent(replay, isCheckout) {
|
|
14470
|
+
// Only need to add this event when sending the first segment
|
|
14471
|
+
if (!isCheckout || !replay.session || replay.session.segmentId !== 0) {
|
|
14472
|
+
return Promise.resolve(null);
|
|
14473
|
+
}
|
|
14474
|
+
|
|
14475
|
+
return addEvent(replay, createOptionsEvent(replay), false);
|
|
14476
|
+
}
|
|
14477
|
+
|
|
14297
14478
|
/**
|
|
14298
14479
|
* Create a replay envelope ready to be sent.
|
|
14299
14480
|
* This includes both the replay event, as well as the recording data.
|
|
@@ -14408,7 +14589,6 @@ async function sendReplayRequest({
|
|
|
14408
14589
|
eventContext,
|
|
14409
14590
|
timestamp,
|
|
14410
14591
|
session,
|
|
14411
|
-
options,
|
|
14412
14592
|
}) {
|
|
14413
14593
|
const preparedRecordingData = prepareRecordingData({
|
|
14414
14594
|
recordingData,
|
|
@@ -14450,15 +14630,6 @@ async function sendReplayRequest({
|
|
|
14450
14630
|
return;
|
|
14451
14631
|
}
|
|
14452
14632
|
|
|
14453
|
-
replayEvent.contexts = {
|
|
14454
|
-
...replayEvent.contexts,
|
|
14455
|
-
replay: {
|
|
14456
|
-
...(replayEvent.contexts && replayEvent.contexts.replay),
|
|
14457
|
-
session_sample_rate: options.sessionSampleRate,
|
|
14458
|
-
error_sample_rate: options.errorSampleRate,
|
|
14459
|
-
},
|
|
14460
|
-
};
|
|
14461
|
-
|
|
14462
14633
|
/*
|
|
14463
14634
|
For reference, the fully built event looks something like this:
|
|
14464
14635
|
{
|
|
@@ -14489,10 +14660,6 @@ async function sendReplayRequest({
|
|
|
14489
14660
|
},
|
|
14490
14661
|
"sdkProcessingMetadata": {},
|
|
14491
14662
|
"contexts": {
|
|
14492
|
-
"replay": {
|
|
14493
|
-
"session_sample_rate": 1,
|
|
14494
|
-
"error_sample_rate": 0,
|
|
14495
|
-
},
|
|
14496
14663
|
},
|
|
14497
14664
|
}
|
|
14498
14665
|
*/
|
|
@@ -14676,7 +14843,6 @@ class ReplayContainer {
|
|
|
14676
14843
|
errorIds: new Set(),
|
|
14677
14844
|
traceIds: new Set(),
|
|
14678
14845
|
urls: [],
|
|
14679
|
-
earliestEvent: null,
|
|
14680
14846
|
initialTimestamp: Date.now(),
|
|
14681
14847
|
initialUrl: '',
|
|
14682
14848
|
};}
|
|
@@ -14686,7 +14852,7 @@ class ReplayContainer {
|
|
|
14686
14852
|
recordingOptions,
|
|
14687
14853
|
}
|
|
14688
14854
|
|
|
14689
|
-
) {ReplayContainer.prototype.__init.call(this);ReplayContainer.prototype.__init2.call(this);ReplayContainer.prototype.__init3.call(this);ReplayContainer.prototype.__init4.call(this);ReplayContainer.prototype.__init5.call(this);ReplayContainer.prototype.__init6.call(this);ReplayContainer.prototype.__init7.call(this);ReplayContainer.prototype.__init8.call(this);ReplayContainer.prototype.__init9.call(this);ReplayContainer.prototype.__init10.call(this);ReplayContainer.prototype.__init11.call(this);ReplayContainer.prototype.__init12.call(this);ReplayContainer.prototype.__init13.call(this);ReplayContainer.prototype.__init14.call(this);ReplayContainer.prototype.__init15.call(this);ReplayContainer.prototype.__init16.call(this);ReplayContainer.prototype.__init17.call(this);
|
|
14855
|
+
) {ReplayContainer.prototype.__init.call(this);ReplayContainer.prototype.__init2.call(this);ReplayContainer.prototype.__init3.call(this);ReplayContainer.prototype.__init4.call(this);ReplayContainer.prototype.__init5.call(this);ReplayContainer.prototype.__init6.call(this);ReplayContainer.prototype.__init7.call(this);ReplayContainer.prototype.__init8.call(this);ReplayContainer.prototype.__init9.call(this);ReplayContainer.prototype.__init10.call(this);ReplayContainer.prototype.__init11.call(this);ReplayContainer.prototype.__init12.call(this);ReplayContainer.prototype.__init13.call(this);ReplayContainer.prototype.__init14.call(this);ReplayContainer.prototype.__init15.call(this);ReplayContainer.prototype.__init16.call(this);ReplayContainer.prototype.__init17.call(this);ReplayContainer.prototype.__init18.call(this);
|
|
14690
14856
|
this._recordingOptions = recordingOptions;
|
|
14691
14857
|
this._options = options;
|
|
14692
14858
|
|
|
@@ -15178,6 +15344,7 @@ class ReplayContainer {
|
|
|
15178
15344
|
WINDOW.document.addEventListener('visibilitychange', this._handleVisibilityChange);
|
|
15179
15345
|
WINDOW.addEventListener('blur', this._handleWindowBlur);
|
|
15180
15346
|
WINDOW.addEventListener('focus', this._handleWindowFocus);
|
|
15347
|
+
WINDOW.addEventListener('keydown', this._handleKeyboardEvent);
|
|
15181
15348
|
|
|
15182
15349
|
// There is no way to remove these listeners, so ensure they are only added once
|
|
15183
15350
|
if (!this._hasInitializedCoreListeners) {
|
|
@@ -15206,6 +15373,7 @@ class ReplayContainer {
|
|
|
15206
15373
|
|
|
15207
15374
|
WINDOW.removeEventListener('blur', this._handleWindowBlur);
|
|
15208
15375
|
WINDOW.removeEventListener('focus', this._handleWindowFocus);
|
|
15376
|
+
WINDOW.removeEventListener('keydown', this._handleKeyboardEvent);
|
|
15209
15377
|
|
|
15210
15378
|
if (this._performanceObserver) {
|
|
15211
15379
|
this._performanceObserver.disconnect();
|
|
@@ -15256,6 +15424,11 @@ class ReplayContainer {
|
|
|
15256
15424
|
this._doChangeToForegroundTasks(breadcrumb);
|
|
15257
15425
|
};}
|
|
15258
15426
|
|
|
15427
|
+
/** Ensure page remains active when a key is pressed. */
|
|
15428
|
+
__init16() {this._handleKeyboardEvent = () => {
|
|
15429
|
+
this.triggerUserActivity();
|
|
15430
|
+
};}
|
|
15431
|
+
|
|
15259
15432
|
/**
|
|
15260
15433
|
* Tasks to run when we consider a page to be hidden (via blurring and/or visibility)
|
|
15261
15434
|
*/
|
|
@@ -15335,7 +15508,7 @@ class ReplayContainer {
|
|
|
15335
15508
|
_createCustomBreadcrumb(breadcrumb) {
|
|
15336
15509
|
this.addUpdate(() => {
|
|
15337
15510
|
void addEvent(this, {
|
|
15338
|
-
type: EventType.Custom,
|
|
15511
|
+
type: EventType$1.Custom,
|
|
15339
15512
|
timestamp: breadcrumb.timestamp || 0,
|
|
15340
15513
|
data: {
|
|
15341
15514
|
tag: 'breadcrumb',
|
|
@@ -15376,22 +15549,35 @@ class ReplayContainer {
|
|
|
15376
15549
|
this._context.errorIds.clear();
|
|
15377
15550
|
this._context.traceIds.clear();
|
|
15378
15551
|
this._context.urls = [];
|
|
15379
|
-
|
|
15552
|
+
}
|
|
15553
|
+
|
|
15554
|
+
/** Update the initial timestamp based on the buffer content. */
|
|
15555
|
+
_updateInitialTimestampFromEventBuffer() {
|
|
15556
|
+
const { session, eventBuffer } = this;
|
|
15557
|
+
if (!session || !eventBuffer) {
|
|
15558
|
+
return;
|
|
15559
|
+
}
|
|
15560
|
+
|
|
15561
|
+
// we only ever update this on the initial segment
|
|
15562
|
+
if (session.segmentId) {
|
|
15563
|
+
return;
|
|
15564
|
+
}
|
|
15565
|
+
|
|
15566
|
+
const earliestEvent = eventBuffer.getEarliestTimestamp();
|
|
15567
|
+
if (earliestEvent && earliestEvent < this._context.initialTimestamp) {
|
|
15568
|
+
this._context.initialTimestamp = earliestEvent;
|
|
15569
|
+
}
|
|
15380
15570
|
}
|
|
15381
15571
|
|
|
15382
15572
|
/**
|
|
15383
15573
|
* Return and clear _context
|
|
15384
15574
|
*/
|
|
15385
15575
|
_popEventContext() {
|
|
15386
|
-
if (this._context.earliestEvent && this._context.earliestEvent < this._context.initialTimestamp) {
|
|
15387
|
-
this._context.initialTimestamp = this._context.earliestEvent;
|
|
15388
|
-
}
|
|
15389
|
-
|
|
15390
15576
|
const _context = {
|
|
15391
15577
|
initialTimestamp: this._context.initialTimestamp,
|
|
15392
15578
|
initialUrl: this._context.initialUrl,
|
|
15393
|
-
errorIds: Array.from(this._context.errorIds)
|
|
15394
|
-
traceIds: Array.from(this._context.traceIds)
|
|
15579
|
+
errorIds: Array.from(this._context.errorIds),
|
|
15580
|
+
traceIds: Array.from(this._context.traceIds),
|
|
15395
15581
|
urls: this._context.urls,
|
|
15396
15582
|
};
|
|
15397
15583
|
|
|
@@ -15430,6 +15616,9 @@ class ReplayContainer {
|
|
|
15430
15616
|
}
|
|
15431
15617
|
|
|
15432
15618
|
try {
|
|
15619
|
+
// This uses the data from the eventBuffer, so we need to call this before `finish()
|
|
15620
|
+
this._updateInitialTimestampFromEventBuffer();
|
|
15621
|
+
|
|
15433
15622
|
// Note this empties the event buffer regardless of outcome of sending replay
|
|
15434
15623
|
const recordingData = await this.eventBuffer.finish();
|
|
15435
15624
|
|
|
@@ -15470,7 +15659,7 @@ class ReplayContainer {
|
|
|
15470
15659
|
* Flush recording data to Sentry. Creates a lock so that only a single flush
|
|
15471
15660
|
* can be active at a time. Do not call this directly.
|
|
15472
15661
|
*/
|
|
15473
|
-
|
|
15662
|
+
__init17() {this._flush = async ({
|
|
15474
15663
|
force = false,
|
|
15475
15664
|
}
|
|
15476
15665
|
|
|
@@ -15525,7 +15714,7 @@ class ReplayContainer {
|
|
|
15525
15714
|
}
|
|
15526
15715
|
|
|
15527
15716
|
/** Handler for rrweb.record.onMutation */
|
|
15528
|
-
|
|
15717
|
+
__init18() {this._onMutationHandler = (mutations) => {
|
|
15529
15718
|
const count = mutations.length;
|
|
15530
15719
|
|
|
15531
15720
|
const mutationLimit = this._options._experiments.mutationLimit || 0;
|
|
@@ -15764,6 +15953,8 @@ class Replay {
|
|
|
15764
15953
|
errorSampleRate,
|
|
15765
15954
|
useCompression,
|
|
15766
15955
|
blockAllMedia,
|
|
15956
|
+
maskAllInputs,
|
|
15957
|
+
maskAllText,
|
|
15767
15958
|
networkDetailAllowUrls,
|
|
15768
15959
|
networkCaptureBodies,
|
|
15769
15960
|
networkRequestHeaders: _getMergedNetworkHeaders(networkRequestHeaders),
|
|
@@ -24991,6 +25182,7 @@ var ACTIONS$7;
|
|
|
24991
25182
|
ACTIONS["SET_MEDIA_RECORDER"] = "SET_MEDIA_RECORDER";
|
|
24992
25183
|
ACTIONS["SET_MIC_ERROR"] = "SET_MIC_ERROR";
|
|
24993
25184
|
ACTIONS["SET_PERMISSION_LISTENER"] = "SET_PERMISSION_LISTENER";
|
|
25185
|
+
ACTIONS["SET_ACTIVELY_STOPPED"] = "SET_ACTIVELY_STOPPED";
|
|
24994
25186
|
})(ACTIONS$7 || (ACTIONS$7 = {}));
|
|
24995
25187
|
var EVENTS$6;
|
|
24996
25188
|
(function (EVENTS) {
|
|
@@ -25080,6 +25272,7 @@ const CAMERA_STATES = {
|
|
|
25080
25272
|
WAITING: 'WAITING',
|
|
25081
25273
|
ERROR: 'ERROR',
|
|
25082
25274
|
READY: 'READY',
|
|
25275
|
+
SKIP: 'SKIP',
|
|
25083
25276
|
};
|
|
25084
25277
|
const MICROPHONE_STATES = {
|
|
25085
25278
|
WAITING: 'WAITING',
|
|
@@ -25109,6 +25302,7 @@ var STATES$5;
|
|
|
25109
25302
|
STATES["SETUP__TEST__CAMERA__WAITING"] = "testCameraWaiting";
|
|
25110
25303
|
STATES["SETUP__TEST__CAMERA__ERROR"] = "testCameraError";
|
|
25111
25304
|
STATES["SETUP__TEST__CAMERA__SUCCESS"] = "testCameraSuccess";
|
|
25305
|
+
STATES["SETUP__TEST__CAMERA__SKIP"] = "testCameraSkip";
|
|
25112
25306
|
STATES["SETUP__TEST__MICROPHONE"] = "testMicrophone";
|
|
25113
25307
|
STATES["SETUP__TEST__MICROPHONE__WAITING"] = "testMicrophoneWaiting";
|
|
25114
25308
|
STATES["SETUP__TEST__MICROPHONE__ERROR"] = "testMicrophoneError";
|
|
@@ -25218,6 +25412,7 @@ var SERVICES$1;
|
|
|
25218
25412
|
})(SERVICES$1 || (SERVICES$1 = {}));
|
|
25219
25413
|
var GUARDS$3;
|
|
25220
25414
|
(function (GUARDS) {
|
|
25415
|
+
GUARDS["IS_VIDEO_RECORDING_SKIP"] = "isVideoRecordingSkip";
|
|
25221
25416
|
GUARDS["NO_STORAGE"] = "noStorage";
|
|
25222
25417
|
GUARDS["NO_RECORDER"] = "noRecorder";
|
|
25223
25418
|
GUARDS["IS_THINKING_TIME"] = "isThinkingTime";
|
|
@@ -29965,7 +30160,7 @@ const configGenerator = () => {
|
|
|
29965
30160
|
let release;
|
|
29966
30161
|
try {
|
|
29967
30162
|
environment !== null && environment !== void 0 ? environment : (environment = "staging");
|
|
29968
|
-
release !== null && release !== void 0 ? release : (release = "1.1.
|
|
30163
|
+
release !== null && release !== void 0 ? release : (release = "1.1.23");
|
|
29969
30164
|
}
|
|
29970
30165
|
catch (_a) {
|
|
29971
30166
|
console.error('sentry configGenerator error');
|
|
@@ -30480,7 +30675,7 @@ const DeviceSelectorList = ({ deviceList, selectedDevice, onDeviceSelected, devi
|
|
|
30480
30675
|
${device.deviceId === (selectedDevice === null || selectedDevice === void 0 ? void 0 : selectedDevice.deviceId) ? 'myinterview-widget-device__select-option--selected' : ''}`, size: "S-Regular", onClick: () => onDeviceSelected(deviceType, device.deviceId) }, device.label))))));
|
|
30481
30676
|
};
|
|
30482
30677
|
|
|
30483
|
-
const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices = [], selectedAudioDevice, selectedVideoDevice, myinterviewRef, }) => {
|
|
30678
|
+
const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices = [], selectedAudioDevice, selectedVideoDevice, myinterviewRef, recordWithoutVideo, }) => {
|
|
30484
30679
|
const menuRef = React.useRef(null);
|
|
30485
30680
|
const [isSettingsOpen, setSettingsOpen] = React.useState(false);
|
|
30486
30681
|
React.useEffect(() => {
|
|
@@ -30499,7 +30694,7 @@ const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices =
|
|
|
30499
30694
|
(_b = (_a = myinterviewRef === null || myinterviewRef === void 0 ? void 0 : myinterviewRef.current) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.removeEventListener('mousedown', checkIfClickedOutside);
|
|
30500
30695
|
};
|
|
30501
30696
|
}, [isSettingsOpen]);
|
|
30502
|
-
return isMobile
|
|
30697
|
+
return (isMobile && !recordWithoutVideo)
|
|
30503
30698
|
? (React__default["default"].createElement("span", { className: "myinterview-widget-device myinterview-widget-device__mobile", onClick: () => handleDeviceChange(), role: "presentation" },
|
|
30504
30699
|
React__default["default"].createElement(Ne, null)))
|
|
30505
30700
|
: (React__default["default"].createElement("div", { ref: menuRef, className: "myinterview-widget-device myinterview-widget-device__desktop" },
|
|
@@ -30507,7 +30702,7 @@ const DeviceSelector = ({ handleDeviceChange, videoDevices = [], audioDevices =
|
|
|
30507
30702
|
React__default["default"].createElement(ke, null)),
|
|
30508
30703
|
isSettingsOpen && (React__default["default"].createElement("div", { className: "myinterview-widget-device__modal" },
|
|
30509
30704
|
React__default["default"].createElement("div", { className: "myinterview-widget-device__select-wrapper" },
|
|
30510
|
-
React__default["default"].createElement(DeviceSelectorList, { deviceList: videoDevices, selectedDevice: selectedVideoDevice, onDeviceSelected: handleDeviceChange, deviceType: "video" }),
|
|
30705
|
+
!recordWithoutVideo && (React__default["default"].createElement(DeviceSelectorList, { deviceList: videoDevices, selectedDevice: selectedVideoDevice, onDeviceSelected: handleDeviceChange, deviceType: "video" })),
|
|
30511
30706
|
React__default["default"].createElement(DeviceSelectorList, { deviceList: audioDevices, selectedDevice: selectedAudioDevice, onDeviceSelected: handleDeviceChange, deviceType: "audio" }))))));
|
|
30512
30707
|
};
|
|
30513
30708
|
|
|
@@ -30570,14 +30765,15 @@ const PracticeMode = () => {
|
|
|
30570
30765
|
React__default["default"].createElement(Qe, { size: "S-Regular", color: "primary" }, t('practice.title'))));
|
|
30571
30766
|
};
|
|
30572
30767
|
|
|
30573
|
-
const VideoCamera = React__default["default"].forwardRef(({ isCameraDisplayed, microphoneRef, isPracticeModeDisplayed, errorType, isPermissionStepsOpen, onDisplayPermissionSteps, onClosePermissionSteps, onRecorderRetry, isRecorderCanChangeSettings, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, handleDeviceChange, canStartRecording, currentQuestion, numberOfQuestions, currentQuestionObj, isRecording, durations, recordingTime, isCountDown, countdown, isQuestionDisplayed, onReInitRecorder, myinterviewRef, isAssessment, }, videoRef) => (React__default["default"].createElement("div", { className: `myinterview-widget-video-camera ${!isCameraDisplayed ? 'myinterview-widget-video-camera--hidden' : ''}` },
|
|
30574
|
-
React__default["default"].createElement("
|
|
30768
|
+
const VideoCamera = React__default["default"].forwardRef(({ recordWithoutVideo, isCameraDisplayed, microphoneRef, isPracticeModeDisplayed, errorType, isPermissionStepsOpen, onDisplayPermissionSteps, onClosePermissionSteps, onRecorderRetry, isRecorderCanChangeSettings, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, handleDeviceChange, canStartRecording, currentQuestion, numberOfQuestions, currentQuestionObj, isRecording, durations, recordingTime, isCountDown, countdown, isQuestionDisplayed, onReInitRecorder, myinterviewRef, isAssessment, }, videoRef) => (React__default["default"].createElement("div", { className: `myinterview-widget-video-camera ${!isCameraDisplayed ? 'myinterview-widget-video-camera--hidden' : ''}` },
|
|
30769
|
+
recordWithoutVideo ? (React__default["default"].createElement("div", { className: "myinterview-widget-video-camera__recording-without-video" },
|
|
30770
|
+
React__default["default"].createElement(Se, null))) : React__default["default"].createElement("video", { ref: videoRef, playsInline: true, autoPlay: true, disablePictureInPicture: true, controls: false, muted: true, hidden: isAssessment }),
|
|
30575
30771
|
canStartRecording && React__default["default"].createElement(QuestionNumber, { currentQuestion: currentQuestion, numberOfQuestions: numberOfQuestions }),
|
|
30576
30772
|
isRecording && (React__default["default"].createElement("div", { className: "myinterview-widget-video-camera__recording-counter-wrapper" },
|
|
30577
30773
|
React__default["default"].createElement(Counter, { limit: durations, counter: recordingTime, isRecording: true }))),
|
|
30578
30774
|
microphoneRef && React__default["default"].createElement(MicrophoneIndicator, { microphoneRef: microphoneRef }),
|
|
30579
30775
|
isPracticeModeDisplayed && React__default["default"].createElement(PracticeMode, null),
|
|
30580
|
-
isRecorderCanChangeSettings && (React__default["default"].createElement(DeviceSelector, { myinterviewRef: myinterviewRef, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange })),
|
|
30776
|
+
isRecorderCanChangeSettings && (React__default["default"].createElement(DeviceSelector, { recordWithoutVideo: recordWithoutVideo, myinterviewRef: myinterviewRef, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange })),
|
|
30581
30777
|
isCountDown && React__default["default"].createElement(CountDown, { countDown: countdown }),
|
|
30582
30778
|
((errorType && (!isPermissionStepsOpen || isMobile)) || (!isRecording && isQuestionDisplayed && (!(videoDevices === null || videoDevices === void 0 ? void 0 : videoDevices.length) || (currentQuestionObj)))) && (React__default["default"].createElement(RecorderModal, { isRecording: isRecording, errorType: errorType, onDisplayPermissionSteps: onDisplayPermissionSteps, onReInitRecorder: onReInitRecorder, onRecorderRetry: onRecorderRetry, currentQuestionObj: currentQuestionObj, deviceList: audioDevices || [], selectedDevice: selectedAudioDevice, onDeviceSelected: handleDeviceChange, deviceType: "audio" })),
|
|
30583
30779
|
!isMobile && isPermissionStepsOpen && (React__default["default"].createElement("div", { className: "myinterview-widget-video-camera__permissions" },
|
|
@@ -38845,7 +39041,7 @@ const InnerView = React__default["default"].forwardRef(({ widgetMachine, sendToW
|
|
|
38845
39041
|
const [isQuestionVideoWatched, setIsQuestionVideoWatched] = React.useState(false);
|
|
38846
39042
|
const innerRef = React.useRef(null);
|
|
38847
39043
|
const { previewRef, questions, currentQuestion, currentTake, recordingType, isConnected, checksState, widgetConfig, failedRecordingMessage, timer, } = widgetMachine.context;
|
|
38848
|
-
const { recordingTime, countdown, durations, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, microphoneRef, mediaStream, } = recorderMachine.context;
|
|
39044
|
+
const { recordingTime, countdown, durations, videoDevices, audioDevices, selectedVideoDevice, selectedAudioDevice, microphoneRef, mediaStream, recordWithoutVideo, } = recorderMachine.context;
|
|
38849
39045
|
const currentQuestionObj = questions[currentQuestion - 1];
|
|
38850
39046
|
const isAssessment = !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.answerType) && currentQuestionObj.answerType !== ANSWER_TYPES.VIDEO;
|
|
38851
39047
|
const isThinkingTime = isAssessment ? !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.partDuration) : !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.thinkingTime);
|
|
@@ -38888,7 +39084,7 @@ const InnerView = React__default["default"].forwardRef(({ widgetMachine, sendToW
|
|
|
38888
39084
|
}, [isUploadingState]);
|
|
38889
39085
|
React.useEffect(() => {
|
|
38890
39086
|
var _a, _b, _c;
|
|
38891
|
-
if (mediaStream) {
|
|
39087
|
+
if (mediaStream && !recordWithoutVideo) {
|
|
38892
39088
|
const settings = (_a = mediaStream.getVideoTracks()[0]) === null || _a === void 0 ? void 0 : _a.getSettings();
|
|
38893
39089
|
const { aspectRatio, width, height } = settings;
|
|
38894
39090
|
const _width = isMobile ? Math.min(Number(width), Number(height)) : Number(width);
|
|
@@ -38971,7 +39167,7 @@ const InnerView = React__default["default"].forwardRef(({ widgetMachine, sendToW
|
|
|
38971
39167
|
React__default["default"].createElement("div", { ref: innerRef, className: innerClassNames },
|
|
38972
39168
|
React__default["default"].createElement("div", { className: contentClasseNames },
|
|
38973
39169
|
isExplanationState && (React__default["default"].createElement(Explanation, { isVideoQuestion: !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.videoQuestion), isAssessment: isAssessment, timeLimit: isAssessment ? currentQuestionObj.partDuration : currentQuestionObj.thinkingTime, answerType: currentQuestionObj.answerType || ANSWER_TYPES.VIDEO, duration: currentQuestionObj.partDuration, takes: currentQuestionObj.numOfRetakes })),
|
|
38974
|
-
React__default["default"].createElement(VideoCamera, { myinterviewRef: myinterviewRef, ref: videoRef, microphoneRef: microphoneRef, isCameraDisplayed: isCameraDisplayed, isPracticeModeDisplayed: !isQuestionMode && isRecording, errorType: errorType, isPermissionStepsOpen: isSliderModalOpen, onDisplayPermissionSteps: onOpenSliderModal, onReInitRecorder: onReInitRecorder, onClosePermissionSteps: onCloseSliderModal, onRecorderRetry: isSetupState ? onRecorderRetry : onReInitRecorder, isRecorderCanChangeSettings: isRecorderCanChangeSettings, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange, canStartRecording: canStartRecording, currentQuestion: currentQuestion, numberOfQuestions: questions.length, currentQuestionObj: currentQuestionObj, isRecording: isRecording, durations: durations, recordingTime: recordingTime, isCountDown: isCountDown, countdown: countdown, isQuestionDisplayed: isQuestionDisplayed, isAssessment: isAssessment }),
|
|
39170
|
+
React__default["default"].createElement(VideoCamera, { recordWithoutVideo: recordWithoutVideo, myinterviewRef: myinterviewRef, ref: videoRef, microphoneRef: microphoneRef, isCameraDisplayed: isCameraDisplayed, isPracticeModeDisplayed: !isQuestionMode && isRecording, errorType: errorType, isPermissionStepsOpen: isSliderModalOpen, onDisplayPermissionSteps: onOpenSliderModal, onReInitRecorder: onReInitRecorder, onClosePermissionSteps: onCloseSliderModal, onRecorderRetry: isSetupState ? onRecorderRetry : onReInitRecorder, isRecorderCanChangeSettings: isRecorderCanChangeSettings, videoDevices: videoDevices, audioDevices: audioDevices, selectedVideoDevice: selectedVideoDevice, selectedAudioDevice: selectedAudioDevice, handleDeviceChange: handleDeviceChange, canStartRecording: canStartRecording, currentQuestion: currentQuestion, numberOfQuestions: questions.length, currentQuestionObj: currentQuestionObj, isRecording: isRecording, durations: durations, recordingTime: recordingTime, isCountDown: isCountDown, countdown: countdown, isQuestionDisplayed: isQuestionDisplayed, isAssessment: isAssessment }),
|
|
38975
39171
|
isAssessmentState && !!(currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.answerType) && (currentQuestionObj === null || currentQuestionObj === void 0 ? void 0 : currentQuestionObj.answerType) !== ANSWER_TYPES.VIDEO
|
|
38976
39172
|
&& (React__default["default"].createElement(AssessmentController, { currentQuestionObj: currentQuestionObj, timer: timer, currentQuestion: currentQuestion, numberOfQuestions: questions.length, onSubmitAssessment: onSubmitAssessment })),
|
|
38977
39173
|
isTimesUpState && React__default["default"].createElement(TimesUp, { onContinue: onContinue }),
|
|
@@ -39051,6 +39247,7 @@ const ICON_BY_CAMERA_STATE = {
|
|
|
39051
39247
|
WAITING: { el: React__default["default"].createElement(Loading, null), color: 'neutral-20' },
|
|
39052
39248
|
ERROR: { el: React__default["default"].createElement(be, null), color: 'error' },
|
|
39053
39249
|
READY: { el: React__default["default"].createElement(Ae, null), color: 'success' },
|
|
39250
|
+
SKIP: { el: React__default["default"].createElement(be, null), color: 'success' },
|
|
39054
39251
|
};
|
|
39055
39252
|
const ICON_BY_MICROPHONE_STATE = {
|
|
39056
39253
|
WAITING: { el: React__default["default"].createElement(Loading, null), color: 'neutral-20' },
|
|
@@ -39063,14 +39260,14 @@ const ICON_BY_INTERNET_STATE = {
|
|
|
39063
39260
|
SLOW_CONNECTION: { el: React__default["default"].createElement(be, null), color: 'success' },
|
|
39064
39261
|
CONNECTED: { el: React__default["default"].createElement(Ae, null), color: 'success' },
|
|
39065
39262
|
};
|
|
39066
|
-
const SetupChecks = ({ checksState, checksMessages, canRetrySpeedTest, onRetry, }) => {
|
|
39263
|
+
const SetupChecks = ({ checksState, checksMessages, canRetrySpeedTest, onRetry, recordWithoutVideo, }) => {
|
|
39067
39264
|
const { t } = useTranslation();
|
|
39068
39265
|
return (React__default["default"].createElement("div", { className: "myinterview-widget-checks" },
|
|
39069
|
-
React__default["default"].createElement("div", { className: "myinterview-widget-checks__item" },
|
|
39266
|
+
!recordWithoutVideo && (React__default["default"].createElement("div", { className: "myinterview-widget-checks__item" },
|
|
39070
39267
|
React__default["default"].createElement("div", { className: `myinterview-widget-checks__icon color--${ICON_BY_CAMERA_STATE[checksState.camera].color}` }, ICON_BY_CAMERA_STATE[checksState.camera].el),
|
|
39071
39268
|
React__default["default"].createElement("div", { className: "myinterview-widget-checks__text-wrapper" },
|
|
39072
39269
|
React__default["default"].createElement(Qe, null, t('setup.camera.name')),
|
|
39073
|
-
React__default["default"].createElement(Qe, { color: "neutral-50" }, t(checksMessages.camera)))),
|
|
39270
|
+
React__default["default"].createElement(Qe, { color: "neutral-50" }, t(checksMessages.camera))))),
|
|
39074
39271
|
React__default["default"].createElement("div", { className: "myinterview-widget-checks__item" },
|
|
39075
39272
|
React__default["default"].createElement("div", { className: `myinterview-widget-checks__icon color--${ICON_BY_MICROPHONE_STATE[checksState.microphone].color}` }, ICON_BY_MICROPHONE_STATE[checksState.microphone].el),
|
|
39076
39273
|
React__default["default"].createElement("div", { className: "myinterview-widget-checks__text-wrapper" },
|
|
@@ -39085,7 +39282,7 @@ const SetupChecks = ({ checksState, checksMessages, canRetrySpeedTest, onRetry,
|
|
|
39085
39282
|
canRetrySpeedTest && (React__default["default"].createElement("button", { className: "myinterview-widget-checks__retry", onClick: onRetry, type: "button" }, t('buttons.btn_internet_test_again'))))))));
|
|
39086
39283
|
};
|
|
39087
39284
|
|
|
39088
|
-
const Setup = ({ widgetMachine, sendToWidget, isPracticeDisabled }) => {
|
|
39285
|
+
const Setup = ({ widgetMachine, sendToWidget, isPracticeDisabled, recordWithoutVideo }) => {
|
|
39089
39286
|
const canRetrySpeedTest = widgetMachine.nextEvents.includes(EVENTS$5.RETRY) && widgetMachine.context.speedTestResult < FAST_UPLOAD_SPEED;
|
|
39090
39287
|
const canStartInterview = widgetMachine.can(EVENTS$5.QUESTION_MODE);
|
|
39091
39288
|
const { isResumed } = widgetMachine.context;
|
|
@@ -39100,7 +39297,7 @@ const Setup = ({ widgetMachine, sendToWidget, isPracticeDisabled }) => {
|
|
|
39100
39297
|
});
|
|
39101
39298
|
return (React__default["default"].createElement("div", { className: "myinterview-widget-outer__setup myinterview-widget--rtl-support" },
|
|
39102
39299
|
React__default["default"].createElement(Qe, { className: "myinterview-widget-outer__title", size: "H2-Bold" }, t('setup.title')),
|
|
39103
|
-
React__default["default"].createElement(SetupChecks, { checksState: widgetMachine.context.checksState, checksMessages: widgetMachine.context.checksMessage, canRetrySpeedTest: canRetrySpeedTest, onRetry: onRetry }),
|
|
39300
|
+
React__default["default"].createElement(SetupChecks, { recordWithoutVideo: recordWithoutVideo, checksState: widgetMachine.context.checksState, checksMessages: widgetMachine.context.checksMessage, canRetrySpeedTest: canRetrySpeedTest, onRetry: onRetry }),
|
|
39104
39301
|
React__default["default"].createElement("div", { className: "myinterview-widget-outer__mode-wrapper" },
|
|
39105
39302
|
!isPracticeDisabled && (React__default["default"].createElement(C, { className: "myinterview-widget-outer__mode-button", onClick: () => sendToWidget(EVENTS$5.PRACTICE_MODE), backgroundColor: "special", disabled: !canStartInterview }, t('buttons.btn_practice'))),
|
|
39106
39303
|
React__default["default"].createElement(C, { className: startButtonClassNames, color: "special", backgroundColor: "white", onClick: () => sendToWidget(EVENTS$5.QUESTION_MODE), disabled: !canStartInterview }, t(isResumed ? 'welcome.resumeInterview' : 'buttons.btn_start').toUpperCase()))));
|
|
@@ -39192,7 +39389,7 @@ const OuterView = ({ widgetMachine, sendToWidget, recorderRef }) => {
|
|
|
39192
39389
|
var _a;
|
|
39193
39390
|
const { questions, currentQuestion, widgetConfig: { job, video, company, config }, recordingType, isConnected, totalFileSize, totalUploadedFilesSize, totalUploadSpeed, } = widgetMachine.context;
|
|
39194
39391
|
const [recorderMachine] = useActor(recorderRef);
|
|
39195
|
-
const { countdown } = recorderMachine.context;
|
|
39392
|
+
const { countdown, recordWithoutVideo } = recorderMachine.context;
|
|
39196
39393
|
const currentQuestionObj = questions[currentQuestion - 1];
|
|
39197
39394
|
const isOuterViewDisplayed = widgetMachine.hasTag(TAGS.DISPLAY_OUTER_VIEW);
|
|
39198
39395
|
const isSetupState = widgetMachine.matches(STATES$5.SETUP);
|
|
@@ -39217,7 +39414,7 @@ const OuterView = ({ widgetMachine, sendToWidget, recorderRef }) => {
|
|
|
39217
39414
|
React__default["default"].createElement(Header, { logo: (job === null || job === void 0 ? void 0 : job.logo) || '', companyName: (job === null || job === void 0 ? void 0 : job.company) || (company === null || company === void 0 ? void 0 : company.name) || '', jobTitle: (job === null || job === void 0 ? void 0 : job.title) || '', forDesktopLayout: true }),
|
|
39218
39415
|
isPracticeMode && !isSetupState && (React__default["default"].createElement(PracticeModeInfo, null)),
|
|
39219
39416
|
isCountDown && React__default["default"].createElement(CountDown, { countDown: countdown }),
|
|
39220
|
-
isSetupState && React__default["default"].createElement(Setup, { widgetMachine: widgetMachine, sendToWidget: sendToWidget, isPracticeDisabled: !!config.disablePractice }),
|
|
39417
|
+
isSetupState && React__default["default"].createElement(Setup, { recordWithoutVideo: recordWithoutVideo, widgetMachine: widgetMachine, sendToWidget: sendToWidget, isPracticeDisabled: !!config.disablePractice }),
|
|
39221
39418
|
isQuestionsListDisplayed && React__default["default"].createElement(QuestionsList, { questions: questions, currentQuestion: currentQuestion, isPracticeMode: isPracticeMode, questionsStatus: questionsStatus }),
|
|
39222
39419
|
isQuestionDisplayed && React__default["default"].createElement(Question, { questionObj: currentQuestionObj }),
|
|
39223
39420
|
(isUploadingState || isConfirmState) && (React__default["default"].createElement(Upload, { isConnected: isConnected, totalFileSize: totalFileSize, totalUploadedFilesSize: totalUploadedFilesSize, totalUploadSpeed: totalUploadSpeed }))));
|
|
@@ -43049,7 +43246,9 @@ var AsapAction = (function (_super) {
|
|
|
43049
43246
|
var actions = scheduler.actions;
|
|
43050
43247
|
if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) {
|
|
43051
43248
|
immediateProvider.clearImmediate(id);
|
|
43052
|
-
scheduler._scheduled
|
|
43249
|
+
if (scheduler._scheduled === id) {
|
|
43250
|
+
scheduler._scheduled = undefined;
|
|
43251
|
+
}
|
|
43053
43252
|
}
|
|
43054
43253
|
return undefined;
|
|
43055
43254
|
};
|
|
@@ -43541,6 +43740,7 @@ const initialState = {
|
|
|
43541
43740
|
isSafeMode: false,
|
|
43542
43741
|
isAutoStart: false,
|
|
43543
43742
|
isMicError: false,
|
|
43743
|
+
isActivelyStopped: false,
|
|
43544
43744
|
};
|
|
43545
43745
|
const recorderMachineV2 = createMachine({
|
|
43546
43746
|
predictableActionArguments: true,
|
|
@@ -43759,6 +43959,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43759
43959
|
on: {
|
|
43760
43960
|
[EVENTS$6.STOP_RECORDING]: {
|
|
43761
43961
|
actions: [
|
|
43962
|
+
ACTIONS$7.SET_ACTIVELY_STOPPED,
|
|
43762
43963
|
ACTIONS$7.STOP_COUNT_DOWN_ACTOR,
|
|
43763
43964
|
ACTIONS$7.STOP_MEDIA_RECORDER,
|
|
43764
43965
|
ACTIONS$7.STOP_MICROPHONE_MACHINE,
|
|
@@ -43859,21 +44060,22 @@ const recorderMachineV2 = createMachine({
|
|
|
43859
44060
|
try {
|
|
43860
44061
|
const audioDeviceId = context.selectedAudioDevice && context.selectedAudioDevice.deviceId;
|
|
43861
44062
|
const videoDeviceId = context.selectedVideoDevice && context.selectedVideoDevice.deviceId;
|
|
44063
|
+
const isVideoOff = () => !!context.recordWithoutVideo;
|
|
43862
44064
|
const defaultConstraint = {
|
|
43863
|
-
video:
|
|
44065
|
+
video: !isVideoOff(),
|
|
43864
44066
|
audio: true,
|
|
43865
44067
|
};
|
|
43866
44068
|
const mobileConstrains = {
|
|
43867
44069
|
audio: {
|
|
43868
44070
|
deviceId: audioDeviceId ? { exact: audioDeviceId } : undefined,
|
|
43869
44071
|
},
|
|
43870
|
-
video: Object.assign(Object.assign({}, context.constraint.video), {
|
|
44072
|
+
video: isVideoOff() ? false : Object.assign(Object.assign({}, context.constraint.video), { deviceId: videoDeviceId ? { exact: videoDeviceId } : undefined, aspectRatio: 16 / 9 }),
|
|
43871
44073
|
};
|
|
43872
44074
|
const desktopConstraints = {
|
|
43873
44075
|
audio: {
|
|
43874
44076
|
deviceId: audioDeviceId ? { exact: audioDeviceId } : undefined,
|
|
43875
44077
|
},
|
|
43876
|
-
video: Object.assign(Object.assign({}, context.constraint.video), { deviceId: videoDeviceId ? { exact: videoDeviceId } : undefined, aspectRatio: 16 / 9 }),
|
|
44078
|
+
video: isVideoOff() ? false : Object.assign(Object.assign({}, context.constraint.video), { deviceId: videoDeviceId ? { exact: videoDeviceId } : undefined, aspectRatio: 16 / 9 }),
|
|
43877
44079
|
};
|
|
43878
44080
|
const constraintCheck = () => {
|
|
43879
44081
|
if (context.isSafeMode)
|
|
@@ -43888,20 +44090,22 @@ const recorderMachineV2 = createMachine({
|
|
|
43888
44090
|
const audioDevices = devices.filter(({ kind }) => kind === 'audioinput');
|
|
43889
44091
|
let currentVideo;
|
|
43890
44092
|
let currentAudio;
|
|
43891
|
-
if (!isFireFox)
|
|
44093
|
+
if (!isVideoOff() && !isFireFox)
|
|
43892
44094
|
currentVideo = mediaStream.getVideoTracks()[0].getCapabilities();
|
|
44095
|
+
if (!isFireFox)
|
|
43893
44096
|
currentAudio = mediaStream.getAudioTracks()[0].getCapabilities();
|
|
43894
|
-
|
|
43895
|
-
const selectedVideoDevice = !isFireFox ? videoDevices
|
|
44097
|
+
const selectedVideoDevice = (!isFireFox && !isVideoOff()) ? videoDevices
|
|
43896
44098
|
.filter((device) => device.deviceId === currentVideo.deviceId)[0] : undefined; // TODO: use find instead of filter
|
|
43897
44099
|
const selectedAudioDevice = !isFireFox ? audioDevices
|
|
43898
44100
|
.filter((device) => device.deviceId === currentAudio.deviceId)[0] : undefined; // TODO: use find instead of filter
|
|
43899
44101
|
if (context.videoRef.current) {
|
|
43900
44102
|
context.videoRef.current.srcObject = mediaStream;
|
|
43901
44103
|
}
|
|
43902
|
-
|
|
44104
|
+
const [track] = isVideoOff() ? mediaStream.getAudioTracks() : mediaStream.getVideoTracks();
|
|
44105
|
+
const permissionName = isVideoOff() ? 'microphone' : 'camera';
|
|
44106
|
+
track.onended = (_event) => {
|
|
43903
44107
|
if ('permissions' in navigator && 'query' in navigator.permissions && !isFireFox) {
|
|
43904
|
-
navigator.permissions.query({ name:
|
|
44108
|
+
navigator.permissions.query({ name: permissionName })
|
|
43905
44109
|
.then((permissionStatus) => {
|
|
43906
44110
|
if (permissionStatus.state === 'denied') {
|
|
43907
44111
|
callback({ type: 'RECORDER_DEVICE_ERROR', data: recorderErrors.NotAllowedError });
|
|
@@ -43910,14 +44114,13 @@ const recorderMachineV2 = createMachine({
|
|
|
43910
44114
|
}
|
|
43911
44115
|
};
|
|
43912
44116
|
navigator.mediaDevices.ondevicechange = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
43913
|
-
var _a, _b;
|
|
44117
|
+
var _a, _b, _c;
|
|
43914
44118
|
const newDevices = yield navigator.mediaDevices.enumerateDevices();
|
|
43915
44119
|
const newVideoDevices = newDevices.filter(({ kind }) => kind === 'videoinput');
|
|
43916
44120
|
const newAudioDevices = newDevices.filter(({ kind }) => kind === 'audioinput');
|
|
43917
|
-
|
|
43918
|
-
|
|
43919
|
-
|
|
43920
|
-
|| (mediaStream.getAudioTracks()[0].readyState === 'ended' && ((_b = context.audioDevices) === null || _b === void 0 ? void 0 : _b.length) !== newAudioDevices.length)) {
|
|
44121
|
+
if ((mediaStream.getAudioTracks()[0].readyState === 'ended' && ((_a = context.audioDevices) === null || _a === void 0 ? void 0 : _a.length) !== newAudioDevices.length)
|
|
44122
|
+
|| (!isVideoOff() && ((mediaStream.getVideoTracks()[0].readyState === 'ended' && ((_b = context.videoDevices) === null || _b === void 0 ? void 0 : _b.length) !== newVideoDevices.length)
|
|
44123
|
+
|| (mediaStream.getAudioTracks()[0].readyState === 'ended' && ((_c = context.audioDevices) === null || _c === void 0 ? void 0 : _c.length) !== newAudioDevices.length)))) {
|
|
43921
44124
|
callback({ type: EVENTS$6.UPDATE_CURRENT_DEVICE, data: recorderErrors.NotAllowedError });
|
|
43922
44125
|
}
|
|
43923
44126
|
callback({ type: EVENTS$6.UPDATE_DEVICES_LIST, data: { newVideoDevices, newAudioDevices } });
|
|
@@ -43931,7 +44134,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43931
44134
|
}
|
|
43932
44135
|
}),
|
|
43933
44136
|
[SERVICES$2.GET_MEDIA_RECORDER]: (context) => (callback) => __awaiter(void 0, void 0, void 0, function* () {
|
|
43934
|
-
var
|
|
44137
|
+
var _d;
|
|
43935
44138
|
const { mediaStream, mimeType, videoBitsPerSecond } = context;
|
|
43936
44139
|
let startTime;
|
|
43937
44140
|
let pausedTime;
|
|
@@ -43971,7 +44174,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43971
44174
|
webm = new File([blob], Date.now().toString(), {
|
|
43972
44175
|
type: mimeType,
|
|
43973
44176
|
});
|
|
43974
|
-
callback({ type:
|
|
44177
|
+
callback({ type: EVENTS$6.SEND_CURRENT_TAKE, data: { webm, videoLength } });
|
|
43975
44178
|
})
|
|
43976
44179
|
.catch((error) => {
|
|
43977
44180
|
console.error('fixVideoMetadata', error);
|
|
@@ -43993,7 +44196,7 @@ const recorderMachineV2 = createMachine({
|
|
|
43993
44196
|
};
|
|
43994
44197
|
mediaRecorder.start(10000);
|
|
43995
44198
|
callback({ type: EVENTS$6.SET_MEDIA_RECORDER, data: mediaRecorder });
|
|
43996
|
-
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (
|
|
44199
|
+
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (_d = context.selectedVideoDevice) === null || _d === void 0 ? void 0 : _d.label } });
|
|
43997
44200
|
if (context.isMicError)
|
|
43998
44201
|
callback(EVENTS$6.PAUSE_MEDIA_RECORDER);
|
|
43999
44202
|
return () => {
|
|
@@ -44020,6 +44223,7 @@ const recorderMachineV2 = createMachine({
|
|
|
44020
44223
|
[ACTIONS$7.INIT_COUNT_DOWN_ACTOR]: assign$2({
|
|
44021
44224
|
countDownRef: (context, event, meta) => spawn(counterMachine.withContext(Object.assign(Object.assign({}, counterMachine.context), { callback: meta.action.data.callback })), { name: 'countDownRef' }),
|
|
44022
44225
|
}),
|
|
44226
|
+
[ACTIONS$7.SET_ACTIVELY_STOPPED]: assign$2((context) => ({ isActivelyStopped: true })),
|
|
44023
44227
|
[ACTIONS$7.STOP_COUNT_DOWN_ACTOR]: assign$2((context) => {
|
|
44024
44228
|
context.countDownRef.stop();
|
|
44025
44229
|
return {
|
|
@@ -44090,7 +44294,7 @@ const recorderMachineV2 = createMachine({
|
|
|
44090
44294
|
// send success event to the parent, to be able to proceed to the next step
|
|
44091
44295
|
[ACTIONS$7.SEND_SUCCESS_TO_PARENT]: sendParent$1((context, event) => (Object.assign(Object.assign({}, event), { type: EVENTS$5.READY_TO_START_RECORDING }))),
|
|
44092
44296
|
// on stop recording send webm file to storage machine
|
|
44093
|
-
[ACTIONS$7.SEND_CURRENT_TAKE]: sendParent$1((
|
|
44297
|
+
[ACTIONS$7.SEND_CURRENT_TAKE]: sendParent$1(({ isActivelyStopped }, event) => (Object.assign(Object.assign({}, event), { type: EVENTS$5.STOP_RECORDING, data: Object.assign(Object.assign({}, event.data), { isActivelyStopped }) }))),
|
|
44094
44298
|
// send null param to mic machine to be able to stop sound detecting
|
|
44095
44299
|
[ACTIONS$7.STOP_MICROPHONE_MACHINE]: send$2((_, _event) => ({ type: EVENTS$3.ON_SET_MEDIA_STREAM, data: null }), { to: (context) => context.microphoneRef }),
|
|
44096
44300
|
// clean mic error, this is really sensitive, !! a lot of user can't start recording coz of it
|
|
@@ -44165,13 +44369,13 @@ const recorderMachineV2 = createMachine({
|
|
|
44165
44369
|
[ACTIONS$7.UPDATE_RECORDING_TIME]: assign$2({
|
|
44166
44370
|
recordingTime: (context) => context.recordingTime + 1,
|
|
44167
44371
|
}),
|
|
44168
|
-
[ACTIONS$7.UPDATE_MACHINE_FOR_NEW_QUESTION]: assign$2((context, _event) => (Object.assign(Object.assign({}, initialState), { selectedAudioDevice: context.selectedAudioDevice, selectedVideoDevice: context.selectedVideoDevice, videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, facingMode: context.facingMode }))),
|
|
44372
|
+
[ACTIONS$7.UPDATE_MACHINE_FOR_NEW_QUESTION]: assign$2((context, _event) => (Object.assign(Object.assign({}, initialState), { selectedAudioDevice: context.selectedAudioDevice, selectedVideoDevice: context.selectedVideoDevice, videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, facingMode: context.facingMode, recordWithoutVideo: context.recordWithoutVideo }))),
|
|
44169
44373
|
[ACTIONS$7.DISABLED_AUTO_START]: assign$2({
|
|
44170
44374
|
isAutoStart: (_, _event) => false,
|
|
44171
44375
|
}),
|
|
44172
44376
|
[ACTIONS$7.RESET_MACHINE]: assign$2((context, event) => {
|
|
44173
44377
|
var _a;
|
|
44174
|
-
return (Object.assign(Object.assign({}, initialState), { videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, isAutoStart: ((_a = event.data) === null || _a === void 0 ? void 0 : _a.isAutoStart) || context.isAutoStart }));
|
|
44378
|
+
return (Object.assign(Object.assign({}, initialState), { videoRef: context.videoRef, microphoneRef: context.microphoneRef, constraint: context.constraint, durations: context.durations, isAutoStart: ((_a = event.data) === null || _a === void 0 ? void 0 : _a.isAutoStart) || context.isAutoStart, recordWithoutVideo: context.recordWithoutVideo }));
|
|
44175
44379
|
}),
|
|
44176
44380
|
[ACTIONS$7.STOP_MEDIA_RECORDER]: assign$2({
|
|
44177
44381
|
mediaRecorder: (context) => {
|
|
@@ -44550,6 +44754,7 @@ const CAMERA_STATES_MESSAGES = {
|
|
|
44550
44754
|
WAITING: 'setup.camera.WAITING',
|
|
44551
44755
|
ERROR: 'setup.camera.ERROR',
|
|
44552
44756
|
READY: 'setup.camera.READY',
|
|
44757
|
+
SKIP: 'setup.camera.SKIP',
|
|
44553
44758
|
};
|
|
44554
44759
|
const MICROPHONE_STATES_MESSAGES = {
|
|
44555
44760
|
WAITING: 'setup.microphone.WAITING',
|
|
@@ -44586,6 +44791,7 @@ var DEBUG;
|
|
|
44586
44791
|
DEBUG["WELCOME_PAGE_STAGE"] = "In welcome page stage";
|
|
44587
44792
|
DEBUG["SETUP_STAGE"] = "In setup stage";
|
|
44588
44793
|
DEBUG["MEIDA_DEVICE_SUCCESS"] = "Media device available";
|
|
44794
|
+
DEBUG["MEDIA_DEVICE_SWITCH_OFF"] = "Media device is off";
|
|
44589
44795
|
DEBUG["MEDIA_DEVICE_ERROR"] = "Media device error";
|
|
44590
44796
|
DEBUG["NO_SOUND_DETECTED"] = "No sound detected";
|
|
44591
44797
|
DEBUG["DEVICE_CHANGED"] = "Device changed";
|
|
@@ -44619,7 +44825,7 @@ const MAPPED_EVENT_TYPES = {
|
|
|
44619
44825
|
PRACTICE: EVENT_TYPES.TIMES_UP,
|
|
44620
44826
|
},
|
|
44621
44827
|
};
|
|
44622
|
-
const questionEventFormatter = (questionActionType) => pure_1(({ recordingType, questions, currentQuestion, widgetConfig, currentTake }) => {
|
|
44828
|
+
const questionEventFormatter = (questionActionType) => pure_1(({ recordingType, questions, currentQuestion, widgetConfig, currentTake }, event) => {
|
|
44623
44829
|
var _a, _b;
|
|
44624
44830
|
const isQuestionMode = recordingType === TAKE_TYPES.QUESTION;
|
|
44625
44831
|
const currentQuestionFile = isQuestionMode ? (_b = (_a = widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.video) === null || _a === void 0 ? void 0 : _a.videos) === null || _b === void 0 ? void 0 : _b[currentQuestion - 1] : null;
|
|
@@ -44627,10 +44833,11 @@ const questionEventFormatter = (questionActionType) => pure_1(({ recordingType,
|
|
|
44627
44833
|
const isAssessment = currentQuestionObj.answerType && currentQuestionObj.answerType !== ANSWER_TYPES.VIDEO;
|
|
44628
44834
|
return {
|
|
44629
44835
|
type: ACTIONS$6.EMIT_TRACKING_EVENT,
|
|
44630
|
-
data: Object.assign({ eventType: isQuestionMode ? MAPPED_EVENT_TYPES[questionActionType].QUESTION : MAPPED_EVENT_TYPES[questionActionType].PRACTICE }, (currentQuestionFile && { extraData: Object.assign(Object.assign(
|
|
44836
|
+
data: Object.assign({ eventType: isQuestionMode ? MAPPED_EVENT_TYPES[questionActionType].QUESTION : MAPPED_EVENT_TYPES[questionActionType].PRACTICE }, (currentQuestionFile && { extraData: Object.assign(Object.assign({ questionFilename: currentQuestionFile.filename, questionNumber: currentQuestion }, (!isAssessment && {
|
|
44631
44837
|
currentTake,
|
|
44632
44838
|
numberOfTakes: currentQuestionObj.numOfRetakes,
|
|
44633
|
-
|
|
44839
|
+
isActivelyStopped: (event.data || {}).isActivelyStopped,
|
|
44840
|
+
})), { questionType: currentQuestionObj.videoQuestion ? 'video' : 'text', answerType: currentQuestionObj.answerType || ANSWER_TYPES.VIDEO }) })),
|
|
44634
44841
|
};
|
|
44635
44842
|
});
|
|
44636
44843
|
const accWidgetMachine = createMachine({
|
|
@@ -44800,10 +45007,17 @@ const accWidgetMachine = createMachine({
|
|
|
44800
45007
|
target: `.${STATES$5.SETUP__TEST__CAMERA__ERROR}`,
|
|
44801
45008
|
cond: GUARDS$3.IS_VIDEO_ERROR,
|
|
44802
45009
|
},
|
|
44803
|
-
[EVENTS$5.READY_TO_START_RECORDING]:
|
|
44804
|
-
|
|
44805
|
-
|
|
44806
|
-
|
|
45010
|
+
[EVENTS$5.READY_TO_START_RECORDING]: [
|
|
45011
|
+
{
|
|
45012
|
+
actions: [{ type: ACTIONS$6.CONSOLE_DEBUG, data: { message: `CAMERA: ${DEBUG.MEDIA_DEVICE_SWITCH_OFF}` } }],
|
|
45013
|
+
target: `.${STATES$5.SETUP__TEST__CAMERA__SKIP}`,
|
|
45014
|
+
cond: GUARDS$3.IS_VIDEO_RECORDING_SKIP,
|
|
45015
|
+
},
|
|
45016
|
+
{
|
|
45017
|
+
actions: [{ type: ACTIONS$6.CONSOLE_DEBUG, data: { message: `CAMERA: ${DEBUG.MEIDA_DEVICE_SUCCESS}` } }],
|
|
45018
|
+
target: `.${STATES$5.SETUP__TEST__CAMERA__SUCCESS}`,
|
|
45019
|
+
},
|
|
45020
|
+
],
|
|
44807
45021
|
},
|
|
44808
45022
|
states: {
|
|
44809
45023
|
[STATES$5.SETUP__TEST__CAMERA__WAITING]: {
|
|
@@ -44815,6 +45029,9 @@ const accWidgetMachine = createMachine({
|
|
|
44815
45029
|
[STATES$5.SETUP__TEST__CAMERA__SUCCESS]: {
|
|
44816
45030
|
entry: [{ type: ACTIONS$6.SET_CHECKS, data: { key: 'camera', state: CAMERA_STATES.READY, message: CAMERA_STATES_MESSAGES.READY } }],
|
|
44817
45031
|
},
|
|
45032
|
+
[STATES$5.SETUP__TEST__CAMERA__SKIP]: {
|
|
45033
|
+
entry: [{ type: ACTIONS$6.SET_CHECKS, data: { key: 'camera', state: CAMERA_STATES.SKIP, message: CAMERA_STATES_MESSAGES.READY } }],
|
|
45034
|
+
},
|
|
44818
45035
|
},
|
|
44819
45036
|
},
|
|
44820
45037
|
[STATES$5.SETUP__TEST__MICROPHONE]: {
|
|
@@ -45334,7 +45551,7 @@ const accWidgetMachine = createMachine({
|
|
|
45334
45551
|
storageRef: spawn(storageMachine, { name: 'storage' }),
|
|
45335
45552
|
})),
|
|
45336
45553
|
[ACTIONS$6.SPAWN_RECORDER]: assign$2((context) => ({
|
|
45337
|
-
recorderRef: spawn(recorderMachineV2.withContext(Object.assign(Object.assign({}, recorderMachineV2.context), { videoRef: context.videoRef, speedTestLevel: SPEED_TEST_LEVEL.HIGH })), { name: 'recorder' }),
|
|
45554
|
+
recorderRef: spawn(recorderMachineV2.withContext(Object.assign(Object.assign({}, recorderMachineV2.context), { videoRef: context.videoRef, speedTestLevel: SPEED_TEST_LEVEL.HIGH, recordWithoutVideo: context.widgetConfig.config.recordWithoutVideo })), { name: 'recorder' }),
|
|
45338
45555
|
})),
|
|
45339
45556
|
[ACTIONS$6.SPAWN_PREVIEW]: assign$2((_) => ({
|
|
45340
45557
|
previewRef: spawn(previewMachine, { name: 'preview' }),
|
|
@@ -45484,6 +45701,7 @@ const accWidgetMachine = createMachine({
|
|
|
45484
45701
|
},
|
|
45485
45702
|
},
|
|
45486
45703
|
guards: {
|
|
45704
|
+
[GUARDS$3.IS_VIDEO_RECORDING_SKIP]: ({ widgetConfig }) => !!widgetConfig.config.recordWithoutVideo,
|
|
45487
45705
|
[GUARDS$3.NO_STORAGE]: ({ storageRef }) => !storageRef,
|
|
45488
45706
|
[GUARDS$3.NO_RECORDER]: ({ recorderRef }) => !recorderRef,
|
|
45489
45707
|
[GUARDS$3.IS_THINKING_TIME]: ({ questions, currentQuestion }) => {
|
|
@@ -45500,7 +45718,7 @@ const accWidgetMachine = createMachine({
|
|
|
45500
45718
|
[GUARDS$3.CAN_RETEST_SPEED_CONNECTION]: ({ speedTestResult }) => (speedTestResult || 0) < FAST_UPLOAD_SPEED,
|
|
45501
45719
|
[GUARDS$3.IS_CONNECTED]: ({ isConnected }) => isConnected,
|
|
45502
45720
|
[GUARDS$3.IS_DISCONNECTED]: ({ isConnected }) => !isConnected,
|
|
45503
|
-
[GUARDS$3.CAN_START_INTERVIEW]: ({ checksState }) => checksState.camera === CAMERA_STATES.READY && checksState.microphone === MICROPHONE_STATES.READY && [INTERNET_STATES.CONNECTED, INTERNET_STATES.SLOW_CONNECTION].includes(checksState.internet),
|
|
45721
|
+
[GUARDS$3.CAN_START_INTERVIEW]: ({ checksState }) => (checksState.camera === CAMERA_STATES.READY || checksState.camera === CAMERA_STATES.SKIP) && checksState.microphone === MICROPHONE_STATES.READY && [INTERNET_STATES.CONNECTED, INTERNET_STATES.SLOW_CONNECTION].includes(checksState.internet),
|
|
45504
45722
|
[GUARDS$3.ARE_ALL_QUESTIONS_UPLOADED]: ({ widgetConfig }) => { var _a, _b; return !!((_b = (_a = widgetConfig.video) === null || _a === void 0 ? void 0 : _a.videos) === null || _b === void 0 ? void 0 : _b.every((video) => video.uploaded)); },
|
|
45505
45723
|
[GUARDS$3.SHOULD_SHOW_WELCOME]: ({ widgetConfig }) => !!widgetConfig.config.introVideo || !!widgetConfig.config.welcomeTitle || !!widgetConfig.config.welcomeText,
|
|
45506
45724
|
[GUARDS$3.IS_NO_SOUND_ERROR]: (_, { data }) => data.code === MICROPHONE_NO_SOUND_ERROR_CODE,
|
|
@@ -48102,7 +48320,7 @@ const Main = ({ widgetConfig, setShouldShowWaterMark, myinterviewRef, isWidgetMi
|
|
|
48102
48320
|
isMobile && (React__default["default"].createElement(SliderModal, { isOpen: isSliderModalOpen, onClose: () => setIsSliderModalOpen(false), onRetry: isSetupState ? onRecorderRetry : onReInitRecorder }))));
|
|
48103
48321
|
};
|
|
48104
48322
|
|
|
48105
|
-
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap\");:host,:root,html[data-theme=light]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#fff;--color-black:#000;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(50.24deg,#135 -146.43%,#557ede -0.68%,#6690ff 75.97%)}html[data-theme=dark]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#222;--color-black:#ddd;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(135deg,#51beff,#6690ff)}.color--primary{color:var(--color-primary)}.background-color--primary{background-color:var(--color-primary)}.border-color--primary{border-color:var(--color-primary)}.color--secondary{color:var(--color-secondary)}.background-color--secondary{background-color:var(--color-secondary)}.border-color--secondary{border-color:var(--color-secondary)}.color--premium{color:var(--color-premium)}.background-color--premium{background-color:var(--color-premium)}.border-color--premium{border-color:var(--color-premium)}.color--special{color:var(--color-special)}.background-color--special{background-color:var(--color-special)}.border-color--special{border-color:var(--color-special)}.color--neutral-10{color:var(--color-neutral-10)}.background-color--neutral-10{background-color:var(--color-neutral-10)}.border-color--neutral-10{border-color:var(--color-neutral-10)}.color--neutral-20{color:var(--color-neutral-20)}.background-color--neutral-20{background-color:var(--color-neutral-20)}.border-color--neutral-20{border-color:var(--color-neutral-20)}.color--neutral-30{color:var(--color-neutral-30)}.background-color--neutral-30{background-color:var(--color-neutral-30)}.border-color--neutral-30{border-color:var(--color-neutral-30)}.color--neutral-40{color:var(--color-neutral-40)}.background-color--neutral-40{background-color:var(--color-neutral-40)}.border-color--neutral-40{border-color:var(--color-neutral-40)}.color--neutral-50{color:var(--color-neutral-50)}.background-color--neutral-50{background-color:var(--color-neutral-50)}.border-color--neutral-50{border-color:var(--color-neutral-50)}.color--neutral-60{color:var(--color-neutral-60)}.background-color--neutral-60{background-color:var(--color-neutral-60)}.border-color--neutral-60{border-color:var(--color-neutral-60)}.color--neutral-70{color:var(--color-neutral-70)}.background-color--neutral-70{background-color:var(--color-neutral-70)}.border-color--neutral-70{border-color:var(--color-neutral-70)}.color--neutral-90{color:var(--color-neutral-90)}.background-color--neutral-90{background-color:var(--color-neutral-90)}.border-color--neutral-90{border-color:var(--color-neutral-90)}.color--white{color:var(--color-white)}.background-color--white{background-color:var(--color-white)}.border-color--white{border-color:var(--color-white)}.color--black{color:var(--color-black)}.background-color--black{background-color:var(--color-black)}.border-color--black{border-color:var(--color-black)}.color--success{color:var(--color-success)}.background-color--success{background-color:var(--color-success)}.border-color--success{border-color:var(--color-success)}.color--warning{color:var(--color-warning)}.background-color--warning{background-color:var(--color-warning)}.border-color--warning{border-color:var(--color-warning)}.color--error{color:var(--color-error)}.background-color--error{background-color:var(--color-error)}.border-color--error{border-color:var(--color-error)}.color--info{color:var(--color-info)}.background-color--info{background-color:var(--color-info)}.border-color--info{border-color:var(--color-info)}.background-color--malibu{background:var(--color-malibu)}*{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0;outline:none;padding:0}body{background-color:var(--color-white)}@keyframes react-loading-skeleton{to{transform:translateX(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;width:100%;z-index:1}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));background-repeat:no-repeat;content:\" \";display:var(--pseudo-element-display);height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}.myinterview-button{border:none;border-radius:10px;cursor:pointer;font-weight:700;height:45px;letter-spacing:1px}.myinterview-button:disabled{cursor:unset;opacity:.6;pointer-events:none}.myinterview-button--small{font-size:10px;height:35px;min-width:100px;padding:0 20px}.myinterview-button--medium{font-size:12px;height:45px;min-width:150px;padding:0 30px}.myinterview-button--large{font-size:16px;height:65px;min-width:180px;padding:0 45px}.dropdown{align-items:center;cursor:pointer;display:flex;font-size:14px;justify-content:space-between;padding:15px;white-space:nowrap}.dropdown--rtl{direction:rtl}.dropdown--rtl .dropdown__input{padding-left:30px;padding-right:15px}.dropdown--rtl .dropdown__arrow-wrapper,.dropdown--rtl .dropdown__clear-wrapper{margin-left:0;margin-right:5px}.dropdown--rtl .dropdown__item span{margin-left:5px;margin-right:0}.dropdown--rtl.dropdown--with-icon{padding-left:15px;padding-right:10px}.dropdown--rtl.dropdown--with-icon .dropdown__selected-item,.dropdown--rtl.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:0;padding-right:8px}.dropdown--standalone{border:.5px solid var(--color-neutral-30);border-radius:10px;border-width:.5px!important;height:50px;position:relative}.dropdown--with-icon{padding-left:10px}.dropdown--with-icon svg{height:22px}.dropdown--with-icon .dropdown__selected-item,.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:8px}.dropdown--opened{border-radius:10px 10px 0 0;box-shadow:0 0 10px -2px #0000001a}.dropdown--opened .dropdown__options{box-shadow:0 0 10px -2px #0000001a;visibility:visible}.dropdown--opened .dropdown__arrow-wrapper{transform:rotate(-180deg)}.dropdown--upside.dropdown--opened{border-radius:0 0 4px 4px;border-top:0}.dropdown--upside .dropdown__options{border-bottom:0;border-radius:10px 10px 0 0;border-top:.5px solid var(--color-neutral-30);bottom:auto;top:0;transform:translateY(-100%)}.dropdown__selected-item{flex:1;overflow:hidden;text-overflow:ellipsis}.dropdown__selected-item::selection{background-color:initial}.dropdown__selected-item--placeholder{opacity:.5}.dropdown__input{border:0;border-radius:10px;height:100%;left:0;opacity:0;padding:15px 30px 15px 15px;pointer-events:none;position:absolute;top:0;width:100%;z-index:0}.dropdown__input--searchable:focus{opacity:1}.dropdown__input--searchable:focus+.dropdown__selected-item{opacity:0!important}.dropdown__arrow-wrapper,.dropdown__clear-wrapper{align-items:center;display:flex;flex-shrink:0;justify-content:center;margin-left:5px;transition:.2s;width:1em}.dropdown__options{background-color:var(--color-white);border:.5px solid var(--color-neutral-30);border-radius:0 0 4px 4px;border-top:0;bottom:0;left:-.75px;list-style:none;margin:0;max-height:0;overflow:auto;padding:0;position:absolute;transform:translateY(100%);visibility:hidden;width:calc(100% + 1.25px)}.dropdown__item{cursor:pointer;max-width:100%;overflow:hidden;padding:15px;text-overflow:ellipsis}.dropdown__item:not(:last-child){border-bottom:.5px solid var(--color-neutral-30)}.dropdown__item--highlighted,.dropdown__item:hover{background-color:var(--color-primary);color:var(--color-white)}.dropdown__item span{margin-right:5px}.tag{background-color:#dde8f6;border-radius:3px;color:#4a90e2;display:inline-block;font-size:13px;font-weight:500;letter-spacing:.5px;margin:5px 8px 5px 0;padding:4px 11px;text-transform:capitalize}.myinterview-text--XS{font-size:12px;line-height:20px}.myinterview-text--S{font-size:14px;line-height:22px}.myinterview-text--M{font-size:16px;line-height:24px}.myinterview-text--L{font-size:18px;line-height:26px}.myinterview-text--H3{font-size:20px;line-height:28px}.myinterview-text--H2{font-size:24px;line-height:32px}.myinterview-text--H1{font-size:30px;line-height:38px}.myinterview-text--D3{font-size:38px;line-height:46px}.myinterview-text--D2{font-size:48px;line-height:54px}.myinterview-text--D1{font-size:56px;line-height:64px}.myinterview-text--regular{font-weight:400}.myinterview-text--semibold{font-weight:600}.myinterview-text--bold{font-weight:700}.myinterview-text--italic{font-style:italic}.myinterview-text--truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggle-switch{align-items:center;border-radius:99999px;cursor:pointer;display:flex;position:relative;transition:.2s}.toggle-switch__indicator{border-radius:50%;height:.65em;left:10%;position:absolute;transition:.2s;width:.65em}.toggle-switch__indicator--active{left:90%;transform:translateX(-100%)}.toggle-switch:active .toggle-switch__indicator{height:.5em;width:.5em}.toggle-text{align-items:center;cursor:pointer;display:flex;justify-content:center;width:fit-content}.toggle-text__arrow-wrapepr{align-items:center;display:flex;margin-left:5px;transition:.25s ease-in-out;width:1em}.toggle-text__arrow-wrapepr--opened{transform:rotate(-180deg)}.progress{align-items:center;border-radius:50%;display:flex;height:1em;justify-content:center;width:1em}.progress__fill{border-radius:50%;height:.7em;width:.7em}.input-text{display:flex;flex-direction:column;flex-grow:1}.input-text__field{border:.5px solid var(--color-neutral-30);border-radius:10px;font-size:14px;padding:14px 16px;width:100%}.input-text__field--with-icon{padding:14px 43px!important}.input-text__icon-container{margin:10px 12px;position:absolute}.input-text__icon-container i{vertical-align:-webkit-baseline-middle}.input-text__icon-container i svg{height:22px;width:22px}.input-text--error{border:1px solid var(--color-error)}.input-text__error-msg{color:var(--color-error);margin-top:3px}.dnd-wrapper{border:1px solid var(--color-neutral-30);border-radius:10px;height:50px;max-width:500px;padding:7px 10px;position:relative;transition:.3s ease-in-out;width:100%}.dnd-wrapper--rtl{direction:rtl}.dnd-wrapper--rtl .dnd-wrapper__placeholder{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__label .progress{margin-left:5px;margin-right:0}.dnd-wrapper--rtl .dnd-wrapper__text{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__icon--close{margin-left:0;margin-right:auto}.dnd-wrapper__placeholder{color:var(--color-neutral-50);font-size:14px;margin-left:5px}.dnd-wrapper__left-hand{align-items:flex-end;display:flex}.dnd-wrapper--scale{transform:scale(1.1)}.dnd-wrapper--border-solid{border:.5px solid var(--color-neutral-30)}.dnd-wrapper__label{align-items:center;display:flex;font-size:14px;height:100%;justify-content:center}.dnd-wrapper__label svg{height:16px;vertical-align:middle;width:16px}.dnd-wrapper__label--with-icon{justify-content:space-between}.dnd-wrapper__label--with-icon i{color:var(--color-neutral-60)}.dnd-wrapper__label--uploaded,.dnd-wrapper__label--uploading{justify-content:flex-start}.dnd-wrapper__label .progress{height:18px;margin-right:5px;width:18px}.dnd-wrapper__icon{align-items:center;display:flex}.dnd-wrapper__icon--clip{font-size:18px;transform:rotate(10deg) rotateX(180deg)}.dnd-wrapper__icon--close{cursor:pointer;margin-left:auto;z-index:10}.dnd-wrapper__text{margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd-wrapper__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.dnd-wrapper__input:disabled{cursor:auto}.myinterview-modal-wrapper{border-radius:4px;box-shadow:0 4px 6px -1px #00000014,0 2px 4px -1px #0000000f;left:50%;max-height:90vh;max-width:90vw;overflow:auto;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:30}.myinterview-modal-wrapper--fullscreen{border-radius:0;box-shadow:none;height:100vh;left:0;max-height:100vh;max-width:100vw;padding:0;top:0;transform:none;width:100vw}.myinterview-modal-wrapper__box{height:100%;max-height:100%;max-width:100%;overflow:auto;width:100%}.myinterview-modal-wrapper__close-btn{cursor:pointer;height:16px;position:absolute;right:20px;top:20px;width:16px}.myinterview-modal-wrapper-background{background-color:#0000001a;height:100vh;left:0;position:fixed;top:0;width:100vw}.phone-number{border:.5px solid var(--color-neutral-30);border-radius:10px;display:flex;position:relative}.phone-number--rtl{direction:rtl}.phone-number--rtl .input-text{direction:ltr}.phone-number--rtl .input-text input{text-align:end}.phone-number--rtl .dropdown{border-left:.5px solid var(--color-neutral-20);border-right:0!important}.phone-number--opened{border-radius:10px 10px 0 0!important}.phone-number--opened--up{border-radius:0 0 10px 10px!important}.phone-number .dropdown{border-right:.5px solid var(--color-neutral-20);padding:0 15px;width:75px}.phone-number .dropdown__selected-item{font-size:16px}.phone-number .dropdown--opened{border-radius:unset!important;box-shadow:unset!important}.phone-number .input-text{border:0;flex:1}.myinterview-logo-wrapper{max-height:400px}.myinterview-checkbox{align-items:center;border-radius:4px;border-style:solid;border-width:1px;display:flex;flex-shrink:0;justify-content:center;position:relative;transition:all .15s ease-out}.myinterview-checkbox__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.myinterview-checkbox__checkmark{border-radius:50%;display:flex;height:100%;padding:2px;transform:scale(0);transition:.15s ease-out;width:100%}.myinterview-checkbox__checkmark--checked{border-radius:0;transform:scale(1)}.myinterview-checkbox__checkmark svg{height:100%;width:100%}.myinterview-widget-no-select{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.myinterview-widget-scroll-indicator::-webkit-scrollbar{display:initial!important;width:5px}.myinterview-widget-scroll-indicator::-webkit-scrollbar-thumb{background:var(--color-neutral-40)}@keyframes fade-in{0%{opacity:0}}:host{--myinterview-widget-dynamic-overflow:auto;--myinterview-widget-background-height:calc(40vh - 100px);--myinterview-widget-background-preview-display:none;--myinterview-widget-video-aspect-ratio:0.75;--myinterview-widget-camera-transform:translateZ(0) rotateY(180deg);--myinterview-widget-outer-width:530px;--myinterview-widget-recorder-border-radius:10px;--myinterview-widget-preview-video-border-radius:20px;--myinterview-background-opacity:0;--myinterview-widget-wrapper-padding:20px}@media (min-width:1200px){:host{--myinterview-widget-recorder-border-radius:20px;--myinterview-widget-preview-video-border-radius:10px;--myinterview-widget-video-aspect-ratio:1.77778;--myinterview-widget-wrapper-padding:10px}}.myinterview-widget{word-wrap:normal;--myinterview-widget-layout-top:0;--myinterview-widget-layout-right:0;--myinterview-widget-layout-bottom:0;--myinterview-widget-layout-left:0;border-collapse:initial;border-spacing:0;caption-side:top;cursor:auto;direction:ltr;empty-cells:show;font-size:1rem;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:normal;list-style-image:none;list-style-position:outside;list-style-type:disc;orphans:2;quotes:initial;tab-size:8;text-align:initial;text-align-last:auto;text-decoration-color:initial;text-indent:0;text-justify:auto;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;widows:2;word-break:normal;word-spacing:normal}.myinterview-widget *,.myinterview-widget :after,.myinterview-widget :before{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0}.myinterview-widget__layout{background-color:var(--color-white);border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;max-height:100%;padding:20px 20px 0;position:fixed;right:0;top:0;transform:translateZ(0);-webkit-transform:translateZ(0);z-index:2147483000}.myinterview-widget__layout--animated{animation:myinterview-widget-open .4s ease-out;-webkit-animation:myinterview-widget-open .4s ease-out;-moz-animation:myinterview-widget-open .4s ease-out;-o-animation:myinterview-widget-open .4s ease-out}.myinterview-widget__layout--minimized{animation:myinterview-widget-minimize .5s ease-in-out forwards;-webkit-animation:myinterview-widget-minimize .5s ease-in-out forwards;-moz-animation:myinterview-widget-minimize .5s ease-in-out forwards;-o-animation:myinterview-widget-minimize .5s ease-in-out forwards;overflow:hidden}.myinterview-widget__layout--minimized>*{opacity:0;transition:opacity .2s ease-out}@media (min-width:480px){.myinterview-widget__layout{display:grid;grid-template-columns:minmax(20px,1fr) minmax(auto,480px) minmax(20px,1fr);padding:20px 0 0}.myinterview-widget__layout>*{grid-column:2}.myinterview-widget__layout>.full{grid-column:1/-1;padding:0}}@media (min-width:1200px){.myinterview-widget__layout{grid-template-columns:10px 1fr 10px;padding:50px 0}}@keyframes myinterview-widget-open{0%{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;overflow:hidden;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top)}50%{background-color:var(--color-white)}}@keyframes myinterview-widget-minimize{90%{border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:1;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:2147483000}99%{opacity:0}to{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:0;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:-1}}.myinterview-widget-icons__play-button{cursor:pointer;position:relative}.myinterview-widget-icons__play-button svg{color:var(--color-primary)}.myinterview-widget-icons__play-button svg path{transition:d .4s ease-out;-webkit-transition:d .4s}.myinterview-widget-icons__play-button svg rect{transition:rx .4s;-webkit-transition:rx .4s}.myinterview-widget-icons__loading{background-color:currentColor;border-radius:50%;height:38px;overflow:hidden;position:relative;transform:translateZ(0);width:38px}.myinterview-widget-icons__loading:after{animation:slide 1s infinite;background:linear-gradient(to right,currentColor,var(--color-neutral-10),currentColor);content:\"\";height:100%;left:-50px;position:absolute;width:100%}.myinterview-widget-icons__no-camera-mic{align-items:center;background-color:#eff6fe;border-radius:50%;display:flex;height:80px;justify-content:center;position:relative;width:80px}.myinterview-widget-icons__no-camera-mic__camera,.myinterview-widget-icons__no-camera-mic__mic{align-items:center;border-radius:4px;display:flex;height:28px;justify-content:center;position:absolute;width:28px}.myinterview-widget-icons__no-camera-mic__camera svg,.myinterview-widget-icons__no-camera-mic__mic svg{height:20px;width:20px}.myinterview-widget-icons__no-camera-mic__camera{background-color:var(--color-primary);color:var(--color-white);transform:translate(-35%,-35%)}.myinterview-widget-icons__no-camera-mic__mic{background-color:var(--color-white);color:var(--color-primary);transform:translate(35%,35%)}.myinterview-widget__wrapper{-ms-overflow-style:none;display:flex;flex:1;flex-direction:column;overflow:hidden;position:relative;scrollbar-width:none}.myinterview-widget__wrapper ::-webkit-scrollbar,.myinterview-widget__wrapper::-webkit-scrollbar{display:none}.myinterview-widget__wrapper--hide-header .myinterview-widget-header{visibility:hidden}.myinterview-widget__background{background:linear-gradient(50.24deg,var(--color-primary) 0,var(--color-special) 75%);height:var(--myinterview-widget-background-height);left:0;opacity:var(--myinterview-background-opacity);overflow:hidden;position:absolute;top:0;transition:opacity .5s;width:100%}.myinterview-widget__background:before{border:6vh solid hsla(0,0%,100%,.267);border-radius:50%;content:\"\";height:30vh;position:absolute;right:0;top:0;transform:translate(50%,-50%);width:30vh}.myinterview-widget__background:after{background-color:var(--color-white);border-radius:20px 20px 0 0;bottom:0;content:\"\";display:var(--myinterview-widget-background-preview-display);height:20px;position:absolute;width:100%}@media (min-width:1200px){.myinterview-widget__background:after{display:none}.myinterview-widget__background{height:100vh;left:auto;right:0;width:calc(100% - var(--myinterview-widget-outer-width))}.myinterview-widget__background:before{border:12vh solid hsla(0,0%,100%,.267);height:70vh;width:70vh}}.myinterview-widget__watermark{display:none}@media (min-width:1200px){.myinterview-widget__watermark{bottom:20px;display:flex;height:64px;left:20px;position:absolute}}.myinterview-widget__background-dots{display:none}@media (min-width:1200px){.myinterview-widget__background-dots{background-image:radial-gradient(hsla(0,0%,100%,.467) 15%,#0000 0);background-position:0 0,50px 50px;background-size:20px 20px;bottom:0;display:flex;height:200px;position:absolute;right:0;width:200px}}.myinterview-widget__views{--myinterview-widget-views-margin-top:0px;--myinterview-widget-practice-opacity:1;-webkit-overflow-scrolling:touch;color:var(--color-primary);display:flex;flex:1;flex-direction:column;overflow-y:var(--myinterview-widget-dynamic-overflow);scroll-snap-type:y mandatory;z-index:20}.myinterview-widget__views--uploading{gap:0;justify-content:center;margin-bottom:30px}@media (min-width:1200px){.myinterview-widget__views{align-items:start;flex:initial;flex:1;flex-direction:row-reverse;gap:0;justify-content:flex-end;overflow:hidden;padding:0;scroll-snap-type:none}.myinterview-widget__views--uploading{margin-bottom:0}}.myinterview-widget__views--rtl .myinterview-widget--rtl-support{direction:rtl}.myinterview-widget-recording-action-button{margin-bottom:20px;min-height:45px;position:relative;scroll-snap-align:end;z-index:1}@media (min-width:1200px){.myinterview-widget-recording-action-button{display:none}}.myinterview-widget-recording-action-button--video-question:disabled{display:none!important}.myinterview-widget-recording-action-button--stop-recording{border:1px solid var(--color-neutral-40)!important}@media (min-width:1200px){.myinterview-widget-recording-action-button--stop-recording{border:none!important}}.myinterview-widget-rotate-screen{align-items:center;animation:fade-in .3s;background-color:var(--color-white);display:none;height:100%;justify-content:center;left:0;padding:20px!important;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-rotate-screen svg{flex:0;margin-right:40px;min-width:120px}@media screen and (orientation:landscape){.myinterview-widget-rotate-screen{display:flex}}.myinterview-widget-unsupported-modal{align-items:center;background-color:var(--color-white);display:flex;height:100%;justify-content:center;left:0;padding:20px;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-unsupported-modal__message{text-align:center}.myinterview-widget-minimize{color:var(--color-white);cursor:pointer;display:none;height:20px;position:fixed;right:30px;top:30px;width:20px;z-index:50}@media (min-width:1024px){.myinterview-widget-minimize{display:flex}}.myinterview-widget-header{display:flex;flex-wrap:wrap;gap:18px;height:fit-content;margin:0 0 20px;max-height:112px;max-width:100%;overflow:hidden;transition:all .2s}.myinterview-widget-header--hidden{height:0;margin:0;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header--hidden{height:fit-content;margin:0 0 20px}}.myinterview-widget-header__logo{height:48px}.myinterview-widget-header__logo img{flex-shrink:1;max-height:100%;max-width:100%;object-fit:contain;overflow:hidden}.myinterview-widget-header__details-wrapper{display:flex;flex-direction:column;flex-shrink:0;justify-content:center;letter-spacing:.2px;max-width:100%;min-width:60%;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header{display:none;max-width:var(--myinterview-widget-outer-width);overflow:visible;padding-left:20px}.myinterview-widget-header__company-name{color:var(--color-neutral-50)}.myinterview-widget-header__job-title{color:var(--color-neutral-90)}}.myinterview-widget-header--desktop-layout{display:none}@media (min-width:1200px){.myinterview-widget-header--desktop-layout{display:flex;min-height:48px}}.myinterview-widget-inner{align-items:center;display:flex;flex-direction:column;margin-bottom:20px;min-height:min((100vw - 40px) * 1/var(--myinterview-widget-video-aspect-ratio),480px * 1/var(--myinterview-widget-video-aspect-ratio));position:relative;scroll-snap-align:start;z-index:1}.myinterview-widget-inner--no-snap{scroll-snap-align:none}@media (min-width:1200px){.myinterview-widget-inner{background-color:var(--color-white);border-radius:var(--myinterview-widget-recorder-border-radius);box-shadow:0 4px 14px -2px #00000026;height:calc((100vw - 20px - var(--myinterview-widget-outer-width))*9/16);margin:auto;max-height:440px;max-width:782.2222222222px;min-height:auto;overflow:hidden;width:100%}}.myinterview-widget-inner--hidden{max-height:0;min-height:0;overflow:hidden;visibility:hidden}.myinterview-widget-inner--welcome-hidden{aspect-ratio:16/9;visibility:hidden;width:100%}.myinterview-widget-inner__content{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-height:100%;max-width:fit-content;min-height:200px;min-width:200px;overflow:hidden;position:sticky;top:0}.myinterview-widget-inner__content--full-width{min-width:100%}@media (min-width:1200px){.myinterview-widget-inner__content{height:100%;max-width:100%;position:relative;width:100%}}.myinterview-widget-inner__content--error{display:flex;flex:1;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-width:100%;min-height:fit-content;width:100%}.myinterview-widget-inner .myinterview-widget-explanation{align-items:center;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:100%;justify-content:center;padding:20px;position:absolute;text-align:center;white-space:pre-line;width:100%;z-index:1}.myinterview-widget-inner .myinterview-widget-explanation .myinterview-widget-question__question-parameters{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-explanation__main{margin-bottom:15px;max-width:50ch}.myinterview-widget-inner .myinterview-widget-explanation__header{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-times-up{align-items:center;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;gap:10px;justify-content:center;padding:20px;text-align:center}.myinterview-widget-inner .myinterview-widget-times-up__button{margin-top:50px}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-times-up__button,.myinterview-widget-inner .myinterview-widget-times-up__title{margin-top:auto}}.myinterview-widget-inner .myinterview-widget-recording-action-button{display:none}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-recording-action-button{bottom:20px;display:block;left:50%;margin:0;position:absolute;transform:translate(-50%);white-space:nowrap;width:fit-content;z-index:20}}.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-height:fit-content;min-width:100%}.myinterview-widget-inner--video-question-state .myinterview-widget-inner__content,.myinterview-widget-inner--welcome-page-state .myinterview-widget-inner__content{aspect-ratio:auto;height:auto}@media (min-width:1200px){.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-width:auto}.myinterview-widget-inner--video-question-state .myinterview-widget-recording-action-button,.myinterview-widget-inner--welcome-page-state .myinterview-widget-recording-action-button{bottom:70px}}.myinterview-widget-inner--full{flex:1;scroll-snap-align:none}.myinterview-widget-inner--full .myinterview-widget-inner__content{flex:1;height:max-content;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-inner--full{flex:auto}}.myinterview-widget-outer{border-radius:10px;display:flex;flex-direction:column;padding-bottom:20px;scroll-snap-align:end}.myinterview-widget-outer--no-snap{scroll-snap-align:none}.myinterview-widget-outer--hidden{display:none}.myinterview-widget-outer--uploading{flex:0;padding:0}@media (min-width:1200px){.myinterview-widget-outer{background-color:initial;flex:none;height:100%;padding:0 20px 0 0!important;width:var(--myinterview-widget-outer-width)}.myinterview-widget-outer>*{padding:0 20px}.myinterview-widget-outer--hidden{display:flex}.myinterview-widget-outer--uploading{padding:0}}.myinterview-widget-outer .myinterview-widget-question{background-color:#fffffff2;border-radius:10px;margin:0 auto;transition:opacity .25s;width:100%}@media (min-width:1200px){.myinterview-widget-outer .myinterview-widget-question{padding:40px 20px 0}.myinterview-widget-outer .myinterview-widget-question__question{font-size:26px;line-height:36px}}.myinterview-widget-outer--hide-question .myinterview-widget-question{display:none}.myinterview-widget-outer__setup{display:flex;flex:1;flex-direction:column}.myinterview-widget-outer__title{margin-bottom:15px}.myinterview-widget-outer__mode-wrapper{background-color:var(--color-white);bottom:0;display:flex;justify-content:space-around;margin-top:15px;padding:10px 0;position:sticky}.myinterview-widget-outer__mode-wrapper:before{background-color:var(--color-white);content:\"\";height:40px;left:0;mask-image:linear-gradient(#0000,var(--color-black));-webkit-mask-image:linear-gradient(#0000,var(--color-black));mask-mode:alpha;position:absolute;top:0;transform:translateY(-100%);width:100%}@media (min-width:1200px){.myinterview-widget-outer__mode-wrapper{background-color:initial;flex-direction:column;justify-content:flex-start;padding:0;position:static;width:65%}.myinterview-widget-outer__mode-wrapper:after,.myinterview-widget-outer__mode-wrapper:before{display:none}}.myinterview-widget-outer__mode-button{letter-spacing:.5px;max-width:42%!important;min-width:100px!important;padding:0 15px!important;width:150px!important}.myinterview-widget-outer__mode-button--start{border:1px solid!important}.myinterview-widget-outer__mode-button--single{background-color:var(--color-special);color:var(--color-white);max-width:100%!important;width:100%!important}@media (min-width:1200px){.myinterview-widget-outer__mode-button{max-width:100%!important;min-width:150px!important;width:100%!important}.myinterview-widget-outer__mode-button:first-child{margin-bottom:20px}}.myinterview-widget-outer__practice-mode-info{margin-bottom:20px}.myinterview-widget-outer .myinterview-widget__countdown-mobile{display:none}.myinterview-widget-video-camera{border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex:1;flex-direction:column;max-height:100%;position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-video-camera{transform:translateZ(0) scale(1.005)}}.myinterview-widget-video-camera--hidden{display:none}.myinterview-widget-video-camera video{border-radius:var(--myinterview-widget-recorder-border-radius);object-fit:contain;overflow:hidden;transform:var(--myinterview-widget-camera-transform);-webkit-transform:var(--myinterview-widget-camera-transform);width:100%}.myinterview-widget-video-camera__recording-counter-wrapper{align-self:center;position:absolute;top:var(--myinterview-widget-wrapper-padding);width:70px;z-index:2}.myinterview-widget-video-camera__permissions{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);color:var(--color-neutral-90);display:flex;height:100%;justify-content:center;padding:20px;position:absolute;width:100%;z-index:21}.myinterview-widget-video-camera__permissions-close{cursor:pointer;left:25px;position:absolute;top:25px;width:20px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{align-items:center;background-color:var(--color-primary);border-radius:50%;bottom:18px;color:var(--color-white);display:flex;height:40px;isolation:isolate;justify-content:center;left:18px;padding:10px;position:absolute;width:40px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator--hidden{visibility:hidden}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{bottom:25px;left:25px}}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator:after{background:radial-gradient(#0000 40%,var(--color-primary) 90%);border-radius:50%;content:\"\";height:100%;position:absolute;transform:scale(var(--myinterview-widget-voice-level));transform-origin:center;width:100%;will-change:transform;z-index:-1}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator svg{height:100%;width:100%}.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:var(--myinterview-widget-practice-opacity);position:absolute;right:10px;top:10px;transition:opacity .3s}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:1;right:25px;top:25px}}.myinterview-widget-video-camera .myinterview-widget__question-number{left:var(--myinterview-widget-wrapper-padding);top:var(--myinterview-widget-wrapper-padding);z-index:25}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__question-number{letter-spacing:.5px}}.myinterview-widget-video-camera .myinterview-widget__countdown-desktop{display:none}.myinterview-widget-video-camera__watermark{height:50px;left:15px;opacity:.5;position:absolute;top:15px;width:120px}@media (min-width:1200px){.myinterview-widget-video-camera__watermark{left:25px;top:25px}}.myinterview-widget-recorder-modal{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);bottom:0;color:var(--color-neutral-90);display:flex;filter:drop-shadow(0 0 0 rgba(0,0,0,.2));justify-content:center;left:0;min-height:100%;overflow:hidden;padding:var(--myinterview-widget-wrapper-padding);position:absolute;right:0;text-align:center;top:0;z-index:20}.myinterview-widget-recorder-modal__content-wrapper{align-items:center;display:flex;flex-direction:column;gap:5px;letter-spacing:.5px}@media (min-width:1200px){.myinterview-widget-recorder-modal__content-wrapper{max-width:700px}}.myinterview-widget-recorder-modal__question{max-width:100%;overflow:hidden;overflow-wrap:break-word;text-align:start}@media (min-width:1200px){.myinterview-widget-recorder-modal__question{text-align:center}.myinterview-widget-recorder-modal__question .myinterview-widget__question-duration{justify-content:center}}.myinterview-widget-checks{display:flex;flex-direction:column}.myinterview-widget-checks__item{align-items:center;display:flex;gap:20px;margin-bottom:20px}.myinterview-widget-checks__icon{align-items:center;display:flex;height:100%;justify-content:center;width:40px}.myinterview-widget-checks__text-wrapper{display:flex;flex-direction:column}.myinterview-widget-checks__retry{background-color:initial;border:0;cursor:pointer;margin-left:10px;text-decoration:underline}.myinterview-widget-preview__container{background-color:var(--color-white);display:flex;flex-direction:column;min-height:100%;padding-top:var(--myinterview-widget-wrapper-padding);position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-preview__container{max-height:100%;padding:var(--myinterview-widget-wrapper-padding)}}.myinterview-widget-preview__container .myinterview-widget__question-number{margin-bottom:var(--myinterview-widget-wrapper-padding);position:relative}.myinterview-widget-preview__container .myinterview-widget-errors{animation:fade-in .3s;background-color:var(--color-white);bottom:0;left:0;padding:20px;position:absolute;right:0;text-align:center;top:0;transform:translateZ(150px);-webkit-transform:translateZ(150px);z-index:150}.myinterview-widget-preview__title{margin-bottom:30px;text-align:center}@media (min-width:1200px){.myinterview-widget-preview__title{color:var(--color-neutral-90);margin-bottom:12px}}.myinterview-widget-preview__background{animation:background-fade-in .3s ease-out;background-color:#000000e6;height:100%;isolation:isolate;left:0;position:fixed;top:0;transform:translateZ(150px);width:100%;z-index:150}@keyframes background-fade-in{0%{background-color:#0000;transform:translateZ(-2px);z-index:-2}}.myinterview-widget-preview__close{background-color:var(--color-neutral-60);border-radius:2.5rem;bottom:1vh;left:50%;padding:3px 8px;pointer-events:none;position:absolute;transform:translateX(-50%)}.myinterview-widget-preview__main{animation:fade-in .5s;display:flex;height:350px;margin:auto;overflow:hidden;position:relative;touch-action:pan-y;width:100%;z-index:1}.myinterview-widget-preview__items-wrapper{--myinterview-widget-preview-transform-x:0;--myinterview-widget-preview-item-transition:0ms;--myinterview-widget-item-width:100%;box-sizing:initial;display:flex;margin-bottom:10px;position:relative;transition-duration:0ms;transition-property:transform;width:100%;z-index:2}.myinterview-widget-preview__items-wrapper--centered{justify-content:center}.myinterview-widget-preview__item{display:flex;flex-direction:column;flex-shrink:0;height:100%;justify-content:center;padding:2%;position:relative;transition:transform var(--myinterview-widget-preview-item-transition);width:var(--myinterview-widget-item-width);z-index:1}.myinterview-widget-preview__item--current{z-index:2}.myinterview-widget-preview__item--single-take{flex:1;max-width:50%}.myinterview-widget-preview__video-wrapper{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);display:flex;margin:0 auto;opacity:1;overflow:hidden;position:relative;transition-delay:.29s;z-index:3}.myinterview-widget-preview__video-wrapper--mobile{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);height:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper{border-radius:var(--myinterview-widget-preview-video-border-radius);margin:0}}.myinterview-widget-preview__video-wrapper:before{background-color:rgba(0,0,0,.267);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:translateZ(1px);transition:background-color .3s;width:100%;z-index:1}.myinterview-widget-preview__video-wrapper--current:before,.myinterview-widget-preview__video-wrapper--preview:before,.myinterview-widget-preview__video-wrapper:hover:before{background-color:#0000;pointer-events:none}.myinterview-widget-preview__video-wrapper--preview-mobile{opacity:0}.myinterview-widget-preview__video-wrapper:after{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;pointer-events:none;position:absolute;transition:.15s;width:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper:after{border-radius:var(--myinterview-widget-preview-video-border-radius)}}.myinterview-widget-preview__video-wrapper--selected:before{background-color:#0000;z-index:-1}.myinterview-widget-preview__video-wrapper--selected:after{border:3px solid var(--color-primary)}.myinterview-widget-preview__video{cursor:pointer;transform:translateZ(0);-webkit-transform:translateZ(0);width:100%}.myinterview-widget-preview__dynamic-video{--myinterview-preview-video-top:50%;--myinterview-preview-video-left:50%;--myinterview-preview-video-width:0%;--myinterview-preview-video-height:0%;border-radius:var(--myinterview-widget-preview-video-border-radius);height:var(--myinterview-preview-video-height);left:var(--myinterview-preview-video-left);position:fixed;top:var(--myinterview-preview-video-top);transform:translateZ(-1px);transition:all .3s ease-out;transition-delay:.01s;visibility:hidden;width:var(--myinterview-preview-video-width);z-index:-1}.myinterview-widget-preview__dynamic-video--preview{border-radius:0;height:100%;left:0;max-height:70vh;top:46%;transform:translate3d(0,-50%,200px);visibility:visible;width:100%;z-index:200}.myinterview-widget-preview__number-wrapper{align-items:center;cursor:pointer;display:flex;gap:5px;margin:7px auto 0;position:relative;width:fit-content}@media (min-width:1200px){.myinterview-widget-preview__number-wrapper{margin:7px 0 0}}.myinterview-widget-preview__selected-check-mark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;height:20px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:20px}.myinterview-widget-preview__selected-check-mark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-preview__selected-check-mark--selected{border:1px solid var(--color-primary)}.myinterview-widget-preview__selected-check-mark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-preview__dots-wrapper{align-items:center;display:flex;height:20px;justify-content:center;width:100%}.myinterview-widget-preview__dot{background-color:var(--color-neutral-20);border-radius:50%;cursor:pointer;height:10px;margin:0 7px;position:relative;transition:.3s ease-out;width:10px}.myinterview-widget-preview__dot--selected{background-color:var(--color-primary);cursor:auto;transform:scale(1.5);-webkit-transform:scale(1.5)}.myinterview-widget-preview__play-container{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.myinterview-widget-preview__play-button-wrapper{left:50%;top:50%;transform:translateZ(1px);transition:opacity .3s;width:60px}@media (min-width:1200px){.myinterview-widget-preview__play-button-wrapper{max-width:76px;width:25%}}.myinterview-widget-preview__horizontal-line{display:none}@media (min-width:1200px){.myinterview-widget-preview__horizontal-line{background-color:#bdbdbd;display:block;height:1px;margin:15px auto;width:50%}}.myinterview-widget-preview__preview-buttons{align-items:center;display:flex;flex-direction:column;gap:20px;margin-bottom:10px;margin-top:33px;max-width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons{gap:10px;margin-top:auto}}.myinterview-widget-preview__preview-buttons-top{display:flex;gap:10px;justify-content:space-evenly;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons-top{justify-content:center;width:auto}}.myinterview-widget-preview__preview-button{max-width:45%;min-width:100px;width:150px}.myinterview-widget-preview__preview-button--retake{align-items:center;border:1px solid var(--color-neutral-30);display:flex;justify-content:center;max-width:100%}.myinterview-widget-preview__preview-button--start-interview{background-color:initial;color:var(--color-primary);font-size:13px;max-height:30px;max-width:max-content;padding:0;width:max-content}@media (min-width:1200px){.myinterview-widget-preview__preview-button{flex:1;max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-wrapper{max-width:45%;min-width:100px;text-align:center;width:150px}@media (min-width:1200px){.myinterview-widget-preview__retakes-wrapper{max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-left{color:var(--color-neutral-60)}.myinterview-widget-preview__arrow{align-items:center;animation:fade-in .3s;display:flex;height:100%;justify-content:center;min-width:40px;position:absolute;right:0;z-index:5}@media (min-width:1200px){.myinterview-widget-preview__arrow{min-width:4%}.myinterview-widget-preview__arrow:before{background-color:#fff;content:\"\";height:100%;left:0;mask-image:linear-gradient(to right,#0000,var(--color-black));-webkit-mask-image:linear-gradient(to right,#0000,var(--color-black));position:absolute;transform:translateX(5px);width:100%}}.myinterview-widget-preview__arrow--prev{left:0;right:auto;transform:translateZ(5px) rotateY(180deg)}@media (min-width:1200px){.myinterview-widget-preview__arrow--prev{transform:translateZ(5px) rotateY(180deg)}}.myinterview-widget-preview__arrow-icon-wrapper{align-items:center;background-color:var(--color-white);border:1px solid var(--color-neutral-30);border-radius:50%;color:var(--color-neutral-90);cursor:pointer;display:flex;height:36px;justify-content:center;position:relative;transform:translateY(-11px);width:36px}@media (min-width:1200px){.myinterview-widget-preview__arrow-icon-wrapper{box-shadow:0 4px 30px #00000026}}.myinterview-widget-video-question{aspect-ratio:16/9;background-color:var(--color-black);border-radius:var(--myinterview-widget-recorder-border-radius);height:fit-content;isolation:isolate;margin:auto;overflow:hidden;position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-video-question{height:100%}}.myinterview-widget-video-question--hidden{position:absolute;visibility:hidden;z-index:-1}.myinterview-widget-video-question--loading{background-color:hsla(0,0%,100%,.467)}.myinterview-widget-video-question--loading:before{animation:slide 1.5s infinite;background:linear-gradient(to right,#0000,var(--color-neutral-10),#0000);content:\"\";height:100%;left:-100%;position:absolute;top:0;width:100%;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question--loading{background-color:#ccd7f5}}.myinterview-widget-video-question:after{content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}.myinterview-widget-video-question--done:after{background-color:var(--color-black)}.myinterview-widget-video-question__play-button-wrapper{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transition:transform .2s ease-out,opacity .3s ease-out;width:clamp(50px,15vw,76px);z-index:1}.myinterview-widget-video-question__play-button-wrapper--hidden{opacity:0;pointer-events:none;touch-action:none;transform:translate(-50%,-50%) scale(1.3);-webkit-transform:translate(-50%,-50%) scale(1.3)}.myinterview-widget-video-question__controls{align-items:center;bottom:0;display:flex;justify-content:center;left:0;margin:10px 12px;position:absolute;right:0;transition:opacity .2s,transform .2s;z-index:1}.myinterview-widget-video-question__controls--inactive{opacity:0;pointer-events:none;touch-action:none;transform:translateY(25%)}.myinterview-widget-video-question__controls>:not(:last-child){margin-right:15px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button{min-width:40px;width:50px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button .myinterview-widget-icons svg{color:var(--color-white)}.myinterview-widget-video-question__timebar-counter-wrapper{width:100%}.myinterview-widget-video-question__counter-wrapper{-webkit-text-stroke-width:.5px;-webkit-text-stroke-color:var(--color-neutral-90);color:var(--color-white);font-size:13px;font-weight:700}.myinterview-widget-video-question__time-bar{background-color:hsla(0,0%,100%,.467);border-radius:2.5rem;cursor:pointer;height:10px;margin-bottom:5px;position:relative;width:100%}.myinterview-widget-video-question__time-bar--disabled{cursor:auto;pointer-events:none}.myinterview-widget-video-question__time-bar:before{content:\"\";height:30px;left:0;position:absolute;top:0;transform:translateY(-30%);width:100%}@media (min-width:1200px){.myinterview-widget-video-question__time-bar:before{display:none}}.myinterview-widget-video-question__time-bar-progress{background-color:var(--color-primary);border-radius:2.5rem;height:100%;position:absolute;transition:width .25s linear}.myinterview-widget-video-question__time-bar-progress:after{background-color:var(--color-primary);border-radius:50%;content:\"\";height:15px;left:100%;pointer-events:none;position:absolute;top:50%;touch-action:none;transform:translate(-50%,-50%);width:15px}.myinterview-widget-video-question__time-bar-progress--changing{transition:none}.myinterview-widget-video-question__time-bar-progress--unchangeable{cursor:auto}.myinterview-widget-video-question__time-bar-progress--unchangeable:after{display:none}.myinterview-widget-video-question__retry-button{margin-top:20px;width:100%;z-index:2}.myinterview-widget-video-question__retry-button--hidden{position:absolute;visibility:hidden;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question__retry-button{bottom:70px;left:50%;margin:0 auto;position:absolute;transform:translateX(-50%);width:fit-content}}@keyframes slide{50%{opacity:.9}to{left:100%;opacity:1}}.myinterview-widget-device{align-items:center;background-color:var(--color-white);border-radius:50%;color:var(--color-neutral-90);display:flex;height:40px;justify-content:center;position:absolute;right:18px;width:40px}.myinterview-widget-device__mobile{bottom:18px}.myinterview-widget-device__desktop{right:18px;top:18px;z-index:30}@media (min-width:1200px){.myinterview-widget-device__desktop{right:25px;top:25px}}.myinterview-widget-device__menu-button{align-items:center;background-color:initial;border:none;border-radius:50%;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.myinterview-widget-device__modal{--myinterview-widget-select-device-height:48px;background-color:var(--color-white);border-radius:20px;bottom:-15px;box-shadow:0 2px 12px -4px #0000001a;max-width:400px;min-width:300px;position:absolute;right:-12px;transform:translateY(100%)}.myinterview-widget-device__modal:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:20px;position:absolute;right:22px;top:-8px;transform:rotate(45deg);width:20px}.myinterview-widget-device__select-wrapper{display:flex;flex-direction:column;overflow:hidden;padding:20px}.myinterview-widget-device__select-group{display:flex;flex-direction:column}.myinterview-widget-device__select-group:not(:last-child):after{background-color:var(--color-neutral-20);content:\"\";height:1px;margin:10px 0;width:100%}.myinterview-widget-device__selected-device{cursor:pointer;display:flex;height:var(--myinterview-widget-select-device-height);width:100%}.myinterview-widget-device__select-icon{align-items:center;display:flex;min-width:40px}.myinterview-widget-device__select-icon svg{height:20px;width:20px}.myinterview-widget-device__selected-title-wrapper{flex:1;overflow:hidden;padding-right:23px}.myinterview-widget-device__selected-title{line-height:var(--myinterview-widget-select-device-height)!important;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.myinterview-widget-device__arrow{align-items:center;display:flex;margin-left:auto;transform:rotate(0);transition:.2s}.myinterview-widget-device__arrow--open{transform:rotate(-180deg)}.myinterview-widget-device__select-list{display:flex;flex-direction:column;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.myinterview-widget-device__select-list--open{max-height:calc(var(--myinterview-widget-select-device-height)*2);overflow:auto;transition:max-height .2s ease-in}.myinterview-widget-device__select-option{border-radius:4px;cursor:pointer;line-height:var(--myinterview-widget-select-device-height)!important;min-height:var(--myinterview-widget-select-device-height);overflow:hidden;padding:0 40px;text-overflow:ellipsis;white-space:nowrap}.myinterview-widget-device__select-option--selected,.myinterview-widget-device__select-option:hover{color:var(--color-primary)!important}.myinterview-widget-device__select-option--selected{background-color:rgba(90,164,245,.051)!important}.myinterview-widget__countdown-mobile{align-items:center;background-color:var(--color-white);border-radius:2.5rem;display:flex;height:25px;left:50%;padding:6px 10px;position:absolute;top:var(--myinterview-widget-wrapper-padding);transform:translateX(-50%);z-index:30}.myinterview-widget__countdown-mobile--red{color:var(--color-error)}@media (min-width:1200px){.myinterview-widget__countdown-mobile[hidden]{display:none}}.myinterview-widget__countdown-desktop{display:none}@media (min-width:1200px){.myinterview-widget__countdown-desktop{--myinterview-widget-p:100;--myinterview-widget-b:5px;--myinterview-widget-w:160px;align-items:center;display:flex;height:var(--myinterview-widget-w);justify-content:center;margin:auto;padding:0;position:relative;transform:rotateY(180deg);width:var(--myinterview-widget-w)}.myinterview-widget__countdown-desktop:after,.myinterview-widget__countdown-desktop:before{border-radius:50%;content:\"\";position:absolute}.myinterview-widget__countdown-desktop:before{background:radial-gradient(farthest-side,var(--color-primary) 100%,#0000) top/var(--myinterview-widget-b) var(--myinterview-widget-b) no-repeat,conic-gradient(var(--color-primary) calc((var(--myinterview-widget-p))*1%),#0000 0);inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));transition:all 1s}.myinterview-widget__countdown-desktop:after{background:var(--color-primary);inset:calc(50% - var(--myinterview-widget-b)/2);transform:rotate(calc(var(--myinterview-widget-p)*3.6deg)) translateY(calc(50% - var(--myinterview-widget-w)/2))}.myinterview-widget__countdown-desktop[hidden]{display:none}}.myinterview-widget__countdown-desktop .myinterview-widget__countdown-desktop-text{align-items:center;border:var(--myinterview-widget-b) solid #edf6fe;border-radius:50%;display:flex;height:100%;justify-content:center;position:absolute;transform:rotateY(180deg);width:100%;z-index:-1}.myinterview-widget-counter{align-items:center;background-color:var(--color-white);border-radius:2.5rem;color:var(--color-neutral-90);display:flex;gap:5px;height:25px;justify-content:center}.myinterview-widget-counter__dot{background-color:var(--color-error);border-radius:50%;height:10px;width:10px}.myinterview-widget-counter__clock{display:flex}.myinterview-widget-counter__timer{transition:color .25s}.myinterview-widget-counter__timer--red{color:#f45b2b}.myinterview-widget-loader{-webkit-animation:fade 1.6s infinite;-moz-animation:fade 1.6s infinite;-o-animation:fade 1.6s infinite;animation:fade 1.6s infinite;margin:auto;width:80px}@keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-o-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-moz-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes fade{0%,to{opacity:0}50%{opacity:1}}.myinterview-widget-error{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto}.myinterview-widget-error__message{margin-bottom:10px}.myinterview-widget-errors{align-items:center;display:flex;flex-direction:column;justify-content:center}.myinterview-widget-errors__icon{margin-bottom:15px}.myinterview-widget-errors__details,.myinterview-widget-errors__title{margin-bottom:5px}.myinterview-widget-errors__cta{cursor:pointer;margin-bottom:5px;position:relative;text-decoration:underline}.myinterview-widget-errors__cta .myinterview-widget-select-native{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.myinterview-widget-errors__cta--secondary{text-transform:capitalize}.myinterview-widget-slider-modal{animation:close-modal .3s forwards;bottom:0;height:100vh;height:-moz-available;height:-webkit-fill-available;height:stretch;left:0;min-height:100vh;min-height:-moz-available;min-height:-webkit-fill-available;min-height:stretch;overflow:hidden;position:fixed;width:100vw;z-index:50}.myinterview-widget-slider-modal__wrapper{-webkit-overflow-scrolling:touch;height:100%;overflow-y:auto;scroll-snap-type:y mandatory;width:100%}.myinterview-widget-slider-modal__top{min-height:100%;scroll-snap-align:start;touch-action:none}.myinterview-widget-slider-modal__bottom{background-color:var(--color-white);border-radius:20px 20px 0 0;display:flex;flex-direction:column;height:10%;isolation:isolate;min-height:10%;overflow:hidden;position:relative;scroll-snap-align:end;transition:min-height .5s,height .5s;visibility:hidden}.myinterview-widget-slider-modal__pill{background-color:var(--color-neutral-30);border-radius:2.5rem;margin:20px auto 32px;min-height:4px;width:60px}.myinterview-widget-slider-modal--open{animation:none;background-color:#0009;visibility:visible}.myinterview-widget-slider-modal--open .myinterview-widget-slider-modal__bottom{height:80%;min-height:80%;visibility:visible}@keyframes close-modal{0%{background-color:#0009}to{background-color:#0000;visibility:hidden}}.myinterview-widget-permissions__wrapper{display:flex;flex:1;flex-direction:column;margin:0 auto;max-height:100%;max-width:480px;overflow:auto;padding:0 20px 20px;width:100%}@media (min-width:1200px){.myinterview-widget-permissions__wrapper{padding:0 20px}}.myinterview-widget-permissions__icon-wrapper{align-items:center;background-color:#eff6fe;border-radius:50%;color:var(--color-primary);display:flex;justify-content:center;margin:0 auto 20px;min-height:70px;min-width:70px}.myinterview-widget-permissions__icon-wrapper svg{height:32px;width:32px}@media (min-width:1200px){.myinterview-widget-permissions__icon-wrapper{display:none!important}}.myinterview-widget-permissions__title{margin-bottom:20px;text-align:center}@media (min-width:1200px){.myinterview-widget-permissions__title{margin-bottom:15px}}.myinterview-widget-permissions__sub-title{margin-bottom:10px}.myinterview-widget-permissions__steps-wrapper{margin-bottom:15px;padding:0 20px}.myinterview-widget-permissions__step{font-size:14px;list-style:decimal;margin-bottom:10px}.myinterview-widget-permissions__step .text--bold{font-weight:700}.myinterview-widget-permissions__step .safari__key{background-color:var(--color-neutral-20);border-radius:2px;padding:2px 4px}.myinterview-widget-permissions__button{margin-top:auto;min-height:45px}.myinterview-widget-question{margin-bottom:10px;position:relative}.myinterview-widget-question>*{position:relative;z-index:1}.myinterview-widget-question__question{letter-spacing:.5px;margin-bottom:6px}.myinterview-widget-question__description{letter-spacing:.5px}.myinterview-widget-question__question-parameters{align-items:center;display:inline-flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.myinterview-widget-question__question-parameters>*{white-space:nowrap}.myinterview-widget-questions-list{display:none}@media (min-width:1200px){.myinterview-widget-questions-list{display:flex;flex-direction:column;overflow-y:auto;padding:0;position:relative}.myinterview-widget-questions-item{align-items:center;border-radius:0 4px 4px 0;display:flex;gap:20px;letter-spacing:.5px;max-width:100%;min-height:90px;overflow:hidden;padding:20px;position:relative}.myinterview-widget-questions-item__number{align-items:center;background-color:var(--color-neutral-20);border-radius:50%;color:var(--color-neutral-90);display:flex;height:38px;justify-content:center;min-width:38px}.myinterview-widget-questions-item__number--icon{background-color:var(--color-white);color:var(--color-primary)}.myinterview-widget-questions-item__wrapper{flex:1;overflow:hidden}.myinterview-widget-questions-item__question{display:flex;flex-direction:column;gap:2px;overflow:hidden}.myinterview-widget-questions-item__duration-wrapper{align-items:center;color:var(--color-neutral-50);display:flex;font-size:12px;gap:5px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper *{font-size:12px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper svg{width:15px}.myinterview-widget-questions-item--active{background-color:#f7fbff}.myinterview-widget-questions-item--active:before{background-color:var(--color-primary);content:\"\";height:100%;left:0;position:absolute;width:3px}.myinterview-widget-questions-item--active .myinterview-widget-questions-item__number{background-color:var(--color-white);border:1px solid var(--color-primary);color:var(--color-primary)}}.myinterview-widget-upload{align-items:center;background-color:var(--color-white);border-radius:20px;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto;max-height:500px;overflow:hidden;padding:40px;text-align:center;width:100%}@media (min-width:1200px){.myinterview-widget-upload{margin:0;min-height:360px}}.myinterview-widget-upload__icon{align-items:center;background-color:#5aa4f5;border:12px solid #d7e8fb;border-radius:50%;color:var(--color-white);display:flex;height:110px;justify-content:center;margin-bottom:30px;min-height:110px;position:relative;width:110px}.myinterview-widget-upload__icon:before{background-color:initial;border:12px solid #99c6f8;border-radius:50%;content:\"\";height:100%;position:absolute;width:100%}.myinterview-widget-upload__title{margin-bottom:20px}.myinterview-widget-upload__sub-title{margin-bottom:40px;white-space:pre-line}.myinterview-widget-upload__progress{margin-bottom:10px;width:100%}.myinterview-widget-upload__time-left{align-items:center;color:var(--color-neutral-90);display:flex;gap:10px}.myinterview-widget-top-tips{background-color:var(--color-white);color:var(--color-neutral-90);display:flex;flex-direction:column;padding:50px}.myinterview-widget-top-tips__title{margin-bottom:20px}.myinterview-widget-top-tips__tips{margin-bottom:10px;padding:0 15px}.myinterview-widget-top-tips li{margin-bottom:10px}.myinterview-widget__practice-mode{border-radius:2.5rem;height:36px;padding:5px 15px}.myinterview-widget__practice-mode,.myinterview-widget__recording-button{align-items:center;background-color:var(--color-white);display:flex;justify-content:center}.myinterview-widget__recording-button{border:1px solid var(--color-neutral-30);border-radius:50%;height:64px;width:64px}.myinterview-widget__recording-button-inner{background-color:var(--color-error);border-radius:50%;height:52px;width:52px}.myinterview-widget__recording-button-inner--stop{border-radius:2px;height:16px;width:16px}.myinterview-widget__question-number{display:flex;gap:5px;position:absolute}@media (min-width:1200px){.myinterview-widget__question-number{margin-left:10px}}.myinterview-widget__question-number-track{direction:ltr;display:flex;gap:5px}.myinterview-widget__question-duration{align-items:center;display:flex;gap:8px}.myinterview-widget__question-duration svg{height:1em;width:1em}.myinterview-widget__progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:2.5rem;height:15px;overflow:hidden;width:100%}.myinterview-widget__progress::-webkit-progress-bar{background-color:#e7f1ef}.myinterview-widget__progress::-webkit-progress-value{background-color:var(--color-success);transition:.3s}.myinterview-widget__dot-separator{background-color:currentColor;border-radius:50%;height:3px;width:3px}.myinterview-widget-welcome-page{display:flex;flex-direction:column;gap:20px;height:100%;margin:30px 0;max-height:100%;overflow:auto;position:relative}@media (min-width:1200px){.myinterview-widget-welcome-page{padding:0 20px}}.myinterview-widget-welcome-page__text-wrapper{display:flex;flex-direction:column;position:relative}.myinterview-widget-welcome-page__text{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.myinterview-widget-welcome-page__text--closed{-webkit-line-clamp:4;line-clamp:4}.myinterview-widget-welcome-page__toggle{margin-left:auto}.myinterview-widget-welcome-page__action-buttons{display:flex;gap:20px;justify-content:space-between}.myinterview-widget-welcome-page__continue-button{flex:1;max-width:250px;min-width:fit-content}.myinterview-widget-welcome-page__top-tips-button{margin:0 auto}.myinterview-widget-welcome-page__top-tips{align-items:center;display:flex;gap:10px;justify-content:center}.myinterview-modal-wrapper{background-color:var(--color-white);border-radius:0;height:100vh;max-height:100%;max-width:500px;opacity:0;pointer-events:none;top:calc(50% + 40px);transition:top .2s ease-out,opacity .2s ease-out;width:100vw}@media (min-width:480px){.myinterview-modal-wrapper{border-radius:10px;height:auto}}.myinterview-modal-wrapper--opened{opacity:1;pointer-events:all;top:50%}.myinterview-modal-wrapper__close-btn{color:var(--color-neutral-90)}.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:20px;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;justify-content:space-between;overflow:auto;padding:var(--myinterview-widget-wrapper-padding)}@media (min-width:1200px){.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:7px;align-items:center}.myinterview-widget-assessment .myinterview-widget-question{display:none}}.myinterview-widget-assessment .myinterview-widget__question-number{align-self:flex-start;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative}.myinterview-widget-assessment__countdown-wrapper{display:flex;height:100%;justify-content:center;left:0;padding:var(--myinterview-widget-wrapper-padding);pointer-events:none;position:absolute;top:0;width:100%}.myinterview-widget-assessment__countdown-wrapper .myinterview-widget__countdown-mobile{background-color:var(--color-neutral-10);position:sticky;top:0}.myinterview-widget-assessment__instructions{margin-bottom:var(--myinterview-widget-assessment-spacing);z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__instructions{text-align:center}}.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{align-items:center;display:flex;flex:1;flex-direction:column;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{width:550px}}.myinterview-widget-assessment__input{border:.5px solid var(--color-neutral-40);border-radius:4px;flex:1;min-height:100px;padding:15px 15px 30px;resize:none;width:100%}.myinterview-widget-assessment__input::placeholder{color:var(--color-neutral-40)}.myinterview-widget-assessment__options-form{display:flex;flex-direction:column;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__options-form{margin:auto 0}}.myinterview-widget-assessment__option{align-items:center;cursor:pointer;display:flex;gap:var(--myinterview-widget-assessment-spacing);padding:var(--myinterview-widget-assessment-spacing) 0;position:relative}.myinterview-widget-assessment__option:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:100%;left:0;opacity:.1;pointer-events:none;position:absolute;top:0;transition:background-color .1s;width:100%;z-index:-1}.myinterview-widget-assessment__option:active:before{background-color:var(--color-primary)}.myinterview-widget-assessment__option:not(:last-child){border-bottom:1px solid var(--color-neutral-20)}.myinterview-widget-assessment__checkmark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;flex-shrink:0;height:16px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:16px}.myinterview-widget-assessment__checkmark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-assessment__checkmark--selected{border:1px solid var(--color-primary)}.myinterview-widget-assessment__checkmark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-assessment .myinterview-widget__characters-limit{bottom:10px;position:absolute;right:15px}.myinterview-widget-assessment__submit-button{min-height:45px;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__submit-button{width:auto}}";
|
|
48323
|
+
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap\");:host,:root,html[data-theme=light]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#fff;--color-black:#000;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(50.24deg,#135 -146.43%,#557ede -0.68%,#6690ff 75.97%)}html[data-theme=dark]{--color-primary:#5aa4f5;--color-secondary:#5ed0bc;--color-premium:#fac918;--color-special:#6690ff;--color-neutral-10:#f2f2f2;--color-neutral-20:#e6e6e6;--color-neutral-30:#ccc;--color-neutral-40:#aaa;--color-neutral-50:#8d8d8d;--color-neutral-60:#777;--color-neutral-70:#444;--color-neutral-90:#404852;--color-white:#222;--color-black:#ddd;--color-success:#5ed0bc;--color-warning:#fac918;--color-error:#f25f5b;--color-info:#404852;--color-malibu:linear-gradient(135deg,#51beff,#6690ff)}.color--primary{color:var(--color-primary)}.background-color--primary{background-color:var(--color-primary)}.border-color--primary{border-color:var(--color-primary)}.color--secondary{color:var(--color-secondary)}.background-color--secondary{background-color:var(--color-secondary)}.border-color--secondary{border-color:var(--color-secondary)}.color--premium{color:var(--color-premium)}.background-color--premium{background-color:var(--color-premium)}.border-color--premium{border-color:var(--color-premium)}.color--special{color:var(--color-special)}.background-color--special{background-color:var(--color-special)}.border-color--special{border-color:var(--color-special)}.color--neutral-10{color:var(--color-neutral-10)}.background-color--neutral-10{background-color:var(--color-neutral-10)}.border-color--neutral-10{border-color:var(--color-neutral-10)}.color--neutral-20{color:var(--color-neutral-20)}.background-color--neutral-20{background-color:var(--color-neutral-20)}.border-color--neutral-20{border-color:var(--color-neutral-20)}.color--neutral-30{color:var(--color-neutral-30)}.background-color--neutral-30{background-color:var(--color-neutral-30)}.border-color--neutral-30{border-color:var(--color-neutral-30)}.color--neutral-40{color:var(--color-neutral-40)}.background-color--neutral-40{background-color:var(--color-neutral-40)}.border-color--neutral-40{border-color:var(--color-neutral-40)}.color--neutral-50{color:var(--color-neutral-50)}.background-color--neutral-50{background-color:var(--color-neutral-50)}.border-color--neutral-50{border-color:var(--color-neutral-50)}.color--neutral-60{color:var(--color-neutral-60)}.background-color--neutral-60{background-color:var(--color-neutral-60)}.border-color--neutral-60{border-color:var(--color-neutral-60)}.color--neutral-70{color:var(--color-neutral-70)}.background-color--neutral-70{background-color:var(--color-neutral-70)}.border-color--neutral-70{border-color:var(--color-neutral-70)}.color--neutral-90{color:var(--color-neutral-90)}.background-color--neutral-90{background-color:var(--color-neutral-90)}.border-color--neutral-90{border-color:var(--color-neutral-90)}.color--white{color:var(--color-white)}.background-color--white{background-color:var(--color-white)}.border-color--white{border-color:var(--color-white)}.color--black{color:var(--color-black)}.background-color--black{background-color:var(--color-black)}.border-color--black{border-color:var(--color-black)}.color--success{color:var(--color-success)}.background-color--success{background-color:var(--color-success)}.border-color--success{border-color:var(--color-success)}.color--warning{color:var(--color-warning)}.background-color--warning{background-color:var(--color-warning)}.border-color--warning{border-color:var(--color-warning)}.color--error{color:var(--color-error)}.background-color--error{background-color:var(--color-error)}.border-color--error{border-color:var(--color-error)}.color--info{color:var(--color-info)}.background-color--info{background-color:var(--color-info)}.border-color--info{border-color:var(--color-info)}.background-color--malibu{background:var(--color-malibu)}*{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0;outline:none;padding:0}body{background-color:var(--color-white)}@keyframes react-loading-skeleton{to{transform:translateX(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;width:100%;z-index:1}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:linear-gradient(90deg,var(--base-color),var(--highlight-color),var(--base-color));background-repeat:no-repeat;content:\" \";display:var(--pseudo-element-display);height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}.myinterview-button{border:none;border-radius:10px;cursor:pointer;font-weight:700;height:45px;letter-spacing:1px}.myinterview-button:disabled{cursor:unset;opacity:.6;pointer-events:none}.myinterview-button--small{font-size:10px;height:35px;min-width:100px;padding:0 20px}.myinterview-button--medium{font-size:12px;height:45px;min-width:150px;padding:0 30px}.myinterview-button--large{font-size:16px;height:65px;min-width:180px;padding:0 45px}.dropdown{align-items:center;cursor:pointer;display:flex;font-size:14px;justify-content:space-between;padding:15px;white-space:nowrap}.dropdown--rtl{direction:rtl}.dropdown--rtl .dropdown__input{padding-left:30px;padding-right:15px}.dropdown--rtl .dropdown__arrow-wrapper,.dropdown--rtl .dropdown__clear-wrapper{margin-left:0;margin-right:5px}.dropdown--rtl .dropdown__item span{margin-left:5px;margin-right:0}.dropdown--rtl.dropdown--with-icon{padding-left:15px;padding-right:10px}.dropdown--rtl.dropdown--with-icon .dropdown__selected-item,.dropdown--rtl.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:0;padding-right:8px}.dropdown--standalone{border:.5px solid var(--color-neutral-30);border-radius:10px;border-width:.5px!important;height:50px;position:relative}.dropdown--with-icon{padding-left:10px}.dropdown--with-icon svg{height:22px}.dropdown--with-icon .dropdown__selected-item,.dropdown--with-icon .dropdown__selected-item--placeholder{padding-left:8px}.dropdown--opened{border-radius:10px 10px 0 0;box-shadow:0 0 10px -2px #0000001a}.dropdown--opened .dropdown__options{box-shadow:0 0 10px -2px #0000001a;visibility:visible}.dropdown--opened .dropdown__arrow-wrapper{transform:rotate(-180deg)}.dropdown--upside.dropdown--opened{border-radius:0 0 4px 4px;border-top:0}.dropdown--upside .dropdown__options{border-bottom:0;border-radius:10px 10px 0 0;border-top:.5px solid var(--color-neutral-30);bottom:auto;top:0;transform:translateY(-100%)}.dropdown__selected-item{flex:1;overflow:hidden;text-overflow:ellipsis}.dropdown__selected-item::selection{background-color:initial}.dropdown__selected-item--placeholder{opacity:.5}.dropdown__input{border:0;border-radius:10px;height:100%;left:0;opacity:0;padding:15px 30px 15px 15px;pointer-events:none;position:absolute;top:0;width:100%;z-index:0}.dropdown__input--searchable:focus{opacity:1}.dropdown__input--searchable:focus+.dropdown__selected-item{opacity:0!important}.dropdown__arrow-wrapper,.dropdown__clear-wrapper{align-items:center;display:flex;flex-shrink:0;justify-content:center;margin-left:5px;transition:.2s;width:1em}.dropdown__options{background-color:var(--color-white);border:.5px solid var(--color-neutral-30);border-radius:0 0 4px 4px;border-top:0;bottom:0;left:-.75px;list-style:none;margin:0;max-height:0;overflow:auto;padding:0;position:absolute;transform:translateY(100%);visibility:hidden;width:calc(100% + 1.25px)}.dropdown__item{cursor:pointer;max-width:100%;overflow:hidden;padding:15px;text-overflow:ellipsis}.dropdown__item:not(:last-child){border-bottom:.5px solid var(--color-neutral-30)}.dropdown__item--highlighted,.dropdown__item:hover{background-color:var(--color-primary);color:var(--color-white)}.dropdown__item span{margin-right:5px}.tag{background-color:#dde8f6;border-radius:3px;color:#4a90e2;display:inline-block;font-size:13px;font-weight:500;letter-spacing:.5px;margin:5px 8px 5px 0;padding:4px 11px;text-transform:capitalize}.myinterview-text--XS{font-size:12px;line-height:20px}.myinterview-text--S{font-size:14px;line-height:22px}.myinterview-text--M{font-size:16px;line-height:24px}.myinterview-text--L{font-size:18px;line-height:26px}.myinterview-text--H3{font-size:20px;line-height:28px}.myinterview-text--H2{font-size:24px;line-height:32px}.myinterview-text--H1{font-size:30px;line-height:38px}.myinterview-text--D3{font-size:38px;line-height:46px}.myinterview-text--D2{font-size:48px;line-height:54px}.myinterview-text--D1{font-size:56px;line-height:64px}.myinterview-text--regular{font-weight:400}.myinterview-text--semibold{font-weight:600}.myinterview-text--bold{font-weight:700}.myinterview-text--italic{font-style:italic}.myinterview-text--truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggle-switch{align-items:center;border-radius:99999px;cursor:pointer;display:flex;position:relative;transition:.2s}.toggle-switch__indicator{border-radius:50%;height:.65em;left:10%;position:absolute;transition:.2s;width:.65em}.toggle-switch__indicator--active{left:90%;transform:translateX(-100%)}.toggle-switch:active .toggle-switch__indicator{height:.5em;width:.5em}.toggle-text{align-items:center;cursor:pointer;display:flex;justify-content:center;width:fit-content}.toggle-text__arrow-wrapepr{align-items:center;display:flex;margin-left:5px;transition:.25s ease-in-out;width:1em}.toggle-text__arrow-wrapepr--opened{transform:rotate(-180deg)}.progress{align-items:center;border-radius:50%;display:flex;height:1em;justify-content:center;width:1em}.progress__fill{border-radius:50%;height:.7em;width:.7em}.input-text{display:flex;flex-direction:column;flex-grow:1}.input-text__field{border:.5px solid var(--color-neutral-30);border-radius:10px;font-size:14px;padding:14px 16px;width:100%}.input-text__field--with-icon{padding:14px 43px!important}.input-text__icon-container{margin:10px 12px;position:absolute}.input-text__icon-container i{vertical-align:-webkit-baseline-middle}.input-text__icon-container i svg{height:22px;width:22px}.input-text--error{border:1px solid var(--color-error)}.input-text__error-msg{color:var(--color-error);margin-top:3px}.dnd-wrapper{border:1px solid var(--color-neutral-30);border-radius:10px;height:50px;max-width:500px;padding:7px 10px;position:relative;transition:.3s ease-in-out;width:100%}.dnd-wrapper--rtl{direction:rtl}.dnd-wrapper--rtl .dnd-wrapper__placeholder{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__label .progress{margin-left:5px;margin-right:0}.dnd-wrapper--rtl .dnd-wrapper__text{margin-left:0;margin-right:5px}.dnd-wrapper--rtl .dnd-wrapper__icon--close{margin-left:0;margin-right:auto}.dnd-wrapper__placeholder{color:var(--color-neutral-50);font-size:14px;margin-left:5px}.dnd-wrapper__left-hand{align-items:flex-end;display:flex}.dnd-wrapper--scale{transform:scale(1.1)}.dnd-wrapper--border-solid{border:.5px solid var(--color-neutral-30)}.dnd-wrapper__label{align-items:center;display:flex;font-size:14px;height:100%;justify-content:center}.dnd-wrapper__label svg{height:16px;vertical-align:middle;width:16px}.dnd-wrapper__label--with-icon{justify-content:space-between}.dnd-wrapper__label--with-icon i{color:var(--color-neutral-60)}.dnd-wrapper__label--uploaded,.dnd-wrapper__label--uploading{justify-content:flex-start}.dnd-wrapper__label .progress{height:18px;margin-right:5px;width:18px}.dnd-wrapper__icon{align-items:center;display:flex}.dnd-wrapper__icon--clip{font-size:18px;transform:rotate(10deg) rotateX(180deg)}.dnd-wrapper__icon--close{cursor:pointer;margin-left:auto;z-index:10}.dnd-wrapper__text{margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd-wrapper__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.dnd-wrapper__input:disabled{cursor:auto}.myinterview-modal-wrapper{border-radius:4px;box-shadow:0 4px 6px -1px #00000014,0 2px 4px -1px #0000000f;left:50%;max-height:90vh;max-width:90vw;overflow:auto;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:30}.myinterview-modal-wrapper--fullscreen{border-radius:0;box-shadow:none;height:100vh;left:0;max-height:100vh;max-width:100vw;padding:0;top:0;transform:none;width:100vw}.myinterview-modal-wrapper__box{height:100%;max-height:100%;max-width:100%;overflow:auto;width:100%}.myinterview-modal-wrapper__close-btn{cursor:pointer;height:16px;position:absolute;right:20px;top:20px;width:16px}.myinterview-modal-wrapper-background{background-color:#0000001a;height:100vh;left:0;position:fixed;top:0;width:100vw}.phone-number{border:.5px solid var(--color-neutral-30);border-radius:10px;display:flex;position:relative}.phone-number--rtl{direction:rtl}.phone-number--rtl .input-text{direction:ltr}.phone-number--rtl .input-text input{text-align:end}.phone-number--rtl .dropdown{border-left:.5px solid var(--color-neutral-20);border-right:0!important}.phone-number--opened{border-radius:10px 10px 0 0!important}.phone-number--opened--up{border-radius:0 0 10px 10px!important}.phone-number .dropdown{border-right:.5px solid var(--color-neutral-20);padding:0 15px;width:75px}.phone-number .dropdown__selected-item{font-size:16px}.phone-number .dropdown--opened{border-radius:unset!important;box-shadow:unset!important}.phone-number .input-text{border:0;flex:1}.myinterview-logo-wrapper{max-height:400px}.myinterview-checkbox{align-items:center;border-radius:4px;border-style:solid;border-width:1px;display:flex;flex-shrink:0;justify-content:center;position:relative;transition:all .15s ease-out}.myinterview-checkbox__input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.myinterview-checkbox__checkmark{border-radius:50%;display:flex;height:100%;padding:2px;transform:scale(0);transition:.15s ease-out;width:100%}.myinterview-checkbox__checkmark--checked{border-radius:0;transform:scale(1)}.myinterview-checkbox__checkmark svg{height:100%;width:100%}.myinterview-widget-no-select{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.myinterview-widget-scroll-indicator::-webkit-scrollbar{display:initial!important;width:5px}.myinterview-widget-scroll-indicator::-webkit-scrollbar-thumb{background:var(--color-neutral-40)}@keyframes fade-in{0%{opacity:0}}:host{--myinterview-widget-dynamic-overflow:auto;--myinterview-widget-background-height:calc(40vh - 100px);--myinterview-widget-background-preview-display:none;--myinterview-widget-video-aspect-ratio:0.75;--myinterview-widget-camera-transform:translateZ(0) rotateY(180deg);--myinterview-widget-outer-width:530px;--myinterview-widget-recorder-border-radius:10px;--myinterview-widget-preview-video-border-radius:20px;--myinterview-background-opacity:0;--myinterview-widget-wrapper-padding:20px}@media (min-width:1200px){:host{--myinterview-widget-recorder-border-radius:20px;--myinterview-widget-preview-video-border-radius:10px;--myinterview-widget-video-aspect-ratio:1.77778;--myinterview-widget-wrapper-padding:10px}}.myinterview-widget{word-wrap:normal;--myinterview-widget-layout-top:0;--myinterview-widget-layout-right:0;--myinterview-widget-layout-bottom:0;--myinterview-widget-layout-left:0;border-collapse:initial;border-spacing:0;caption-side:top;cursor:auto;direction:ltr;empty-cells:show;font-size:1rem;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal;line-height:normal;list-style-image:none;list-style-position:outside;list-style-type:disc;orphans:2;quotes:initial;tab-size:8;text-align:initial;text-align-last:auto;text-decoration-color:initial;text-indent:0;text-justify:auto;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;widows:2;word-break:normal;word-spacing:normal}.myinterview-widget *,.myinterview-widget :after,.myinterview-widget :before{box-sizing:border-box;font-family:Nunito Sans,sans-serif;margin:0}.myinterview-widget__layout{background-color:var(--color-white);border-radius:0;bottom:0;display:flex;flex-direction:column;left:0;max-height:100%;padding:20px 20px 0;position:fixed;right:0;top:0;transform:translateZ(0);-webkit-transform:translateZ(0);z-index:2147483000}.myinterview-widget__layout--animated{animation:myinterview-widget-open .4s ease-out;-webkit-animation:myinterview-widget-open .4s ease-out;-moz-animation:myinterview-widget-open .4s ease-out;-o-animation:myinterview-widget-open .4s ease-out}.myinterview-widget__layout--minimized{animation:myinterview-widget-minimize .5s ease-in-out forwards;-webkit-animation:myinterview-widget-minimize .5s ease-in-out forwards;-moz-animation:myinterview-widget-minimize .5s ease-in-out forwards;-o-animation:myinterview-widget-minimize .5s ease-in-out forwards;overflow:hidden}.myinterview-widget__layout--minimized>*{opacity:0;transition:opacity .2s ease-out}@media (min-width:480px){.myinterview-widget__layout{display:grid;grid-template-columns:minmax(20px,1fr) minmax(auto,480px) minmax(20px,1fr);padding:20px 0 0}.myinterview-widget__layout>*{grid-column:2}.myinterview-widget__layout>.full{grid-column:1/-1;padding:0}}@media (min-width:1200px){.myinterview-widget__layout{grid-template-columns:10px 1fr 10px;padding:50px 0}}@keyframes myinterview-widget-open{0%{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;overflow:hidden;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top)}50%{background-color:var(--color-white)}}@keyframes myinterview-widget-minimize{90%{border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:1;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:2147483000}99%{opacity:0}to{background-color:var(--color-primary);border-radius:10px;bottom:var(--myinterview-widget-layout-bottom);left:var(--myinterview-widget-layout-left);min-height:45px;opacity:0;padding:0;right:var(--myinterview-widget-layout-right);top:var(--myinterview-widget-layout-top);z-index:-1}}.myinterview-widget-icons__play-button{cursor:pointer;position:relative}.myinterview-widget-icons__play-button svg{color:var(--color-primary)}.myinterview-widget-icons__play-button svg path{transition:d .4s ease-out;-webkit-transition:d .4s}.myinterview-widget-icons__play-button svg rect{transition:rx .4s;-webkit-transition:rx .4s}.myinterview-widget-icons__loading{background-color:currentColor;border-radius:50%;height:38px;overflow:hidden;position:relative;transform:translateZ(0);width:38px}.myinterview-widget-icons__loading:after{animation:slide 1s infinite;background:linear-gradient(to right,currentColor,var(--color-neutral-10),currentColor);content:\"\";height:100%;left:-50px;position:absolute;width:100%}.myinterview-widget-icons__no-camera-mic{align-items:center;background-color:#eff6fe;border-radius:50%;display:flex;height:80px;justify-content:center;position:relative;width:80px}.myinterview-widget-icons__no-camera-mic__camera,.myinterview-widget-icons__no-camera-mic__mic{align-items:center;border-radius:4px;display:flex;height:28px;justify-content:center;position:absolute;width:28px}.myinterview-widget-icons__no-camera-mic__camera svg,.myinterview-widget-icons__no-camera-mic__mic svg{height:20px;width:20px}.myinterview-widget-icons__no-camera-mic__camera{background-color:var(--color-primary);color:var(--color-white);transform:translate(-35%,-35%)}.myinterview-widget-icons__no-camera-mic__mic{background-color:var(--color-white);color:var(--color-primary);transform:translate(35%,35%)}.myinterview-widget__wrapper{-ms-overflow-style:none;display:flex;flex:1;flex-direction:column;overflow:hidden;position:relative;scrollbar-width:none}.myinterview-widget__wrapper ::-webkit-scrollbar,.myinterview-widget__wrapper::-webkit-scrollbar{display:none}.myinterview-widget__wrapper--hide-header .myinterview-widget-header{visibility:hidden}.myinterview-widget__background{background:linear-gradient(50.24deg,var(--color-primary) 0,var(--color-special) 75%);height:var(--myinterview-widget-background-height);left:0;opacity:var(--myinterview-background-opacity);overflow:hidden;position:absolute;top:0;transition:opacity .5s;width:100%}.myinterview-widget__background:before{border:6vh solid hsla(0,0%,100%,.267);border-radius:50%;content:\"\";height:30vh;position:absolute;right:0;top:0;transform:translate(50%,-50%);width:30vh}.myinterview-widget__background:after{background-color:var(--color-white);border-radius:20px 20px 0 0;bottom:0;content:\"\";display:var(--myinterview-widget-background-preview-display);height:20px;position:absolute;width:100%}@media (min-width:1200px){.myinterview-widget__background:after{display:none}.myinterview-widget__background{height:100vh;left:auto;right:0;width:calc(100% - var(--myinterview-widget-outer-width))}.myinterview-widget__background:before{border:12vh solid hsla(0,0%,100%,.267);height:70vh;width:70vh}}.myinterview-widget__watermark{display:none}@media (min-width:1200px){.myinterview-widget__watermark{bottom:20px;display:flex;height:64px;left:20px;position:absolute}}.myinterview-widget__background-dots{display:none}@media (min-width:1200px){.myinterview-widget__background-dots{background-image:radial-gradient(hsla(0,0%,100%,.467) 15%,#0000 0);background-position:0 0,50px 50px;background-size:20px 20px;bottom:0;display:flex;height:200px;position:absolute;right:0;width:200px}}.myinterview-widget__views{--myinterview-widget-views-margin-top:0px;--myinterview-widget-practice-opacity:1;-webkit-overflow-scrolling:touch;color:var(--color-primary);display:flex;flex:1;flex-direction:column;overflow-y:var(--myinterview-widget-dynamic-overflow);scroll-snap-type:y mandatory;z-index:20}.myinterview-widget__views--uploading{gap:0;justify-content:center;margin-bottom:30px}@media (min-width:1200px){.myinterview-widget__views{align-items:start;flex:initial;flex:1;flex-direction:row-reverse;gap:0;justify-content:flex-end;overflow:hidden;padding:0;scroll-snap-type:none}.myinterview-widget__views--uploading{margin-bottom:0}}.myinterview-widget__views--rtl .myinterview-widget--rtl-support{direction:rtl}.myinterview-widget-recording-action-button{margin-bottom:20px;min-height:45px;position:relative;scroll-snap-align:end;z-index:1}@media (min-width:1200px){.myinterview-widget-recording-action-button{display:none}}.myinterview-widget-recording-action-button--video-question:disabled{display:none!important}.myinterview-widget-recording-action-button--stop-recording{border:1px solid var(--color-neutral-40)!important}@media (min-width:1200px){.myinterview-widget-recording-action-button--stop-recording{border:none!important}}.myinterview-widget-rotate-screen{align-items:center;animation:fade-in .3s;background-color:var(--color-white);display:none;height:100%;justify-content:center;left:0;padding:20px!important;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-rotate-screen svg{flex:0;margin-right:40px;min-width:120px}@media screen and (orientation:landscape){.myinterview-widget-rotate-screen{display:flex}}.myinterview-widget-unsupported-modal{align-items:center;background-color:var(--color-white);display:flex;height:100%;justify-content:center;left:0;padding:20px;position:absolute;top:0;width:100%;z-index:400}.myinterview-widget-unsupported-modal__message{text-align:center}.myinterview-widget-minimize{color:var(--color-white);cursor:pointer;display:none;height:20px;position:fixed;right:30px;top:30px;width:20px;z-index:50}@media (min-width:1024px){.myinterview-widget-minimize{display:flex}}.myinterview-widget-header{display:flex;flex-wrap:wrap;gap:18px;height:fit-content;margin:0 0 20px;max-height:112px;max-width:100%;overflow:hidden;transition:all .2s}.myinterview-widget-header--hidden{height:0;margin:0;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header--hidden{height:fit-content;margin:0 0 20px}}.myinterview-widget-header__logo{height:48px}.myinterview-widget-header__logo img{flex-shrink:1;max-height:100%;max-width:100%;object-fit:contain;overflow:hidden}.myinterview-widget-header__details-wrapper{display:flex;flex-direction:column;flex-shrink:0;justify-content:center;letter-spacing:.2px;max-width:100%;min-width:60%;overflow:hidden}@media (min-width:1200px){.myinterview-widget-header{display:none;max-width:var(--myinterview-widget-outer-width);overflow:visible;padding-left:20px}.myinterview-widget-header__company-name{color:var(--color-neutral-50)}.myinterview-widget-header__job-title{color:var(--color-neutral-90)}}.myinterview-widget-header--desktop-layout{display:none}@media (min-width:1200px){.myinterview-widget-header--desktop-layout{display:flex;min-height:48px}}.myinterview-widget-inner{align-items:center;display:flex;flex-direction:column;margin-bottom:20px;min-height:min((100vw - 40px) * 1/var(--myinterview-widget-video-aspect-ratio),480px * 1/var(--myinterview-widget-video-aspect-ratio));position:relative;scroll-snap-align:start;z-index:1}.myinterview-widget-inner--no-snap{scroll-snap-align:none}@media (min-width:1200px){.myinterview-widget-inner{background-color:var(--color-white);border-radius:var(--myinterview-widget-recorder-border-radius);box-shadow:0 4px 14px -2px #00000026;height:calc((100vw - 20px - var(--myinterview-widget-outer-width))*9/16);margin:auto;max-height:440px;max-width:782.2222222222px;min-height:auto;overflow:hidden;width:100%}}.myinterview-widget-inner--hidden{max-height:0;min-height:0;overflow:hidden;visibility:hidden}.myinterview-widget-inner--welcome-hidden{aspect-ratio:16/9;visibility:hidden;width:100%}.myinterview-widget-inner__content{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-height:100%;max-width:fit-content;min-height:200px;min-width:200px;overflow:hidden;position:sticky;top:0}.myinterview-widget-inner__content--full-width{min-width:100%}@media (min-width:1200px){.myinterview-widget-inner__content{height:100%;max-width:100%;position:relative;width:100%}}.myinterview-widget-inner__content--error{display:flex;flex:1;flex-direction:column;height:calc(100% - var(--myinterview-widget-views-margin-top));max-width:100%;min-height:fit-content;width:100%}.myinterview-widget-inner .myinterview-widget-explanation{align-items:center;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex-direction:column;height:100%;justify-content:center;padding:20px;position:absolute;text-align:center;white-space:pre-line;width:100%;z-index:1}.myinterview-widget-inner .myinterview-widget-explanation .myinterview-widget-question__question-parameters{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-explanation__main{margin-bottom:15px;max-width:50ch}.myinterview-widget-inner .myinterview-widget-explanation__header{margin-bottom:15px}.myinterview-widget-inner .myinterview-widget-times-up{align-items:center;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;gap:10px;justify-content:center;padding:20px;text-align:center}.myinterview-widget-inner .myinterview-widget-times-up__button{margin-top:50px}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-times-up__button,.myinterview-widget-inner .myinterview-widget-times-up__title{margin-top:auto}}.myinterview-widget-inner .myinterview-widget-recording-action-button{display:none}@media (min-width:1200px){.myinterview-widget-inner .myinterview-widget-recording-action-button{bottom:20px;display:block;left:50%;margin:0;position:absolute;transform:translate(-50%);white-space:nowrap;width:fit-content;z-index:20}}.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-height:fit-content;min-width:100%}.myinterview-widget-inner--video-question-state .myinterview-widget-inner__content,.myinterview-widget-inner--welcome-page-state .myinterview-widget-inner__content{aspect-ratio:auto;height:auto}@media (min-width:1200px){.myinterview-widget-inner--video-question-state,.myinterview-widget-inner--welcome-page-state{min-width:auto}.myinterview-widget-inner--video-question-state .myinterview-widget-recording-action-button,.myinterview-widget-inner--welcome-page-state .myinterview-widget-recording-action-button{bottom:70px}}.myinterview-widget-inner--full{flex:1;scroll-snap-align:none}.myinterview-widget-inner--full .myinterview-widget-inner__content{flex:1;height:max-content;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-inner--full{flex:auto}}.myinterview-widget-outer{border-radius:10px;display:flex;flex-direction:column;padding-bottom:20px;scroll-snap-align:end}.myinterview-widget-outer--no-snap{scroll-snap-align:none}.myinterview-widget-outer--hidden{display:none}.myinterview-widget-outer--uploading{flex:0;padding:0}@media (min-width:1200px){.myinterview-widget-outer{background-color:initial;flex:none;height:100%;padding:0 20px 0 0!important;width:var(--myinterview-widget-outer-width)}.myinterview-widget-outer>*{padding:0 20px}.myinterview-widget-outer--hidden{display:flex}.myinterview-widget-outer--uploading{padding:0}}.myinterview-widget-outer .myinterview-widget-question{background-color:#fffffff2;border-radius:10px;margin:0 auto;transition:opacity .25s;width:100%}@media (min-width:1200px){.myinterview-widget-outer .myinterview-widget-question{padding:40px 20px 0}.myinterview-widget-outer .myinterview-widget-question__question{font-size:26px;line-height:36px}}.myinterview-widget-outer--hide-question .myinterview-widget-question{display:none}.myinterview-widget-outer__setup{display:flex;flex:1;flex-direction:column}.myinterview-widget-outer__title{margin-bottom:15px}.myinterview-widget-outer__mode-wrapper{background-color:var(--color-white);bottom:0;display:flex;justify-content:space-around;margin-top:15px;padding:10px 0;position:sticky}.myinterview-widget-outer__mode-wrapper:before{background-color:var(--color-white);content:\"\";height:40px;left:0;mask-image:linear-gradient(#0000,var(--color-black));-webkit-mask-image:linear-gradient(#0000,var(--color-black));mask-mode:alpha;position:absolute;top:0;transform:translateY(-100%);width:100%}@media (min-width:1200px){.myinterview-widget-outer__mode-wrapper{background-color:initial;flex-direction:column;justify-content:flex-start;padding:0;position:static;width:65%}.myinterview-widget-outer__mode-wrapper:after,.myinterview-widget-outer__mode-wrapper:before{display:none}}.myinterview-widget-outer__mode-button{letter-spacing:.5px;max-width:42%!important;min-width:100px!important;padding:0 15px!important;width:150px!important}.myinterview-widget-outer__mode-button--start{border:1px solid!important}.myinterview-widget-outer__mode-button--single{background-color:var(--color-special);color:var(--color-white);max-width:100%!important;width:100%!important}@media (min-width:1200px){.myinterview-widget-outer__mode-button{max-width:100%!important;min-width:150px!important;width:100%!important}.myinterview-widget-outer__mode-button:first-child{margin-bottom:20px}}.myinterview-widget-outer__practice-mode-info{margin-bottom:20px}.myinterview-widget-outer .myinterview-widget__countdown-mobile{display:none}.myinterview-widget-video-camera{border-radius:var(--myinterview-widget-recorder-border-radius);display:flex;flex:1;flex-direction:column;max-height:100%;position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-video-camera{transform:translateZ(0) scale(1.005)}}.myinterview-widget-video-camera--hidden{display:none}.myinterview-widget-video-camera video{border-radius:var(--myinterview-widget-recorder-border-radius);object-fit:contain;overflow:hidden;transform:var(--myinterview-widget-camera-transform);-webkit-transform:var(--myinterview-widget-camera-transform);width:100%}.myinterview-widget-video-camera__recording-without-video{align-items:center;background-color:#fff;display:flex;height:100%;justify-content:center}.myinterview-widget-video-camera__recording-without-video svg{height:45px;width:45px}.myinterview-widget-video-camera__recording-counter-wrapper{align-self:center;position:absolute;top:var(--myinterview-widget-wrapper-padding);width:70px;z-index:2}.myinterview-widget-video-camera__permissions{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);color:var(--color-neutral-90);display:flex;height:100%;justify-content:center;padding:20px;position:absolute;width:100%;z-index:21}.myinterview-widget-video-camera__permissions-close{cursor:pointer;left:25px;position:absolute;top:25px;width:20px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{align-items:center;background-color:var(--color-primary);border-radius:50%;bottom:18px;color:var(--color-white);display:flex;height:40px;isolation:isolate;justify-content:center;left:18px;padding:10px;position:absolute;width:40px}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator--hidden{visibility:hidden}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__microphone-indicator{bottom:25px;left:25px}}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator:after{background:radial-gradient(#0000 40%,var(--color-primary) 90%);border-radius:50%;content:\"\";height:100%;position:absolute;transform:scale(var(--myinterview-widget-voice-level));transform-origin:center;width:100%;will-change:transform;z-index:-1}.myinterview-widget-video-camera .myinterview-widget__microphone-indicator svg{height:100%;width:100%}.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:var(--myinterview-widget-practice-opacity);position:absolute;right:10px;top:10px;transition:opacity .3s}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__practice-mode{opacity:1;right:25px;top:25px}}.myinterview-widget-video-camera .myinterview-widget__question-number{left:var(--myinterview-widget-wrapper-padding);top:var(--myinterview-widget-wrapper-padding);z-index:25}@media (min-width:1200px){.myinterview-widget-video-camera .myinterview-widget__question-number{letter-spacing:.5px}}.myinterview-widget-video-camera .myinterview-widget__countdown-desktop{display:none}.myinterview-widget-video-camera__watermark{height:50px;left:15px;opacity:.5;position:absolute;top:15px;width:120px}@media (min-width:1200px){.myinterview-widget-video-camera__watermark{left:25px;top:25px}}.myinterview-widget-recorder-modal{align-items:center;animation:fade-in .5s;background-color:#fffffff2;border-radius:var(--myinterview-widget-recorder-border-radius);bottom:0;color:var(--color-neutral-90);display:flex;filter:drop-shadow(0 0 0 rgba(0,0,0,.2));justify-content:center;left:0;min-height:100%;overflow:hidden;padding:var(--myinterview-widget-wrapper-padding);position:absolute;right:0;text-align:center;top:0;z-index:20}.myinterview-widget-recorder-modal__content-wrapper{align-items:center;display:flex;flex-direction:column;gap:5px;letter-spacing:.5px}@media (min-width:1200px){.myinterview-widget-recorder-modal__content-wrapper{max-width:700px}}.myinterview-widget-recorder-modal__question{max-width:100%;overflow:hidden;overflow-wrap:break-word;text-align:start}@media (min-width:1200px){.myinterview-widget-recorder-modal__question{text-align:center}.myinterview-widget-recorder-modal__question .myinterview-widget__question-duration{justify-content:center}}.myinterview-widget-checks{display:flex;flex-direction:column}.myinterview-widget-checks__item{align-items:center;display:flex;gap:20px;margin-bottom:20px}.myinterview-widget-checks__icon{align-items:center;display:flex;height:100%;justify-content:center;width:40px}.myinterview-widget-checks__text-wrapper{display:flex;flex-direction:column}.myinterview-widget-checks__retry{background-color:initial;border:0;cursor:pointer;margin-left:10px;text-decoration:underline}.myinterview-widget-preview__container{background-color:var(--color-white);display:flex;flex-direction:column;min-height:100%;padding-top:var(--myinterview-widget-wrapper-padding);position:relative;width:100%}@media (min-width:1200px){.myinterview-widget-preview__container{max-height:100%;padding:var(--myinterview-widget-wrapper-padding)}}.myinterview-widget-preview__container .myinterview-widget__question-number{margin-bottom:var(--myinterview-widget-wrapper-padding);position:relative}.myinterview-widget-preview__container .myinterview-widget-errors{animation:fade-in .3s;background-color:var(--color-white);bottom:0;left:0;padding:20px;position:absolute;right:0;text-align:center;top:0;transform:translateZ(150px);-webkit-transform:translateZ(150px);z-index:150}.myinterview-widget-preview__title{margin-bottom:30px;text-align:center}@media (min-width:1200px){.myinterview-widget-preview__title{color:var(--color-neutral-90);margin-bottom:12px}}.myinterview-widget-preview__background{animation:background-fade-in .3s ease-out;background-color:#000000e6;height:100%;isolation:isolate;left:0;position:fixed;top:0;transform:translateZ(150px);width:100%;z-index:150}@keyframes background-fade-in{0%{background-color:#0000;transform:translateZ(-2px);z-index:-2}}.myinterview-widget-preview__close{background-color:var(--color-neutral-60);border-radius:2.5rem;bottom:1vh;left:50%;padding:3px 8px;pointer-events:none;position:absolute;transform:translateX(-50%)}.myinterview-widget-preview__main{animation:fade-in .5s;display:flex;height:350px;margin:auto;overflow:hidden;position:relative;touch-action:pan-y;width:100%;z-index:1}.myinterview-widget-preview__items-wrapper{--myinterview-widget-preview-transform-x:0;--myinterview-widget-preview-item-transition:0ms;--myinterview-widget-item-width:100%;box-sizing:initial;display:flex;margin-bottom:10px;position:relative;transition-duration:0ms;transition-property:transform;width:100%;z-index:2}.myinterview-widget-preview__items-wrapper--centered{justify-content:center}.myinterview-widget-preview__item{display:flex;flex-direction:column;flex-shrink:0;height:100%;justify-content:center;padding:2%;position:relative;transition:transform var(--myinterview-widget-preview-item-transition);width:var(--myinterview-widget-item-width);z-index:1}.myinterview-widget-preview__item--current{z-index:2}.myinterview-widget-preview__item--single-take{flex:1;max-width:50%}.myinterview-widget-preview__video-wrapper{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);display:flex;margin:0 auto;opacity:1;overflow:hidden;position:relative;transition-delay:.29s;z-index:3}.myinterview-widget-preview__video-wrapper--mobile{aspect-ratio:var(--myinterview-widget-video-aspect-ratio);height:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper{border-radius:var(--myinterview-widget-preview-video-border-radius);margin:0}}.myinterview-widget-preview__video-wrapper:before{background-color:rgba(0,0,0,.267);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;left:0;pointer-events:none;position:absolute;top:0;transform:translateZ(1px);transition:background-color .3s;width:100%;z-index:1}.myinterview-widget-preview__video-wrapper--current:before,.myinterview-widget-preview__video-wrapper--preview:before,.myinterview-widget-preview__video-wrapper:hover:before{background-color:#0000;pointer-events:none}.myinterview-widget-preview__video-wrapper--preview-mobile{opacity:0}.myinterview-widget-preview__video-wrapper:after{border:0 solid var(--color-primary);border-radius:var(--myinterview-widget-preview-video-border-radius);content:\"\";height:100%;pointer-events:none;position:absolute;transition:.15s;width:100%}@media (min-width:1200px){.myinterview-widget-preview__video-wrapper:after{border-radius:var(--myinterview-widget-preview-video-border-radius)}}.myinterview-widget-preview__video-wrapper--selected:before{background-color:#0000;z-index:-1}.myinterview-widget-preview__video-wrapper--selected:after{border:3px solid var(--color-primary)}.myinterview-widget-preview__video{cursor:pointer;transform:translateZ(0);-webkit-transform:translateZ(0);width:100%}.myinterview-widget-preview__dynamic-video{--myinterview-preview-video-top:50%;--myinterview-preview-video-left:50%;--myinterview-preview-video-width:0%;--myinterview-preview-video-height:0%;border-radius:var(--myinterview-widget-preview-video-border-radius);height:var(--myinterview-preview-video-height);left:var(--myinterview-preview-video-left);position:fixed;top:var(--myinterview-preview-video-top);transform:translateZ(-1px);transition:all .3s ease-out;transition-delay:.01s;visibility:hidden;width:var(--myinterview-preview-video-width);z-index:-1}.myinterview-widget-preview__dynamic-video--preview{border-radius:0;height:100%;left:0;max-height:70vh;top:46%;transform:translate3d(0,-50%,200px);visibility:visible;width:100%;z-index:200}.myinterview-widget-preview__number-wrapper{align-items:center;cursor:pointer;display:flex;gap:5px;margin:7px auto 0;position:relative;width:fit-content}@media (min-width:1200px){.myinterview-widget-preview__number-wrapper{margin:7px 0 0}}.myinterview-widget-preview__selected-check-mark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;height:20px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:20px}.myinterview-widget-preview__selected-check-mark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-preview__selected-check-mark--selected{border:1px solid var(--color-primary)}.myinterview-widget-preview__selected-check-mark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-preview__dots-wrapper{align-items:center;display:flex;height:20px;justify-content:center;width:100%}.myinterview-widget-preview__dot{background-color:var(--color-neutral-20);border-radius:50%;cursor:pointer;height:10px;margin:0 7px;position:relative;transition:.3s ease-out;width:10px}.myinterview-widget-preview__dot--selected{background-color:var(--color-primary);cursor:auto;transform:scale(1.5);-webkit-transform:scale(1.5)}.myinterview-widget-preview__play-container{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.myinterview-widget-preview__play-button-wrapper{left:50%;top:50%;transform:translateZ(1px);transition:opacity .3s;width:60px}@media (min-width:1200px){.myinterview-widget-preview__play-button-wrapper{max-width:76px;width:25%}}.myinterview-widget-preview__horizontal-line{display:none}@media (min-width:1200px){.myinterview-widget-preview__horizontal-line{background-color:#bdbdbd;display:block;height:1px;margin:15px auto;width:50%}}.myinterview-widget-preview__preview-buttons{align-items:center;display:flex;flex-direction:column;gap:20px;margin-bottom:10px;margin-top:33px;max-width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons{gap:10px;margin-top:auto}}.myinterview-widget-preview__preview-buttons-top{display:flex;gap:10px;justify-content:space-evenly;max-width:100%;width:100%}@media (min-width:1200px){.myinterview-widget-preview__preview-buttons-top{justify-content:center;width:auto}}.myinterview-widget-preview__preview-button{max-width:45%;min-width:100px;width:150px}.myinterview-widget-preview__preview-button--retake{align-items:center;border:1px solid var(--color-neutral-30);display:flex;justify-content:center;max-width:100%}.myinterview-widget-preview__preview-button--start-interview{background-color:initial;color:var(--color-primary);font-size:13px;max-height:30px;max-width:max-content;padding:0;width:max-content}@media (min-width:1200px){.myinterview-widget-preview__preview-button{flex:1;max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-wrapper{max-width:45%;min-width:100px;text-align:center;width:150px}@media (min-width:1200px){.myinterview-widget-preview__retakes-wrapper{max-height:42px;min-width:150px}}.myinterview-widget-preview__retakes-left{color:var(--color-neutral-60)}.myinterview-widget-preview__arrow{align-items:center;animation:fade-in .3s;display:flex;height:100%;justify-content:center;min-width:40px;position:absolute;right:0;z-index:5}@media (min-width:1200px){.myinterview-widget-preview__arrow{min-width:4%}.myinterview-widget-preview__arrow:before{background-color:#fff;content:\"\";height:100%;left:0;mask-image:linear-gradient(to right,#0000,var(--color-black));-webkit-mask-image:linear-gradient(to right,#0000,var(--color-black));position:absolute;transform:translateX(5px);width:100%}}.myinterview-widget-preview__arrow--prev{left:0;right:auto;transform:translateZ(5px) rotateY(180deg)}@media (min-width:1200px){.myinterview-widget-preview__arrow--prev{transform:translateZ(5px) rotateY(180deg)}}.myinterview-widget-preview__arrow-icon-wrapper{align-items:center;background-color:var(--color-white);border:1px solid var(--color-neutral-30);border-radius:50%;color:var(--color-neutral-90);cursor:pointer;display:flex;height:36px;justify-content:center;position:relative;transform:translateY(-11px);width:36px}@media (min-width:1200px){.myinterview-widget-preview__arrow-icon-wrapper{box-shadow:0 4px 30px #00000026}}.myinterview-widget-video-question{aspect-ratio:16/9;background-color:var(--color-black);border-radius:var(--myinterview-widget-recorder-border-radius);height:fit-content;isolation:isolate;margin:auto;overflow:hidden;position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-video-question{height:100%}}.myinterview-widget-video-question--hidden{position:absolute;visibility:hidden;z-index:-1}.myinterview-widget-video-question--loading{background-color:hsla(0,0%,100%,.467)}.myinterview-widget-video-question--loading:before{animation:slide 1.5s infinite;background:linear-gradient(to right,#0000,var(--color-neutral-10),#0000);content:\"\";height:100%;left:-100%;position:absolute;top:0;width:100%;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question--loading{background-color:#ccd7f5}}.myinterview-widget-video-question:after{content:\"\";height:100%;left:0;position:absolute;top:0;width:100%}.myinterview-widget-video-question--done:after{background-color:var(--color-black)}.myinterview-widget-video-question__play-button-wrapper{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);transition:transform .2s ease-out,opacity .3s ease-out;width:clamp(50px,15vw,76px);z-index:1}.myinterview-widget-video-question__play-button-wrapper--hidden{opacity:0;pointer-events:none;touch-action:none;transform:translate(-50%,-50%) scale(1.3);-webkit-transform:translate(-50%,-50%) scale(1.3)}.myinterview-widget-video-question__controls{align-items:center;bottom:0;display:flex;justify-content:center;left:0;margin:10px 12px;position:absolute;right:0;transition:opacity .2s,transform .2s;z-index:1}.myinterview-widget-video-question__controls--inactive{opacity:0;pointer-events:none;touch-action:none;transform:translateY(25%)}.myinterview-widget-video-question__controls>:not(:last-child){margin-right:15px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button{min-width:40px;width:50px}.myinterview-widget-video-question__controls .myinterview-widget-video-question__control-play-button .myinterview-widget-icons svg{color:var(--color-white)}.myinterview-widget-video-question__timebar-counter-wrapper{width:100%}.myinterview-widget-video-question__counter-wrapper{-webkit-text-stroke-width:.5px;-webkit-text-stroke-color:var(--color-neutral-90);color:var(--color-white);font-size:13px;font-weight:700}.myinterview-widget-video-question__time-bar{background-color:hsla(0,0%,100%,.467);border-radius:2.5rem;cursor:pointer;height:10px;margin-bottom:5px;position:relative;width:100%}.myinterview-widget-video-question__time-bar--disabled{cursor:auto;pointer-events:none}.myinterview-widget-video-question__time-bar:before{content:\"\";height:30px;left:0;position:absolute;top:0;transform:translateY(-30%);width:100%}@media (min-width:1200px){.myinterview-widget-video-question__time-bar:before{display:none}}.myinterview-widget-video-question__time-bar-progress{background-color:var(--color-primary);border-radius:2.5rem;height:100%;position:absolute;transition:width .25s linear}.myinterview-widget-video-question__time-bar-progress:after{background-color:var(--color-primary);border-radius:50%;content:\"\";height:15px;left:100%;pointer-events:none;position:absolute;top:50%;touch-action:none;transform:translate(-50%,-50%);width:15px}.myinterview-widget-video-question__time-bar-progress--changing{transition:none}.myinterview-widget-video-question__time-bar-progress--unchangeable{cursor:auto}.myinterview-widget-video-question__time-bar-progress--unchangeable:after{display:none}.myinterview-widget-video-question__retry-button{margin-top:20px;width:100%;z-index:2}.myinterview-widget-video-question__retry-button--hidden{position:absolute;visibility:hidden;z-index:-1}@media (min-width:1200px){.myinterview-widget-video-question__retry-button{bottom:70px;left:50%;margin:0 auto;position:absolute;transform:translateX(-50%);width:fit-content}}@keyframes slide{50%{opacity:.9}to{left:100%;opacity:1}}.myinterview-widget-device{align-items:center;background-color:var(--color-white);border-radius:50%;color:var(--color-neutral-90);display:flex;height:40px;justify-content:center;position:absolute;right:18px;width:40px}.myinterview-widget-device__mobile{bottom:18px}.myinterview-widget-device__desktop{right:18px;top:18px;z-index:30}@media (min-width:1200px){.myinterview-widget-device__desktop{right:25px;top:25px}}.myinterview-widget-device__menu-button{align-items:center;background-color:initial;border:none;border-radius:50%;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.myinterview-widget-device__modal{--myinterview-widget-select-device-height:48px;background-color:var(--color-white);border-radius:20px;bottom:-15px;box-shadow:0 2px 12px -4px #0000001a;max-width:400px;min-width:300px;position:absolute;right:-12px;transform:translateY(100%)}.myinterview-widget-device__modal:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:20px;position:absolute;right:22px;top:-8px;transform:rotate(45deg);width:20px}.myinterview-widget-device__select-wrapper{display:flex;flex-direction:column;overflow:hidden;padding:20px}.myinterview-widget-device__select-group{display:flex;flex-direction:column}.myinterview-widget-device__select-group:not(:last-child):after{background-color:var(--color-neutral-20);content:\"\";height:1px;margin:10px 0;width:100%}.myinterview-widget-device__selected-device{cursor:pointer;display:flex;height:var(--myinterview-widget-select-device-height);width:100%}.myinterview-widget-device__select-icon{align-items:center;display:flex;min-width:40px}.myinterview-widget-device__select-icon svg{height:20px;width:20px}.myinterview-widget-device__selected-title-wrapper{flex:1;overflow:hidden;padding-right:23px}.myinterview-widget-device__selected-title{line-height:var(--myinterview-widget-select-device-height)!important;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.myinterview-widget-device__arrow{align-items:center;display:flex;margin-left:auto;transform:rotate(0);transition:.2s}.myinterview-widget-device__arrow--open{transform:rotate(-180deg)}.myinterview-widget-device__select-list{display:flex;flex-direction:column;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.myinterview-widget-device__select-list--open{max-height:calc(var(--myinterview-widget-select-device-height)*2);overflow:auto;transition:max-height .2s ease-in}.myinterview-widget-device__select-option{border-radius:4px;cursor:pointer;line-height:var(--myinterview-widget-select-device-height)!important;min-height:var(--myinterview-widget-select-device-height);overflow:hidden;padding:0 40px;text-overflow:ellipsis;white-space:nowrap}.myinterview-widget-device__select-option--selected,.myinterview-widget-device__select-option:hover{color:var(--color-primary)!important}.myinterview-widget-device__select-option--selected{background-color:rgba(90,164,245,.051)!important}.myinterview-widget__countdown-mobile{align-items:center;background-color:var(--color-white);border-radius:2.5rem;display:flex;height:25px;left:50%;padding:6px 10px;position:absolute;top:var(--myinterview-widget-wrapper-padding);transform:translateX(-50%);z-index:30}.myinterview-widget__countdown-mobile--red{color:var(--color-error)}@media (min-width:1200px){.myinterview-widget__countdown-mobile[hidden]{display:none}}.myinterview-widget__countdown-desktop{display:none}@media (min-width:1200px){.myinterview-widget__countdown-desktop{--myinterview-widget-p:100;--myinterview-widget-b:5px;--myinterview-widget-w:160px;align-items:center;display:flex;height:var(--myinterview-widget-w);justify-content:center;margin:auto;padding:0;position:relative;transform:rotateY(180deg);width:var(--myinterview-widget-w)}.myinterview-widget__countdown-desktop:after,.myinterview-widget__countdown-desktop:before{border-radius:50%;content:\"\";position:absolute}.myinterview-widget__countdown-desktop:before{background:radial-gradient(farthest-side,var(--color-primary) 100%,#0000) top/var(--myinterview-widget-b) var(--myinterview-widget-b) no-repeat,conic-gradient(var(--color-primary) calc((var(--myinterview-widget-p))*1%),#0000 0);inset:0;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));mask:radial-gradient(farthest-side,#0000 calc(100% - var(--myinterview-widget-b)),#000 calc(100% - var(--myinterview-widget-b)));transition:all 1s}.myinterview-widget__countdown-desktop:after{background:var(--color-primary);inset:calc(50% - var(--myinterview-widget-b)/2);transform:rotate(calc(var(--myinterview-widget-p)*3.6deg)) translateY(calc(50% - var(--myinterview-widget-w)/2))}.myinterview-widget__countdown-desktop[hidden]{display:none}}.myinterview-widget__countdown-desktop .myinterview-widget__countdown-desktop-text{align-items:center;border:var(--myinterview-widget-b) solid #edf6fe;border-radius:50%;display:flex;height:100%;justify-content:center;position:absolute;transform:rotateY(180deg);width:100%;z-index:-1}.myinterview-widget-counter{align-items:center;background-color:var(--color-white);border-radius:2.5rem;color:var(--color-neutral-90);display:flex;gap:5px;height:25px;justify-content:center}.myinterview-widget-counter__dot{background-color:var(--color-error);border-radius:50%;height:10px;width:10px}.myinterview-widget-counter__clock{display:flex}.myinterview-widget-counter__timer{transition:color .25s}.myinterview-widget-counter__timer--red{color:#f45b2b}.myinterview-widget-loader{-webkit-animation:fade 1.6s infinite;-moz-animation:fade 1.6s infinite;-o-animation:fade 1.6s infinite;animation:fade 1.6s infinite;margin:auto;width:80px}@keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-o-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-moz-keyframes fade{0%,to{opacity:0}50%{opacity:1}}@-webkit-keyframes fade{0%,to{opacity:0}50%{opacity:1}}.myinterview-widget-error{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto}.myinterview-widget-error__message{margin-bottom:10px}.myinterview-widget-errors{align-items:center;display:flex;flex-direction:column;justify-content:center}.myinterview-widget-errors__icon{margin-bottom:15px}.myinterview-widget-errors__details,.myinterview-widget-errors__title{margin-bottom:5px}.myinterview-widget-errors__cta{cursor:pointer;margin-bottom:5px;position:relative;text-decoration:underline}.myinterview-widget-errors__cta .myinterview-widget-select-native{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.myinterview-widget-errors__cta--secondary{text-transform:capitalize}.myinterview-widget-slider-modal{animation:close-modal .3s forwards;bottom:0;height:100vh;height:-moz-available;height:-webkit-fill-available;height:stretch;left:0;min-height:100vh;min-height:-moz-available;min-height:-webkit-fill-available;min-height:stretch;overflow:hidden;position:fixed;width:100vw;z-index:50}.myinterview-widget-slider-modal__wrapper{-webkit-overflow-scrolling:touch;height:100%;overflow-y:auto;scroll-snap-type:y mandatory;width:100%}.myinterview-widget-slider-modal__top{min-height:100%;scroll-snap-align:start;touch-action:none}.myinterview-widget-slider-modal__bottom{background-color:var(--color-white);border-radius:20px 20px 0 0;display:flex;flex-direction:column;height:10%;isolation:isolate;min-height:10%;overflow:hidden;position:relative;scroll-snap-align:end;transition:min-height .5s,height .5s;visibility:hidden}.myinterview-widget-slider-modal__pill{background-color:var(--color-neutral-30);border-radius:2.5rem;margin:20px auto 32px;min-height:4px;width:60px}.myinterview-widget-slider-modal--open{animation:none;background-color:#0009;visibility:visible}.myinterview-widget-slider-modal--open .myinterview-widget-slider-modal__bottom{height:80%;min-height:80%;visibility:visible}@keyframes close-modal{0%{background-color:#0009}to{background-color:#0000;visibility:hidden}}.myinterview-widget-permissions__wrapper{display:flex;flex:1;flex-direction:column;margin:0 auto;max-height:100%;max-width:480px;overflow:auto;padding:0 20px 20px;width:100%}@media (min-width:1200px){.myinterview-widget-permissions__wrapper{padding:0 20px}}.myinterview-widget-permissions__icon-wrapper{align-items:center;background-color:#eff6fe;border-radius:50%;color:var(--color-primary);display:flex;justify-content:center;margin:0 auto 20px;min-height:70px;min-width:70px}.myinterview-widget-permissions__icon-wrapper svg{height:32px;width:32px}@media (min-width:1200px){.myinterview-widget-permissions__icon-wrapper{display:none!important}}.myinterview-widget-permissions__title{margin-bottom:20px;text-align:center}@media (min-width:1200px){.myinterview-widget-permissions__title{margin-bottom:15px}}.myinterview-widget-permissions__sub-title{margin-bottom:10px}.myinterview-widget-permissions__steps-wrapper{margin-bottom:15px;padding:0 20px}.myinterview-widget-permissions__step{font-size:14px;list-style:decimal;margin-bottom:10px}.myinterview-widget-permissions__step .text--bold{font-weight:700}.myinterview-widget-permissions__step .safari__key{background-color:var(--color-neutral-20);border-radius:2px;padding:2px 4px}.myinterview-widget-permissions__button{margin-top:auto;min-height:45px}.myinterview-widget-question{margin-bottom:10px;position:relative}.myinterview-widget-question>*{position:relative;z-index:1}.myinterview-widget-question__question{letter-spacing:.5px;margin-bottom:6px}.myinterview-widget-question__description{letter-spacing:.5px}.myinterview-widget-question__question-parameters{align-items:center;display:inline-flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.myinterview-widget-question__question-parameters>*{white-space:nowrap}.myinterview-widget-questions-list{display:none}@media (min-width:1200px){.myinterview-widget-questions-list{display:flex;flex-direction:column;overflow-y:auto;padding:0;position:relative}.myinterview-widget-questions-item{align-items:center;border-radius:0 4px 4px 0;display:flex;gap:20px;letter-spacing:.5px;max-width:100%;min-height:90px;overflow:hidden;padding:20px;position:relative}.myinterview-widget-questions-item__number{align-items:center;background-color:var(--color-neutral-20);border-radius:50%;color:var(--color-neutral-90);display:flex;height:38px;justify-content:center;min-width:38px}.myinterview-widget-questions-item__number--icon{background-color:var(--color-white);color:var(--color-primary)}.myinterview-widget-questions-item__wrapper{flex:1;overflow:hidden}.myinterview-widget-questions-item__question{display:flex;flex-direction:column;gap:2px;overflow:hidden}.myinterview-widget-questions-item__duration-wrapper{align-items:center;color:var(--color-neutral-50);display:flex;font-size:12px;gap:5px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper *{font-size:12px;line-height:20px}.myinterview-widget-questions-item__duration-wrapper svg{width:15px}.myinterview-widget-questions-item--active{background-color:#f7fbff}.myinterview-widget-questions-item--active:before{background-color:var(--color-primary);content:\"\";height:100%;left:0;position:absolute;width:3px}.myinterview-widget-questions-item--active .myinterview-widget-questions-item__number{background-color:var(--color-white);border:1px solid var(--color-primary);color:var(--color-primary)}}.myinterview-widget-upload{align-items:center;background-color:var(--color-white);border-radius:20px;display:flex;flex-direction:column;height:100%;justify-content:center;margin:auto;max-height:500px;overflow:hidden;padding:40px;text-align:center;width:100%}@media (min-width:1200px){.myinterview-widget-upload{margin:0;min-height:360px}}.myinterview-widget-upload__icon{align-items:center;background-color:#5aa4f5;border:12px solid #d7e8fb;border-radius:50%;color:var(--color-white);display:flex;height:110px;justify-content:center;margin-bottom:30px;min-height:110px;position:relative;width:110px}.myinterview-widget-upload__icon:before{background-color:initial;border:12px solid #99c6f8;border-radius:50%;content:\"\";height:100%;position:absolute;width:100%}.myinterview-widget-upload__title{margin-bottom:20px}.myinterview-widget-upload__sub-title{margin-bottom:40px;white-space:pre-line}.myinterview-widget-upload__progress{margin-bottom:10px;width:100%}.myinterview-widget-upload__time-left{align-items:center;color:var(--color-neutral-90);display:flex;gap:10px}.myinterview-widget-top-tips{background-color:var(--color-white);color:var(--color-neutral-90);display:flex;flex-direction:column;padding:50px}.myinterview-widget-top-tips__title{margin-bottom:20px}.myinterview-widget-top-tips__tips{margin-bottom:10px;padding:0 15px}.myinterview-widget-top-tips li{margin-bottom:10px}.myinterview-widget__practice-mode{border-radius:2.5rem;height:36px;padding:5px 15px}.myinterview-widget__practice-mode,.myinterview-widget__recording-button{align-items:center;background-color:var(--color-white);display:flex;justify-content:center}.myinterview-widget__recording-button{border:1px solid var(--color-neutral-30);border-radius:50%;height:64px;width:64px}.myinterview-widget__recording-button-inner{background-color:var(--color-error);border-radius:50%;height:52px;width:52px}.myinterview-widget__recording-button-inner--stop{border-radius:2px;height:16px;width:16px}.myinterview-widget__question-number{display:flex;gap:5px;position:absolute}@media (min-width:1200px){.myinterview-widget__question-number{margin-left:10px}}.myinterview-widget__question-number-track{direction:ltr;display:flex;gap:5px}.myinterview-widget__question-duration{align-items:center;display:flex;gap:8px}.myinterview-widget__question-duration svg{height:1em;width:1em}.myinterview-widget__progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:2.5rem;height:15px;overflow:hidden;width:100%}.myinterview-widget__progress::-webkit-progress-bar{background-color:#e7f1ef}.myinterview-widget__progress::-webkit-progress-value{background-color:var(--color-success);transition:.3s}.myinterview-widget__dot-separator{background-color:currentColor;border-radius:50%;height:3px;width:3px}.myinterview-widget-welcome-page{display:flex;flex-direction:column;gap:20px;height:100%;margin:30px 0;max-height:100%;overflow:auto;position:relative}@media (min-width:1200px){.myinterview-widget-welcome-page{padding:0 20px}}.myinterview-widget-welcome-page__text-wrapper{display:flex;flex-direction:column;position:relative}.myinterview-widget-welcome-page__text{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.myinterview-widget-welcome-page__text--closed{-webkit-line-clamp:4;line-clamp:4}.myinterview-widget-welcome-page__toggle{margin-left:auto}.myinterview-widget-welcome-page__action-buttons{display:flex;gap:20px;justify-content:space-between}.myinterview-widget-welcome-page__continue-button{flex:1;max-width:250px;min-width:fit-content}.myinterview-widget-welcome-page__top-tips-button{margin:0 auto}.myinterview-widget-welcome-page__top-tips{align-items:center;display:flex;gap:10px;justify-content:center}.myinterview-modal-wrapper{background-color:var(--color-white);border-radius:0;height:100vh;max-height:100%;max-width:500px;opacity:0;pointer-events:none;top:calc(50% + 40px);transition:top .2s ease-out,opacity .2s ease-out;width:100vw}@media (min-width:480px){.myinterview-modal-wrapper{border-radius:10px;height:auto}}.myinterview-modal-wrapper--opened{opacity:1;pointer-events:all;top:50%}.myinterview-modal-wrapper__close-btn{color:var(--color-neutral-90)}.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:20px;background-color:var(--color-white);display:flex;flex:1;flex-direction:column;justify-content:space-between;overflow:auto;padding:var(--myinterview-widget-wrapper-padding)}@media (min-width:1200px){.myinterview-widget-assessment{--myinterview-widget-assessment-spacing:7px;align-items:center}.myinterview-widget-assessment .myinterview-widget-question{display:none}}.myinterview-widget-assessment .myinterview-widget__question-number{align-self:flex-start;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative}.myinterview-widget-assessment__countdown-wrapper{display:flex;height:100%;justify-content:center;left:0;padding:var(--myinterview-widget-wrapper-padding);pointer-events:none;position:absolute;top:0;width:100%}.myinterview-widget-assessment__countdown-wrapper .myinterview-widget__countdown-mobile{background-color:var(--color-neutral-10);position:sticky;top:0}.myinterview-widget-assessment__instructions{margin-bottom:var(--myinterview-widget-assessment-spacing);z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__instructions{text-align:center}}.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{align-items:center;display:flex;flex:1;flex-direction:column;margin-bottom:var(--myinterview-widget-assessment-spacing);position:relative;width:100%;z-index:1}@media (min-width:1200px){.myinterview-widget-assessment__free-text,.myinterview-widget-assessment__multi-select,.myinterview-widget-assessment__single-select{width:550px}}.myinterview-widget-assessment__input{border:.5px solid var(--color-neutral-40);border-radius:4px;flex:1;min-height:100px;padding:15px 15px 30px;resize:none;width:100%}.myinterview-widget-assessment__input::placeholder{color:var(--color-neutral-40)}.myinterview-widget-assessment__options-form{display:flex;flex-direction:column;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__options-form{margin:auto 0}}.myinterview-widget-assessment__option{align-items:center;cursor:pointer;display:flex;gap:var(--myinterview-widget-assessment-spacing);padding:var(--myinterview-widget-assessment-spacing) 0;position:relative}.myinterview-widget-assessment__option:before{background-color:var(--color-white);border-radius:5px;content:\"\";height:100%;left:0;opacity:.1;pointer-events:none;position:absolute;top:0;transition:background-color .1s;width:100%;z-index:-1}.myinterview-widget-assessment__option:active:before{background-color:var(--color-primary)}.myinterview-widget-assessment__option:not(:last-child){border-bottom:1px solid var(--color-neutral-20)}.myinterview-widget-assessment__checkmark{align-items:center;border:1px solid var(--color-neutral-60);border-radius:50%;display:flex;flex-shrink:0;height:16px;justify-content:center;overflow:hidden;padding:1px;pointer-events:none;position:relative;width:16px}.myinterview-widget-assessment__checkmark svg{transform:scale(0);-webkit-transform:scale(0);transition:.15s ease-out}.myinterview-widget-assessment__checkmark--selected{border:1px solid var(--color-primary)}.myinterview-widget-assessment__checkmark--selected svg{transform:scale(1);-webkit-transform:scale(1)}.myinterview-widget-assessment .myinterview-widget__characters-limit{bottom:10px;position:absolute;right:15px}.myinterview-widget-assessment__submit-button{min-height:45px;width:100%}@media (min-width:1200px){.myinterview-widget-assessment__submit-button{width:auto}}";
|
|
48106
48324
|
|
|
48107
48325
|
const RotateScreenIcon = () => (React__default["default"].createElement("svg", { width: "824", height: "800", viewBox: "0 0 824 800", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
48108
48326
|
React__default["default"].createElement("rect", { x: "2.5", y: "2.5", width: "385", height: "795", rx: "37.5", stroke: "currentColor", strokeWidth: "5" }),
|