@magicfeedback/popup-sdk 1.22.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/2.2.47-BYEZ6PUX.mjs +2428 -0
- package/dist/2.2.47-BYEZ6PUX.mjs.map +1 -0
- package/dist/2.2.47-ZZQRJNYY.mjs +2428 -0
- package/dist/2.2.47-ZZQRJNYY.mjs.map +1 -0
- package/dist/assets/assets/style.css +8 -1
- package/dist/assets/assets/survey-css/2.2.47.css +2420 -0
- package/dist/{chunk-36KEHE2P.mjs → chunk-7PNQVCOR.mjs} +156 -5
- package/dist/chunk-7PNQVCOR.mjs.map +1 -0
- package/dist/{chunk-7PVEXIUG.mjs → chunk-HDCZ2QGX.mjs} +156 -5
- package/dist/chunk-HDCZ2QGX.mjs.map +1 -0
- package/dist/{chunk-4MUHUL7W.mjs → chunk-OXAYYIUH.mjs} +156 -5
- package/dist/chunk-OXAYYIUH.mjs.map +1 -0
- package/dist/index.d.mts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +4028 -1312
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +128 -61
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.d.mts +36 -0
- package/dist/index.native.d.ts +36 -0
- package/dist/index.native.js +4028 -1312
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +128 -61
- package/dist/index.native.mjs.map +1 -1
- package/dist/react-native.d.mts +25 -0
- package/dist/react-native.d.ts +25 -0
- package/dist/react-native.js +2826 -182
- package/dist/react-native.js.map +1 -1
- package/dist/react-native.mjs +128 -61
- package/dist/react-native.mjs.map +1 -1
- package/dist/{renderPopup-I3LIC3W3.mjs → renderPopup-I565DNZX.mjs} +21 -29
- package/dist/renderPopup-I565DNZX.mjs.map +1 -0
- package/dist/{renderPopup-5VVYPKXP.mjs → renderPopup-KWAMONIN.mjs} +1213 -1149
- package/dist/renderPopup-KWAMONIN.mjs.map +1 -0
- package/dist/{renderPopup-VS5XFGTI.mjs → renderPopup-USTJXQJ6.mjs} +1213 -1149
- package/dist/renderPopup-USTJXQJ6.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-36KEHE2P.mjs.map +0 -1
- package/dist/chunk-4MUHUL7W.mjs.map +0 -1
- package/dist/chunk-7PVEXIUG.mjs.map +0 -1
- package/dist/renderPopup-5VVYPKXP.mjs.map +0 -1
- package/dist/renderPopup-I3LIC3W3.mjs.map +0 -1
- package/dist/renderPopup-VS5XFGTI.mjs.map +0 -1
|
@@ -12,8 +12,10 @@ import {
|
|
|
12
12
|
describeSurveySdkChoice,
|
|
13
13
|
directionFor,
|
|
14
14
|
getLabels,
|
|
15
|
+
progressView,
|
|
15
16
|
resolveActionLabels,
|
|
16
17
|
resolveForcedMode,
|
|
18
|
+
resolvePlacement,
|
|
17
19
|
revealWhenPainted,
|
|
18
20
|
sdkError,
|
|
19
21
|
sdkLog,
|
|
@@ -22,7 +24,7 @@ import {
|
|
|
22
24
|
style_default,
|
|
23
25
|
surveySdkUrls,
|
|
24
26
|
systemPrefersDark
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HDCZ2QGX.mjs";
|
|
26
28
|
import {
|
|
27
29
|
__commonJS,
|
|
28
30
|
__toESM
|
|
@@ -34,17 +36,17 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
34
36
|
"use strict";
|
|
35
37
|
!(function(e, t) {
|
|
36
38
|
"object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.magicfeedback = t() : e.magicfeedback = t();
|
|
37
|
-
})(self, (() => {
|
|
38
|
-
|
|
39
|
-
var
|
|
39
|
+
})(self, () => (() => {
|
|
40
|
+
var e = { 4945(e2, t2) {
|
|
41
|
+
var i2 = "undefined" != typeof self ? self : this, a = (function() {
|
|
40
42
|
function e3() {
|
|
41
|
-
this.fetch = false, this.DOMException =
|
|
43
|
+
this.fetch = false, this.DOMException = i2.DOMException;
|
|
42
44
|
}
|
|
43
|
-
return e3.prototype =
|
|
45
|
+
return e3.prototype = i2, new e3();
|
|
44
46
|
})();
|
|
45
47
|
!(function(e3) {
|
|
46
48
|
!(function(t3) {
|
|
47
|
-
var
|
|
49
|
+
var i3 = "URLSearchParams" in e3, a2 = "Symbol" in e3 && "iterator" in Symbol, r2 = "FileReader" in e3 && "Blob" in e3 && (function() {
|
|
48
50
|
try {
|
|
49
51
|
return new Blob(), true;
|
|
50
52
|
} catch (e4) {
|
|
@@ -71,30 +73,30 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
71
73
|
}), t4;
|
|
72
74
|
}
|
|
73
75
|
function p(e4) {
|
|
74
|
-
this.map = {}, e4 instanceof p ? e4.forEach(
|
|
76
|
+
this.map = {}, e4 instanceof p ? e4.forEach(function(e5, t4) {
|
|
75
77
|
this.append(t4, e5);
|
|
76
|
-
}
|
|
78
|
+
}, this) : Array.isArray(e4) ? e4.forEach(function(e5) {
|
|
77
79
|
this.append(e5[0], e5[1]);
|
|
78
|
-
}
|
|
80
|
+
}, this) : e4 && Object.getOwnPropertyNames(e4).forEach(function(t4) {
|
|
79
81
|
this.append(t4, e4[t4]);
|
|
80
|
-
}
|
|
82
|
+
}, this);
|
|
81
83
|
}
|
|
82
84
|
function m(e4) {
|
|
83
85
|
if (e4.bodyUsed) return Promise.reject(new TypeError("Already read"));
|
|
84
86
|
e4.bodyUsed = true;
|
|
85
87
|
}
|
|
86
88
|
function h(e4) {
|
|
87
|
-
return new Promise(
|
|
89
|
+
return new Promise(function(t4, i4) {
|
|
88
90
|
e4.onload = function() {
|
|
89
91
|
t4(e4.result);
|
|
90
92
|
}, e4.onerror = function() {
|
|
91
|
-
|
|
93
|
+
i4(e4.error);
|
|
92
94
|
};
|
|
93
|
-
})
|
|
95
|
+
});
|
|
94
96
|
}
|
|
95
97
|
function f(e4) {
|
|
96
|
-
var t4 = new FileReader(),
|
|
97
|
-
return t4.readAsArrayBuffer(e4),
|
|
98
|
+
var t4 = new FileReader(), i4 = h(t4);
|
|
99
|
+
return t4.readAsArrayBuffer(e4), i4;
|
|
98
100
|
}
|
|
99
101
|
function g(e4) {
|
|
100
102
|
if (e4.slice) return e4.slice(0);
|
|
@@ -104,7 +106,7 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
104
106
|
function y() {
|
|
105
107
|
return this.bodyUsed = false, this._initBody = function(e4) {
|
|
106
108
|
var t4;
|
|
107
|
-
this._bodyInit = e4, e4 ? "string" == typeof e4 ? this._bodyText = e4 : r2 && Blob.prototype.isPrototypeOf(e4) ? this._bodyBlob = e4 : o && FormData.prototype.isPrototypeOf(e4) ? this._bodyFormData = e4 :
|
|
109
|
+
this._bodyInit = e4, e4 ? "string" == typeof e4 ? this._bodyText = e4 : r2 && Blob.prototype.isPrototypeOf(e4) ? this._bodyBlob = e4 : o && FormData.prototype.isPrototypeOf(e4) ? this._bodyFormData = e4 : i3 && URLSearchParams.prototype.isPrototypeOf(e4) ? this._bodyText = e4.toString() : n && r2 && (t4 = e4) && DataView.prototype.isPrototypeOf(t4) ? (this._bodyArrayBuffer = g(e4.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : n && (ArrayBuffer.prototype.isPrototypeOf(e4) || l(e4)) ? this._bodyArrayBuffer = g(e4) : this._bodyText = e4 = Object.prototype.toString.call(e4) : this._bodyText = "", this.headers.get("content-type") || ("string" == typeof e4 ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : i3 && URLSearchParams.prototype.isPrototypeOf(e4) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
108
110
|
}, r2 && (this.blob = function() {
|
|
109
111
|
var e4 = m(this);
|
|
110
112
|
if (e4) return e4;
|
|
@@ -115,12 +117,12 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
115
117
|
}, this.arrayBuffer = function() {
|
|
116
118
|
return this._bodyArrayBuffer ? m(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(f);
|
|
117
119
|
}), this.text = function() {
|
|
118
|
-
var e4, t4,
|
|
120
|
+
var e4, t4, i4, a3 = m(this);
|
|
119
121
|
if (a3) return a3;
|
|
120
|
-
if (this._bodyBlob) return e4 = this._bodyBlob,
|
|
122
|
+
if (this._bodyBlob) return e4 = this._bodyBlob, i4 = h(t4 = new FileReader()), t4.readAsText(e4), i4;
|
|
121
123
|
if (this._bodyArrayBuffer) return Promise.resolve((function(e5) {
|
|
122
|
-
for (var t5 = new Uint8Array(e5),
|
|
123
|
-
return
|
|
124
|
+
for (var t5 = new Uint8Array(e5), i5 = new Array(t5.length), a4 = 0; a4 < t5.length; a4++) i5[a4] = String.fromCharCode(t5[a4]);
|
|
125
|
+
return i5.join("");
|
|
124
126
|
})(this._bodyArrayBuffer));
|
|
125
127
|
if (this._bodyFormData) throw new Error("could not read FormData body as text");
|
|
126
128
|
return Promise.resolve(this._bodyText);
|
|
@@ -132,8 +134,8 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
132
134
|
}
|
|
133
135
|
p.prototype.append = function(e4, t4) {
|
|
134
136
|
e4 = d(e4), t4 = c(t4);
|
|
135
|
-
var
|
|
136
|
-
this.map[e4] =
|
|
137
|
+
var i4 = this.map[e4];
|
|
138
|
+
this.map[e4] = i4 ? i4 + ", " + t4 : t4;
|
|
137
139
|
}, p.prototype.delete = function(e4) {
|
|
138
140
|
delete this.map[d(e4)];
|
|
139
141
|
}, p.prototype.get = function(e4) {
|
|
@@ -143,41 +145,41 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
143
145
|
}, p.prototype.set = function(e4, t4) {
|
|
144
146
|
this.map[d(e4)] = c(t4);
|
|
145
147
|
}, p.prototype.forEach = function(e4, t4) {
|
|
146
|
-
for (var
|
|
148
|
+
for (var i4 in this.map) this.map.hasOwnProperty(i4) && e4.call(t4, this.map[i4], i4, this);
|
|
147
149
|
}, p.prototype.keys = function() {
|
|
148
150
|
var e4 = [];
|
|
149
|
-
return this.forEach(
|
|
150
|
-
e4.push(
|
|
151
|
-
})
|
|
151
|
+
return this.forEach(function(t4, i4) {
|
|
152
|
+
e4.push(i4);
|
|
153
|
+
}), u(e4);
|
|
152
154
|
}, p.prototype.values = function() {
|
|
153
155
|
var e4 = [];
|
|
154
|
-
return this.forEach(
|
|
156
|
+
return this.forEach(function(t4) {
|
|
155
157
|
e4.push(t4);
|
|
156
|
-
})
|
|
158
|
+
}), u(e4);
|
|
157
159
|
}, p.prototype.entries = function() {
|
|
158
160
|
var e4 = [];
|
|
159
|
-
return this.forEach(
|
|
160
|
-
e4.push([
|
|
161
|
-
})
|
|
161
|
+
return this.forEach(function(t4, i4) {
|
|
162
|
+
e4.push([i4, t4]);
|
|
163
|
+
}), u(e4);
|
|
162
164
|
}, a2 && (p.prototype[Symbol.iterator] = p.prototype.entries);
|
|
163
165
|
var v = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
164
166
|
function b(e4, t4) {
|
|
165
|
-
var
|
|
167
|
+
var i4, a3, r3 = (t4 = t4 || {}).body;
|
|
166
168
|
if (e4 instanceof b) {
|
|
167
169
|
if (e4.bodyUsed) throw new TypeError("Already read");
|
|
168
170
|
this.url = e4.url, this.credentials = e4.credentials, t4.headers || (this.headers = new p(e4.headers)), this.method = e4.method, this.mode = e4.mode, this.signal = e4.signal, r3 || null == e4._bodyInit || (r3 = e4._bodyInit, e4.bodyUsed = true);
|
|
169
171
|
} else this.url = String(e4);
|
|
170
|
-
if (this.credentials = t4.credentials || this.credentials || "same-origin", !t4.headers && this.headers || (this.headers = new p(t4.headers)), this.method = (a3 = (
|
|
172
|
+
if (this.credentials = t4.credentials || this.credentials || "same-origin", !t4.headers && this.headers || (this.headers = new p(t4.headers)), this.method = (a3 = (i4 = t4.method || this.method || "GET").toUpperCase(), v.indexOf(a3) > -1 ? a3 : i4), this.mode = t4.mode || this.mode || null, this.signal = t4.signal || this.signal, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && r3) throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
171
173
|
this._initBody(r3);
|
|
172
174
|
}
|
|
173
175
|
function E(e4) {
|
|
174
176
|
var t4 = new FormData();
|
|
175
|
-
return e4.trim().split("&").forEach(
|
|
177
|
+
return e4.trim().split("&").forEach(function(e5) {
|
|
176
178
|
if (e5) {
|
|
177
|
-
var
|
|
179
|
+
var i4 = e5.split("="), a3 = i4.shift().replace(/\+/g, " "), r3 = i4.join("=").replace(/\+/g, " ");
|
|
178
180
|
t4.append(decodeURIComponent(a3), decodeURIComponent(r3));
|
|
179
181
|
}
|
|
180
|
-
})
|
|
182
|
+
}), t4;
|
|
181
183
|
}
|
|
182
184
|
function k(e4, t4) {
|
|
183
185
|
t4 || (t4 = {}), this.type = "default", this.status = void 0 === t4.status ? 200 : t4.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in t4 ? t4.statusText : "OK", this.headers = new p(t4.headers), this.url = t4.url || "", this._initBody(e4);
|
|
@@ -200,63 +202,63 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
200
202
|
} catch (e4) {
|
|
201
203
|
t3.DOMException = function(e5, t4) {
|
|
202
204
|
this.message = e5, this.name = t4;
|
|
203
|
-
var
|
|
204
|
-
this.stack =
|
|
205
|
+
var i4 = Error(e5);
|
|
206
|
+
this.stack = i4.stack;
|
|
205
207
|
}, t3.DOMException.prototype = Object.create(Error.prototype), t3.DOMException.prototype.constructor = t3.DOMException;
|
|
206
208
|
}
|
|
207
|
-
function T(e4,
|
|
208
|
-
return new Promise(
|
|
209
|
-
var n2 = new b(e4,
|
|
209
|
+
function T(e4, i4) {
|
|
210
|
+
return new Promise(function(a3, o2) {
|
|
211
|
+
var n2 = new b(e4, i4);
|
|
210
212
|
if (n2.signal && n2.signal.aborted) return o2(new t3.DOMException("Aborted", "AbortError"));
|
|
211
213
|
var s2 = new XMLHttpRequest();
|
|
212
214
|
function l2() {
|
|
213
215
|
s2.abort();
|
|
214
216
|
}
|
|
215
217
|
s2.onload = function() {
|
|
216
|
-
var e5, t4,
|
|
217
|
-
var
|
|
218
|
+
var e5, t4, i5 = { status: s2.status, statusText: s2.statusText, headers: (e5 = s2.getAllResponseHeaders() || "", t4 = new p(), e5.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach(function(e6) {
|
|
219
|
+
var i6 = e6.split(":"), a4 = i6.shift().trim();
|
|
218
220
|
if (a4) {
|
|
219
|
-
var r4 =
|
|
221
|
+
var r4 = i6.join(":").trim();
|
|
220
222
|
t4.append(a4, r4);
|
|
221
223
|
}
|
|
222
|
-
})
|
|
223
|
-
|
|
224
|
+
}), t4) };
|
|
225
|
+
i5.url = "responseURL" in s2 ? s2.responseURL : i5.headers.get("X-Request-URL");
|
|
224
226
|
var r3 = "response" in s2 ? s2.response : s2.responseText;
|
|
225
|
-
a3(new k(r3,
|
|
227
|
+
a3(new k(r3, i5));
|
|
226
228
|
}, s2.onerror = function() {
|
|
227
229
|
o2(new TypeError("Network request failed"));
|
|
228
230
|
}, s2.ontimeout = function() {
|
|
229
231
|
o2(new TypeError("Network request failed"));
|
|
230
232
|
}, s2.onabort = function() {
|
|
231
233
|
o2(new t3.DOMException("Aborted", "AbortError"));
|
|
232
|
-
}, s2.open(n2.method, n2.url, true), "include" === n2.credentials ? s2.withCredentials = true : "omit" === n2.credentials && (s2.withCredentials = false), "responseType" in s2 && r2 && (s2.responseType = "blob"), n2.headers.forEach(
|
|
234
|
+
}, s2.open(n2.method, n2.url, true), "include" === n2.credentials ? s2.withCredentials = true : "omit" === n2.credentials && (s2.withCredentials = false), "responseType" in s2 && r2 && (s2.responseType = "blob"), n2.headers.forEach(function(e5, t4) {
|
|
233
235
|
s2.setRequestHeader(t4, e5);
|
|
234
|
-
})
|
|
236
|
+
}), n2.signal && (n2.signal.addEventListener("abort", l2), s2.onreadystatechange = function() {
|
|
235
237
|
4 === s2.readyState && n2.signal.removeEventListener("abort", l2);
|
|
236
238
|
}), s2.send(void 0 === n2._bodyInit ? null : n2._bodyInit);
|
|
237
|
-
})
|
|
239
|
+
});
|
|
238
240
|
}
|
|
239
241
|
T.polyfill = true, e3.fetch || (e3.fetch = T, e3.Headers = p, e3.Request = b, e3.Response = k), t3.Headers = p, t3.Request = b, t3.Response = k, t3.fetch = T, Object.defineProperty(t3, "__esModule", { value: true });
|
|
240
242
|
})({});
|
|
241
243
|
})(a), a.fetch.ponyfill = true, delete a.fetch.polyfill;
|
|
242
244
|
var r = a;
|
|
243
245
|
(t2 = r.fetch).default = r.fetch, t2.fetch = r.fetch, t2.Headers = r.Headers, t2.Request = r.Request, t2.Response = r.Response, e2.exports = t2;
|
|
244
|
-
},
|
|
246
|
+
}, 317(e2, t2) {
|
|
245
247
|
"use strict";
|
|
246
|
-
|
|
247
|
-
},
|
|
248
|
+
t2.HOST_API_URL_DEV = t2.HOST_API_URL = void 0, t2.HOST_API_URL = "https://api.deepdots.com/", t2.HOST_API_URL_DEV = "https://api-dev.deepdots.com/";
|
|
249
|
+
}, 8156(e2, t2, i2) {
|
|
248
250
|
"use strict";
|
|
249
251
|
var a = this && this.__importDefault || function(e3) {
|
|
250
252
|
return e3 && e3.__esModule ? e3 : { default: e3 };
|
|
251
253
|
};
|
|
252
254
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
253
|
-
const r = a(
|
|
255
|
+
const r = a(i2(7927));
|
|
254
256
|
let o = null;
|
|
255
257
|
o || (o = (0, r.default)()), t2.default = o;
|
|
256
|
-
},
|
|
258
|
+
}, 7927(e2, t2, i2) {
|
|
257
259
|
"use strict";
|
|
258
|
-
var a = this && this.__awaiter || function(e3, t3,
|
|
259
|
-
return new (
|
|
260
|
+
var a = this && this.__awaiter || function(e3, t3, i3, a2) {
|
|
261
|
+
return new (i3 || (i3 = Promise))(function(r2, o2) {
|
|
260
262
|
function n2(e4) {
|
|
261
263
|
try {
|
|
262
264
|
l2(a2.next(e4));
|
|
@@ -273,50 +275,50 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
273
275
|
}
|
|
274
276
|
function l2(e4) {
|
|
275
277
|
var t4;
|
|
276
|
-
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof
|
|
278
|
+
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) {
|
|
277
279
|
e5(t4);
|
|
278
|
-
}))
|
|
280
|
+
})).then(n2, s2);
|
|
279
281
|
}
|
|
280
282
|
l2((a2 = a2.apply(e3, t3 || [])).next());
|
|
281
|
-
})
|
|
283
|
+
});
|
|
282
284
|
};
|
|
283
285
|
Object.defineProperty(t2, "__esModule", { value: true });
|
|
284
|
-
const r =
|
|
286
|
+
const r = i2(7057), o = i2(7544), n = i2(3665), s = i2(9256), l = i2(2313), d = i2(317), c = i2(6471);
|
|
285
287
|
t2.default = function() {
|
|
286
288
|
const e3 = new n.Config();
|
|
287
289
|
let t3 = new s.Log(e3);
|
|
288
|
-
return { init: function(
|
|
289
|
-
"boolean" == typeof (null ==
|
|
290
|
-
}, send: function(
|
|
290
|
+
return { init: function(i3) {
|
|
291
|
+
"boolean" == typeof (null == i3 ? void 0 : i3.debug) && e3.set("debug", i3.debug), "boolean" == typeof (null == i3 ? void 0 : i3.dryRun) && e3.set("dryRun", i3.dryRun), (null == i3 ? void 0 : i3.lang) && e3.set("lang", (0, c.normalizeSurveyLang)(i3.lang)), e3.set("url", (null == i3 ? void 0 : i3.env) && "dev" === (null == i3 ? void 0 : i3.env) ? d.HOST_API_URL_DEV : d.HOST_API_URL), e3.set("env", null == i3 ? void 0 : i3.env), t3.log("Initialized Magicfeedback", e3);
|
|
292
|
+
}, send: function(i3, r2, o2, n2 = true, s2, d2) {
|
|
291
293
|
var u;
|
|
292
|
-
return a(this, void 0, void 0,
|
|
293
|
-
|
|
294
|
-
const a2 = e3.get("url"), p = { integration:
|
|
294
|
+
return a(this, void 0, void 0, function* () {
|
|
295
|
+
i3 || t3.err("No appID provided"), r2 || t3.err("No publicKey provided"), o2 || t3.err("No feedback provided"), o2.answers || o2.profile || o2.metrics || o2.metadata || t3.err("No feedback data provided");
|
|
296
|
+
const a2 = e3.get("url"), p = { integration: i3, publicKey: r2, privateKey: d2, completed: n2, id: s2, feedback: o2, lang: null !== (u = (0, c.detectSurveyLang)(e3.get("lang"))) && void 0 !== u ? u : void 0 };
|
|
295
297
|
try {
|
|
296
298
|
if (e3.get("dryRun")) return t3.log("Dry run enabled: skipping native feedback submit"), `dry-run-${Date.now()}`;
|
|
297
|
-
const
|
|
298
|
-
return t3.log("sent native feedback"),
|
|
299
|
+
const i4 = yield (0, l.sendFeedback)(a2, p, t3);
|
|
300
|
+
return t3.log("sent native feedback"), i4;
|
|
299
301
|
} catch (e4) {
|
|
300
302
|
return t3.err("error native feedback", e4), false;
|
|
301
303
|
}
|
|
302
|
-
})
|
|
303
|
-
}, form: function(
|
|
304
|
-
return
|
|
305
|
-
}, agentForm: function(
|
|
306
|
-
return
|
|
307
|
-
}, session: function(
|
|
308
|
-
return
|
|
309
|
-
}, previewPage: function(
|
|
310
|
-
return a(this, void 0, void 0,
|
|
311
|
-
|
|
304
|
+
});
|
|
305
|
+
}, form: function(i3, a2, o2, n2) {
|
|
306
|
+
return i3 || t3.err("No appID provided"), a2 || t3.err("No publicKey provided"), new r.Form(e3, i3, a2, o2, n2);
|
|
307
|
+
}, agentForm: function(i3, a2, r2) {
|
|
308
|
+
return i3 || t3.err("No integrationId provided"), a2 || t3.err("No publicKey provided"), new o.AgentForm(e3, i3, a2, r2);
|
|
309
|
+
}, session: function(i3) {
|
|
310
|
+
return i3 || t3.err("No sessionId provided"), new r.Form(e3, i3);
|
|
311
|
+
}, previewPage: function(i3, o2, n2) {
|
|
312
|
+
return a(this, void 0, void 0, function* () {
|
|
313
|
+
i3 || t3.err("No selector provided"), o2 && o2.page || t3.err("No page provided for preview");
|
|
312
314
|
const a2 = (null == o2 ? void 0 : o2.appId) || `preview-${Date.now()}`, s2 = new r.Form(e3, a2);
|
|
313
|
-
return yield s2.previewPage(
|
|
314
|
-
})
|
|
315
|
+
return yield s2.previewPage(i3, o2, n2), s2;
|
|
316
|
+
});
|
|
315
317
|
} };
|
|
316
318
|
};
|
|
317
|
-
},
|
|
319
|
+
}, 3079(e2, t2) {
|
|
318
320
|
"use strict";
|
|
319
|
-
|
|
321
|
+
t2.History = void 0, t2.History = class {
|
|
320
322
|
constructor() {
|
|
321
323
|
this.items = [];
|
|
322
324
|
}
|
|
@@ -345,10 +347,10 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
345
347
|
return this.items[e3];
|
|
346
348
|
}
|
|
347
349
|
};
|
|
348
|
-
},
|
|
350
|
+
}, 7544(e2, t2, i2) {
|
|
349
351
|
"use strict";
|
|
350
|
-
var a = this && this.__awaiter || function(e3, t3,
|
|
351
|
-
return new (
|
|
352
|
+
var a = this && this.__awaiter || function(e3, t3, i3, a2) {
|
|
353
|
+
return new (i3 || (i3 = Promise))(function(r2, o2) {
|
|
352
354
|
function n2(e4) {
|
|
353
355
|
try {
|
|
354
356
|
l2(a2.next(e4));
|
|
@@ -365,69 +367,79 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
365
367
|
}
|
|
366
368
|
function l2(e4) {
|
|
367
369
|
var t4;
|
|
368
|
-
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof
|
|
370
|
+
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) {
|
|
369
371
|
e5(t4);
|
|
370
|
-
}))
|
|
372
|
+
})).then(n2, s2);
|
|
371
373
|
}
|
|
372
374
|
l2((a2 = a2.apply(e3, t3 || [])).next());
|
|
373
|
-
})
|
|
375
|
+
});
|
|
374
376
|
};
|
|
375
|
-
Object.defineProperty(t2, "__esModule", { value: true }), t2.AgentForm = void 0;
|
|
376
|
-
const r =
|
|
377
|
+
Object.defineProperty(t2, "__esModule", { value: true }), t2.keepExclusiveAnswer = t2.withBaseAssets = t2.AgentForm = void 0;
|
|
378
|
+
const r = i2(5558), o = i2(9256), n = i2(279), s = i2(7945), l = i2(7177), d = i2(3107), c = i2(2313), u = i2(5146), p = i2(4565), m = i2(5571), h = i2(7213), f = i2(881), g = i2(4039), y = i2(7321);
|
|
379
|
+
function v(e3, t3) {
|
|
380
|
+
return (null == t3 ? void 0 : t3.assets) && t3.type === e3.type ? Object.assign(Object.assign({}, e3), { assets: Object.assign(Object.assign({}, e3.assets || {}), t3.assets) }) : e3;
|
|
381
|
+
}
|
|
382
|
+
function b(e3, t3) {
|
|
383
|
+
var i3;
|
|
384
|
+
const a2 = (null === (i3 = t3.assets) || void 0 === i3 ? void 0 : i3.exclusiveAnswers) || [];
|
|
385
|
+
if (t3.type !== r.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE || 0 === a2.length) return e3;
|
|
386
|
+
const o2 = e3.filter((e4) => e4.key === t3.ref).flatMap((e4) => Array.isArray(e4.value) ? e4.value : [e4.value]).find((e4) => a2.includes(e4));
|
|
387
|
+
return void 0 === o2 ? e3 : [...e3.filter((e4) => e4.key !== t3.ref && e4.key !== `extra-option-${t3.ref}`), { key: t3.ref, value: [o2] }];
|
|
388
|
+
}
|
|
377
389
|
t2.AgentForm = class {
|
|
378
|
-
constructor(e3, t3,
|
|
379
|
-
this.config = e3, this.log = new
|
|
390
|
+
constructor(e3, t3, i3, a2) {
|
|
391
|
+
this.totalIsEstimate = true, this.isDynamic = true, this.config = e3, this.log = new o.Log(e3), this.url = e3.get("url"), this.integrationId = t3, this.publicKey = i3, this.privateKey = a2, this.formOptionsConfig = { addButton: true, addSuccessScreen: true, questionFormat: "standard", answerDelimiter: l.DEFAULT_ANSWER_DELIMITER, resume: true, allowBack: false, emptyAnswerText: "" }, this.selector = "", this.language = "en", this.product = { customIcons: false }, this.integrationData = null, this.baseQuestions = /* @__PURE__ */ new Map(), this.started = false, this.sessionId = "", this.conversation = [], this.askedRefs = [], this.currentTurn = 1, this.maxTurns = 0, this.currentQuestion = null, this.questionHistory = [], this.busy = false, this.rateLimitTimer = null, this.progress = 0, this.total = 0, this.completed = false, this.timeToCompleted = 0;
|
|
380
392
|
}
|
|
381
393
|
generate(e3, t3 = {}) {
|
|
382
|
-
var
|
|
383
|
-
return a(this, void 0, void 0,
|
|
394
|
+
var i3, r2;
|
|
395
|
+
return a(this, void 0, void 0, function* () {
|
|
384
396
|
this.formOptionsConfig = Object.assign(Object.assign({}, this.formOptionsConfig), t3), this.selector = e3, t3.lang && (this.language = t3.lang), t3.primaryColor && (this.primaryColor = t3.primaryColor);
|
|
385
|
-
const a2 = false === this.formOptionsConfig.resume || this.isPreview() ? null : this.restore(), o2 = null === (r2 = null === (
|
|
397
|
+
const a2 = false === this.formOptionsConfig.resume || this.isPreview() ? null : this.restore(), o2 = null === (r2 = null === (i3 = this.integrationData) || void 0 === i3 ? void 0 : i3.style) || void 0 === r2 ? void 0 : r2.startMessage;
|
|
386
398
|
if (a2 || !o2) yield this.open(a2);
|
|
387
399
|
else try {
|
|
388
400
|
this.renderWelcome(o2);
|
|
389
401
|
} catch (e4) {
|
|
390
402
|
this.log.err(`Could not show the introduction of ${this.integrationId}:`, e4), this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, error: e4 }));
|
|
391
403
|
}
|
|
392
|
-
})
|
|
404
|
+
});
|
|
393
405
|
}
|
|
394
406
|
startForm() {
|
|
395
|
-
return a(this, void 0, void 0,
|
|
407
|
+
return a(this, void 0, void 0, function* () {
|
|
396
408
|
this.started || (yield this.open(null));
|
|
397
|
-
})
|
|
409
|
+
});
|
|
398
410
|
}
|
|
399
411
|
renderWelcome(e3) {
|
|
400
|
-
var t3,
|
|
401
|
-
const r2 = (0,
|
|
402
|
-
this.primaryColor && (0,
|
|
412
|
+
var t3, i3, a2;
|
|
413
|
+
const r2 = (0, p.generateContainer)(this.selector, this.integrationId);
|
|
414
|
+
this.primaryColor && (0, p.applyPrimaryColor)(r2, this.primaryColor), (0, p.applyColorMode)(r2, null === (t3 = this.integrationData) || void 0 === t3 ? void 0 : t3.style, null === (i3 = this.formOptionsConfig) || void 0 === i3 ? void 0 : i3.mode), (0, p.applyDirection)(r2, this.language), r2.appendChild((0, h.renderStartMessage)(e3, this.formOptionsConfig.addButton, this.formOptionsConfig.startButtonText || (0, f.t)(this.language, "action.start"), () => this.startForm())), this.formOptionsConfig.onLoadedEvent && this.formOptionsConfig.onLoadedEvent({ loading: false, formData: null !== (a2 = this.integrationData) && void 0 !== a2 ? a2 : void 0, lang: this.language });
|
|
403
415
|
}
|
|
404
416
|
open(e3) {
|
|
405
|
-
var t3,
|
|
406
|
-
return a(this, void 0, void 0,
|
|
417
|
+
var t3, i3, r2;
|
|
418
|
+
return a(this, void 0, void 0, function* () {
|
|
407
419
|
this.started = true;
|
|
408
420
|
try {
|
|
409
421
|
if (e3) this.log.log(`Resuming agent session ${e3.sessionId} at turn ${e3.currentTurn}`), this.mountForm(), this.renderStep();
|
|
410
422
|
else {
|
|
411
423
|
const e4 = yield this.startWithRetry();
|
|
412
424
|
this.sessionId = e4.sessionId, this.maxTurns = e4.maxTurns, this.currentTurn = null !== (t3 = e4.currentTurn) && void 0 !== t3 ? t3 : 1, this.total = Math.max(this.maxTurns - 1, 0);
|
|
413
|
-
const a2 = (0,
|
|
414
|
-
if (this.mountForm(), "END" === a2.kind) return yield this.renderEnd(a2), void (this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, progress: this.progress, total: this.total, sessionId: this.sessionId, formData: null !== (
|
|
425
|
+
const a2 = (0, l.toAgentStep)(e4, this.adapterContext());
|
|
426
|
+
if (this.mountForm(), "END" === a2.kind) return yield this.renderEnd(a2), void (this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent(Object.assign(Object.assign({ loading: false, progress: this.progress, total: this.total }, this.totalFlags()), { sessionId: this.sessionId, formData: null !== (i3 = this.integrationData) && void 0 !== i3 ? i3 : void 0, lang: this.language, completed: true }))));
|
|
415
427
|
this.acceptQuestion(a2), this.renderStep(), this.persist();
|
|
416
428
|
}
|
|
417
|
-
this.timeToCompleted = Date.now(), this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, progress: this.progress, total: this.total, sessionId: this.sessionId, formData: null !== (r2 = this.integrationData) && void 0 !== r2 ? r2 : void 0, lang: this.language, formOptionsConfig: this.formOptionsConfig }));
|
|
429
|
+
this.timeToCompleted = Date.now(), this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent(Object.assign(Object.assign({ loading: false, progress: this.progress, total: this.total }, this.totalFlags()), { sessionId: this.sessionId, formData: null !== (r2 = this.integrationData) && void 0 !== r2 ? r2 : void 0, lang: this.language, formOptionsConfig: this.formOptionsConfig })));
|
|
418
430
|
} catch (e4) {
|
|
419
431
|
this.log.err(`Could not start the agent survey ${this.integrationId}:`, e4), this.renderFatal(e4), this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, error: e4 }));
|
|
420
432
|
}
|
|
421
|
-
})
|
|
433
|
+
});
|
|
422
434
|
}
|
|
423
435
|
next() {
|
|
424
|
-
return a(this, void 0, void 0,
|
|
436
|
+
return a(this, void 0, void 0, function* () {
|
|
425
437
|
return this.runTurn();
|
|
426
|
-
})
|
|
438
|
+
});
|
|
427
439
|
}
|
|
428
440
|
answer() {
|
|
429
441
|
const e3 = document.getElementById(this.formId());
|
|
430
|
-
return e3 ? (0,
|
|
442
|
+
return e3 ? (0, d.scrapeInputs)(e3) : [];
|
|
431
443
|
}
|
|
432
444
|
getConversation() {
|
|
433
445
|
return [...this.conversation];
|
|
@@ -440,42 +452,54 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
440
452
|
}
|
|
441
453
|
runTurn() {
|
|
442
454
|
var e3;
|
|
443
|
-
return a(this, void 0, void 0,
|
|
455
|
+
return a(this, void 0, void 0, function* () {
|
|
444
456
|
if (this.busy || this.completed || !this.currentQuestion) return;
|
|
445
|
-
(0,
|
|
457
|
+
(0, y.cancelAutoAdvance)(document.getElementById(this.questionsId())), this.busy = true, this.setSubmitDisabled(true), this.clearError();
|
|
446
458
|
const t3 = this.currentQuestion;
|
|
447
459
|
try {
|
|
448
|
-
const
|
|
449
|
-
if (!
|
|
450
|
-
yield (0,
|
|
451
|
-
const r2 = (
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
460
|
+
const i3 = document.getElementById(this.formId()), a2 = document.getElementById(this.questionsId());
|
|
461
|
+
if (!i3) throw new Error("Agent form not found");
|
|
462
|
+
yield (0, m.awaitUploadReady)(a2);
|
|
463
|
+
const r2 = this.validationError(a2, t3);
|
|
464
|
+
if (r2) return void this.showFieldError(r2);
|
|
465
|
+
const o2 = b((0, d.scrapeInputs)(i3), t3);
|
|
466
|
+
let n2 = (0, l.encodeAnswer)(o2, t3, this.formOptionsConfig.answerDelimiter);
|
|
467
|
+
if ("" === n2) {
|
|
468
|
+
if (t3.require) return void this.showFieldError(new u.SubmitError("REQUIRED", "No response"));
|
|
469
|
+
n2 = this.formOptionsConfig.emptyAnswerText || "";
|
|
456
470
|
}
|
|
457
|
-
this.formOptionsConfig.beforeSubmitEvent && (yield this.formOptionsConfig.beforeSubmitEvent({ loading: true, progress: this.progress, total: this.total }));
|
|
458
|
-
const
|
|
459
|
-
this.conversation.push(
|
|
460
|
-
const
|
|
461
|
-
if ("END" ===
|
|
471
|
+
this.formOptionsConfig.beforeSubmitEvent && (yield this.formOptionsConfig.beforeSubmitEvent(Object.assign({ loading: true, progress: this.progress, total: this.total }, this.totalFlags())));
|
|
472
|
+
const c2 = { role: "user", content: n2, questionType: t3.type, questionRef: t3.ref }, p2 = this.currentTurn + 1, h2 = yield (0, s.nextAgentTurn)(this.url, Object.assign({ publicKey: this.publicKey, privateKey: this.privateKey, integrationId: this.integrationId, sessionId: this.sessionId, conversation: [...this.conversation], currentTurn: p2, lastAnswer: n2, lastQuestionRef: t3.ref, askedRefs: [...this.askedRefs] }, this.previewFlag()), this.log);
|
|
473
|
+
this.conversation.push(c2), this.currentTurn = null !== (e3 = h2.currentTurn) && void 0 !== e3 ? e3 : p2, h2.maxTurns && (this.maxTurns = h2.maxTurns), this.total = Math.max(this.maxTurns - 1, 0);
|
|
474
|
+
const f2 = (0, l.toAgentStep)(h2, this.adapterContext());
|
|
475
|
+
if ("END" === f2.kind) return void (yield this.renderEnd(f2));
|
|
462
476
|
if (this.maxTurns > 0 && this.currentTurn > this.maxTurns + 1) return void (yield this.renderEnd({ kind: "END", reason: "MAX_TURNS", currentTurn: this.currentTurn, maxTurns: this.maxTurns }));
|
|
463
|
-
this.acceptQuestion(
|
|
477
|
+
this.acceptQuestion(f2), this.renderStep(), this.persist(), this.formOptionsConfig.onAgentTurnEvent && (yield this.formOptionsConfig.onAgentTurnEvent({ turn: this.currentTurn, maxTurns: this.maxTurns, question: f2.question, isFromBase: f2.isFromBase, topic: f2.topic, coverageGaps: f2.coverageGaps, coverageSummary: f2.coverageSummary, conversation: this.getConversation() })), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent(Object.assign(Object.assign({ response: this.sessionId, loading: false, progress: this.progress, total: this.total }, this.totalFlags()), { completed: false, error: null })));
|
|
464
478
|
} catch (e4) {
|
|
465
479
|
yield this.handleTurnError(e4);
|
|
466
480
|
} finally {
|
|
467
481
|
this.completed || (this.busy = false, this.rateLimitTimer || this.setSubmitDisabled(false));
|
|
468
482
|
}
|
|
469
|
-
})
|
|
483
|
+
});
|
|
470
484
|
}
|
|
471
485
|
handleTurnError(e3) {
|
|
472
|
-
return a(this, void 0, void 0,
|
|
473
|
-
this.log.err(`An error occurred during the agent turn ${this.integrationId}:`, e3), e3 instanceof
|
|
474
|
-
})
|
|
486
|
+
return a(this, void 0, void 0, function* () {
|
|
487
|
+
this.log.err(`An error occurred during the agent turn ${this.integrationId}:`, e3), e3 instanceof n.AgentApiError && "RATE_LIMITED" === e3.kind ? this.startRateLimitCountdown(e3.retryAfterMs || 6e4) : this.showError(this.errorMessageFor(e3)), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent(Object.assign(Object.assign({ loading: false, progress: this.progress, total: this.total }, this.totalFlags()), { completed: false, error: e3 })));
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
validationError(e3, t3) {
|
|
491
|
+
var i3, a2, o2, n2;
|
|
492
|
+
if (Array.from(null !== (i3 = null == e3 ? void 0 : e3.querySelectorAll('input[type="email"]')) && void 0 !== i3 ? i3 : []).some((e4) => "" !== e4.value.trim() && !(0, c.validateEmail)(e4.value.trim()))) return this.log.err("Invalid email"), new u.SubmitError("INVALID_EMAIL", "Invalid email");
|
|
493
|
+
const s2 = Number(null === (a2 = t3.assets) || void 0 === a2 ? void 0 : a2.minOptions) || 0;
|
|
494
|
+
if (t3.require && s2 > 0 && t3.type === r.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE) {
|
|
495
|
+
const i4 = (null === (o2 = t3.assets) || void 0 === o2 ? void 0 : o2.exclusiveAnswers) || [], a3 = Array.from(null !== (n2 = null == e3 ? void 0 : e3.querySelectorAll(`input[name="${t3.ref}"]:checked`)) && void 0 !== n2 ? n2 : []).map((e4) => e4.value);
|
|
496
|
+
if (!a3.some((e4) => i4.includes(e4)) && a3.length < s2) return this.log.err(`The question ${t3.ref} requires at least ${s2} options`), new u.SubmitError("REQUIRED", "No response");
|
|
497
|
+
}
|
|
498
|
+
return null;
|
|
475
499
|
}
|
|
476
500
|
acceptQuestion(e3) {
|
|
477
|
-
const t3 = e3.question;
|
|
478
|
-
e3.isFromBase && t3.ref && !this.askedRefs.includes(t3.ref) && this.askedRefs.push(t3.ref), this.conversation.push({ role: "agent", content: t3.title, questionType: t3.type, questionRef: t3.ref }), this.currentQuestion = t3, this.questionHistory.push(t3), this.progress = Math.max(this.currentTurn - 1, 0);
|
|
501
|
+
const t3 = v(e3.question, this.baseQuestions.get(e3.question.ref));
|
|
502
|
+
e3.question = t3, e3.isFromBase && t3.ref && !this.askedRefs.includes(t3.ref) && this.askedRefs.push(t3.ref), this.conversation.push({ role: "agent", content: t3.title, questionType: t3.type, questionRef: t3.ref }), this.currentQuestion = t3, this.questionHistory.push(t3), this.progress = Math.max(this.currentTurn - 1, 0);
|
|
479
503
|
}
|
|
480
504
|
formId() {
|
|
481
505
|
return "magicfeedback-agent-" + this.integrationId;
|
|
@@ -485,46 +509,46 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
485
509
|
}
|
|
486
510
|
mountForm() {
|
|
487
511
|
var e3, t3;
|
|
488
|
-
const
|
|
489
|
-
this.primaryColor && (0,
|
|
512
|
+
const i3 = (0, p.generateContainer)(this.selector, this.integrationId);
|
|
513
|
+
this.primaryColor && (0, p.applyPrimaryColor)(i3, this.primaryColor), (0, p.applyColorMode)(i3, null === (e3 = this.integrationData) || void 0 === e3 ? void 0 : e3.style, null === (t3 = this.formOptionsConfig) || void 0 === t3 ? void 0 : t3.mode), (0, p.applyDirection)(i3, this.language);
|
|
490
514
|
const a2 = document.createElement("form");
|
|
491
|
-
a2.classList.add("magicfeedback-form"), a2.classList.add("magicfeedback-agent-form"), a2.id = this.formId(), a2.addEventListener("submit", (
|
|
515
|
+
a2.classList.add("magicfeedback-form"), a2.classList.add("magicfeedback-agent-form"), a2.id = this.formId(), a2.addEventListener("submit", (e4) => {
|
|
492
516
|
e4.preventDefault(), this.runTurn();
|
|
493
|
-
})
|
|
517
|
+
});
|
|
494
518
|
const r2 = document.createElement("div");
|
|
495
|
-
r2.classList.add("magicfeedback-questions"), r2.id = this.questionsId(), a2.appendChild(r2), this.formOptionsConfig.addButton && a2.appendChild((0,
|
|
519
|
+
r2.classList.add("magicfeedback-questions"), r2.id = this.questionsId(), a2.appendChild(r2), this.formOptionsConfig.addButton && a2.appendChild((0, h.renderActions)(this.formOptionsConfig.allowBack ? "MAGICSURVEY" : "MAGICFORM", () => this.back(), this.formOptionsConfig.sendButtonText || (0, f.t)(this.language, "action.send"), this.formOptionsConfig.backButtonText || (0, f.t)(this.language, "action.back"), this.formOptionsConfig.nextButtonText || (0, f.t)(this.language, "action.next"))), i3.appendChild(a2);
|
|
496
520
|
}
|
|
497
521
|
renderStep() {
|
|
498
522
|
const e3 = document.getElementById(this.questionsId());
|
|
499
|
-
e3 && this.currentQuestion && (e3.innerHTML = "", (0,
|
|
523
|
+
e3 && this.currentQuestion && (e3.innerHTML = "", (0, h.renderQuestions)([this.currentQuestion], this.formOptionsConfig.questionFormat, this.language, this.product, () => this.runTurn()).forEach((t3) => e3.appendChild(t3)), (0, g.armGhostTapGuard)(e3));
|
|
500
524
|
}
|
|
501
525
|
renderEnd(e3) {
|
|
502
|
-
return a(this, void 0, void 0,
|
|
526
|
+
return a(this, void 0, void 0, function* () {
|
|
503
527
|
this.completed = true, this.currentQuestion = null, this.busy = false, this.timeToCompleted = this.timeToCompleted ? Date.now() - this.timeToCompleted : 0, this.clearRateLimitTimer(), this.clearPersisted();
|
|
504
528
|
const t3 = document.getElementById("magicfeedback-container-" + this.integrationId);
|
|
505
529
|
if (t3 && false !== this.formOptionsConfig.addSuccessScreen) {
|
|
506
530
|
t3.innerHTML = "";
|
|
507
|
-
const
|
|
531
|
+
const i3 = "BLOCKED" === e3.reason ? this.formOptionsConfig.blockedMessage || (0, f.t)(this.language, "message.blocked") : this.formOptionsConfig.successMessage || (0, f.t)(this.language, "message.success"), a2 = (0, h.renderSuccess)(i3);
|
|
508
532
|
a2.classList.add("magicfeedback-success-message"), a2.classList.add("magicfeedback-agent-end"), "BLOCKED" === e3.reason && a2.classList.add("magicfeedback-agent-end--blocked"), t3.appendChild(a2);
|
|
509
533
|
}
|
|
510
|
-
this.formOptionsConfig.onFinishEvent && (yield this.formOptionsConfig.onFinishEvent({ sessionId: this.sessionId, reason: e3.reason, turns: this.currentTurn, maxTurns: this.maxTurns, conversation: this.getConversation(), coverageSummary: e3.coverageSummary, timeToCompleted: this.timeToCompleted })), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent({ response: this.sessionId, loading: false, progress: this.progress, total: this.total, completed: true, error: null }));
|
|
511
|
-
})
|
|
534
|
+
this.formOptionsConfig.onFinishEvent && (yield this.formOptionsConfig.onFinishEvent({ sessionId: this.sessionId, reason: e3.reason, turns: this.currentTurn, maxTurns: this.maxTurns, conversation: this.getConversation(), coverageSummary: e3.coverageSummary, timeToCompleted: this.timeToCompleted })), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent(Object.assign(Object.assign({ response: this.sessionId, loading: false, progress: this.progress, total: this.total }, this.totalFlags()), { completed: true, error: null })));
|
|
535
|
+
});
|
|
512
536
|
}
|
|
513
537
|
back() {
|
|
514
|
-
return a(this, void 0, void 0,
|
|
515
|
-
this.busy || this.completed || this.formOptionsConfig.allowBack && (this.questionHistory.length < 2 || (this.questionHistory.pop(), this.conversation.pop(), this.conversation.pop(), this.currentQuestion = this.questionHistory[this.questionHistory.length - 1], this.currentTurn = Math.max(this.currentTurn - 1, 1), this.progress = Math.max(this.currentTurn - 1, 0), this.clearError(), this.renderStep(), this.persist(), this.formOptionsConfig.onBackEvent && (yield this.formOptionsConfig.onBackEvent({ progress: this.progress, total: this.total }))));
|
|
516
|
-
})
|
|
538
|
+
return a(this, void 0, void 0, function* () {
|
|
539
|
+
this.busy || this.completed || this.formOptionsConfig.allowBack && (this.questionHistory.length < 2 || (this.questionHistory.pop(), this.conversation.pop(), this.conversation.pop(), this.currentQuestion = this.questionHistory[this.questionHistory.length - 1], this.currentTurn = Math.max(this.currentTurn - 1, 1), this.progress = Math.max(this.currentTurn - 1, 0), this.clearError(), this.renderStep(), this.persist(), this.formOptionsConfig.onBackEvent && (yield this.formOptionsConfig.onBackEvent(Object.assign({ progress: this.progress, total: this.total }, this.totalFlags())))));
|
|
540
|
+
});
|
|
517
541
|
}
|
|
518
542
|
renderFatal(e3) {
|
|
519
|
-
var t3,
|
|
543
|
+
var t3, i3;
|
|
520
544
|
try {
|
|
521
|
-
const a2 = (0,
|
|
522
|
-
(0,
|
|
545
|
+
const a2 = (0, p.generateContainer)(this.selector, this.integrationId);
|
|
546
|
+
(0, p.applyColorMode)(a2, null === (t3 = this.integrationData) || void 0 === t3 ? void 0 : t3.style, null === (i3 = this.formOptionsConfig) || void 0 === i3 ? void 0 : i3.mode), a2.appendChild((0, h.renderError)(this.errorMessageFor(e3)));
|
|
523
547
|
} catch (e4) {
|
|
524
548
|
}
|
|
525
549
|
}
|
|
526
550
|
errorMessageFor(e3) {
|
|
527
|
-
if (!(e3 instanceof
|
|
551
|
+
if (!(e3 instanceof n.AgentApiError)) return "Something went wrong. Please try again.";
|
|
528
552
|
switch (e3.kind) {
|
|
529
553
|
case "AUTH":
|
|
530
554
|
case "NOT_FOUND":
|
|
@@ -540,15 +564,15 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
540
564
|
return { integrationId: this.integrationId, sessionId: this.sessionId, language: this.language, log: this.log };
|
|
541
565
|
}
|
|
542
566
|
startWithRetry() {
|
|
543
|
-
return a(this, void 0, void 0,
|
|
567
|
+
return a(this, void 0, void 0, function* () {
|
|
544
568
|
const e3 = Object.assign({ publicKey: this.publicKey, privateKey: this.privateKey, integrationId: this.integrationId }, this.previewFlag());
|
|
545
569
|
try {
|
|
546
|
-
return yield (0,
|
|
570
|
+
return yield (0, s.startAgentSurvey)(this.url, e3, this.log);
|
|
547
571
|
} catch (t3) {
|
|
548
|
-
if (t3 instanceof
|
|
572
|
+
if (t3 instanceof n.AgentApiError && "AI_UNAVAILABLE" === t3.kind) return this.log.log("Retrying /start after a transient AI failure"), yield new Promise((e4) => setTimeout(e4, 1500)), yield (0, s.startAgentSurvey)(this.url, e3, this.log);
|
|
549
573
|
throw t3;
|
|
550
574
|
}
|
|
551
|
-
})
|
|
575
|
+
});
|
|
552
576
|
}
|
|
553
577
|
setSubmitDisabled(e3) {
|
|
554
578
|
const t3 = document.getElementById("magicfeedback-submit");
|
|
@@ -556,18 +580,36 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
556
580
|
}
|
|
557
581
|
clearError() {
|
|
558
582
|
const e3 = document.getElementById(this.questionsId());
|
|
559
|
-
null == e3 || e3.querySelectorAll(".magicfeedback-error").forEach((
|
|
583
|
+
null == e3 || e3.querySelectorAll(".magicfeedback-error").forEach((e4) => e4.remove()), null == e3 || e3.querySelectorAll('[aria-invalid="true"]').forEach((e4) => e4.removeAttribute("aria-invalid"));
|
|
560
584
|
}
|
|
561
585
|
showError(e3) {
|
|
562
586
|
const t3 = document.getElementById(this.questionsId());
|
|
563
|
-
t3 && (this.clearError(), t3.insertBefore((0,
|
|
587
|
+
t3 && (this.clearError(), t3.insertBefore((0, h.renderError)(e3), t3.firstChild));
|
|
588
|
+
}
|
|
589
|
+
showFieldError(e3) {
|
|
590
|
+
const t3 = document.getElementById(this.questionsId());
|
|
591
|
+
if (!t3) return;
|
|
592
|
+
this.clearError();
|
|
593
|
+
const i3 = "INVALID_EMAIL" === e3.code ? this.formOptionsConfig.invalidEmailMessage || (0, f.t)(this.language, "message.invalidEmail") : this.formOptionsConfig.requiredMessage || (0, f.t)(this.language, "message.required"), a2 = (0, h.renderError)(i3);
|
|
594
|
+
a2.classList.add("magicfeedback-error--field"), a2.dataset.code = e3.code, a2.setAttribute("role", "alert"), t3.appendChild(a2);
|
|
595
|
+
const r2 = "INVALID_EMAIL" === e3.code ? t3.querySelector('input[type="email"]') : null;
|
|
596
|
+
if (r2) {
|
|
597
|
+
r2.setAttribute("aria-invalid", "true");
|
|
598
|
+
const e4 = () => {
|
|
599
|
+
r2.removeAttribute("aria-invalid"), this.clearError();
|
|
600
|
+
};
|
|
601
|
+
r2.addEventListener("input", e4, { once: true });
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
totalFlags() {
|
|
605
|
+
return { totalIsEstimate: true, isDynamic: true };
|
|
564
606
|
}
|
|
565
607
|
startRateLimitCountdown(e3) {
|
|
566
608
|
this.clearRateLimitTimer(), this.setSubmitDisabled(true);
|
|
567
609
|
let t3 = Math.ceil(e3 / 1e3);
|
|
568
|
-
const
|
|
610
|
+
const i3 = this.formOptionsConfig.rateLimitMessage || (0, f.t)(this.language, "message.rateLimit"), a2 = () => {
|
|
569
611
|
if (t3 <= 0) return this.clearRateLimitTimer(), this.clearError(), void this.setSubmitDisabled(false);
|
|
570
|
-
this.showError(
|
|
612
|
+
this.showError(i3.replace("{seconds}", String(t3))), t3 -= 1;
|
|
571
613
|
};
|
|
572
614
|
a2(), this.rateLimitTimer = setInterval(a2, 1e3);
|
|
573
615
|
}
|
|
@@ -596,8 +638,8 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
596
638
|
try {
|
|
597
639
|
const t3 = localStorage.getItem(this.storageKey());
|
|
598
640
|
if (!t3) return null;
|
|
599
|
-
const
|
|
600
|
-
return (null ==
|
|
641
|
+
const i3 = JSON.parse(t3);
|
|
642
|
+
return (null == i3 ? void 0 : i3.sessionId) && (null === (e3 = i3.questionHistory) || void 0 === e3 ? void 0 : e3.length) ? Date.now() - (i3.savedAt || 0) > 18e5 ? (this.clearPersisted(), null) : (this.sessionId = i3.sessionId, this.conversation = i3.conversation || [], this.currentTurn = i3.currentTurn || 1, this.maxTurns = i3.maxTurns || 0, this.askedRefs = i3.askedRefs || [], this.questionHistory = i3.questionHistory, this.currentQuestion = this.questionHistory[this.questionHistory.length - 1], this.total = Math.max(this.maxTurns - 1, 0), this.progress = Math.max(this.currentTurn - 1, 0), i3) : null;
|
|
601
643
|
} catch (e4) {
|
|
602
644
|
return this.log.log("Could not restore the agent session", e4), null;
|
|
603
645
|
}
|
|
@@ -609,13 +651,13 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
609
651
|
}
|
|
610
652
|
}
|
|
611
653
|
applyIntegrationContext(e3) {
|
|
612
|
-
var t3,
|
|
613
|
-
this.integrationData = e3, (null === (t3 = null == e3 ? void 0 : e3.lang) || void 0 === t3 ? void 0 : t3.length) && (this.language = e3.lang[0]), (null == e3 ? void 0 : e3.product) && (this.product = e3.product), (null === (
|
|
654
|
+
var t3, i3;
|
|
655
|
+
this.integrationData = e3, this.baseQuestions = new Map(((null == e3 ? void 0 : e3.questions) || []).filter((e4) => null == e4 ? void 0 : e4.ref).map((e4) => [e4.ref, e4])), (null === (t3 = null == e3 ? void 0 : e3.lang) || void 0 === t3 ? void 0 : t3.length) && (this.language = e3.lang[0]), (null == e3 ? void 0 : e3.product) && (this.product = e3.product), (null === (i3 = null == e3 ? void 0 : e3.style) || void 0 === i3 ? void 0 : i3.primaryColor) && (this.primaryColor = e3.style.primaryColor);
|
|
614
656
|
}
|
|
615
|
-
};
|
|
616
|
-
},
|
|
657
|
+
}, t2.withBaseAssets = v, t2.keepExclusiveAnswer = b;
|
|
658
|
+
}, 3665(e2, t2) {
|
|
617
659
|
"use strict";
|
|
618
|
-
|
|
660
|
+
t2.Config = void 0, t2.Config = class {
|
|
619
661
|
constructor() {
|
|
620
662
|
this.variables = {}, this.variables.env = "prod", this.variables.debug = false, this.variables.dryRun = false;
|
|
621
663
|
}
|
|
@@ -626,10 +668,10 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
626
668
|
this.variables[e3] = t3;
|
|
627
669
|
}
|
|
628
670
|
};
|
|
629
|
-
},
|
|
671
|
+
}, 7057(e2, t2, i2) {
|
|
630
672
|
"use strict";
|
|
631
|
-
var a = this && this.__awaiter || function(e3, t3,
|
|
632
|
-
return new (
|
|
673
|
+
var a = this && this.__awaiter || function(e3, t3, i3, a2) {
|
|
674
|
+
return new (i3 || (i3 = Promise))(function(r2, o2) {
|
|
633
675
|
function n2(e4) {
|
|
634
676
|
try {
|
|
635
677
|
l2(a2.next(e4));
|
|
@@ -646,33 +688,33 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
646
688
|
}
|
|
647
689
|
function l2(e4) {
|
|
648
690
|
var t4;
|
|
649
|
-
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof
|
|
691
|
+
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) {
|
|
650
692
|
e5(t4);
|
|
651
|
-
}))
|
|
693
|
+
})).then(n2, s2);
|
|
652
694
|
}
|
|
653
695
|
l2((a2 = a2.apply(e3, t3 || [])).next());
|
|
654
|
-
})
|
|
696
|
+
});
|
|
655
697
|
};
|
|
656
|
-
Object.defineProperty(t2, "__esModule", { value: true }), t2.Form = void 0;
|
|
657
|
-
const r =
|
|
658
|
-
t2.Form = class {
|
|
659
|
-
constructor(e3, t3,
|
|
660
|
-
this.invalidEmail = false, this.urlAutoAdvanceChecked = false, this.config = e3, this.log = new n.Log(e3), this.formOptionsConfig = { addButton: true, addSuccessScreen: true, getMetaData: true, customMetaData: [], questionFormat: "standard" }, this.selector = "", this.appId = t3, this.publicKey =
|
|
698
|
+
Object.defineProperty(t2, "__esModule", { value: true }), t2.Form = t2.FOLLOWUP_PREFETCH_IDLE_MS = void 0;
|
|
699
|
+
const r = i2(5558), o = i2(7544), n = i2(9256), s = i2(2313), l = i2(7213), d = i2(5571), c = i2(4565), u = i2(3107), p = i2(1989), m = i2(9700), h = i2(2591), f = i2(3079), g = i2(4636), y = i2(881), v = i2(6471), b = i2(4039), E = i2(2195), k = i2(7321), A = i2(5146), T = i2(2224), C = [r.FEEDBACKAPPANSWERTYPE.INFO_PAGE, r.FEEDBACKAPPANSWERTYPE.PASSWORD, r.FEEDBACKAPPANSWERTYPE.EMAIL, r.FEEDBACKAPPANSWERTYPE.CONTACT, r.FEEDBACKAPPANSWERTYPE.UPLOAD_FILE, r.FEEDBACKAPPANSWERTYPE.UPLOAD_IMAGE, r.FEEDBACKAPPANSWERTYPE.MAX_DIFF];
|
|
700
|
+
t2.FOLLOWUP_PREFETCH_IDLE_MS = 800, t2.Form = class {
|
|
701
|
+
constructor(e3, t3, i3, a2, r2) {
|
|
702
|
+
this.invalidEmail = false, this.urlAutoAdvanceChecked = false, this.followUpPrefetches = /* @__PURE__ */ new Map(), this.followUpLatestAnswer = /* @__PURE__ */ new Map(), this.followUpPrefetchTimers = /* @__PURE__ */ new Map(), this.config = e3, this.log = new n.Log(e3), this.formOptionsConfig = { addButton: true, addSuccessScreen: true, getMetaData: true, customMetaData: [], questionFormat: "standard" }, this.selector = "", this.appId = t3, this.publicKey = i3 || "", this.url = e3.get("url"), this.id = "", this.formData = null, this.activeLang = null, this.feedback = { text: "", answers: [], profile: null != a2 ? a2 : [], metrics: [], metadata: null != r2 ? r2 : [] }, this.history = new f.History(), this.agentForm = null, this.graph = new p.PageGraph([]), this.progress = 0, this.total = 0, this.completed = false, this.sending = false, this.timeToCompleted = 0;
|
|
661
703
|
}
|
|
662
704
|
generate(e3, t3) {
|
|
663
|
-
var
|
|
664
|
-
return a(this, void 0, void 0,
|
|
705
|
+
var i3, r2, n2, l2, d2, c2, u2;
|
|
706
|
+
return a(this, void 0, void 0, function* () {
|
|
665
707
|
try {
|
|
666
708
|
this.formOptionsConfig = Object.assign(Object.assign({}, this.formOptionsConfig), t3), this.selector = e3;
|
|
667
709
|
let a2 = this.formData;
|
|
668
710
|
const p2 = (0, v.detectSurveyLang)((null == t3 ? void 0 : t3.lang) || this.config.get("lang"));
|
|
669
711
|
if (void 0 !== this.formData && this.formData || (a2 = "" !== this.publicKey ? yield (0, s.getForm)(this.url, this.appId, this.publicKey, this.log, p2) : yield (0, s.getSessionForm)(this.url, this.appId, this.log, p2)), void 0 === a2 || !a2) throw new Error(`No data for app ${this.appId}`);
|
|
670
|
-
if (null === (
|
|
712
|
+
if (null === (i3 = a2.error) || void 0 === i3 ? void 0 : i3.message) throw new Error(a2.error.message);
|
|
671
713
|
if ("AGENT" === a2.mode) return this.agentForm = new o.AgentForm(this.config, this.appId, this.publicKey), this.agentForm.applyIntegrationContext(a2), void (yield this.agentForm.generate(e3, t3));
|
|
672
|
-
if (a2.questions = (null === (r2 = a2.questions) || void 0 === r2 ? void 0 : r2.filter((
|
|
714
|
+
if (a2.questions = (null === (r2 = a2.questions) || void 0 === r2 ? void 0 : r2.filter((e4) => "ACTIVE" === e4.status)) || [], a2.pages = (null === (n2 = a2.pages) || void 0 === n2 ? void 0 : n2.filter((e4) => "ACTIVE" === e4.status)) || [], null === (l2 = a2.pages) || void 0 === l2 || l2.forEach((e4) => {
|
|
673
715
|
var t4;
|
|
674
|
-
return e4.integrationQuestions = null === (t4 = e4.integrationQuestions) || void 0 === t4 ? void 0 : t4.filter((
|
|
675
|
-
})
|
|
716
|
+
return e4.integrationQuestions = null === (t4 = e4.integrationQuestions) || void 0 === t4 ? void 0 : t4.filter((e5) => "ACTIVE" === e5.status);
|
|
717
|
+
}), this.formData = a2, this.activeLang = this.resolveActiveLang(p2), !this.formData.savedAt) {
|
|
676
718
|
this.formData.savedAt = /* @__PURE__ */ new Date();
|
|
677
719
|
try {
|
|
678
720
|
localStorage.setItem(`magicfeedback-${this.appId}-${this.lang()}`, JSON.stringify(this.formData));
|
|
@@ -681,38 +723,38 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
681
723
|
}
|
|
682
724
|
}
|
|
683
725
|
if (void 0 === this.formData.questions || !this.formData.questions) throw new Error(`No questions for app ${this.appId}`);
|
|
684
|
-
this.formData.pages && 0 !== (null === (d2 = this.formData.pages) || void 0 === d2 ? void 0 : d2.length) || this.formatPages(), null === (c2 = this.formData.questions) || void 0 === c2 || c2.sort((
|
|
726
|
+
this.formData.pages && 0 !== (null === (d2 = this.formData.pages) || void 0 === d2 ? void 0 : d2.length) || this.formatPages(), null === (c2 = this.formData.questions) || void 0 === c2 || c2.sort((e4, t4) => e4.position - t4.position), this.formData.pages = this.formData.pages.filter((e4) => {
|
|
685
727
|
var t4;
|
|
686
728
|
return (null === (t4 = e4.integrationQuestions) || void 0 === t4 ? void 0 : t4.length) > 0;
|
|
687
|
-
})
|
|
729
|
+
}), this.formOptionsConfig.getMetaData && this.getMetaData(), (null === (u2 = this.formData.style) || void 0 === u2 ? void 0 : u2.startMessage) ? yield this.generateWelcomeMessage(this.formData.style.startMessage) : this.generateForm("open");
|
|
688
730
|
} catch (e4) {
|
|
689
731
|
return this.log.err(e4), void (this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, error: e4 })));
|
|
690
732
|
}
|
|
691
|
-
})
|
|
733
|
+
});
|
|
692
734
|
}
|
|
693
|
-
previewPage(e3, t3,
|
|
735
|
+
previewPage(e3, t3, i3 = {}) {
|
|
694
736
|
var r2, o2, n2, s2, l2, d2, c2, u2, p2;
|
|
695
|
-
return a(this, void 0, void 0,
|
|
737
|
+
return a(this, void 0, void 0, function* () {
|
|
696
738
|
try {
|
|
697
739
|
if (!t3 || !t3.page) throw new Error("[MagicFeedback] No page provided for preview");
|
|
698
740
|
if (!t3.page.integrationQuestions || 0 === t3.page.integrationQuestions.length) throw new Error("[MagicFeedback] No questions provided for preview");
|
|
699
|
-
this.config.set("dryRun", true), this.formOptionsConfig = Object.assign(Object.assign(Object.assign({}, this.formOptionsConfig), { getMetaData: false }),
|
|
700
|
-
const a2 = (t3.page.integrationQuestions || []).filter((
|
|
741
|
+
this.config.set("dryRun", true), this.formOptionsConfig = Object.assign(Object.assign(Object.assign({}, this.formOptionsConfig), { getMetaData: false }), i3), this.selector = e3;
|
|
742
|
+
const a2 = (t3.page.integrationQuestions || []).filter((e4) => !e4.status || "ACTIVE" === e4.status).sort((e4, t4) => e4.position - t4.position), h2 = new m.Page(null !== (r2 = t3.page.id) && void 0 !== r2 ? r2 : "1", null !== (o2 = t3.page.position) && void 0 !== o2 ? o2 : 1, null !== (n2 = t3.appId) && void 0 !== n2 ? n2 : this.appId, a2, null !== (s2 = t3.page.integrationPageRoutes) && void 0 !== s2 ? s2 : []);
|
|
701
743
|
this.formData = { id: null !== (l2 = t3.appId) && void 0 !== l2 ? l2 : this.appId, identity: null !== (d2 = t3.identity) && void 0 !== d2 ? d2 : "MAGICFORM", lang: [null !== (c2 = t3.lang) && void 0 !== c2 ? c2 : "en"], product: null !== (u2 = t3.product) && void 0 !== u2 ? u2 : { customIcons: false }, style: null !== (p2 = t3.style) && void 0 !== p2 ? p2 : {}, questions: a2, pages: [h2] }, yield this.generateForm();
|
|
702
744
|
} catch (e4) {
|
|
703
745
|
return this.log.err(e4), void (this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, error: e4 })));
|
|
704
746
|
}
|
|
705
|
-
})
|
|
747
|
+
});
|
|
706
748
|
}
|
|
707
749
|
formatPages() {
|
|
708
750
|
var e3;
|
|
709
751
|
if (this.formData) switch (this.formData.identity) {
|
|
710
752
|
case "MAGICSURVEY":
|
|
711
|
-
this.formData.pages = [], null === (e3 = this.formData.questions) || void 0 === e3 || e3.forEach((
|
|
712
|
-
var t4,
|
|
753
|
+
this.formData.pages = [], null === (e3 = this.formData.questions) || void 0 === e3 || e3.forEach((e4) => {
|
|
754
|
+
var t4, i3;
|
|
713
755
|
const a2 = new h.PageRoute(e4.id, e4.ref, h.OperatorType.NOEQUAL, [], h.TransitionType.PAGE, (e4.position + 1).toString(), e4.position.toString()), r2 = new m.Page(e4.position.toString(), e4.position, this.appId, [e4], [a2]);
|
|
714
|
-
null === (
|
|
715
|
-
})
|
|
756
|
+
null === (i3 = null === (t4 = this.formData) || void 0 === t4 ? void 0 : t4.pages) || void 0 === i3 || i3.push(r2);
|
|
757
|
+
});
|
|
716
758
|
break;
|
|
717
759
|
case "MAGICFORM":
|
|
718
760
|
const t3 = new m.Page("1", 1, this.appId, this.formData.questions, []);
|
|
@@ -720,37 +762,37 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
720
762
|
}
|
|
721
763
|
}
|
|
722
764
|
generateContainer() {
|
|
723
|
-
var e3, t3,
|
|
765
|
+
var e3, t3, i3, a2;
|
|
724
766
|
const r2 = (0, c.generateContainer)(this.selector, this.appId), o2 = null === (t3 = null === (e3 = this.formData) || void 0 === e3 ? void 0 : e3.style) || void 0 === t3 ? void 0 : t3.primaryColor;
|
|
725
|
-
return o2 && (0, c.applyPrimaryColor)(r2, o2), (0, c.applyColorMode)(r2, null === (
|
|
767
|
+
return o2 && (0, c.applyPrimaryColor)(r2, o2), (0, c.applyColorMode)(r2, null === (i3 = this.formData) || void 0 === i3 ? void 0 : i3.style, null === (a2 = this.formOptionsConfig) || void 0 === a2 ? void 0 : a2.mode), (0, c.applyDirection)(r2, this.lang()), r2;
|
|
726
768
|
}
|
|
727
769
|
generateForm(e3 = "open") {
|
|
728
|
-
var t3,
|
|
729
|
-
return a(this, void 0, void 0,
|
|
770
|
+
var t3, i3, r2;
|
|
771
|
+
return a(this, void 0, void 0, function* () {
|
|
730
772
|
try {
|
|
731
773
|
if (!this.formData || !this.formData.pages || 0 === this.formData.pages.length) throw new Error("No form data");
|
|
732
|
-
this.graph = new p.PageGraph(this.formData.pages.sort((
|
|
774
|
+
this.graph = new p.PageGraph(this.formData.pages.sort((e4, t4) => e4.position - t4.position));
|
|
733
775
|
let a2 = this.generateContainer();
|
|
734
776
|
const o2 = document.createElement("form");
|
|
735
|
-
o2.classList.add("magicfeedback-form"), o2.id = "magicfeedback-" + this.appId, o2.addEventListener("submit", (
|
|
777
|
+
o2.classList.add("magicfeedback-form"), o2.id = "magicfeedback-" + this.appId, o2.addEventListener("submit", (e4) => e4.preventDefault());
|
|
736
778
|
const n2 = document.createElement("div");
|
|
737
779
|
n2.classList.add("magicfeedback-questions"), n2.id = "magicfeedback-questions-" + this.appId;
|
|
738
780
|
const s2 = this.graph.getFirstPage();
|
|
739
781
|
if (!s2) throw new Error("No page found");
|
|
740
|
-
if (this.total = this.graph.findMaxDepth(), s2.elements = (0, l.renderQuestions)(s2.questions, this.formOptionsConfig.questionFormat, this.lang(), null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.product, (
|
|
741
|
-
const e4 = (0, l.renderActions)(null === (r2 = this.formData) || void 0 === r2 ? void 0 : r2.identity, (
|
|
782
|
+
if (this.total = this.graph.findMaxDepth(), s2.elements = (0, l.renderQuestions)(s2.questions, this.formOptionsConfig.questionFormat, this.lang(), null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.product, () => this.autoSend()), null === (i3 = s2.elements) || void 0 === i3 || i3.forEach((e4) => n2.appendChild(e4)), o2.appendChild(n2), (0, b.armGhostTapGuard)(n2), this.listenForFollowUpPrefetch(n2), this.history.enqueue(s2), a2.appendChild(o2), this.progress = this.total - this.graph.findMaxDepth(s2), this.formOptionsConfig.addButton) {
|
|
783
|
+
const e4 = (0, l.renderActions)(null === (r2 = this.formData) || void 0 === r2 ? void 0 : r2.identity, () => this.back(), this.formOptionsConfig.sendButtonText || (0, y.t)(this.lang(), "action.send"), this.formOptionsConfig.backButtonText || (0, y.t)(this.lang(), "action.back"), this.formOptionsConfig.nextButtonText || (0, y.t)(this.lang(), "action.next"));
|
|
742
784
|
o2.appendChild(e4), this.syncBackButton();
|
|
743
785
|
}
|
|
744
|
-
this.formOptionsConfig.addButton && o2.addEventListener("submit", (
|
|
786
|
+
this.formOptionsConfig.addButton && o2.addEventListener("submit", (e4) => {
|
|
745
787
|
e4.preventDefault(), this.send();
|
|
746
|
-
})
|
|
788
|
+
}), this.timeToCompleted = Date.now();
|
|
747
789
|
const d2 = this.autoAdvanceFromUrl(n2, s2);
|
|
748
790
|
if (d2 && (n2.style.visibility = "hidden"), this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: d2, autoAdvancing: d2, progress: this.progress, total: this.total, formData: this.formData, lang: this.lang(), formOptionsConfig: this.formOptionsConfig })), d2) return void (yield this.autoSend());
|
|
749
791
|
this.autofocusAfterRender(e3);
|
|
750
792
|
} catch (e4) {
|
|
751
793
|
return this.log.err(e4), void (this.formOptionsConfig.onLoadedEvent && this.formOptionsConfig.onLoadedEvent({ loading: false, error: e4 }));
|
|
752
794
|
}
|
|
753
|
-
})
|
|
795
|
+
});
|
|
754
796
|
}
|
|
755
797
|
autoAdvanceFromUrl(e3, t3) {
|
|
756
798
|
return !(this.urlAutoAdvanceChecked || (this.urlAutoAdvanceChecked = true, !(0, k.autoAdvanceRequested)() || 1 !== t3.questions.length || !(0, k.answeredInput)(e3, t3.questions[0].ref)));
|
|
@@ -773,36 +815,36 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
773
815
|
return this.lang();
|
|
774
816
|
}
|
|
775
817
|
resolveActiveLang(e3) {
|
|
776
|
-
var t3,
|
|
818
|
+
var t3, i3;
|
|
777
819
|
const a2 = (null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.lang) || [];
|
|
778
|
-
return (null === (
|
|
820
|
+
return (null === (i3 = this.formData) || void 0 === i3 ? void 0 : i3.servedLang) ? this.formData.servedLang : e3 && a2.includes(e3) ? e3 : a2[0] || null;
|
|
779
821
|
}
|
|
780
822
|
generateWelcomeMessage(e3) {
|
|
781
|
-
return a(this, void 0, void 0,
|
|
823
|
+
return a(this, void 0, void 0, function* () {
|
|
782
824
|
try {
|
|
783
|
-
const t3 = this.generateContainer(),
|
|
784
|
-
t3.appendChild(
|
|
825
|
+
const t3 = this.generateContainer(), i3 = (0, l.renderStartMessage)(e3, this.formOptionsConfig.addButton, this.formOptionsConfig.startButtonText || (0, y.t)(this.lang(), "action.start"), () => this.startForm());
|
|
826
|
+
t3.appendChild(i3), this.formOptionsConfig.onLoadedEvent && (yield this.formOptionsConfig.onLoadedEvent({ loading: false, formData: this.formData, lang: this.lang() }));
|
|
785
827
|
} catch (e4) {
|
|
786
828
|
return this.log.err(e4), void (this.formOptionsConfig.onLoadedEvent && this.formOptionsConfig.onLoadedEvent({ loading: false, error: e4 }));
|
|
787
829
|
}
|
|
788
|
-
})
|
|
830
|
+
});
|
|
789
831
|
}
|
|
790
832
|
getMetaData() {
|
|
791
833
|
this.formOptionsConfig.customMetaData && (this.feedback.metadata = [...this.feedback.metadata, ...this.formOptionsConfig.customMetaData]), this.feedback.metadata.push({ key: "navigator-url", value: [window.location.href] }), this.feedback.metadata.push({ key: "navigator-origin", value: [window.location.origin] }), this.feedback.metadata.push({ key: "navigator-pathname", value: [window.location.pathname] }), this.feedback.metadata.push({ key: "navigator-search", value: [window.location.search] });
|
|
792
834
|
const e3 = new URLSearchParams(window.location.search);
|
|
793
|
-
Array.from(new Set(e3.keys())).forEach((
|
|
794
|
-
const
|
|
795
|
-
|
|
796
|
-
})
|
|
835
|
+
Array.from(new Set(e3.keys())).forEach((t3) => {
|
|
836
|
+
const i3 = e3.getAll(t3);
|
|
837
|
+
i3.length > 0 && this.feedback.metadata.push({ key: `query-${t3}`, value: i3 });
|
|
838
|
+
}), this.feedback.metadata.push({ key: "navigator-user", value: [navigator.userAgent] }), this.feedback.metadata.push({ key: "navigator-language", value: [navigator.language] }), this.feedback.metadata.push({ key: "navigator-platform", value: [navigator.platform] }), this.feedback.metadata.push({ key: "navigator-appVersion", value: [navigator.appVersion] }), this.feedback.metadata.push({ key: "navigator-appName", value: [navigator.appName] }), this.feedback.metadata.push({ key: "navigator-product", value: [navigator.product] }), this.feedback.metadata.push({ key: "screen-width", value: [window.screen.width.toString()] }), this.feedback.metadata.push({ key: "screen-height", value: [window.screen.height.toString()] }), this.appId && "" === this.publicKey && this.feedback.metadata.push({ key: "MAGICFEEDBACK_SESSION", value: [this.appId] });
|
|
797
839
|
}
|
|
798
|
-
send(e3, t3,
|
|
840
|
+
send(e3, t3, i3, o2) {
|
|
799
841
|
var n2, s2;
|
|
800
|
-
return a(this, void 0, void 0,
|
|
842
|
+
return a(this, void 0, void 0, function* () {
|
|
801
843
|
if (this.agentForm) return this.agentForm.next();
|
|
802
844
|
const a2 = document.getElementById("magicfeedback-questions-" + this.appId);
|
|
803
845
|
(0, k.cancelAutoAdvance)(a2), this.sending = true;
|
|
804
846
|
try {
|
|
805
|
-
if (
|
|
847
|
+
if (i3 && (this.feedback.profile = [...this.feedback.profile, ...i3]), t3 && (this.feedback.metrics = [...this.feedback.metrics, ...t3]), e3 && (this.feedback.metadata = [...this.feedback.metadata, ...e3]), o2) {
|
|
806
848
|
this.feedback.answers = [...this.feedback.answers, ...o2], this.formOptionsConfig.beforeSubmitEvent && (yield this.formOptionsConfig.beforeSubmitEvent({ loading: true, progress: this.progress, total: this.total }));
|
|
807
849
|
const e4 = yield this.pushAnswers(false);
|
|
808
850
|
if (!e4) throw new A.SubmitError("SEND_FAILED", "No response");
|
|
@@ -811,27 +853,27 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
811
853
|
if (yield (0, d.awaitUploadReady)(a2), this.answer(), this.formOptionsConfig.beforeSubmitEvent && (yield this.formOptionsConfig.beforeSubmitEvent({ loading: true, progress: this.progress, total: this.total })), this.invalidEmail) throw new A.SubmitError("INVALID_EMAIL", "Invalid email");
|
|
812
854
|
const l2 = this.history.back();
|
|
813
855
|
if (!l2) throw new A.SubmitError("NO_PAGE", "No page found");
|
|
814
|
-
for (const e4 of l2.questions.filter((
|
|
815
|
-
const t4 = e4.assets,
|
|
816
|
-
if (0 ===
|
|
856
|
+
for (const e4 of l2.questions.filter((e5) => e5.require && ![r.FEEDBACKAPPANSWERTYPE.CONSENT, r.FEEDBACKAPPANSWERTYPE.INFO_PAGE].includes(e5.type))) {
|
|
857
|
+
const t4 = e4.assets, i4 = this.feedback.answers.filter((t5) => t5.key.includes(e4.ref) && !t5.key.includes("extra-option"));
|
|
858
|
+
if (0 === i4.length || i4.find((e5) => 0 === e5.value.length)) throw this.log.err(`The question ${e4.ref} is required`), new A.SubmitError("REQUIRED", "No response");
|
|
817
859
|
if (null == t4 ? void 0 : t4.minOptions) {
|
|
818
860
|
let a3 = [];
|
|
819
|
-
if ((null == t4 ? void 0 : t4.exclusiveAnswers) && (a3 = null == t4 ? void 0 : t4.exclusiveAnswers), !
|
|
861
|
+
if ((null == t4 ? void 0 : t4.exclusiveAnswers) && (a3 = null == t4 ? void 0 : t4.exclusiveAnswers), !i4[0].value.find((e5) => a3.includes(e5)) && i4[0].value.length < (null == t4 ? void 0 : t4.minOptions)) throw this.log.err(`The question ${e4.ref} requires at least ${null == t4 ? void 0 : t4.minOptions} options`), new A.SubmitError("REQUIRED", "No response");
|
|
820
862
|
}
|
|
821
863
|
if (e4.type === r.FEEDBACKAPPANSWERTYPE.MAX_DIFF) {
|
|
822
|
-
const t5 = null !== (s2 = null === (n2 = e4.assets) || void 0 === n2 ? void 0 : n2.setIndex) && void 0 !== s2 ? s2 : 1,
|
|
823
|
-
if (!(null ==
|
|
864
|
+
const t5 = null !== (s2 = null === (n2 = e4.assets) || void 0 === n2 ? void 0 : n2.setIndex) && void 0 !== s2 ? s2 : 1, i5 = this.parseMaxDiffAnswer(this.feedback.answers.find((t6) => t6.key === e4.ref)).find((e5) => e5.set === t5);
|
|
865
|
+
if (!(null == i5 ? void 0 : i5.best) || !(null == i5 ? void 0 : i5.worst)) throw this.log.err(`The MaxDiff question ${e4.ref} requires the most and the least important`), new A.SubmitError("REQUIRED", "No response");
|
|
824
866
|
}
|
|
825
867
|
if (e4.type === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) {
|
|
826
|
-
const
|
|
827
|
-
if (!
|
|
828
|
-
const a3 = this.parseMatrixAnswerPre(
|
|
868
|
+
const i5 = this.feedback.answers.find((t5) => t5.key === e4.ref);
|
|
869
|
+
if (!i5) throw this.log.err(`The matrix question ${e4.ref} is required`), new A.SubmitError("REQUIRED", "No response");
|
|
870
|
+
const a3 = this.parseMatrixAnswerPre(i5), r2 = Array.isArray(null == t4 ? void 0 : t4.options) ? t4.options : [];
|
|
829
871
|
if (r2.length > 0) {
|
|
830
|
-
if (r2.find((
|
|
831
|
-
const t5 = a3.find((
|
|
872
|
+
if (r2.find((e5) => {
|
|
873
|
+
const t5 = a3.find((t6) => t6.key === e5);
|
|
832
874
|
return !t5 || !Array.isArray(t5.value) || 0 === t5.value.length;
|
|
833
|
-
}))
|
|
834
|
-
} else if (0 === a3.length || a3.some((
|
|
875
|
+
})) throw this.log.err(`The matrix question ${e4.ref} requires an answer in every row`), new A.SubmitError("REQUIRED", "No response");
|
|
876
|
+
} else if (0 === a3.length || a3.some((e5) => !Array.isArray(e5.value) || 0 === e5.value.length)) throw this.log.err(`The matrix question ${e4.ref} requires an answer in every row`), new A.SubmitError("REQUIRED", "No response");
|
|
835
877
|
}
|
|
836
878
|
}
|
|
837
879
|
const c2 = yield this.pushAnswers(false);
|
|
@@ -842,7 +884,7 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
842
884
|
} finally {
|
|
843
885
|
this.sending = false, null == a2 || a2.style.removeProperty("visibility");
|
|
844
886
|
}
|
|
845
|
-
})
|
|
887
|
+
});
|
|
846
888
|
}
|
|
847
889
|
autoSend() {
|
|
848
890
|
if (!this.sending) return this.send();
|
|
@@ -850,18 +892,18 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
850
892
|
answer() {
|
|
851
893
|
const e3 = "magicfeedback-" + this.appId, t3 = document.getElementById(e3);
|
|
852
894
|
if (!t3) return this.log.err(`Form "${e3}" not found.`), this.feedback.answers = [], [];
|
|
853
|
-
const
|
|
854
|
-
if (!
|
|
895
|
+
const i3 = this.history.back();
|
|
896
|
+
if (!i3) return this.feedback.answers = (0, u.scrapeInputs)(t3), this.feedback.answers;
|
|
855
897
|
const a2 = [];
|
|
856
898
|
let o2 = false;
|
|
857
899
|
this.invalidEmail = false;
|
|
858
900
|
const n2 = t3.querySelectorAll(".magicfeedback-input"), l2 = {}, c2 = {}, p2 = {}, m2 = {};
|
|
859
|
-
if (n2.forEach((
|
|
901
|
+
if (n2.forEach((e4) => {
|
|
860
902
|
var t4, n3;
|
|
861
|
-
const u2 = e4, h3 =
|
|
903
|
+
const u2 = e4, h3 = i3.questions.find((e5) => {
|
|
862
904
|
var t5;
|
|
863
905
|
return null === (t5 = u2.name) || void 0 === t5 ? void 0 : t5.includes(e5.ref);
|
|
864
|
-
})
|
|
906
|
+
}), f2 = u2.type, g2 = u2.classList[0], y2 = { key: u2.name, value: [] }, v2 = "magicfeedback-consent" === g2 ? u2.checked.toString() : u2.value;
|
|
865
907
|
if (y2.key && "" !== y2.key) if (y2.key.startsWith("extra-option-")) "" !== v2 && (y2.value.push(v2), a2.push(y2));
|
|
866
908
|
else switch (null == h3 ? void 0 : h3.type) {
|
|
867
909
|
case r.FEEDBACKAPPANSWERTYPE.EMAIL:
|
|
@@ -908,8 +950,8 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
908
950
|
const e5 = y2.key === `${h3.ref}-best` ? "best" : y2.key === `${h3.ref}-worst` ? "worst" : null;
|
|
909
951
|
if (!e5) break;
|
|
910
952
|
m2[h3.ref] || (m2[h3.ref] = { set: null !== (n3 = null === (t4 = h3.assets) || void 0 === t4 ? void 0 : t4.setIndex) && void 0 !== n3 ? n3 : 1, shown: [], best: null, worst: null });
|
|
911
|
-
const
|
|
912
|
-
"best" === e5 &&
|
|
953
|
+
const i4 = m2[h3.ref];
|
|
954
|
+
"best" === e5 && i4.shown.push(v2), u2.checked && (i4[e5] = v2);
|
|
913
955
|
break;
|
|
914
956
|
}
|
|
915
957
|
case r.FEEDBACKAPPANSWERTYPE.UPLOAD_IMAGE:
|
|
@@ -919,65 +961,65 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
919
961
|
break;
|
|
920
962
|
}
|
|
921
963
|
}
|
|
922
|
-
})
|
|
923
|
-
Object.entries(c2).forEach((
|
|
964
|
+
}), o2) return [];
|
|
965
|
+
Object.entries(c2).forEach(([e4, t4]) => {
|
|
924
966
|
t4 && 0 !== t4.length && a2.push({ key: e4, value: t4 });
|
|
925
|
-
})
|
|
967
|
+
}), Object.entries(p2).forEach(([e4, t4]) => {
|
|
926
968
|
t4 && 0 !== t4.length && a2.push({ key: e4, value: t4 });
|
|
927
|
-
})
|
|
969
|
+
}), Object.entries(l2).forEach(([e4, t4]) => {
|
|
928
970
|
if (!t4 || 0 === t4.length) return;
|
|
929
|
-
const
|
|
930
|
-
a2.push({ key: e4, value:
|
|
931
|
-
})
|
|
971
|
+
const i4 = t4.slice().sort((e5, t5) => Number(e5.split(".")[0]) - Number(t5.split(".")[0]));
|
|
972
|
+
a2.push({ key: e4, value: i4 });
|
|
973
|
+
}), Object.entries(m2).forEach(([e4, t4]) => {
|
|
932
974
|
(t4.best || t4.worst) && a2.push({ key: e4, value: [JSON.stringify([t4])] });
|
|
933
|
-
})
|
|
975
|
+
});
|
|
934
976
|
try {
|
|
935
|
-
|
|
936
|
-
const t4 = e4.ref + "-",
|
|
937
|
-
if (0 ===
|
|
938
|
-
const r2 =
|
|
939
|
-
for (const e5 of
|
|
940
|
-
const t5 = a2.findIndex((
|
|
977
|
+
i3.questions.filter((e4) => e4.type === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX).forEach((e4) => {
|
|
978
|
+
const t4 = e4.ref + "-", i4 = a2.filter((e5) => e5.key.startsWith(t4));
|
|
979
|
+
if (0 === i4.length) return;
|
|
980
|
+
const r2 = i4.map((e5) => ({ key: e5.key.substring(t4.length), value: e5.value })), o3 = { key: e4.ref, value: [JSON.stringify(r2)] };
|
|
981
|
+
for (const e5 of i4) {
|
|
982
|
+
const t5 = a2.findIndex((t6) => t6.key === e5.key);
|
|
941
983
|
-1 !== t5 && a2.splice(t5, 1);
|
|
942
984
|
}
|
|
943
|
-
const n3 = a2.findIndex((
|
|
985
|
+
const n3 = a2.findIndex((t5) => t5.key === e4.ref);
|
|
944
986
|
-1 !== n3 ? a2[n3] = o3 : a2.push(o3);
|
|
945
|
-
})
|
|
987
|
+
});
|
|
946
988
|
} catch (e4) {
|
|
947
989
|
this.log.err("Error agrupando MULTI_QUESTION_MATRIX", e4);
|
|
948
990
|
}
|
|
949
|
-
const h2 = this.withEarlierMaxDiffSets((0, v.toBaseAnswers)(a2,
|
|
950
|
-
return this.feedback.answers = h2,
|
|
991
|
+
const h2 = this.withEarlierMaxDiffSets((0, v.toBaseAnswers)(a2, i3.questions), i3.questions);
|
|
992
|
+
return this.feedback.answers = h2, i3.setAnswer(h2), h2;
|
|
951
993
|
}
|
|
952
994
|
withEarlierMaxDiffSets(e3, t3) {
|
|
953
|
-
return e3.map((
|
|
954
|
-
if (!t3.some((
|
|
955
|
-
const
|
|
995
|
+
return e3.map((e4) => {
|
|
996
|
+
if (!t3.some((t4) => t4.ref === e4.key && t4.type === r.FEEDBACKAPPANSWERTYPE.MAX_DIFF)) return e4;
|
|
997
|
+
const i3 = this.parseMaxDiffAnswer(e4), a2 = [...this.parseMaxDiffAnswer(this.earlierAnswer(e4.key)).filter((e5) => !i3.some((t4) => t4.set === e5.set)), ...i3].sort((e5, t4) => e5.set - t4.set);
|
|
956
998
|
return Object.assign(Object.assign({}, e4), { value: [JSON.stringify(a2)] });
|
|
957
|
-
})
|
|
999
|
+
});
|
|
958
1000
|
}
|
|
959
1001
|
earlierAnswer(e3) {
|
|
960
|
-
var t3,
|
|
1002
|
+
var t3, i3;
|
|
961
1003
|
for (let a2 = this.history.size() - 2; a2 >= 0; a2--) {
|
|
962
|
-
const r2 = null === (
|
|
1004
|
+
const r2 = null === (i3 = null === (t3 = this.history.get(a2)) || void 0 === t3 ? void 0 : t3.answers) || void 0 === i3 ? void 0 : i3.find((t4) => t4.key === e3);
|
|
963
1005
|
if (r2) return r2;
|
|
964
1006
|
}
|
|
965
1007
|
}
|
|
966
1008
|
endScreen() {
|
|
967
1009
|
var e3, t3;
|
|
968
1010
|
if (!this.endScreenId) return null;
|
|
969
|
-
const
|
|
1011
|
+
const i3 = null === (t3 = null === (e3 = this.formData) || void 0 === e3 ? void 0 : e3.style) || void 0 === t3 ? void 0 : t3.endScreens, a2 = Array.isArray(i3) ? i3.find((e4) => (null == e4 ? void 0 : e4.id) === this.endScreenId) : void 0;
|
|
970
1012
|
return a2 ? { id: a2.id, message: "string" == typeof a2.message ? a2.message : "" } : null;
|
|
971
1013
|
}
|
|
972
1014
|
finish() {
|
|
973
|
-
return a(this, void 0, void 0,
|
|
1015
|
+
return a(this, void 0, void 0, function* () {
|
|
974
1016
|
this.completed = true, this.timeToCompleted = Date.now() - this.timeToCompleted, this.feedback.metadata.push({ key: "time-to-complete", value: [this.timeToCompleted.toString()] });
|
|
975
1017
|
const e3 = this.endScreen();
|
|
976
1018
|
if (e3 && this.feedback.metadata.push({ key: "end-screen", value: [e3.id] }), this.formOptionsConfig.addSuccessScreen) {
|
|
977
|
-
const
|
|
978
|
-
|
|
1019
|
+
const i3 = document.getElementById("magicfeedback-container-" + this.appId);
|
|
1020
|
+
i3.childNodes.length > 0 && i3.removeChild(i3.childNodes[0]);
|
|
979
1021
|
const a2 = (0, l.renderSuccess)(((t3 = null == e3 ? void 0 : e3.message) ? (new DOMParser().parseFromString(t3, "text/html").body.textContent || "").trim() : "") || this.formOptionsConfig.successMessage || (0, y.t)(this.lang(), "message.success"));
|
|
980
|
-
|
|
1022
|
+
i3.appendChild(a2);
|
|
981
1023
|
}
|
|
982
1024
|
var t3;
|
|
983
1025
|
this.feedback.answers = [];
|
|
@@ -991,98 +1033,141 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
991
1033
|
} catch (t4) {
|
|
992
1034
|
this.log.err(`An error occurred while submitting the form ${this.appId}:`, t4), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent({ loading: false, progress: this.progress, total: this.total, completed: this.completed, endScreen: e3, error: t4 }));
|
|
993
1035
|
}
|
|
994
|
-
})
|
|
1036
|
+
});
|
|
995
1037
|
}
|
|
996
1038
|
pushAnswers(e3 = false) {
|
|
997
|
-
return a(this, void 0, void 0,
|
|
1039
|
+
return a(this, void 0, void 0, function* () {
|
|
998
1040
|
try {
|
|
999
1041
|
if (this.config.get("dryRun")) {
|
|
1000
1042
|
const e4 = this.id || `dry-run-${this.appId}-${Date.now()}`;
|
|
1001
1043
|
return this.log.log(`Dry run enabled: skipping feedback submit for form ${this.appId}`), e4;
|
|
1002
1044
|
}
|
|
1003
|
-
const t3 = this.config.get("url"),
|
|
1004
|
-
return yield (0, s.sendFeedback)(t3, this.id ? Object.assign(Object.assign({},
|
|
1045
|
+
const t3 = this.config.get("url"), i3 = { integration: this.appId, publicKey: this.publicKey, feedback: this.feedback, completed: e3, lang: this.lang() };
|
|
1046
|
+
return yield (0, s.sendFeedback)(t3, this.id ? Object.assign(Object.assign({}, i3), { sessionId: this.id }) : i3, this.log);
|
|
1005
1047
|
} catch (e4) {
|
|
1006
1048
|
return this.log.err(`An error occurred while submitting the form ${this.appId}:`, e4), "";
|
|
1007
1049
|
}
|
|
1008
|
-
})
|
|
1050
|
+
});
|
|
1009
1051
|
}
|
|
1010
1052
|
callFollowUpQuestion(e3) {
|
|
1011
|
-
var t3,
|
|
1012
|
-
return a(this, void 0, void 0,
|
|
1053
|
+
var t3, i3;
|
|
1054
|
+
return a(this, void 0, void 0, function* () {
|
|
1013
1055
|
if (!(null == e3 ? void 0 : e3.followup)) return null;
|
|
1014
|
-
const a2 = null !== (t3 = this.feedback.answers.find((
|
|
1056
|
+
const a2 = null !== (t3 = this.feedback.answers.find((t4) => t4.key === e3.ref)) && void 0 !== t3 ? t3 : this.feedback.answers.find((t4) => t4.key.includes(e3.ref) && !t4.key.includes("extra-option")), r2 = null === (i3 = null == a2 ? void 0 : a2.value) || void 0 === i3 ? void 0 : i3.find((e4) => null != e4 && "" !== e4);
|
|
1015
1057
|
if (void 0 === r2) return this.log.log(`The question ${e3.ref} has no answer, skipping its follow up`), null;
|
|
1058
|
+
this.cancelFollowUpPrefetchTimer(e3.ref);
|
|
1059
|
+
const o2 = this.followUpPrefetches.get(e3.ref);
|
|
1060
|
+
return o2 && o2.answer === r2 ? (this.log.log(`Using the follow up of ${e3.ref} asked for while typing`), yield o2.promise) : yield this.requestFollowUp(e3, r2);
|
|
1061
|
+
});
|
|
1062
|
+
}
|
|
1063
|
+
requestFollowUp(e3, t3) {
|
|
1064
|
+
return a(this, void 0, void 0, function* () {
|
|
1016
1065
|
try {
|
|
1017
|
-
const
|
|
1018
|
-
return yield (0, s.getFollowUpQuestion)(
|
|
1066
|
+
const i3 = this.config.get("url"), a2 = Object.assign(Object.assign(Object.assign({ answer: t3 }, "" !== this.publicKey && { publicKey: this.publicKey }), "" === this.publicKey && { campaignSessionId: this.appId }), { sessionId: this.id, question: e3, previousAnswers: this.previousAnswers(e3), upcomingQuestions: this.upcomingQuestions() });
|
|
1067
|
+
return yield (0, s.getFollowUpQuestion)(i3, a2, this.log);
|
|
1019
1068
|
} catch (t4) {
|
|
1020
1069
|
return this.log.err(`An error occurred while requesting the follow up of ${e3.ref} in the form ${this.appId}:`, t4), null;
|
|
1021
1070
|
}
|
|
1022
|
-
})
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
listenForFollowUpPrefetch(e3) {
|
|
1074
|
+
e3.addEventListener("input", (e4) => this.onFollowUpTyping(e4.target, false)), e3.addEventListener("focusout", (e4) => this.onFollowUpTyping(e4.target, true));
|
|
1075
|
+
}
|
|
1076
|
+
onFollowUpTyping(e3, i3) {
|
|
1077
|
+
const a2 = this.followUpQuestionOf(e3);
|
|
1078
|
+
if (!a2) return;
|
|
1079
|
+
const r2 = e3;
|
|
1080
|
+
this.cancelFollowUpPrefetchTimer(a2.ref), i3 ? this.prefetchFollowUp(a2, r2.value) : this.followUpPrefetchTimers.set(a2.ref, setTimeout(() => {
|
|
1081
|
+
this.followUpPrefetchTimers.delete(a2.ref), this.prefetchFollowUp(a2, r2.value);
|
|
1082
|
+
}, t2.FOLLOWUP_PREFETCH_IDLE_MS));
|
|
1083
|
+
}
|
|
1084
|
+
followUpQuestionOf(e3) {
|
|
1085
|
+
if (this.agentForm) return null;
|
|
1086
|
+
if (!(e3 instanceof HTMLInputElement || e3 instanceof HTMLTextAreaElement)) return null;
|
|
1087
|
+
const t3 = this.history.back();
|
|
1088
|
+
if (!t3 || t3.isFollowup) return null;
|
|
1089
|
+
const i3 = t3.questions.find((t4) => t4.ref === e3.name);
|
|
1090
|
+
return (null == i3 ? void 0 : i3.followup) && [r.FEEDBACKAPPANSWERTYPE.TEXT, r.FEEDBACKAPPANSWERTYPE.LONGTEXT].includes(i3.type) ? i3 : null;
|
|
1091
|
+
}
|
|
1092
|
+
cancelFollowUpPrefetchTimer(e3) {
|
|
1093
|
+
const t3 = this.followUpPrefetchTimers.get(e3);
|
|
1094
|
+
void 0 !== t3 && clearTimeout(t3), this.followUpPrefetchTimers.delete(e3);
|
|
1095
|
+
}
|
|
1096
|
+
prefetchFollowUp(e3, t3) {
|
|
1097
|
+
if (this.followUpLatestAnswer.set(e3.ref, t3), "" === t3.trim()) return;
|
|
1098
|
+
const i3 = this.followUpPrefetches.get(e3.ref);
|
|
1099
|
+
if ((null == i3 ? void 0 : i3.answer) === t3) return;
|
|
1100
|
+
if (i3 && !i3.done) return;
|
|
1101
|
+
const a2 = { answer: t3, done: false, promise: Promise.resolve(null) };
|
|
1102
|
+
a2.promise = this.requestFollowUp(e3, t3).then((i4) => {
|
|
1103
|
+
var r2;
|
|
1104
|
+
a2.done = true;
|
|
1105
|
+
const o2 = this.followUpLatestAnswer.get(e3.ref), n2 = null === (r2 = this.history.back()) || void 0 === r2 ? void 0 : r2.questions.some((t4) => t4.ref === e3.ref);
|
|
1106
|
+
return void 0 !== o2 && o2 !== t3 && n2 && this.prefetchFollowUp(e3, o2), i4;
|
|
1107
|
+
}), this.followUpPrefetches.set(e3.ref, a2);
|
|
1023
1108
|
}
|
|
1024
1109
|
previousAnswers(e3) {
|
|
1025
1110
|
var t3;
|
|
1026
|
-
const
|
|
1111
|
+
const i3 = /* @__PURE__ */ new Map();
|
|
1027
1112
|
for (let a2 = 0; a2 < this.history.size(); a2++) {
|
|
1028
1113
|
const r2 = this.history.get(a2);
|
|
1029
1114
|
if (r2) for (const a3 of r2.questions) {
|
|
1030
1115
|
if (a3.ref === e3.ref) continue;
|
|
1031
1116
|
if (C.includes(a3.type)) continue;
|
|
1032
|
-
const o2 = this.followUpAnswerValue(a3, null === (t3 = r2.answers) || void 0 === t3 ? void 0 : t3.find((
|
|
1033
|
-
void 0 !== o2 && (
|
|
1117
|
+
const o2 = this.followUpAnswerValue(a3, null === (t3 = r2.answers) || void 0 === t3 ? void 0 : t3.find((e4) => e4.key === a3.ref));
|
|
1118
|
+
void 0 !== o2 && (i3.delete(a3.ref), i3.set(a3.ref, { title: a3.title, answer: o2 }));
|
|
1034
1119
|
}
|
|
1035
1120
|
}
|
|
1036
|
-
return [...
|
|
1121
|
+
return [...i3.values()];
|
|
1037
1122
|
}
|
|
1038
1123
|
followUpAnswerValue(e3, t3) {
|
|
1039
|
-
var
|
|
1040
|
-
const a2 = (null !== (
|
|
1124
|
+
var i3;
|
|
1125
|
+
const a2 = (null !== (i3 = null == t3 ? void 0 : t3.value) && void 0 !== i3 ? i3 : []).filter((e4) => null != e4 && "" !== e4);
|
|
1041
1126
|
if (0 === a2.length) return;
|
|
1042
1127
|
if (e3.type === r.FEEDBACKAPPANSWERTYPE.BOOLEAN && 1 === a2.length && ["Yes", "No"].includes(a2[0])) return "Yes" === a2[0];
|
|
1043
1128
|
if (e3.type === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) {
|
|
1044
|
-
const t4 = this.parseMatrixAnswerPre({ key: e3.ref, value: a2 }).map((
|
|
1129
|
+
const t4 = this.parseMatrixAnswerPre({ key: e3.ref, value: a2 }).map((e4) => `${e4.key}: ${(Array.isArray(e4.value) ? e4.value : [e4.value]).join(", ")}`);
|
|
1045
1130
|
return t4.length > 0 ? t4 : void 0;
|
|
1046
1131
|
}
|
|
1047
|
-
const o2 = a2.map((
|
|
1132
|
+
const o2 = a2.map((e4) => "string" == typeof e4 ? e4 : JSON.stringify(e4));
|
|
1048
1133
|
return 1 === o2.length ? o2[0] : o2;
|
|
1049
1134
|
}
|
|
1050
1135
|
upcomingQuestions() {
|
|
1051
1136
|
var e3, t3;
|
|
1052
|
-
const
|
|
1053
|
-
if (!
|
|
1137
|
+
const i3 = this.history.back();
|
|
1138
|
+
if (!i3) return [];
|
|
1054
1139
|
const a2 = [], o2 = /* @__PURE__ */ new Set(), n2 = /* @__PURE__ */ new Set();
|
|
1055
|
-
let s2 =
|
|
1140
|
+
let s2 = i3.isFollowup && i3.origin ? i3.origin : i3, l2 = null !== (e3 = s2.answers) && void 0 !== e3 ? e3 : [];
|
|
1056
1141
|
for (; !n2.has(s2.id); ) {
|
|
1057
1142
|
let e4;
|
|
1058
1143
|
if (n2.add(s2.id), l2) {
|
|
1059
|
-
const
|
|
1060
|
-
e4 =
|
|
1144
|
+
const i5 = this.graph.findRoute(s2, l2);
|
|
1145
|
+
e4 = i5 ? i5.transition === h.TransitionType.PAGE && null !== (t3 = i5.transitionDestiny) && void 0 !== t3 ? t3 : void 0 : this.graph.getNextEdgeByDefault(s2);
|
|
1061
1146
|
} else {
|
|
1062
|
-
if (s2.edges.some((
|
|
1147
|
+
if (s2.edges.some((e5) => e5.typeCondition !== h.ConditionType.DIRECT && e5.typeCondition !== h.ConditionType.PRECONDITIONAL)) break;
|
|
1063
1148
|
e4 = this.graph.getNextEdgeByDefault(s2);
|
|
1064
1149
|
}
|
|
1065
|
-
const
|
|
1066
|
-
if (!
|
|
1067
|
-
if (
|
|
1068
|
-
if (this.skipsByPreconditions(
|
|
1150
|
+
const i4 = e4 ? this.graph.getNodeById(e4) : void 0;
|
|
1151
|
+
if (!i4) break;
|
|
1152
|
+
if (i4.edges.filter((e5) => e5.typeCondition === h.ConditionType.PRECONDITIONAL).some((e5) => !this.latestAnswer(e5.questionRef))) break;
|
|
1153
|
+
if (this.skipsByPreconditions(i4)) s2 = i4, l2 = [];
|
|
1069
1154
|
else {
|
|
1070
|
-
for (const e5 of
|
|
1071
|
-
s2 =
|
|
1155
|
+
for (const e5 of i4.questions) e5.type !== r.FEEDBACKAPPANSWERTYPE.INFO_PAGE && (o2.has(e5.ref) || (o2.add(e5.ref), a2.push({ title: e5.title })));
|
|
1156
|
+
s2 = i4, l2 = null;
|
|
1072
1157
|
}
|
|
1073
1158
|
}
|
|
1074
1159
|
return a2;
|
|
1075
1160
|
}
|
|
1076
1161
|
processNextQuestion(e3) {
|
|
1077
|
-
var t3,
|
|
1078
|
-
return a(this, void 0, void 0,
|
|
1162
|
+
var t3, i3;
|
|
1163
|
+
return a(this, void 0, void 0, function* () {
|
|
1079
1164
|
const a2 = this.history.back();
|
|
1080
1165
|
if (!a2) throw new A.SubmitError("NO_PAGE", "No page found");
|
|
1081
1166
|
const r2 = a2.isFollowup ? [] : a2.getFollowupQuestions();
|
|
1082
1167
|
if (0 === (null == r2 ? void 0 : r2.length)) return void (yield this.renderNextQuestion(e3, a2));
|
|
1083
1168
|
const o2 = [];
|
|
1084
1169
|
for (const e4 of r2) {
|
|
1085
|
-
const t4 = a2.questions.find((
|
|
1170
|
+
const t4 = a2.questions.find((t5) => t5.ref === e4);
|
|
1086
1171
|
if (t4) {
|
|
1087
1172
|
const e5 = yield this.callFollowUpQuestion(t4);
|
|
1088
1173
|
e5 && o2.push(e5);
|
|
@@ -1090,49 +1175,49 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1090
1175
|
}
|
|
1091
1176
|
if (0 === o2.length) return void (yield this.renderNextQuestion(e3, a2));
|
|
1092
1177
|
const n2 = new m.Page(a2.id, a2.position, this.appId, o2, a2.edges), s2 = new g.PageNode(a2.id, a2.position, a2.edges, n2, o2, true);
|
|
1093
|
-
s2.origin = a2.isFollowup && a2.origin ? a2.origin : a2, s2.elements = (0, l.renderQuestions)(o2, this.formOptionsConfig.questionFormat, this.lang(), null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.product, (
|
|
1094
|
-
})
|
|
1178
|
+
s2.origin = a2.isFollowup && a2.origin ? a2.origin : a2, s2.elements = (0, l.renderQuestions)(o2, this.formOptionsConfig.questionFormat, this.lang(), null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.product, () => this.autoSend()), this.history.enqueue(s2), this.syncBackButton(), this.progress += 0.5, e3.innerHTML = "", null === (i3 = s2.elements) || void 0 === i3 || i3.forEach((t4) => e3.appendChild(t4)), (0, b.armGhostTapGuard)(e3), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent({ response: this.id, loading: false, progress: this.progress, total: this.total, followup: s2.isFollowup, completed: this.completed, error: null })), this.autofocusAfterRender("navigation");
|
|
1179
|
+
});
|
|
1095
1180
|
}
|
|
1096
1181
|
renderNextQuestion(e3, t3) {
|
|
1097
|
-
var
|
|
1098
|
-
return a(this, void 0, void 0,
|
|
1099
|
-
const a2 = t3.isFollowup && t3.origin ? t3.origin : t3, n2 = a2 === t3 ? this.feedback.answers : [...null !== (
|
|
1182
|
+
var i3, r2, o2;
|
|
1183
|
+
return a(this, void 0, void 0, function* () {
|
|
1184
|
+
const a2 = t3.isFollowup && t3.origin ? t3.origin : t3, n2 = a2 === t3 ? this.feedback.answers : [...null !== (i3 = a2.answers) && void 0 !== i3 ? i3 : [], ...this.feedback.answers];
|
|
1100
1185
|
let s2 = this.graph.getNextPage(a2, n2);
|
|
1101
|
-
return s2 ? this.skipsByPreconditions(s2) ? (this.feedback.answers = [], void (yield this.renderNextQuestion(e3, s2))) : (s2.elements = (0, l.renderQuestions)(s2.questions, this.formOptionsConfig.questionFormat, this.lang(), null === (r2 = this.formData) || void 0 === r2 ? void 0 : r2.product, (
|
|
1102
|
-
})
|
|
1186
|
+
return s2 ? this.skipsByPreconditions(s2) ? (this.feedback.answers = [], void (yield this.renderNextQuestion(e3, s2))) : (s2.elements = (0, l.renderQuestions)(s2.questions, this.formOptionsConfig.questionFormat, this.lang(), null === (r2 = this.formData) || void 0 === r2 ? void 0 : r2.product, () => this.autoSend()), e3.innerHTML = "", null === (o2 = s2.elements) || void 0 === o2 || o2.forEach((t4) => e3.appendChild(t4)), (0, b.armGhostTapGuard)(e3), this.history.enqueue(s2), this.syncBackButton(), this.progress = this.total - this.graph.findMaxDepth(s2), this.formOptionsConfig.afterSubmitEvent && (yield this.formOptionsConfig.afterSubmitEvent({ response: this.id, loading: false, progress: this.progress, total: this.total, followup: s2.isFollowup, completed: this.completed, error: null })), void this.autofocusAfterRender("navigation")) : (this.endScreenId = this.graph.getEndScreenId(a2, n2), void this.finish());
|
|
1187
|
+
});
|
|
1103
1188
|
}
|
|
1104
1189
|
skipsByPreconditions(e3) {
|
|
1105
1190
|
var t3;
|
|
1106
|
-
const
|
|
1107
|
-
if (0 ===
|
|
1108
|
-
const a2 =
|
|
1191
|
+
const i3 = e3.edges.filter((e4) => "PRECONDITIONAL" === e4.typeCondition).sort((e4, t4) => e4.position < t4.position ? -1 : e4.position > t4.position ? 1 : 0);
|
|
1192
|
+
if (0 === i3.length) return false;
|
|
1193
|
+
const a2 = i3.some((e4) => e4.transition === h.TransitionType.ALLOW);
|
|
1109
1194
|
let o2 = a2;
|
|
1110
|
-
for (const e4 of
|
|
1111
|
-
const
|
|
1195
|
+
for (const e4 of i3) {
|
|
1196
|
+
const i4 = this.latestAnswer(e4.questionRef);
|
|
1112
1197
|
let a3 = false;
|
|
1113
|
-
if (
|
|
1114
|
-
const o3 = null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.questions.find((
|
|
1115
|
-
if ((null == o3 ? void 0 : o3.type) === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) a3 = this.evaluateMatrixPreconditional(e4,
|
|
1198
|
+
if (i4) {
|
|
1199
|
+
const o3 = null === (t3 = this.formData) || void 0 === t3 ? void 0 : t3.questions.find((t4) => t4.ref === e4.questionRef), n2 = Array.isArray(i4.value) ? i4.value : [i4.value], s2 = (0, T.routeValuesFor)(Array.isArray(e4.value) ? e4.value : [e4.value], o3);
|
|
1200
|
+
if ((null == o3 ? void 0 : o3.type) === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) a3 = this.evaluateMatrixPreconditional(e4, i4);
|
|
1116
1201
|
else switch (e4.typeOperator) {
|
|
1117
1202
|
case "EQUAL":
|
|
1118
1203
|
case "INQ":
|
|
1119
|
-
a3 = n2.some((
|
|
1204
|
+
a3 = n2.some((e5) => s2.includes(e5));
|
|
1120
1205
|
break;
|
|
1121
1206
|
case "NOEQUAL":
|
|
1122
1207
|
case "NINQ":
|
|
1123
|
-
a3 = n2.every((
|
|
1208
|
+
a3 = n2.every((e5) => !s2.includes(e5));
|
|
1124
1209
|
break;
|
|
1125
1210
|
case "GREATER":
|
|
1126
|
-
a3 = n2.some((
|
|
1211
|
+
a3 = n2.some((e5) => Number(e5) > Number(s2[0]));
|
|
1127
1212
|
break;
|
|
1128
1213
|
case "LESS":
|
|
1129
|
-
a3 = n2.some((
|
|
1214
|
+
a3 = n2.some((e5) => Number(e5) < Number(s2[0]));
|
|
1130
1215
|
break;
|
|
1131
1216
|
case "GREATEREQUAL":
|
|
1132
|
-
a3 = n2.some((
|
|
1217
|
+
a3 = n2.some((e5) => Number(e5) >= Number(s2[0]));
|
|
1133
1218
|
break;
|
|
1134
1219
|
case "LESSEQUAL":
|
|
1135
|
-
a3 = n2.some((
|
|
1220
|
+
a3 = n2.some((e5) => Number(e5) <= Number(s2[0]));
|
|
1136
1221
|
}
|
|
1137
1222
|
}
|
|
1138
1223
|
if (e4.transition === h.TransitionType.ALLOW) a3 || (o2 = false);
|
|
@@ -1141,9 +1226,9 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1141
1226
|
return !!a2 && !o2;
|
|
1142
1227
|
}
|
|
1143
1228
|
latestAnswer(e3) {
|
|
1144
|
-
var t3,
|
|
1229
|
+
var t3, i3;
|
|
1145
1230
|
for (let a2 = this.history.size() - 1; a2 >= 0; a2--) {
|
|
1146
|
-
const r2 = null === (
|
|
1231
|
+
const r2 = null === (i3 = null === (t3 = this.history.get(a2)) || void 0 === t3 ? void 0 : t3.answers) || void 0 === i3 ? void 0 : i3.find((t4) => t4.key === e3);
|
|
1147
1232
|
if (r2) return r2;
|
|
1148
1233
|
}
|
|
1149
1234
|
}
|
|
@@ -1153,21 +1238,21 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1153
1238
|
}
|
|
1154
1239
|
back() {
|
|
1155
1240
|
var e3;
|
|
1156
|
-
return a(this, void 0, void 0,
|
|
1241
|
+
return a(this, void 0, void 0, function* () {
|
|
1157
1242
|
if (this.history.size() <= 1) return;
|
|
1158
1243
|
const t3 = document.getElementById("magicfeedback-questions-" + this.appId);
|
|
1159
1244
|
(0, k.cancelAutoAdvance)(t3), t3 && t3.childNodes.length > 0 && (t3.innerHTML = ""), this.history.rollback(), this.syncBackButton();
|
|
1160
|
-
const
|
|
1161
|
-
|
|
1162
|
-
})
|
|
1245
|
+
const i3 = this.history.back();
|
|
1246
|
+
i3 ? (null === (e3 = i3.elements) || void 0 === e3 || e3.forEach((e4) => t3.appendChild(e4)), (0, b.armGhostTapGuard)(t3), this.progress = this.total - this.graph.findMaxDepth(i3)) : this.progress = this.history.size(), this.formOptionsConfig.onBackEvent && (yield this.formOptionsConfig.onBackEvent({ loading: false, progress: this.progress, followup: (null == i3 ? void 0 : i3.isFollowup) || false, error: i3 ? null : "No page found" })), i3 && this.autofocusAfterRender("navigation");
|
|
1247
|
+
});
|
|
1163
1248
|
}
|
|
1164
|
-
previewQuestion(e3, t3,
|
|
1249
|
+
previewQuestion(e3, t3, i3) {
|
|
1165
1250
|
var a2, r2, o2;
|
|
1166
1251
|
const n2 = Array.isArray(t3) ? t3 : [t3];
|
|
1167
1252
|
if (!n2 || 0 === n2.length) throw new Error("[MagicFeedback] No question provided for preview");
|
|
1168
1253
|
const s2 = document.getElementById(e3);
|
|
1169
1254
|
if (!s2) throw new Error(`[MagicFeedback] Element with ID '${e3}' not found.`);
|
|
1170
|
-
const { format: d2 = this.formOptionsConfig.questionFormat || "standard", language: u2 = this.lang(), product: p2 = (null === (a2 = this.formData) || void 0 === a2 ? void 0 : a2.product) || { customIcons: false }, style: m2 = (null === (r2 = this.formData) || void 0 === r2 ? void 0 : r2.style) || {}, clearContainer: h2 = true, wrap: f2 = true, mode: g2 = null === (o2 = this.formOptionsConfig) || void 0 === o2 ? void 0 : o2.mode } =
|
|
1255
|
+
const { format: d2 = this.formOptionsConfig.questionFormat || "standard", language: u2 = this.lang(), product: p2 = (null === (a2 = this.formData) || void 0 === a2 ? void 0 : a2.product) || { customIcons: false }, style: m2 = (null === (r2 = this.formData) || void 0 === r2 ? void 0 : r2.style) || {}, clearContainer: h2 = true, wrap: f2 = true, mode: g2 = null === (o2 = this.formOptionsConfig) || void 0 === o2 ? void 0 : o2.mode } = i3 || {};
|
|
1171
1256
|
h2 && (s2.innerHTML = ""), s2.classList.add("magicfeedback-preview"), (null == m2 ? void 0 : m2.primaryColor) && (0, c.applyPrimaryColor)(s2, m2.primaryColor), (0, c.applyColorMode)(s2, m2, g2), (0, c.applyDirection)(s2, u2);
|
|
1172
1257
|
let y2 = [];
|
|
1173
1258
|
try {
|
|
@@ -1180,7 +1265,7 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1180
1265
|
const e4 = document.createElement("div");
|
|
1181
1266
|
e4.classList.add("magicfeedback-preview-question"), v2.appendChild(e4), v2 = e4;
|
|
1182
1267
|
}
|
|
1183
|
-
return y2.forEach((
|
|
1268
|
+
return y2.forEach((e4) => v2.appendChild(e4)), s2;
|
|
1184
1269
|
}
|
|
1185
1270
|
parseMaxDiffAnswer(e3) {
|
|
1186
1271
|
var t3;
|
|
@@ -1203,62 +1288,66 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1203
1288
|
return Array.isArray(e3.value) && e3.value.length > 0 && "object" == typeof e3.value[0] && null !== e3.value[0] && "key" in e3.value[0] ? e3.value : [];
|
|
1204
1289
|
}
|
|
1205
1290
|
evaluateMatrixPreconditional(e3, t3) {
|
|
1206
|
-
const
|
|
1291
|
+
const i3 = Array.isArray(e3.value) ? e3.value : [e3.value], a2 = new Set(e3.option || []), r2 = this.parseMatrixAnswerPre(t3);
|
|
1207
1292
|
if (!r2.length) return false;
|
|
1208
|
-
const o2 = a2.size > 0 ? r2.filter((
|
|
1293
|
+
const o2 = a2.size > 0 ? r2.filter((e4) => a2.has(e4.key)) : r2;
|
|
1209
1294
|
if (!o2.length) return false;
|
|
1210
1295
|
switch (e3.typeOperator) {
|
|
1211
1296
|
case "EQUAL":
|
|
1212
1297
|
case "INQ":
|
|
1213
|
-
return o2.some((
|
|
1298
|
+
return o2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.includes(e5)));
|
|
1214
1299
|
case "NOEQUAL":
|
|
1215
1300
|
case "NINQ":
|
|
1216
|
-
return o2.every((
|
|
1301
|
+
return o2.every((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).every((e5) => !i3.includes(e5)));
|
|
1217
1302
|
case "GREATER":
|
|
1218
|
-
return o2.some((
|
|
1303
|
+
return o2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) > Number(t4))));
|
|
1219
1304
|
case "LESS":
|
|
1220
|
-
return o2.some((
|
|
1305
|
+
return o2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) < Number(t4))));
|
|
1221
1306
|
case "GREATEREQUAL":
|
|
1222
|
-
return o2.some((
|
|
1307
|
+
return o2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) >= Number(t4))));
|
|
1223
1308
|
case "LESSEQUAL":
|
|
1224
|
-
return o2.some((
|
|
1309
|
+
return o2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) <= Number(t4))));
|
|
1225
1310
|
default:
|
|
1226
1311
|
return false;
|
|
1227
1312
|
}
|
|
1228
1313
|
}
|
|
1229
1314
|
};
|
|
1230
|
-
},
|
|
1315
|
+
}, 9700(e2, t2) {
|
|
1231
1316
|
"use strict";
|
|
1232
|
-
|
|
1233
|
-
constructor(e3, t3,
|
|
1234
|
-
this.id = e3, this.position = t3, this.generatedAt = (/* @__PURE__ */ new Date()).toISOString(), this.updatedAt = (/* @__PURE__ */ new Date()).toISOString(), this.status = "ACTIVE", this.integrationId =
|
|
1317
|
+
t2.Page = void 0, t2.Page = class {
|
|
1318
|
+
constructor(e3, t3, i2, a, r) {
|
|
1319
|
+
this.id = e3, this.position = t3, this.generatedAt = (/* @__PURE__ */ new Date()).toISOString(), this.updatedAt = (/* @__PURE__ */ new Date()).toISOString(), this.status = "ACTIVE", this.integrationId = i2, this.integrationQuestions = a, this.integrationPageRoutes = r;
|
|
1235
1320
|
}
|
|
1236
1321
|
};
|
|
1237
|
-
},
|
|
1322
|
+
}, 1989(e2, t2, i2) {
|
|
1238
1323
|
"use strict";
|
|
1239
|
-
|
|
1240
|
-
const a =
|
|
1241
|
-
|
|
1324
|
+
t2.PageGraph = void 0;
|
|
1325
|
+
const a = i2(4636), r = i2(5558), o = i2(2591), n = i2(2224);
|
|
1326
|
+
class s {
|
|
1242
1327
|
constructor(e3) {
|
|
1243
1328
|
this.nodes = /* @__PURE__ */ new Map(), this.buildGraph(e3);
|
|
1244
1329
|
}
|
|
1245
1330
|
buildGraph(e3) {
|
|
1246
|
-
e3.forEach((
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1331
|
+
e3.forEach((e4) => {
|
|
1332
|
+
e4.integrationPageRoutes && (e4.integrationPageRoutes = s.sortRoutes(e4.integrationPageRoutes));
|
|
1333
|
+
const t3 = new a.PageNode(e4.id, e4.position, e4.integrationPageRoutes || [], e4, e4.integrationQuestions);
|
|
1334
|
+
this.nodes.set(t3.id, t3);
|
|
1335
|
+
});
|
|
1336
|
+
}
|
|
1337
|
+
static sortRoutes(e3) {
|
|
1338
|
+
return [...e3 || []].sort((e4, t3) => {
|
|
1339
|
+
const i3 = e4.typeCondition === o.ConditionType.DIRECT;
|
|
1340
|
+
if (i3 !== (t3.typeCondition === o.ConditionType.DIRECT)) return i3 ? 1 : -1;
|
|
1341
|
+
const a2 = Number(null == e4 ? void 0 : e4.position) || 0, r2 = Number(null == t3 ? void 0 : t3.position) || 0;
|
|
1342
|
+
return a2 !== r2 ? a2 - r2 : new Date((null == e4 ? void 0 : e4.generatedAt) || 0).getTime() - new Date((null == t3 ? void 0 : t3.generatedAt) || 0).getTime();
|
|
1343
|
+
});
|
|
1255
1344
|
}
|
|
1256
1345
|
getNodeById(e3) {
|
|
1257
1346
|
return this.nodes.get(e3);
|
|
1258
1347
|
}
|
|
1259
1348
|
getNextEdgeByDefault(e3) {
|
|
1260
1349
|
if (!e3) return;
|
|
1261
|
-
const t3 = e3.edges.find((
|
|
1350
|
+
const t3 = e3.edges.find((e4) => e4.typeCondition === o.ConditionType.DIRECT);
|
|
1262
1351
|
if (!t3 || ![o.TransitionType.FINISH, o.TransitionType.REDIRECT].includes(t3.transition)) {
|
|
1263
1352
|
if (t3 && t3.transitionDestiny) return t3.transitionDestiny;
|
|
1264
1353
|
for (const t4 of this.nodes.values()) if (t4.position === e3.position + 1) return t4.id;
|
|
@@ -1266,11 +1355,11 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1266
1355
|
}
|
|
1267
1356
|
getFirstPage() {
|
|
1268
1357
|
let e3, t3 = Number.MAX_VALUE;
|
|
1269
|
-
for (const
|
|
1358
|
+
for (const i3 of this.nodes.values()) i3.position < t3 && (t3 = i3.position, e3 = i3);
|
|
1270
1359
|
return e3;
|
|
1271
1360
|
}
|
|
1272
1361
|
getNextPage(e3, t3) {
|
|
1273
|
-
var
|
|
1362
|
+
var i3;
|
|
1274
1363
|
if (!e3) return;
|
|
1275
1364
|
const a2 = this.findRoute(e3, t3);
|
|
1276
1365
|
if (!a2) {
|
|
@@ -1285,70 +1374,70 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1285
1374
|
case o.TransitionType.FINISH:
|
|
1286
1375
|
return;
|
|
1287
1376
|
case o.TransitionType.REDIRECT:
|
|
1288
|
-
return void (window.location.href = (null === (
|
|
1377
|
+
return void (window.location.href = (null === (i3 = a2.transitionDestiny) || void 0 === i3 ? void 0 : i3.includes("?")) ? `${a2.transitionDestiny}&${window.location.search.slice(1)}` : `${a2.transitionDestiny}${window.location.search}`);
|
|
1289
1378
|
default:
|
|
1290
1379
|
return;
|
|
1291
1380
|
}
|
|
1292
1381
|
}
|
|
1293
1382
|
getEndScreenId(e3, t3) {
|
|
1294
1383
|
if (!e3) return;
|
|
1295
|
-
const
|
|
1296
|
-
return (null ==
|
|
1384
|
+
const i3 = this.findRoute(e3, t3);
|
|
1385
|
+
return (null == i3 ? void 0 : i3.transition) === o.TransitionType.FINISH && i3.transitionDestiny || void 0;
|
|
1297
1386
|
}
|
|
1298
1387
|
findRoute(e3, t3) {
|
|
1299
|
-
return e3.edges.sort((
|
|
1300
|
-
const a2 = e3.questions.find((
|
|
1301
|
-
if ("DIRECT" ===
|
|
1302
|
-
if (!
|
|
1303
|
-
if ((null == a2 ? void 0 : a2.type) === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) return this.evaluateMatrixCondition(
|
|
1304
|
-
const l = (0, n.routeValuesFor)(Array.isArray(
|
|
1305
|
-
switch (
|
|
1388
|
+
return e3.edges.sort((e4, t4) => "DIRECT" === e4.typeCondition ? 1 : "DIRECT" === t4.typeCondition ? -1 : 0), e3.edges.find((i3) => {
|
|
1389
|
+
const a2 = e3.questions.find((e4) => e4.ref === i3.questionRef), s2 = null == t3 ? void 0 : t3.filter((e4) => e4.key === i3.questionRef);
|
|
1390
|
+
if ("DIRECT" === i3.typeCondition) return true;
|
|
1391
|
+
if (!s2 || 0 === s2.length) return false;
|
|
1392
|
+
if ((null == a2 ? void 0 : a2.type) === r.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) return this.evaluateMatrixCondition(i3, s2);
|
|
1393
|
+
const l = (0, n.routeValuesFor)(Array.isArray(i3.value) ? i3.value : [i3.value], a2);
|
|
1394
|
+
switch (i3.typeOperator) {
|
|
1306
1395
|
case o.OperatorType.EQUAL:
|
|
1307
|
-
return
|
|
1396
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => l.includes(e5)));
|
|
1308
1397
|
case o.OperatorType.NOEQUAL:
|
|
1309
|
-
return
|
|
1398
|
+
return s2.every((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).every((e5) => !l.includes(e5)));
|
|
1310
1399
|
case o.OperatorType.GREATER:
|
|
1311
|
-
return
|
|
1400
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => l.some((t4) => Number(e5) > Number(t4))));
|
|
1312
1401
|
case o.OperatorType.LESS:
|
|
1313
|
-
return
|
|
1402
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => l.some((t4) => Number(e5) < Number(t4))));
|
|
1314
1403
|
case o.OperatorType.GREATEREQUAL:
|
|
1315
|
-
return
|
|
1404
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => l.some((t4) => Number(e5) >= Number(t4))));
|
|
1316
1405
|
case o.OperatorType.LESSEQUAL:
|
|
1317
|
-
return
|
|
1406
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => l.some((t4) => Number(e5) <= Number(t4))));
|
|
1318
1407
|
case o.OperatorType.INQ:
|
|
1319
|
-
return
|
|
1408
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => l.includes(e5)));
|
|
1320
1409
|
case o.OperatorType.NINQ:
|
|
1321
|
-
return
|
|
1410
|
+
return s2.every((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).every((e5) => !l.includes(e5)));
|
|
1322
1411
|
default:
|
|
1323
1412
|
return false;
|
|
1324
1413
|
}
|
|
1325
|
-
})
|
|
1414
|
+
});
|
|
1326
1415
|
}
|
|
1327
1416
|
findDepth(e3) {
|
|
1328
1417
|
const t3 = this.getNodeById(e3);
|
|
1329
1418
|
if (!t3) return 0;
|
|
1330
|
-
const
|
|
1331
|
-
return this.DFSUtil(t3,
|
|
1419
|
+
const i3 = /* @__PURE__ */ new Set();
|
|
1420
|
+
return this.DFSUtil(t3, i3, 0);
|
|
1332
1421
|
}
|
|
1333
1422
|
findMaxDepth(e3) {
|
|
1334
1423
|
if (e3 || (e3 = this.getFirstPage()), !e3) return 0;
|
|
1335
1424
|
const t3 = /* @__PURE__ */ new Set();
|
|
1336
|
-
let
|
|
1337
|
-
return
|
|
1425
|
+
let i3 = 1;
|
|
1426
|
+
return i3 = Math.max(i3, this.DFSUtil(e3, t3, i3)), i3;
|
|
1338
1427
|
}
|
|
1339
|
-
DFSUtil(e3, t3,
|
|
1428
|
+
DFSUtil(e3, t3, i3) {
|
|
1340
1429
|
t3.add(e3);
|
|
1341
|
-
let a2 =
|
|
1342
|
-
const r2 = [...e3.edges.filter((
|
|
1430
|
+
let a2 = i3;
|
|
1431
|
+
const r2 = [...e3.edges.filter((e4) => e4.typeCondition !== o.ConditionType.PRECONDITIONAL) || []], n2 = this.getNextEdgeByDefault(e3);
|
|
1343
1432
|
if (n2) {
|
|
1344
|
-
const
|
|
1345
|
-
|
|
1433
|
+
const i4 = this.getNodeById(n2);
|
|
1434
|
+
i4 && !t3.has(i4) && r2.push(new o.PageRoute(i4.id, "", o.OperatorType.DEFAULT, [""], o.TransitionType.PAGE, i4.id, e3.id));
|
|
1346
1435
|
}
|
|
1347
1436
|
for (const e4 of r2) {
|
|
1348
1437
|
if (!e4.transitionDestiny) continue;
|
|
1349
1438
|
const r3 = this.getNodeById(e4.transitionDestiny);
|
|
1350
1439
|
if (r3 && !t3.has(r3)) {
|
|
1351
|
-
const e5 =
|
|
1440
|
+
const e5 = i3 + 1, o2 = new Set(t3), n3 = this.DFSUtil(r3, o2, e5);
|
|
1352
1441
|
a2 = Math.max(a2, n3);
|
|
1353
1442
|
}
|
|
1354
1443
|
}
|
|
@@ -1365,78 +1454,78 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1365
1454
|
return Array.isArray(e3.value) && e3.value.length > 0 && "object" == typeof e3.value[0] && null !== e3.value[0] && "key" in e3.value[0] ? e3.value : [];
|
|
1366
1455
|
}
|
|
1367
1456
|
evaluateMatrixCondition(e3, t3) {
|
|
1368
|
-
const
|
|
1457
|
+
const i3 = Array.isArray(e3.value) ? e3.value : [e3.value], a2 = new Set(e3.option || []), r2 = t3[0], n2 = this.parseMatrixAnswer(r2);
|
|
1369
1458
|
if (!n2.length) return false;
|
|
1370
|
-
const
|
|
1371
|
-
if (!
|
|
1459
|
+
const s2 = a2.size > 0 ? n2.filter((e4) => a2.has(e4.key)) : n2;
|
|
1460
|
+
if (!s2.length) return false;
|
|
1372
1461
|
switch (e3.typeOperator) {
|
|
1373
1462
|
case o.OperatorType.EQUAL:
|
|
1374
1463
|
case o.OperatorType.INQ:
|
|
1375
|
-
return
|
|
1464
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.includes(e5)));
|
|
1376
1465
|
case o.OperatorType.NOEQUAL:
|
|
1377
1466
|
case o.OperatorType.NINQ:
|
|
1378
|
-
return
|
|
1467
|
+
return s2.every((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).every((e5) => !i3.includes(e5)));
|
|
1379
1468
|
case o.OperatorType.GREATER:
|
|
1380
|
-
return
|
|
1469
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) > Number(t4))));
|
|
1381
1470
|
case o.OperatorType.LESS:
|
|
1382
|
-
return
|
|
1471
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) < Number(t4))));
|
|
1383
1472
|
case o.OperatorType.GREATEREQUAL:
|
|
1384
|
-
return
|
|
1473
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) >= Number(t4))));
|
|
1385
1474
|
case o.OperatorType.LESSEQUAL:
|
|
1386
|
-
return
|
|
1475
|
+
return s2.some((e4) => (Array.isArray(e4.value) ? e4.value : [e4.value]).some((e5) => i3.some((t4) => Number(e5) <= Number(t4))));
|
|
1387
1476
|
default:
|
|
1388
1477
|
return false;
|
|
1389
1478
|
}
|
|
1390
1479
|
}
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1480
|
+
}
|
|
1481
|
+
t2.PageGraph = s;
|
|
1482
|
+
}, 4636(e2, t2) {
|
|
1393
1483
|
"use strict";
|
|
1394
|
-
|
|
1395
|
-
constructor(e3, t3,
|
|
1396
|
-
this.answers = [], this.id = e3, this.position = t3, this.edges =
|
|
1484
|
+
t2.PageNode = void 0, t2.PageNode = class {
|
|
1485
|
+
constructor(e3, t3, i2, a, r, o = false) {
|
|
1486
|
+
this.answers = [], this.id = e3, this.position = t3, this.edges = i2, this.data = a, this.questions = r.sort((e4, t4) => e4.position - t4.position), this.elements = [], this.isFollowup = o;
|
|
1397
1487
|
}
|
|
1398
1488
|
getFollowupQuestions() {
|
|
1399
|
-
return this.questions.filter((
|
|
1489
|
+
return this.questions.filter((e3) => e3.followup).map((e3) => e3.ref);
|
|
1400
1490
|
}
|
|
1401
1491
|
getRequiredQuestions() {
|
|
1402
|
-
return this.questions.filter((
|
|
1492
|
+
return this.questions.filter((e3) => e3.require).map((e3) => e3.ref);
|
|
1403
1493
|
}
|
|
1404
1494
|
setAnswer(e3) {
|
|
1405
1495
|
this.answers = e3;
|
|
1406
1496
|
}
|
|
1407
1497
|
};
|
|
1408
|
-
},
|
|
1498
|
+
}, 2591(e2, t2) {
|
|
1409
1499
|
"use strict";
|
|
1410
|
-
var
|
|
1411
|
-
|
|
1500
|
+
var i2, a, r, o;
|
|
1501
|
+
t2.PageRoute = t2.X = t2.OperatorType = t2.ConditionType = t2.TransitionType = void 0, (o = t2.TransitionType || (t2.TransitionType = {})).PAGE = "PAGE", o.FINISH = "FINISH", o.REDIRECT = "REDIRECT", o.NEXT = "NEXT", o.ALLOW = "ALLOW", (function(e3) {
|
|
1412
1502
|
e3.LOGICAL = "LOGICAL", e3.DIRECT = "DIRECT", e3.PRECONDITIONAL = "PRECONDITIONAL";
|
|
1413
|
-
})(
|
|
1503
|
+
})(i2 = t2.ConditionType || (t2.ConditionType = {})), (r = t2.OperatorType || (t2.OperatorType = {})).EQUAL = "EQUAL", r.NOEQUAL = "NOEQUAL", r.GREATER = "GREATER", r.LESS = "LESS", r.GREATEREQUAL = "GREATEREQUAL", r.LESSEQUAL = "LESSEQUAL", r.INQ = "INQ", r.NINQ = "NINQ", r.DEFAULT = "DEFAULT", (function(e3) {
|
|
1414
1504
|
e3.ACTIVE = "ACTIVE", e3.DEPRECATED = "DEPRECATED", e3.DELETE = "DELETE";
|
|
1415
|
-
})(a = t2.
|
|
1505
|
+
})(a = t2.X || (t2.X = {})), t2.PageRoute = class {
|
|
1416
1506
|
constructor(e3, t3, r2, o2, n, s, l, d, c, u) {
|
|
1417
|
-
this.id = e3, this.questionRef = t3, this.typeCondition = d ||
|
|
1507
|
+
this.id = e3, this.questionRef = t3, this.typeCondition = d || i2.LOGICAL, this.typeOperator = r2, this.value = o2 || [], this.transition = n, this.transitionDestiny = s, this.status = a.ACTIVE, this.generatedAt = /* @__PURE__ */ new Date(), this.updatedAt = /* @__PURE__ */ new Date(), this.integrationPageId = l, this.position = c || 0, this.option = u || [];
|
|
1418
1508
|
}
|
|
1419
1509
|
};
|
|
1420
|
-
},
|
|
1510
|
+
}, 5558(e2, t2) {
|
|
1421
1511
|
"use strict";
|
|
1422
|
-
var
|
|
1423
|
-
|
|
1424
|
-
}, t2.AGENT_ANSWER_TYPE_BLOCKED = "ABUSIVE_OR_OFFENSIVE", (function(e3) {
|
|
1512
|
+
var i2, a;
|
|
1513
|
+
t2.AGENT_ANSWER_TYPE_BLOCKED = t2.FEEDBACKAPPANSWERTYPE = void 0, (a = t2.FEEDBACKAPPANSWERTYPE || (t2.FEEDBACKAPPANSWERTYPE = {})).CONTACT = "CONTACT", a.MULTIPLECHOISE_IMAGE = "MULTIPLECHOISE_IMAGE", a.EMAIL = "EMAIL", a.RATING_STAR = "RATING_STAR", a.RADIO = "RADIO", a.MULTIPLECHOICE = "MULTIPLECHOICE", a.SELECT = "SELECT", a.TEXT = "TEXT", a.LONGTEXT = "LONGTEXT", a.NUMBER = "NUMBER", a.RATING_EMOJI = "RATING_EMOJI", a.RATING_NUMBER = "RATING_NUMBER", a.DATE = "DATE", a.BOOLEAN = "BOOLEAN", a.PASSWORD = "PASSWORD", a.CONSENT = "CONSENT", a.MULTI_QUESTION_MATRIX = "MULTI_QUESTION_MATRIX", a.POINT_SYSTEM = "POINT_SYSTEM", a.PRIORITY_LIST = "PRIORITY_LIST", a.INFO_PAGE = "INFO_PAGE", a.UPLOAD_FILE = "UPLOAD_FILE", a.UPLOAD_IMAGE = "UPLOAD_IMAGE", a.MAX_DIFF = "MAX_DIFF", t2.AGENT_ANSWER_TYPE_BLOCKED = "ABUSIVE_OR_OFFENSIVE", (function(e3) {
|
|
1425
1514
|
e3.FORM = "form", e3.DIV = "div";
|
|
1426
|
-
})(
|
|
1427
|
-
},
|
|
1515
|
+
})(i2 || (i2 = {}));
|
|
1516
|
+
}, 4565(e2, t2, i2) {
|
|
1428
1517
|
"use strict";
|
|
1429
|
-
|
|
1430
|
-
const a =
|
|
1518
|
+
t2.copyTheme = t2.applyColorMode = t2.k$ = t2.applyDirection = t2.applyPrimaryColor = t2.generateContainer = void 0;
|
|
1519
|
+
const a = i2(881);
|
|
1431
1520
|
function r(e3, t3) {
|
|
1432
1521
|
e3.style.setProperty("--mf-primary", t3), e3.style.setProperty("--mf-primary-hover", `color-mix(in srgb, ${t3} 85%, black)`), e3.style.setProperty("--mf-primary-light", `color-mix(in srgb, ${t3} var(--mf-primary-light-mix, 15%), var(--mf-tint-base, white))`), e3.style.setProperty("--mf-primary-border", `color-mix(in srgb, ${t3} var(--mf-primary-border-mix, 35%), transparent)`), e3.style.setProperty("--mf-border-focus", t3);
|
|
1433
1522
|
}
|
|
1434
1523
|
function o(e3) {
|
|
1435
1524
|
if (!((e4) => "string" == typeof e4 && "" !== e4.trim() && !/[;{}]/.test(e4))(e3)) return null;
|
|
1436
|
-
const t3 = e3.trim().toLowerCase(),
|
|
1437
|
-
if (
|
|
1438
|
-
let e4 =
|
|
1439
|
-
e4.length <= 4 && (e4 = e4.split("").map((
|
|
1525
|
+
const t3 = e3.trim().toLowerCase(), i3 = t3.match(/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/);
|
|
1526
|
+
if (i3) {
|
|
1527
|
+
let e4 = i3[1];
|
|
1528
|
+
e4.length <= 4 && (e4 = e4.split("").map((e5) => e5 + e5).join(""));
|
|
1440
1529
|
const t4 = (t5) => parseInt(e4.slice(t5, t5 + 2), 16);
|
|
1441
1530
|
return [t4(0), t4(2), t4(4), 8 === e4.length ? t4(6) / 255 : 1];
|
|
1442
1531
|
}
|
|
@@ -1456,69 +1545,67 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1456
1545
|
return r2.remove(), n2 && n2.toLowerCase() !== t3 ? o(n2) : null;
|
|
1457
1546
|
}
|
|
1458
1547
|
function n(e3) {
|
|
1459
|
-
const
|
|
1460
|
-
if (!
|
|
1461
|
-
const
|
|
1462
|
-
const
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
return null !== a2 && a2 < t2.DARK_LUMINANCE_THRESHOLD;
|
|
1472
|
-
}
|
|
1473
|
-
function l(e3, t3) {
|
|
1474
|
-
if ("light" === t3 || "dark" === t3) return t3;
|
|
1475
|
-
const i2 = null == e3 ? void 0 : e3.boxBackgroundColor;
|
|
1476
|
-
return s(((e4) => {
|
|
1477
|
-
const t4 = o(e4);
|
|
1478
|
-
return !!t4 && t4[3] >= 0.5;
|
|
1479
|
-
})(i2) ? i2 : null == e3 ? void 0 : e3.backgroundColor) ? "dark" : "light";
|
|
1548
|
+
const i3 = o(e3);
|
|
1549
|
+
if (!i3 || i3[3] < 0.5) return false;
|
|
1550
|
+
const a2 = (function(e4) {
|
|
1551
|
+
const t3 = o(e4);
|
|
1552
|
+
if (!t3) return null;
|
|
1553
|
+
const i4 = (e5) => {
|
|
1554
|
+
const t4 = e5 / 255;
|
|
1555
|
+
return t4 <= 0.03928 ? t4 / 12.92 : Math.pow((t4 + 0.055) / 1.055, 2.4);
|
|
1556
|
+
};
|
|
1557
|
+
return 0.2126 * i4(t3[0]) + 0.7152 * i4(t3[1]) + 0.0722 * i4(t3[2]);
|
|
1558
|
+
})(e3);
|
|
1559
|
+
return null !== a2 && a2 < t2.k$;
|
|
1480
1560
|
}
|
|
1481
1561
|
t2.generateContainer = function(e3, t3) {
|
|
1482
|
-
let
|
|
1483
|
-
if (!
|
|
1484
|
-
return
|
|
1562
|
+
let i3 = document.getElementById(e3);
|
|
1563
|
+
if (!i3 && (i3 = document.getElementById("magicfeedback-container-" + t3), !i3)) throw new Error(`Element with ID '${e3}' not found.`);
|
|
1564
|
+
return i3.classList.add("magicfeedback-container"), i3.id = "magicfeedback-container-" + t3, i3.innerHTML = "", i3;
|
|
1485
1565
|
}, t2.applyPrimaryColor = r, t2.applyDirection = function(e3, t3) {
|
|
1486
|
-
const
|
|
1487
|
-
e3.setAttribute("dir",
|
|
1488
|
-
}, t2.
|
|
1489
|
-
const
|
|
1490
|
-
t2.applyColorMode = function(e3, t3,
|
|
1491
|
-
const a2 =
|
|
1566
|
+
const i3 = (0, a.isRtlLanguage)(t3);
|
|
1567
|
+
e3.setAttribute("dir", i3 ? "rtl" : "ltr"), e3.classList.toggle("magicfeedback-rtl", i3);
|
|
1568
|
+
}, t2.k$ = 0.2;
|
|
1569
|
+
const s = [{ key: "boxBackgroundColor", vars: ["--mf-surface", "--mf-bg-secondary"] }, { key: "backgroundColor", vars: ["--mf-bg-primary"] }], l = ["primaryColor", "buttonPrimaryColor"], d = "data-mf-dark-primary";
|
|
1570
|
+
t2.applyColorMode = function(e3, t3, i3) {
|
|
1571
|
+
const a2 = (function(e4, t4) {
|
|
1572
|
+
if ("light" === t4 || "dark" === t4) return t4;
|
|
1573
|
+
const i4 = null == e4 ? void 0 : e4.boxBackgroundColor;
|
|
1574
|
+
return n(((e5) => {
|
|
1575
|
+
const t5 = o(e5);
|
|
1576
|
+
return !!t5 && t5[3] >= 0.5;
|
|
1577
|
+
})(i4) ? i4 : null == e4 ? void 0 : e4.backgroundColor) ? "dark" : "light";
|
|
1578
|
+
})(t3, i3);
|
|
1492
1579
|
e3.setAttribute("data-mf-mode", a2);
|
|
1493
|
-
const
|
|
1580
|
+
const c = "dark" === a2 ? (function(e4) {
|
|
1494
1581
|
const t4 = null == e4 ? void 0 : e4.dark;
|
|
1495
1582
|
return t4 && "object" == typeof t4 && !Array.isArray(t4) ? t4 : null;
|
|
1496
1583
|
})(t3) : null;
|
|
1497
|
-
|
|
1584
|
+
s.forEach(({ key: i4, vars: r2 }) => {
|
|
1498
1585
|
let o2 = null;
|
|
1499
|
-
"dark" === a2 && (
|
|
1586
|
+
"dark" === a2 && (n(null == c ? void 0 : c[i4]) ? o2 = c[i4] : n(null == t3 ? void 0 : t3[i4]) && (o2 = t3[i4])), r2.forEach((t4) => {
|
|
1500
1587
|
null !== o2 ? e3.style.setProperty(t4, String(o2).trim()) : e3.style.removeProperty(t4);
|
|
1501
|
-
})
|
|
1502
|
-
})
|
|
1503
|
-
const
|
|
1588
|
+
});
|
|
1589
|
+
});
|
|
1590
|
+
const u = l.map((e4) => null == c ? void 0 : c[e4]).find((e4) => {
|
|
1504
1591
|
const t4 = o(e4);
|
|
1505
1592
|
return !!t4 && t4[3] >= 0.5;
|
|
1506
|
-
})
|
|
1507
|
-
return
|
|
1593
|
+
});
|
|
1594
|
+
return u ? (r(e3, String(u).trim()), e3.setAttribute(d, "")) : e3.hasAttribute(d) && (e3.removeAttribute(d), (null == t3 ? void 0 : t3.primaryColor) || ["--mf-primary", "--mf-primary-hover", "--mf-primary-light", "--mf-primary-border", "--mf-border-focus"].forEach((t4) => e3.style.removeProperty(t4))), a2;
|
|
1508
1595
|
}, t2.copyTheme = function(e3, t3) {
|
|
1509
1596
|
if (!e3) return;
|
|
1510
|
-
const
|
|
1511
|
-
|
|
1597
|
+
const i3 = e3.getAttribute("data-mf-mode");
|
|
1598
|
+
i3 ? t3.setAttribute("data-mf-mode", i3) : t3.removeAttribute("data-mf-mode");
|
|
1512
1599
|
const a2 = e3.style;
|
|
1513
1600
|
if (a2) for (let e4 = 0; e4 < a2.length; e4++) {
|
|
1514
|
-
const
|
|
1515
|
-
|
|
1601
|
+
const i4 = a2[e4];
|
|
1602
|
+
i4.startsWith("--mf-") && t3.style.setProperty(i4, a2.getPropertyValue(i4));
|
|
1516
1603
|
}
|
|
1517
1604
|
};
|
|
1518
|
-
},
|
|
1605
|
+
}, 516(e2, t2, i2) {
|
|
1519
1606
|
"use strict";
|
|
1520
|
-
|
|
1521
|
-
const a =
|
|
1607
|
+
t2.getUrlParam = t2.getBooleanOptions = t2.parseTitle = void 0;
|
|
1608
|
+
const a = i2(881);
|
|
1522
1609
|
t2.parseTitle = function(e3, t3) {
|
|
1523
1610
|
return e3 ? "object" == typeof e3 ? e3[t3] || e3.en : e3 : "";
|
|
1524
1611
|
}, t2.getBooleanOptions = function(e3) {
|
|
@@ -1526,131 +1613,131 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1526
1613
|
}, t2.getUrlParam = function(e3) {
|
|
1527
1614
|
return new URLSearchParams(window.location.search).get(e3);
|
|
1528
1615
|
};
|
|
1529
|
-
},
|
|
1616
|
+
}, 6559(e2, t2, i2) {
|
|
1530
1617
|
"use strict";
|
|
1531
|
-
|
|
1532
|
-
const a =
|
|
1533
|
-
function o(e3, t3,
|
|
1618
|
+
t2.iW = t2.$P = t2.usesLegacyRatingNumber = t2.createRatingNumberElement = t2.createStarRating = t2.createRatingPlaceholder = void 0;
|
|
1619
|
+
const a = i2(881), r = i2(7321);
|
|
1620
|
+
function o(e3, t3, i3 = "ltr") {
|
|
1534
1621
|
const a2 = document.createElement("div");
|
|
1535
1622
|
a2.classList.add("magicfeedback-rating-placeholder");
|
|
1536
1623
|
const r2 = document.createElement("span");
|
|
1537
1624
|
r2.textContent = null != e3 ? e3 : "", r2.classList.add("magicfeedback-rating-placeholder-value");
|
|
1538
1625
|
const o2 = document.createElement("span");
|
|
1539
|
-
return o2.textContent = null != t3 ? t3 : "", o2.classList.add("magicfeedback-rating-placeholder-value"), "ltr" ===
|
|
1626
|
+
return o2.textContent = null != t3 ? t3 : "", o2.classList.add("magicfeedback-rating-placeholder-value"), "ltr" === i3 ? (e3 && a2.appendChild(r2), t3 && a2.appendChild(o2)) : (t3 && a2.appendChild(o2), e3 && a2.appendChild(r2)), a2;
|
|
1540
1627
|
}
|
|
1541
|
-
t2.createRatingPlaceholder = o, t2.createStarRating = function(e3, t3,
|
|
1628
|
+
t2.createRatingPlaceholder = o, t2.createStarRating = function(e3, t3, i3, a2 = () => {
|
|
1542
1629
|
}, n, s) {
|
|
1543
1630
|
const l = "primary" === s, d = document.createElement("div");
|
|
1544
1631
|
d.classList.add("magicfeedback-rating-star-container"), d.style.maxWidth = "300px", d.style.margin = "auto", d.dataset.originalSelection = "0", l && d.classList.add("magicfeedback-rating-star-primary");
|
|
1545
1632
|
const c = (e4) => {
|
|
1546
|
-
d.querySelectorAll(".rating__star").forEach((
|
|
1547
|
-
const a3 =
|
|
1633
|
+
d.querySelectorAll(".rating__star").forEach((t4, i4) => {
|
|
1634
|
+
const a3 = i4 < e4;
|
|
1548
1635
|
if (t4.classList.toggle("magicfeedback-rating-star-selected", a3), !l) return;
|
|
1549
1636
|
const r2 = t4.style;
|
|
1550
1637
|
a3 ? r2.setProperty("color", "var(--mf-primary)", "important") : r2.setProperty("color", "var(--mf-star-empty, #CCCCCC)");
|
|
1551
|
-
})
|
|
1638
|
+
});
|
|
1552
1639
|
};
|
|
1553
1640
|
for (let t4 = 1; t4 <= 5; t4++) {
|
|
1554
|
-
const
|
|
1555
|
-
|
|
1641
|
+
const i4 = document.createElement("label");
|
|
1642
|
+
i4.classList.add("magicfeedback-rating-star-option");
|
|
1556
1643
|
const o2 = document.createElement("input");
|
|
1557
|
-
o2.id = `rating-${e3}-${t4}`, o2.type = "radio", o2.name = e3, o2.value = t4.toString(), o2.style.position = "absolute", o2.style.opacity = "0", o2.style.width = "0", o2.style.height = "0", o2.classList.add("magicfeedback-input"), n && n === o2.value && (o2.checked = true), o2.addEventListener("change", (
|
|
1644
|
+
o2.id = `rating-${e3}-${t4}`, o2.type = "radio", o2.name = e3, o2.value = t4.toString(), o2.style.position = "absolute", o2.style.opacity = "0", o2.style.width = "0", o2.style.height = "0", o2.classList.add("magicfeedback-input"), n && n === o2.value && (o2.checked = true), o2.addEventListener("change", () => {
|
|
1558
1645
|
c(Number(o2.value)), d.dataset.originalSelection = o2.value;
|
|
1559
|
-
})
|
|
1646
|
+
}), (0, r.autoAdvanceOn)(o2, a2), i4.appendChild(o2);
|
|
1560
1647
|
const s2 = document.createElement("label");
|
|
1561
|
-
s2.htmlFor = `rating-${e3}-${t4}`, s2.classList.add("rating__star"), s2.textContent = "\u2605", s2.style.fontSize = "40px", s2.style.color = "var(--mf-star-empty, #CCCCCC)", s2.style.cursor = "pointer", s2.addEventListener("mouseenter", (
|
|
1648
|
+
s2.htmlFor = `rating-${e3}-${t4}`, s2.classList.add("rating__star"), s2.textContent = "\u2605", s2.style.fontSize = "40px", s2.style.color = "var(--mf-star-empty, #CCCCCC)", s2.style.cursor = "pointer", s2.addEventListener("mouseenter", () => c(t4)), s2.addEventListener("mouseleave", () => c(Number(d.dataset.originalSelection || "0"))), i4.appendChild(s2), d.appendChild(i4);
|
|
1562
1649
|
}
|
|
1563
1650
|
const u = d.querySelector("input:checked");
|
|
1564
1651
|
u && (d.dataset.originalSelection = u.value, c(Number(u.value)));
|
|
1565
|
-
const p = o(t3,
|
|
1652
|
+
const p = o(t3, i3);
|
|
1566
1653
|
return p.childElementCount > 0 && d.appendChild(p), d;
|
|
1567
|
-
}, t2.createRatingNumberElement = function(e3,
|
|
1654
|
+
}, t2.createRatingNumberElement = function(e3, i3, o2, n, s, l, d, c, u = {}) {
|
|
1568
1655
|
var p, m;
|
|
1569
1656
|
const h = document.createElement("div");
|
|
1570
1657
|
h.classList.add("magicfeedback-rating-number");
|
|
1571
1658
|
const f = !!u.legacy, g = f && !!u.isPhone, y = g ? (function(e4) {
|
|
1572
|
-
const t3 = (null == e4 ? void 0 : e4.max) ? Number(e4.max) : 10,
|
|
1659
|
+
const t3 = (null == e4 ? void 0 : e4.max) ? Number(e4.max) : 10, i4 = (null == e4 ? void 0 : e4.min) ? Number(e4.min) : 0;
|
|
1573
1660
|
return (a2) => {
|
|
1574
1661
|
var r2;
|
|
1575
|
-
return (null === (r2 = null == e4 ? void 0 : e4.numberPlaceholders) || void 0 === r2 ? void 0 : r2[a2]) || (a2 ===
|
|
1662
|
+
return (null === (r2 = null == e4 ? void 0 : e4.numberPlaceholders) || void 0 === r2 ? void 0 : r2[a2]) || (a2 === i4 ? null == e4 ? void 0 : e4.minPlaceholder : void 0) || (a2 === t3 ? null == e4 ? void 0 : e4.maxPlaceholder : void 0) || void 0;
|
|
1576
1663
|
};
|
|
1577
|
-
})(
|
|
1578
|
-
g && (n = "column",
|
|
1664
|
+
})(i3) : null;
|
|
1665
|
+
g && (n = "column", i3 = Object.assign(Object.assign({}, i3), { minPlaceholder: void 0, maxPlaceholder: void 0, numberPlaceholders: void 0 })), f && h.classList.add("magicfeedback-rating-number--legacy");
|
|
1579
1666
|
const v = "column" === n, b = "ltr" === o2 ? n : `${n}-reverse`, E = document.createElement("div");
|
|
1580
|
-
E.classList.add("magicfeedback-rating-number-container"), E.classList.add(`magicfeedback-rating-number-container-${o2}`), E.classList.add(`magicfeedback-rating-number-container-${n}`), E.style.display = "flex", E.style.flexDirection = b, E.setAttribute("role", "radiogroup"), E.setAttribute("aria-label", (null ==
|
|
1581
|
-
const k = (null ==
|
|
1667
|
+
E.classList.add("magicfeedback-rating-number-container"), E.classList.add(`magicfeedback-rating-number-container-${o2}`), E.classList.add(`magicfeedback-rating-number-container-${n}`), E.style.display = "flex", E.style.flexDirection = b, E.setAttribute("role", "radiogroup"), E.setAttribute("aria-label", (null == i3 ? void 0 : i3.ariaLabel) || (0, a.t)(c, "rating.ariaLabel"));
|
|
1668
|
+
const k = (null == i3 ? void 0 : i3.max) ? Number(null == i3 ? void 0 : i3.max) : 10, A = (null == i3 ? void 0 : i3.min) ? Number(null == i3 ? void 0 : i3.min) : 0;
|
|
1582
1669
|
!v && k - A + 1 > 6 && E.classList.add("magicfeedback-rating-number-container-row--dense");
|
|
1583
|
-
const T = (null ==
|
|
1584
|
-
|
|
1585
|
-
let
|
|
1586
|
-
if (!v && !
|
|
1587
|
-
|
|
1670
|
+
const T = (null == i3 ? void 0 : i3.numberPlaceholders) || null, C = !(!T || !Object.keys(T).length), w = !v && !f && !!T && Object.values(T).some((e4) => !!e4), x = "bottom" === (null == i3 ? void 0 : i3.numberPlaceholdersPosition) ? "bottom" : "top";
|
|
1671
|
+
w && (E.style.alignItems = "stretch");
|
|
1672
|
+
let S = null;
|
|
1673
|
+
if (!v && !w && ((null == i3 ? void 0 : i3.minPlaceholder) || (null == i3 ? void 0 : i3.maxPlaceholder))) {
|
|
1674
|
+
S = document.createElement("div"), S.classList.add("magicfeedback-rating-number-scale-labels");
|
|
1588
1675
|
const e4 = document.createElement("span");
|
|
1589
|
-
e4.classList.add("magicfeedback-rating-number-scale-label"), e4.textContent = null !== (p = null ==
|
|
1676
|
+
e4.classList.add("magicfeedback-rating-number-scale-label"), e4.textContent = null !== (p = null == i3 ? void 0 : i3.minPlaceholder) && void 0 !== p ? p : "";
|
|
1590
1677
|
const t3 = document.createElement("span");
|
|
1591
|
-
t3.classList.add("magicfeedback-rating-number-scale-label"), t3.textContent = null !== (m = null ==
|
|
1678
|
+
t3.classList.add("magicfeedback-rating-number-scale-label"), t3.textContent = null !== (m = null == i3 ? void 0 : i3.maxPlaceholder) && void 0 !== m ? m : "", "ltr" === o2 ? (S.appendChild(e4), S.appendChild(t3)) : (S.appendChild(t3), S.appendChild(e4));
|
|
1592
1679
|
}
|
|
1593
|
-
let
|
|
1594
|
-
if (v && !C && E.classList.add("magicfeedback-rating-number-container-column--bare"), (v ? !C : !
|
|
1595
|
-
const e4 = "ltr" === o2 ? null ==
|
|
1680
|
+
let P = null;
|
|
1681
|
+
if (v && !C && E.classList.add("magicfeedback-rating-number-container-column--bare"), (v ? !C : !w) && ((null == i3 ? void 0 : i3.minPlaceholder) || (null == i3 ? void 0 : i3.maxPlaceholder))) {
|
|
1682
|
+
const e4 = "ltr" === o2 ? null == i3 ? void 0 : i3.minPlaceholder : null == i3 ? void 0 : i3.maxPlaceholder, t3 = "ltr" === o2 ? null == i3 ? void 0 : i3.maxPlaceholder : null == i3 ? void 0 : i3.minPlaceholder, a2 = (e5) => {
|
|
1596
1683
|
const t4 = document.createElement("div");
|
|
1597
1684
|
return t4.classList.add("magicfeedback-rating-number-scale-label-block"), v || (t4.classList.add("magicfeedback-rating-number-scale-label-block--stacked"), t4.style.display = "none"), t4.textContent = e5, t4;
|
|
1598
1685
|
};
|
|
1599
|
-
e4 && h.appendChild(a2(e4)), t3 && (
|
|
1686
|
+
e4 && h.appendChild(a2(e4)), t3 && (P = a2(t3));
|
|
1600
1687
|
}
|
|
1601
1688
|
for (let t3 = A; t3 <= k; t3++) {
|
|
1602
1689
|
const a2 = document.createElement("div");
|
|
1603
1690
|
a2.classList.add("magicfeedback-rating-number-option"), a2.classList.add(`magicfeedback-rating-number-option-${n}`);
|
|
1604
1691
|
const o3 = document.createElement("label");
|
|
1605
1692
|
o3.htmlFor = `rating-${e3}-${t3}`, o3.classList.add("magicfeedback-rating-number-option-label-container");
|
|
1606
|
-
const c2 = C && (T[t3] || (t3 === A ? null ==
|
|
1693
|
+
const c2 = C && (T[t3] || (t3 === A ? null == i3 ? void 0 : i3.minPlaceholder : void 0) || (t3 === k ? null == i3 ? void 0 : i3.maxPlaceholder : void 0)), u2 = document.createElement("input");
|
|
1607
1694
|
u2.id = `rating-${e3}-${t3}`, u2.type = "radio", u2.name = e3, u2.value = t3.toString(), u2.classList.add(s), u2.classList.add("magicfeedback-input");
|
|
1608
1695
|
const p2 = null == y ? void 0 : y(t3);
|
|
1609
1696
|
u2.setAttribute("aria-label", c2 ? `${t3} \u2014 ${c2}` : p2 ? `${t3} \u2014 ${p2}` : `${t3}`), (0, r.autoAdvanceOn)(u2, l), d && d === u2.value && (u2.checked = true), o3.appendChild(u2);
|
|
1610
1697
|
const m2 = document.createElement("span");
|
|
1611
1698
|
m2.classList.add("magicfeedback-rating-number-value");
|
|
1612
1699
|
const h2 = document.createElement("span");
|
|
1613
|
-
if (h2.textContent = p2 ? `${t3} = ${p2}` : t3.toString(), h2.classList.add("magicfeedback-rating-number-value-num"), f && (h2.style.fontWeight = "normal"), m2.appendChild(h2), (v ||
|
|
1700
|
+
if (h2.textContent = p2 ? `${t3} = ${p2}` : t3.toString(), h2.classList.add("magicfeedback-rating-number-value-num"), f && (h2.style.fontWeight = "normal"), m2.appendChild(h2), (v || w) && c2) {
|
|
1614
1701
|
const e4 = document.createElement("span");
|
|
1615
1702
|
e4.textContent = c2, e4.classList.add("magicfeedback-rating-number-value-label"), v || (e4.style.display = "none"), m2.appendChild(e4);
|
|
1616
|
-
} else !v && !
|
|
1617
|
-
if (o3.appendChild(m2),
|
|
1703
|
+
} else !v && !w && T && T[t3] && (o3.title = T[t3]);
|
|
1704
|
+
if (o3.appendChild(m2), w) {
|
|
1618
1705
|
const e4 = document.createElement("label");
|
|
1619
|
-
e4.htmlFor = u2.id, e4.classList.add("magicfeedback-rating-number-option-caption"), e4.textContent = c2 || "", a2.classList.add("magicfeedback-rating-number-option--captioned"), a2.classList.add(`magicfeedback-rating-number-option--caption-${
|
|
1706
|
+
e4.htmlFor = u2.id, e4.classList.add("magicfeedback-rating-number-option-caption"), e4.textContent = c2 || "", a2.classList.add("magicfeedback-rating-number-option--captioned"), a2.classList.add(`magicfeedback-rating-number-option--caption-${x}`), a2.style.flexDirection = "top" === x ? "column" : "column-reverse", a2.style.justifyContent = "flex-end", a2.appendChild(e4);
|
|
1620
1707
|
}
|
|
1621
1708
|
a2.appendChild(o3), E.appendChild(a2);
|
|
1622
1709
|
}
|
|
1623
|
-
if (h.appendChild(E),
|
|
1624
|
-
const e4 = null ==
|
|
1625
|
-
"top" !== e4 && "bottom" !== e4 || (
|
|
1710
|
+
if (h.appendChild(E), P && h.appendChild(P), S) {
|
|
1711
|
+
const e4 = null == i3 ? void 0 : i3.minMaxPlaceholderPosition;
|
|
1712
|
+
"top" !== e4 && "bottom" !== e4 || (S.classList.add(`magicfeedback-rating-number-scale-labels--${e4}`), S.style.order = "top" === e4 ? "-1" : "1"), "top" === e4 ? h.insertBefore(S, E) : h.appendChild(S);
|
|
1626
1713
|
}
|
|
1627
|
-
if (v || f || (function(e4,
|
|
1714
|
+
if (v || f || (function(e4, i4, a2, r2, o3 = t2.$P) {
|
|
1628
1715
|
if ("undefined" == typeof ResizeObserver) return;
|
|
1629
|
-
const n2 =
|
|
1716
|
+
const n2 = i4.classList.contains("magicfeedback-rating-number-container-row--dense"), s2 = !!i4.querySelector(".magicfeedback-rating-number-option--captioned");
|
|
1630
1717
|
let l2 = 0, d2 = false;
|
|
1631
1718
|
const c2 = "function" == typeof requestAnimationFrame ? requestAnimationFrame : (e5) => (e5(0), 0);
|
|
1632
1719
|
let u2 = 0, p2 = false;
|
|
1633
|
-
new ResizeObserver((
|
|
1720
|
+
new ResizeObserver((t3) => {
|
|
1634
1721
|
var m2;
|
|
1635
1722
|
const h2 = null === (m2 = t3[0]) || void 0 === m2 ? void 0 : m2.contentRect.width;
|
|
1636
|
-
h2 && h2 !== u2 && (u2 = h2, p2 || (p2 = true, c2((
|
|
1723
|
+
h2 && h2 !== u2 && (u2 = h2, p2 || (p2 = true, c2(() => {
|
|
1637
1724
|
var t4;
|
|
1638
|
-
p2 = false, d2 || (l2 = parseFloat(getComputedStyle(
|
|
1725
|
+
p2 = false, d2 || (l2 = parseFloat(getComputedStyle(i4).columnGap) || 0), (t4 = u2 < a2 * o3 + (a2 - 1) * l2) !== d2 && (d2 = t4, e4.classList.toggle("magicfeedback-rating-number--stacked", t4), e4.querySelectorAll(":scope > .magicfeedback-rating-number-scale-labels").forEach((e5) => {
|
|
1639
1726
|
e5.style.display = t4 ? "none" : "";
|
|
1640
|
-
})
|
|
1727
|
+
}), e4.querySelectorAll(":scope > .magicfeedback-rating-number-scale-label-block--stacked").forEach((e5) => {
|
|
1641
1728
|
e5.style.display = t4 ? "" : "none";
|
|
1642
|
-
})
|
|
1729
|
+
}), i4.classList.toggle("magicfeedback-rating-number-container-row", !t4), i4.classList.toggle("magicfeedback-rating-number-container-row--dense", !t4 && n2), i4.classList.toggle("magicfeedback-rating-number-container-column", t4), i4.classList.toggle("magicfeedback-rating-number-container-column--bare", t4 && !s2), i4.style.flexDirection = t4 ? "ltr" === r2 ? "column" : "column-reverse" : "ltr" === r2 ? "row" : "row-reverse", i4.querySelectorAll(":scope > .magicfeedback-rating-number-option").forEach((e5) => {
|
|
1643
1730
|
if (e5.classList.toggle("magicfeedback-rating-number-option-row", !t4), e5.classList.toggle("magicfeedback-rating-number-option-column", t4), !e5.classList.contains("magicfeedback-rating-number-option--captioned")) return;
|
|
1644
|
-
const
|
|
1645
|
-
e5.style.flexDirection = t4 ? "" :
|
|
1731
|
+
const i5 = e5.classList.contains("magicfeedback-rating-number-option--caption-top");
|
|
1732
|
+
e5.style.flexDirection = t4 ? "" : i5 ? "column" : "column-reverse", e5.querySelectorAll(".magicfeedback-rating-number-option-caption").forEach((e6) => {
|
|
1646
1733
|
e6.style.display = t4 ? "none" : "";
|
|
1647
|
-
})
|
|
1734
|
+
}), e5.querySelectorAll(".magicfeedback-rating-number-value-label").forEach((e6) => {
|
|
1648
1735
|
e6.style.display = t4 ? "" : "none";
|
|
1649
|
-
})
|
|
1650
|
-
}))
|
|
1651
|
-
})))
|
|
1652
|
-
})
|
|
1653
|
-
})(h, E, k - A + 1, o2,
|
|
1736
|
+
});
|
|
1737
|
+
}));
|
|
1738
|
+
})));
|
|
1739
|
+
}).observe(e4);
|
|
1740
|
+
})(h, E, k - A + 1, o2, w ? t2.iW : t2.$P), (null == i3 ? void 0 : i3.extraOption) && (null == i3 ? void 0 : i3.extraOptionText)) {
|
|
1654
1741
|
const t3 = document.createElement("div");
|
|
1655
1742
|
t3.classList.add("magicfeedback-rating-number-extra-row");
|
|
1656
1743
|
const a2 = document.createElement("div");
|
|
@@ -1658,107 +1745,107 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1658
1745
|
const o3 = document.createElement("label");
|
|
1659
1746
|
o3.htmlFor = `rating-${e3}-extra`, o3.classList.add("magicfeedback-rating-number-option-label-container");
|
|
1660
1747
|
const n2 = document.createElement("input");
|
|
1661
|
-
n2.id = `rating-${e3}-extra`, n2.type = "radio", n2.name = e3, n2.value = "-", n2.classList.add(s), n2.classList.add("magicfeedback-input"), n2.setAttribute("aria-label", null ==
|
|
1748
|
+
n2.id = `rating-${e3}-extra`, n2.type = "radio", n2.name = e3, n2.value = "-", n2.classList.add(s), n2.classList.add("magicfeedback-input"), n2.setAttribute("aria-label", null == i3 ? void 0 : i3.extraOptionText), (0, r.autoAdvanceOn)(n2, l);
|
|
1662
1749
|
const d2 = document.createElement("span");
|
|
1663
1750
|
d2.classList.add("magicfeedback-rating-number-value");
|
|
1664
1751
|
const c2 = document.createElement("span");
|
|
1665
|
-
c2.textContent = null ==
|
|
1752
|
+
c2.textContent = null == i3 ? void 0 : i3.extraOptionText, c2.classList.add("magicfeedback-rating-number-value-label"), d2.appendChild(c2), o3.appendChild(n2), o3.appendChild(d2), a2.appendChild(o3), t3.appendChild(a2), h.appendChild(t3);
|
|
1666
1753
|
}
|
|
1667
1754
|
return h;
|
|
1668
1755
|
}, t2.usesLegacyRatingNumber = function(e3) {
|
|
1669
1756
|
return !!e3 && /matas/i.test(e3);
|
|
1670
|
-
}, t2
|
|
1671
|
-
},
|
|
1757
|
+
}, t2.$P = 44, t2.iW = 72;
|
|
1758
|
+
}, 8042(e2, t2, i2) {
|
|
1672
1759
|
"use strict";
|
|
1673
|
-
|
|
1674
|
-
const a =
|
|
1760
|
+
t2.getQuestionRenderer = void 0;
|
|
1761
|
+
const a = i2(5558), r = i2(8998), o = i2(1072), n = i2(6732), s = i2(2090), l = i2(8065), d = i2(9085), c = i2(8817), u = i2(9965), p = i2(9180), m = i2(1991), h = i2(9152), f = i2(1917), g = i2(5452), y = i2(2644), v = i2(2773), b = i2(1066), E = i2(1843), k = i2(4250), A = i2(8409), T = i2(2282), C = i2(8736), w = /* @__PURE__ */ new Map([[a.FEEDBACKAPPANSWERTYPE.TEXT, s.renderText], [a.FEEDBACKAPPANSWERTYPE.LONGTEXT, o.renderLongText], [a.FEEDBACKAPPANSWERTYPE.NUMBER, n.renderNumber], [a.FEEDBACKAPPANSWERTYPE.RADIO, r.renderChoice], [a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE, r.renderChoice], [a.FEEDBACKAPPANSWERTYPE.BOOLEAN, l.renderBoolean], [a.FEEDBACKAPPANSWERTYPE.SELECT, d.renderSelect], [a.FEEDBACKAPPANSWERTYPE.DATE, c.renderDate], [a.FEEDBACKAPPANSWERTYPE.EMAIL, u.renderEmail], [a.FEEDBACKAPPANSWERTYPE.PASSWORD, p.renderPassword], [a.FEEDBACKAPPANSWERTYPE.CONSENT, m.renderConsent], [a.FEEDBACKAPPANSWERTYPE.RATING_EMOJI, h.renderRatingEmoji], [a.FEEDBACKAPPANSWERTYPE.RATING_NUMBER, f.renderRatingNumber], [a.FEEDBACKAPPANSWERTYPE.RATING_STAR, g.renderRatingStar], [a.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX, y.renderMatrix], [a.FEEDBACKAPPANSWERTYPE.PRIORITY_LIST, v.renderPriorityList], [a.FEEDBACKAPPANSWERTYPE.POINT_SYSTEM, b.renderPointSystem], [a.FEEDBACKAPPANSWERTYPE.UPLOAD_IMAGE, E.renderUploadImage], [a.FEEDBACKAPPANSWERTYPE.UPLOAD_FILE, k.renderUploadFile], [a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOISE_IMAGE, A.renderMultipleChoiceImage], [a.FEEDBACKAPPANSWERTYPE.INFO_PAGE, T.renderInfoPage], [a.FEEDBACKAPPANSWERTYPE.MAX_DIFF, C.renderMaxDiff]]);
|
|
1675
1762
|
t2.getQuestionRenderer = function(e3) {
|
|
1676
|
-
return
|
|
1763
|
+
return w.get(e3);
|
|
1677
1764
|
};
|
|
1678
|
-
},
|
|
1765
|
+
}, 8065(e2, t2, i2) {
|
|
1679
1766
|
"use strict";
|
|
1680
|
-
|
|
1681
|
-
const a =
|
|
1682
|
-
t2.renderBoolean = ({ question: e3, language: t3, urlParamValue:
|
|
1767
|
+
t2.renderBoolean = void 0;
|
|
1768
|
+
const a = i2(516), r = i2(7321);
|
|
1769
|
+
t2.renderBoolean = ({ question: e3, language: t3, urlParamValue: i3, send: o }) => {
|
|
1683
1770
|
const { ref: n, assets: s } = e3, l = document.createElement("div"), d = "magicfeedback-radio", c = document.createElement("div");
|
|
1684
|
-
return c.classList.add("magicfeedback-boolean-container"), c.style.display = "flex", c.style.flexDirection = "row", c.style.justifyContent = "space-between", c.style.width = "70%", c.style.margin = "auto", ((null == s ? void 0 : s.addIcon) ? ["\u{1F44D}", "\u{1F44E}"] : (0, a.getBooleanOptions)(t3)).forEach((
|
|
1771
|
+
return c.classList.add("magicfeedback-boolean-container"), c.style.display = "flex", c.style.flexDirection = "row", c.style.justifyContent = "space-between", c.style.width = "70%", c.style.margin = "auto", ((null == s ? void 0 : s.addIcon) ? ["\u{1F44D}", "\u{1F44E}"] : (0, a.getBooleanOptions)(t3)).forEach((e4, t4) => {
|
|
1685
1772
|
const a2 = document.createElement("label");
|
|
1686
1773
|
a2.classList.add("magicfeedback-boolean-option"), a2.htmlFor = `rating-${n}-${t4}`, a2.style.cursor = "pointer", a2.style.display = "flex", a2.style.justifyContent = "center", a2.style.alignItems = "center", a2.style.margin = "auto", a2.style.padding = "0", a2.style.width = "45%", a2.style.height = "38px";
|
|
1687
1774
|
const s2 = document.createElement("label");
|
|
1688
1775
|
s2.htmlFor = `rating-${n}-${t4}`, s2.textContent = e4, s2.style.margin = "0", s2.style.padding = "0";
|
|
1689
1776
|
const l2 = document.createElement("input");
|
|
1690
|
-
l2.id = `rating-${n}-${t4}`, l2.type = "radio", l2.name = n, l2.value = ["Yes", "No"][t4], l2.classList.add(d), l2.classList.add("magicfeedback-input"), l2.style.position = "absolute", l2.style.opacity = "0", l2.style.width = "0", l2.style.height = "0", l2.style.margin = "0", (0, r.autoAdvanceOn)(l2, o),
|
|
1691
|
-
})
|
|
1777
|
+
l2.id = `rating-${n}-${t4}`, l2.type = "radio", l2.name = n, l2.value = ["Yes", "No"][t4], l2.classList.add(d), l2.classList.add("magicfeedback-input"), l2.style.position = "absolute", l2.style.opacity = "0", l2.style.width = "0", l2.style.height = "0", l2.style.margin = "0", (0, r.autoAdvanceOn)(l2, o), i3 && i3.toLowerCase() === l2.value.toLowerCase() && (l2.checked = true), a2.appendChild(l2), a2.appendChild(s2), c.appendChild(a2);
|
|
1778
|
+
}), l.appendChild(c), { element: l, elementTypeClass: d };
|
|
1692
1779
|
};
|
|
1693
|
-
},
|
|
1780
|
+
}, 8998(e2, t2, i2) {
|
|
1694
1781
|
"use strict";
|
|
1695
|
-
|
|
1696
|
-
const a =
|
|
1697
|
-
t2.renderChoice = ({ question: e3, language:
|
|
1782
|
+
t2.Z = t2.renderChoice = void 0;
|
|
1783
|
+
const a = i2(5558), r = i2(9784), o = i2(7321);
|
|
1784
|
+
t2.renderChoice = ({ question: e3, language: i3, urlParamValue: s, randomPosition: l, send: d }) => {
|
|
1698
1785
|
const { type: c, ref: u, value: p, defaultValue: m, assets: h } = e3, f = document.createElement("div"), g = "magicfeedback-" + ("MULTIPLECHOICE" === c ? "checkbox" : "radio");
|
|
1699
1786
|
let y = p || [];
|
|
1700
|
-
l && (y = y.sort((
|
|
1787
|
+
l && (y = y.sort(() => Math.random() - 0.5));
|
|
1701
1788
|
let v = (null == h ? void 0 : h.exclusiveAnswers) || [];
|
|
1702
|
-
(null == h ? void 0 : h.extraOption) && (v = v.filter((
|
|
1789
|
+
(null == h ? void 0 : h.extraOption) && (v = v.filter((e4) => e4 !== h.extraOptionText)), v.length > 0 && (null == v || v.forEach((e4) => {
|
|
1703
1790
|
y.includes(e4) || y.push(e4);
|
|
1704
|
-
}))
|
|
1791
|
+
}));
|
|
1705
1792
|
const b = null == h ? void 0 : h.extraOptionText;
|
|
1706
|
-
return (null == h ? void 0 : h.extraOption) && b && !y.includes(b) && y.push(b), y.forEach((
|
|
1793
|
+
return (null == h ? void 0 : h.extraOption) && b && !y.includes(b) && y.push(b), y.forEach((e4, t3) => {
|
|
1707
1794
|
const n2 = document.createElement("div");
|
|
1708
1795
|
n2.classList.add(`magicfeedback-${"MULTIPLECHOICE" === c ? "checkbox" : "radio"}-container`);
|
|
1709
1796
|
const l2 = document.createElement("label"), p2 = document.createElement("input");
|
|
1710
|
-
if (p2.id = `rating-${u}-${t3}`, p2.type = "MULTIPLECHOICE" === c ? "checkbox" : "radio", p2.name = u, p2.value = e4, p2.classList.add(g), p2.classList.add("magicfeedback-input"), c === a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE && (null == h ? void 0 : h.maxOptions) && (null == h ? void 0 : h.maxOptions) > 0 && p2.addEventListener("change", (
|
|
1797
|
+
if (p2.id = `rating-${u}-${t3}`, p2.type = "MULTIPLECHOICE" === c ? "checkbox" : "radio", p2.name = u, p2.value = e4, p2.classList.add(g), p2.classList.add("magicfeedback-input"), c === a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE && (null == h ? void 0 : h.maxOptions) && (null == h ? void 0 : h.maxOptions) > 0 && p2.addEventListener("change", () => {
|
|
1711
1798
|
document.querySelectorAll(`input[name="${u}"]:checked`).length > (null == h ? void 0 : h.maxOptions) && (p2.checked = false);
|
|
1712
|
-
})
|
|
1713
|
-
const
|
|
1714
|
-
t4.target.checked && v.includes(e4) ? (y.forEach((
|
|
1799
|
+
}), c === a.FEEDBACKAPPANSWERTYPE.RADIO && d && (!(null == h ? void 0 : h.extraOptionText) || (null == h ? void 0 : h.extraOptionText) && e4 !== (null == h ? void 0 : h.extraOptionText)) && (0, o.autoAdvanceOn)(p2, d), e4 !== m && e4 !== s || (p2.checked = true), l2.textContent = e4, l2.htmlFor = `rating-${u}-${t3}`, p2.addEventListener("change", (t4) => {
|
|
1800
|
+
const i4 = document.getElementById(`extra-option-${u}`);
|
|
1801
|
+
t4.target.checked && v.includes(e4) ? (y.forEach((t5) => {
|
|
1715
1802
|
t5 !== e4 && (document.querySelector(`input[value="${t5}"]`).checked = false);
|
|
1716
|
-
})
|
|
1803
|
+
}), i4 && (i4.style.display = "none")) : v.forEach((t5) => {
|
|
1717
1804
|
t5 !== e4 && (document.querySelector(`input[value="${t5}"]`).checked = false);
|
|
1718
|
-
})
|
|
1719
|
-
})
|
|
1805
|
+
}), (null == h ? void 0 : h.extraOption) && e4 === (null == h ? void 0 : h.extraOptionText) && i4 && (i4.style.display = t4.target.checked ? "block" : "none");
|
|
1806
|
+
}), n2.appendChild(p2), n2.appendChild(l2), f.appendChild(n2), (null == h ? void 0 : h.extraOption) && e4 === (null == h ? void 0 : h.extraOptionText)) {
|
|
1720
1807
|
const e5 = document.createElement("input");
|
|
1721
|
-
e5.type = "text", e5.placeholder = (null == h ? void 0 : h.extraOptionPlaceholder) || r.placeholder.answer(
|
|
1808
|
+
e5.type = "text", e5.placeholder = (null == h ? void 0 : h.extraOptionPlaceholder) || r.placeholder.answer(i3 || "en"), e5.classList.add("magicfeedback-extra-option"), e5.classList.add("magicfeedback-input"), e5.id = `extra-option-${u}`, e5.name = `extra-option-${u}`, e5.style.display = "none", f.appendChild(e5);
|
|
1722
1809
|
}
|
|
1723
|
-
})
|
|
1810
|
+
}), c === a.FEEDBACKAPPANSWERTYPE.RADIO && "row" === (null == h ? void 0 : h.direction) && (f.classList.add("magicfeedback-radio--row"), (function(e4, i4) {
|
|
1724
1811
|
if (e4.classList.toggle("magicfeedback-radio--stacked", window.innerWidth < n), "undefined" == typeof ResizeObserver) return;
|
|
1725
1812
|
const a2 = "function" == typeof requestAnimationFrame ? requestAnimationFrame : (e5) => (e5(0), 0);
|
|
1726
1813
|
let r2 = 0, o2 = false;
|
|
1727
|
-
new ResizeObserver((
|
|
1814
|
+
new ResizeObserver((s2) => {
|
|
1728
1815
|
var l2;
|
|
1729
1816
|
const d2 = null === (l2 = s2[0]) || void 0 === l2 ? void 0 : l2.contentRect.width;
|
|
1730
|
-
d2 && d2 !== r2 && (r2 = d2, o2 || (o2 = true, a2((
|
|
1817
|
+
d2 && d2 !== r2 && (r2 = d2, o2 || (o2 = true, a2(() => {
|
|
1731
1818
|
o2 = false, ((a3) => {
|
|
1732
|
-
const r3 = parseFloat(getComputedStyle(e4).columnGap) || 0, o3 =
|
|
1819
|
+
const r3 = parseFloat(getComputedStyle(e4).columnGap) || 0, o3 = i4 * t2.Z + (i4 - 1) * r3;
|
|
1733
1820
|
e4.classList.toggle("magicfeedback-radio--stacked", window.innerWidth < n || a3 < o3);
|
|
1734
1821
|
})(r2);
|
|
1735
|
-
})))
|
|
1736
|
-
})
|
|
1822
|
+
})));
|
|
1823
|
+
}).observe(e4);
|
|
1737
1824
|
})(f, y.length)), { element: f, elementTypeClass: g };
|
|
1738
|
-
}, t2.
|
|
1825
|
+
}, t2.Z = 120;
|
|
1739
1826
|
const n = 600;
|
|
1740
|
-
},
|
|
1827
|
+
}, 1991(e2, t2, i2) {
|
|
1741
1828
|
"use strict";
|
|
1742
|
-
|
|
1743
|
-
const a =
|
|
1744
|
-
t2.renderConsent = ({ question: e3, urlParamValue: t3, send:
|
|
1829
|
+
t2.renderConsent = void 0;
|
|
1830
|
+
const a = i2(7321);
|
|
1831
|
+
t2.renderConsent = ({ question: e3, urlParamValue: t3, send: i3 }) => {
|
|
1745
1832
|
const { id: r, ref: o, value: n, require: s } = e3, l = document.createElement("input");
|
|
1746
|
-
return l.type = "checkbox", l.id = `magicfeedback-${r}`, l.name = o, l.value = "true", l.required = s, l.classList.add("magicfeedback-consent"), l.classList.add("magicfeedback-input"), t3 && n.includes(t3) && (l.checked = true), (0, a.autoAdvanceOn)(l,
|
|
1833
|
+
return l.type = "checkbox", l.id = `magicfeedback-${r}`, l.name = o, l.value = "true", l.required = s, l.classList.add("magicfeedback-consent"), l.classList.add("magicfeedback-input"), t3 && n.includes(t3) && (l.checked = true), (0, a.autoAdvanceOn)(l, i3), { element: l, elementTypeClass: "magicfeedback-consent" };
|
|
1747
1834
|
};
|
|
1748
|
-
},
|
|
1835
|
+
}, 8817(e2, t2, i2) {
|
|
1749
1836
|
"use strict";
|
|
1750
|
-
|
|
1751
|
-
const a =
|
|
1752
|
-
t2.renderDate = ({ language: e3, placeholderText: t3, urlParamValue:
|
|
1837
|
+
t2.renderDate = void 0;
|
|
1838
|
+
const a = i2(9784);
|
|
1839
|
+
t2.renderDate = ({ language: e3, placeholderText: t3, urlParamValue: i3 }) => {
|
|
1753
1840
|
const r = document.createElement("input");
|
|
1754
|
-
return r.type = "date", r.placeholder = t3 || a.placeholder.date(e3 || "en"),
|
|
1841
|
+
return r.type = "date", r.placeholder = t3 || a.placeholder.date(e3 || "en"), i3 && (r.value = i3), { element: r, elementTypeClass: "magicfeedback-date" };
|
|
1755
1842
|
};
|
|
1756
|
-
},
|
|
1843
|
+
}, 9965(e2, t2, i2) {
|
|
1757
1844
|
"use strict";
|
|
1758
|
-
|
|
1759
|
-
const a =
|
|
1845
|
+
t2.renderEmail = void 0;
|
|
1846
|
+
const a = i2(881), r = { outside: "magicfeedback-email-row", inside: "magicfeedback-email-inset" };
|
|
1760
1847
|
function o(e3, t3) {
|
|
1761
|
-
var
|
|
1848
|
+
var i3;
|
|
1762
1849
|
document.activeElement !== e3 && e3.focus();
|
|
1763
1850
|
const a2 = e3.value;
|
|
1764
1851
|
try {
|
|
@@ -1766,24 +1853,21 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1766
1853
|
} catch (e4) {
|
|
1767
1854
|
}
|
|
1768
1855
|
try {
|
|
1769
|
-
if ("number" == typeof e3.selectionStart) return e3.setRangeText(t3, e3.selectionStart, null !== (
|
|
1856
|
+
if ("number" == typeof e3.selectionStart) return e3.setRangeText(t3, e3.selectionStart, null !== (i3 = e3.selectionEnd) && void 0 !== i3 ? i3 : e3.selectionStart, "end"), e3.dispatchEvent(new Event("input", { bubbles: true })), "setRangeText";
|
|
1770
1857
|
} catch (e4) {
|
|
1771
1858
|
}
|
|
1772
1859
|
return e3.value = a2 + t3, e3.dispatchEvent(new Event("input", { bubbles: true })), "append";
|
|
1773
1860
|
}
|
|
1774
|
-
function n(e3) {
|
|
1775
|
-
return "Digit2" === e3.code && e3.altKey && !e3.ctrlKey && !e3.metaKey && !e3.isComposing;
|
|
1776
|
-
}
|
|
1777
|
-
function s(e3, t3, i2) {
|
|
1861
|
+
function n(e3, t3, i3) {
|
|
1778
1862
|
const n2 = document.createElement("div");
|
|
1779
1863
|
n2.classList.add(r[t3]);
|
|
1780
|
-
const
|
|
1781
|
-
|
|
1864
|
+
const s = document.createElement("button");
|
|
1865
|
+
s.type = "button", s.classList.add("magicfeedback-email-at"), s.textContent = "@", s.setAttribute("aria-label", (0, a.t)(i3, "email.atButton"));
|
|
1782
1866
|
const l = (e4) => e4.preventDefault();
|
|
1783
|
-
|
|
1867
|
+
s.addEventListener("pointerdown", l), s.addEventListener("mousedown", l), s.addEventListener("click", () => o(e3, "@")), n2.appendChild(e3), n2.appendChild(s);
|
|
1784
1868
|
const d = document.createElement("p");
|
|
1785
1869
|
d.classList.add("magicfeedback-email-hint");
|
|
1786
|
-
const c = (0, a.t)(
|
|
1870
|
+
const c = (0, a.t)(i3, "email.atHint"), u = c.indexOf("@");
|
|
1787
1871
|
if (u >= 0) {
|
|
1788
1872
|
const e4 = document.createElement("b");
|
|
1789
1873
|
e4.textContent = "@", d.append(c.slice(0, u), e4, c.slice(u + 1));
|
|
@@ -1791,105 +1875,107 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1791
1875
|
const p = document.createElement("div");
|
|
1792
1876
|
return p.classList.add("magicfeedback-email-container"), p.appendChild(n2), p.appendChild(d), p;
|
|
1793
1877
|
}
|
|
1794
|
-
t2.
|
|
1878
|
+
t2.renderEmail = ({ question: e3, language: t3, placeholderText: i3, urlParamValue: a2 }) => {
|
|
1795
1879
|
var r2;
|
|
1796
|
-
const
|
|
1797
|
-
|
|
1798
|
-
const
|
|
1799
|
-
a2 && (
|
|
1880
|
+
const s = document.createElement("input");
|
|
1881
|
+
s.type = "email", s.placeholder = i3 || "you@example.com";
|
|
1882
|
+
const l = "magicfeedback-email";
|
|
1883
|
+
a2 && (s.value = a2), (function(e4) {
|
|
1800
1884
|
let t4 = 0;
|
|
1801
|
-
e4.addEventListener("keydown", (
|
|
1802
|
-
|
|
1803
|
-
|
|
1885
|
+
e4.addEventListener("keydown", (i4) => {
|
|
1886
|
+
(function(e5) {
|
|
1887
|
+
return "Digit2" === e5.code && e5.altKey && !e5.ctrlKey && !e5.metaKey && !e5.isComposing;
|
|
1888
|
+
})(i4) && (i4.preventDefault(), o(e4, "@"), t4 = Date.now() + 150);
|
|
1889
|
+
}), e4.addEventListener("beforeinput", (e5) => {
|
|
1804
1890
|
Date.now() < t4 && "insertText" === e5.inputType && e5.data && "@" !== e5.data && e5.preventDefault();
|
|
1805
|
-
})
|
|
1806
|
-
})(
|
|
1807
|
-
const
|
|
1808
|
-
return "outside" ===
|
|
1891
|
+
});
|
|
1892
|
+
})(s);
|
|
1893
|
+
const d = null === (r2 = null == e3 ? void 0 : e3.assets) || void 0 === r2 ? void 0 : r2.atButton;
|
|
1894
|
+
return "outside" === d || "inside" === d ? { element: s, elementTypeClass: l, container: n(s, d, t3) } : { element: s, elementTypeClass: l };
|
|
1809
1895
|
};
|
|
1810
|
-
},
|
|
1896
|
+
}, 2282(e2, t2) {
|
|
1811
1897
|
"use strict";
|
|
1812
|
-
|
|
1813
|
-
var
|
|
1898
|
+
t2.renderInfoPage = void 0, t2.renderInfoPage = ({ question: e3, placeholderText: t3 }) => {
|
|
1899
|
+
var i2, a;
|
|
1814
1900
|
const r = document.createElement("div");
|
|
1815
|
-
if ("string" == typeof (null === (
|
|
1901
|
+
if ("string" == typeof (null === (i2 = e3.assets) || void 0 === i2 ? void 0 : i2.placeholder) ? "" !== e3.assets.placeholder.trim() : Boolean(null === (a = e3.assets) || void 0 === a ? void 0 : a.placeholder)) {
|
|
1816
1902
|
const e4 = document.createElement("div");
|
|
1817
1903
|
e4.classList.add("magicfeedback-info-message"), e4.innerHTML = t3 || "", r.appendChild(e4);
|
|
1818
1904
|
}
|
|
1819
1905
|
return { element: r, elementTypeClass: "magicfeedback-info-page" };
|
|
1820
1906
|
};
|
|
1821
|
-
},
|
|
1907
|
+
}, 1072(e2, t2, i2) {
|
|
1822
1908
|
"use strict";
|
|
1823
|
-
|
|
1824
|
-
const a =
|
|
1825
|
-
t2.renderLongText = ({ language: e3, placeholderText: t3, urlParamValue:
|
|
1909
|
+
t2.renderLongText = void 0;
|
|
1910
|
+
const a = i2(9784);
|
|
1911
|
+
t2.renderLongText = ({ language: e3, placeholderText: t3, urlParamValue: i3, maxCharacters: r }) => {
|
|
1826
1912
|
const o = document.createElement("textarea");
|
|
1827
|
-
return o.rows = 3, r > 0 && (o.maxLength = r), o.placeholder = t3 || a.placeholder.answer(e3 || "en"),
|
|
1913
|
+
return o.rows = 3, r > 0 && (o.maxLength = r), o.placeholder = t3 || a.placeholder.answer(e3 || "en"), i3 && (o.value = i3), { element: o, elementTypeClass: "magicfeedback-longtext" };
|
|
1828
1914
|
};
|
|
1829
|
-
},
|
|
1915
|
+
}, 2644(e2, t2) {
|
|
1830
1916
|
"use strict";
|
|
1831
|
-
|
|
1917
|
+
t2.renderMatrix = void 0, t2.renderMatrix = ({ question: e3, isPhone: t3, randomPosition: i2 }) => {
|
|
1832
1918
|
const { ref: a, value: r, assets: o } = e3, n = document.createElement("div"), s = document.createElement("div");
|
|
1833
1919
|
s.classList.add("magicfeedback-multi-question-matrix-container");
|
|
1834
1920
|
let l = (null == o ? void 0 : o.options) || [], d = [...r], c = [];
|
|
1835
|
-
if (
|
|
1921
|
+
if (i2 && (l = null == l ? void 0 : l.sort(() => Math.random() - 0.5), d = [...d].sort(() => Math.random() - 0.5)), (null == o ? void 0 : o.exclusiveAnswers) && (c = null == o ? void 0 : o.exclusiveAnswers, null == c || c.forEach((e4) => {
|
|
1836
1922
|
d.includes(e4) || d.push(e4);
|
|
1837
|
-
}))
|
|
1923
|
+
})), t3) {
|
|
1838
1924
|
const e4 = document.createElement("div");
|
|
1839
|
-
e4.classList.add("magicfeedback-multi-question-matrix-list"), null == l || l.forEach((
|
|
1840
|
-
const
|
|
1841
|
-
|
|
1925
|
+
e4.classList.add("magicfeedback-multi-question-matrix-list"), null == l || l.forEach((t4) => {
|
|
1926
|
+
const i3 = document.createElement("div");
|
|
1927
|
+
i3.classList.add("magicfeedback-multi-question-matrix-list-item"), i3.style.display = "flex", i3.style.flexDirection = "column", i3.style.alignItems = "flex-start", i3.style.marginBottom = "10px";
|
|
1842
1928
|
const r2 = document.createElement("label");
|
|
1843
|
-
r2.classList.add("magicfeedback-multi-question-matrix-label"), r2.style.paddingBottom = "10px", r2.textContent = t4,
|
|
1929
|
+
r2.classList.add("magicfeedback-multi-question-matrix-label"), r2.style.paddingBottom = "10px", r2.textContent = t4, i3.appendChild(r2), d.forEach((e5) => {
|
|
1844
1930
|
const r3 = document.createElement("div");
|
|
1845
1931
|
r3.classList.add("magicfeedback-radio-container"), r3.style.display = "flex", r3.style.alignItems = "center", r3.style.justifyContent = "flex-start", r3.style.width = "99%", r3.style.margin = "5px auto";
|
|
1846
1932
|
const o2 = document.createElement("label"), n2 = document.createElement("input");
|
|
1847
|
-
n2.id = `${a}-${t4}-${e5}`, n2.type = "radio", n2.name = `${a}-${t4}`, n2.value = e5, n2.classList.add("magicfeedback-input"), o2.textContent = e5, o2.htmlFor = `${a}-${t4}-${e5}`, r3.appendChild(n2), r3.appendChild(o2),
|
|
1848
|
-
})
|
|
1849
|
-
})
|
|
1933
|
+
n2.id = `${a}-${t4}-${e5}`, n2.type = "radio", n2.name = `${a}-${t4}`, n2.value = e5, n2.classList.add("magicfeedback-input"), o2.textContent = e5, o2.htmlFor = `${a}-${t4}-${e5}`, r3.appendChild(n2), r3.appendChild(o2), i3.appendChild(r3);
|
|
1934
|
+
}), e4.appendChild(i3);
|
|
1935
|
+
}), s.appendChild(e4);
|
|
1850
1936
|
} else {
|
|
1851
1937
|
const e4 = document.createElement("table");
|
|
1852
1938
|
e4.classList.add("magicfeedback-multi-question-matrix-table");
|
|
1853
1939
|
const t4 = document.createElement("thead");
|
|
1854
1940
|
t4.classList.add("magicfeedback-multi-question-matrix-header"), t4.style.paddingBottom = "15px";
|
|
1855
|
-
const
|
|
1856
|
-
|
|
1941
|
+
const i3 = document.createElement("tr"), r2 = document.createElement("th");
|
|
1942
|
+
i3.appendChild(r2), d.forEach((e5) => {
|
|
1857
1943
|
const t5 = document.createElement("th");
|
|
1858
|
-
t5.textContent = e5,
|
|
1859
|
-
})
|
|
1944
|
+
t5.textContent = e5, i3.appendChild(t5);
|
|
1945
|
+
}), t4.appendChild(i3), e4.appendChild(t4);
|
|
1860
1946
|
const o2 = document.createElement("tbody");
|
|
1861
|
-
null == l || l.forEach((
|
|
1947
|
+
null == l || l.forEach((e5) => {
|
|
1862
1948
|
const t5 = document.createElement("tr");
|
|
1863
1949
|
t5.classList.add("magicfeedback-multi-question-matrix-row-tr");
|
|
1864
|
-
const
|
|
1865
|
-
|
|
1950
|
+
const i4 = document.createElement("td");
|
|
1951
|
+
i4.classList.add("magicfeedback-multi-question-matrix-question");
|
|
1866
1952
|
const r3 = document.createElement("label");
|
|
1867
|
-
r3.classList.add("magicfeedback-multi-question-matrix-label"), r3.textContent = e5,
|
|
1953
|
+
r3.classList.add("magicfeedback-multi-question-matrix-label"), r3.textContent = e5, i4.appendChild(r3), t5.appendChild(i4), d.forEach((i5) => {
|
|
1868
1954
|
const r4 = document.createElement("td"), o3 = document.createElement("input");
|
|
1869
|
-
o3.type = "radio", o3.name = `${a}-${e5}`, o3.value =
|
|
1955
|
+
o3.type = "radio", o3.name = `${a}-${e5}`, o3.value = i5, o3.id = `${a}-${e5}-${i5}`, o3.classList.add("magicfeedback-input");
|
|
1870
1956
|
const n2 = document.createElement("label");
|
|
1871
|
-
n2.classList.add("magicfeedback-multi-question-matrix-option-label"), n2.htmlFor = o3.id, n2.textContent =
|
|
1872
|
-
})
|
|
1873
|
-
})
|
|
1957
|
+
n2.classList.add("magicfeedback-multi-question-matrix-option-label"), n2.htmlFor = o3.id, n2.textContent = i5, r4.classList.add("magicfeedback-multi-question-matrix-option"), r4.appendChild(o3), r4.appendChild(n2), t5.appendChild(r4);
|
|
1958
|
+
}), o2.appendChild(t5);
|
|
1959
|
+
}), e4.appendChild(o2), s.appendChild(e4);
|
|
1874
1960
|
}
|
|
1875
1961
|
return n.appendChild(s), { element: n, elementTypeClass: "magicfeedback-multi-question-matrix" };
|
|
1876
1962
|
};
|
|
1877
|
-
},
|
|
1963
|
+
}, 8736(e2, t2, i2) {
|
|
1878
1964
|
"use strict";
|
|
1879
|
-
|
|
1880
|
-
const a =
|
|
1881
|
-
t2.renderMaxDiff = ({ question: e3, language: t3, randomPosition:
|
|
1965
|
+
t2.renderMaxDiff = void 0;
|
|
1966
|
+
const a = i2(516), r = i2(881), o = "http://www.w3.org/2000/svg";
|
|
1967
|
+
t2.renderMaxDiff = ({ question: e3, language: t3, randomPosition: i3 }) => {
|
|
1882
1968
|
const { ref: n, value: s, assets: l } = e3, d = document.createElement("div");
|
|
1883
1969
|
let c = [...s || []];
|
|
1884
|
-
|
|
1970
|
+
i3 && (c = c.sort(() => Math.random() - 0.5));
|
|
1885
1971
|
const u = { best: (0, a.parseTitle)(null == l ? void 0 : l.bestLabel, t3) || (0, r.t)(t3, "maxDiff.best"), worst: (0, a.parseTitle)(null == l ? void 0 : l.worstLabel, t3) || (0, r.t)(t3, "maxDiff.worst") }, p = document.createElement("div");
|
|
1886
1972
|
p.classList.add("magicfeedback-max-diff-container");
|
|
1887
1973
|
const m = Number(null == l ? void 0 : l.setIndex) || 1, h = Number(null == l ? void 0 : l.setCount) || 1;
|
|
1888
|
-
(null == l ? void 0 : l.showSetProgress) && h > 1 && p.appendChild((function(e4, t4,
|
|
1974
|
+
(null == l ? void 0 : l.showSetProgress) && h > 1 && p.appendChild((function(e4, t4, i4) {
|
|
1889
1975
|
const a2 = document.createElement("div");
|
|
1890
1976
|
a2.classList.add("magicfeedback-max-diff-progress");
|
|
1891
1977
|
const o2 = document.createElement("span");
|
|
1892
|
-
o2.classList.add("magicfeedback-max-diff-progress-label"), o2.textContent = (0, r.t)(
|
|
1978
|
+
o2.classList.add("magicfeedback-max-diff-progress-label"), o2.textContent = (0, r.t)(i4, "maxDiff.setProgress", { k: e4, n: t4 });
|
|
1893
1979
|
const n2 = document.createElement("span");
|
|
1894
1980
|
n2.classList.add("magicfeedback-max-diff-progress-track"), n2.setAttribute("aria-hidden", "true");
|
|
1895
1981
|
const s2 = document.createElement("span");
|
|
@@ -1900,41 +1986,41 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1900
1986
|
const g = (e4) => {
|
|
1901
1987
|
const t4 = document.createElement("th");
|
|
1902
1988
|
t4.scope = "col", t4.classList.add("magicfeedback-max-diff-head", `magicfeedback-max-diff-head-${e4}`);
|
|
1903
|
-
const
|
|
1904
|
-
return
|
|
1989
|
+
const i4 = document.createElement("span");
|
|
1990
|
+
return i4.classList.add("magicfeedback-max-diff-head-label"), i4.appendChild((function(e5) {
|
|
1905
1991
|
const t5 = document.createElementNS(o, "svg");
|
|
1906
1992
|
t5.setAttribute("viewBox", "0 0 24 24"), t5.setAttribute("width", "16"), t5.setAttribute("height", "16"), t5.setAttribute("fill", "none"), t5.setAttribute("stroke", "currentColor"), t5.setAttribute("stroke-width", "2.6"), t5.setAttribute("stroke-linecap", "round"), t5.setAttribute("stroke-linejoin", "round"), t5.setAttribute("aria-hidden", "true");
|
|
1907
|
-
const
|
|
1908
|
-
return
|
|
1909
|
-
})(e4)),
|
|
1993
|
+
const i5 = document.createElementNS(o, "path");
|
|
1994
|
+
return i5.setAttribute("d", "best" === e5 ? "M12 19V5M5 12l7-7 7 7" : "M12 5v14M19 12l-7 7-7-7"), t5.appendChild(i5), t5;
|
|
1995
|
+
})(e4)), i4.appendChild(document.createTextNode(u[e4])), t4.appendChild(i4), t4;
|
|
1910
1996
|
}, y = document.createElement("thead"), v = document.createElement("tr"), b = document.createElement("td");
|
|
1911
1997
|
b.classList.add("magicfeedback-max-diff-head-spacer"), v.appendChild(g("best")), v.appendChild(b), v.appendChild(g("worst")), y.appendChild(v), f.appendChild(y);
|
|
1912
|
-
const E = (e4, t4,
|
|
1998
|
+
const E = (e4, t4, i4) => {
|
|
1913
1999
|
const a2 = document.createElement("td");
|
|
1914
2000
|
a2.classList.add("magicfeedback-max-diff-cell");
|
|
1915
2001
|
const r2 = document.createElement("label");
|
|
1916
2002
|
r2.classList.add("magicfeedback-max-diff-pick");
|
|
1917
2003
|
const o2 = document.createElement("input");
|
|
1918
|
-
return o2.type = "radio", o2.name = `${n}-${e4}`, o2.value = t4, o2.id = `${n}-${e4}-${
|
|
2004
|
+
return o2.type = "radio", o2.name = `${n}-${e4}`, o2.value = t4, o2.id = `${n}-${e4}-${i4}`, o2.classList.add("magicfeedback-input", "magicfeedback-max-diff-input", `magicfeedback-max-diff-${e4}`), o2.setAttribute("aria-label", `${t4}: ${u[e4]}`), r2.appendChild(o2), a2.appendChild(r2), a2;
|
|
1919
2005
|
}, k = document.createElement("tbody");
|
|
1920
|
-
return c.forEach((
|
|
1921
|
-
const
|
|
1922
|
-
|
|
2006
|
+
return c.forEach((e4, t4) => {
|
|
2007
|
+
const i4 = document.createElement("tr");
|
|
2008
|
+
i4.classList.add("magicfeedback-max-diff-row");
|
|
1923
2009
|
const a2 = document.createElement("th");
|
|
1924
|
-
a2.scope = "row", a2.classList.add("magicfeedback-max-diff-item"), a2.textContent = e4,
|
|
1925
|
-
})
|
|
2010
|
+
a2.scope = "row", a2.classList.add("magicfeedback-max-diff-item"), a2.textContent = e4, i4.appendChild(E("best", e4, t4)), i4.appendChild(a2), i4.appendChild(E("worst", e4, t4)), k.appendChild(i4);
|
|
2011
|
+
}), f.appendChild(k), f.addEventListener("change", (e4) => {
|
|
1926
2012
|
var t4;
|
|
1927
|
-
const
|
|
1928
|
-
|
|
1929
|
-
e5 !==
|
|
1930
|
-
}))
|
|
1931
|
-
})
|
|
2013
|
+
const i4 = e4.target;
|
|
2014
|
+
i4.classList.contains("magicfeedback-max-diff-input") && (null === (t4 = i4.closest("tr")) || void 0 === t4 || t4.querySelectorAll(".magicfeedback-max-diff-input").forEach((e5) => {
|
|
2015
|
+
e5 !== i4 && (e5.checked = false);
|
|
2016
|
+
}));
|
|
2017
|
+
}), p.appendChild(f), d.appendChild(p), { element: d, elementTypeClass: "magicfeedback-max-diff" };
|
|
1932
2018
|
};
|
|
1933
|
-
},
|
|
2019
|
+
}, 8409(e2, t2, i2) {
|
|
1934
2020
|
"use strict";
|
|
1935
|
-
|
|
1936
|
-
const a =
|
|
1937
|
-
t2.renderMultipleChoiceImage = ({ question: e3, randomPosition: t3, urlParamValue:
|
|
2021
|
+
t2.renderMultipleChoiceImage = void 0;
|
|
2022
|
+
const a = i2(7321);
|
|
2023
|
+
t2.renderMultipleChoiceImage = ({ question: e3, randomPosition: t3, urlParamValue: i3, send: r }) => {
|
|
1938
2024
|
const o = document.createElement("div"), { ref: n, assets: s } = e3;
|
|
1939
2025
|
let l = [...e3.value];
|
|
1940
2026
|
const d = document.createElement("div");
|
|
@@ -1967,45 +2053,45 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
1967
2053
|
const { position: t4, url: o2, value: s2 } = e4, l2 = document.createElement("div");
|
|
1968
2054
|
l2.classList.add("magicfeedback-multiple-choice-image-option"), l2.style.width = `calc(100% / ${u} - 2px)`, l2.style.height = `calc(100% / ${p} - 2px)`, l2.style.padding = "8px", l2.style.margin = "0";
|
|
1969
2055
|
const c2 = document.createElement("label");
|
|
1970
|
-
c2.classList.add("magicfeedback-image-option-label-container"), c2.htmlFor = `rating-${n}-${t4}`, c2.style.cursor = "pointer", c2.addEventListener("click", (
|
|
2056
|
+
c2.classList.add("magicfeedback-image-option-label-container"), c2.htmlFor = `rating-${n}-${t4}`, c2.style.cursor = "pointer", c2.addEventListener("click", () => {
|
|
1971
2057
|
c2.style.border = "2px solid var(--mf-text-strong, #000)";
|
|
1972
|
-
})
|
|
2058
|
+
});
|
|
1973
2059
|
const f2 = document.createElement("label");
|
|
1974
2060
|
f2.textContent = s2, f2.classList.add("magicfeedback-multiple-choice-image-label");
|
|
1975
2061
|
const g2 = document.createElement("input");
|
|
1976
|
-
g2.id = `rating-${n}-${t4}`, g2.type = h ? "checkbox" : "radio", g2.name = n, g2.value = s2, g2.style.position = "absolute", g2.style.opacity = "0", g2.style.width = "0", g2.style.height = "0", g2.classList.add("magicfeedback-input"),
|
|
2062
|
+
g2.id = `rating-${n}-${t4}`, g2.type = h ? "checkbox" : "radio", g2.name = n, g2.value = s2, g2.style.position = "absolute", g2.style.opacity = "0", g2.style.width = "0", g2.style.height = "0", g2.classList.add("magicfeedback-input"), i3 && i3 === g2.value && (g2.checked = true), h || (0, a.autoAdvanceOn)(g2, r);
|
|
1977
2063
|
const y = document.createElement("img");
|
|
1978
2064
|
y.classList.add("magicfeedback-multiple-choice-image-image"), y.src = o2, y.style.cursor = "pointer", y.style.backgroundSize = "cover", y.style.backgroundPosition = "center", y.style.width = "100%", y.style.height = "100%", y.style.objectFit = "cover", y.style.margin = "auto", c2.appendChild(g2), c2.appendChild(y), m && c2.appendChild(f2), l2.appendChild(c2), d.appendChild(l2);
|
|
1979
2065
|
} catch (e5) {
|
|
1980
2066
|
console.error(e5);
|
|
1981
2067
|
}
|
|
1982
2068
|
}
|
|
1983
|
-
return t3 && (l = l.sort((
|
|
2069
|
+
return t3 && (l = l.sort(() => Math.random() - 0.5)), l.forEach((e4) => g(JSON.parse(e4))), f && (null == s ? void 0 : s.extraOptionValue) && (null == s ? void 0 : s.extraOptionValue.length) > 0 && g(null == s ? void 0 : s.extraOptionValue[0]), o.appendChild(d), { element: o, elementTypeClass: "magicfeedback-multiple-choice-image" };
|
|
1984
2070
|
};
|
|
1985
|
-
},
|
|
2071
|
+
}, 6732(e2, t2, i2) {
|
|
1986
2072
|
"use strict";
|
|
1987
|
-
|
|
1988
|
-
const a =
|
|
1989
|
-
t2.renderNumber = ({ question: e3, format: t3, language:
|
|
2073
|
+
t2.renderNumber = void 0;
|
|
2074
|
+
const a = i2(9784), r = i2(516);
|
|
2075
|
+
t2.renderNumber = ({ question: e3, format: t3, language: i3, urlParamValue: o }) => {
|
|
1990
2076
|
const n = document.createElement("input");
|
|
1991
|
-
n.type = "number", n.placeholder = "slim" === t3 ? (0, r.parseTitle)(e3.title,
|
|
2077
|
+
n.type = "number", n.placeholder = "slim" === t3 ? (0, r.parseTitle)(e3.title, i3) : a.placeholder.number(i3 || "en");
|
|
1992
2078
|
const { value: s } = e3;
|
|
1993
|
-
return s.length && (s.sort((
|
|
2079
|
+
return s.length && (s.sort((e4, t4) => Number(e4) - Number(t4)), n.max = s[s.length - 1], n.min = s[0], n.value = s[0]), o && !isNaN(Number(o)) && (n.value = o), { element: n, elementTypeClass: "magicfeedback-number" };
|
|
1994
2080
|
};
|
|
1995
|
-
},
|
|
2081
|
+
}, 9180(e2, t2, i2) {
|
|
1996
2082
|
"use strict";
|
|
1997
|
-
|
|
1998
|
-
const a =
|
|
1999
|
-
t2.renderPassword = ({ language: e3, placeholderText: t3, urlParamValue:
|
|
2083
|
+
t2.renderPassword = void 0;
|
|
2084
|
+
const a = i2(9784);
|
|
2085
|
+
t2.renderPassword = ({ language: e3, placeholderText: t3, urlParamValue: i3 }) => {
|
|
2000
2086
|
const r = document.createElement("input");
|
|
2001
|
-
return r.type = "password", r.placeholder = t3 || a.placeholder.password(e3 || "en"),
|
|
2087
|
+
return r.type = "password", r.placeholder = t3 || a.placeholder.password(e3 || "en"), i3 && (r.value = i3), { element: r, elementTypeClass: "magicfeedback-password" };
|
|
2002
2088
|
};
|
|
2003
|
-
},
|
|
2089
|
+
}, 1066(e2, t2, i2) {
|
|
2004
2090
|
"use strict";
|
|
2005
|
-
|
|
2006
|
-
const a =
|
|
2091
|
+
t2.renderPointSystem = void 0;
|
|
2092
|
+
const a = i2(9784);
|
|
2007
2093
|
t2.renderPointSystem = ({ question: e3, language: t3 }) => {
|
|
2008
|
-
const { ref:
|
|
2094
|
+
const { ref: i3, value: r } = e3, o = document.createElement("div"), n = document.createElement("div");
|
|
2009
2095
|
n.classList.add("magicfeedback-point-system-container");
|
|
2010
2096
|
const s = document.createElement("ul");
|
|
2011
2097
|
s.classList.add("magicfeedback-point-system-list"), s.style.padding = "0";
|
|
@@ -2014,7 +2100,7 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2014
2100
|
const c = document.createElement("div");
|
|
2015
2101
|
c.classList.add("magicfeedback-point-system-total"), c.style.textAlign = "end", c.style.fontSize = "15px", c.style.marginTop = "5px";
|
|
2016
2102
|
const u = document.createElement("bdi");
|
|
2017
|
-
return u.setAttribute("dir", "ltr"), u.textContent = "0 / 100 %", c.appendChild(u), r.forEach((
|
|
2103
|
+
return u.setAttribute("dir", "ltr"), u.textContent = "0 / 100 %", c.appendChild(u), r.forEach((e4, t4) => {
|
|
2018
2104
|
const a2 = document.createElement("li");
|
|
2019
2105
|
a2.classList.add("magicfeedback-point-system-item"), a2.style.display = "flex", a2.style.justifyContent = "space-between", a2.style.alignItems = "center", a2.style.margin = "5px";
|
|
2020
2106
|
const r2 = document.createElement("label");
|
|
@@ -2022,36 +2108,36 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2022
2108
|
const o2 = document.createElement("span");
|
|
2023
2109
|
o2.classList.add("magicfeedback-point-system-input-container");
|
|
2024
2110
|
const n2 = document.createElement("input");
|
|
2025
|
-
n2.name =
|
|
2111
|
+
n2.name = i3, n2.id = `${e4}`, n2.type = "number", n2.min = "0", n2.max = "100", n2.value = "0", n2.classList.add("magicfeedback-input"), n2.style.width = "40px", n2.style.border = "0", n2.style.textAlign = "center", n2.style.margin = "0 5px", n2.autofocus = 0 === t4;
|
|
2026
2112
|
const p = document.createElement("span");
|
|
2027
|
-
p.textContent = "%", p.style.color = "var(--mf-text-strong, #000)", n2.addEventListener("input", (
|
|
2113
|
+
p.textContent = "%", p.style.color = "var(--mf-text-strong, #000)", n2.addEventListener("input", () => {
|
|
2028
2114
|
const e5 = s.querySelectorAll("input");
|
|
2029
2115
|
let t5 = 0;
|
|
2030
|
-
e5.forEach((
|
|
2116
|
+
e5.forEach((e6) => {
|
|
2031
2117
|
t5 += Number(e6.value);
|
|
2032
|
-
})
|
|
2033
|
-
const
|
|
2034
|
-
|
|
2035
|
-
})
|
|
2118
|
+
}), t5 > 100 && (n2.value = `${l}%`, t5 -= Number(n2.value));
|
|
2119
|
+
const i4 = document.getElementById("magicfeedback-submit");
|
|
2120
|
+
i4 && (t5 < 100 ? (c.style.color = "orange", i4.setAttribute("disabled", "true")) : (d.style.display = "none", c.style.color = "green", i4.removeAttribute("disabled"))), u.textContent = `${t5} / 100 %`;
|
|
2121
|
+
}), n2.addEventListener("focus", () => {
|
|
2036
2122
|
const e5 = document.getElementById("magicfeedback-submit");
|
|
2037
|
-
e5 && (e5.setAttribute("disabled", "true"), e5.addEventListener("pointerover", (
|
|
2123
|
+
e5 && (e5.setAttribute("disabled", "true"), e5.addEventListener("pointerover", () => {
|
|
2038
2124
|
const e6 = s.querySelectorAll("input");
|
|
2039
2125
|
let t5 = 0;
|
|
2040
|
-
e6.forEach((
|
|
2126
|
+
e6.forEach((e7) => {
|
|
2041
2127
|
t5 += Number(e7.value);
|
|
2042
|
-
})
|
|
2043
|
-
}))
|
|
2044
|
-
})
|
|
2045
|
-
})
|
|
2128
|
+
}), t5 < 100 && (d.style.display = "block");
|
|
2129
|
+
}));
|
|
2130
|
+
}), o2.appendChild(n2), o2.appendChild(p), a2.appendChild(o2), s.appendChild(a2);
|
|
2131
|
+
}), n.appendChild(s), n.appendChild(c), n.appendChild(d), o.appendChild(n), { element: o, elementTypeClass: "magicfeedback-point-system" };
|
|
2046
2132
|
};
|
|
2047
|
-
},
|
|
2133
|
+
}, 2773(e2, t2, i2) {
|
|
2048
2134
|
"use strict";
|
|
2049
|
-
|
|
2050
|
-
const a =
|
|
2051
|
-
t2.renderPriorityList = ({ question: e3, randomPosition: t3, language:
|
|
2135
|
+
t2.renderPriorityList = void 0;
|
|
2136
|
+
const a = i2(4565), r = i2(881);
|
|
2137
|
+
t2.renderPriorityList = ({ question: e3, randomPosition: t3, language: i3 }) => {
|
|
2052
2138
|
var o, n, s;
|
|
2053
2139
|
const l = document.createElement("div"), d = (function(e4) {
|
|
2054
|
-
const { value: t4, ref:
|
|
2140
|
+
const { value: t4, ref: i4, randomPosition: o2 = false, limitPriority: n2 = false, maxPriority: s2 = 0, language: l2 = "en", placeholder: d2 = "" } = e4, c = (e5) => (0, r.t)(l2, "priority." + e5), u = document.createElement("div");
|
|
2055
2141
|
if (u.classList.add("magicfeedback-priority-list-container"), n2 && s2 && s2 > 0) {
|
|
2056
2142
|
const e5 = [], n3 = document.createElement("div");
|
|
2057
2143
|
n3.classList.add("magicfeedback-priority-list-header");
|
|
@@ -2064,11 +2150,11 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2064
2150
|
const f = document.createElement("ul");
|
|
2065
2151
|
f.classList.add("magicfeedback-priority-list-list"), h.appendChild(f);
|
|
2066
2152
|
const g = () => {
|
|
2067
|
-
f.innerHTML = "", e5.forEach((
|
|
2153
|
+
f.innerHTML = "", e5.forEach((t5, a2) => {
|
|
2068
2154
|
const r2 = document.createElement("li");
|
|
2069
2155
|
r2.classList.add("magicfeedback-priority-list-item");
|
|
2070
2156
|
const o3 = document.createElement("input");
|
|
2071
|
-
o3.classList.add("magicfeedback-input-magicfeedback-priority-list"), o3.classList.add("magicfeedback-input"), o3.type = "hidden", o3.id = `priority-list-${
|
|
2157
|
+
o3.classList.add("magicfeedback-input-magicfeedback-priority-list"), o3.classList.add("magicfeedback-input"), o3.type = "hidden", o3.id = `priority-list-${i4}`, o3.name = i4, o3.value = `${a2 + 1}. ${t5}`, r2.appendChild(o3);
|
|
2072
2158
|
const n4 = document.createElement("label");
|
|
2073
2159
|
n4.classList.add("magicfeedback-priority-list-item-label"), n4.textContent = `${a2 + 1}. ${t5}`, r2.appendChild(n4);
|
|
2074
2160
|
const s3 = document.createElement("div");
|
|
@@ -2076,11 +2162,11 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2076
2162
|
const l3 = document.createElement("img");
|
|
2077
2163
|
l3.classList.add("magicfeedback-priority-list-arrow-up"), l3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", l3.style.visibility = 0 === a2 ? "hidden" : "visible";
|
|
2078
2164
|
const d3 = document.createElement("img");
|
|
2079
|
-
d3.classList.add("magicfeedback-priority-list-arrow-down"), d3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", d3.style.transform = "rotate(180deg)", d3.style.visibility = a2 === e5.length - 1 ? "hidden" : "visible", l3.addEventListener("click", (
|
|
2080
|
-
var
|
|
2165
|
+
d3.classList.add("magicfeedback-priority-list-arrow-down"), d3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", d3.style.transform = "rotate(180deg)", d3.style.visibility = a2 === e5.length - 1 ? "hidden" : "visible", l3.addEventListener("click", () => {
|
|
2166
|
+
var i5, a3, s4, c2;
|
|
2081
2167
|
const u2 = r2.previousElementSibling;
|
|
2082
2168
|
if (u2) {
|
|
2083
|
-
const p3 = Number(null === (
|
|
2169
|
+
const p3 = Number(null === (i5 = o3.value) || void 0 === i5 ? void 0 : i5.split(".")[0]) - 1;
|
|
2084
2170
|
o3.value = `${p3}. ${t5}`, n4.textContent = `${p3}. ${t5}`, l3.style.visibility = 1 === p3 ? "hidden" : "visible", d3.style.visibility = p3 === e5.length ? "hidden" : "visible";
|
|
2085
2171
|
const m3 = u2.querySelector(".magicfeedback-input-magicfeedback-priority-list"), h2 = u2.querySelector(".magicfeedback-priority-list-item-label"), g2 = u2.querySelector(".magicfeedback-priority-list-arrow-up"), y2 = u2.querySelector(".magicfeedback-priority-list-arrow-down");
|
|
2086
2172
|
if (m3 && h2 && g2 && y2) {
|
|
@@ -2089,11 +2175,11 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2089
2175
|
}
|
|
2090
2176
|
f.insertBefore(r2, u2);
|
|
2091
2177
|
}
|
|
2092
|
-
})
|
|
2093
|
-
var
|
|
2178
|
+
}), d3.addEventListener("click", () => {
|
|
2179
|
+
var i5, a3, s4;
|
|
2094
2180
|
const c2 = r2.nextElementSibling;
|
|
2095
2181
|
if (c2) {
|
|
2096
|
-
const u2 = Number(null === (
|
|
2182
|
+
const u2 = Number(null === (i5 = o3.value) || void 0 === i5 ? void 0 : i5.split(".")[0]) + 1;
|
|
2097
2183
|
o3.value = `${u2}. ${t5}`, n4.textContent = `${u2}. ${t5}`, l3.style.visibility = 1 === u2 ? "hidden" : "visible", d3.style.visibility = u2 === e5.length ? "hidden" : "visible";
|
|
2098
2184
|
const p3 = c2.querySelector(".magicfeedback-input-magicfeedback-priority-list"), m3 = c2.querySelector(".magicfeedback-priority-list-item-label"), h2 = c2.querySelector(".magicfeedback-priority-list-arrow-up"), g2 = c2.querySelector(".magicfeedback-priority-list-arrow-down");
|
|
2099
2185
|
if (p3 && m3 && h2 && g2) {
|
|
@@ -2102,8 +2188,8 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2102
2188
|
}
|
|
2103
2189
|
f.insertBefore(c2, r2);
|
|
2104
2190
|
}
|
|
2105
|
-
})
|
|
2106
|
-
})
|
|
2191
|
+
}), s3.appendChild(l3), s3.appendChild(d3), r2.appendChild(s3), f.appendChild(r2);
|
|
2192
|
+
});
|
|
2107
2193
|
}, y = document.createElement("div");
|
|
2108
2194
|
y.classList.add("magicfeedback-modal-backdrop"), y.setAttribute("dir", (0, r.isRtlLanguage)(l2) ? "rtl" : "ltr"), y.style.position = "fixed", y.style.top = "0", y.style.left = "0", y.style.width = "100vw", y.style.height = "100vh", y.style.background = "var(--mf-overlay, rgba(0,0,0,0.4))", y.style.display = "none", y.style.alignItems = "center", y.style.justifyContent = "center", y.style.zIndex = "9999";
|
|
2109
2195
|
const v = document.createElement("div");
|
|
@@ -2115,83 +2201,83 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2115
2201
|
};
|
|
2116
2202
|
k();
|
|
2117
2203
|
const A = document.createElement("div");
|
|
2118
|
-
A.classList.add("magicfeedback-modal-list"), A.style.flex = "1 1 auto", A.style.overflowY = "auto", A.style.minHeight = "0", (o2 ? [...t4].sort((
|
|
2204
|
+
A.classList.add("magicfeedback-modal-list"), A.style.flex = "1 1 auto", A.style.overflowY = "auto", A.style.minHeight = "0", (o2 ? [...t4].sort(() => Math.random() - 0.5) : [...t4]).forEach((t5) => {
|
|
2119
2205
|
const a2 = document.createElement("label");
|
|
2120
2206
|
a2.classList.add("magicfeedback-modal-row");
|
|
2121
2207
|
const r2 = document.createElement("input");
|
|
2122
|
-
r2.type = "checkbox", r2.classList.add("magicfeedback-input"), r2.name = `${
|
|
2208
|
+
r2.type = "checkbox", r2.classList.add("magicfeedback-input"), r2.name = `${i4}-selection`, r2.value = t5;
|
|
2123
2209
|
const o3 = document.createElement("span");
|
|
2124
|
-
o3.textContent = t5, r2.addEventListener("change", (
|
|
2210
|
+
o3.textContent = t5, r2.addEventListener("change", () => {
|
|
2125
2211
|
if (r2.checked) {
|
|
2126
|
-
if (e5.length >= s2) return r2.checked = false, a2.classList.add("magicfeedback-warning"), void setTimeout((
|
|
2212
|
+
if (e5.length >= s2) return r2.checked = false, a2.classList.add("magicfeedback-warning"), void setTimeout(() => {
|
|
2127
2213
|
a2.classList.remove("magicfeedback-warning");
|
|
2128
|
-
}
|
|
2214
|
+
}, 800);
|
|
2129
2215
|
e5.push(t5);
|
|
2130
2216
|
} else {
|
|
2131
|
-
const
|
|
2132
|
-
-1 !==
|
|
2217
|
+
const i5 = e5.indexOf(t5);
|
|
2218
|
+
-1 !== i5 && e5.splice(i5, 1);
|
|
2133
2219
|
}
|
|
2134
|
-
k(),
|
|
2135
|
-
})
|
|
2136
|
-
})
|
|
2220
|
+
k(), w();
|
|
2221
|
+
}), a2.appendChild(r2), a2.appendChild(o3), A.appendChild(a2);
|
|
2222
|
+
});
|
|
2137
2223
|
const T = document.createElement("div");
|
|
2138
2224
|
T.classList.add("magicfeedback-modal-actions"), T.style.flexShrink = "0";
|
|
2139
2225
|
const C = document.createElement("div");
|
|
2140
2226
|
C.classList.add("magicfeedback-modal-counter");
|
|
2141
|
-
const
|
|
2227
|
+
const w = () => {
|
|
2142
2228
|
const t5 = c("of");
|
|
2143
2229
|
C.textContent = `${c("prioritized")} ${e5.length} ${t5} ${s2}`, p2.style.display = e5.length > 0 ? "block" : "none";
|
|
2144
2230
|
};
|
|
2145
|
-
|
|
2146
|
-
const
|
|
2147
|
-
|
|
2148
|
-
const
|
|
2149
|
-
(0, a.copyTheme)(y.closest(".magicfeedback-container, .magicfeedback-preview"), y), document.body.appendChild(y), y.style.display = "flex", k(),
|
|
2150
|
-
},
|
|
2231
|
+
w();
|
|
2232
|
+
const x = document.createElement("button");
|
|
2233
|
+
x.type = "button", x.classList.add("magicfeedback-modal-close"), x.setAttribute("aria-label", c("cancel")), x.title = c("cancel"), x.textContent = "\xD7", x.style.position = "absolute", x.style.top = "8px", x.style.setProperty("inset-inline-end", "8px"), x.style.border = "none", x.style.background = "transparent", x.style.fontSize = "24px", x.style.cursor = "pointer";
|
|
2234
|
+
const S = () => {
|
|
2235
|
+
(0, a.copyTheme)(y.closest(".magicfeedback-container, .magicfeedback-preview"), y), document.body.appendChild(y), y.style.display = "flex", k(), w();
|
|
2236
|
+
}, P = () => {
|
|
2151
2237
|
y.style.display = "none", u.appendChild(y);
|
|
2152
2238
|
};
|
|
2153
|
-
|
|
2154
|
-
w();
|
|
2155
|
-
}));
|
|
2156
|
-
const O = document.createElement("button");
|
|
2157
|
-
return O.type = "button", O.textContent = c("confirm"), O.classList.add("magicfeedback-button"), O.classList.add("magicfeedback-button-primary"), O.addEventListener("click", (() => {
|
|
2158
|
-
w(), g();
|
|
2159
|
-
})), T.appendChild(C), T.appendChild(O), v.appendChild(S), v.appendChild(b), v.appendChild(A), v.appendChild(T), y.appendChild(v), m2.addEventListener("click", (() => {
|
|
2239
|
+
x.addEventListener("click", () => {
|
|
2160
2240
|
P();
|
|
2161
|
-
})
|
|
2162
|
-
|
|
2163
|
-
|
|
2241
|
+
});
|
|
2242
|
+
const L = document.createElement("button");
|
|
2243
|
+
return L.type = "button", L.textContent = c("confirm"), L.classList.add("magicfeedback-button"), L.classList.add("magicfeedback-button-primary"), L.addEventListener("click", () => {
|
|
2244
|
+
P(), g();
|
|
2245
|
+
}), T.appendChild(C), T.appendChild(L), v.appendChild(x), v.appendChild(b), v.appendChild(A), v.appendChild(T), y.appendChild(v), m2.addEventListener("click", () => {
|
|
2246
|
+
S();
|
|
2247
|
+
}), y.addEventListener("click", (e6) => {
|
|
2248
|
+
e6.target === y && P();
|
|
2249
|
+
}), u.appendChild(n3), u.appendChild(h), u.appendChild(y), g(), u;
|
|
2164
2250
|
}
|
|
2165
2251
|
const p = document.createElement("ul");
|
|
2166
2252
|
p.classList.add("magicfeedback-priority-list-list");
|
|
2167
|
-
const m = o2 ? [...t4].sort((
|
|
2168
|
-
return m.forEach((
|
|
2253
|
+
const m = o2 ? [...t4].sort(() => Math.random() - 0.5) : [...t4];
|
|
2254
|
+
return m.forEach((e5, t5) => {
|
|
2169
2255
|
const a2 = document.createElement("li");
|
|
2170
2256
|
a2.classList.add("magicfeedback-priority-list-item"), a2.style.display = "flex", a2.style.justifyContent = "space-between", a2.style.alignItems = "center", a2.style.margin = "5px";
|
|
2171
2257
|
const r2 = document.createElement("input");
|
|
2172
|
-
r2.classList.add("magicfeedback-input-magicfeedback-priority-list"), r2.classList.add("magicfeedback-input"), r2.type = "hidden", r2.id = `priority-list-${
|
|
2258
|
+
r2.classList.add("magicfeedback-input-magicfeedback-priority-list"), r2.classList.add("magicfeedback-input"), r2.type = "hidden", r2.id = `priority-list-${i4}`, r2.name = i4, r2.value = `${t5 + 1}. ${e5}`, a2.appendChild(r2);
|
|
2173
2259
|
const o3 = document.createElement("label");
|
|
2174
2260
|
o3.classList.add("magicfeedback-priority-list-item-label"), o3.textContent = `${t5 + 1}. ${e5}`, a2.appendChild(o3);
|
|
2175
2261
|
const n3 = document.createElement("div");
|
|
2176
2262
|
n3.style.display = "flex", n3.style.alignItems = "center", n3.style.justifyContent = "space-between";
|
|
2177
2263
|
const s3 = document.createElement("img");
|
|
2178
|
-
s3.classList.add("magicfeedback-priority-list-arrow-up"), s3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", s3.style.width = "20px", s3.style.height = "20px", s3.style.cursor = "pointer", s3.style.margin = "0 5px", s3.style.color = "var(--mf-text-strong, #000)", s3.style.visibility = 0 === t5 ? "hidden" : "visible", s3.addEventListener("click", (
|
|
2179
|
-
var t6,
|
|
2264
|
+
s3.classList.add("magicfeedback-priority-list-arrow-up"), s3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", s3.style.width = "20px", s3.style.height = "20px", s3.style.cursor = "pointer", s3.style.margin = "0 5px", s3.style.color = "var(--mf-text-strong, #000)", s3.style.visibility = 0 === t5 ? "hidden" : "visible", s3.addEventListener("click", () => {
|
|
2265
|
+
var t6, i5, n4, d3;
|
|
2180
2266
|
const c2 = a2.previousElementSibling;
|
|
2181
2267
|
if (c2) {
|
|
2182
2268
|
const u2 = Number(null === (t6 = r2.value) || void 0 === t6 ? void 0 : t6.split(".")[0]) - 1;
|
|
2183
2269
|
r2.value = `${u2}. ${e5}`, o3.textContent = `${u2}. ${e5}`, s3.style.visibility = 1 === u2 ? "hidden" : "visible", l3.style.visibility = u2 === m.length ? "hidden" : "visible";
|
|
2184
2270
|
const h = c2.querySelector(".magicfeedback-input-magicfeedback-priority-list"), f = c2.querySelector(".magicfeedback-priority-list-item-label"), g = c2.querySelector(".magicfeedback-priority-list-arrow-up"), y = c2.querySelector(".magicfeedback-priority-list-arrow-down");
|
|
2185
2271
|
if (h && f && g && y) {
|
|
2186
|
-
const e6 = Number(null === (
|
|
2272
|
+
const e6 = Number(null === (i5 = h.value) || void 0 === i5 ? void 0 : i5.split(".")[0]) + 1;
|
|
2187
2273
|
h.value = `${e6}.${null === (n4 = f.textContent) || void 0 === n4 ? void 0 : n4.split(".")[1]}`, f.textContent = `${e6}.${null === (d3 = f.textContent) || void 0 === d3 ? void 0 : d3.split(".")[1]}`, g.style.visibility = 1 === e6 ? "hidden" : "visible", y.style.visibility = e6 === m.length ? "hidden" : "visible";
|
|
2188
2274
|
}
|
|
2189
2275
|
p.insertBefore(a2, c2);
|
|
2190
2276
|
}
|
|
2191
|
-
})
|
|
2277
|
+
});
|
|
2192
2278
|
const l3 = document.createElement("img");
|
|
2193
|
-
l3.classList.add("magicfeedback-priority-list-arrow-down"), l3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", l3.style.width = "20px", l3.style.height = "20px", l3.style.cursor = "pointer", l3.style.margin = "0 5px", l3.style.color = "var(--mf-text-strong, #000)", l3.style.transform = "rotate(180deg)", l3.style.visibility = t5 === m.length - 1 ? "hidden" : "visible", l3.addEventListener("click", (
|
|
2194
|
-
var t6,
|
|
2279
|
+
l3.classList.add("magicfeedback-priority-list-arrow-down"), l3.src = "https://magicfeedback-c6458-dev.web.app/assets/arrow.svg", l3.style.width = "20px", l3.style.height = "20px", l3.style.cursor = "pointer", l3.style.margin = "0 5px", l3.style.color = "var(--mf-text-strong, #000)", l3.style.transform = "rotate(180deg)", l3.style.visibility = t5 === m.length - 1 ? "hidden" : "visible", l3.addEventListener("click", () => {
|
|
2280
|
+
var t6, i5, n4;
|
|
2195
2281
|
const d3 = a2.nextElementSibling;
|
|
2196
2282
|
if (d3) {
|
|
2197
2283
|
const c2 = Number(null === (t6 = r2.value) || void 0 === t6 ? void 0 : t6.split(".")[0]) + 1;
|
|
@@ -2199,20 +2285,20 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2199
2285
|
const u2 = d3.querySelector(".magicfeedback-input-magicfeedback-priority-list"), h = d3.querySelector(".magicfeedback-priority-list-item-label"), f = d3.querySelector(".magicfeedback-priority-list-arrow-up"), g = d3.querySelector(".magicfeedback-priority-list-arrow-down");
|
|
2200
2286
|
if (u2 && h && f && g) {
|
|
2201
2287
|
const e6 = Number(u2.value.split(".")[0]) - 1;
|
|
2202
|
-
u2.value = `${e6}.${null === (
|
|
2288
|
+
u2.value = `${e6}.${null === (i5 = h.textContent) || void 0 === i5 ? void 0 : i5.split(".")[1]}`, h.textContent = `${e6}.${null === (n4 = h.textContent) || void 0 === n4 ? void 0 : n4.split(".")[1]}`, f.style.visibility = 1 === e6 ? "hidden" : "visible", g.style.visibility = e6 === m.length ? "hidden" : "visible";
|
|
2203
2289
|
}
|
|
2204
2290
|
p.insertBefore(d3, a2);
|
|
2205
2291
|
}
|
|
2206
|
-
})
|
|
2207
|
-
})
|
|
2208
|
-
})({ value: e3.value, ref: e3.ref, randomPosition: t3, limitPriority: (null === (o = e3.assets) || void 0 === o ? void 0 : o.limitPriority) || false, maxPriority: (null === (n = e3.assets) || void 0 === n ? void 0 : n.maxPriority) || 0, placeholder: (null === (s = e3.assets) || void 0 === s ? void 0 : s.placeholder) || "", language:
|
|
2292
|
+
}), n3.appendChild(s3), n3.appendChild(l3), a2.appendChild(n3), p.appendChild(a2);
|
|
2293
|
+
}), u.appendChild(p), u;
|
|
2294
|
+
})({ value: e3.value, ref: e3.ref, randomPosition: t3, limitPriority: (null === (o = e3.assets) || void 0 === o ? void 0 : o.limitPriority) || false, maxPriority: (null === (n = e3.assets) || void 0 === n ? void 0 : n.maxPriority) || 0, placeholder: (null === (s = e3.assets) || void 0 === s ? void 0 : s.placeholder) || "", language: i3 || "en" });
|
|
2209
2295
|
return l.appendChild(d), { element: l, elementTypeClass: "magicfeedback-priority-list" };
|
|
2210
2296
|
};
|
|
2211
|
-
},
|
|
2297
|
+
}, 9152(e2, t2, i2) {
|
|
2212
2298
|
"use strict";
|
|
2213
|
-
|
|
2214
|
-
const a =
|
|
2215
|
-
t2.renderRatingEmoji = ({ question: e3, url: t3, send:
|
|
2299
|
+
t2.renderRatingEmoji = void 0;
|
|
2300
|
+
const a = i2(6559), r = i2(7321), o = "https://survey-dev.magicfeedback.io/assets/emojis";
|
|
2301
|
+
t2.renderRatingEmoji = ({ question: e3, url: t3, send: i3, urlParamValue: n }) => {
|
|
2216
2302
|
const { ref: s, assets: l } = e3, d = document.createElement("div"), c = "magicfeedback-rating", u = document.createElement("div");
|
|
2217
2303
|
u.classList.add("magicfeedback-rating-container");
|
|
2218
2304
|
const p = (null == l ? void 0 : l.max) ? Number(null == l ? void 0 : l.max) : 5, m = (null == l ? void 0 : l.min) ? Number(null == l ? void 0 : l.min) : 1, h = (0, a.createRatingPlaceholder)(null == l ? void 0 : l.minPlaceholder, null == l ? void 0 : l.maxPlaceholder);
|
|
@@ -2242,11 +2328,11 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2242
2328
|
h2.src = `${t3}/10.svg`, h2.onerror = () => h2.src = `${o}/10.svg`;
|
|
2243
2329
|
}
|
|
2244
2330
|
else {
|
|
2245
|
-
const
|
|
2246
|
-
h2.src = `${t3}/${
|
|
2331
|
+
const i4 = Math.round(10 / (p - m) * (e4 - m));
|
|
2332
|
+
h2.src = `${t3}/${i4}.svg`, h2.onerror = () => h2.src = `${o}/${i4}.svg`;
|
|
2247
2333
|
}
|
|
2248
2334
|
const f = document.createElement("input");
|
|
2249
|
-
f.id = `rating-${s}-${e4}`, f.type = "radio", f.name = s, f.value = e4.toString(), f.classList.add(c), f.classList.add("magicfeedback-input"), (0, r.autoAdvanceOn)(f,
|
|
2335
|
+
f.id = `rating-${s}-${e4}`, f.type = "radio", f.name = s, f.value = e4.toString(), f.classList.add(c), f.classList.add("magicfeedback-input"), (0, r.autoAdvanceOn)(f, i3), n && n === f.value && (f.checked = true), l2.appendChild(f), l2.appendChild(h2), l2.appendChild(d2), a2.appendChild(l2), u.appendChild(a2);
|
|
2250
2336
|
}
|
|
2251
2337
|
if ((null == l ? void 0 : l.extraOption) && (null == l ? void 0 : l.extraOptionText)) {
|
|
2252
2338
|
const e4 = document.createElement("div");
|
|
@@ -2258,62 +2344,62 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2258
2344
|
const o2 = document.createElement("img");
|
|
2259
2345
|
o2.src = "https://magicfeedback-c6458-dev.web.app/assets/question.svg", o2.alt = `face-${s}-extra`, o2.className = "magicfeedback-rating-image-extra";
|
|
2260
2346
|
const n2 = document.createElement("input");
|
|
2261
|
-
n2.id = `rating-${s}-extra`, n2.type = "radio", n2.name = s, n2.value = "-", n2.classList.add(c), n2.classList.add("magicfeedback-input"), (0, r.autoAdvanceOn)(n2,
|
|
2347
|
+
n2.id = `rating-${s}-extra`, n2.type = "radio", n2.name = s, n2.value = "-", n2.classList.add(c), n2.classList.add("magicfeedback-input"), (0, r.autoAdvanceOn)(n2, i3), t4.appendChild(n2), t4.appendChild(o2), t4.appendChild(a2), e4.appendChild(t4), u.appendChild(e4);
|
|
2262
2348
|
}
|
|
2263
2349
|
return h.childElementCount > 0 && u.appendChild(h), d.appendChild(u), { element: d, elementTypeClass: c };
|
|
2264
2350
|
};
|
|
2265
|
-
},
|
|
2351
|
+
}, 1917(e2, t2, i2) {
|
|
2266
2352
|
"use strict";
|
|
2267
|
-
|
|
2268
|
-
const a =
|
|
2269
|
-
t2.renderRatingNumber = ({ question: e3, order: t3, direction:
|
|
2353
|
+
t2.renderRatingNumber = void 0;
|
|
2354
|
+
const a = i2(6559);
|
|
2355
|
+
t2.renderRatingNumber = ({ question: e3, order: t3, direction: i3, send: r, urlParamValue: o, language: n, isPhone: s, productId: l }) => {
|
|
2270
2356
|
const d = "magicfeedback-rating-number";
|
|
2271
|
-
return { element: (0, a.createRatingNumberElement)(e3.ref, e3.assets, t3,
|
|
2357
|
+
return { element: (0, a.createRatingNumberElement)(e3.ref, e3.assets, t3, i3, d, r, o, n, { legacy: (0, a.usesLegacyRatingNumber)(l), isPhone: s }), elementTypeClass: d };
|
|
2272
2358
|
};
|
|
2273
|
-
},
|
|
2359
|
+
}, 5452(e2, t2, i2) {
|
|
2274
2360
|
"use strict";
|
|
2275
|
-
|
|
2276
|
-
const a =
|
|
2277
|
-
t2.renderRatingStar = ({ question: e3, send: t3, urlParamValue:
|
|
2361
|
+
t2.renderRatingStar = void 0;
|
|
2362
|
+
const a = i2(6559);
|
|
2363
|
+
t2.renderRatingStar = ({ question: e3, send: t3, urlParamValue: i3 }) => {
|
|
2278
2364
|
var r, o, n;
|
|
2279
|
-
const s = document.createElement("div"), l = (0, a.createStarRating)(e3.ref, null === (r = e3.assets) || void 0 === r ? void 0 : r.minPlaceholder, null === (o = e3.assets) || void 0 === o ? void 0 : o.maxPlaceholder, t3,
|
|
2365
|
+
const s = document.createElement("div"), l = (0, a.createStarRating)(e3.ref, null === (r = e3.assets) || void 0 === r ? void 0 : r.minPlaceholder, null === (o = e3.assets) || void 0 === o ? void 0 : o.maxPlaceholder, t3, i3, null === (n = e3.assets) || void 0 === n ? void 0 : n.starColor);
|
|
2280
2366
|
return s.appendChild(l), { element: s, elementTypeClass: "magicfeedback-rating-star" };
|
|
2281
2367
|
};
|
|
2282
|
-
},
|
|
2368
|
+
}, 9085(e2, t2, i2) {
|
|
2283
2369
|
"use strict";
|
|
2284
|
-
|
|
2285
|
-
const a =
|
|
2286
|
-
t2.renderSelect = ({ question: e3, format: t3, language:
|
|
2370
|
+
t2.renderSelect = void 0;
|
|
2371
|
+
const a = i2(516), r = i2(881);
|
|
2372
|
+
t2.renderSelect = ({ question: e3, format: t3, language: i3, urlParamValue: o }) => {
|
|
2287
2373
|
const { title: n, value: s, defaultValue: l } = e3, d = document.createElement("select"), c = document.createElement("option");
|
|
2288
|
-
return c.value = "", c.text = "slim" === t3 ? (0, a.parseTitle)(n,
|
|
2374
|
+
return c.value = "", c.text = "slim" === t3 ? (0, a.parseTitle)(n, i3) : l || (0, r.t)(i3, "select.placeholder"), c.disabled = true, c.selected = true, d.appendChild(c), s.forEach((e4) => {
|
|
2289
2375
|
const t4 = document.createElement("option");
|
|
2290
2376
|
t4.value = e4, t4.text = e4, d.appendChild(t4);
|
|
2291
|
-
})
|
|
2377
|
+
}), o && s.includes(o) && (d.value = o), { element: d, elementTypeClass: "magicfeedback-select" };
|
|
2292
2378
|
};
|
|
2293
|
-
},
|
|
2379
|
+
}, 2090(e2, t2, i2) {
|
|
2294
2380
|
"use strict";
|
|
2295
|
-
|
|
2296
|
-
const a =
|
|
2297
|
-
t2.renderText = ({ language: e3, placeholderText: t3, urlParamValue:
|
|
2381
|
+
t2.renderText = void 0;
|
|
2382
|
+
const a = i2(9784);
|
|
2383
|
+
t2.renderText = ({ language: e3, placeholderText: t3, urlParamValue: i3, send: r }) => {
|
|
2298
2384
|
const o = document.createElement("input");
|
|
2299
|
-
return o.type = "text", o.placeholder = t3 || a.placeholder.answer(e3 || "en"),
|
|
2385
|
+
return o.type = "text", o.placeholder = t3 || a.placeholder.answer(e3 || "en"), i3 && (o.value = i3), o.addEventListener("keyup", (e4) => {
|
|
2300
2386
|
e4.preventDefault(), "Enter" === e4.key && r && r();
|
|
2301
|
-
})
|
|
2387
|
+
}), { element: o, elementTypeClass: "magicfeedback-text" };
|
|
2302
2388
|
};
|
|
2303
|
-
},
|
|
2389
|
+
}, 4250(e2, t2, i2) {
|
|
2304
2390
|
"use strict";
|
|
2305
|
-
|
|
2306
|
-
const a =
|
|
2391
|
+
t2.renderUploadFile = void 0;
|
|
2392
|
+
const a = i2(5571);
|
|
2307
2393
|
t2.renderUploadFile = ({ question: e3, language: t3 }) => (0, a.createUploadControl)(e3, t3, "file");
|
|
2308
|
-
},
|
|
2394
|
+
}, 1843(e2, t2, i2) {
|
|
2309
2395
|
"use strict";
|
|
2310
|
-
|
|
2311
|
-
const a =
|
|
2396
|
+
t2.renderUploadImage = void 0;
|
|
2397
|
+
const a = i2(5571);
|
|
2312
2398
|
t2.renderUploadImage = ({ question: e3, language: t3 }) => (0, a.createUploadControl)(e3, t3, "image");
|
|
2313
|
-
},
|
|
2399
|
+
}, 5571(e2, t2, i2) {
|
|
2314
2400
|
"use strict";
|
|
2315
|
-
var a = this && this.__awaiter || function(e3, t3,
|
|
2316
|
-
return new (
|
|
2401
|
+
var a = this && this.__awaiter || function(e3, t3, i3, a2) {
|
|
2402
|
+
return new (i3 || (i3 = Promise))(function(r2, o2) {
|
|
2317
2403
|
function n2(e4) {
|
|
2318
2404
|
try {
|
|
2319
2405
|
l2(a2.next(e4));
|
|
@@ -2330,81 +2416,81 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2330
2416
|
}
|
|
2331
2417
|
function l2(e4) {
|
|
2332
2418
|
var t4;
|
|
2333
|
-
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof
|
|
2419
|
+
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) {
|
|
2334
2420
|
e5(t4);
|
|
2335
|
-
}))
|
|
2421
|
+
})).then(n2, s2);
|
|
2336
2422
|
}
|
|
2337
2423
|
l2((a2 = a2.apply(e3, t3 || [])).next());
|
|
2338
|
-
})
|
|
2424
|
+
});
|
|
2339
2425
|
};
|
|
2340
2426
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.createUploadControl = t2.awaitUploadReady = t2.getUploadValues = t2.formatFileSize = void 0;
|
|
2341
|
-
const r =
|
|
2427
|
+
const r = i2(9784), o = i2(516), n = "__mfUploadValues", s = "__mfUploadReady";
|
|
2342
2428
|
function l(e3) {
|
|
2343
2429
|
if ("number" != typeof e3 || isNaN(e3)) return "";
|
|
2344
2430
|
if (e3 < 1024) return `${e3} B`;
|
|
2345
2431
|
const t3 = e3 / 1024;
|
|
2346
2432
|
if (t3 < 1024) return `${t3 < 10 ? t3.toFixed(1) : Math.round(t3)} KB`;
|
|
2347
|
-
const
|
|
2348
|
-
return `${
|
|
2433
|
+
const i3 = t3 / 1024;
|
|
2434
|
+
return `${i3 < 10 ? i3.toFixed(1) : Math.round(i3)} MB`;
|
|
2349
2435
|
}
|
|
2350
2436
|
t2.formatFileSize = l, t2.getUploadValues = function(e3) {
|
|
2351
2437
|
const t3 = e3[n];
|
|
2352
2438
|
return Array.isArray(t3) ? t3 : [];
|
|
2353
2439
|
}, t2.awaitUploadReady = function(e3) {
|
|
2354
|
-
return a(this, void 0, void 0,
|
|
2440
|
+
return a(this, void 0, void 0, function* () {
|
|
2355
2441
|
if (!e3) return;
|
|
2356
2442
|
const t3 = Array.from(e3.querySelectorAll(".magicfeedback-upload-native"));
|
|
2357
|
-
yield Promise.all(t3.map((
|
|
2358
|
-
})
|
|
2359
|
-
}, t2.createUploadControl = function(e3, t3,
|
|
2360
|
-
const { ref: a2, require: d, title: c, assets: u } = e3, p = "image" ===
|
|
2443
|
+
yield Promise.all(t3.map((e4) => e4[s]).filter(Boolean));
|
|
2444
|
+
});
|
|
2445
|
+
}, t2.createUploadControl = function(e3, t3, i3) {
|
|
2446
|
+
const { ref: a2, require: d, title: c, assets: u } = e3, p = "image" === i3 ? "magicfeedback-upload-image" : "magicfeedback-upload-file", m = (null == u ? void 0 : u.multiple) || false, h = m ? (null == u ? void 0 : u.maxFiles) || 0 : 1, f = Number(null == u ? void 0 : u.maxFileSize) > 0 ? Number(null == u ? void 0 : u.maxFileSize) : 0, g = 1024 * f * 1024, y = document.createElement("div");
|
|
2361
2447
|
y.classList.add("magicfeedback-upload");
|
|
2362
2448
|
const v = document.createElement("input");
|
|
2363
|
-
v.type = "file", "image" ===
|
|
2449
|
+
v.type = "file", "image" === i3 && (v.accept = "image/*"), v.multiple = m, v.required = d, v.name = a2, v.id = `magicfeedback-upload-input-${a2}`, v.classList.add(p), v.classList.add("magicfeedback-input"), v.classList.add("magicfeedback-upload-native"), v[n] = [], v[s] = Promise.resolve();
|
|
2364
2450
|
const b = (0, o.parseTitle)(c, t3);
|
|
2365
2451
|
b && v.setAttribute("aria-label", b);
|
|
2366
2452
|
const E = document.createElement("div");
|
|
2367
2453
|
E.classList.add("magicfeedback-upload-dropzone");
|
|
2368
2454
|
const k = document.createElement("span");
|
|
2369
|
-
k.classList.add("magicfeedback-upload-icon"), k.innerHTML = "image" ===
|
|
2455
|
+
k.classList.add("magicfeedback-upload-icon"), k.innerHTML = "image" === i3 ? '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M21 15l-5-5L5 21"/></svg>' : '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M16 16l-4-4-4 4"/><path d="M12 12v9"/><path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"/></svg>';
|
|
2370
2456
|
const A = document.createElement("span");
|
|
2371
2457
|
A.classList.add("magicfeedback-upload-cta"), A.textContent = r.placeholder.upload.cta(t3);
|
|
2372
2458
|
const T = document.createElement("span");
|
|
2373
|
-
T.classList.add("magicfeedback-upload-hint"), T.textContent = (function(e4, t4,
|
|
2459
|
+
T.classList.add("magicfeedback-upload-hint"), T.textContent = (function(e4, t4, i4, a3, o2) {
|
|
2374
2460
|
const n2 = [r.placeholder.upload.formats(e4, t4)];
|
|
2375
|
-
return
|
|
2376
|
-
})(t3,
|
|
2461
|
+
return i4 && a3 > 0 && n2.push(r.placeholder.upload.maxFiles(e4, a3)), o2 > 0 && n2.push(r.placeholder.upload.maxSize(e4, o2)), n2.filter(Boolean).join(" \xB7 ");
|
|
2462
|
+
})(t3, i3, m, h, f), E.appendChild(v), E.appendChild(k), E.appendChild(A), E.appendChild(T);
|
|
2377
2463
|
const C = document.createElement("div");
|
|
2378
2464
|
C.classList.add("magicfeedback-upload-error");
|
|
2379
|
-
const
|
|
2380
|
-
|
|
2381
|
-
const
|
|
2382
|
-
const t4 =
|
|
2383
|
-
return t4 ? Promise.resolve(t4) : new Promise((
|
|
2384
|
-
const
|
|
2385
|
-
const a4 = JSON.stringify({ name: e4.name, type: e4.type, size: e4.size, content:
|
|
2386
|
-
|
|
2465
|
+
const w = document.createElement("ul");
|
|
2466
|
+
w.classList.add("magicfeedback-upload-list"), y.appendChild(E), y.appendChild(C), y.appendChild(w);
|
|
2467
|
+
const x = /* @__PURE__ */ new WeakMap(), S = (e4) => {
|
|
2468
|
+
const t4 = x.get(e4);
|
|
2469
|
+
return t4 ? Promise.resolve(t4) : new Promise((t5) => {
|
|
2470
|
+
const i4 = new FileReader(), a3 = (i5) => {
|
|
2471
|
+
const a4 = JSON.stringify({ name: e4.name, type: e4.type, size: e4.size, content: i5 });
|
|
2472
|
+
x.set(e4, a4), t5(a4);
|
|
2387
2473
|
};
|
|
2388
|
-
|
|
2389
|
-
})
|
|
2390
|
-
},
|
|
2474
|
+
i4.onload = () => a3("string" == typeof i4.result ? i4.result : ""), i4.onerror = () => a3(""), i4.readAsDataURL(e4);
|
|
2475
|
+
});
|
|
2476
|
+
}, P = [], L = (e4) => {
|
|
2391
2477
|
try {
|
|
2392
|
-
const t4 = h > 0 ? e4.slice(0, h) : e4,
|
|
2393
|
-
t4.forEach((
|
|
2478
|
+
const t4 = h > 0 ? e4.slice(0, h) : e4, i4 = new DataTransfer();
|
|
2479
|
+
t4.forEach((e5) => i4.items.add(e5)), v.files = i4.files;
|
|
2394
2480
|
} catch (e5) {
|
|
2395
2481
|
}
|
|
2396
2482
|
!(function() {
|
|
2397
|
-
|
|
2483
|
+
P.forEach((e6) => URL.revokeObjectURL(e6)), P.length = 0, w.innerHTML = "";
|
|
2398
2484
|
const e5 = Array.from(v.files || []);
|
|
2399
|
-
y.classList.toggle("magicfeedback-upload--has-files", e5.length > 0), e5.forEach((
|
|
2485
|
+
y.classList.toggle("magicfeedback-upload--has-files", e5.length > 0), e5.forEach((e6, a3) => {
|
|
2400
2486
|
const o2 = document.createElement("li");
|
|
2401
2487
|
o2.classList.add("magicfeedback-upload-file-item");
|
|
2402
2488
|
const n2 = document.createElement("span");
|
|
2403
|
-
if (n2.classList.add("magicfeedback-upload-thumb"), "image" ===
|
|
2489
|
+
if (n2.classList.add("magicfeedback-upload-thumb"), "image" === i3 && e6.type.startsWith("image/")) {
|
|
2404
2490
|
const t4 = URL.createObjectURL(e6);
|
|
2405
|
-
|
|
2406
|
-
const
|
|
2407
|
-
|
|
2491
|
+
P.push(t4);
|
|
2492
|
+
const i4 = document.createElement("img");
|
|
2493
|
+
i4.src = t4, i4.alt = e6.name, n2.appendChild(i4);
|
|
2408
2494
|
} else n2.innerHTML = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path d="M14 2v6h6"/></svg>';
|
|
2409
2495
|
const s2 = document.createElement("span");
|
|
2410
2496
|
s2.classList.add("magicfeedback-upload-file-info");
|
|
@@ -2413,51 +2499,51 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2413
2499
|
const c2 = document.createElement("span");
|
|
2414
2500
|
c2.classList.add("magicfeedback-upload-file-size"), c2.textContent = l(e6.size), s2.appendChild(d2), s2.appendChild(c2);
|
|
2415
2501
|
const u2 = document.createElement("button");
|
|
2416
|
-
u2.type = "button", u2.classList.add("magicfeedback-upload-remove"), u2.setAttribute("aria-label", `${r.placeholder.upload.remove(t3)}: ${e6.name}`), u2.innerHTML = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>', u2.addEventListener("click", (
|
|
2417
|
-
e7.preventDefault(), e7.stopPropagation(),
|
|
2418
|
-
})
|
|
2419
|
-
})
|
|
2502
|
+
u2.type = "button", u2.classList.add("magicfeedback-upload-remove"), u2.setAttribute("aria-label", `${r.placeholder.upload.remove(t3)}: ${e6.name}`), u2.innerHTML = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>', u2.addEventListener("click", (e7) => {
|
|
2503
|
+
e7.preventDefault(), e7.stopPropagation(), L(Array.from(v.files || []).filter((e8, t4) => t4 !== a3));
|
|
2504
|
+
}), o2.appendChild(n2), o2.appendChild(s2), o2.appendChild(u2), w.appendChild(o2);
|
|
2505
|
+
});
|
|
2420
2506
|
})(), (() => {
|
|
2421
|
-
const e5 = Array.from(v.files || []), t4 = Promise.all(e5.map(
|
|
2507
|
+
const e5 = Array.from(v.files || []), t4 = Promise.all(e5.map(S)).then((e6) => {
|
|
2422
2508
|
v[n] = e6;
|
|
2423
|
-
})
|
|
2509
|
+
});
|
|
2424
2510
|
v[s] = t4;
|
|
2425
2511
|
})();
|
|
2426
|
-
},
|
|
2512
|
+
}, O = (e4) => {
|
|
2427
2513
|
if (!e4.length) return C.textContent = "", void C.classList.remove("is-visible");
|
|
2428
|
-
const
|
|
2429
|
-
C.textContent = `${r.placeholder.upload.tooLarge(t3, f)}: ${
|
|
2430
|
-
},
|
|
2514
|
+
const i4 = e4.map((e5) => e5.name).join(", ");
|
|
2515
|
+
C.textContent = `${r.placeholder.upload.tooLarge(t3, f)}: ${i4}`, C.classList.add("is-visible");
|
|
2516
|
+
}, I = (e4) => {
|
|
2431
2517
|
if (!g) return { accepted: e4, rejected: [] };
|
|
2432
|
-
const t4 = [],
|
|
2433
|
-
return e4.forEach((
|
|
2518
|
+
const t4 = [], i4 = [];
|
|
2519
|
+
return e4.forEach((e5) => (e5.size <= g ? t4 : i4).push(e5)), { accepted: t4, rejected: i4 };
|
|
2434
2520
|
};
|
|
2435
|
-
v.addEventListener("change", (
|
|
2436
|
-
const { accepted: e4, rejected: t4 } =
|
|
2437
|
-
|
|
2438
|
-
})
|
|
2439
|
-
const
|
|
2521
|
+
v.addEventListener("change", () => {
|
|
2522
|
+
const { accepted: e4, rejected: t4 } = I(Array.from(v.files || []));
|
|
2523
|
+
O(t4), L(e4);
|
|
2524
|
+
});
|
|
2525
|
+
const N = (e4) => {
|
|
2440
2526
|
e4.preventDefault(), e4.stopPropagation();
|
|
2441
2527
|
};
|
|
2442
|
-
return ["dragenter", "dragover"].forEach((
|
|
2443
|
-
|
|
2444
|
-
}))
|
|
2445
|
-
|
|
2446
|
-
}))
|
|
2447
|
-
|
|
2528
|
+
return ["dragenter", "dragover"].forEach((e4) => E.addEventListener(e4, (e5) => {
|
|
2529
|
+
N(e5), E.classList.add("is-dragover");
|
|
2530
|
+
})), ["dragleave", "dragend"].forEach((e4) => E.addEventListener(e4, (e5) => {
|
|
2531
|
+
N(e5), E.classList.remove("is-dragover");
|
|
2532
|
+
})), E.addEventListener("drop", (e4) => {
|
|
2533
|
+
N(e4), E.classList.remove("is-dragover");
|
|
2448
2534
|
const t4 = e4.dataTransfer;
|
|
2449
2535
|
let a3 = t4 ? Array.from(t4.files) : [];
|
|
2450
|
-
if ("image" ===
|
|
2451
|
-
const { accepted: r2, rejected: o2 } =
|
|
2452
|
-
if (
|
|
2536
|
+
if ("image" === i3 && (a3 = a3.filter((e5) => e5.type.startsWith("image/"))), !a3.length) return;
|
|
2537
|
+
const { accepted: r2, rejected: o2 } = I(a3);
|
|
2538
|
+
if (O(o2), !r2.length) return;
|
|
2453
2539
|
const n2 = m ? Array.from(v.files || []) : [];
|
|
2454
|
-
|
|
2455
|
-
})
|
|
2540
|
+
L(n2.concat(r2));
|
|
2541
|
+
}), { element: y, elementTypeClass: p };
|
|
2456
2542
|
};
|
|
2457
|
-
},
|
|
2543
|
+
}, 7945(e2, t2, i2) {
|
|
2458
2544
|
"use strict";
|
|
2459
|
-
var a = this && this.__awaiter || function(e3, t3,
|
|
2460
|
-
return new (
|
|
2545
|
+
var a = this && this.__awaiter || function(e3, t3, i3, a2) {
|
|
2546
|
+
return new (i3 || (i3 = Promise))(function(r2, o2) {
|
|
2461
2547
|
function n2(e4) {
|
|
2462
2548
|
try {
|
|
2463
2549
|
l2(a2.next(e4));
|
|
@@ -2474,23 +2560,23 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2474
2560
|
}
|
|
2475
2561
|
function l2(e4) {
|
|
2476
2562
|
var t4;
|
|
2477
|
-
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof
|
|
2563
|
+
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) {
|
|
2478
2564
|
e5(t4);
|
|
2479
|
-
}))
|
|
2565
|
+
})).then(n2, s2);
|
|
2480
2566
|
}
|
|
2481
2567
|
l2((a2 = a2.apply(e3, t3 || [])).next());
|
|
2482
|
-
})
|
|
2568
|
+
});
|
|
2483
2569
|
}, r = this && this.__importDefault || function(e3) {
|
|
2484
2570
|
return e3 && e3.__esModule ? e3 : { default: e3 };
|
|
2485
2571
|
};
|
|
2486
2572
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.nextAgentTurn = t2.startAgentSurvey = void 0;
|
|
2487
|
-
const o = r(
|
|
2488
|
-
function d(e3, t3,
|
|
2573
|
+
const o = r(i2(4945)), n = i2(2313), s = i2(9857), l = i2(279);
|
|
2574
|
+
function d(e3, t3, i3, r2, s2) {
|
|
2489
2575
|
var d2;
|
|
2490
|
-
return a(this, void 0, void 0,
|
|
2576
|
+
return a(this, void 0, void 0, function* () {
|
|
2491
2577
|
let a2;
|
|
2492
2578
|
try {
|
|
2493
|
-
a2 = yield (0, o.default)(e3 + t3, { method: "POST", headers: Object.assign({ "Content-Type": "application/json" }, n.header), body: JSON.stringify(
|
|
2579
|
+
a2 = yield (0, o.default)(e3 + t3, { method: "POST", headers: Object.assign({ "Content-Type": "application/json" }, n.header), body: JSON.stringify(i3) });
|
|
2494
2580
|
} catch (e4) {
|
|
2495
2581
|
throw r2.err(`[agentSurvey/${s2}] network error`, e4), new l.AgentApiError("NETWORK", (null == e4 ? void 0 : e4.message) || "Network error");
|
|
2496
2582
|
}
|
|
@@ -2502,8 +2588,8 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2502
2588
|
}
|
|
2503
2589
|
const t4 = (0, l.mapAgentStatus)(a2.status, s2);
|
|
2504
2590
|
throw r2.err(`[agentSurvey/${s2}] ${a2.status}`, e4), new l.AgentApiError(t4, (null === (d2 = null == e4 ? void 0 : e4.error) || void 0 === d2 ? void 0 : d2.message) || (null == e4 ? void 0 : e4.message) || a2.statusText, a2.status, "RATE_LIMITED" === t4 ? (function(e5) {
|
|
2505
|
-
var t5,
|
|
2506
|
-
const a3 = null === (
|
|
2591
|
+
var t5, i4;
|
|
2592
|
+
const a3 = null === (i4 = null === (t5 = null == e5 ? void 0 : e5.headers) || void 0 === t5 ? void 0 : t5.get) || void 0 === i4 ? void 0 : i4.call(t5, "Retry-After"), r3 = a3 ? Number(a3) : NaN;
|
|
2507
2593
|
return Number.isFinite(r3) && r3 > 0 ? 1e3 * r3 : 6e4;
|
|
2508
2594
|
})(a2) : void 0, e4);
|
|
2509
2595
|
}
|
|
@@ -2513,80 +2599,78 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2513
2599
|
} catch (e4) {
|
|
2514
2600
|
throw new l.AgentApiError("MALFORMED", "Unreadable response body", a2.status);
|
|
2515
2601
|
}
|
|
2516
|
-
})
|
|
2602
|
+
});
|
|
2517
2603
|
}
|
|
2518
|
-
t2.startAgentSurvey = function(e3, t3,
|
|
2519
|
-
return d(e3, s.endpoints.sdk.agentSurveyStart, t3,
|
|
2520
|
-
}, t2.nextAgentTurn = function(e3, t3,
|
|
2521
|
-
return d(e3, s.endpoints.sdk.agentSurveyNext, t3,
|
|
2604
|
+
t2.startAgentSurvey = function(e3, t3, i3) {
|
|
2605
|
+
return d(e3, s.endpoints.sdk.agentSurveyStart, t3, i3, "start");
|
|
2606
|
+
}, t2.nextAgentTurn = function(e3, t3, i3) {
|
|
2607
|
+
return d(e3, s.endpoints.sdk.agentSurveyNext, t3, i3, "next");
|
|
2522
2608
|
};
|
|
2523
|
-
},
|
|
2609
|
+
}, 279(e2, t2) {
|
|
2524
2610
|
"use strict";
|
|
2525
|
-
|
|
2526
|
-
class
|
|
2611
|
+
t2.mapAgentStatus = t2.AgentApiError = void 0;
|
|
2612
|
+
class i2 extends Error {
|
|
2527
2613
|
constructor(e3, t3, a, r, o) {
|
|
2528
|
-
super(t3), this.kind = e3, this.status = a, this.retryAfterMs = r, this.body = o, this.name = "AgentApiError", Object.setPrototypeOf(this,
|
|
2614
|
+
super(t3), this.kind = e3, this.status = a, this.retryAfterMs = r, this.body = o, this.name = "AgentApiError", Object.setPrototypeOf(this, i2.prototype);
|
|
2529
2615
|
}
|
|
2530
2616
|
get retryable() {
|
|
2531
2617
|
return "RATE_LIMITED" === this.kind || "AI_UNAVAILABLE" === this.kind || "NETWORK" === this.kind;
|
|
2532
2618
|
}
|
|
2533
2619
|
}
|
|
2534
|
-
t2.AgentApiError =
|
|
2620
|
+
t2.AgentApiError = i2, t2.mapAgentStatus = function(e3, t3) {
|
|
2535
2621
|
return 429 === e3 ? "RATE_LIMITED" : 406 === e3 || 401 === e3 || 403 === e3 ? "AUTH" : 404 === e3 ? "NOT_FOUND" : 400 === e3 || 422 === e3 ? "BAD_CONFIG" : e3 >= 500 ? "start" === t3 ? "AI_UNAVAILABLE" : "NETWORK" : "MALFORMED";
|
|
2536
2622
|
};
|
|
2537
|
-
},
|
|
2623
|
+
}, 7177(e2, t2, i2) {
|
|
2538
2624
|
"use strict";
|
|
2539
|
-
|
|
2540
|
-
const a =
|
|
2625
|
+
t2.encodeAnswer = t2.toAgentStep = t2.DEFAULT_ANSWER_DELIMITER = void 0;
|
|
2626
|
+
const a = i2(5558), r = i2(516);
|
|
2541
2627
|
t2.DEFAULT_ANSWER_DELIMITER = ", ";
|
|
2542
2628
|
const o = [a.FEEDBACKAPPANSWERTYPE.RADIO, a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE, a.FEEDBACKAPPANSWERTYPE.SELECT, a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOISE_IMAGE], n = Object.values(a.FEEDBACKAPPANSWERTYPE);
|
|
2543
|
-
function s(e3, t3,
|
|
2544
|
-
var s2, l2, d2;
|
|
2545
|
-
const c2 = String(e3 || "").trim().toUpperCase();
|
|
2546
|
-
return "RATING" === c2 ? a.FEEDBACKAPPANSWERTYPE.RATING_NUMBER : c2 === a.FEEDBACKAPPANSWERTYPE.CONTACT ? (null === (s2 = i2.log) || void 0 === s2 || s2.log("[agentSurvey] CONTACT has no renderer, falling back to TEXT"), a.FEEDBACKAPPANSWERTYPE.TEXT) : n.includes(c2) ? o.includes(c2) && 0 === t3.length ? (null === (d2 = i2.log) || void 0 === d2 || d2.err(`[agentSurvey] ${c2} arrived with no options, falling back to TEXT`), a.FEEDBACKAPPANSWERTYPE.TEXT) : c2 !== a.FEEDBACKAPPANSWERTYPE.BOOLEAN || 2 !== t3.length || (function(e4, t4) {
|
|
2547
|
-
if (2 !== e4.length) return false;
|
|
2548
|
-
const i3 = e4.map(((e5) => String(e5).trim().toLowerCase())), a2 = (0, r.getBooleanOptions)(t4).map(((e5) => e5.toLowerCase())), o2 = ["yes", "no"];
|
|
2549
|
-
return i3[0] === o2[0] && i3[1] === o2[1] || i3[0] === a2[0] && i3[1] === a2[1];
|
|
2550
|
-
})(t3, i2.language) ? c2 : a.FEEDBACKAPPANSWERTYPE.RADIO : (null === (l2 = i2.log) || void 0 === l2 || l2.err(`[agentSurvey] unknown question type "${e3}", falling back to TEXT`), a.FEEDBACKAPPANSWERTYPE.TEXT);
|
|
2551
|
-
}
|
|
2552
|
-
function l(e3) {
|
|
2553
|
-
const t3 = e3.map(Number).filter(((e4) => Number.isFinite(e4)));
|
|
2554
|
-
return t3.length >= 2 ? { min: Math.min(...t3), max: Math.max(...t3) } : { min: 1, max: 5 };
|
|
2555
|
-
}
|
|
2556
|
-
function d(e3, t3, i2) {
|
|
2629
|
+
function s(e3, t3, i3) {
|
|
2557
2630
|
const r2 = { randomPosition: false, direction: "row", order: "ltr" };
|
|
2558
|
-
return e3 !== a.FEEDBACKAPPANSWERTYPE.RATING_NUMBER && e3 !== a.FEEDBACKAPPANSWERTYPE.RATING_EMOJI || Object.assign(r2,
|
|
2631
|
+
return e3 !== a.FEEDBACKAPPANSWERTYPE.RATING_NUMBER && e3 !== a.FEEDBACKAPPANSWERTYPE.RATING_EMOJI || Object.assign(r2, (function(e4) {
|
|
2632
|
+
const t4 = e4.map(Number).filter((e5) => Number.isFinite(e5));
|
|
2633
|
+
return t4.length >= 2 ? { min: Math.min(...t4), max: Math.max(...t4) } : { min: 1, max: 5 };
|
|
2634
|
+
})(t3)), e3 === a.FEEDBACKAPPANSWERTYPE.LONGTEXT && (r2.maxCharacters = 0), Object.assign(Object.assign({}, r2), (null == i3 ? void 0 : i3.assets) || {});
|
|
2559
2635
|
}
|
|
2560
|
-
function
|
|
2561
|
-
var
|
|
2562
|
-
const { full:
|
|
2563
|
-
|
|
2636
|
+
function l(e3, t3, i3) {
|
|
2637
|
+
var l2, d, c, u;
|
|
2638
|
+
const { full: p, title: m } = t3, h = [...null !== (d = null !== (l2 = e3.questionValues) && void 0 !== l2 ? l2 : null == p ? void 0 : p.value) && void 0 !== d ? d : []], f = (function(e4, t4, i4) {
|
|
2639
|
+
var s2, l3, d2;
|
|
2640
|
+
const c2 = String(e4 || "").trim().toUpperCase();
|
|
2641
|
+
return "RATING" === c2 ? a.FEEDBACKAPPANSWERTYPE.RATING_NUMBER : c2 === a.FEEDBACKAPPANSWERTYPE.CONTACT ? (null === (s2 = i4.log) || void 0 === s2 || s2.log("[agentSurvey] CONTACT has no renderer, falling back to TEXT"), a.FEEDBACKAPPANSWERTYPE.TEXT) : n.includes(c2) ? o.includes(c2) && 0 === t4.length ? (null === (d2 = i4.log) || void 0 === d2 || d2.err(`[agentSurvey] ${c2} arrived with no options, falling back to TEXT`), a.FEEDBACKAPPANSWERTYPE.TEXT) : c2 !== a.FEEDBACKAPPANSWERTYPE.BOOLEAN || 2 !== t4.length || (function(e5, t5) {
|
|
2642
|
+
if (2 !== e5.length) return false;
|
|
2643
|
+
const i5 = e5.map((e6) => String(e6).trim().toLowerCase()), a2 = (0, r.getBooleanOptions)(t5).map((e6) => e6.toLowerCase()), o2 = ["yes", "no"];
|
|
2644
|
+
return i5[0] === o2[0] && i5[1] === o2[1] || i5[0] === a2[0] && i5[1] === a2[1];
|
|
2645
|
+
})(t4, i4.language) ? c2 : a.FEEDBACKAPPANSWERTYPE.RADIO : (null === (l3 = i4.log) || void 0 === l3 || l3.err(`[agentSurvey] unknown question type "${e4}", falling back to TEXT`), a.FEEDBACKAPPANSWERTYPE.TEXT);
|
|
2646
|
+
})(null !== (c = null == p ? void 0 : p.type) && void 0 !== c ? c : e3.questionType, h, i3), g = e3.questionRef || (null == p ? void 0 : p.ref) || `agent-q-${e3.currentTurn}`;
|
|
2647
|
+
return { id: (null == p ? void 0 : p.id) || `agent-${i3.sessionId}-${e3.currentTurn}`, title: m || "", type: f, questionType: { conf: null }, ref: g, require: null === (u = null == p ? void 0 : p.require) || void 0 === u || u, external_id: (null == p ? void 0 : p.external_id) || "", value: h, defaultValue: (null == p ? void 0 : p.defaultValue) || "", followup: false, position: e3.currentTurn, assets: s(f, h, p), refMetric: (null == p ? void 0 : p.refMetric) || "", integrationId: i3.integrationId, integrationPageId: "", status: "ACTIVE" };
|
|
2564
2648
|
}
|
|
2565
|
-
t2.
|
|
2566
|
-
var
|
|
2567
|
-
const n2 = e3, s2 = e3.currentTurn,
|
|
2649
|
+
t2.toAgentStep = function(e3, t3) {
|
|
2650
|
+
var i3, r2, o2;
|
|
2651
|
+
const n2 = e3, s2 = e3.currentTurn, d = e3.maxTurns, c = n2.coverageSummary, u = (e4) => ({ kind: "END", reason: e4, currentTurn: s2, maxTurns: d, coverageSummary: c });
|
|
2568
2652
|
if (n2.answerType === a.AGENT_ANSWER_TYPE_BLOCKED) return u("BLOCKED");
|
|
2569
2653
|
if (true === n2.shouldEnd) return u("SHOULD_END");
|
|
2570
2654
|
const p = (function(e4) {
|
|
2571
2655
|
const t4 = e4.question && "object" == typeof e4.question ? e4.question : e4.nextQuestion && "object" == typeof e4.nextQuestion ? e4.nextQuestion : null;
|
|
2572
2656
|
if (t4) {
|
|
2573
|
-
const e5 = t4,
|
|
2574
|
-
return { full: e5, title: "string" == typeof
|
|
2657
|
+
const e5 = t4, i4 = e5.title;
|
|
2658
|
+
return { full: e5, title: "string" == typeof i4 ? i4 : i4 ? JSON.stringify(i4) : null };
|
|
2575
2659
|
}
|
|
2576
2660
|
return { full: null, title: "string" == typeof e4.nextQuestion ? e4.nextQuestion : null };
|
|
2577
2661
|
})(e3);
|
|
2578
|
-
return "NONE" === String(null !== (o2 = null !== (r2 = null === (
|
|
2579
|
-
}, t2.encodeAnswer = function(e3,
|
|
2580
|
-
const r2 =
|
|
2581
|
-
return [n2.filter((
|
|
2662
|
+
return "NONE" === String(null !== (o2 = null !== (r2 = null === (i3 = p.full) || void 0 === i3 ? void 0 : i3.type) && void 0 !== r2 ? r2 : e3.questionType) && void 0 !== o2 ? o2 : "").trim().toUpperCase() ? u("TYPE_NONE") : p.title && p.title.trim() ? { kind: "QUESTION", question: l(e3, p, t3), isFromBase: true === e3.isFromBase, currentTurn: s2, maxTurns: d, topic: n2.topic, coverageGaps: e3.coverageGaps, coverageSummary: c } : u("NO_QUESTION");
|
|
2663
|
+
}, t2.encodeAnswer = function(e3, i3, a2 = t2.DEFAULT_ANSWER_DELIMITER) {
|
|
2664
|
+
const r2 = i3.ref, o2 = (e4) => e4.flatMap((e5) => Array.isArray(e5.value) ? e5.value : [e5.value]).map((e5) => "string" == typeof e5 ? e5 : JSON.stringify(e5)).map((e5) => (e5 || "").trim()).filter((e5) => "" !== e5), n2 = o2(e3.filter((e4) => e4.key === r2)), s2 = o2(e3.filter((e4) => e4.key === `extra-option-${r2}`));
|
|
2665
|
+
return [n2.filter((e4, t3) => n2.indexOf(e4) === t3).join(a2), s2.join(a2)].filter((e4) => "" !== e4).join(a2);
|
|
2582
2666
|
};
|
|
2583
|
-
},
|
|
2667
|
+
}, 3107(e2, t2, i2) {
|
|
2584
2668
|
"use strict";
|
|
2585
|
-
|
|
2586
|
-
const a =
|
|
2669
|
+
t2.scrapeInputs = void 0;
|
|
2670
|
+
const a = i2(5571);
|
|
2587
2671
|
t2.scrapeInputs = function(e3) {
|
|
2588
|
-
const t3 = e3.querySelectorAll(".magicfeedback-input"),
|
|
2589
|
-
return t3.forEach((
|
|
2672
|
+
const t3 = e3.querySelectorAll(".magicfeedback-input"), i3 = [], r = {};
|
|
2673
|
+
return t3.forEach((e4) => {
|
|
2590
2674
|
var t4;
|
|
2591
2675
|
const o = e4, n = o.name;
|
|
2592
2676
|
if (!n) return;
|
|
@@ -2596,154 +2680,145 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2596
2680
|
if ((null == d ? void 0 : d.includes("magicfeedback-priority-list")) || (null === (t4 = o.id) || void 0 === t4 ? void 0 : t4.startsWith("priority-list-"))) return r[n] || (r[n] = []), void r[n].push(l);
|
|
2597
2681
|
if (null == d ? void 0 : d.includes("magicfeedback-upload")) {
|
|
2598
2682
|
const e5 = (0, a.getUploadValues)(o);
|
|
2599
|
-
return void (e5.length &&
|
|
2683
|
+
return void (e5.length && i3.push({ key: n, value: e5 }));
|
|
2600
2684
|
}
|
|
2601
2685
|
const c = "magicfeedback-consent" === d ? o.checked.toString() : l;
|
|
2602
|
-
null != c &&
|
|
2603
|
-
})
|
|
2604
|
-
const a2 = t4.slice().sort((
|
|
2605
|
-
|
|
2606
|
-
})
|
|
2686
|
+
null != c && i3.push({ key: n, value: [c] });
|
|
2687
|
+
}), Object.entries(r).forEach(([e4, t4]) => {
|
|
2688
|
+
const a2 = t4.slice().sort((e5, t5) => Number(e5.split(".")[0]) - Number(t5.split(".")[0]));
|
|
2689
|
+
i3.push({ key: e4, value: a2 });
|
|
2690
|
+
}), i3;
|
|
2607
2691
|
};
|
|
2608
|
-
},
|
|
2692
|
+
}, 881(e2, t2) {
|
|
2609
2693
|
"use strict";
|
|
2610
|
-
|
|
2611
|
-
const i = { "placeholder.answer": "Write your answer here...", "placeholder.number": "Write your number here...", "placeholder.email": "Write your email here...", "placeholder.date": "Write your date here...", "placeholder.password": "Write your password here...", "pointSystem.error": "The total points must be 100 %", "boolean.yes": "Yes", "boolean.no": "No", "upload.cta": "Drag & drop or click to upload", "upload.imagesOnly": "Images only", "upload.anyFileType": "Any file type", "upload.maxFiles": "Max {n} files", "upload.maxSize": "Max {mb} MB", "upload.tooLarge": "File is too large (max {mb} MB)", "upload.remove": "Remove", "select.placeholder": "Select an option", "rating.ariaLabel": "Rating", "maxDiff.best": "Most important", "maxDiff.worst": "Least important", "maxDiff.setProgress": "Block {k} of {n}", "priority.selectUpTo": "Select up to", "priority.options": "options", "priority.thenOrder": "and then order them", "priority.selectOptions": "Select options", "priority.cancel": "Cancel", "priority.confirm": "Confirm", "priority.selectOptionNumber": "Select option #", "priority.prioritized": "Prioritized", "priority.of": "of", "priority.instruction": "Your priority list can be seen below. If you wish, you can rearrange your choices using the arrows. Click 'Next' to confirm your selection and proceed.", "action.send": "Send", "action.back": "Back", "action.next": "Next", "action.start": "Go!", "message.success": "Thank you for your feedback!", "message.blocked": "Thanks for your time - we'll end the conversation here.", "message.required": "Please answer before continuing.", "message.rateLimit": "Too many requests. Retrying in {seconds}s...", "email.atHint": "Tap @ to insert the symbol in your email address", "email.atButton": "Insert @" }, a = { en: i, es: { "placeholder.answer": "Escribe tu respuesta aqu\xED...", "placeholder.number": "Escribe tu n\xFAmero aqu\xED...", "placeholder.email": "Escribe tu correo electr\xF3nico aqu\xED...", "placeholder.date": "Escribe tu fecha aqu\xED...", "placeholder.password": "Escribe tu contrase\xF1a aqu\xED...", "pointSystem.error": "El total de puntos debe ser 100 %", "boolean.yes": "S\xED", "boolean.no": "No", "upload.cta": "Arrastra y suelta o haz clic para subir", "upload.imagesOnly": "Solo im\xE1genes", "upload.anyFileType": "Cualquier tipo de archivo", "upload.maxFiles": "M\xE1x. {n} archivos", "upload.maxSize": "M\xE1x. {mb} MB", "upload.tooLarge": "Archivo demasiado grande (m\xE1x. {mb} MB)", "upload.remove": "Eliminar", "select.placeholder": "Selecciona una opci\xF3n", "rating.ariaLabel": "Valoraci\xF3n", "maxDiff.best": "M\xE1s importante", "maxDiff.worst": "Menos importante", "maxDiff.setProgress": "Bloque {k} de {n}", "priority.selectUpTo": "Selecciona hasta", "priority.options": "opciones", "priority.thenOrder": "y luego ord\xE9nalas", "priority.selectOptions": "Seleccionar opciones", "priority.cancel": "Cancelar", "priority.confirm": "Confirmar", "priority.selectOptionNumber": "Selecciona la opci\xF3n #", "priority.prioritized": "Priorizadas", "priority.of": "de", "priority.instruction": 'Tu lista priorizada se muestra abajo. Si deseas, puedes reordenar las opciones con las flechas. Haz clic en "Siguiente" para confirmar y continuar.', "action.send": "Enviar", "action.back": "Atr\xE1s", "action.next": "Siguiente", "action.start": "\xA1Empezar!", "message.success": "\xA1Gracias por tus comentarios!", "message.blocked": "Gracias por tu tiempo, terminamos aqu\xED la conversaci\xF3n.", "message.required": "Por favor, responde antes de continuar.", "message.rateLimit": "Demasiadas solicitudes. Reintentando en {seconds} s...", "email.atHint": "Pulsa @ para insertar el s\xEDmbolo en tu correo electr\xF3nico", "email.atButton": "Insertar @" }, de: { "placeholder.answer": "Schreiben Sie hier Ihre Antwort...", "placeholder.number": "Geben Sie hier Ihre Zahl ein...", "placeholder.email": "Geben Sie hier Ihre E-Mail-Adresse ein...", "placeholder.date": "Geben Sie hier Ihr Datum ein...", "placeholder.password": "Geben Sie hier Ihr Passwort ein...", "pointSystem.error": "Die Gesamtpunktzahl muss 100 % betragen", "boolean.yes": "Ja", "boolean.no": "Nein", "upload.cta": "Ziehen Sie Dateien hierher oder klicken Sie zum Hochladen", "upload.imagesOnly": "Nur Bilder", "upload.anyFileType": "Beliebiger Dateityp", "upload.maxFiles": "Max. {n} Dateien", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "Datei ist zu gro\xDF (max. {mb} MB)", "upload.remove": "Entfernen", "select.placeholder": "Option ausw\xE4hlen", "rating.ariaLabel": "Bewertung", "maxDiff.best": "Am wichtigsten", "maxDiff.worst": "Am wenigsten wichtig", "maxDiff.setProgress": "Block {k} von {n}", "priority.selectUpTo": "W\xE4hlen Sie bis zu", "priority.options": "Optionen", "priority.thenOrder": "und ordnen Sie sie dann", "priority.selectOptions": "Optionen ausw\xE4hlen", "priority.cancel": "Abbrechen", "priority.confirm": "Best\xE4tigen", "priority.selectOptionNumber": "W\xE4hlen Sie Option #", "priority.prioritized": "Priorisiert", "priority.of": "von", "priority.instruction": 'Ihre Priorit\xE4tenliste wird unten angezeigt. Wenn Sie m\xF6chten, k\xF6nnen Sie Ihre Auswahl mit den Pfeilen neu anordnen. Klicken Sie auf "Weiter", um Ihre Auswahl zu best\xE4tigen und fortzufahren.', "action.send": "Senden", "action.back": "Zur\xFCck", "action.next": "Weiter", "action.start": "Los!", "message.success": "Vielen Dank f\xFCr Ihr Feedback!", "message.blocked": "Danke f\xFCr Ihre Zeit - wir beenden das Gespr\xE4ch hier.", "message.required": "Bitte antworten Sie, bevor Sie fortfahren.", "message.rateLimit": "Zu viele Anfragen. Erneuter Versuch in {seconds} s...", "email.atHint": "Tippen Sie auf @, um das Zeichen in Ihre E-Mail-Adresse einzuf\xFCgen", "email.atButton": "@ einf\xFCgen" }, fr: { "placeholder.answer": "\xC9crivez votre r\xE9ponse ici...", "placeholder.number": "\xC9crivez votre nombre ici...", "placeholder.email": "\xC9crivez votre e-mail ici...", "placeholder.date": "\xC9crivez votre date ici...", "placeholder.password": "\xC9crivez votre mot de passe ici...", "pointSystem.error": "Le total des points doit \xEAtre de 100 %", "boolean.yes": "Oui", "boolean.no": "Non", "upload.cta": "Glissez-d\xE9posez ou cliquez pour t\xE9l\xE9verser", "upload.imagesOnly": "Images uniquement", "upload.anyFileType": "Tout type de fichier", "upload.maxFiles": "Max. {n} fichiers", "upload.maxSize": "Max. {mb} Mo", "upload.tooLarge": "Fichier trop volumineux (max. {mb} Mo)", "upload.remove": "Supprimer", "select.placeholder": "S\xE9lectionnez une option", "rating.ariaLabel": "\xC9valuation", "maxDiff.best": "Le plus important", "maxDiff.worst": "Le moins important", "maxDiff.setProgress": "Bloc {k} sur {n}", "priority.selectUpTo": "S\xE9lectionnez jusqu'\xE0", "priority.options": "options", "priority.thenOrder": "puis classez-les", "priority.selectOptions": "S\xE9lectionner des options", "priority.cancel": "Annuler", "priority.confirm": "Confirmer", "priority.selectOptionNumber": "S\xE9lectionnez l'option #", "priority.prioritized": "Prioris\xE9es", "priority.of": "sur", "priority.instruction": `Votre liste de priorit\xE9s est affich\xE9e ci-dessous. Si vous le souhaitez, vous pouvez r\xE9organiser vos choix \xE0 l'aide des fl\xE8ches. Cliquez sur "Suivant" pour confirmer votre s\xE9lection et continuer.`, "action.send": "Envoyer", "action.back": "Retour", "action.next": "Suivant", "action.start": "C'est parti !", "message.success": "Merci pour votre retour !", "message.blocked": "Merci pour votre temps, nous terminons la conversation ici.", "message.required": "Veuillez r\xE9pondre avant de continuer.", "message.rateLimit": "Trop de requ\xEAtes. Nouvelle tentative dans {seconds} s...", "email.atHint": "Appuyez sur @ pour ins\xE9rer le symbole dans votre adresse e-mail", "email.atButton": "Ins\xE9rer @" }, pt: { "placeholder.answer": "Escreva sua resposta aqui...", "placeholder.number": "Escreva seu n\xFAmero aqui...", "placeholder.email": "Escreva seu e-mail aqui...", "placeholder.date": "Escreva sua data aqui...", "placeholder.password": "Escreva sua senha aqui...", "pointSystem.error": "O total de pontos deve ser 100 %", "boolean.yes": "Sim", "boolean.no": "N\xE3o", "upload.cta": "Arraste e solte ou clique para enviar", "upload.imagesOnly": "Somente imagens", "upload.anyFileType": "Qualquer tipo de arquivo", "upload.maxFiles": "M\xE1x. {n} arquivos", "upload.maxSize": "M\xE1x. {mb} MB", "upload.tooLarge": "Arquivo muito grande (m\xE1x. {mb} MB)", "upload.remove": "Remover", "select.placeholder": "Selecione uma op\xE7\xE3o", "rating.ariaLabel": "Avalia\xE7\xE3o", "maxDiff.best": "Mais importante", "maxDiff.worst": "Menos importante", "maxDiff.setProgress": "Bloco {k} de {n}", "priority.selectUpTo": "Selecione at\xE9", "priority.options": "op\xE7\xF5es", "priority.thenOrder": "e depois ordene-as", "priority.selectOptions": "Selecionar op\xE7\xF5es", "priority.cancel": "Cancelar", "priority.confirm": "Confirmar", "priority.selectOptionNumber": "Selecione a op\xE7\xE3o #", "priority.prioritized": "Priorizadas", "priority.of": "de", "priority.instruction": 'Sua lista de prioridades pode ser vista abaixo. Se quiser, voc\xEA pode reorganizar suas escolhas usando as setas. Clique em "Pr\xF3ximo" para confirmar sua sele\xE7\xE3o e continuar.', "action.send": "Enviar", "action.back": "Voltar", "action.next": "Pr\xF3ximo", "action.start": "Come\xE7ar!", "message.success": "Obrigado pelo seu feedback!", "message.blocked": "Obrigado pelo seu tempo, encerramos a conversa por aqui.", "message.required": "Responda antes de continuar.", "message.rateLimit": "Muitas solicita\xE7\xF5es. Tentando novamente em {seconds} s...", "email.atHint": "Toque em @ para inserir o s\xEDmbolo no seu endere\xE7o de e-mail", "email.atButton": "Inserir @" }, da: { "placeholder.answer": "Skriv dit svar her...", "placeholder.number": "Skriv dit nummer her...", "placeholder.email": "Skriv din e-mail her...", "placeholder.date": "Skriv din dato her...", "placeholder.password": "Skriv dit kodeord her...", "pointSystem.error": "Samlet antal point skal v\xE6re 100 %", "boolean.yes": "Ja", "boolean.no": "Nej", "upload.cta": "Tr\xE6k og slip eller klik for at uploade", "upload.imagesOnly": "Kun billeder", "upload.anyFileType": "Enhver filtype", "upload.maxFiles": "Maks. {n} filer", "upload.maxSize": "Maks. {mb} MB", "upload.tooLarge": "Filen er for stor (maks. {mb} MB)", "upload.remove": "Fjern", "select.placeholder": "V\xE6lg en mulighed", "rating.ariaLabel": "Bed\xF8mmelse", "maxDiff.best": "Vigtigst", "maxDiff.worst": "Mindst vigtigt", "maxDiff.setProgress": "Blok {k} af {n}", "priority.selectUpTo": "V\xE6lg op til", "priority.options": "muligheder", "priority.thenOrder": "og sorter dem derefter", "priority.selectOptions": "V\xE6lg muligheder", "priority.cancel": "Annuller", "priority.confirm": "Bekr\xE6ft", "priority.selectOptionNumber": "V\xE6lg mulighed #", "priority.prioritized": "Prioriteret", "priority.of": "af", "priority.instruction": 'Din prioritetsliste vises nedenfor. Hvis du \xF8nsker det, kan du omarrangere dine valg ved hj\xE6lp af pilene. Klik p\xE5 "N\xE6ste" for at bekr\xE6fte dit valg og forts\xE6tte.', "action.send": "Send", "action.back": "Tilbage", "action.next": "N\xE6ste", "action.start": "Start!", "message.success": "Tak for din feedback!", "message.blocked": "Tak for din tid - vi afslutter samtalen her.", "message.required": "Svar venligst, f\xF8r du forts\xE6tter.", "message.rateLimit": "For mange foresp\xF8rgsler. Pr\xF8ver igen om {seconds} s...", "email.atHint": "Tryk p\xE5 @ for at inds\xE6tte symbolet i din e-mailadresse", "email.atButton": "Inds\xE6t @" }, fi: { "placeholder.answer": "Kirjoita vastauksesi t\xE4h\xE4n...", "placeholder.number": "Kirjoita numerosi t\xE4h\xE4n...", "placeholder.email": "Kirjoita s\xE4hk\xF6postiosoitteesi t\xE4h\xE4n...", "placeholder.date": "Kirjoita p\xE4iv\xE4m\xE4\xE4r\xE4si t\xE4h\xE4n...", "placeholder.password": "Kirjoita salasanasi t\xE4h\xE4n...", "pointSystem.error": "Kokonaispisteiden on oltava 100 %", "boolean.yes": "Kyll\xE4", "boolean.no": "Ei", "upload.cta": "Ved\xE4 ja pudota tai napsauta ladataksesi", "upload.imagesOnly": "Vain kuvat", "upload.anyFileType": "Mik\xE4 tahansa tiedostotyyppi", "upload.maxFiles": "Enint\xE4\xE4n {n} tiedostoa", "upload.maxSize": "Enint\xE4\xE4n {mb} MB", "upload.tooLarge": "Tiedosto on liian suuri (enint\xE4\xE4n {mb} MB)", "upload.remove": "Poista", "select.placeholder": "Valitse vaihtoehto", "rating.ariaLabel": "Arvio", "maxDiff.best": "T\xE4rkein", "maxDiff.worst": "V\xE4hiten t\xE4rke\xE4", "maxDiff.setProgress": "Osa {k}/{n}", "priority.selectUpTo": "Valitse enint\xE4\xE4n", "priority.options": "vaihtoehtoa", "priority.thenOrder": "ja j\xE4rjest\xE4 ne sitten", "priority.selectOptions": "Valitse vaihtoehdot", "priority.cancel": "Peruuta", "priority.confirm": "Vahvista", "priority.selectOptionNumber": "Valitse vaihtoehto #", "priority.prioritized": "Priorisoitu", "priority.of": " / ", "priority.instruction": 'Prioriteettilistasi n\xE4kyy alla. Voit halutessasi j\xE4rjest\xE4\xE4 valinnat uudelleen nuolien avulla. Napsauta "Seuraava" vahvistaaksesi valinnan ja jatkaaksesi.', "action.send": "L\xE4het\xE4", "action.back": "Takaisin", "action.next": "Seuraava", "action.start": "Aloita!", "message.success": "Kiitos palautteestasi!", "message.blocked": "Kiitos ajastasi - lopetamme keskustelun t\xE4h\xE4n.", "message.required": "Vastaa ennen jatkamista.", "message.rateLimit": "Liikaa pyynt\xF6j\xE4. Yritet\xE4\xE4n uudelleen {seconds} s kuluttua...", "email.atHint": "Napauta @ lis\xE4t\xE4ksesi merkin s\xE4hk\xF6postiosoitteeseesi", "email.atButton": "Lis\xE4\xE4 @" }, no: { "placeholder.answer": "Skriv svaret ditt her...", "placeholder.number": "Skriv nummeret ditt her...", "placeholder.email": "Skriv e-posten din her...", "placeholder.date": "Skriv datoen din her...", "placeholder.password": "Skriv passordet ditt her...", "pointSystem.error": "Totalt antall poeng m\xE5 v\xE6re 100 %", "boolean.yes": "Ja", "boolean.no": "Nei", "upload.cta": "Dra og slipp eller klikk for \xE5 laste opp", "upload.imagesOnly": "Kun bilder", "upload.anyFileType": "Alle filtyper", "upload.maxFiles": "Maks {n} filer", "upload.maxSize": "Maks {mb} MB", "upload.tooLarge": "Filen er for stor (maks {mb} MB)", "upload.remove": "Fjern", "select.placeholder": "Velg et alternativ", "rating.ariaLabel": "Vurdering", "maxDiff.best": "Viktigst", "maxDiff.worst": "Minst viktig", "maxDiff.setProgress": "Blokk {k} av {n}", "priority.selectUpTo": "Velg opptil", "priority.options": "alternativer", "priority.thenOrder": "og ordne dem deretter", "priority.selectOptions": "Velg alternativer", "priority.cancel": "Avbryt", "priority.confirm": "Bekreft", "priority.selectOptionNumber": "Velg alternativ #", "priority.prioritized": "Prioritert", "priority.of": "av", "priority.instruction": 'Prioriteringslisten din vises nedenfor. Hvis du \xF8nsker det, kan du ordne valgene dine ved hjelp av pilene. Klikk p\xE5 "Neste" for \xE5 bekrefte valget ditt og fortsette.', "action.send": "Send", "action.back": "Tilbake", "action.next": "Neste", "action.start": "Start!", "message.success": "Takk for tilbakemeldingen!", "message.blocked": "Takk for tiden din - vi avslutter samtalen her.", "message.required": "Vennligst svar f\xF8r du fortsetter.", "message.rateLimit": "For mange foresp\xF8rsler. Pr\xF8ver igjen om {seconds} s...", "email.atHint": "Trykk p\xE5 @ for \xE5 sette inn tegnet i e-postadressen din", "email.atButton": "Sett inn @" }, sv: { "placeholder.answer": "Skriv ditt svar h\xE4r...", "placeholder.number": "Skriv ditt nummer h\xE4r...", "placeholder.email": "Skriv din e-post h\xE4r...", "placeholder.date": "Skriv ditt datum h\xE4r...", "placeholder.password": "Skriv ditt l\xF6senord h\xE4r...", "pointSystem.error": "Totala po\xE4ng m\xE5ste vara 100 %", "boolean.yes": "Ja", "boolean.no": "Nej", "upload.cta": "Dra och sl\xE4pp eller klicka f\xF6r att ladda upp", "upload.imagesOnly": "Endast bilder", "upload.anyFileType": "Alla filtyper", "upload.maxFiles": "Max {n} filer", "upload.maxSize": "Max {mb} MB", "upload.tooLarge": "Filen \xE4r f\xF6r stor (max {mb} MB)", "upload.remove": "Ta bort", "select.placeholder": "V\xE4lj ett alternativ", "rating.ariaLabel": "Betyg", "maxDiff.best": "Viktigast", "maxDiff.worst": "Minst viktig", "maxDiff.setProgress": "Block {k} av {n}", "priority.selectUpTo": "V\xE4lj upp till", "priority.options": "alternativ", "priority.thenOrder": "och ordna dem sedan", "priority.selectOptions": "V\xE4lj alternativ", "priority.cancel": "Avbryt", "priority.confirm": "Bekr\xE4fta", "priority.selectOptionNumber": "V\xE4lj alternativ #", "priority.prioritized": "Prioriterat", "priority.of": "av", "priority.instruction": 'Din prioriteringslista visas nedan. Om du vill kan du ordna om dina val med hj\xE4lp av pilarna. Klicka p\xE5 "N\xE4sta" f\xF6r att bekr\xE4fta ditt val och forts\xE4tta.', "action.send": "Skicka", "action.back": "Tillbaka", "action.next": "N\xE4sta", "action.start": "K\xF6r!", "message.success": "Tack f\xF6r din feedback!", "message.blocked": "Tack f\xF6r din tid - vi avslutar samtalet h\xE4r.", "message.required": "Svara innan du forts\xE4tter.", "message.rateLimit": "F\xF6r m\xE5nga f\xF6rfr\xE5gningar. F\xF6rs\xF6ker igen om {seconds} s...", "email.atHint": "Tryck p\xE5 @ f\xF6r att infoga tecknet i din e-postadress", "email.atButton": "Infoga @" }, ar: { "placeholder.answer": "\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643 \u0647\u0646\u0627...", "placeholder.number": "\u0627\u0643\u062A\u0628 \u0631\u0642\u0645\u0643 \u0647\u0646\u0627...", "placeholder.email": "\u0627\u0643\u062A\u0628 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0647\u0646\u0627...", "placeholder.date": "\u0627\u0643\u062A\u0628 \u062A\u0627\u0631\u064A\u062E\u0643 \u0647\u0646\u0627...", "placeholder.password": "\u0627\u0643\u062A\u0628 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0647\u0646\u0627...", "pointSystem.error": "\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A\u0629 100 %", "boolean.yes": "\u0646\u0639\u0645", "boolean.no": "\u0644\u0627", "upload.cta": "\u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A \u0623\u0648 \u0627\u0646\u0642\u0631 \u0644\u0644\u062A\u062D\u0645\u064A\u0644", "upload.imagesOnly": "\u0627\u0644\u0635\u0648\u0631 \u0641\u0642\u0637", "upload.anyFileType": "\u0623\u064A \u0646\u0648\u0639 \u0645\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A", "upload.maxFiles": "{n} \u0645\u0644\u0641\u0627\u062A \u0643\u062D\u062F \u0623\u0642\u0635\u0649", "upload.maxSize": "{mb} \u0645\u064A\u063A\u0627\u0628\u0627\u064A\u062A \u0643\u062D\u062F \u0623\u0642\u0635\u0649", "upload.tooLarge": "\u0627\u0644\u0645\u0644\u0641 \u0643\u0628\u064A\u0631 \u062C\u062F\u064B\u0627 (\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0642\u0635\u0649 {mb} \u0645\u064A\u063A\u0627\u0628\u0627\u064A\u062A)", "upload.remove": "\u0625\u0632\u0627\u0644\u0629", "select.placeholder": "\u0627\u062E\u062A\u0631 \u062E\u064A\u0627\u0631\u064B\u0627", "rating.ariaLabel": "\u0627\u0644\u062A\u0642\u064A\u064A\u0645", "maxDiff.best": "\u0627\u0644\u0623\u0643\u062B\u0631 \u0623\u0647\u0645\u064A\u0629", "maxDiff.worst": "\u0627\u0644\u0623\u0642\u0644 \u0623\u0647\u0645\u064A\u0629", "maxDiff.setProgress": "\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 {k} \u0645\u0646 {n}", "priority.selectUpTo": "\u0627\u062E\u062A\u0631 \u062D\u062A\u0649", "priority.options": "\u062E\u064A\u0627\u0631\u0627\u062A", "priority.thenOrder": "\u062B\u0645 \u0631\u062A\u0628\u0647\u0627", "priority.selectOptions": "\u0627\u062E\u062A\u0631 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A", "priority.cancel": "\u0625\u0644\u063A\u0627\u0621", "priority.confirm": "\u062A\u0623\u0643\u064A\u062F", "priority.selectOptionNumber": "\u0627\u062E\u062A\u0631 \u0627\u0644\u062E\u064A\u0627\u0631 #", "priority.prioritized": "\u062A\u0645 \u0627\u0644\u062A\u0631\u062A\u064A\u0628", "priority.of": "\u0645\u0646", "priority.instruction": '\u062A\u0638\u0647\u0631 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0627\u062A \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0623\u062F\u0646\u0627\u0647. \u0625\u0630\u0627 \u0631\u063A\u0628\u062A\u060C \u064A\u0645\u0643\u0646\u0643 \u0625\u0639\u0627\u062F\u0629 \u062A\u0631\u062A\u064A\u0628 \u0627\u062E\u062A\u064A\u0627\u0631\u0627\u062A\u0643 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0623\u0633\u0647\u0645. \u0627\u0646\u0642\u0631 \u0639\u0644\u0649 "\u0627\u0644\u062A\u0627\u0644\u064A" \u0644\u062A\u0623\u0643\u064A\u062F \u0627\u062E\u062A\u064A\u0627\u0631\u0643 \u0648\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629.', "action.send": "\u0625\u0631\u0633\u0627\u0644", "action.back": "\u0631\u062C\u0648\u0639", "action.next": "\u0627\u0644\u062A\u0627\u0644\u064A", "action.start": "\u0627\u0628\u062F\u0623!", "message.success": "\u0634\u0643\u0631\u064B\u0627 \u0644\u0645\u0644\u0627\u062D\u0638\u0627\u062A\u0643!", "message.blocked": "\u0634\u0643\u0631\u064B\u0627 \u0639\u0644\u0649 \u0648\u0642\u062A\u0643\u060C \u0633\u0646\u0646\u0647\u064A \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0647\u0646\u0627.", "message.required": "\u064A\u0631\u062C\u0649 \u0627\u0644\u0625\u062C\u0627\u0628\u0629 \u0642\u0628\u0644 \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629.", "message.rateLimit": "\u0637\u0644\u0628\u0627\u062A \u0643\u062B\u064A\u0631\u0629 \u062C\u062F\u064B\u0627. \u0633\u0646\u0639\u064A\u062F \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u062E\u0644\u0627\u0644 {seconds} \u062B\u0627\u0646\u064A\u0629...", "email.atHint": "\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 @ \u0644\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0631\u0645\u0632 \u0641\u064A \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A", "email.atButton": "\u0625\u062F\u0631\u0627\u062C @" }, bn: { "placeholder.answer": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u0989\u09A4\u09CD\u09A4\u09B0 \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.number": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09B8\u0982\u0996\u09CD\u09AF\u09BE \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.email": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u0987\u09AE\u09C7\u0987\u09B2 \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.date": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A4\u09BE\u09B0\u09BF\u0996 \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.password": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09AA\u09BE\u09B8\u0993\u09AF\u09BC\u09BE\u09B0\u09CD\u09A1 \u09B2\u09BF\u0996\u09C1\u09A8...", "pointSystem.error": "\u09AE\u09CB\u099F \u09AA\u09AF\u09BC\u09C7\u09A8\u09CD\u099F 100 % \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7", "boolean.yes": "\u09B9\u09CD\u09AF\u09BE\u0981", "boolean.no": "\u09A8\u09BE", "upload.cta": "\u099F\u09C7\u09A8\u09C7 \u0986\u09A8\u09C1\u09A8 \u09AC\u09BE \u0986\u09AA\u09B2\u09CB\u09A1 \u0995\u09B0\u09A4\u09C7 \u0995\u09CD\u09B2\u09BF\u0995 \u0995\u09B0\u09C1\u09A8", "upload.imagesOnly": "\u09B6\u09C1\u09A7\u09C1\u09AE\u09BE\u09A4\u09CD\u09B0 \u099B\u09AC\u09BF", "upload.anyFileType": "\u09AF\u09C7\u0995\u09CB\u09A8\u09CB \u09A7\u09B0\u09A8\u09C7\u09B0 \u09AB\u09BE\u0987\u09B2", "upload.maxFiles": "\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A {n}\u099F\u09BF \u09AB\u09BE\u0987\u09B2", "upload.maxSize": "\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A {mb} MB", "upload.tooLarge": "\u09AB\u09BE\u0987\u09B2\u099F\u09BF \u0996\u09C1\u09AC \u09AC\u09A1\u09BC (\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A {mb} MB)", "upload.remove": "\u09B8\u09B0\u09BE\u09A8", "select.placeholder": "\u098F\u0995\u099F\u09BF \u09AC\u09BF\u0995\u09B2\u09CD\u09AA \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "rating.ariaLabel": "\u09B0\u09C7\u099F\u09BF\u0982", "maxDiff.best": "\u09B8\u09AC\u099A\u09C7\u09AF\u09BC\u09C7 \u0997\u09C1\u09B0\u09C1\u09A4\u09CD\u09AC\u09AA\u09C2\u09B0\u09CD\u09A3", "maxDiff.worst": "\u09B8\u09AC\u099A\u09C7\u09AF\u09BC\u09C7 \u0995\u09AE \u0997\u09C1\u09B0\u09C1\u09A4\u09CD\u09AC\u09AA\u09C2\u09B0\u09CD\u09A3", "maxDiff.setProgress": "\u09AC\u09CD\u09B2\u0995 {k}/{n}", "priority.selectUpTo": "\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "priority.options": "\u099F\u09BF \u09AC\u09BF\u0995\u09B2\u09CD\u09AA", "priority.thenOrder": "\u09A4\u09BE\u09B0\u09AA\u09B0 \u09B8\u09C7\u0997\u09C1\u09B2\u09CB \u09B8\u09BE\u099C\u09BE\u09A8", "priority.selectOptions": "\u09AC\u09BF\u0995\u09B2\u09CD\u09AA \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "priority.cancel": "\u09AC\u09BE\u09A4\u09BF\u09B2", "priority.confirm": "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09C1\u09A8", "priority.selectOptionNumber": "\u09AC\u09BF\u0995\u09B2\u09CD\u09AA # \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "priority.prioritized": "\u0985\u0997\u09CD\u09B0\u09BE\u09A7\u09BF\u0995\u09BE\u09B0\u09AA\u09CD\u09B0\u09BE\u09AA\u09CD\u09A4", "priority.of": "\u098F\u09B0 \u09AE\u09A7\u09CD\u09AF\u09C7", "priority.instruction": '\u0986\u09AA\u09A8\u09BE\u09B0 \u0985\u0997\u09CD\u09B0\u09BE\u09A7\u09BF\u0995\u09BE\u09B0 \u09A4\u09BE\u09B2\u09BF\u0995\u09BE \u09A8\u09BF\u099A\u09C7 \u09A6\u09C7\u0996\u09BE\u09A8\u09CB \u09B9\u09AF\u09BC\u09C7\u099B\u09C7\u0964 \u099A\u09BE\u0987\u09B2\u09C7 \u09A4\u09C0\u09B0 \u099A\u09BF\u09B9\u09CD\u09A8 \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09AA\u099B\u09A8\u09CD\u09A6\u0997\u09C1\u09B2\u09CB \u09AA\u09C1\u09A8\u09B0\u09BE\u09AF\u09BC \u09B8\u09BE\u099C\u09BE\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7\u09A8\u0964 "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0" \u0995\u09CD\u09B2\u09BF\u0995 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09C1\u09A8 \u098F\u09AC\u0982 \u098F\u0997\u09BF\u09AF\u09BC\u09C7 \u09AF\u09BE\u09A8\u0964', "action.send": "\u09AA\u09BE\u09A0\u09BE\u09A8", "action.back": "\u09AA\u09BF\u099B\u09A8\u09C7", "action.next": "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0", "action.start": "\u09B6\u09C1\u09B0\u09C1 \u0995\u09B0\u09C1\u09A8!", "message.success": "\u0986\u09AA\u09A8\u09BE\u09B0 \u09AE\u09A4\u09BE\u09AE\u09A4\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6!", "message.blocked": "\u0986\u09AA\u09A8\u09BE\u09B0 \u09B8\u09AE\u09AF\u09BC\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6, \u0986\u09AE\u09B0\u09BE \u098F\u0996\u09BE\u09A8\u09C7\u0987 \u0995\u09A5\u09CB\u09AA\u0995\u09A5\u09A8 \u09B6\u09C7\u09B7 \u0995\u09B0\u099B\u09BF\u0964", "message.required": "\u099A\u09BE\u09B2\u09BF\u09AF\u09BC\u09C7 \u09AF\u09BE\u0993\u09AF\u09BC\u09BE\u09B0 \u0986\u0997\u09C7 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0989\u09A4\u09CD\u09A4\u09B0 \u09A6\u09BF\u09A8\u0964", "message.rateLimit": "\u0985\u09A8\u09C7\u0995 \u09AC\u09C7\u09B6\u09BF \u0985\u09A8\u09C1\u09B0\u09CB\u09A7\u0964 {seconds} \u09B8\u09C7\u0995\u09C7\u09A8\u09CD\u09A1\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09BE \u09B9\u099A\u09CD\u099B\u09C7...", "email.atHint": "\u0986\u09AA\u09A8\u09BE\u09B0 \u0987\u09AE\u09C7\u0987\u09B2 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE\u09AF\u09BC \u099A\u09BF\u09B9\u09CD\u09A8\u099F\u09BF \u09AF\u09CB\u0997 \u0995\u09B0\u09A4\u09C7 @ \u099A\u09BE\u09AA\u09C1\u09A8", "email.atButton": "@ \u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8" }, it: { "placeholder.answer": "Scrivi qui la tua risposta...", "placeholder.number": "Scrivi qui il numero...", "placeholder.email": "Scrivi qui la tua email...", "placeholder.date": "Scrivi qui la data...", "placeholder.password": "Scrivi qui la tua password...", "pointSystem.error": "Il totale dei punti deve essere 100 %", "boolean.yes": "S\xEC", "boolean.no": "No", "upload.cta": "Trascina e rilascia o clicca per caricare", "upload.imagesOnly": "Solo immagini", "upload.anyFileType": "Qualsiasi tipo di file", "upload.maxFiles": "Max {n} file", "upload.maxSize": "Max {mb} MB", "upload.tooLarge": "Il file \xE8 troppo grande (max {mb} MB)", "upload.remove": "Rimuovi", "select.placeholder": "Seleziona un'opzione", "rating.ariaLabel": "Valutazione", "maxDiff.best": "Pi\xF9 importante", "maxDiff.worst": "Meno importante", "maxDiff.setProgress": "Blocco {k} di {n}", "priority.selectUpTo": "Seleziona fino a", "priority.options": "opzioni", "priority.thenOrder": "e poi ordinali", "priority.selectOptions": "Seleziona opzioni", "priority.cancel": "Annulla", "priority.confirm": "Conferma", "priority.selectOptionNumber": "Seleziona opzione #", "priority.prioritized": "Prioritizzate", "priority.of": "di", "priority.instruction": 'La tua lista di priorit\xE0 \xE8 mostrata qui sotto. Se vuoi, puoi riordinare le tue scelte usando le frecce. Clicca su "Avanti" per confermare la selezione e continuare.', "action.send": "Invia", "action.back": "Indietro", "action.next": "Avanti", "action.start": "Via!", "message.success": "Grazie per il tuo feedback!", "message.blocked": "Grazie per il tuo tempo \u2013 terminiamo qui la conversazione.", "message.required": "Rispondi prima di continuare.", "message.rateLimit": "Troppe richieste. Nuovo tentativo tra {seconds}s...", "email.atHint": "Tocca @ per inserire il simbolo nel tuo indirizzo email", "email.atButton": "Inserisci @" }, nl: { "placeholder.answer": "Typ hier je antwoord...", "placeholder.number": "Typ hier je getal...", "placeholder.email": "Typ hier je e-mailadres...", "placeholder.date": "Typ hier de datum...", "placeholder.password": "Typ hier je wachtwoord...", "pointSystem.error": "Het totaal aantal punten moet 100 % zijn", "boolean.yes": "Ja", "boolean.no": "Nee", "upload.cta": "Sleep een bestand hierheen of klik om te uploaden", "upload.imagesOnly": "Alleen afbeeldingen", "upload.anyFileType": "Elk bestandstype", "upload.maxFiles": "Max. {n} bestanden", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "Bestand is te groot (max. {mb} MB)", "upload.remove": "Verwijderen", "select.placeholder": "Selecteer een optie", "rating.ariaLabel": "Beoordeling", "maxDiff.best": "Belangrijkst", "maxDiff.worst": "Minst belangrijk", "maxDiff.setProgress": "Blok {k} van {n}", "priority.selectUpTo": "Selecteer tot", "priority.options": "opties", "priority.thenOrder": "en rangschik ze vervolgens", "priority.selectOptions": "Selecteer opties", "priority.cancel": "Annuleren", "priority.confirm": "Bevestigen", "priority.selectOptionNumber": "Selecteer optie #", "priority.prioritized": "Geprioriteerd", "priority.of": "van", "priority.instruction": 'Je prioriteitenlijst wordt hieronder weergegeven. Als je wilt, kun je je keuzes herschikken met behulp van de pijlen. Klik op "Volgende" om je selectie te bevestigen en door te gaan.', "action.send": "Verzenden", "action.back": "Terug", "action.next": "Volgende", "action.start": "Aan de slag!", "message.success": "Bedankt voor je feedback!", "message.blocked": "Bedankt voor je tijd \u2013 we be\xEBindigen het gesprek hier.", "message.required": "Beantwoord de vraag voordat je verdergaat.", "message.rateLimit": "Te veel verzoeken. Opnieuw proberen over {seconds}s...", "email.atHint": "Tik op @ om het symbool in je e-mailadres in te voegen", "email.atButton": "@ invoegen" }, pl: { "placeholder.answer": "Wpisz tutaj swoj\u0105 odpowied\u017A...", "placeholder.number": "Wpisz tutaj liczb\u0119...", "placeholder.email": "Wpisz tutaj sw\xF3j adres e-mail...", "placeholder.date": "Wpisz tutaj dat\u0119...", "placeholder.password": "Wpisz tutaj swoje has\u0142o...", "pointSystem.error": "Suma punkt\xF3w musi wynosi\u0107 100 %", "boolean.yes": "Tak", "boolean.no": "Nie", "upload.cta": "Przeci\u0105gnij i upu\u015B\u0107 lub kliknij, aby przes\u0142a\u0107", "upload.imagesOnly": "Tylko obrazy", "upload.anyFileType": "Dowolny typ pliku", "upload.maxFiles": "Maks. liczba plik\xF3w: {n}", "upload.maxSize": "Maks. {mb} MB", "upload.tooLarge": "Plik jest za du\u017Cy (maks. {mb} MB)", "upload.remove": "Usu\u0144", "select.placeholder": "Wybierz opcj\u0119", "rating.ariaLabel": "Ocena", "maxDiff.best": "Najwa\u017Cniejsze", "maxDiff.worst": "Najmniej wa\u017Cne", "maxDiff.setProgress": "Blok {k} z {n}", "priority.selectUpTo": "Wybierz do", "priority.options": "opcje", "priority.thenOrder": "a nast\u0119pnie je uporz\u0105dkuj", "priority.selectOptions": "Wybierz opcje", "priority.cancel": "Anuluj", "priority.confirm": "Potwierd\u017A", "priority.selectOptionNumber": "Wybierz opcj\u0119 #", "priority.prioritized": "Priorytetowe", "priority.of": "z", "priority.instruction": 'Twoja lista priorytet\xF3w jest pokazana poni\u017Cej. Je\u015Bli chcesz, mo\u017Cesz zmieni\u0107 kolejno\u015B\u0107 swoich wybor\xF3w za pomoc\u0105 strza\u0142ek. Kliknij "Dalej", aby potwierdzi\u0107 wyb\xF3r i kontynuowa\u0107.', "action.send": "Wy\u015Blij", "action.back": "Wstecz", "action.next": "Dalej", "action.start": "Zaczynamy!", "message.success": "Dzi\u0119kujemy za Twoj\u0105 opini\u0119!", "message.blocked": "Dzi\u0119kujemy za po\u015Bwi\u0119cony czas \u2013 w tym miejscu ko\u0144czymy rozmow\u0119.", "message.required": "Odpowiedz, zanim przejdziesz dalej.", "message.rateLimit": "Zbyt wiele \u017C\u0105da\u0144. Ponowna pr\xF3ba za {seconds} s...", "email.atHint": "Dotknij @, aby wstawi\u0107 ten symbol do adresu e-mail", "email.atButton": "Wstaw @" }, ru: { "boolean.yes": "\u0414\u0430", "boolean.no": "\u041D\u0435\u0442", "priority.selectUpTo": "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u043E", "priority.options": "\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432", "priority.thenOrder": "\u0430 \u0437\u0430\u0442\u0435\u043C \u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u044C\u0442\u0435 \u0438\u0445", "priority.selectOptions": "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B", "priority.cancel": "\u041E\u0442\u043C\u0435\u043D\u0430", "priority.confirm": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C", "priority.selectOptionNumber": "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 #", "priority.prioritized": "\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B", "priority.of": "\u0438\u0437", "priority.instruction": '\u0412\u0430\u0448 \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u043E\u0432 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043D\u0438\u0436\u0435. \u0415\u0441\u043B\u0438 \u0445\u043E\u0442\u0438\u0442\u0435, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0441\u0442\u0440\u0435\u043B\u043E\u043A. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 "\u0414\u0430\u043B\u0435\u0435", \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C.' }, ja: { "boolean.yes": "\u306F\u3044", "boolean.no": "\u3044\u3044\u3048", "priority.selectUpTo": "\u6700\u5927", "priority.options": "\u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E", "priority.thenOrder": "\u305D\u306E\u5F8C\u4E26\u3079\u66FF\u3048\u3066\u304F\u3060\u3055\u3044", "priority.selectOptions": "\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E", "priority.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB", "priority.confirm": "\u78BA\u8A8D", "priority.selectOptionNumber": "\u30AA\u30D7\u30B7\u30E7\u30F3 # \u3092\u9078\u629E", "priority.prioritized": "\u512A\u5148\u9806\u4F4D", "priority.of": "\u306E\u3046\u3061", "priority.instruction": "\u512A\u5148\u9806\u4F4D\u30EA\u30B9\u30C8\u306F\u4EE5\u4E0B\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u3001\u77E2\u5370\u3092\u4F7F\u3063\u3066\u9078\u629E\u80A2\u3092\u4E26\u3079\u66FF\u3048\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u300C\u6B21\u3078\u300D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9078\u629E\u3092\u78BA\u5B9A\u3057\u3001\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, zh: { "boolean.yes": "\u662F", "boolean.no": "\u4E0D", "priority.selectUpTo": "\u6700\u591A\u9009\u62E9", "priority.options": "\u4E2A\u9009\u9879", "priority.thenOrder": "\u7136\u540E\u6392\u5E8F\u5B83\u4EEC", "priority.selectOptions": "\u9009\u62E9\u9009\u9879", "priority.cancel": "\u53D6\u6D88", "priority.confirm": "\u786E\u8BA4", "priority.selectOptionNumber": "\u9009\u62E9\u9009\u9879 #", "priority.prioritized": "\u5DF2\u4F18\u5148", "priority.of": "\u5171", "priority.instruction": "\u4F60\u7684\u4F18\u5148\u5217\u8868\u5982\u4E0B\u6240\u793A\u3002\u5982\u6709\u9700\u8981\uFF0C\u53EF\u4EE5\u4F7F\u7528\u7BAD\u5934\u91CD\u65B0\u6392\u5E8F\u9009\u9879\u3002\u70B9\u51FB\u201C\u4E0B\u4E00\u6B65\u201D\u786E\u8BA4\u9009\u62E9\u5E76\u7EE7\u7EED\u3002" }, ko: { "boolean.yes": "\uC608", "boolean.no": "\uC544\uB2C8", "priority.selectUpTo": "\uCD5C\uB300", "priority.options": "\uAC1C\uC758 \uC635\uC158 \uC120\uD0DD", "priority.thenOrder": "\uADF8\uB7F0 \uB2E4\uC74C \uC815\uB82C\uD558\uC138\uC694", "priority.selectOptions": "\uC635\uC158 \uC120\uD0DD", "priority.cancel": "\uCDE8\uC18C", "priority.confirm": "\uD655\uC778", "priority.selectOptionNumber": "\uC635\uC158 # \uC120\uD0DD", "priority.prioritized": "\uC6B0\uC120\uC21C\uC704", "priority.of": "\uC911", "priority.instruction": '\uC6B0\uC120\uC21C\uC704 \uBAA9\uB85D\uC740 \uC544\uB798\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uC6D0\uD55C\uB2E4\uBA74 \uD654\uC0B4\uD45C\uB97C \uC0AC\uC6A9\uD574 \uC120\uD0DD \uD56D\uBAA9\uC744 \uC7AC\uC815\uB82C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. "\uB2E4\uC74C"\uC744 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD\uC744 \uD655\uC778\uD558\uACE0 \uACC4\uC18D\uD558\uC138\uC694.' }, bg: { "placeholder.answer": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u043E\u0442\u0433\u043E\u0432\u043E\u0440\u0430 \u0441\u0438 \u0442\u0443\u043A...", "placeholder.number": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0447\u0438\u0441\u043B\u043E\u0442\u043E \u0442\u0443\u043A...", "placeholder.email": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0438\u043C\u0435\u0439\u043B\u0430 \u0441\u0438 \u0442\u0443\u043A...", "placeholder.date": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0434\u0430\u0442\u0430\u0442\u0430 \u0442\u0443\u043A...", "placeholder.password": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u0430\u0442\u0430 \u0441\u0438 \u0442\u0443\u043A...", "pointSystem.error": "\u041E\u0431\u0449\u0438\u044F\u0442 \u0431\u0440\u043E\u0439 \u0442\u043E\u0447\u043A\u0438 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 100 %", "boolean.yes": "\u0414\u0430", "boolean.no": "\u041D\u0435", "upload.cta": "\u041F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 \u0438 \u043F\u0443\u0441\u043D\u0435\u0442\u0435 \u0438\u043B\u0438 \u0449\u0440\u0430\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043A\u0430\u0447\u0438\u0442\u0435", "upload.imagesOnly": "\u0421\u0430\u043C\u043E \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F", "upload.anyFileType": "\u0412\u0441\u044F\u043A\u0430\u043A\u044A\u0432 \u0442\u0438\u043F \u0444\u0430\u0439\u043B", "upload.maxFiles": "\u041C\u0430\u043A\u0441. {n} \u0444\u0430\u0439\u043B\u0430", "upload.maxSize": "\u041C\u0430\u043A\u0441. {mb} MB", "upload.tooLarge": "\u0424\u0430\u0439\u043B\u044A\u0442 \u0435 \u0442\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C (\u043C\u0430\u043A\u0441. {mb} MB)", "upload.remove": "\u041F\u0440\u0435\u043C\u0430\u0445\u0432\u0430\u043D\u0435", "select.placeholder": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043E\u043F\u0446\u0438\u044F", "rating.ariaLabel": "\u041E\u0446\u0435\u043D\u043A\u0430", "maxDiff.best": "\u041D\u0430\u0439-\u0432\u0430\u0436\u043D\u043E", "maxDiff.worst": "\u041D\u0430\u0439-\u043C\u0430\u043B\u043A\u043E \u0432\u0430\u0436\u043D\u043E", "maxDiff.setProgress": "\u0411\u043B\u043E\u043A {k} \u043E\u0442 {n}", "priority.selectUpTo": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u043E", "priority.options": "\u043E\u043F\u0446\u0438\u0438", "priority.thenOrder": "\u0438 \u0441\u043B\u0435\u0434 \u0442\u043E\u0432\u0430 \u0433\u0438 \u043F\u043E\u0434\u0440\u0435\u0434\u0435\u0442\u0435", "priority.selectOptions": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043E\u043F\u0446\u0438\u0438", "priority.cancel": "\u041E\u0442\u043A\u0430\u0437", "priority.confirm": "\u041F\u043E\u0442\u0432\u044A\u0440\u0436\u0434\u0430\u0432\u0430\u043D\u0435", "priority.selectOptionNumber": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043E\u043F\u0446\u0438\u044F \u2116", "priority.prioritized": "\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0438\u0437\u0438\u0440\u0430\u043D\u0438", "priority.of": "\u043E\u0442", "priority.instruction": "\u0412\u0430\u0448\u0438\u044F\u0442 \u0441\u043F\u0438\u0441\u044A\u043A \u0441 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0438 \u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u043D \u043F\u043E-\u0434\u043E\u043B\u0443. \u0410\u043A\u043E \u0436\u0435\u043B\u0430\u0435\u0442\u0435, \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043D\u0430\u0440\u0435\u0434\u0438\u0442\u0435 \u0438\u0437\u0431\u043E\u0440\u0430 \u0441\u0438 \u0447\u0440\u0435\u0437 \u0441\u0442\u0440\u0435\u043B\u043A\u0438\u0442\u0435. \u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0432\u044A\u0440\u0445\u0443 \u201E\u041D\u0430\u043F\u0440\u0435\u0434\u201C, \u0437\u0430 \u0434\u0430 \u043F\u043E\u0442\u0432\u044A\u0440\u0434\u0438\u0442\u0435 \u0438\u0437\u0431\u043E\u0440\u0430 \u0441\u0438 \u0438 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435.", "action.send": "\u0418\u0437\u043F\u0440\u0430\u0449\u0430\u043D\u0435", "action.back": "\u041D\u0430\u0437\u0430\u0434", "action.next": "\u041D\u0430\u043F\u0440\u0435\u0434", "action.start": "\u0421\u0442\u0430\u0440\u0442!", "message.success": "\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u0438\u043C \u0412\u0438 \u0437\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u0430\u0442\u0430 \u0432\u0440\u044A\u0437\u043A\u0430!", "message.blocked": "\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u0438\u043C \u0412\u0438 \u0437\u0430 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u043E\u0442\u043E \u0432\u0440\u0435\u043C\u0435 \u2013 \u0449\u0435 \u043F\u0440\u0438\u043A\u043B\u044E\u0447\u0438\u043C \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u0434\u043E\u0442\u0443\u043A.", "message.required": "\u041C\u043E\u043B\u044F, \u043E\u0442\u0433\u043E\u0432\u043E\u0440\u0435\u0442\u0435, \u043F\u0440\u0435\u0434\u0438 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435.", "message.rateLimit": "\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u043D\u043E\u0433\u043E \u0437\u0430\u044F\u0432\u043A\u0438. \u041D\u043E\u0432 \u043E\u043F\u0438\u0442 \u0441\u043B\u0435\u0434 {seconds} \u0441...", "email.atHint": "\u0414\u043E\u043A\u043E\u0441\u043D\u0435\u0442\u0435 @, \u0437\u0430 \u0434\u0430 \u0432\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u0432 \u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441\u0430 \u0441\u0438", "email.atButton": "\u0412\u044A\u0432\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 @" }, cs: { "placeholder.answer": "Sem napi\u0161te svou odpov\u011B\u010F...", "placeholder.number": "Sem napi\u0161te \u010D\xEDslo...", "placeholder.email": "Sem napi\u0161te sv\u016Fj e-mail...", "placeholder.date": "Sem napi\u0161te datum...", "placeholder.password": "Sem napi\u0161te sv\xE9 heslo...", "pointSystem.error": "Sou\u010Det bod\u016F mus\xED b\xFDt 100 %", "boolean.yes": "Ano", "boolean.no": "Ne", "upload.cta": "P\u0159et\xE1hn\u011Bte soubor sem nebo klikn\u011Bte a nahrajte jej", "upload.imagesOnly": "Pouze obr\xE1zky", "upload.anyFileType": "Libovoln\xFD typ souboru", "upload.maxFiles": "Max. po\u010Det soubor\u016F: {n}", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "Soubor je p\u0159\xEDli\u0161 velk\xFD (max. {mb} MB)", "upload.remove": "Odebrat", "select.placeholder": "Vyberte mo\u017Enost", "rating.ariaLabel": "Hodnocen\xED", "maxDiff.best": "Nejd\u016Fle\u017Eit\u011Bj\u0161\xED", "maxDiff.worst": "Nejm\xE9n\u011B d\u016Fle\u017Eit\xE9", "maxDiff.setProgress": "Blok {k} z {n}", "priority.selectUpTo": "Vyberte a\u017E", "priority.options": "mo\u017Enosti", "priority.thenOrder": "a pot\xE9 je se\u0159a\u010Fte", "priority.selectOptions": "Vyberte mo\u017Enosti", "priority.cancel": "Zru\u0161it", "priority.confirm": "Potvrdit", "priority.selectOptionNumber": "Vyberte mo\u017Enost \u010D.", "priority.prioritized": "Se\u0159azeno podle priority", "priority.of": "z", "priority.instruction": "N\xED\u017Ee vid\xEDte sv\u016Fj seznam priorit. Pokud chcete, m\u016F\u017Eete sv\xE9 volby p\u0159euspo\u0159\xE1dat pomoc\xED \u0161ipek. Kliknut\xEDm na \u201EDal\u0161\xED\u201C potvrd\xEDte sv\u016Fj v\xFDb\u011Br a budete pokra\u010Dovat.", "action.send": "Odeslat", "action.back": "Zp\u011Bt", "action.next": "Dal\u0161\xED", "action.start": "Za\u010D\xEDt!", "message.success": "D\u011Bkujeme za va\u0161i zp\u011Btnou vazbu!", "message.blocked": "D\u011Bkujeme za v\xE1\u0161 \u010Das \u2013 zde konverzaci ukon\u010D\xEDme.", "message.required": "P\u0159ed pokra\u010Dov\xE1n\xEDm pros\xEDm odpov\u011Bzte.", "message.rateLimit": "P\u0159\xEDli\u0161 mnoho po\u017Eadavk\u016F. Nov\xFD pokus za {seconds} s...", "email.atHint": "Klepnut\xEDm na @ vlo\u017E\xEDte symbol do sv\xE9 e-mailov\xE9 adresy", "email.atButton": "Vlo\u017Eit @" }, el: { "placeholder.answer": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2 \u03B5\u03B4\u03CE...", "placeholder.number": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03BF\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03B5\u03B4\u03CE...", "placeholder.email": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03BF email \u03C3\u03B1\u03C2 \u03B5\u03B4\u03CE...", "placeholder.date": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B5\u03B4\u03CE...", "placeholder.password": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03BF\u03BD \u03BA\u03C9\u03B4\u03B9\u03BA\u03CC \u03C0\u03C1\u03CC\u03C3\u03B2\u03B1\u03C3\u03AE\u03C2 \u03C3\u03B1\u03C2 \u03B5\u03B4\u03CE...", "pointSystem.error": "\u03A4\u03BF \u03C3\u03CD\u03BD\u03BF\u03BB\u03BF \u03C4\u03C9\u03BD \u03C0\u03CC\u03BD\u03C4\u03C9\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 100 %", "boolean.yes": "\u039D\u03B1\u03B9", "boolean.no": "\u038C\u03C7\u03B9", "upload.cta": "\u03A3\u03CD\u03C1\u03B5\u03C4\u03B5 \u03BA\u03B1\u03B9 \u03B1\u03C6\u03AE\u03C3\u03C4\u03B5 \u03AE \u03BA\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BC\u03B5\u03C4\u03B1\u03C6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7", "upload.imagesOnly": "\u039C\u03CC\u03BD\u03BF \u03B5\u03B9\u03BA\u03CC\u03BD\u03B5\u03C2", "upload.anyFileType": "\u039F\u03C0\u03BF\u03B9\u03BF\u03C3\u03B4\u03AE\u03C0\u03BF\u03C4\u03B5 \u03C4\u03CD\u03C0\u03BF\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5", "upload.maxFiles": "\u0388\u03C9\u03C2 {n} \u03B1\u03C1\u03C7\u03B5\u03AF\u03B1", "upload.maxSize": "\u0388\u03C9\u03C2 {mb} MB", "upload.tooLarge": "\u03A4\u03BF \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF (\u03AD\u03C9\u03C2 {mb} MB)", "upload.remove": "\u0391\u03C6\u03B1\u03AF\u03C1\u03B5\u03C3\u03B7", "select.placeholder": "\u039A\u03AC\u03BD\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE", "rating.ariaLabel": "\u0392\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03AF\u03B1", "maxDiff.best": "\u03A0\u03B9\u03BF \u03C3\u03B7\u03BC\u03B1\u03BD\u03C4\u03B9\u03BA\u03CC", "maxDiff.worst": "\u039B\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03BF \u03C3\u03B7\u03BC\u03B1\u03BD\u03C4\u03B9\u03BA\u03CC", "maxDiff.setProgress": "\u0395\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1 {k} \u03B1\u03C0\u03CC {n}", "priority.selectUpTo": "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03C9\u03C2", "priority.options": "\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2", "priority.thenOrder": "\u03BA\u03B1\u03B9 \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1 \u03C4\u03B1\u03BE\u03B9\u03BD\u03BF\u03BC\u03AE\u03C3\u03C4\u03B5 \u03C4\u03B5\u03C2", "priority.selectOptions": "\u039A\u03AC\u03BD\u03C4\u03B5 \u03C4\u03B9\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 \u03C3\u03B1\u03C2", "priority.cancel": "\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7", "priority.confirm": "\u0395\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03AF\u03C9\u03C3\u03B7", "priority.selectOptionNumber": "\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B1\u03C1.", "priority.prioritized": "\u039C\u03B5 \u03C0\u03C1\u03BF\u03C4\u03B5\u03C1\u03B1\u03B9\u03CC\u03C4\u03B7\u03C4\u03B1", "priority.of": "\u03B1\u03C0\u03CC", "priority.instruction": "\u0397 \u03BB\u03AF\u03C3\u03C4\u03B1 \u03C0\u03C1\u03BF\u03C4\u03B5\u03C1\u03B1\u03B9\u03BF\u03C4\u03AE\u03C4\u03C9\u03BD \u03C3\u03B1\u03C2 \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C0\u03B1\u03C1\u03B1\u03BA\u03AC\u03C4\u03C9. \u0391\u03BD \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5, \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03B1\u03BB\u03BB\u03AC\u03BE\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03C3\u03B5\u03B9\u03C1\u03AC \u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03CE\u03BD \u03C3\u03B1\u03C2 \u03BC\u03B5 \u03C4\u03B1 \u03B2\u03AD\u03BB\u03B7. \u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03C3\u03C4\u03BF \xAB\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF\xBB \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03B9\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03C3\u03B1\u03C2 \u03BA\u03B1\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", "action.send": "\u0391\u03C0\u03BF\u03C3\u03C4\u03BF\u03BB\u03AE", "action.back": "\u03A0\u03AF\u03C3\u03C9", "action.next": "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", "action.start": "\u03A0\u03AC\u03BC\u03B5!", "message.success": "\u03A3\u03B1\u03C2 \u03B5\u03C5\u03C7\u03B1\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03BC\u03B5 \u03B3\u03B9\u03B1 \u03C4\u03B1 \u03C3\u03C7\u03CC\u03BB\u03B9\u03AC \u03C3\u03B1\u03C2!", "message.blocked": "\u03A3\u03B1\u03C2 \u03B5\u03C5\u03C7\u03B1\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03BC\u03B5 \u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03C7\u03C1\u03CC\u03BD\u03BF \u03C3\u03B1\u03C2 \u2013 \u03B8\u03B1 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03C3\u03BF\u03C5\u03BC\u03B5 \u03C4\u03B7 \u03C3\u03C5\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7 \u03B5\u03B4\u03CE.", "message.required": "\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03C1\u03B9\u03BD \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", "message.rateLimit": "\u03A0\u03AC\u03C1\u03B1 \u03C0\u03BF\u03BB\u03BB\u03AC \u03B1\u03B9\u03C4\u03AE\u03BC\u03B1\u03C4\u03B1. \u039D\u03AD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03C0\u03AC\u03B8\u03B5\u03B9\u03B1 \u03C3\u03B5 {seconds} \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03B1...", "email.atHint": "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 @ \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B5\u03B9\u03C3\u03B1\u03B3\u03AC\u03B3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03C3\u03CD\u03BC\u03B2\u03BF\u03BB\u03BF \u03C3\u03C4\u03B7 \u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email \u03C3\u03B1\u03C2", "email.atButton": "\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE @" }, et: { "placeholder.answer": "Kirjuta oma vastus siia...", "placeholder.number": "Kirjuta number siia...", "placeholder.email": "Kirjuta oma e-posti aadress siia...", "placeholder.date": "Kirjuta kuup\xE4ev siia...", "placeholder.password": "Kirjuta oma parool siia...", "pointSystem.error": "Punktide summa peab olema 100 %", "boolean.yes": "Jah", "boolean.no": "Ei", "upload.cta": "Lohista fail siia v\xF5i kl\xF5psa \xFCleslaadimiseks", "upload.imagesOnly": "Ainult pildid", "upload.anyFileType": "Mis tahes failit\xFC\xFCp", "upload.maxFiles": "Kuni {n} faili", "upload.maxSize": "Kuni {mb} MB", "upload.tooLarge": "Fail on liiga suur (kuni {mb} MB)", "upload.remove": "Eemalda", "select.placeholder": "Vali variant", "rating.ariaLabel": "Hinnang", "maxDiff.best": "K\xF5ige olulisem", "maxDiff.worst": "K\xF5ige v\xE4hem oluline", "maxDiff.setProgress": "Plokk {k}/{n}", "priority.selectUpTo": "Vali kuni", "priority.options": "varianti", "priority.thenOrder": "ja seej\xE4rel j\xE4rjesta need", "priority.selectOptions": "Vali variandid", "priority.cancel": "T\xFChista", "priority.confirm": "Kinnita", "priority.selectOptionNumber": "Vali variant nr", "priority.prioritized": "J\xE4rjestatud", "priority.of": "/", "priority.instruction": "Sinu prioriteetide nimekiri on n\xE4ha allpool. Soovi korral saad valikute j\xE4rjekorda nooltega muuta. Kl\xF5psa \u201EEdasi\u201C, et oma valik kinnitada ja j\xE4tkata.", "action.send": "Saada", "action.back": "Tagasi", "action.next": "Edasi", "action.start": "Alusta!", "message.success": "T\xE4name tagasiside eest!", "message.blocked": "T\xE4name sind aja eest \u2013 l\xF5petame vestluse siinkohal.", "message.required": "Palun vasta enne j\xE4tkamist.", "message.rateLimit": "Liiga palju p\xE4ringuid. Uus katse {seconds} s p\xE4rast...", "email.atHint": "Puuduta @, et lisada s\xFCmbol oma e-posti aadressi", "email.atButton": "Lisa @" }, ga: { "placeholder.answer": "Scr\xEDobh d'fhreagra anseo...", "placeholder.number": "Scr\xEDobh an uimhir anseo...", "placeholder.email": "Scr\xEDobh do sheoladh r\xEDomhphoist anseo...", "placeholder.date": "Scr\xEDobh an d\xE1ta anseo...", "placeholder.password": "Scr\xEDobh do phasfhocal anseo...", "pointSystem.error": "Caithfidh na point\xED san ioml\xE1n a bheith cothrom le 100 %", "boolean.yes": "T\xE1", "boolean.no": "N\xEDl", "upload.cta": "Tarraing agus scaoil n\xF3 clice\xE1il chun uasl\xF3d\xE1il", "upload.imagesOnly": "\xCDomh\xE1nna amh\xE1in", "upload.anyFileType": "Aon chine\xE1l comhaid", "upload.maxFiles": "{n} comhad ar a mh\xE9ad", "upload.maxSize": "{mb} MB ar a mh\xE9ad", "upload.tooLarge": "T\xE1 an comhad r\xF3mh\xF3r ({mb} MB ar a mh\xE9ad)", "upload.remove": "Bain", "select.placeholder": "Roghnaigh rogha", "rating.ariaLabel": "R\xE1t\xE1il", "maxDiff.best": "Is t\xE1bhachta\xED", "maxDiff.worst": "Is l\xFA t\xE1bhacht", "maxDiff.setProgress": "Bloc {k} as {n}", "priority.selectUpTo": "Roghnaigh suas le", "priority.options": "rogha", "priority.thenOrder": "agus ansin cuir in ord iad", "priority.selectOptions": "Roghnaigh roghanna", "priority.cancel": "Cealaigh", "priority.confirm": "Deimhnigh", "priority.selectOptionNumber": "Roghnaigh rogha uimhir", "priority.prioritized": "In ord tosa\xEDochta", "priority.of": "as", "priority.instruction": "T\xE1 do liosta tosa\xEDochta le feice\xE1il th\xEDos. M\xE1s mian leat, is f\xE9idir leat do roghanna a athord\xFA leis na saigheada. Clice\xE1il ar 'Ar aghaidh' chun do rogha a dheimhni\xFA agus lean\xFAint ar aghaidh.", "action.send": "Seol", "action.back": "Siar", "action.next": "Ar aghaidh", "action.start": "Ar aghaidh linn!", "message.success": "Go raibh maith agat as d'aiseolas!", "message.blocked": "Go raibh maith agat as do chuid ama \u2013 cuirfimid deireadh leis an gcomhr\xE1 anseo.", "message.required": "Freagair sula leanann t\xFA ar aghaidh, le do thoil.", "message.rateLimit": "An iomarca iarratas. Triail eile i gceann {seconds} s...", "email.atHint": "Tap\xE1il @ chun an tsiombail a chur isteach i do sheoladh r\xEDomhphoist", "email.atButton": "Cuir isteach @" }, hr: { "placeholder.answer": "Ovdje upi\u0161ite svoj odgovor...", "placeholder.number": "Ovdje upi\u0161ite broj...", "placeholder.email": "Ovdje upi\u0161ite svoju e-adresu...", "placeholder.date": "Ovdje upi\u0161ite datum...", "placeholder.password": "Ovdje upi\u0161ite svoju lozinku...", "pointSystem.error": "Ukupan broj bodova mora biti 100 %", "boolean.yes": "Da", "boolean.no": "Ne", "upload.cta": "Povucite i ispustite ili kliknite za prijenos", "upload.imagesOnly": "Samo slike", "upload.anyFileType": "Bilo koja vrsta datoteke", "upload.maxFiles": "Najvi\u0161e datoteka: {n}", "upload.maxSize": "Najvi\u0161e {mb} MB", "upload.tooLarge": "Datoteka je prevelika (najvi\u0161e {mb} MB)", "upload.remove": "Ukloni", "select.placeholder": "Odaberite opciju", "rating.ariaLabel": "Ocjena", "maxDiff.best": "Najva\u017Enije", "maxDiff.worst": "Najmanje va\u017Eno", "maxDiff.setProgress": "Blok {k} od {n}", "priority.selectUpTo": "Odaberite najvi\u0161e", "priority.options": "opcija", "priority.thenOrder": "i zatim ih poredajte", "priority.selectOptions": "Odaberite opcije", "priority.cancel": "Odustani", "priority.confirm": "Potvrdi", "priority.selectOptionNumber": "Odaberite opciju br.", "priority.prioritized": "Prioritizirano", "priority.of": "od", "priority.instruction": "Va\u0161 popis prioriteta prikazan je u nastavku. Ako \u017Eelite, mo\u017Eete promijeniti redoslijed svojih odabira pomo\u0107u strelica. Kliknite \u201EDalje\u201D da biste potvrdili odabir i nastavili.", "action.send": "Po\u0161alji", "action.back": "Natrag", "action.next": "Dalje", "action.start": "Kreni!", "message.success": "Hvala vam na povratnim informacijama!", "message.blocked": "Hvala vam na vremenu \u2013 ovdje \u0107emo zavr\u0161iti razgovor.", "message.required": "Molimo odgovorite prije nastavka.", "message.rateLimit": "Previ\u0161e zahtjeva. Ponovni poku\u0161aj za {seconds} s...", "email.atHint": "Dodirnite @ da biste umetnuli znak u svoju e-adresu", "email.atButton": "Umetni @" }, hu: { "placeholder.answer": "\xCDrja ide a v\xE1lasz\xE1t...", "placeholder.number": "\xCDrja ide a sz\xE1mot...", "placeholder.email": "\xCDrja ide az e-mail-c\xEDm\xE9t...", "placeholder.date": "\xCDrja ide a d\xE1tumot...", "placeholder.password": "\xCDrja ide a jelszav\xE1t...", "pointSystem.error": "A pontok \xF6sszeg\xE9nek 100 %-nak kell lennie", "boolean.yes": "Igen", "boolean.no": "Nem", "upload.cta": "H\xFAzza ide a f\xE1jlt, vagy kattintson a felt\xF6lt\xE9shez", "upload.imagesOnly": "Csak k\xE9pek", "upload.anyFileType": "B\xE1rmilyen f\xE1jlt\xEDpus", "upload.maxFiles": "Legfeljebb {n} f\xE1jl", "upload.maxSize": "Legfeljebb {mb} MB", "upload.tooLarge": "A f\xE1jl t\xFAl nagy (legfeljebb {mb} MB)", "upload.remove": "Elt\xE1vol\xEDt\xE1s", "select.placeholder": "V\xE1lasszon egy lehet\u0151s\xE9get", "rating.ariaLabel": "\xC9rt\xE9kel\xE9s", "maxDiff.best": "Legfontosabb", "maxDiff.worst": "Legkev\xE9sb\xE9 fontos", "maxDiff.setProgress": "Blokk: {k}/{n}", "priority.selectUpTo": "V\xE1lasszon legfeljebb", "priority.options": "lehet\u0151s\xE9get", "priority.thenOrder": "\xE9s rendezze \u0151ket sorba", "priority.selectOptions": "Lehet\u0151s\xE9gek kiv\xE1laszt\xE1sa", "priority.cancel": "M\xE9gse", "priority.confirm": "Meger\u0151s\xEDt\xE9s", "priority.selectOptionNumber": "Lehet\u0151s\xE9g kiv\xE1laszt\xE1sa: #", "priority.prioritized": "Rangsorolva", "priority.of": "/", "priority.instruction": "A priorit\xE1si list\xE1ja al\xE1bb l\xE1that\xF3. Ha szeretn\xE9, a nyilakkal \xE1trendezheti a v\xE1laszt\xE1sait. Kattintson a \u201ETov\xE1bb\u201D gombra a v\xE1laszt\xE1s meger\u0151s\xEDt\xE9s\xE9hez \xE9s a folytat\xE1shoz.", "action.send": "K\xFCld\xE9s", "action.back": "Vissza", "action.next": "Tov\xE1bb", "action.start": "Indul\xE1s!", "message.success": "K\xF6sz\xF6nj\xFCk a visszajelz\xE9s\xE9t!", "message.blocked": "K\xF6sz\xF6nj\xFCk, hogy id\u0151t sz\xE1nt r\xE1nk \u2013 itt befejezz\xFCk a besz\xE9lget\xE9st.", "message.required": "K\xE9rj\xFCk, v\xE1laszoljon a tov\xE1bbl\xE9p\xE9s el\u0151tt.", "message.rateLimit": "T\xFAl sok k\xE9r\xE9s. \xDAjrapr\xF3b\xE1lkoz\xE1s {seconds} mp m\xFAlva...", "email.atHint": "Koppintson a @ gombra a jel besz\xFAr\xE1s\xE1hoz az e-mail-c\xEDm\xE9be", "email.atButton": "@ besz\xFAr\xE1sa" }, lt: { "placeholder.answer": "\u012Era\u0161ykite savo atsakym\u0105 \u010Dia...", "placeholder.number": "\u012Era\u0161ykite skai\u010Di\u0173 \u010Dia...", "placeholder.email": "\u012Era\u0161ykite savo el. pa\u0161to adres\u0105 \u010Dia...", "placeholder.date": "\u012Era\u0161ykite dat\u0105 \u010Dia...", "placeholder.password": "\u012Era\u0161ykite savo slapta\u017Eod\u012F \u010Dia...", "pointSystem.error": "Bendra ta\u0161k\u0173 suma turi b\u016Bti 100 %", "boolean.yes": "Taip", "boolean.no": "Ne", "upload.cta": "Nutempkite fail\u0105 arba spustel\u0117kite, kad \u012Fkeltum\u0117te", "upload.imagesOnly": "Tik paveiksl\u0117liai", "upload.anyFileType": "Bet koks failo tipas", "upload.maxFiles": "Daugiausia fail\u0173: {n}", "upload.maxSize": "Daugiausia {mb} MB", "upload.tooLarge": "Failas per didelis (daugiausia {mb} MB)", "upload.remove": "Pa\u0161alinti", "select.placeholder": "Pasirinkite parinkt\u012F", "rating.ariaLabel": "\u012Evertinimas", "maxDiff.best": "Svarbiausia", "maxDiff.worst": "Ma\u017Eiausiai svarbu", "maxDiff.setProgress": "Blokas {k} i\u0161 {n}", "priority.selectUpTo": "Pasirinkite iki", "priority.options": "parink\u010Di\u0173", "priority.thenOrder": "ir tada jas surikiuokite", "priority.selectOptions": "Pasirinkite parinktis", "priority.cancel": "At\u0161aukti", "priority.confirm": "Patvirtinti", "priority.selectOptionNumber": "Pasirinkite parinkt\u012F Nr.", "priority.prioritized": "Pagal prioritet\u0105", "priority.of": "i\u0161", "priority.instruction": "J\u016Bs\u0173 prioritet\u0173 s\u0105ra\u0161as pateiktas \u017Eemiau. Jei norite, pasirinkim\u0173 tvark\u0105 galite pakeisti rodykl\u0117mis. Spustel\u0117kite \u201EToliau\u201C, kad patvirtintum\u0117te pasirinkim\u0105 ir t\u0119stum\u0117te.", "action.send": "Si\u0173sti", "action.back": "Atgal", "action.next": "Toliau", "action.start": "Pirmyn!", "message.success": "D\u0117kojame u\u017E atsiliepim\u0105!", "message.blocked": "D\u0117kojame u\u017E j\u016Bs\u0173 laik\u0105 \u2013 \u010Dia pokalb\u012F baigsime.", "message.required": "Prie\u0161 t\u0119sdami atsakykite.", "message.rateLimit": "Per daug u\u017Eklaus\u0173. Bandoma i\u0161 naujo po {seconds} s...", "email.atHint": "Bakstel\u0117kite @, kad \u012Fterptum\u0117te simbol\u012F \u012F savo el. pa\u0161to adres\u0105", "email.atButton": "\u012Eterpti @" }, lv: { "placeholder.answer": "Ierakstiet savu atbildi \u0161eit...", "placeholder.number": "Ierakstiet skaitli \u0161eit...", "placeholder.email": "Ierakstiet savu e-pasta adresi \u0161eit...", "placeholder.date": "Ierakstiet datumu \u0161eit...", "placeholder.password": "Ierakstiet savu paroli \u0161eit...", "pointSystem.error": "Kop\u0113jam punktu skaitam j\u0101b\u016Bt 100 %", "boolean.yes": "J\u0101", "boolean.no": "N\u0113", "upload.cta": "Velciet un nometiet vai noklik\u0161\u0137iniet, lai aug\u0161upiel\u0101d\u0113tu", "upload.imagesOnly": "Tikai att\u0113li", "upload.anyFileType": "Jebkur\u0161 faila veids", "upload.maxFiles": "Maks. failu skaits: {n}", "upload.maxSize": "Maks. {mb} MB", "upload.tooLarge": "Fails ir p\u0101r\u0101k liels (maks. {mb} MB)", "upload.remove": "No\u0146emt", "select.placeholder": "Izv\u0113lieties opciju", "rating.ariaLabel": "V\u0113rt\u0113jums", "maxDiff.best": "Vissvar\u012Bg\u0101kais", "maxDiff.worst": "Vismaz\u0101k svar\u012Bgais", "maxDiff.setProgress": "Bloks {k} no {n}", "priority.selectUpTo": "Izv\u0113lieties l\u012Bdz", "priority.options": "opcij\u0101m", "priority.thenOrder": "un p\u0113c tam sak\u0101rtojiet t\u0101s", "priority.selectOptions": "Izv\u0113lieties opcijas", "priority.cancel": "Atcelt", "priority.confirm": "Apstiprin\u0101t", "priority.selectOptionNumber": "Izv\u0113lieties opciju Nr.", "priority.prioritized": "Sak\u0101rtotas p\u0113c priorit\u0101tes", "priority.of": "no", "priority.instruction": "J\u016Bsu priorit\u0101\u0161u saraksts ir redzams zem\u0101k. Ja v\u0113laties, varat main\u012Bt izv\u0113\u013Cu sec\u012Bbu, izmantojot bulti\u0146as. Noklik\u0161\u0137iniet uz 'T\u0101l\u0101k', lai apstiprin\u0101tu izv\u0113li un turpin\u0101tu.", "action.send": "Nos\u016Bt\u012Bt", "action.back": "Atpaka\u013C", "action.next": "T\u0101l\u0101k", "action.start": "Aiziet!", "message.success": "Paldies par J\u016Bsu atsauksmi!", "message.blocked": "Paldies par velt\u012Bto laiku \u2013 \u0161eit sarunu beigsim.", "message.required": "L\u016Bdzu, atbildiet, pirms turpin\u0101t.", "message.rateLimit": "P\u0101r\u0101k daudz piepras\u012Bjumu. Atk\u0101rtots m\u0113\u0123in\u0101jums p\u0113c {seconds} s...", "email.atHint": "Pieskarieties @, lai e-pasta adres\u0113 ievietotu \u0161o simbolu", "email.atButton": "Ievietot @" }, mt: { "placeholder.answer": "Ikteb it-twe\u0121iba tieg\u0127ek hawn...", "placeholder.number": "Ikteb in-numru tieg\u0127ek hawn...", "placeholder.email": "Ikteb l-email tieg\u0127ek hawn...", "placeholder.date": "Ikteb id-data hawn...", "placeholder.password": "Ikteb il-password tieg\u0127ek hawn...", "pointSystem.error": "It-total tal-punti g\u0127andu jkun 100 %", "boolean.yes": "Iva", "boolean.no": "Le", "upload.cta": "Ikkaxkar u po\u0121\u0121i jew ikklikkja biex ittella'", "upload.imagesOnly": "Stampi biss", "upload.anyFileType": "Kull tip ta' fajl", "upload.maxFiles": "Massimu ta' {n} fajls", "upload.maxSize": "Massimu ta' {mb} MB", "upload.tooLarge": "Il-fajl huwa kbir wisq (massimu {mb} MB)", "upload.remove": "Ne\u0127\u0127i", "select.placeholder": "Ag\u0127\u017Cel g\u0127a\u017Cla", "rating.ariaLabel": "Valutazzjoni", "maxDiff.best": "L-aktar importanti", "maxDiff.worst": "L-inqas importanti", "maxDiff.setProgress": "Blokk {k} minn {n}", "priority.selectUpTo": "Ag\u0127\u017Cel sa", "priority.options": "g\u0127a\u017Cliet", "priority.thenOrder": "u mbag\u0127ad po\u0121\u0121ihom f'ordni", "priority.selectOptions": "Ag\u0127\u017Cel g\u0127a\u017Cliet", "priority.cancel": "Ikkan\u010Bella", "priority.confirm": "Ikkonferma", "priority.selectOptionNumber": "Ag\u0127\u017Cel l-g\u0127a\u017Cla nru", "priority.prioritized": "Prijoritizzati", "priority.of": "minn", "priority.instruction": "Il-lista ta' prijoritajiet tieg\u0127ek tidher hawn ta\u0127t. Jekk trid, tista' tirran\u0121a mill-\u0121did l-g\u0127a\u017Cliet tieg\u0127ek billi tu\u017Ca l-vle\u0121e\u0121. Ikklikkja 'Li jmiss' biex tikkonferma l-g\u0127a\u017Cla tieg\u0127ek u tkompli.", "action.send": "Ibg\u0127at", "action.back": "Lura", "action.next": "Li jmiss", "action.start": "Ejja!", "message.success": "Grazzi tal-feedback tieg\u0127ek!", "message.blocked": "Grazzi tal-\u0127in tieg\u0127ek \u2013 se nwaqqfu l-konversazzjoni hawn.", "message.required": "Jekk jog\u0127\u0121bok wie\u0121eb qabel ma tkompli.", "message.rateLimit": "Wisq talbiet. Ner\u0121g\u0127u nippruvaw f'{seconds}s...", "email.atHint": "Ag\u0127fas @ biex idda\u0127\u0127al is-simbolu fl-indirizz tal-email tieg\u0127ek", "email.atButton": "Da\u0127\u0127al @" }, ro: { "placeholder.answer": "Scrie\u021Bi r\u0103spunsul aici...", "placeholder.number": "Scrie\u021Bi num\u0103rul aici...", "placeholder.email": "Scrie\u021Bi adresa de e-mail aici...", "placeholder.date": "Scrie\u021Bi data aici...", "placeholder.password": "Scrie\u021Bi parola aici...", "pointSystem.error": "Totalul punctelor trebuie s\u0103 fie 100 %", "boolean.yes": "Da", "boolean.no": "Nu", "upload.cta": "Trage\u021Bi \u0219i plasa\u021Bi sau face\u021Bi clic pentru a \xEEnc\u0103rca", "upload.imagesOnly": "Doar imagini", "upload.anyFileType": "Orice tip de fi\u0219ier", "upload.maxFiles": "Maximum {n} fi\u0219iere", "upload.maxSize": "Maximum {mb} MB", "upload.tooLarge": "Fi\u0219ierul este prea mare (maximum {mb} MB)", "upload.remove": "Elimina\u021Bi", "select.placeholder": "Selecta\u021Bi o op\u021Biune", "rating.ariaLabel": "Evaluare", "maxDiff.best": "Cel mai important", "maxDiff.worst": "Cel mai pu\u021Bin important", "maxDiff.setProgress": "Blocul {k} din {n}", "priority.selectUpTo": "Selecta\u021Bi p\xE2n\u0103 la", "priority.options": "op\u021Biuni", "priority.thenOrder": "\u0219i apoi ordona\u021Bi-le", "priority.selectOptions": "Selecta\u021Bi op\u021Biuni", "priority.cancel": "Anula\u021Bi", "priority.confirm": "Confirma\u021Bi", "priority.selectOptionNumber": "Selecta\u021Bi op\u021Biunea nr.", "priority.prioritized": "Prioritizate", "priority.of": "din", "priority.instruction": "Lista dvs. de priorit\u0103\u021Bi este afi\u0219at\u0103 mai jos. Dac\u0103 dori\u021Bi, pute\u021Bi reordona op\u021Biunile folosind s\u0103ge\u021Bile. Face\u021Bi clic pe \u201E\xCEnainte\u201D pentru a confirma selec\u021Bia \u0219i a continua.", "action.send": "Trimite\u021Bi", "action.back": "\xCEnapoi", "action.next": "\xCEnainte", "action.start": "S\u0103 \xEEncepem!", "message.success": "V\u0103 mul\u021Bumim pentru feedback!", "message.blocked": "V\u0103 mul\u021Bumim pentru timpul acordat \u2013 vom \xEEncheia conversa\u021Bia aici.", "message.required": "V\u0103 rug\u0103m s\u0103 r\u0103spunde\u021Bi \xEEnainte de a continua.", "message.rateLimit": "Prea multe solicit\u0103ri. Re\xEEncerc\u0103m \xEEn {seconds} s...", "email.atHint": "Atinge\u021Bi @ pentru a insera simbolul \xEEn adresa de e-mail", "email.atButton": "Insera\u021Bi @" }, sk: { "placeholder.answer": "Sem nap\xED\u0161te svoju odpove\u010F...", "placeholder.number": "Sem nap\xED\u0161te \u010D\xEDslo...", "placeholder.email": "Sem nap\xED\u0161te svoj e-mail...", "placeholder.date": "Sem nap\xED\u0161te d\xE1tum...", "placeholder.password": "Sem nap\xED\u0161te heslo...", "pointSystem.error": "S\xFA\u010Det bodov mus\xED by\u0165 100 %", "boolean.yes": "\xC1no", "boolean.no": "Nie", "upload.cta": "Presu\u0148te s\xFAbor sem alebo kliknite a nahrajte ho", "upload.imagesOnly": "Iba obr\xE1zky", "upload.anyFileType": "Ak\xFDko\u013Evek typ s\xFAboru", "upload.maxFiles": "Max. po\u010Det s\xFAborov: {n}", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "S\xFAbor je pr\xEDli\u0161 ve\u013Ek\xFD (max. {mb} MB)", "upload.remove": "Odstr\xE1ni\u0165", "select.placeholder": "Vyberte mo\u017Enos\u0165", "rating.ariaLabel": "Hodnotenie", "maxDiff.best": "Najd\xF4le\u017Eitej\u0161ie", "maxDiff.worst": "Najmenej d\xF4le\u017Eit\xE9", "maxDiff.setProgress": "Blok {k} z {n}", "priority.selectUpTo": "Vyberte najviac", "priority.options": "mo\u017Enosti", "priority.thenOrder": "a potom ich zora\u010Fte", "priority.selectOptions": "Vyberte mo\u017Enosti", "priority.cancel": "Zru\u0161i\u0165", "priority.confirm": "Potvrdi\u0165", "priority.selectOptionNumber": "Vyberte mo\u017Enos\u0165 \u010D.", "priority.prioritized": "Zoraden\xE9 pod\u013Ea priority", "priority.of": "z", "priority.instruction": "V\xE1\u0161 zoznam prior\xEDt vid\xEDte ni\u017E\u0161ie. Ak chcete, m\xF4\u017Eete svoje vo\u013Eby preusporiada\u0165 pomocou \u0161\xEDpok. Kliknut\xEDm na \u201E\u010Ealej\u201C potvrd\xEDte v\xFDber a budete pokra\u010Dova\u0165.", "action.send": "Odosla\u0165", "action.back": "Sp\xE4\u0165", "action.next": "\u010Ealej", "action.start": "Po\u010Fme na to!", "message.success": "\u010Eakujeme za va\u0161u sp\xE4tn\xFA v\xE4zbu!", "message.blocked": "\u010Eakujeme za v\xE1\u0161 \u010Das \u2013 tu konverz\xE1ciu ukon\u010D\xEDme.", "message.required": "Pred pokra\u010Dovan\xEDm, pros\xEDm, odpovedzte.", "message.rateLimit": "Pr\xEDli\u0161 ve\u013Ea po\u017Eiadaviek. Opakujeme o {seconds} s...", "email.atHint": "\u0164uknut\xEDm na @ vlo\u017E\xEDte symbol do e-mailovej adresy", "email.atButton": "Vlo\u017Ei\u0165 @" }, sl: { "placeholder.answer": "Tukaj vpi\u0161ite svoj odgovor...", "placeholder.number": "Tukaj vpi\u0161ite \u0161tevilo...", "placeholder.email": "Tukaj vpi\u0161ite svoj e-po\u0161tni naslov...", "placeholder.date": "Tukaj vpi\u0161ite datum...", "placeholder.password": "Tukaj vpi\u0161ite geslo...", "pointSystem.error": "Skupno \u0161tevilo to\u010Dk mora biti 100 %", "boolean.yes": "Da", "boolean.no": "Ne", "upload.cta": "Povlecite in spustite ali kliknite za nalaganje", "upload.imagesOnly": "Samo slike", "upload.anyFileType": "Katera koli vrsta datoteke", "upload.maxFiles": "Najve\u010D datotek: {n}", "upload.maxSize": "Najve\u010D {mb} MB", "upload.tooLarge": "Datoteka je prevelika (najve\u010D {mb} MB)", "upload.remove": "Odstrani", "select.placeholder": "Izberite mo\u017Enost", "rating.ariaLabel": "Ocena", "maxDiff.best": "Najpomembnej\u0161e", "maxDiff.worst": "Najmanj pomembno", "maxDiff.setProgress": "Sklop {k} od {n}", "priority.selectUpTo": "Izberite do", "priority.options": "mo\u017Enosti", "priority.thenOrder": "in jih nato razvrstite", "priority.selectOptions": "Izberite mo\u017Enosti", "priority.cancel": "Prekli\u010Di", "priority.confirm": "Potrdi", "priority.selectOptionNumber": "Izberite mo\u017Enost \u0161t.", "priority.prioritized": "Razvr\u0161\u010Deno po prednosti", "priority.of": "od", "priority.instruction": "Va\u0161 seznam prednosti je prikazan spodaj. \u010Ce \u017Eelite, lahko izbire prerazporedite s pu\u0161\u010Dicami. Kliknite \xBBNaprej\xAB, da potrdite izbor in nadaljujete.", "action.send": "Po\u0161lji", "action.back": "Nazaj", "action.next": "Naprej", "action.start": "Za\u010Dnimo!", "message.success": "Hvala za va\u0161e povratne informacije!", "message.blocked": "Hvala za va\u0161 \u010Das \u2013 pogovor bomo tukaj zaklju\u010Dili.", "message.required": "Pred nadaljevanjem odgovorite na vpra\u0161anje.", "message.rateLimit": "Preve\u010D zahtev. Ponoven poskus \u010Dez {seconds} s...", "email.atHint": "Tapnite @, da vstavite simbol v e-po\u0161tni naslov", "email.atButton": "Vstavi @" }, ca: { "placeholder.answer": "Escriu la teva resposta aqu\xED...", "placeholder.number": "Escriu el teu n\xFAmero aqu\xED...", "placeholder.email": "Escriu el teu correu electr\xF2nic aqu\xED...", "placeholder.date": "Escriu la data aqu\xED...", "placeholder.password": "Escriu la teva contrasenya aqu\xED...", "pointSystem.error": "El total de punts ha de ser 100 %", "boolean.yes": "S\xED", "boolean.no": "No", "upload.cta": "Arrossega i deixa anar o fes clic per pujar", "upload.imagesOnly": "Nom\xE9s imatges", "upload.anyFileType": "Qualsevol tipus de fitxer", "upload.maxFiles": "M\xE0x. {n} fitxers", "upload.maxSize": "M\xE0x. {mb} MB", "upload.tooLarge": "El fitxer \xE9s massa gran (m\xE0x. {mb} MB)", "upload.remove": "Elimina", "select.placeholder": "Selecciona una opci\xF3", "rating.ariaLabel": "Valoraci\xF3", "maxDiff.best": "M\xE9s important", "maxDiff.worst": "Menys important", "maxDiff.setProgress": "Bloc {k} de {n}", "priority.selectUpTo": "Selecciona fins a", "priority.options": "opcions", "priority.thenOrder": "i despr\xE9s ordena-les", "priority.selectOptions": "Selecciona opcions", "priority.cancel": "Cancel\xB7la", "priority.confirm": "Confirma", "priority.selectOptionNumber": "Selecciona l'opci\xF3 #", "priority.prioritized": "Prioritzades", "priority.of": "de", "priority.instruction": 'A sota tens la teva llista de prioritats. Si vols, pots reordenar les opcions amb les fletxes. Fes clic a "Seg\xFCent" per confirmar i continuar.', "action.send": "Envia", "action.back": "Enrere", "action.next": "Seg\xFCent", "action.start": "Som-hi!", "message.success": "Gr\xE0cies pels teus comentaris!", "message.blocked": "Gr\xE0cies pel teu temps, acabem aqu\xED la conversa.", "message.required": "Si us plau, respon abans de continuar.", "message.rateLimit": "Massa sol\xB7licituds. Es tornar\xE0 a provar d'aqu\xED a {seconds} s...", "email.atHint": "Toca @ per inserir el s\xEDmbol a la teva adre\xE7a de correu", "email.atButton": "Insereix @" } };
|
|
2612
|
-
t2.
|
|
2694
|
+
t2.t = t2.isRtlLanguage = t2.DB = t2.Fc = void 0;
|
|
2695
|
+
const i2 = { "placeholder.answer": "Write your answer here...", "placeholder.number": "Write your number here...", "placeholder.email": "Write your email here...", "placeholder.date": "Write your date here...", "placeholder.password": "Write your password here...", "pointSystem.error": "The total points must be 100 %", "boolean.yes": "Yes", "boolean.no": "No", "upload.cta": "Drag & drop or click to upload", "upload.imagesOnly": "Images only", "upload.anyFileType": "Any file type", "upload.maxFiles": "Max {n} files", "upload.maxSize": "Max {mb} MB", "upload.tooLarge": "File is too large (max {mb} MB)", "upload.remove": "Remove", "select.placeholder": "Select an option", "rating.ariaLabel": "Rating", "maxDiff.best": "Most important", "maxDiff.worst": "Least important", "maxDiff.setProgress": "Block {k} of {n}", "priority.selectUpTo": "Select up to", "priority.options": "options", "priority.thenOrder": "and then order them", "priority.selectOptions": "Select options", "priority.cancel": "Cancel", "priority.confirm": "Confirm", "priority.selectOptionNumber": "Select option #", "priority.prioritized": "Prioritized", "priority.of": "of", "priority.instruction": "Your priority list can be seen below. If you wish, you can rearrange your choices using the arrows. Click 'Next' to confirm your selection and proceed.", "action.send": "Send", "action.back": "Back", "action.next": "Next", "action.start": "Go!", "message.success": "Thank you for your feedback!", "message.blocked": "Thanks for your time - we'll end the conversation here.", "message.required": "Please answer before continuing.", "message.invalidEmail": "Please enter a valid email address.", "message.rateLimit": "Too many requests. Retrying in {seconds}s...", "email.atHint": "Tap @ to insert the symbol in your email address", "email.atButton": "Insert @" }, a = { en: i2, es: { "placeholder.answer": "Escribe tu respuesta aqu\xED...", "placeholder.number": "Escribe tu n\xFAmero aqu\xED...", "placeholder.email": "Escribe tu correo electr\xF3nico aqu\xED...", "placeholder.date": "Escribe tu fecha aqu\xED...", "placeholder.password": "Escribe tu contrase\xF1a aqu\xED...", "pointSystem.error": "El total de puntos debe ser 100 %", "boolean.yes": "S\xED", "boolean.no": "No", "upload.cta": "Arrastra y suelta o haz clic para subir", "upload.imagesOnly": "Solo im\xE1genes", "upload.anyFileType": "Cualquier tipo de archivo", "upload.maxFiles": "M\xE1x. {n} archivos", "upload.maxSize": "M\xE1x. {mb} MB", "upload.tooLarge": "Archivo demasiado grande (m\xE1x. {mb} MB)", "upload.remove": "Eliminar", "select.placeholder": "Selecciona una opci\xF3n", "rating.ariaLabel": "Valoraci\xF3n", "maxDiff.best": "M\xE1s importante", "maxDiff.worst": "Menos importante", "maxDiff.setProgress": "Bloque {k} de {n}", "priority.selectUpTo": "Selecciona hasta", "priority.options": "opciones", "priority.thenOrder": "y luego ord\xE9nalas", "priority.selectOptions": "Seleccionar opciones", "priority.cancel": "Cancelar", "priority.confirm": "Confirmar", "priority.selectOptionNumber": "Selecciona la opci\xF3n #", "priority.prioritized": "Priorizadas", "priority.of": "de", "priority.instruction": 'Tu lista priorizada se muestra abajo. Si deseas, puedes reordenar las opciones con las flechas. Haz clic en "Siguiente" para confirmar y continuar.', "action.send": "Enviar", "action.back": "Atr\xE1s", "action.next": "Siguiente", "action.start": "\xA1Empezar!", "message.success": "\xA1Gracias por tus comentarios!", "message.blocked": "Gracias por tu tiempo, terminamos aqu\xED la conversaci\xF3n.", "message.required": "Por favor, responde antes de continuar.", "message.invalidEmail": "Introduce un email v\xE1lido.", "message.rateLimit": "Demasiadas solicitudes. Reintentando en {seconds} s...", "email.atHint": "Pulsa @ para insertar el s\xEDmbolo en tu correo electr\xF3nico", "email.atButton": "Insertar @" }, de: { "placeholder.answer": "Schreiben Sie hier Ihre Antwort...", "placeholder.number": "Geben Sie hier Ihre Zahl ein...", "placeholder.email": "Geben Sie hier Ihre E-Mail-Adresse ein...", "placeholder.date": "Geben Sie hier Ihr Datum ein...", "placeholder.password": "Geben Sie hier Ihr Passwort ein...", "pointSystem.error": "Die Gesamtpunktzahl muss 100 % betragen", "boolean.yes": "Ja", "boolean.no": "Nein", "upload.cta": "Ziehen Sie Dateien hierher oder klicken Sie zum Hochladen", "upload.imagesOnly": "Nur Bilder", "upload.anyFileType": "Beliebiger Dateityp", "upload.maxFiles": "Max. {n} Dateien", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "Datei ist zu gro\xDF (max. {mb} MB)", "upload.remove": "Entfernen", "select.placeholder": "Option ausw\xE4hlen", "rating.ariaLabel": "Bewertung", "maxDiff.best": "Am wichtigsten", "maxDiff.worst": "Am wenigsten wichtig", "maxDiff.setProgress": "Block {k} von {n}", "priority.selectUpTo": "W\xE4hlen Sie bis zu", "priority.options": "Optionen", "priority.thenOrder": "und ordnen Sie sie dann", "priority.selectOptions": "Optionen ausw\xE4hlen", "priority.cancel": "Abbrechen", "priority.confirm": "Best\xE4tigen", "priority.selectOptionNumber": "W\xE4hlen Sie Option #", "priority.prioritized": "Priorisiert", "priority.of": "von", "priority.instruction": 'Ihre Priorit\xE4tenliste wird unten angezeigt. Wenn Sie m\xF6chten, k\xF6nnen Sie Ihre Auswahl mit den Pfeilen neu anordnen. Klicken Sie auf "Weiter", um Ihre Auswahl zu best\xE4tigen und fortzufahren.', "action.send": "Senden", "action.back": "Zur\xFCck", "action.next": "Weiter", "action.start": "Los!", "message.success": "Vielen Dank f\xFCr Ihr Feedback!", "message.blocked": "Danke f\xFCr Ihre Zeit - wir beenden das Gespr\xE4ch hier.", "message.required": "Bitte antworten Sie, bevor Sie fortfahren.", "message.invalidEmail": "Bitte geben Sie eine g\xFCltige E-Mail-Adresse ein.", "message.rateLimit": "Zu viele Anfragen. Erneuter Versuch in {seconds} s...", "email.atHint": "Tippen Sie auf @, um das Zeichen in Ihre E-Mail-Adresse einzuf\xFCgen", "email.atButton": "@ einf\xFCgen" }, fr: { "placeholder.answer": "\xC9crivez votre r\xE9ponse ici...", "placeholder.number": "\xC9crivez votre nombre ici...", "placeholder.email": "\xC9crivez votre e-mail ici...", "placeholder.date": "\xC9crivez votre date ici...", "placeholder.password": "\xC9crivez votre mot de passe ici...", "pointSystem.error": "Le total des points doit \xEAtre de 100 %", "boolean.yes": "Oui", "boolean.no": "Non", "upload.cta": "Glissez-d\xE9posez ou cliquez pour t\xE9l\xE9verser", "upload.imagesOnly": "Images uniquement", "upload.anyFileType": "Tout type de fichier", "upload.maxFiles": "Max. {n} fichiers", "upload.maxSize": "Max. {mb} Mo", "upload.tooLarge": "Fichier trop volumineux (max. {mb} Mo)", "upload.remove": "Supprimer", "select.placeholder": "S\xE9lectionnez une option", "rating.ariaLabel": "\xC9valuation", "maxDiff.best": "Le plus important", "maxDiff.worst": "Le moins important", "maxDiff.setProgress": "Bloc {k} sur {n}", "priority.selectUpTo": "S\xE9lectionnez jusqu'\xE0", "priority.options": "options", "priority.thenOrder": "puis classez-les", "priority.selectOptions": "S\xE9lectionner des options", "priority.cancel": "Annuler", "priority.confirm": "Confirmer", "priority.selectOptionNumber": "S\xE9lectionnez l'option #", "priority.prioritized": "Prioris\xE9es", "priority.of": "sur", "priority.instruction": `Votre liste de priorit\xE9s est affich\xE9e ci-dessous. Si vous le souhaitez, vous pouvez r\xE9organiser vos choix \xE0 l'aide des fl\xE8ches. Cliquez sur "Suivant" pour confirmer votre s\xE9lection et continuer.`, "action.send": "Envoyer", "action.back": "Retour", "action.next": "Suivant", "action.start": "C'est parti !", "message.success": "Merci pour votre retour !", "message.blocked": "Merci pour votre temps, nous terminons la conversation ici.", "message.required": "Veuillez r\xE9pondre avant de continuer.", "message.invalidEmail": "Veuillez saisir une adresse e-mail valide.", "message.rateLimit": "Trop de requ\xEAtes. Nouvelle tentative dans {seconds} s...", "email.atHint": "Appuyez sur @ pour ins\xE9rer le symbole dans votre adresse e-mail", "email.atButton": "Ins\xE9rer @" }, pt: { "placeholder.answer": "Escreva sua resposta aqui...", "placeholder.number": "Escreva seu n\xFAmero aqui...", "placeholder.email": "Escreva seu e-mail aqui...", "placeholder.date": "Escreva sua data aqui...", "placeholder.password": "Escreva sua senha aqui...", "pointSystem.error": "O total de pontos deve ser 100 %", "boolean.yes": "Sim", "boolean.no": "N\xE3o", "upload.cta": "Arraste e solte ou clique para enviar", "upload.imagesOnly": "Somente imagens", "upload.anyFileType": "Qualquer tipo de arquivo", "upload.maxFiles": "M\xE1x. {n} arquivos", "upload.maxSize": "M\xE1x. {mb} MB", "upload.tooLarge": "Arquivo muito grande (m\xE1x. {mb} MB)", "upload.remove": "Remover", "select.placeholder": "Selecione uma op\xE7\xE3o", "rating.ariaLabel": "Avalia\xE7\xE3o", "maxDiff.best": "Mais importante", "maxDiff.worst": "Menos importante", "maxDiff.setProgress": "Bloco {k} de {n}", "priority.selectUpTo": "Selecione at\xE9", "priority.options": "op\xE7\xF5es", "priority.thenOrder": "e depois ordene-as", "priority.selectOptions": "Selecionar op\xE7\xF5es", "priority.cancel": "Cancelar", "priority.confirm": "Confirmar", "priority.selectOptionNumber": "Selecione a op\xE7\xE3o #", "priority.prioritized": "Priorizadas", "priority.of": "de", "priority.instruction": 'Sua lista de prioridades pode ser vista abaixo. Se quiser, voc\xEA pode reorganizar suas escolhas usando as setas. Clique em "Pr\xF3ximo" para confirmar sua sele\xE7\xE3o e continuar.', "action.send": "Enviar", "action.back": "Voltar", "action.next": "Pr\xF3ximo", "action.start": "Come\xE7ar!", "message.success": "Obrigado pelo seu feedback!", "message.blocked": "Obrigado pelo seu tempo, encerramos a conversa por aqui.", "message.required": "Responda antes de continuar.", "message.invalidEmail": "Introduza um endere\xE7o de e-mail v\xE1lido.", "message.rateLimit": "Muitas solicita\xE7\xF5es. Tentando novamente em {seconds} s...", "email.atHint": "Toque em @ para inserir o s\xEDmbolo no seu endere\xE7o de e-mail", "email.atButton": "Inserir @" }, da: { "placeholder.answer": "Skriv dit svar her...", "placeholder.number": "Skriv dit nummer her...", "placeholder.email": "Skriv din e-mail her...", "placeholder.date": "Skriv din dato her...", "placeholder.password": "Skriv dit kodeord her...", "pointSystem.error": "Samlet antal point skal v\xE6re 100 %", "boolean.yes": "Ja", "boolean.no": "Nej", "upload.cta": "Tr\xE6k og slip eller klik for at uploade", "upload.imagesOnly": "Kun billeder", "upload.anyFileType": "Enhver filtype", "upload.maxFiles": "Maks. {n} filer", "upload.maxSize": "Maks. {mb} MB", "upload.tooLarge": "Filen er for stor (maks. {mb} MB)", "upload.remove": "Fjern", "select.placeholder": "V\xE6lg en mulighed", "rating.ariaLabel": "Bed\xF8mmelse", "maxDiff.best": "Vigtigst", "maxDiff.worst": "Mindst vigtigt", "maxDiff.setProgress": "Blok {k} af {n}", "priority.selectUpTo": "V\xE6lg op til", "priority.options": "muligheder", "priority.thenOrder": "og sorter dem derefter", "priority.selectOptions": "V\xE6lg muligheder", "priority.cancel": "Annuller", "priority.confirm": "Bekr\xE6ft", "priority.selectOptionNumber": "V\xE6lg mulighed #", "priority.prioritized": "Prioriteret", "priority.of": "af", "priority.instruction": 'Din prioritetsliste vises nedenfor. Hvis du \xF8nsker det, kan du omarrangere dine valg ved hj\xE6lp af pilene. Klik p\xE5 "N\xE6ste" for at bekr\xE6fte dit valg og forts\xE6tte.', "action.send": "Send", "action.back": "Tilbage", "action.next": "N\xE6ste", "action.start": "Start!", "message.success": "Tak for din feedback!", "message.blocked": "Tak for din tid - vi afslutter samtalen her.", "message.required": "Svar venligst, f\xF8r du forts\xE6tter.", "message.invalidEmail": "Indtast venligst en gyldig e-mailadresse.", "message.rateLimit": "For mange foresp\xF8rgsler. Pr\xF8ver igen om {seconds} s...", "email.atHint": "Tryk p\xE5 @ for at inds\xE6tte symbolet i din e-mailadresse", "email.atButton": "Inds\xE6t @" }, fi: { "placeholder.answer": "Kirjoita vastauksesi t\xE4h\xE4n...", "placeholder.number": "Kirjoita numerosi t\xE4h\xE4n...", "placeholder.email": "Kirjoita s\xE4hk\xF6postiosoitteesi t\xE4h\xE4n...", "placeholder.date": "Kirjoita p\xE4iv\xE4m\xE4\xE4r\xE4si t\xE4h\xE4n...", "placeholder.password": "Kirjoita salasanasi t\xE4h\xE4n...", "pointSystem.error": "Kokonaispisteiden on oltava 100 %", "boolean.yes": "Kyll\xE4", "boolean.no": "Ei", "upload.cta": "Ved\xE4 ja pudota tai napsauta ladataksesi", "upload.imagesOnly": "Vain kuvat", "upload.anyFileType": "Mik\xE4 tahansa tiedostotyyppi", "upload.maxFiles": "Enint\xE4\xE4n {n} tiedostoa", "upload.maxSize": "Enint\xE4\xE4n {mb} MB", "upload.tooLarge": "Tiedosto on liian suuri (enint\xE4\xE4n {mb} MB)", "upload.remove": "Poista", "select.placeholder": "Valitse vaihtoehto", "rating.ariaLabel": "Arvio", "maxDiff.best": "T\xE4rkein", "maxDiff.worst": "V\xE4hiten t\xE4rke\xE4", "maxDiff.setProgress": "Osa {k}/{n}", "priority.selectUpTo": "Valitse enint\xE4\xE4n", "priority.options": "vaihtoehtoa", "priority.thenOrder": "ja j\xE4rjest\xE4 ne sitten", "priority.selectOptions": "Valitse vaihtoehdot", "priority.cancel": "Peruuta", "priority.confirm": "Vahvista", "priority.selectOptionNumber": "Valitse vaihtoehto #", "priority.prioritized": "Priorisoitu", "priority.of": " / ", "priority.instruction": 'Prioriteettilistasi n\xE4kyy alla. Voit halutessasi j\xE4rjest\xE4\xE4 valinnat uudelleen nuolien avulla. Napsauta "Seuraava" vahvistaaksesi valinnan ja jatkaaksesi.', "action.send": "L\xE4het\xE4", "action.back": "Takaisin", "action.next": "Seuraava", "action.start": "Aloita!", "message.success": "Kiitos palautteestasi!", "message.blocked": "Kiitos ajastasi - lopetamme keskustelun t\xE4h\xE4n.", "message.required": "Vastaa ennen jatkamista.", "message.invalidEmail": "Anna kelvollinen s\xE4hk\xF6postiosoite.", "message.rateLimit": "Liikaa pyynt\xF6j\xE4. Yritet\xE4\xE4n uudelleen {seconds} s kuluttua...", "email.atHint": "Napauta @ lis\xE4t\xE4ksesi merkin s\xE4hk\xF6postiosoitteeseesi", "email.atButton": "Lis\xE4\xE4 @" }, no: { "placeholder.answer": "Skriv svaret ditt her...", "placeholder.number": "Skriv nummeret ditt her...", "placeholder.email": "Skriv e-posten din her...", "placeholder.date": "Skriv datoen din her...", "placeholder.password": "Skriv passordet ditt her...", "pointSystem.error": "Totalt antall poeng m\xE5 v\xE6re 100 %", "boolean.yes": "Ja", "boolean.no": "Nei", "upload.cta": "Dra og slipp eller klikk for \xE5 laste opp", "upload.imagesOnly": "Kun bilder", "upload.anyFileType": "Alle filtyper", "upload.maxFiles": "Maks {n} filer", "upload.maxSize": "Maks {mb} MB", "upload.tooLarge": "Filen er for stor (maks {mb} MB)", "upload.remove": "Fjern", "select.placeholder": "Velg et alternativ", "rating.ariaLabel": "Vurdering", "maxDiff.best": "Viktigst", "maxDiff.worst": "Minst viktig", "maxDiff.setProgress": "Blokk {k} av {n}", "priority.selectUpTo": "Velg opptil", "priority.options": "alternativer", "priority.thenOrder": "og ordne dem deretter", "priority.selectOptions": "Velg alternativer", "priority.cancel": "Avbryt", "priority.confirm": "Bekreft", "priority.selectOptionNumber": "Velg alternativ #", "priority.prioritized": "Prioritert", "priority.of": "av", "priority.instruction": 'Prioriteringslisten din vises nedenfor. Hvis du \xF8nsker det, kan du ordne valgene dine ved hjelp av pilene. Klikk p\xE5 "Neste" for \xE5 bekrefte valget ditt og fortsette.', "action.send": "Send", "action.back": "Tilbake", "action.next": "Neste", "action.start": "Start!", "message.success": "Takk for tilbakemeldingen!", "message.blocked": "Takk for tiden din - vi avslutter samtalen her.", "message.required": "Vennligst svar f\xF8r du fortsetter.", "message.invalidEmail": "Skriv inn en gyldig e-postadresse.", "message.rateLimit": "For mange foresp\xF8rsler. Pr\xF8ver igjen om {seconds} s...", "email.atHint": "Trykk p\xE5 @ for \xE5 sette inn tegnet i e-postadressen din", "email.atButton": "Sett inn @" }, sv: { "placeholder.answer": "Skriv ditt svar h\xE4r...", "placeholder.number": "Skriv ditt nummer h\xE4r...", "placeholder.email": "Skriv din e-post h\xE4r...", "placeholder.date": "Skriv ditt datum h\xE4r...", "placeholder.password": "Skriv ditt l\xF6senord h\xE4r...", "pointSystem.error": "Totala po\xE4ng m\xE5ste vara 100 %", "boolean.yes": "Ja", "boolean.no": "Nej", "upload.cta": "Dra och sl\xE4pp eller klicka f\xF6r att ladda upp", "upload.imagesOnly": "Endast bilder", "upload.anyFileType": "Alla filtyper", "upload.maxFiles": "Max {n} filer", "upload.maxSize": "Max {mb} MB", "upload.tooLarge": "Filen \xE4r f\xF6r stor (max {mb} MB)", "upload.remove": "Ta bort", "select.placeholder": "V\xE4lj ett alternativ", "rating.ariaLabel": "Betyg", "maxDiff.best": "Viktigast", "maxDiff.worst": "Minst viktig", "maxDiff.setProgress": "Block {k} av {n}", "priority.selectUpTo": "V\xE4lj upp till", "priority.options": "alternativ", "priority.thenOrder": "och ordna dem sedan", "priority.selectOptions": "V\xE4lj alternativ", "priority.cancel": "Avbryt", "priority.confirm": "Bekr\xE4fta", "priority.selectOptionNumber": "V\xE4lj alternativ #", "priority.prioritized": "Prioriterat", "priority.of": "av", "priority.instruction": 'Din prioriteringslista visas nedan. Om du vill kan du ordna om dina val med hj\xE4lp av pilarna. Klicka p\xE5 "N\xE4sta" f\xF6r att bekr\xE4fta ditt val och forts\xE4tta.', "action.send": "Skicka", "action.back": "Tillbaka", "action.next": "N\xE4sta", "action.start": "K\xF6r!", "message.success": "Tack f\xF6r din feedback!", "message.blocked": "Tack f\xF6r din tid - vi avslutar samtalet h\xE4r.", "message.required": "Svara innan du forts\xE4tter.", "message.invalidEmail": "Ange en giltig e-postadress.", "message.rateLimit": "F\xF6r m\xE5nga f\xF6rfr\xE5gningar. F\xF6rs\xF6ker igen om {seconds} s...", "email.atHint": "Tryck p\xE5 @ f\xF6r att infoga tecknet i din e-postadress", "email.atButton": "Infoga @" }, ar: { "placeholder.answer": "\u0627\u0643\u062A\u0628 \u0625\u062C\u0627\u0628\u062A\u0643 \u0647\u0646\u0627...", "placeholder.number": "\u0627\u0643\u062A\u0628 \u0631\u0642\u0645\u0643 \u0647\u0646\u0627...", "placeholder.email": "\u0627\u0643\u062A\u0628 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0647\u0646\u0627...", "placeholder.date": "\u0627\u0643\u062A\u0628 \u062A\u0627\u0631\u064A\u062E\u0643 \u0647\u0646\u0627...", "placeholder.password": "\u0627\u0643\u062A\u0628 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0647\u0646\u0627...", "pointSystem.error": "\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A\u0629 100 %", "boolean.yes": "\u0646\u0639\u0645", "boolean.no": "\u0644\u0627", "upload.cta": "\u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A \u0623\u0648 \u0627\u0646\u0642\u0631 \u0644\u0644\u062A\u062D\u0645\u064A\u0644", "upload.imagesOnly": "\u0627\u0644\u0635\u0648\u0631 \u0641\u0642\u0637", "upload.anyFileType": "\u0623\u064A \u0646\u0648\u0639 \u0645\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A", "upload.maxFiles": "{n} \u0645\u0644\u0641\u0627\u062A \u0643\u062D\u062F \u0623\u0642\u0635\u0649", "upload.maxSize": "{mb} \u0645\u064A\u063A\u0627\u0628\u0627\u064A\u062A \u0643\u062D\u062F \u0623\u0642\u0635\u0649", "upload.tooLarge": "\u0627\u0644\u0645\u0644\u0641 \u0643\u0628\u064A\u0631 \u062C\u062F\u064B\u0627 (\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0642\u0635\u0649 {mb} \u0645\u064A\u063A\u0627\u0628\u0627\u064A\u062A)", "upload.remove": "\u0625\u0632\u0627\u0644\u0629", "select.placeholder": "\u0627\u062E\u062A\u0631 \u062E\u064A\u0627\u0631\u064B\u0627", "rating.ariaLabel": "\u0627\u0644\u062A\u0642\u064A\u064A\u0645", "maxDiff.best": "\u0627\u0644\u0623\u0643\u062B\u0631 \u0623\u0647\u0645\u064A\u0629", "maxDiff.worst": "\u0627\u0644\u0623\u0642\u0644 \u0623\u0647\u0645\u064A\u0629", "maxDiff.setProgress": "\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 {k} \u0645\u0646 {n}", "priority.selectUpTo": "\u0627\u062E\u062A\u0631 \u062D\u062A\u0649", "priority.options": "\u062E\u064A\u0627\u0631\u0627\u062A", "priority.thenOrder": "\u062B\u0645 \u0631\u062A\u0628\u0647\u0627", "priority.selectOptions": "\u0627\u062E\u062A\u0631 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A", "priority.cancel": "\u0625\u0644\u063A\u0627\u0621", "priority.confirm": "\u062A\u0623\u0643\u064A\u062F", "priority.selectOptionNumber": "\u0627\u062E\u062A\u0631 \u0627\u0644\u062E\u064A\u0627\u0631 #", "priority.prioritized": "\u062A\u0645 \u0627\u0644\u062A\u0631\u062A\u064A\u0628", "priority.of": "\u0645\u0646", "priority.instruction": '\u062A\u0638\u0647\u0631 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0627\u062A \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643 \u0623\u062F\u0646\u0627\u0647. \u0625\u0630\u0627 \u0631\u063A\u0628\u062A\u060C \u064A\u0645\u0643\u0646\u0643 \u0625\u0639\u0627\u062F\u0629 \u062A\u0631\u062A\u064A\u0628 \u0627\u062E\u062A\u064A\u0627\u0631\u0627\u062A\u0643 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0623\u0633\u0647\u0645. \u0627\u0646\u0642\u0631 \u0639\u0644\u0649 "\u0627\u0644\u062A\u0627\u0644\u064A" \u0644\u062A\u0623\u0643\u064A\u062F \u0627\u062E\u062A\u064A\u0627\u0631\u0643 \u0648\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629.', "action.send": "\u0625\u0631\u0633\u0627\u0644", "action.back": "\u0631\u062C\u0648\u0639", "action.next": "\u0627\u0644\u062A\u0627\u0644\u064A", "action.start": "\u0627\u0628\u062F\u0623!", "message.success": "\u0634\u0643\u0631\u064B\u0627 \u0644\u0645\u0644\u0627\u062D\u0638\u0627\u062A\u0643!", "message.blocked": "\u0634\u0643\u0631\u064B\u0627 \u0639\u0644\u0649 \u0648\u0642\u062A\u0643\u060C \u0633\u0646\u0646\u0647\u064A \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0629 \u0647\u0646\u0627.", "message.required": "\u064A\u0631\u062C\u0649 \u0627\u0644\u0625\u062C\u0627\u0628\u0629 \u0642\u0628\u0644 \u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629.", "message.invalidEmail": "\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0635\u0627\u0644\u062D.", "message.rateLimit": "\u0637\u0644\u0628\u0627\u062A \u0643\u062B\u064A\u0631\u0629 \u062C\u062F\u064B\u0627. \u0633\u0646\u0639\u064A\u062F \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629 \u062E\u0644\u0627\u0644 {seconds} \u062B\u0627\u0646\u064A\u0629...", "email.atHint": "\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 @ \u0644\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0631\u0645\u0632 \u0641\u064A \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A", "email.atButton": "\u0625\u062F\u0631\u0627\u062C @" }, bn: { "placeholder.answer": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u0989\u09A4\u09CD\u09A4\u09B0 \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.number": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09B8\u0982\u0996\u09CD\u09AF\u09BE \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.email": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u0987\u09AE\u09C7\u0987\u09B2 \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.date": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A4\u09BE\u09B0\u09BF\u0996 \u09B2\u09BF\u0996\u09C1\u09A8...", "placeholder.password": "\u098F\u0996\u09BE\u09A8\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09AA\u09BE\u09B8\u0993\u09AF\u09BC\u09BE\u09B0\u09CD\u09A1 \u09B2\u09BF\u0996\u09C1\u09A8...", "pointSystem.error": "\u09AE\u09CB\u099F \u09AA\u09AF\u09BC\u09C7\u09A8\u09CD\u099F 100 % \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7", "boolean.yes": "\u09B9\u09CD\u09AF\u09BE\u0981", "boolean.no": "\u09A8\u09BE", "upload.cta": "\u099F\u09C7\u09A8\u09C7 \u0986\u09A8\u09C1\u09A8 \u09AC\u09BE \u0986\u09AA\u09B2\u09CB\u09A1 \u0995\u09B0\u09A4\u09C7 \u0995\u09CD\u09B2\u09BF\u0995 \u0995\u09B0\u09C1\u09A8", "upload.imagesOnly": "\u09B6\u09C1\u09A7\u09C1\u09AE\u09BE\u09A4\u09CD\u09B0 \u099B\u09AC\u09BF", "upload.anyFileType": "\u09AF\u09C7\u0995\u09CB\u09A8\u09CB \u09A7\u09B0\u09A8\u09C7\u09B0 \u09AB\u09BE\u0987\u09B2", "upload.maxFiles": "\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A {n}\u099F\u09BF \u09AB\u09BE\u0987\u09B2", "upload.maxSize": "\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A {mb} MB", "upload.tooLarge": "\u09AB\u09BE\u0987\u09B2\u099F\u09BF \u0996\u09C1\u09AC \u09AC\u09A1\u09BC (\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A {mb} MB)", "upload.remove": "\u09B8\u09B0\u09BE\u09A8", "select.placeholder": "\u098F\u0995\u099F\u09BF \u09AC\u09BF\u0995\u09B2\u09CD\u09AA \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "rating.ariaLabel": "\u09B0\u09C7\u099F\u09BF\u0982", "maxDiff.best": "\u09B8\u09AC\u099A\u09C7\u09AF\u09BC\u09C7 \u0997\u09C1\u09B0\u09C1\u09A4\u09CD\u09AC\u09AA\u09C2\u09B0\u09CD\u09A3", "maxDiff.worst": "\u09B8\u09AC\u099A\u09C7\u09AF\u09BC\u09C7 \u0995\u09AE \u0997\u09C1\u09B0\u09C1\u09A4\u09CD\u09AC\u09AA\u09C2\u09B0\u09CD\u09A3", "maxDiff.setProgress": "\u09AC\u09CD\u09B2\u0995 {k}/{n}", "priority.selectUpTo": "\u09B8\u09B0\u09CD\u09AC\u09CB\u099A\u09CD\u099A \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "priority.options": "\u099F\u09BF \u09AC\u09BF\u0995\u09B2\u09CD\u09AA", "priority.thenOrder": "\u09A4\u09BE\u09B0\u09AA\u09B0 \u09B8\u09C7\u0997\u09C1\u09B2\u09CB \u09B8\u09BE\u099C\u09BE\u09A8", "priority.selectOptions": "\u09AC\u09BF\u0995\u09B2\u09CD\u09AA \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "priority.cancel": "\u09AC\u09BE\u09A4\u09BF\u09B2", "priority.confirm": "\u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09C1\u09A8", "priority.selectOptionNumber": "\u09AC\u09BF\u0995\u09B2\u09CD\u09AA # \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u0995\u09B0\u09C1\u09A8", "priority.prioritized": "\u0985\u0997\u09CD\u09B0\u09BE\u09A7\u09BF\u0995\u09BE\u09B0\u09AA\u09CD\u09B0\u09BE\u09AA\u09CD\u09A4", "priority.of": "\u098F\u09B0 \u09AE\u09A7\u09CD\u09AF\u09C7", "priority.instruction": '\u0986\u09AA\u09A8\u09BE\u09B0 \u0985\u0997\u09CD\u09B0\u09BE\u09A7\u09BF\u0995\u09BE\u09B0 \u09A4\u09BE\u09B2\u09BF\u0995\u09BE \u09A8\u09BF\u099A\u09C7 \u09A6\u09C7\u0996\u09BE\u09A8\u09CB \u09B9\u09AF\u09BC\u09C7\u099B\u09C7\u0964 \u099A\u09BE\u0987\u09B2\u09C7 \u09A4\u09C0\u09B0 \u099A\u09BF\u09B9\u09CD\u09A8 \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09AA\u099B\u09A8\u09CD\u09A6\u0997\u09C1\u09B2\u09CB \u09AA\u09C1\u09A8\u09B0\u09BE\u09AF\u09BC \u09B8\u09BE\u099C\u09BE\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7\u09A8\u0964 "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0" \u0995\u09CD\u09B2\u09BF\u0995 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A8\u09BF\u09B0\u09CD\u09AC\u09BE\u099A\u09A8 \u09A8\u09BF\u09B6\u09CD\u099A\u09BF\u09A4 \u0995\u09B0\u09C1\u09A8 \u098F\u09AC\u0982 \u098F\u0997\u09BF\u09AF\u09BC\u09C7 \u09AF\u09BE\u09A8\u0964', "action.send": "\u09AA\u09BE\u09A0\u09BE\u09A8", "action.back": "\u09AA\u09BF\u099B\u09A8\u09C7", "action.next": "\u09AA\u09B0\u09AC\u09B0\u09CD\u09A4\u09C0", "action.start": "\u09B6\u09C1\u09B0\u09C1 \u0995\u09B0\u09C1\u09A8!", "message.success": "\u0986\u09AA\u09A8\u09BE\u09B0 \u09AE\u09A4\u09BE\u09AE\u09A4\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6!", "message.blocked": "\u0986\u09AA\u09A8\u09BE\u09B0 \u09B8\u09AE\u09AF\u09BC\u09C7\u09B0 \u099C\u09A8\u09CD\u09AF \u09A7\u09A8\u09CD\u09AF\u09AC\u09BE\u09A6, \u0986\u09AE\u09B0\u09BE \u098F\u0996\u09BE\u09A8\u09C7\u0987 \u0995\u09A5\u09CB\u09AA\u0995\u09A5\u09A8 \u09B6\u09C7\u09B7 \u0995\u09B0\u099B\u09BF\u0964", "message.required": "\u099A\u09BE\u09B2\u09BF\u09AF\u09BC\u09C7 \u09AF\u09BE\u0993\u09AF\u09BC\u09BE\u09B0 \u0986\u0997\u09C7 \u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u0989\u09A4\u09CD\u09A4\u09B0 \u09A6\u09BF\u09A8\u0964", "message.invalidEmail": "\u0985\u09A8\u09C1\u0997\u09CD\u09B0\u09B9 \u0995\u09B0\u09C7 \u098F\u0995\u099F\u09BF \u09B8\u09A0\u09BF\u0995 \u0987\u09AE\u09C7\u09B2 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE \u09B2\u09BF\u0996\u09C1\u09A8\u0964", "message.rateLimit": "\u0985\u09A8\u09C7\u0995 \u09AC\u09C7\u09B6\u09BF \u0985\u09A8\u09C1\u09B0\u09CB\u09A7\u0964 {seconds} \u09B8\u09C7\u0995\u09C7\u09A8\u09CD\u09A1\u09C7 \u0986\u09AC\u09BE\u09B0 \u099A\u09C7\u09B7\u09CD\u099F\u09BE \u0995\u09B0\u09BE \u09B9\u099A\u09CD\u099B\u09C7...", "email.atHint": "\u0986\u09AA\u09A8\u09BE\u09B0 \u0987\u09AE\u09C7\u0987\u09B2 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE\u09AF\u09BC \u099A\u09BF\u09B9\u09CD\u09A8\u099F\u09BF \u09AF\u09CB\u0997 \u0995\u09B0\u09A4\u09C7 @ \u099A\u09BE\u09AA\u09C1\u09A8", "email.atButton": "@ \u09AF\u09CB\u0997 \u0995\u09B0\u09C1\u09A8" }, it: { "placeholder.answer": "Scrivi qui la tua risposta...", "placeholder.number": "Scrivi qui il numero...", "placeholder.email": "Scrivi qui la tua email...", "placeholder.date": "Scrivi qui la data...", "placeholder.password": "Scrivi qui la tua password...", "pointSystem.error": "Il totale dei punti deve essere 100 %", "boolean.yes": "S\xEC", "boolean.no": "No", "upload.cta": "Trascina e rilascia o clicca per caricare", "upload.imagesOnly": "Solo immagini", "upload.anyFileType": "Qualsiasi tipo di file", "upload.maxFiles": "Max {n} file", "upload.maxSize": "Max {mb} MB", "upload.tooLarge": "Il file \xE8 troppo grande (max {mb} MB)", "upload.remove": "Rimuovi", "select.placeholder": "Seleziona un'opzione", "rating.ariaLabel": "Valutazione", "maxDiff.best": "Pi\xF9 importante", "maxDiff.worst": "Meno importante", "maxDiff.setProgress": "Blocco {k} di {n}", "priority.selectUpTo": "Seleziona fino a", "priority.options": "opzioni", "priority.thenOrder": "e poi ordinali", "priority.selectOptions": "Seleziona opzioni", "priority.cancel": "Annulla", "priority.confirm": "Conferma", "priority.selectOptionNumber": "Seleziona opzione #", "priority.prioritized": "Prioritizzate", "priority.of": "di", "priority.instruction": 'La tua lista di priorit\xE0 \xE8 mostrata qui sotto. Se vuoi, puoi riordinare le tue scelte usando le frecce. Clicca su "Avanti" per confermare la selezione e continuare.', "action.send": "Invia", "action.back": "Indietro", "action.next": "Avanti", "action.start": "Via!", "message.success": "Grazie per il tuo feedback!", "message.blocked": "Grazie per il tuo tempo \u2013 terminiamo qui la conversazione.", "message.required": "Rispondi prima di continuare.", "message.invalidEmail": "Inserisci un indirizzo email valido.", "message.rateLimit": "Troppe richieste. Nuovo tentativo tra {seconds}s...", "email.atHint": "Tocca @ per inserire il simbolo nel tuo indirizzo email", "email.atButton": "Inserisci @" }, nl: { "placeholder.answer": "Typ hier je antwoord...", "placeholder.number": "Typ hier je getal...", "placeholder.email": "Typ hier je e-mailadres...", "placeholder.date": "Typ hier de datum...", "placeholder.password": "Typ hier je wachtwoord...", "pointSystem.error": "Het totaal aantal punten moet 100 % zijn", "boolean.yes": "Ja", "boolean.no": "Nee", "upload.cta": "Sleep een bestand hierheen of klik om te uploaden", "upload.imagesOnly": "Alleen afbeeldingen", "upload.anyFileType": "Elk bestandstype", "upload.maxFiles": "Max. {n} bestanden", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "Bestand is te groot (max. {mb} MB)", "upload.remove": "Verwijderen", "select.placeholder": "Selecteer een optie", "rating.ariaLabel": "Beoordeling", "maxDiff.best": "Belangrijkst", "maxDiff.worst": "Minst belangrijk", "maxDiff.setProgress": "Blok {k} van {n}", "priority.selectUpTo": "Selecteer tot", "priority.options": "opties", "priority.thenOrder": "en rangschik ze vervolgens", "priority.selectOptions": "Selecteer opties", "priority.cancel": "Annuleren", "priority.confirm": "Bevestigen", "priority.selectOptionNumber": "Selecteer optie #", "priority.prioritized": "Geprioriteerd", "priority.of": "van", "priority.instruction": 'Je prioriteitenlijst wordt hieronder weergegeven. Als je wilt, kun je je keuzes herschikken met behulp van de pijlen. Klik op "Volgende" om je selectie te bevestigen en door te gaan.', "action.send": "Verzenden", "action.back": "Terug", "action.next": "Volgende", "action.start": "Aan de slag!", "message.success": "Bedankt voor je feedback!", "message.blocked": "Bedankt voor je tijd \u2013 we be\xEBindigen het gesprek hier.", "message.required": "Beantwoord de vraag voordat je verdergaat.", "message.invalidEmail": "Vul een geldig e-mailadres in.", "message.rateLimit": "Te veel verzoeken. Opnieuw proberen over {seconds}s...", "email.atHint": "Tik op @ om het symbool in je e-mailadres in te voegen", "email.atButton": "@ invoegen" }, pl: { "placeholder.answer": "Wpisz tutaj swoj\u0105 odpowied\u017A...", "placeholder.number": "Wpisz tutaj liczb\u0119...", "placeholder.email": "Wpisz tutaj sw\xF3j adres e-mail...", "placeholder.date": "Wpisz tutaj dat\u0119...", "placeholder.password": "Wpisz tutaj swoje has\u0142o...", "pointSystem.error": "Suma punkt\xF3w musi wynosi\u0107 100 %", "boolean.yes": "Tak", "boolean.no": "Nie", "upload.cta": "Przeci\u0105gnij i upu\u015B\u0107 lub kliknij, aby przes\u0142a\u0107", "upload.imagesOnly": "Tylko obrazy", "upload.anyFileType": "Dowolny typ pliku", "upload.maxFiles": "Maks. liczba plik\xF3w: {n}", "upload.maxSize": "Maks. {mb} MB", "upload.tooLarge": "Plik jest za du\u017Cy (maks. {mb} MB)", "upload.remove": "Usu\u0144", "select.placeholder": "Wybierz opcj\u0119", "rating.ariaLabel": "Ocena", "maxDiff.best": "Najwa\u017Cniejsze", "maxDiff.worst": "Najmniej wa\u017Cne", "maxDiff.setProgress": "Blok {k} z {n}", "priority.selectUpTo": "Wybierz do", "priority.options": "opcje", "priority.thenOrder": "a nast\u0119pnie je uporz\u0105dkuj", "priority.selectOptions": "Wybierz opcje", "priority.cancel": "Anuluj", "priority.confirm": "Potwierd\u017A", "priority.selectOptionNumber": "Wybierz opcj\u0119 #", "priority.prioritized": "Priorytetowe", "priority.of": "z", "priority.instruction": 'Twoja lista priorytet\xF3w jest pokazana poni\u017Cej. Je\u015Bli chcesz, mo\u017Cesz zmieni\u0107 kolejno\u015B\u0107 swoich wybor\xF3w za pomoc\u0105 strza\u0142ek. Kliknij "Dalej", aby potwierdzi\u0107 wyb\xF3r i kontynuowa\u0107.', "action.send": "Wy\u015Blij", "action.back": "Wstecz", "action.next": "Dalej", "action.start": "Zaczynamy!", "message.success": "Dzi\u0119kujemy za Twoj\u0105 opini\u0119!", "message.blocked": "Dzi\u0119kujemy za po\u015Bwi\u0119cony czas \u2013 w tym miejscu ko\u0144czymy rozmow\u0119.", "message.required": "Odpowiedz, zanim przejdziesz dalej.", "message.invalidEmail": "Podaj prawid\u0142owy adres e-mail.", "message.rateLimit": "Zbyt wiele \u017C\u0105da\u0144. Ponowna pr\xF3ba za {seconds} s...", "email.atHint": "Dotknij @, aby wstawi\u0107 ten symbol do adresu e-mail", "email.atButton": "Wstaw @" }, ru: { "boolean.yes": "\u0414\u0430", "boolean.no": "\u041D\u0435\u0442", "priority.selectUpTo": "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u043E", "priority.options": "\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432", "priority.thenOrder": "\u0430 \u0437\u0430\u0442\u0435\u043C \u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u044C\u0442\u0435 \u0438\u0445", "priority.selectOptions": "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B", "priority.cancel": "\u041E\u0442\u043C\u0435\u043D\u0430", "priority.confirm": "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C", "priority.selectOptionNumber": "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 #", "priority.prioritized": "\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B", "priority.of": "\u0438\u0437", "priority.instruction": '\u0412\u0430\u0448 \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u043E\u0432 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043D\u0438\u0436\u0435. \u0415\u0441\u043B\u0438 \u0445\u043E\u0442\u0438\u0442\u0435, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u043E\u0440\u044F\u0434\u043E\u043A \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0441\u0442\u0440\u0435\u043B\u043E\u043A. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 "\u0414\u0430\u043B\u0435\u0435", \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C.' }, ja: { "boolean.yes": "\u306F\u3044", "boolean.no": "\u3044\u3044\u3048", "priority.selectUpTo": "\u6700\u5927", "priority.options": "\u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E", "priority.thenOrder": "\u305D\u306E\u5F8C\u4E26\u3079\u66FF\u3048\u3066\u304F\u3060\u3055\u3044", "priority.selectOptions": "\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E", "priority.cancel": "\u30AD\u30E3\u30F3\u30BB\u30EB", "priority.confirm": "\u78BA\u8A8D", "priority.selectOptionNumber": "\u30AA\u30D7\u30B7\u30E7\u30F3 # \u3092\u9078\u629E", "priority.prioritized": "\u512A\u5148\u9806\u4F4D", "priority.of": "\u306E\u3046\u3061", "priority.instruction": "\u512A\u5148\u9806\u4F4D\u30EA\u30B9\u30C8\u306F\u4EE5\u4E0B\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u3001\u77E2\u5370\u3092\u4F7F\u3063\u3066\u9078\u629E\u80A2\u3092\u4E26\u3079\u66FF\u3048\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\u300C\u6B21\u3078\u300D\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9078\u629E\u3092\u78BA\u5B9A\u3057\u3001\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002" }, zh: { "boolean.yes": "\u662F", "boolean.no": "\u4E0D", "priority.selectUpTo": "\u6700\u591A\u9009\u62E9", "priority.options": "\u4E2A\u9009\u9879", "priority.thenOrder": "\u7136\u540E\u6392\u5E8F\u5B83\u4EEC", "priority.selectOptions": "\u9009\u62E9\u9009\u9879", "priority.cancel": "\u53D6\u6D88", "priority.confirm": "\u786E\u8BA4", "priority.selectOptionNumber": "\u9009\u62E9\u9009\u9879 #", "priority.prioritized": "\u5DF2\u4F18\u5148", "priority.of": "\u5171", "priority.instruction": "\u4F60\u7684\u4F18\u5148\u5217\u8868\u5982\u4E0B\u6240\u793A\u3002\u5982\u6709\u9700\u8981\uFF0C\u53EF\u4EE5\u4F7F\u7528\u7BAD\u5934\u91CD\u65B0\u6392\u5E8F\u9009\u9879\u3002\u70B9\u51FB\u201C\u4E0B\u4E00\u6B65\u201D\u786E\u8BA4\u9009\u62E9\u5E76\u7EE7\u7EED\u3002" }, ko: { "boolean.yes": "\uC608", "boolean.no": "\uC544\uB2C8", "priority.selectUpTo": "\uCD5C\uB300", "priority.options": "\uAC1C\uC758 \uC635\uC158 \uC120\uD0DD", "priority.thenOrder": "\uADF8\uB7F0 \uB2E4\uC74C \uC815\uB82C\uD558\uC138\uC694", "priority.selectOptions": "\uC635\uC158 \uC120\uD0DD", "priority.cancel": "\uCDE8\uC18C", "priority.confirm": "\uD655\uC778", "priority.selectOptionNumber": "\uC635\uC158 # \uC120\uD0DD", "priority.prioritized": "\uC6B0\uC120\uC21C\uC704", "priority.of": "\uC911", "priority.instruction": '\uC6B0\uC120\uC21C\uC704 \uBAA9\uB85D\uC740 \uC544\uB798\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uC6D0\uD55C\uB2E4\uBA74 \uD654\uC0B4\uD45C\uB97C \uC0AC\uC6A9\uD574 \uC120\uD0DD \uD56D\uBAA9\uC744 \uC7AC\uC815\uB82C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. "\uB2E4\uC74C"\uC744 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD\uC744 \uD655\uC778\uD558\uACE0 \uACC4\uC18D\uD558\uC138\uC694.' }, bg: { "placeholder.answer": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u043E\u0442\u0433\u043E\u0432\u043E\u0440\u0430 \u0441\u0438 \u0442\u0443\u043A...", "placeholder.number": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0447\u0438\u0441\u043B\u043E\u0442\u043E \u0442\u0443\u043A...", "placeholder.email": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0438\u043C\u0435\u0439\u043B\u0430 \u0441\u0438 \u0442\u0443\u043A...", "placeholder.date": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u0434\u0430\u0442\u0430\u0442\u0430 \u0442\u0443\u043A...", "placeholder.password": "\u041D\u0430\u043F\u0438\u0448\u0435\u0442\u0435 \u043F\u0430\u0440\u043E\u043B\u0430\u0442\u0430 \u0441\u0438 \u0442\u0443\u043A...", "pointSystem.error": "\u041E\u0431\u0449\u0438\u044F\u0442 \u0431\u0440\u043E\u0439 \u0442\u043E\u0447\u043A\u0438 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 100 %", "boolean.yes": "\u0414\u0430", "boolean.no": "\u041D\u0435", "upload.cta": "\u041F\u043B\u044A\u0437\u043D\u0435\u0442\u0435 \u0438 \u043F\u0443\u0441\u043D\u0435\u0442\u0435 \u0438\u043B\u0438 \u0449\u0440\u0430\u043A\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043A\u0430\u0447\u0438\u0442\u0435", "upload.imagesOnly": "\u0421\u0430\u043C\u043E \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F", "upload.anyFileType": "\u0412\u0441\u044F\u043A\u0430\u043A\u044A\u0432 \u0442\u0438\u043F \u0444\u0430\u0439\u043B", "upload.maxFiles": "\u041C\u0430\u043A\u0441. {n} \u0444\u0430\u0439\u043B\u0430", "upload.maxSize": "\u041C\u0430\u043A\u0441. {mb} MB", "upload.tooLarge": "\u0424\u0430\u0439\u043B\u044A\u0442 \u0435 \u0442\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C (\u043C\u0430\u043A\u0441. {mb} MB)", "upload.remove": "\u041F\u0440\u0435\u043C\u0430\u0445\u0432\u0430\u043D\u0435", "select.placeholder": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043E\u043F\u0446\u0438\u044F", "rating.ariaLabel": "\u041E\u0446\u0435\u043D\u043A\u0430", "maxDiff.best": "\u041D\u0430\u0439-\u0432\u0430\u0436\u043D\u043E", "maxDiff.worst": "\u041D\u0430\u0439-\u043C\u0430\u043B\u043A\u043E \u0432\u0430\u0436\u043D\u043E", "maxDiff.setProgress": "\u0411\u043B\u043E\u043A {k} \u043E\u0442 {n}", "priority.selectUpTo": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0434\u043E", "priority.options": "\u043E\u043F\u0446\u0438\u0438", "priority.thenOrder": "\u0438 \u0441\u043B\u0435\u0434 \u0442\u043E\u0432\u0430 \u0433\u0438 \u043F\u043E\u0434\u0440\u0435\u0434\u0435\u0442\u0435", "priority.selectOptions": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043E\u043F\u0446\u0438\u0438", "priority.cancel": "\u041E\u0442\u043A\u0430\u0437", "priority.confirm": "\u041F\u043E\u0442\u0432\u044A\u0440\u0436\u0434\u0430\u0432\u0430\u043D\u0435", "priority.selectOptionNumber": "\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043E\u043F\u0446\u0438\u044F \u2116", "priority.prioritized": "\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0438\u0437\u0438\u0440\u0430\u043D\u0438", "priority.of": "\u043E\u0442", "priority.instruction": "\u0412\u0430\u0448\u0438\u044F\u0442 \u0441\u043F\u0438\u0441\u044A\u043A \u0441 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0438 \u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u043D \u043F\u043E-\u0434\u043E\u043B\u0443. \u0410\u043A\u043E \u0436\u0435\u043B\u0430\u0435\u0442\u0435, \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0430 \u043F\u0440\u0435\u043D\u0430\u0440\u0435\u0434\u0438\u0442\u0435 \u0438\u0437\u0431\u043E\u0440\u0430 \u0441\u0438 \u0447\u0440\u0435\u0437 \u0441\u0442\u0440\u0435\u043B\u043A\u0438\u0442\u0435. \u0429\u0440\u0430\u043A\u043D\u0435\u0442\u0435 \u0432\u044A\u0440\u0445\u0443 \u201E\u041D\u0430\u043F\u0440\u0435\u0434\u201C, \u0437\u0430 \u0434\u0430 \u043F\u043E\u0442\u0432\u044A\u0440\u0434\u0438\u0442\u0435 \u0438\u0437\u0431\u043E\u0440\u0430 \u0441\u0438 \u0438 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435.", "action.send": "\u0418\u0437\u043F\u0440\u0430\u0449\u0430\u043D\u0435", "action.back": "\u041D\u0430\u0437\u0430\u0434", "action.next": "\u041D\u0430\u043F\u0440\u0435\u0434", "action.start": "\u0421\u0442\u0430\u0440\u0442!", "message.success": "\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u0438\u043C \u0412\u0438 \u0437\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u0430\u0442\u0430 \u0432\u0440\u044A\u0437\u043A\u0430!", "message.blocked": "\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u0438\u043C \u0412\u0438 \u0437\u0430 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u043E\u0442\u043E \u0432\u0440\u0435\u043C\u0435 \u2013 \u0449\u0435 \u043F\u0440\u0438\u043A\u043B\u044E\u0447\u0438\u043C \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u0434\u043E\u0442\u0443\u043A.", "message.required": "\u041C\u043E\u043B\u044F, \u043E\u0442\u0433\u043E\u0432\u043E\u0440\u0435\u0442\u0435, \u043F\u0440\u0435\u0434\u0438 \u0434\u0430 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435.", "message.invalidEmail": "\u041C\u043E\u043B\u044F, \u0432\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441.", "message.rateLimit": "\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u043D\u043E\u0433\u043E \u0437\u0430\u044F\u0432\u043A\u0438. \u041D\u043E\u0432 \u043E\u043F\u0438\u0442 \u0441\u043B\u0435\u0434 {seconds} \u0441...", "email.atHint": "\u0414\u043E\u043A\u043E\u0441\u043D\u0435\u0442\u0435 @, \u0437\u0430 \u0434\u0430 \u0432\u044A\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u0432 \u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441\u0430 \u0441\u0438", "email.atButton": "\u0412\u044A\u0432\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 @" }, cs: { "placeholder.answer": "Sem napi\u0161te svou odpov\u011B\u010F...", "placeholder.number": "Sem napi\u0161te \u010D\xEDslo...", "placeholder.email": "Sem napi\u0161te sv\u016Fj e-mail...", "placeholder.date": "Sem napi\u0161te datum...", "placeholder.password": "Sem napi\u0161te sv\xE9 heslo...", "pointSystem.error": "Sou\u010Det bod\u016F mus\xED b\xFDt 100 %", "boolean.yes": "Ano", "boolean.no": "Ne", "upload.cta": "P\u0159et\xE1hn\u011Bte soubor sem nebo klikn\u011Bte a nahrajte jej", "upload.imagesOnly": "Pouze obr\xE1zky", "upload.anyFileType": "Libovoln\xFD typ souboru", "upload.maxFiles": "Max. po\u010Det soubor\u016F: {n}", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "Soubor je p\u0159\xEDli\u0161 velk\xFD (max. {mb} MB)", "upload.remove": "Odebrat", "select.placeholder": "Vyberte mo\u017Enost", "rating.ariaLabel": "Hodnocen\xED", "maxDiff.best": "Nejd\u016Fle\u017Eit\u011Bj\u0161\xED", "maxDiff.worst": "Nejm\xE9n\u011B d\u016Fle\u017Eit\xE9", "maxDiff.setProgress": "Blok {k} z {n}", "priority.selectUpTo": "Vyberte a\u017E", "priority.options": "mo\u017Enosti", "priority.thenOrder": "a pot\xE9 je se\u0159a\u010Fte", "priority.selectOptions": "Vyberte mo\u017Enosti", "priority.cancel": "Zru\u0161it", "priority.confirm": "Potvrdit", "priority.selectOptionNumber": "Vyberte mo\u017Enost \u010D.", "priority.prioritized": "Se\u0159azeno podle priority", "priority.of": "z", "priority.instruction": "N\xED\u017Ee vid\xEDte sv\u016Fj seznam priorit. Pokud chcete, m\u016F\u017Eete sv\xE9 volby p\u0159euspo\u0159\xE1dat pomoc\xED \u0161ipek. Kliknut\xEDm na \u201EDal\u0161\xED\u201C potvrd\xEDte sv\u016Fj v\xFDb\u011Br a budete pokra\u010Dovat.", "action.send": "Odeslat", "action.back": "Zp\u011Bt", "action.next": "Dal\u0161\xED", "action.start": "Za\u010D\xEDt!", "message.success": "D\u011Bkujeme za va\u0161i zp\u011Btnou vazbu!", "message.blocked": "D\u011Bkujeme za v\xE1\u0161 \u010Das \u2013 zde konverzaci ukon\u010D\xEDme.", "message.required": "P\u0159ed pokra\u010Dov\xE1n\xEDm pros\xEDm odpov\u011Bzte.", "message.invalidEmail": "Zadejte platnou e-mailovou adresu.", "message.rateLimit": "P\u0159\xEDli\u0161 mnoho po\u017Eadavk\u016F. Nov\xFD pokus za {seconds} s...", "email.atHint": "Klepnut\xEDm na @ vlo\u017E\xEDte symbol do sv\xE9 e-mailov\xE9 adresy", "email.atButton": "Vlo\u017Eit @" }, el: { "placeholder.answer": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03AE \u03C3\u03B1\u03C2 \u03B5\u03B4\u03CE...", "placeholder.number": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03BF\u03BD \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC \u03B5\u03B4\u03CE...", "placeholder.email": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03BF email \u03C3\u03B1\u03C2 \u03B5\u03B4\u03CE...", "placeholder.date": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B5\u03B4\u03CE...", "placeholder.password": "\u0393\u03C1\u03AC\u03C8\u03C4\u03B5 \u03C4\u03BF\u03BD \u03BA\u03C9\u03B4\u03B9\u03BA\u03CC \u03C0\u03C1\u03CC\u03C3\u03B2\u03B1\u03C3\u03AE\u03C2 \u03C3\u03B1\u03C2 \u03B5\u03B4\u03CE...", "pointSystem.error": "\u03A4\u03BF \u03C3\u03CD\u03BD\u03BF\u03BB\u03BF \u03C4\u03C9\u03BD \u03C0\u03CC\u03BD\u03C4\u03C9\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 100 %", "boolean.yes": "\u039D\u03B1\u03B9", "boolean.no": "\u038C\u03C7\u03B9", "upload.cta": "\u03A3\u03CD\u03C1\u03B5\u03C4\u03B5 \u03BA\u03B1\u03B9 \u03B1\u03C6\u03AE\u03C3\u03C4\u03B5 \u03AE \u03BA\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BC\u03B5\u03C4\u03B1\u03C6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7", "upload.imagesOnly": "\u039C\u03CC\u03BD\u03BF \u03B5\u03B9\u03BA\u03CC\u03BD\u03B5\u03C2", "upload.anyFileType": "\u039F\u03C0\u03BF\u03B9\u03BF\u03C3\u03B4\u03AE\u03C0\u03BF\u03C4\u03B5 \u03C4\u03CD\u03C0\u03BF\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5", "upload.maxFiles": "\u0388\u03C9\u03C2 {n} \u03B1\u03C1\u03C7\u03B5\u03AF\u03B1", "upload.maxSize": "\u0388\u03C9\u03C2 {mb} MB", "upload.tooLarge": "\u03A4\u03BF \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF (\u03AD\u03C9\u03C2 {mb} MB)", "upload.remove": "\u0391\u03C6\u03B1\u03AF\u03C1\u03B5\u03C3\u03B7", "select.placeholder": "\u039A\u03AC\u03BD\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE", "rating.ariaLabel": "\u0392\u03B1\u03B8\u03BC\u03BF\u03BB\u03BF\u03B3\u03AF\u03B1", "maxDiff.best": "\u03A0\u03B9\u03BF \u03C3\u03B7\u03BC\u03B1\u03BD\u03C4\u03B9\u03BA\u03CC", "maxDiff.worst": "\u039B\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03BF \u03C3\u03B7\u03BC\u03B1\u03BD\u03C4\u03B9\u03BA\u03CC", "maxDiff.setProgress": "\u0395\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1 {k} \u03B1\u03C0\u03CC {n}", "priority.selectUpTo": "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03AD\u03C9\u03C2", "priority.options": "\u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2", "priority.thenOrder": "\u03BA\u03B1\u03B9 \u03C3\u03C4\u03B7 \u03C3\u03C5\u03BD\u03AD\u03C7\u03B5\u03B9\u03B1 \u03C4\u03B1\u03BE\u03B9\u03BD\u03BF\u03BC\u03AE\u03C3\u03C4\u03B5 \u03C4\u03B5\u03C2", "priority.selectOptions": "\u039A\u03AC\u03BD\u03C4\u03B5 \u03C4\u03B9\u03C2 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 \u03C3\u03B1\u03C2", "priority.cancel": "\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7", "priority.confirm": "\u0395\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03AF\u03C9\u03C3\u03B7", "priority.selectOptionNumber": "\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B1\u03C1.", "priority.prioritized": "\u039C\u03B5 \u03C0\u03C1\u03BF\u03C4\u03B5\u03C1\u03B1\u03B9\u03CC\u03C4\u03B7\u03C4\u03B1", "priority.of": "\u03B1\u03C0\u03CC", "priority.instruction": "\u0397 \u03BB\u03AF\u03C3\u03C4\u03B1 \u03C0\u03C1\u03BF\u03C4\u03B5\u03C1\u03B1\u03B9\u03BF\u03C4\u03AE\u03C4\u03C9\u03BD \u03C3\u03B1\u03C2 \u03B5\u03BC\u03C6\u03B1\u03BD\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C0\u03B1\u03C1\u03B1\u03BA\u03AC\u03C4\u03C9. \u0391\u03BD \u03B8\u03AD\u03BB\u03B5\u03C4\u03B5, \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03B1\u03BB\u03BB\u03AC\u03BE\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03C3\u03B5\u03B9\u03C1\u03AC \u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03CE\u03BD \u03C3\u03B1\u03C2 \u03BC\u03B5 \u03C4\u03B1 \u03B2\u03AD\u03BB\u03B7. \u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03C3\u03C4\u03BF \xAB\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF\xBB \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03B2\u03B5\u03B2\u03B1\u03B9\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03C3\u03B1\u03C2 \u03BA\u03B1\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", "action.send": "\u0391\u03C0\u03BF\u03C3\u03C4\u03BF\u03BB\u03AE", "action.back": "\u03A0\u03AF\u03C3\u03C9", "action.next": "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", "action.start": "\u03A0\u03AC\u03BC\u03B5!", "message.success": "\u03A3\u03B1\u03C2 \u03B5\u03C5\u03C7\u03B1\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03BC\u03B5 \u03B3\u03B9\u03B1 \u03C4\u03B1 \u03C3\u03C7\u03CC\u03BB\u03B9\u03AC \u03C3\u03B1\u03C2!", "message.blocked": "\u03A3\u03B1\u03C2 \u03B5\u03C5\u03C7\u03B1\u03C1\u03B9\u03C3\u03C4\u03BF\u03CD\u03BC\u03B5 \u03B3\u03B9\u03B1 \u03C4\u03BF\u03BD \u03C7\u03C1\u03CC\u03BD\u03BF \u03C3\u03B1\u03C2 \u2013 \u03B8\u03B1 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03C3\u03BF\u03C5\u03BC\u03B5 \u03C4\u03B7 \u03C3\u03C5\u03B6\u03AE\u03C4\u03B7\u03C3\u03B7 \u03B5\u03B4\u03CE.", "message.required": "\u0391\u03C0\u03B1\u03BD\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C0\u03C1\u03B9\u03BD \u03C3\u03C5\u03BD\u03B5\u03C7\u03AF\u03C3\u03B5\u03C4\u03B5.", "message.invalidEmail": "\u0395\u03B9\u03C3\u03B1\u03B3\u03AC\u03B3\u03B5\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email.", "message.rateLimit": "\u03A0\u03AC\u03C1\u03B1 \u03C0\u03BF\u03BB\u03BB\u03AC \u03B1\u03B9\u03C4\u03AE\u03BC\u03B1\u03C4\u03B1. \u039D\u03AD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03C0\u03AC\u03B8\u03B5\u03B9\u03B1 \u03C3\u03B5 {seconds} \u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03B1...", "email.atHint": "\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 @ \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B5\u03B9\u03C3\u03B1\u03B3\u03AC\u03B3\u03B5\u03C4\u03B5 \u03C4\u03BF \u03C3\u03CD\u03BC\u03B2\u03BF\u03BB\u03BF \u03C3\u03C4\u03B7 \u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email \u03C3\u03B1\u03C2", "email.atButton": "\u0395\u03B9\u03C3\u03B1\u03B3\u03C9\u03B3\u03AE @" }, et: { "placeholder.answer": "Kirjuta oma vastus siia...", "placeholder.number": "Kirjuta number siia...", "placeholder.email": "Kirjuta oma e-posti aadress siia...", "placeholder.date": "Kirjuta kuup\xE4ev siia...", "placeholder.password": "Kirjuta oma parool siia...", "pointSystem.error": "Punktide summa peab olema 100 %", "boolean.yes": "Jah", "boolean.no": "Ei", "upload.cta": "Lohista fail siia v\xF5i kl\xF5psa \xFCleslaadimiseks", "upload.imagesOnly": "Ainult pildid", "upload.anyFileType": "Mis tahes failit\xFC\xFCp", "upload.maxFiles": "Kuni {n} faili", "upload.maxSize": "Kuni {mb} MB", "upload.tooLarge": "Fail on liiga suur (kuni {mb} MB)", "upload.remove": "Eemalda", "select.placeholder": "Vali variant", "rating.ariaLabel": "Hinnang", "maxDiff.best": "K\xF5ige olulisem", "maxDiff.worst": "K\xF5ige v\xE4hem oluline", "maxDiff.setProgress": "Plokk {k}/{n}", "priority.selectUpTo": "Vali kuni", "priority.options": "varianti", "priority.thenOrder": "ja seej\xE4rel j\xE4rjesta need", "priority.selectOptions": "Vali variandid", "priority.cancel": "T\xFChista", "priority.confirm": "Kinnita", "priority.selectOptionNumber": "Vali variant nr", "priority.prioritized": "J\xE4rjestatud", "priority.of": "/", "priority.instruction": "Sinu prioriteetide nimekiri on n\xE4ha allpool. Soovi korral saad valikute j\xE4rjekorda nooltega muuta. Kl\xF5psa \u201EEdasi\u201C, et oma valik kinnitada ja j\xE4tkata.", "action.send": "Saada", "action.back": "Tagasi", "action.next": "Edasi", "action.start": "Alusta!", "message.success": "T\xE4name tagasiside eest!", "message.blocked": "T\xE4name sind aja eest \u2013 l\xF5petame vestluse siinkohal.", "message.required": "Palun vasta enne j\xE4tkamist.", "message.invalidEmail": "Sisestage kehtiv e-posti aadress.", "message.rateLimit": "Liiga palju p\xE4ringuid. Uus katse {seconds} s p\xE4rast...", "email.atHint": "Puuduta @, et lisada s\xFCmbol oma e-posti aadressi", "email.atButton": "Lisa @" }, ga: { "placeholder.answer": "Scr\xEDobh d'fhreagra anseo...", "placeholder.number": "Scr\xEDobh an uimhir anseo...", "placeholder.email": "Scr\xEDobh do sheoladh r\xEDomhphoist anseo...", "placeholder.date": "Scr\xEDobh an d\xE1ta anseo...", "placeholder.password": "Scr\xEDobh do phasfhocal anseo...", "pointSystem.error": "Caithfidh na point\xED san ioml\xE1n a bheith cothrom le 100 %", "boolean.yes": "T\xE1", "boolean.no": "N\xEDl", "upload.cta": "Tarraing agus scaoil n\xF3 clice\xE1il chun uasl\xF3d\xE1il", "upload.imagesOnly": "\xCDomh\xE1nna amh\xE1in", "upload.anyFileType": "Aon chine\xE1l comhaid", "upload.maxFiles": "{n} comhad ar a mh\xE9ad", "upload.maxSize": "{mb} MB ar a mh\xE9ad", "upload.tooLarge": "T\xE1 an comhad r\xF3mh\xF3r ({mb} MB ar a mh\xE9ad)", "upload.remove": "Bain", "select.placeholder": "Roghnaigh rogha", "rating.ariaLabel": "R\xE1t\xE1il", "maxDiff.best": "Is t\xE1bhachta\xED", "maxDiff.worst": "Is l\xFA t\xE1bhacht", "maxDiff.setProgress": "Bloc {k} as {n}", "priority.selectUpTo": "Roghnaigh suas le", "priority.options": "rogha", "priority.thenOrder": "agus ansin cuir in ord iad", "priority.selectOptions": "Roghnaigh roghanna", "priority.cancel": "Cealaigh", "priority.confirm": "Deimhnigh", "priority.selectOptionNumber": "Roghnaigh rogha uimhir", "priority.prioritized": "In ord tosa\xEDochta", "priority.of": "as", "priority.instruction": "T\xE1 do liosta tosa\xEDochta le feice\xE1il th\xEDos. M\xE1s mian leat, is f\xE9idir leat do roghanna a athord\xFA leis na saigheada. Clice\xE1il ar 'Ar aghaidh' chun do rogha a dheimhni\xFA agus lean\xFAint ar aghaidh.", "action.send": "Seol", "action.back": "Siar", "action.next": "Ar aghaidh", "action.start": "Ar aghaidh linn!", "message.success": "Go raibh maith agat as d'aiseolas!", "message.blocked": "Go raibh maith agat as do chuid ama \u2013 cuirfimid deireadh leis an gcomhr\xE1 anseo.", "message.required": "Freagair sula leanann t\xFA ar aghaidh, le do thoil.", "message.invalidEmail": "Cuir isteach seoladh r\xEDomhphoist bail\xED.", "message.rateLimit": "An iomarca iarratas. Triail eile i gceann {seconds} s...", "email.atHint": "Tap\xE1il @ chun an tsiombail a chur isteach i do sheoladh r\xEDomhphoist", "email.atButton": "Cuir isteach @" }, hr: { "placeholder.answer": "Ovdje upi\u0161ite svoj odgovor...", "placeholder.number": "Ovdje upi\u0161ite broj...", "placeholder.email": "Ovdje upi\u0161ite svoju e-adresu...", "placeholder.date": "Ovdje upi\u0161ite datum...", "placeholder.password": "Ovdje upi\u0161ite svoju lozinku...", "pointSystem.error": "Ukupan broj bodova mora biti 100 %", "boolean.yes": "Da", "boolean.no": "Ne", "upload.cta": "Povucite i ispustite ili kliknite za prijenos", "upload.imagesOnly": "Samo slike", "upload.anyFileType": "Bilo koja vrsta datoteke", "upload.maxFiles": "Najvi\u0161e datoteka: {n}", "upload.maxSize": "Najvi\u0161e {mb} MB", "upload.tooLarge": "Datoteka je prevelika (najvi\u0161e {mb} MB)", "upload.remove": "Ukloni", "select.placeholder": "Odaberite opciju", "rating.ariaLabel": "Ocjena", "maxDiff.best": "Najva\u017Enije", "maxDiff.worst": "Najmanje va\u017Eno", "maxDiff.setProgress": "Blok {k} od {n}", "priority.selectUpTo": "Odaberite najvi\u0161e", "priority.options": "opcija", "priority.thenOrder": "i zatim ih poredajte", "priority.selectOptions": "Odaberite opcije", "priority.cancel": "Odustani", "priority.confirm": "Potvrdi", "priority.selectOptionNumber": "Odaberite opciju br.", "priority.prioritized": "Prioritizirano", "priority.of": "od", "priority.instruction": "Va\u0161 popis prioriteta prikazan je u nastavku. Ako \u017Eelite, mo\u017Eete promijeniti redoslijed svojih odabira pomo\u0107u strelica. Kliknite \u201EDalje\u201D da biste potvrdili odabir i nastavili.", "action.send": "Po\u0161alji", "action.back": "Natrag", "action.next": "Dalje", "action.start": "Kreni!", "message.success": "Hvala vam na povratnim informacijama!", "message.blocked": "Hvala vam na vremenu \u2013 ovdje \u0107emo zavr\u0161iti razgovor.", "message.required": "Molimo odgovorite prije nastavka.", "message.invalidEmail": "Unesite valjanu adresu e-po\u0161te.", "message.rateLimit": "Previ\u0161e zahtjeva. Ponovni poku\u0161aj za {seconds} s...", "email.atHint": "Dodirnite @ da biste umetnuli znak u svoju e-adresu", "email.atButton": "Umetni @" }, hu: { "placeholder.answer": "\xCDrja ide a v\xE1lasz\xE1t...", "placeholder.number": "\xCDrja ide a sz\xE1mot...", "placeholder.email": "\xCDrja ide az e-mail-c\xEDm\xE9t...", "placeholder.date": "\xCDrja ide a d\xE1tumot...", "placeholder.password": "\xCDrja ide a jelszav\xE1t...", "pointSystem.error": "A pontok \xF6sszeg\xE9nek 100 %-nak kell lennie", "boolean.yes": "Igen", "boolean.no": "Nem", "upload.cta": "H\xFAzza ide a f\xE1jlt, vagy kattintson a felt\xF6lt\xE9shez", "upload.imagesOnly": "Csak k\xE9pek", "upload.anyFileType": "B\xE1rmilyen f\xE1jlt\xEDpus", "upload.maxFiles": "Legfeljebb {n} f\xE1jl", "upload.maxSize": "Legfeljebb {mb} MB", "upload.tooLarge": "A f\xE1jl t\xFAl nagy (legfeljebb {mb} MB)", "upload.remove": "Elt\xE1vol\xEDt\xE1s", "select.placeholder": "V\xE1lasszon egy lehet\u0151s\xE9get", "rating.ariaLabel": "\xC9rt\xE9kel\xE9s", "maxDiff.best": "Legfontosabb", "maxDiff.worst": "Legkev\xE9sb\xE9 fontos", "maxDiff.setProgress": "Blokk: {k}/{n}", "priority.selectUpTo": "V\xE1lasszon legfeljebb", "priority.options": "lehet\u0151s\xE9get", "priority.thenOrder": "\xE9s rendezze \u0151ket sorba", "priority.selectOptions": "Lehet\u0151s\xE9gek kiv\xE1laszt\xE1sa", "priority.cancel": "M\xE9gse", "priority.confirm": "Meger\u0151s\xEDt\xE9s", "priority.selectOptionNumber": "Lehet\u0151s\xE9g kiv\xE1laszt\xE1sa: #", "priority.prioritized": "Rangsorolva", "priority.of": "/", "priority.instruction": "A priorit\xE1si list\xE1ja al\xE1bb l\xE1that\xF3. Ha szeretn\xE9, a nyilakkal \xE1trendezheti a v\xE1laszt\xE1sait. Kattintson a \u201ETov\xE1bb\u201D gombra a v\xE1laszt\xE1s meger\u0151s\xEDt\xE9s\xE9hez \xE9s a folytat\xE1shoz.", "action.send": "K\xFCld\xE9s", "action.back": "Vissza", "action.next": "Tov\xE1bb", "action.start": "Indul\xE1s!", "message.success": "K\xF6sz\xF6nj\xFCk a visszajelz\xE9s\xE9t!", "message.blocked": "K\xF6sz\xF6nj\xFCk, hogy id\u0151t sz\xE1nt r\xE1nk \u2013 itt befejezz\xFCk a besz\xE9lget\xE9st.", "message.required": "K\xE9rj\xFCk, v\xE1laszoljon a tov\xE1bbl\xE9p\xE9s el\u0151tt.", "message.invalidEmail": "Adjon meg egy \xE9rv\xE9nyes e-mail-c\xEDmet.", "message.rateLimit": "T\xFAl sok k\xE9r\xE9s. \xDAjrapr\xF3b\xE1lkoz\xE1s {seconds} mp m\xFAlva...", "email.atHint": "Koppintson a @ gombra a jel besz\xFAr\xE1s\xE1hoz az e-mail-c\xEDm\xE9be", "email.atButton": "@ besz\xFAr\xE1sa" }, lt: { "placeholder.answer": "\u012Era\u0161ykite savo atsakym\u0105 \u010Dia...", "placeholder.number": "\u012Era\u0161ykite skai\u010Di\u0173 \u010Dia...", "placeholder.email": "\u012Era\u0161ykite savo el. pa\u0161to adres\u0105 \u010Dia...", "placeholder.date": "\u012Era\u0161ykite dat\u0105 \u010Dia...", "placeholder.password": "\u012Era\u0161ykite savo slapta\u017Eod\u012F \u010Dia...", "pointSystem.error": "Bendra ta\u0161k\u0173 suma turi b\u016Bti 100 %", "boolean.yes": "Taip", "boolean.no": "Ne", "upload.cta": "Nutempkite fail\u0105 arba spustel\u0117kite, kad \u012Fkeltum\u0117te", "upload.imagesOnly": "Tik paveiksl\u0117liai", "upload.anyFileType": "Bet koks failo tipas", "upload.maxFiles": "Daugiausia fail\u0173: {n}", "upload.maxSize": "Daugiausia {mb} MB", "upload.tooLarge": "Failas per didelis (daugiausia {mb} MB)", "upload.remove": "Pa\u0161alinti", "select.placeholder": "Pasirinkite parinkt\u012F", "rating.ariaLabel": "\u012Evertinimas", "maxDiff.best": "Svarbiausia", "maxDiff.worst": "Ma\u017Eiausiai svarbu", "maxDiff.setProgress": "Blokas {k} i\u0161 {n}", "priority.selectUpTo": "Pasirinkite iki", "priority.options": "parink\u010Di\u0173", "priority.thenOrder": "ir tada jas surikiuokite", "priority.selectOptions": "Pasirinkite parinktis", "priority.cancel": "At\u0161aukti", "priority.confirm": "Patvirtinti", "priority.selectOptionNumber": "Pasirinkite parinkt\u012F Nr.", "priority.prioritized": "Pagal prioritet\u0105", "priority.of": "i\u0161", "priority.instruction": "J\u016Bs\u0173 prioritet\u0173 s\u0105ra\u0161as pateiktas \u017Eemiau. Jei norite, pasirinkim\u0173 tvark\u0105 galite pakeisti rodykl\u0117mis. Spustel\u0117kite \u201EToliau\u201C, kad patvirtintum\u0117te pasirinkim\u0105 ir t\u0119stum\u0117te.", "action.send": "Si\u0173sti", "action.back": "Atgal", "action.next": "Toliau", "action.start": "Pirmyn!", "message.success": "D\u0117kojame u\u017E atsiliepim\u0105!", "message.blocked": "D\u0117kojame u\u017E j\u016Bs\u0173 laik\u0105 \u2013 \u010Dia pokalb\u012F baigsime.", "message.required": "Prie\u0161 t\u0119sdami atsakykite.", "message.invalidEmail": "\u012Eveskite galiojant\u012F el. pa\u0161to adres\u0105.", "message.rateLimit": "Per daug u\u017Eklaus\u0173. Bandoma i\u0161 naujo po {seconds} s...", "email.atHint": "Bakstel\u0117kite @, kad \u012Fterptum\u0117te simbol\u012F \u012F savo el. pa\u0161to adres\u0105", "email.atButton": "\u012Eterpti @" }, lv: { "placeholder.answer": "Ierakstiet savu atbildi \u0161eit...", "placeholder.number": "Ierakstiet skaitli \u0161eit...", "placeholder.email": "Ierakstiet savu e-pasta adresi \u0161eit...", "placeholder.date": "Ierakstiet datumu \u0161eit...", "placeholder.password": "Ierakstiet savu paroli \u0161eit...", "pointSystem.error": "Kop\u0113jam punktu skaitam j\u0101b\u016Bt 100 %", "boolean.yes": "J\u0101", "boolean.no": "N\u0113", "upload.cta": "Velciet un nometiet vai noklik\u0161\u0137iniet, lai aug\u0161upiel\u0101d\u0113tu", "upload.imagesOnly": "Tikai att\u0113li", "upload.anyFileType": "Jebkur\u0161 faila veids", "upload.maxFiles": "Maks. failu skaits: {n}", "upload.maxSize": "Maks. {mb} MB", "upload.tooLarge": "Fails ir p\u0101r\u0101k liels (maks. {mb} MB)", "upload.remove": "No\u0146emt", "select.placeholder": "Izv\u0113lieties opciju", "rating.ariaLabel": "V\u0113rt\u0113jums", "maxDiff.best": "Vissvar\u012Bg\u0101kais", "maxDiff.worst": "Vismaz\u0101k svar\u012Bgais", "maxDiff.setProgress": "Bloks {k} no {n}", "priority.selectUpTo": "Izv\u0113lieties l\u012Bdz", "priority.options": "opcij\u0101m", "priority.thenOrder": "un p\u0113c tam sak\u0101rtojiet t\u0101s", "priority.selectOptions": "Izv\u0113lieties opcijas", "priority.cancel": "Atcelt", "priority.confirm": "Apstiprin\u0101t", "priority.selectOptionNumber": "Izv\u0113lieties opciju Nr.", "priority.prioritized": "Sak\u0101rtotas p\u0113c priorit\u0101tes", "priority.of": "no", "priority.instruction": "J\u016Bsu priorit\u0101\u0161u saraksts ir redzams zem\u0101k. Ja v\u0113laties, varat main\u012Bt izv\u0113\u013Cu sec\u012Bbu, izmantojot bulti\u0146as. Noklik\u0161\u0137iniet uz 'T\u0101l\u0101k', lai apstiprin\u0101tu izv\u0113li un turpin\u0101tu.", "action.send": "Nos\u016Bt\u012Bt", "action.back": "Atpaka\u013C", "action.next": "T\u0101l\u0101k", "action.start": "Aiziet!", "message.success": "Paldies par J\u016Bsu atsauksmi!", "message.blocked": "Paldies par velt\u012Bto laiku \u2013 \u0161eit sarunu beigsim.", "message.required": "L\u016Bdzu, atbildiet, pirms turpin\u0101t.", "message.invalidEmail": "L\u016Bdzu, ievadiet der\u012Bgu e-pasta adresi.", "message.rateLimit": "P\u0101r\u0101k daudz piepras\u012Bjumu. Atk\u0101rtots m\u0113\u0123in\u0101jums p\u0113c {seconds} s...", "email.atHint": "Pieskarieties @, lai e-pasta adres\u0113 ievietotu \u0161o simbolu", "email.atButton": "Ievietot @" }, mt: { "placeholder.answer": "Ikteb it-twe\u0121iba tieg\u0127ek hawn...", "placeholder.number": "Ikteb in-numru tieg\u0127ek hawn...", "placeholder.email": "Ikteb l-email tieg\u0127ek hawn...", "placeholder.date": "Ikteb id-data hawn...", "placeholder.password": "Ikteb il-password tieg\u0127ek hawn...", "pointSystem.error": "It-total tal-punti g\u0127andu jkun 100 %", "boolean.yes": "Iva", "boolean.no": "Le", "upload.cta": "Ikkaxkar u po\u0121\u0121i jew ikklikkja biex ittella'", "upload.imagesOnly": "Stampi biss", "upload.anyFileType": "Kull tip ta' fajl", "upload.maxFiles": "Massimu ta' {n} fajls", "upload.maxSize": "Massimu ta' {mb} MB", "upload.tooLarge": "Il-fajl huwa kbir wisq (massimu {mb} MB)", "upload.remove": "Ne\u0127\u0127i", "select.placeholder": "Ag\u0127\u017Cel g\u0127a\u017Cla", "rating.ariaLabel": "Valutazzjoni", "maxDiff.best": "L-aktar importanti", "maxDiff.worst": "L-inqas importanti", "maxDiff.setProgress": "Blokk {k} minn {n}", "priority.selectUpTo": "Ag\u0127\u017Cel sa", "priority.options": "g\u0127a\u017Cliet", "priority.thenOrder": "u mbag\u0127ad po\u0121\u0121ihom f'ordni", "priority.selectOptions": "Ag\u0127\u017Cel g\u0127a\u017Cliet", "priority.cancel": "Ikkan\u010Bella", "priority.confirm": "Ikkonferma", "priority.selectOptionNumber": "Ag\u0127\u017Cel l-g\u0127a\u017Cla nru", "priority.prioritized": "Prijoritizzati", "priority.of": "minn", "priority.instruction": "Il-lista ta' prijoritajiet tieg\u0127ek tidher hawn ta\u0127t. Jekk trid, tista' tirran\u0121a mill-\u0121did l-g\u0127a\u017Cliet tieg\u0127ek billi tu\u017Ca l-vle\u0121e\u0121. Ikklikkja 'Li jmiss' biex tikkonferma l-g\u0127a\u017Cla tieg\u0127ek u tkompli.", "action.send": "Ibg\u0127at", "action.back": "Lura", "action.next": "Li jmiss", "action.start": "Ejja!", "message.success": "Grazzi tal-feedback tieg\u0127ek!", "message.blocked": "Grazzi tal-\u0127in tieg\u0127ek \u2013 se nwaqqfu l-konversazzjoni hawn.", "message.required": "Jekk jog\u0127\u0121bok wie\u0121eb qabel ma tkompli.", "message.invalidEmail": "Jekk jog\u0127\u0121bok da\u0127\u0127al indirizz tal-email validu.", "message.rateLimit": "Wisq talbiet. Ner\u0121g\u0127u nippruvaw f'{seconds}s...", "email.atHint": "Ag\u0127fas @ biex idda\u0127\u0127al is-simbolu fl-indirizz tal-email tieg\u0127ek", "email.atButton": "Da\u0127\u0127al @" }, ro: { "placeholder.answer": "Scrie\u021Bi r\u0103spunsul aici...", "placeholder.number": "Scrie\u021Bi num\u0103rul aici...", "placeholder.email": "Scrie\u021Bi adresa de e-mail aici...", "placeholder.date": "Scrie\u021Bi data aici...", "placeholder.password": "Scrie\u021Bi parola aici...", "pointSystem.error": "Totalul punctelor trebuie s\u0103 fie 100 %", "boolean.yes": "Da", "boolean.no": "Nu", "upload.cta": "Trage\u021Bi \u0219i plasa\u021Bi sau face\u021Bi clic pentru a \xEEnc\u0103rca", "upload.imagesOnly": "Doar imagini", "upload.anyFileType": "Orice tip de fi\u0219ier", "upload.maxFiles": "Maximum {n} fi\u0219iere", "upload.maxSize": "Maximum {mb} MB", "upload.tooLarge": "Fi\u0219ierul este prea mare (maximum {mb} MB)", "upload.remove": "Elimina\u021Bi", "select.placeholder": "Selecta\u021Bi o op\u021Biune", "rating.ariaLabel": "Evaluare", "maxDiff.best": "Cel mai important", "maxDiff.worst": "Cel mai pu\u021Bin important", "maxDiff.setProgress": "Blocul {k} din {n}", "priority.selectUpTo": "Selecta\u021Bi p\xE2n\u0103 la", "priority.options": "op\u021Biuni", "priority.thenOrder": "\u0219i apoi ordona\u021Bi-le", "priority.selectOptions": "Selecta\u021Bi op\u021Biuni", "priority.cancel": "Anula\u021Bi", "priority.confirm": "Confirma\u021Bi", "priority.selectOptionNumber": "Selecta\u021Bi op\u021Biunea nr.", "priority.prioritized": "Prioritizate", "priority.of": "din", "priority.instruction": "Lista dvs. de priorit\u0103\u021Bi este afi\u0219at\u0103 mai jos. Dac\u0103 dori\u021Bi, pute\u021Bi reordona op\u021Biunile folosind s\u0103ge\u021Bile. Face\u021Bi clic pe \u201E\xCEnainte\u201D pentru a confirma selec\u021Bia \u0219i a continua.", "action.send": "Trimite\u021Bi", "action.back": "\xCEnapoi", "action.next": "\xCEnainte", "action.start": "S\u0103 \xEEncepem!", "message.success": "V\u0103 mul\u021Bumim pentru feedback!", "message.blocked": "V\u0103 mul\u021Bumim pentru timpul acordat \u2013 vom \xEEncheia conversa\u021Bia aici.", "message.required": "V\u0103 rug\u0103m s\u0103 r\u0103spunde\u021Bi \xEEnainte de a continua.", "message.invalidEmail": "Introduce\u021Bi o adres\u0103 de e-mail valid\u0103.", "message.rateLimit": "Prea multe solicit\u0103ri. Re\xEEncerc\u0103m \xEEn {seconds} s...", "email.atHint": "Atinge\u021Bi @ pentru a insera simbolul \xEEn adresa de e-mail", "email.atButton": "Insera\u021Bi @" }, sk: { "placeholder.answer": "Sem nap\xED\u0161te svoju odpove\u010F...", "placeholder.number": "Sem nap\xED\u0161te \u010D\xEDslo...", "placeholder.email": "Sem nap\xED\u0161te svoj e-mail...", "placeholder.date": "Sem nap\xED\u0161te d\xE1tum...", "placeholder.password": "Sem nap\xED\u0161te heslo...", "pointSystem.error": "S\xFA\u010Det bodov mus\xED by\u0165 100 %", "boolean.yes": "\xC1no", "boolean.no": "Nie", "upload.cta": "Presu\u0148te s\xFAbor sem alebo kliknite a nahrajte ho", "upload.imagesOnly": "Iba obr\xE1zky", "upload.anyFileType": "Ak\xFDko\u013Evek typ s\xFAboru", "upload.maxFiles": "Max. po\u010Det s\xFAborov: {n}", "upload.maxSize": "Max. {mb} MB", "upload.tooLarge": "S\xFAbor je pr\xEDli\u0161 ve\u013Ek\xFD (max. {mb} MB)", "upload.remove": "Odstr\xE1ni\u0165", "select.placeholder": "Vyberte mo\u017Enos\u0165", "rating.ariaLabel": "Hodnotenie", "maxDiff.best": "Najd\xF4le\u017Eitej\u0161ie", "maxDiff.worst": "Najmenej d\xF4le\u017Eit\xE9", "maxDiff.setProgress": "Blok {k} z {n}", "priority.selectUpTo": "Vyberte najviac", "priority.options": "mo\u017Enosti", "priority.thenOrder": "a potom ich zora\u010Fte", "priority.selectOptions": "Vyberte mo\u017Enosti", "priority.cancel": "Zru\u0161i\u0165", "priority.confirm": "Potvrdi\u0165", "priority.selectOptionNumber": "Vyberte mo\u017Enos\u0165 \u010D.", "priority.prioritized": "Zoraden\xE9 pod\u013Ea priority", "priority.of": "z", "priority.instruction": "V\xE1\u0161 zoznam prior\xEDt vid\xEDte ni\u017E\u0161ie. Ak chcete, m\xF4\u017Eete svoje vo\u013Eby preusporiada\u0165 pomocou \u0161\xEDpok. Kliknut\xEDm na \u201E\u010Ealej\u201C potvrd\xEDte v\xFDber a budete pokra\u010Dova\u0165.", "action.send": "Odosla\u0165", "action.back": "Sp\xE4\u0165", "action.next": "\u010Ealej", "action.start": "Po\u010Fme na to!", "message.success": "\u010Eakujeme za va\u0161u sp\xE4tn\xFA v\xE4zbu!", "message.blocked": "\u010Eakujeme za v\xE1\u0161 \u010Das \u2013 tu konverz\xE1ciu ukon\u010D\xEDme.", "message.required": "Pred pokra\u010Dovan\xEDm, pros\xEDm, odpovedzte.", "message.invalidEmail": "Zadajte platn\xFA e-mailov\xFA adresu.", "message.rateLimit": "Pr\xEDli\u0161 ve\u013Ea po\u017Eiadaviek. Opakujeme o {seconds} s...", "email.atHint": "\u0164uknut\xEDm na @ vlo\u017E\xEDte symbol do e-mailovej adresy", "email.atButton": "Vlo\u017Ei\u0165 @" }, sl: { "placeholder.answer": "Tukaj vpi\u0161ite svoj odgovor...", "placeholder.number": "Tukaj vpi\u0161ite \u0161tevilo...", "placeholder.email": "Tukaj vpi\u0161ite svoj e-po\u0161tni naslov...", "placeholder.date": "Tukaj vpi\u0161ite datum...", "placeholder.password": "Tukaj vpi\u0161ite geslo...", "pointSystem.error": "Skupno \u0161tevilo to\u010Dk mora biti 100 %", "boolean.yes": "Da", "boolean.no": "Ne", "upload.cta": "Povlecite in spustite ali kliknite za nalaganje", "upload.imagesOnly": "Samo slike", "upload.anyFileType": "Katera koli vrsta datoteke", "upload.maxFiles": "Najve\u010D datotek: {n}", "upload.maxSize": "Najve\u010D {mb} MB", "upload.tooLarge": "Datoteka je prevelika (najve\u010D {mb} MB)", "upload.remove": "Odstrani", "select.placeholder": "Izberite mo\u017Enost", "rating.ariaLabel": "Ocena", "maxDiff.best": "Najpomembnej\u0161e", "maxDiff.worst": "Najmanj pomembno", "maxDiff.setProgress": "Sklop {k} od {n}", "priority.selectUpTo": "Izberite do", "priority.options": "mo\u017Enosti", "priority.thenOrder": "in jih nato razvrstite", "priority.selectOptions": "Izberite mo\u017Enosti", "priority.cancel": "Prekli\u010Di", "priority.confirm": "Potrdi", "priority.selectOptionNumber": "Izberite mo\u017Enost \u0161t.", "priority.prioritized": "Razvr\u0161\u010Deno po prednosti", "priority.of": "od", "priority.instruction": "Va\u0161 seznam prednosti je prikazan spodaj. \u010Ce \u017Eelite, lahko izbire prerazporedite s pu\u0161\u010Dicami. Kliknite \xBBNaprej\xAB, da potrdite izbor in nadaljujete.", "action.send": "Po\u0161lji", "action.back": "Nazaj", "action.next": "Naprej", "action.start": "Za\u010Dnimo!", "message.success": "Hvala za va\u0161e povratne informacije!", "message.blocked": "Hvala za va\u0161 \u010Das \u2013 pogovor bomo tukaj zaklju\u010Dili.", "message.required": "Pred nadaljevanjem odgovorite na vpra\u0161anje.", "message.invalidEmail": "Vnesite veljaven e-po\u0161tni naslov.", "message.rateLimit": "Preve\u010D zahtev. Ponoven poskus \u010Dez {seconds} s...", "email.atHint": "Tapnite @, da vstavite simbol v e-po\u0161tni naslov", "email.atButton": "Vstavi @" }, ca: { "placeholder.answer": "Escriu la teva resposta aqu\xED...", "placeholder.number": "Escriu el teu n\xFAmero aqu\xED...", "placeholder.email": "Escriu el teu correu electr\xF2nic aqu\xED...", "placeholder.date": "Escriu la data aqu\xED...", "placeholder.password": "Escriu la teva contrasenya aqu\xED...", "pointSystem.error": "El total de punts ha de ser 100 %", "boolean.yes": "S\xED", "boolean.no": "No", "upload.cta": "Arrossega i deixa anar o fes clic per pujar", "upload.imagesOnly": "Nom\xE9s imatges", "upload.anyFileType": "Qualsevol tipus de fitxer", "upload.maxFiles": "M\xE0x. {n} fitxers", "upload.maxSize": "M\xE0x. {mb} MB", "upload.tooLarge": "El fitxer \xE9s massa gran (m\xE0x. {mb} MB)", "upload.remove": "Elimina", "select.placeholder": "Selecciona una opci\xF3", "rating.ariaLabel": "Valoraci\xF3", "maxDiff.best": "M\xE9s important", "maxDiff.worst": "Menys important", "maxDiff.setProgress": "Bloc {k} de {n}", "priority.selectUpTo": "Selecciona fins a", "priority.options": "opcions", "priority.thenOrder": "i despr\xE9s ordena-les", "priority.selectOptions": "Selecciona opcions", "priority.cancel": "Cancel\xB7la", "priority.confirm": "Confirma", "priority.selectOptionNumber": "Selecciona l'opci\xF3 #", "priority.prioritized": "Prioritzades", "priority.of": "de", "priority.instruction": 'A sota tens la teva llista de prioritats. Si vols, pots reordenar les opcions amb les fletxes. Fes clic a "Seg\xFCent" per confirmar i continuar.', "action.send": "Envia", "action.back": "Enrere", "action.next": "Seg\xFCent", "action.start": "Som-hi!", "message.success": "Gr\xE0cies pels teus comentaris!", "message.blocked": "Gr\xE0cies pel teu temps, acabem aqu\xED la conversa.", "message.required": "Si us plau, respon abans de continuar.", "message.invalidEmail": "Introdueix un correu electr\xF2nic v\xE0lid.", "message.rateLimit": "Massa sol\xB7licituds. Es tornar\xE0 a provar d'aqu\xED a {seconds} s...", "email.atHint": "Toca @ per inserir el s\xEDmbol a la teva adre\xE7a de correu", "email.atButton": "Insereix @" } };
|
|
2696
|
+
t2.Fc = ["en", "da", "fi", "no", "es", "sv", "ar", "bn", "de", "pt", "fr", "bg", "cs", "el", "et", "ga", "hr", "hu", "it", "lt", "lv", "mt", "nl", "pl", "ro", "sk", "sl", "ca"], Object.keys(a), t2.DB = ["ar"];
|
|
2613
2697
|
const r = { nb: "no", nn: "no", nob: "no", nno: "no", iw: "he", in: "id", cmn: "zh" };
|
|
2614
2698
|
function o(e3) {
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
return o(e3) || "en";
|
|
2699
|
+
return (function(e4) {
|
|
2700
|
+
if (!e4) return null;
|
|
2701
|
+
const t3 = e4.trim().toLowerCase().replace(/_/g, "-");
|
|
2702
|
+
if (!t3) return null;
|
|
2703
|
+
if (a[t3]) return t3;
|
|
2704
|
+
const i3 = t3.split("-")[0], o2 = r[i3] || i3;
|
|
2705
|
+
return a[o2] ? o2 : null;
|
|
2706
|
+
})(e3) || "en";
|
|
2624
2707
|
}
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
return !!i2 && void 0 !== a[i2][t3];
|
|
2628
|
-
}, t2.isRtlLanguage = function(e3) {
|
|
2629
|
-
return -1 !== t2.RTL_LANGUAGES.indexOf(n(e3));
|
|
2630
|
-
}, t2.isLanguageSupported = function(e3) {
|
|
2631
|
-
const i2 = o(e3);
|
|
2632
|
-
return !!i2 && -1 !== t2.SUPPORTED_LANGUAGES.indexOf(i2);
|
|
2708
|
+
Object.keys(i2), t2.isRtlLanguage = function(e3) {
|
|
2709
|
+
return -1 !== t2.DB.indexOf(o(e3));
|
|
2633
2710
|
}, t2.t = function(e3, t3, r2) {
|
|
2634
|
-
const
|
|
2711
|
+
const n = a[o(e3)] || i2, s = void 0 !== n[t3] ? n[t3] : i2[t3];
|
|
2635
2712
|
return r2 ? (function(e4, t4) {
|
|
2636
|
-
return Object.keys(t4).reduce((
|
|
2713
|
+
return Object.keys(t4).reduce((e5, i3) => e5.replace(new RegExp("\\{" + i3 + "\\}", "g"), String(t4[i3])), e4);
|
|
2637
2714
|
})(s, r2) : s;
|
|
2638
2715
|
};
|
|
2639
|
-
},
|
|
2716
|
+
}, 9857(e2, t2) {
|
|
2640
2717
|
"use strict";
|
|
2641
|
-
|
|
2642
|
-
},
|
|
2718
|
+
t2.endpoints = void 0, t2.endpoints = { sdk: { app: (e3, t3) => `sdk/app/${e3}/${t3}`, app_info: (e3, t3) => `sdk/app/${e3}/${t3}/info`, session: (e3) => `sdk/app/session/${e3}/info`, feedback: "sdk/feedback", followUpQuestion: "sdk/followUpQuestion", agentSurveyStart: "sdk/agentSurvey/start", agentSurveyNext: "sdk/agentSurvey/next" } };
|
|
2719
|
+
}, 9784(e2, t2, i2) {
|
|
2643
2720
|
"use strict";
|
|
2644
|
-
|
|
2645
|
-
const a =
|
|
2721
|
+
t2.placeholder = void 0;
|
|
2722
|
+
const a = i2(881);
|
|
2646
2723
|
t2.placeholder = { answer: (e3) => (0, a.t)(e3, "placeholder.answer"), number: (e3) => (0, a.t)(e3, "placeholder.number"), email: (e3) => (0, a.t)(e3, "placeholder.email"), date: (e3) => (0, a.t)(e3, "placeholder.date"), password: (e3) => (0, a.t)(e3, "placeholder.password"), pointsystemerror: (e3) => (0, a.t)(e3, "pointSystem.error"), upload: { cta: (e3) => (0, a.t)(e3, "upload.cta"), formats: (e3, t3) => (0, a.t)(e3, "image" === t3 ? "upload.imagesOnly" : "upload.anyFileType"), maxFiles: (e3, t3) => (0, a.t)(e3, "upload.maxFiles", { n: t3 }), maxSize: (e3, t3) => (0, a.t)(e3, "upload.maxSize", { mb: t3 }), tooLarge: (e3, t3) => (0, a.t)(e3, "upload.tooLarge", { mb: t3 }), remove: (e3) => (0, a.t)(e3, "upload.remove") } };
|
|
2647
|
-
},
|
|
2724
|
+
}, 7213(e2, t2, i2) {
|
|
2648
2725
|
"use strict";
|
|
2649
|
-
|
|
2650
|
-
const a =
|
|
2651
|
-
function c
|
|
2652
|
-
return e3 && d.includes(e3) ? e3 : "left";
|
|
2653
|
-
}
|
|
2654
|
-
t2.resolveSubtitleAlign = c, t2.renderQuestions = function e3(t3, i2 = "standard", d2 = "en", u = { customIcons: false }, p) {
|
|
2726
|
+
t2.renderStartMessage = t2.renderSuccess = t2.renderError = t2.renderActions = t2.renderQuestions = void 0;
|
|
2727
|
+
const a = i2(5558), r = i2(8042), o = i2(516), n = i2(6471), s = i2(7321), l = { small: "1rem", medium: "1.2rem", large: "1.5rem" }, d = ["left", "center", "right"];
|
|
2728
|
+
t2.renderQuestions = function e3(t3, i3 = "standard", c = "en", u = { customIcons: false }, p) {
|
|
2655
2729
|
if (!t3) throw new Error("[MagicFeedback] No questions provided");
|
|
2656
2730
|
const m = [], { customIcons: h, id: f } = u;
|
|
2657
|
-
return t3.forEach((
|
|
2731
|
+
return t3.forEach((g) => {
|
|
2658
2732
|
var y, v;
|
|
2659
2733
|
if ((null === (v = null === (y = null == g ? void 0 : g.questionType) || void 0 === y ? void 0 : y.conf) || void 0 === v ? void 0 : v.length) > 0) {
|
|
2660
2734
|
let t4 = document.createElement("div");
|
|
2661
2735
|
t4.classList.add("magicfeedback-div");
|
|
2662
2736
|
const a2 = document.createElement("label");
|
|
2663
|
-
a2.setAttribute("for", `magicfeedback-${g.id}`), a2.textContent = (0, o.parseTitle)(g.title,
|
|
2737
|
+
a2.setAttribute("for", `magicfeedback-${g.id}`), a2.textContent = (0, o.parseTitle)(g.title, c), a2.classList.add("magicfeedback-label"), t4.appendChild(a2), g.questionType.conf.forEach((e4) => {
|
|
2664
2738
|
e4.ref = g.ref, g.assets[e4.id] && (e4.assets = { placeholder: g.assets[e4.id] });
|
|
2665
|
-
})
|
|
2739
|
+
}), e3(g.questionType.conf, i3, c, u, p).forEach((e4) => {
|
|
2666
2740
|
t4.appendChild(e4);
|
|
2667
|
-
})
|
|
2741
|
+
}), m.push(t4);
|
|
2668
2742
|
} else {
|
|
2669
|
-
const e4 = (function(e5, t4,
|
|
2743
|
+
const e4 = (function(e5, t4, i4, c2, u2, p2) {
|
|
2670
2744
|
var m2, h2, f2;
|
|
2671
|
-
let g2, y2, v2, { id: b, title: E, type: k, ref: A, require: T, defaultValue: C, assets:
|
|
2672
|
-
|
|
2673
|
-
const
|
|
2674
|
-
if (!R) return
|
|
2745
|
+
let g2, y2, v2, { id: b, title: E, type: k, ref: A, require: T, defaultValue: C, assets: w } = e5, x = document.createElement("div");
|
|
2746
|
+
x.classList.add("magicfeedback-div");
|
|
2747
|
+
const S = window.innerWidth < 600, P = "slim" === t4 ? (0, o.parseTitle)(E, i4) : null == w ? void 0 : w.placeholder, L = (0, n.shownValueFor)(e5, (0, o.getUrlParam)(A)), O = (null == w ? void 0 : w.maxCharacters) || 0, I = false === (null == w ? void 0 : w.autoAdvance) ? void 0 : u2, N = void 0 !== (null == w ? void 0 : w.randomPosition) && (null == w ? void 0 : w.randomPosition), D = (null == w ? void 0 : w.direction) || "row", F = (null == w ? void 0 : w.order) || "ltr", R = (0, r.getQuestionRenderer)(k);
|
|
2748
|
+
if (!R) return x;
|
|
2675
2749
|
{
|
|
2676
|
-
const r2 = R({ question: e5, format: t4, language:
|
|
2750
|
+
const r2 = R({ question: e5, format: t4, language: i4, url: c2, send: k === a.FEEDBACKAPPANSWERTYPE.TEXT ? u2 : I, isPhone: S, urlParamValue: L, placeholderText: P, maxCharacters: O, randomPosition: N, direction: D, order: F, productId: p2 });
|
|
2677
2751
|
g2 = r2.element, y2 = r2.elementTypeClass, v2 = r2.container || r2.element;
|
|
2678
2752
|
}
|
|
2679
|
-
g2.id = `magicfeedback-${b}`, g2.setAttribute("name", A), g2.classList.add(y2), (void 0 !== C || null !==
|
|
2753
|
+
g2.id = `magicfeedback-${b}`, g2.setAttribute("name", A), g2.classList.add(y2), (void 0 !== C || null !== L) && (g2.value = L || C), ["RADIO", "MULTIPLECHOICE", "UPLOAD_IMAGE", "UPLOAD_FILE"].includes(k) || (g2.classList.add("magicfeedback-input"), g2.required = T);
|
|
2680
2754
|
const j = document.createElement("label");
|
|
2681
|
-
j.setAttribute("for", `magicfeedback-${b}`), j.textContent = (0, o.parseTitle)(E,
|
|
2755
|
+
j.setAttribute("for", `magicfeedback-${b}`), j.textContent = (0, o.parseTitle)(E, i4), j.classList.add("magicfeedback-label"), (function(e6, t5) {
|
|
2682
2756
|
if ("INFO_PAGE" !== t5.type) return;
|
|
2683
|
-
const { assets:
|
|
2757
|
+
const { assets: i5 } = t5, a2 = (function(e7) {
|
|
2684
2758
|
if (e7) return l[e7] || e7;
|
|
2685
|
-
})(null ==
|
|
2759
|
+
})(null == i5 ? void 0 : i5.titleSize), r2 = (o2 = null == i5 ? void 0 : i5.titleStyle, Array.isArray(o2) ? o2 : o2 ? [o2] : []);
|
|
2686
2760
|
var o2;
|
|
2687
|
-
a2 && e6.style.setProperty("font-size", a2, "important"), (null ==
|
|
2761
|
+
a2 && e6.style.setProperty("font-size", a2, "important"), (null == i5 ? void 0 : i5.titleAlign) && (e6.style.setProperty("width", "100%", "important"), e6.style.setProperty("align-self", "stretch", "important"), e6.style.setProperty("text-align", i5.titleAlign, "important")), r2.includes("italic") && e6.style.setProperty("font-style", "italic", "important"), r2.includes("bold") && e6.style.setProperty("font-weight", "bold", "important"), r2.includes("underline") && e6.style.setProperty("text-decoration", "underline", "important");
|
|
2688
2762
|
})(j, e5);
|
|
2689
|
-
const
|
|
2690
|
-
|
|
2763
|
+
const M = document.createElement("label");
|
|
2764
|
+
var B;
|
|
2765
|
+
if (M.textContent = (0, o.parseTitle)(null == w ? void 0 : w.subtitle, i4), M.classList.add("magicfeedback-sublabel"), M.style.setProperty("text-align", (B = null == w ? void 0 : w.subtitleAlign) && d.includes(B) ? B : "left"), (null === (m2 = null == w ? void 0 : w.subtitleStyle) || void 0 === m2 ? void 0 : m2.includes("italic")) && (M.style.fontStyle = "italic"), (null === (h2 = null == w ? void 0 : w.subtitleStyle) || void 0 === h2 ? void 0 : h2.includes("bold")) && (M.style.fontWeight = "bold"), (null === (f2 = null == w ? void 0 : w.subtitleStyle) || void 0 === f2 ? void 0 : f2.includes("underline")) && (M.style.textDecoration = "underline"), ["CONSENT"].includes(k)) x.classList.add("magicfeedback-consent-container"), x.appendChild(g2), x.appendChild(j), (null == w ? void 0 : w.subtitle) && x.appendChild(M);
|
|
2691
2766
|
else {
|
|
2692
|
-
if ("slim" !== t4 && (
|
|
2767
|
+
if ("slim" !== t4 && (x.appendChild(j), (null == w ? void 0 : w.subtitle) && x.appendChild(M), void 0 !== (null == w ? void 0 : w.general) && "" !== (null == w ? void 0 : w.general))) {
|
|
2693
2768
|
const e6 = document.createElement("img");
|
|
2694
|
-
e6.src = null ==
|
|
2769
|
+
e6.src = null == w ? void 0 : w.general, e6.classList.add("magicfeedback-image"), e6.style.maxWidth = "auto", e6.style.height = "400px", e6.style.margin = "10px 0", x.appendChild(e6);
|
|
2695
2770
|
}
|
|
2696
|
-
if ("LONGTEXT" === k &&
|
|
2771
|
+
if ("LONGTEXT" === k && O > 0) {
|
|
2697
2772
|
const e6 = document.createElement("div");
|
|
2698
|
-
if (e6.classList.add("magicfeedback-counter"), e6.textContent = `${g2.value.length}/${
|
|
2699
|
-
e6.textContent = `${g2.value.length}/${
|
|
2700
|
-
})
|
|
2773
|
+
if (e6.classList.add("magicfeedback-counter"), e6.textContent = `${g2.value.length}/${O}`, e6.style.textAlign = "end", e6.style.fontSize = "15px", e6.style.marginTop = "5px", g2.addEventListener("input", () => {
|
|
2774
|
+
e6.textContent = `${g2.value.length}/${O}`;
|
|
2775
|
+
}), x.appendChild(g2), x.appendChild(e6), (null == w ? void 0 : w.extraOption) && (null == w ? void 0 : w.extraOptionText)) {
|
|
2701
2776
|
const e7 = document.createElement("div");
|
|
2702
2777
|
e7.classList.add("magicfeedback-skip-container"), e7.classList.add("magicfeedback-checkbox-container"), e7.style.display = "flex", e7.style.justifyContent = "flex-start";
|
|
2703
2778
|
const t5 = document.createElement("input");
|
|
2704
2779
|
t5.classList.add("magicfeedback-skip"), t5.type = "checkbox", t5.id = `skip-${A}`, t5.name = A, t5.value = "-", t5.style.cursor = "pointer";
|
|
2705
|
-
const
|
|
2706
|
-
|
|
2780
|
+
const i5 = document.createElement("label");
|
|
2781
|
+
i5.htmlFor = `skip-${A}`, i5.textContent = null == w ? void 0 : w.extraOptionText, i5.style.fontSize = "15px", i5.style.cursor = "pointer", i5.style.margin = "0 5px", t5.addEventListener("click", () => {
|
|
2707
2782
|
g2.value = "-";
|
|
2708
|
-
})
|
|
2783
|
+
}), (0, s.autoAdvanceOn)(t5, I, "click"), e7.appendChild(t5), e7.appendChild(i5), x.appendChild(e7);
|
|
2709
2784
|
}
|
|
2710
|
-
} else
|
|
2785
|
+
} else x.appendChild(v2);
|
|
2711
2786
|
}
|
|
2712
|
-
return
|
|
2713
|
-
})(g,
|
|
2787
|
+
return x;
|
|
2788
|
+
})(g, i3, c, "https://survey-dev.magicfeedback.io/assets/emojis" + (h ? `/${f}` : ""), 1 === t3.length ? p : void 0, f);
|
|
2714
2789
|
m.push(e4);
|
|
2715
2790
|
}
|
|
2716
|
-
})
|
|
2717
|
-
}, t2.renderActions = function(e3 = "", t3,
|
|
2791
|
+
}), m;
|
|
2792
|
+
}, t2.renderActions = function(e3 = "", t3, i3 = "Submit", a2 = "Back", r2 = "Next") {
|
|
2718
2793
|
const o2 = document.createElement("div");
|
|
2719
2794
|
o2.classList.add("magicfeedback-action-container");
|
|
2720
2795
|
const n2 = document.createElement("button");
|
|
2721
|
-
n2.id = "magicfeedback-submit", n2.type = "submit", n2.classList.add("magicfeedback-submit"), n2.textContent = "MAGICSURVEY" === e3 ? r2 || "Next" :
|
|
2796
|
+
n2.id = "magicfeedback-submit", n2.type = "submit", n2.classList.add("magicfeedback-submit"), n2.textContent = "MAGICSURVEY" === e3 ? r2 || "Next" : i3 || "Submit";
|
|
2722
2797
|
const s2 = document.createElement("button");
|
|
2723
|
-
return s2.id = "magicfeedback-back", s2.type = "button", s2.classList.add("magicfeedback-back"), s2.textContent = a2 || "Back", s2.addEventListener("click", t3), s2.addEventListener("click", (
|
|
2798
|
+
return s2.id = "magicfeedback-back", s2.type = "button", s2.classList.add("magicfeedback-back"), s2.textContent = a2 || "Back", s2.addEventListener("click", t3), s2.addEventListener("click", () => {
|
|
2724
2799
|
n2.removeAttribute("disabled");
|
|
2725
|
-
})
|
|
2800
|
+
}), "MAGICSURVEY" === e3 && o2.appendChild(s2), o2.appendChild(n2), o2;
|
|
2726
2801
|
}, t2.renderError = function(e3) {
|
|
2727
2802
|
const t3 = document.createElement("div");
|
|
2728
2803
|
return t3.classList.add("magicfeedback-error"), t3.textContent = e3, t3;
|
|
2729
2804
|
}, t2.renderSuccess = function(e3) {
|
|
2730
2805
|
const t3 = document.createElement("div");
|
|
2731
2806
|
return t3.classList.add("magicfeedback-success"), t3.textContent = e3, t3;
|
|
2732
|
-
}, t2.renderStartMessage = function(e3, t3 = false,
|
|
2807
|
+
}, t2.renderStartMessage = function(e3, t3 = false, i3 = "Go!", a2 = () => {
|
|
2733
2808
|
}) {
|
|
2734
2809
|
const r2 = document.createElement("div");
|
|
2735
2810
|
r2.classList.add("magicfeedback-start-message-container");
|
|
2736
2811
|
const o2 = document.createElement("div");
|
|
2737
2812
|
if (o2.classList.add("magicfeedback-start-message"), o2.innerHTML = e3, r2.appendChild(o2), t3) {
|
|
2738
2813
|
const e4 = document.createElement("button");
|
|
2739
|
-
e4.id = "magicfeedback-start-message-button", e4.classList.add("magicfeedback-start-message-button"), e4.textContent =
|
|
2814
|
+
e4.id = "magicfeedback-start-message-button", e4.classList.add("magicfeedback-start-message-button"), e4.textContent = i3, e4.addEventListener("click", () => a2()), r2.appendChild(e4);
|
|
2740
2815
|
}
|
|
2741
2816
|
return r2;
|
|
2742
2817
|
};
|
|
2743
|
-
},
|
|
2818
|
+
}, 2313(e2, t2, i2) {
|
|
2744
2819
|
"use strict";
|
|
2745
|
-
var a = this && this.__awaiter || function(e3, t3,
|
|
2746
|
-
return new (
|
|
2820
|
+
var a = this && this.__awaiter || function(e3, t3, i3, a2) {
|
|
2821
|
+
return new (i3 || (i3 = Promise))(function(r2, o2) {
|
|
2747
2822
|
function n2(e4) {
|
|
2748
2823
|
try {
|
|
2749
2824
|
l2(a2.next(e4));
|
|
@@ -2760,22 +2835,22 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2760
2835
|
}
|
|
2761
2836
|
function l2(e4) {
|
|
2762
2837
|
var t4;
|
|
2763
|
-
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof
|
|
2838
|
+
e4.done ? r2(e4.value) : (t4 = e4.value, t4 instanceof i3 ? t4 : new i3(function(e5) {
|
|
2764
2839
|
e5(t4);
|
|
2765
|
-
}))
|
|
2840
|
+
})).then(n2, s2);
|
|
2766
2841
|
}
|
|
2767
2842
|
l2((a2 = a2.apply(e3, t3 || [])).next());
|
|
2768
|
-
})
|
|
2843
|
+
});
|
|
2769
2844
|
}, r = this && this.__importDefault || function(e3) {
|
|
2770
2845
|
return e3 && e3.__esModule ? e3 : { default: e3 };
|
|
2771
2846
|
};
|
|
2772
2847
|
Object.defineProperty(t2, "__esModule", { value: true }), t2.getFollowUpQuestion = t2.sendFeedback = t2.getQuestions = t2.getSessionForm = t2.getForm = t2.takePreloadedInfo = t2.validateEmail = t2.header = void 0;
|
|
2773
|
-
const o = r(
|
|
2848
|
+
const o = r(i2(4945)), n = r(i2(8330)), s = i2(9857), l = i2(6471);
|
|
2774
2849
|
function d(e3) {
|
|
2775
2850
|
if ("undefined" == typeof window) return;
|
|
2776
|
-
const
|
|
2851
|
+
const i3 = window, a2 = i3.__MAGICFEEDBACK_PRELOADED_INFO__;
|
|
2777
2852
|
if (a2 && a2.url === e3 && a2.parameters === t2.header["x-magicfeedback-parameters"]) {
|
|
2778
|
-
delete
|
|
2853
|
+
delete i3.__MAGICFEEDBACK_PRELOADED_INFO__;
|
|
2779
2854
|
try {
|
|
2780
2855
|
return JSON.parse(a2.body);
|
|
2781
2856
|
} catch (e4) {
|
|
@@ -2785,75 +2860,75 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2785
2860
|
}
|
|
2786
2861
|
t2.header = { Accept: "application/json", "Magicfeedback-Sdk-Version": n.default.version, "x-magicfeedback-parameters": window.location.search || "" }, t2.validateEmail = function(e3) {
|
|
2787
2862
|
return /\S+@\S+\.\S+/.test(e3);
|
|
2788
|
-
}, t2.takePreloadedInfo = d, t2.getForm = function(e3,
|
|
2789
|
-
return a(this, void 0, void 0,
|
|
2863
|
+
}, t2.takePreloadedInfo = d, t2.getForm = function(e3, i3, r2, n2, c) {
|
|
2864
|
+
return a(this, void 0, void 0, function* () {
|
|
2790
2865
|
try {
|
|
2791
|
-
const a2 = (0, l.withLangParam)(e3 + s.endpoints.sdk.app_info(
|
|
2866
|
+
const a2 = (0, l.withLangParam)(e3 + s.endpoints.sdk.app_info(i3, r2), c), n3 = d(a2);
|
|
2792
2867
|
if (void 0 !== n3) return n3;
|
|
2793
2868
|
const u = yield (0, o.default)(a2, { method: "GET", headers: t2.header });
|
|
2794
2869
|
return yield u.json();
|
|
2795
2870
|
} catch (e4) {
|
|
2796
2871
|
n2.err(e4);
|
|
2797
2872
|
}
|
|
2798
|
-
})
|
|
2799
|
-
}, t2.getSessionForm = function(e3,
|
|
2800
|
-
return a(this, void 0, void 0,
|
|
2873
|
+
});
|
|
2874
|
+
}, t2.getSessionForm = function(e3, i3, r2, n2) {
|
|
2875
|
+
return a(this, void 0, void 0, function* () {
|
|
2801
2876
|
try {
|
|
2802
|
-
const a2 = (0, l.withLangParam)(e3 + s.endpoints.sdk.session(
|
|
2877
|
+
const a2 = (0, l.withLangParam)(e3 + s.endpoints.sdk.session(i3), n2), r3 = d(a2);
|
|
2803
2878
|
if (void 0 !== r3) return r3;
|
|
2804
2879
|
const c = yield (0, o.default)(a2, { method: "GET", headers: t2.header });
|
|
2805
2880
|
return yield c.json();
|
|
2806
2881
|
} catch (e4) {
|
|
2807
2882
|
r2.err(e4);
|
|
2808
2883
|
}
|
|
2809
|
-
})
|
|
2810
|
-
}, t2.getQuestions = function(e3,
|
|
2811
|
-
return a(this, void 0, void 0,
|
|
2884
|
+
});
|
|
2885
|
+
}, t2.getQuestions = function(e3, i3, r2, n2, d2) {
|
|
2886
|
+
return a(this, void 0, void 0, function* () {
|
|
2812
2887
|
try {
|
|
2813
|
-
const a2 = yield (0, o.default)((0, l.withLangParam)(e3 + s.endpoints.sdk.app(
|
|
2888
|
+
const a2 = yield (0, o.default)((0, l.withLangParam)(e3 + s.endpoints.sdk.app(i3, r2), d2), { method: "GET", headers: t2.header });
|
|
2814
2889
|
if (a2.ok) {
|
|
2815
2890
|
const e4 = yield a2.json();
|
|
2816
|
-
return n2.log(`Received questions for app ${
|
|
2891
|
+
return n2.log(`Received questions for app ${i3}`, e4), e4;
|
|
2817
2892
|
}
|
|
2818
|
-
throw n2.err(`Failed to get questions for app ${
|
|
2893
|
+
throw n2.err(`Failed to get questions for app ${i3}:`, a2.status, a2.statusText), new Error("[MagicFeedback] Bad response from server");
|
|
2819
2894
|
} catch (e4) {
|
|
2820
2895
|
return n2.err(e4), [];
|
|
2821
2896
|
}
|
|
2822
|
-
})
|
|
2823
|
-
}, t2.sendFeedback = function(e3,
|
|
2824
|
-
return a(this, void 0, void 0,
|
|
2897
|
+
});
|
|
2898
|
+
}, t2.sendFeedback = function(e3, i3, r2) {
|
|
2899
|
+
return a(this, void 0, void 0, function* () {
|
|
2825
2900
|
try {
|
|
2826
|
-
const a2 = yield (0, o.default)(e3 + s.endpoints.sdk.feedback, { method: "POST", headers: Object.assign({ "Content-Type": "application/json" }, t2.header), body: JSON.stringify(
|
|
2827
|
-
if (a2.ok) return r2.log(`Form ${
|
|
2828
|
-
throw r2.err(`Failed to submit form ${
|
|
2901
|
+
const a2 = yield (0, o.default)(e3 + s.endpoints.sdk.feedback, { method: "POST", headers: Object.assign({ "Content-Type": "application/json" }, t2.header), body: JSON.stringify(i3) });
|
|
2902
|
+
if (a2.ok) return r2.log(`Form ${i3.integration} submitted successfully!`), (yield a2.json()).sessionId;
|
|
2903
|
+
throw r2.err(`Failed to submit form ${i3.integration}:`, a2.status, a2.statusText), new Error(a2.statusText);
|
|
2829
2904
|
} catch (e4) {
|
|
2830
2905
|
return r2.err(e4), "";
|
|
2831
2906
|
}
|
|
2832
|
-
})
|
|
2833
|
-
}, t2.getFollowUpQuestion = function(e3,
|
|
2834
|
-
return a(this, void 0, void 0,
|
|
2907
|
+
});
|
|
2908
|
+
}, t2.getFollowUpQuestion = function(e3, i3, r2) {
|
|
2909
|
+
return a(this, void 0, void 0, function* () {
|
|
2835
2910
|
try {
|
|
2836
|
-
const a2 = yield (0, o.default)(e3 + s.endpoints.sdk.followUpQuestion, { method: "POST", headers: Object.assign({ "Content-Type": "application/json" }, t2.header), body: JSON.stringify(
|
|
2837
|
-
if (a2.ok) return r2.log(`Received follow up question for form ${
|
|
2838
|
-
throw r2.err(`Failed to get follow up question for form ${
|
|
2911
|
+
const a2 = yield (0, o.default)(e3 + s.endpoints.sdk.followUpQuestion, { method: "POST", headers: Object.assign({ "Content-Type": "application/json" }, t2.header), body: JSON.stringify(i3) });
|
|
2912
|
+
if (a2.ok) return r2.log(`Received follow up question for form ${i3.integration}`), (yield a2.json()) || "";
|
|
2913
|
+
throw r2.err(`Failed to get follow up question for form ${i3.integration}:`, a2.status, a2.statusText), new Error(a2.statusText);
|
|
2839
2914
|
} catch (e4) {
|
|
2840
2915
|
return r2.err(e4), "";
|
|
2841
2916
|
}
|
|
2842
|
-
})
|
|
2917
|
+
});
|
|
2843
2918
|
};
|
|
2844
|
-
},
|
|
2919
|
+
}, 5146(e2, t2) {
|
|
2845
2920
|
"use strict";
|
|
2846
|
-
|
|
2847
|
-
class
|
|
2921
|
+
t2.SubmitError = void 0;
|
|
2922
|
+
class i2 extends Error {
|
|
2848
2923
|
constructor(e3, t3) {
|
|
2849
|
-
super(t3), this.code = e3, this.name = "SubmitError", Object.setPrototypeOf(this,
|
|
2924
|
+
super(t3), this.code = e3, this.name = "SubmitError", Object.setPrototypeOf(this, i2.prototype);
|
|
2850
2925
|
}
|
|
2851
2926
|
}
|
|
2852
|
-
t2.SubmitError =
|
|
2853
|
-
},
|
|
2927
|
+
t2.SubmitError = i2;
|
|
2928
|
+
}, 6471(e2, t2, i2) {
|
|
2854
2929
|
"use strict";
|
|
2855
|
-
|
|
2856
|
-
const a =
|
|
2930
|
+
t2.toBaseAnswers = t2.shownValueFor = t2.withLangParam = t2.detectSurveyLang = t2.normalizeSurveyLang = void 0;
|
|
2931
|
+
const a = i2(5558), r = { nb: "no", nn: "no", nob: "no", nno: "no" };
|
|
2857
2932
|
function o(e3) {
|
|
2858
2933
|
if (!e3 || "string" != typeof e3) return null;
|
|
2859
2934
|
const t3 = e3.trim().toLowerCase().replace(/_/g, "-").split("-")[0];
|
|
@@ -2868,13 +2943,6 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2868
2943
|
}
|
|
2869
2944
|
return "object" == typeof e3 ? void 0 !== e3.value ? String(e3.value) : null : String(e3);
|
|
2870
2945
|
}
|
|
2871
|
-
function s(e3) {
|
|
2872
|
-
const t3 = /* @__PURE__ */ new Map(), i2 = null == e3 ? void 0 : e3.value, a2 = null == e3 ? void 0 : e3.baseValue;
|
|
2873
|
-
return Array.isArray(i2) && Array.isArray(a2) ? (i2.forEach(((e4, i3) => {
|
|
2874
|
-
const r2 = n(e4), o2 = n(a2[i3]);
|
|
2875
|
-
null === r2 || null === o2 || t3.has(r2) || t3.set(r2, o2);
|
|
2876
|
-
})), t3) : t3;
|
|
2877
|
-
}
|
|
2878
2946
|
t2.normalizeSurveyLang = o, t2.detectSurveyLang = function(e3) {
|
|
2879
2947
|
return o(e3) || (function() {
|
|
2880
2948
|
if ("undefined" == typeof navigator) return null;
|
|
@@ -2887,113 +2955,117 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
2887
2955
|
})();
|
|
2888
2956
|
}, t2.withLangParam = function(e3, t3) {
|
|
2889
2957
|
return t3 ? `${e3}${e3.includes("?") ? "&" : "?"}lang=${encodeURIComponent(t3)}` : e3;
|
|
2890
|
-
}, t2.
|
|
2891
|
-
var
|
|
2958
|
+
}, t2.shownValueFor = function(e3, t3) {
|
|
2959
|
+
var i3, a2;
|
|
2892
2960
|
if (null === t3 || !Array.isArray(null == e3 ? void 0 : e3.baseValue)) return t3;
|
|
2893
|
-
const r2 = e3.baseValue.findIndex((
|
|
2894
|
-
return -1 === r2 ? t3 : null !== (a2 = n(null === (
|
|
2961
|
+
const r2 = e3.baseValue.findIndex((e4) => n(e4) === t3);
|
|
2962
|
+
return -1 === r2 ? t3 : null !== (a2 = n(null === (i3 = e3.value) || void 0 === i3 ? void 0 : i3[r2])) && void 0 !== a2 ? a2 : t3;
|
|
2895
2963
|
};
|
|
2896
|
-
const
|
|
2964
|
+
const s = [a.FEEDBACKAPPANSWERTYPE.RADIO, a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOICE, a.FEEDBACKAPPANSWERTYPE.MULTIPLECHOISE_IMAGE, a.FEEDBACKAPPANSWERTYPE.SELECT];
|
|
2897
2965
|
t2.toBaseAnswers = function(e3, t3) {
|
|
2898
|
-
return e3.map((
|
|
2966
|
+
return e3.map((e4) => {
|
|
2899
2967
|
if (e4.key.startsWith("extra-option-")) return e4;
|
|
2900
|
-
const
|
|
2901
|
-
if (!
|
|
2902
|
-
const r2 =
|
|
2968
|
+
const i3 = t3.find((t4) => t4.ref === e4.key) || t3.find((t4) => e4.key.includes(t4.ref));
|
|
2969
|
+
if (!i3) return e4;
|
|
2970
|
+
const r2 = (function(e5) {
|
|
2971
|
+
const t4 = /* @__PURE__ */ new Map(), i4 = null == e5 ? void 0 : e5.value, a2 = null == e5 ? void 0 : e5.baseValue;
|
|
2972
|
+
return Array.isArray(i4) && Array.isArray(a2) ? (i4.forEach((e6, i5) => {
|
|
2973
|
+
const r3 = n(e6), o3 = n(a2[i5]);
|
|
2974
|
+
null === r3 || null === o3 || t4.has(r3) || t4.set(r3, o3);
|
|
2975
|
+
}), t4) : t4;
|
|
2976
|
+
})(i3);
|
|
2903
2977
|
if (0 === r2.size) return e4;
|
|
2904
2978
|
let o2;
|
|
2905
|
-
if (
|
|
2979
|
+
if (s.includes(i3.type)) o2 = (e5) => {
|
|
2906
2980
|
var t4;
|
|
2907
2981
|
return "string" == typeof e5 && null !== (t4 = r2.get(e5)) && void 0 !== t4 ? t4 : e5;
|
|
2908
2982
|
};
|
|
2909
|
-
else if (
|
|
2910
|
-
var
|
|
2983
|
+
else if (i3.type === a.FEEDBACKAPPANSWERTYPE.PRIORITY_LIST) o2 = (e5) => "string" == typeof e5 ? (function(e6, t4) {
|
|
2984
|
+
var i4, a2;
|
|
2911
2985
|
const r3 = /^(\d+)\.\s?(.*)$/.exec(e6);
|
|
2912
|
-
if (!r3) return null !== (
|
|
2986
|
+
if (!r3) return null !== (i4 = t4.get(e6)) && void 0 !== i4 ? i4 : e6;
|
|
2913
2987
|
const o3 = r3[2];
|
|
2914
2988
|
return `${r3[1]}. ${null !== (a2 = t4.get(o3)) && void 0 !== a2 ? a2 : o3}`;
|
|
2915
2989
|
})(e5, r2) : e5;
|
|
2916
|
-
else if (
|
|
2917
|
-
var
|
|
2990
|
+
else if (i3.type === a.FEEDBACKAPPANSWERTYPE.POINT_SYSTEM) o2 = (e5) => "string" == typeof e5 ? (function(e6, t4) {
|
|
2991
|
+
var i4;
|
|
2918
2992
|
const a2 = e6.lastIndexOf(":");
|
|
2919
2993
|
if (-1 === a2) return e6;
|
|
2920
2994
|
const r3 = e6.substring(0, a2);
|
|
2921
|
-
return `${null !== (
|
|
2995
|
+
return `${null !== (i4 = t4.get(r3)) && void 0 !== i4 ? i4 : r3}${e6.substring(a2)}`;
|
|
2922
2996
|
})(e5, r2) : e5;
|
|
2923
|
-
else if (
|
|
2997
|
+
else if (i3.type === a.FEEDBACKAPPANSWERTYPE.MULTI_QUESTION_MATRIX) o2 = (e5) => "string" == typeof e5 ? (function(e6, t4) {
|
|
2924
2998
|
try {
|
|
2925
|
-
const
|
|
2926
|
-
return Array.isArray(
|
|
2927
|
-
var
|
|
2928
|
-
return null !== (
|
|
2929
|
-
})
|
|
2999
|
+
const i4 = JSON.parse(e6);
|
|
3000
|
+
return Array.isArray(i4) ? JSON.stringify(i4.map((e7) => Object.assign(Object.assign({}, e7), { value: Array.isArray(null == e7 ? void 0 : e7.value) ? e7.value.map((e8) => {
|
|
3001
|
+
var i5;
|
|
3002
|
+
return null !== (i5 = t4.get(e8)) && void 0 !== i5 ? i5 : e8;
|
|
3003
|
+
}) : null == e7 ? void 0 : e7.value }))) : e6;
|
|
2930
3004
|
} catch (t5) {
|
|
2931
3005
|
return e6;
|
|
2932
3006
|
}
|
|
2933
3007
|
})(e5, r2) : e5;
|
|
2934
3008
|
else {
|
|
2935
|
-
if (
|
|
3009
|
+
if (i3.type !== a.FEEDBACKAPPANSWERTYPE.MAX_DIFF) return e4;
|
|
2936
3010
|
o2 = (e5) => "string" == typeof e5 ? (function(e6, t4) {
|
|
2937
3011
|
try {
|
|
2938
|
-
const
|
|
2939
|
-
if (!Array.isArray(
|
|
3012
|
+
const i4 = JSON.parse(e6);
|
|
3013
|
+
if (!Array.isArray(i4)) return e6;
|
|
2940
3014
|
const a2 = (e7) => {
|
|
2941
|
-
var
|
|
2942
|
-
return "string" == typeof e7 && null !== (
|
|
3015
|
+
var i5;
|
|
3016
|
+
return "string" == typeof e7 && null !== (i5 = t4.get(e7)) && void 0 !== i5 ? i5 : e7;
|
|
2943
3017
|
};
|
|
2944
|
-
return JSON.stringify(
|
|
3018
|
+
return JSON.stringify(i4.map((e7) => Object.assign(Object.assign({}, e7), { shown: Array.isArray(null == e7 ? void 0 : e7.shown) ? e7.shown.map(a2) : null == e7 ? void 0 : e7.shown, best: a2(null == e7 ? void 0 : e7.best), worst: a2(null == e7 ? void 0 : e7.worst) })));
|
|
2945
3019
|
} catch (t5) {
|
|
2946
3020
|
return e6;
|
|
2947
3021
|
}
|
|
2948
3022
|
})(e5, r2) : e5;
|
|
2949
3023
|
}
|
|
2950
3024
|
return Object.assign(Object.assign({}, e4), { value: e4.value.map(o2) });
|
|
2951
|
-
})
|
|
3025
|
+
});
|
|
2952
3026
|
};
|
|
2953
|
-
},
|
|
3027
|
+
}, 7321(e2, t2) {
|
|
2954
3028
|
"use strict";
|
|
2955
|
-
|
|
2956
|
-
const
|
|
2957
|
-
function
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
t3 && e3.addEventListener(i2, (() => a(e3, t3)));
|
|
3029
|
+
t2.answeredInput = t2.autoAdvanceRequested = t2.f3 = t2.cancelAutoAdvance = t2.autoAdvanceOn = t2.IX = void 0, t2.IX = 300;
|
|
3030
|
+
const i2 = /* @__PURE__ */ new Map();
|
|
3031
|
+
t2.autoAdvanceOn = function(e3, a, r = "change") {
|
|
3032
|
+
a && e3.addEventListener(r, () => (function(e4, a2) {
|
|
3033
|
+
const r2 = i2.get(a2);
|
|
3034
|
+
r2 && clearTimeout(r2.timer);
|
|
3035
|
+
const o = setTimeout(() => {
|
|
3036
|
+
i2.delete(a2), e4.isConnected && a2();
|
|
3037
|
+
}, t2.IX);
|
|
3038
|
+
i2.set(a2, { timer: o, source: e4 });
|
|
3039
|
+
})(e3, a));
|
|
2967
3040
|
}, t2.cancelAutoAdvance = function(e3) {
|
|
2968
|
-
e3 &&
|
|
2969
|
-
e3.contains(
|
|
2970
|
-
})
|
|
2971
|
-
}, t2.
|
|
2972
|
-
const
|
|
2973
|
-
return "true" ===
|
|
3041
|
+
e3 && i2.forEach(({ timer: t3, source: a }, r) => {
|
|
3042
|
+
e3.contains(a) && (clearTimeout(t3), i2.delete(r));
|
|
3043
|
+
});
|
|
3044
|
+
}, t2.f3 = "autoadvance", t2.autoAdvanceRequested = function(e3 = window.location.search) {
|
|
3045
|
+
const i3 = new URLSearchParams(e3).get(t2.f3);
|
|
3046
|
+
return "true" === i3 || "1" === i3;
|
|
2974
3047
|
}, t2.answeredInput = function(e3, t3) {
|
|
2975
|
-
return Array.from(e3.querySelectorAll(".magicfeedback-input")).filter((
|
|
3048
|
+
return Array.from(e3.querySelectorAll(".magicfeedback-input")).filter((e4) => e4.name === t3).find((e4) => "radio" === e4.type || "checkbox" === e4.type ? e4.checked : "" !== e4.value) || null;
|
|
2976
3049
|
};
|
|
2977
|
-
},
|
|
3050
|
+
}, 2195(e2, t2) {
|
|
2978
3051
|
"use strict";
|
|
2979
|
-
function
|
|
2980
|
-
|
|
2981
|
-
const i2 = e3.querySelector(".magicfeedback-div");
|
|
2982
|
-
if (!i2) return null;
|
|
2983
|
-
const a = i2.querySelector('input:not([type="hidden"]), textarea, select, button');
|
|
2984
|
-
if (!a) return null;
|
|
2985
|
-
const r = a;
|
|
2986
|
-
return r.disabled || r.readOnly ? null : "TEXTAREA" === a.tagName || "INPUT" === a.tagName && t2.AUTOFOCUS_INPUT_TYPES.includes(a.type) ? r : null;
|
|
2987
|
-
}
|
|
2988
|
-
Object.defineProperty(t2, "__esModule", { value: true }), t2.focusFirstTextQuestion = t2.findAutofocusTarget = t2.AUTOFOCUS_INPUT_TYPES = void 0, t2.AUTOFOCUS_INPUT_TYPES = ["text", "email", "number", "tel", "url", "search"], t2.findAutofocusTarget = i, t2.focusFirstTextQuestion = function(e3) {
|
|
2989
|
-
var t3, a;
|
|
3052
|
+
t2.focusFirstTextQuestion = t2.jg = void 0, t2.jg = ["text", "email", "number", "tel", "url", "search"], t2.focusFirstTextQuestion = function(e3) {
|
|
3053
|
+
var i2, a;
|
|
2990
3054
|
if (!e3) return false;
|
|
2991
|
-
const r =
|
|
3055
|
+
const r = (function(e4) {
|
|
3056
|
+
if (!e4) return null;
|
|
3057
|
+
const i3 = e4.querySelector(".magicfeedback-div");
|
|
3058
|
+
if (!i3) return null;
|
|
3059
|
+
const a2 = i3.querySelector('input:not([type="hidden"]), textarea, select, button');
|
|
3060
|
+
if (!a2) return null;
|
|
3061
|
+
const r2 = a2;
|
|
3062
|
+
return r2.disabled || r2.readOnly ? null : "TEXTAREA" === a2.tagName || "INPUT" === a2.tagName && t2.jg.includes(a2.type) ? r2 : null;
|
|
3063
|
+
})(e3);
|
|
2992
3064
|
if (!r) return false;
|
|
2993
|
-
const o = null === (
|
|
3065
|
+
const o = null === (i2 = e3.ownerDocument) || void 0 === i2 ? void 0 : i2.activeElement;
|
|
2994
3066
|
if (o && !e3.contains(o) && (function(e4) {
|
|
2995
|
-
const
|
|
2996
|
-
return "INPUT" ===
|
|
3067
|
+
const t3 = e4.tagName;
|
|
3068
|
+
return "INPUT" === t3 || "TEXTAREA" === t3 || "SELECT" === t3 || true === e4.isContentEditable;
|
|
2997
3069
|
})(o)) return false;
|
|
2998
3070
|
try {
|
|
2999
3071
|
r.focus({ preventScroll: true });
|
|
@@ -3002,35 +3074,35 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
3002
3074
|
}
|
|
3003
3075
|
return (null === (a = e3.ownerDocument) || void 0 === a ? void 0 : a.activeElement) === r;
|
|
3004
3076
|
};
|
|
3005
|
-
},
|
|
3077
|
+
}, 2224(e2, t2, i2) {
|
|
3006
3078
|
"use strict";
|
|
3007
|
-
|
|
3008
|
-
const a =
|
|
3079
|
+
t2.routeValuesFor = void 0;
|
|
3080
|
+
const a = i2(5558), r = ["Yes", "No"], o = (e3) => String(null != e3 ? e3 : "").trim().toLowerCase();
|
|
3009
3081
|
t2.routeValuesFor = function(e3, t3) {
|
|
3010
3082
|
if ((null == t3 ? void 0 : t3.type) !== a.FEEDBACKAPPANSWERTYPE.BOOLEAN) return e3;
|
|
3011
|
-
const
|
|
3012
|
-
return e3.map((
|
|
3083
|
+
const i3 = [t3.value, t3.baseValue].filter(Array.isArray);
|
|
3084
|
+
return e3.map((e4) => {
|
|
3013
3085
|
const t4 = o(e4);
|
|
3014
3086
|
if ("yes" === t4 || "true" === t4) return "Yes";
|
|
3015
3087
|
if ("no" === t4 || "false" === t4) return "No";
|
|
3016
|
-
const a2 =
|
|
3088
|
+
const a2 = i3.map((e5) => e5.findIndex((e6) => o(e6) === t4)).find((e5) => 0 === e5 || 1 === e5);
|
|
3017
3089
|
return void 0 === a2 ? e4 : r[a2];
|
|
3018
|
-
})
|
|
3090
|
+
});
|
|
3019
3091
|
};
|
|
3020
|
-
},
|
|
3092
|
+
}, 4039(e2, t2) {
|
|
3021
3093
|
"use strict";
|
|
3022
|
-
|
|
3023
|
-
const
|
|
3094
|
+
t2.armGhostTapGuard = t2.H = void 0, t2.H = 400;
|
|
3095
|
+
const i2 = /* @__PURE__ */ new WeakMap();
|
|
3024
3096
|
t2.armGhostTapGuard = function(e3) {
|
|
3025
|
-
e3 && (
|
|
3097
|
+
e3 && (i2.has(e3) || e3.addEventListener("click", (r) => {
|
|
3026
3098
|
var o;
|
|
3027
|
-
0 !== r.detail && (a() - (null !== (o =
|
|
3028
|
-
}
|
|
3099
|
+
0 !== r.detail && (a() - (null !== (o = i2.get(e3)) && void 0 !== o ? o : -1 / 0) >= t2.H || (r.preventDefault(), r.stopPropagation()));
|
|
3100
|
+
}, true), i2.set(e3, a()));
|
|
3029
3101
|
};
|
|
3030
3102
|
const a = () => "undefined" != typeof performance ? performance.now() : Date.now();
|
|
3031
|
-
},
|
|
3103
|
+
}, 9256(e2, t2) {
|
|
3032
3104
|
"use strict";
|
|
3033
|
-
|
|
3105
|
+
t2.Log = void 0, t2.Log = class {
|
|
3034
3106
|
constructor(e3) {
|
|
3035
3107
|
this.config = e3;
|
|
3036
3108
|
}
|
|
@@ -3041,17 +3113,19 @@ var require_magicfeedback_sdk_browser = __commonJS({
|
|
|
3041
3113
|
console.error("[MagicFeedback]:", ...e3);
|
|
3042
3114
|
}
|
|
3043
3115
|
};
|
|
3044
|
-
}, 8330
|
|
3116
|
+
}, 8330(e2) {
|
|
3045
3117
|
"use strict";
|
|
3046
|
-
e2.exports = JSON.parse('{"name":"@magicfeedback/native","version":"2.2.
|
|
3047
|
-
} }
|
|
3048
|
-
|
|
3118
|
+
e2.exports = JSON.parse('{"name":"@magicfeedback/native","version":"2.2.47","main":"./dist/magicfeedback-sdk.node.js","browser":"./dist/magicfeedback-sdk.browser.js","types":"./dist/types/src/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/MagicFeedback/magicfeedback-sdk.git"},"author":"farias@magicfeedback.io","license":"MIT","private":false,"scripts":{"dev":"vite","build":"webpack","build:watch":"webpack --watch --mode development","release":"npm publish --access public","release:beta":"npm publish --access public --tag beta","release:alpha":"npm publish --access public --tag alpha","test":"jest","test:watch":"jest --watchAll","coverage":"jest --coverage","publish:sdk":"bash publish.sh","publish:sdk:dry-run":"NPM_DRY_RUN=1 bash publish.sh"},"files":["dist"],"devDependencies":{"@babel/preset-typescript":"^7.22.5","@types/node":"^22.20.5","@types/webpack":"^5.28.0","@types/webpack-node-externals":"^2.5.3","c8":"^7.11.0","copy-webpack-plugin":"^14.0.0","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","jest-fetch-mock":"^3.0.3","nock":"^13.2.4","ts-jest":"^29.1.0","ts-loader":"^9.2.7","ts-node":"^10.7.0","typescript":"^4.6.2","vite":"^6.4.5","webpack":"^5.70.0","webpack-cli":"^4.9.2","webpack-node-externals":"^3.0.0"},"dependencies":{"cross-fetch":"^3.1.5","is-bundling-for-browser-or-node":"^1.1.1"},"description":"MagicFeedbackAI JavaScript Library for [MagicFeedback.io](https://magicfeedback.io/)","bugs":{"url":"https://github.com/MagicFeedback/magicfeedback-sdk/issues"},"homepage":"https://github.com/MagicFeedback/magicfeedback-sdk#readme","directories":{"example":"examples","test":"test"},"style":"./dist/styles/magicfeedback-default.css"}');
|
|
3119
|
+
} };
|
|
3120
|
+
const t = {};
|
|
3121
|
+
let i = (function i2(a) {
|
|
3122
|
+
const r = t[a];
|
|
3049
3123
|
if (void 0 !== r) return r.exports;
|
|
3050
|
-
|
|
3051
|
-
return e[a].call(o.exports, o, o.exports,
|
|
3052
|
-
})(
|
|
3053
|
-
|
|
3054
|
-
}));
|
|
3124
|
+
const o = t[a] = { exports: {} };
|
|
3125
|
+
return e[a].call(o.exports, o, o.exports, i2), o.exports;
|
|
3126
|
+
})(8156);
|
|
3127
|
+
return i = i.default, i;
|
|
3128
|
+
})());
|
|
3055
3129
|
}
|
|
3056
3130
|
});
|
|
3057
3131
|
|
|
@@ -3099,7 +3173,8 @@ var import_native = __toESM(require_magicfeedback_sdk_browser());
|
|
|
3099
3173
|
var SURVEY_CSS_LOADERS = {
|
|
3100
3174
|
"2.2.38": () => import("./2.2.38-LGZRM7GX.mjs"),
|
|
3101
3175
|
"2.2.39": () => import("./2.2.39-BJJ3YRJ4.mjs"),
|
|
3102
|
-
"2.2.44": () => import("./2.2.44-NTG36TY5.mjs")
|
|
3176
|
+
"2.2.44": () => import("./2.2.44-NTG36TY5.mjs"),
|
|
3177
|
+
"2.2.47": () => import("./2.2.47-ZZQRJNYY.mjs")
|
|
3103
3178
|
};
|
|
3104
3179
|
|
|
3105
3180
|
// src/ui/surveySdkLoader.ts
|
|
@@ -3312,17 +3387,8 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3312
3387
|
const appearance = options?.appearance;
|
|
3313
3388
|
let forcedMode = resolveForcedMode(appearance, systemPrefersDark());
|
|
3314
3389
|
let theme = chromePalette(chromeColors(null, style?.theme, forcedMode).dark);
|
|
3315
|
-
const
|
|
3316
|
-
|
|
3317
|
-
"bottom": { justifyContent: "center", alignItems: "flex-end", padding: "16px", background: "transparent" },
|
|
3318
|
-
"bottom-right": { justifyContent: "flex-end", alignItems: "flex-end", padding: "16px", background: "transparent" },
|
|
3319
|
-
"bottom-left": { justifyContent: "flex-start", alignItems: "flex-end", padding: "16px", background: "transparent" },
|
|
3320
|
-
"top": { justifyContent: "center", alignItems: "flex-start", padding: "16px", background: "transparent" },
|
|
3321
|
-
"top-right": { justifyContent: "flex-end", alignItems: "flex-start", padding: "16px", background: "transparent" },
|
|
3322
|
-
"top-left": { justifyContent: "flex-start", alignItems: "flex-start", padding: "16px", background: "transparent" }
|
|
3323
|
-
};
|
|
3324
|
-
const pos = positionMap[style?.position ?? "center"] ?? positionMap["center"];
|
|
3325
|
-
const passThrough = pos.background === "transparent";
|
|
3390
|
+
const pos = resolvePlacement(style);
|
|
3391
|
+
const passThrough = !pos.blocksPage;
|
|
3326
3392
|
const popup = document.createElement("div");
|
|
3327
3393
|
popup.id = "dd-popup";
|
|
3328
3394
|
popup.className = "deepdots-popup";
|
|
@@ -3338,7 +3404,7 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3338
3404
|
border-radius: 8px;
|
|
3339
3405
|
padding: 24px;
|
|
3340
3406
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
3341
|
-
max-width:
|
|
3407
|
+
max-width: ${pos.cardMaxWidthPx}px;
|
|
3342
3408
|
width: 90%;
|
|
3343
3409
|
max-height: 90vh;
|
|
3344
3410
|
min-height: 200px;
|
|
@@ -3409,6 +3475,7 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3409
3475
|
let progressEnabled = options?.showProgressBar === true;
|
|
3410
3476
|
let progressShowUnit = true;
|
|
3411
3477
|
let progressUnit = "fraction";
|
|
3478
|
+
let progressMode = "current";
|
|
3412
3479
|
const progressEl = document.createElement("div");
|
|
3413
3480
|
progressEl.id = "dd-progress";
|
|
3414
3481
|
progressEl.className = "deepdots-progress";
|
|
@@ -3445,26 +3512,19 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3445
3512
|
function updateProgress(p) {
|
|
3446
3513
|
const total = typeof p.total === "number" ? p.total : 0;
|
|
3447
3514
|
const progress = typeof p.progress === "number" ? p.progress : 0;
|
|
3448
|
-
|
|
3515
|
+
const view = progressView({ progress, total, completed: p.completed, mode: progressMode, unit: progressUnit }, labels);
|
|
3516
|
+
if (!progressEnabled || onStartPage || !view.visible) {
|
|
3449
3517
|
progressEl.style.display = "none";
|
|
3450
3518
|
containerContent.style.paddingTop = "16px";
|
|
3451
3519
|
return;
|
|
3452
3520
|
}
|
|
3453
3521
|
progressEl.style.display = "flex";
|
|
3454
3522
|
containerContent.style.paddingTop = "0";
|
|
3455
|
-
|
|
3456
|
-
const pct = Math.min(100, Math.max(0, current / total * 100));
|
|
3457
|
-
progressBar.style.width = `${pct}%`;
|
|
3458
|
-
const label = Math.min(total, Math.max(1, Math.floor(progress) + 1));
|
|
3523
|
+
progressBar.style.width = `${view.percent}%`;
|
|
3459
3524
|
progressLabel.style.display = progressShowUnit ? "block" : "none";
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
} else {
|
|
3464
|
-
progressCurrent.textContent = `${labels.question} ${label}`;
|
|
3465
|
-
progressTotal.textContent = ` ${labels.of} ${total}`;
|
|
3466
|
-
}
|
|
3467
|
-
progressFollowUp.style.display = p.followup ? "inline-block" : "none";
|
|
3525
|
+
progressCurrent.textContent = view.current;
|
|
3526
|
+
progressTotal.textContent = view.rest;
|
|
3527
|
+
progressFollowUp.style.display = p.followup && !p.completed ? "inline-block" : "none";
|
|
3468
3528
|
}
|
|
3469
3529
|
ensureMagicFeedbackStyles(cspNonce);
|
|
3470
3530
|
ensureSurveyAlignmentStyles(cspNonce);
|
|
@@ -3737,6 +3797,9 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3737
3797
|
done.style.cssText = `width:100%; text-align:center; padding:24px 0; color:${theme.textPrimary};`;
|
|
3738
3798
|
main.insertBefore(done, errorHint);
|
|
3739
3799
|
}
|
|
3800
|
+
done.style.color = theme.textPrimary;
|
|
3801
|
+
if (theme.colorScheme === "dark") done.style.setProperty("--mf-text-secondary", theme.textPrimary);
|
|
3802
|
+
else done.style.removeProperty("--mf-text-secondary");
|
|
3740
3803
|
done.innerHTML = successMessageHtml || "<p>Thank you for your feedback!</p>";
|
|
3741
3804
|
done.querySelectorAll("img").forEach((img) => {
|
|
3742
3805
|
img.style.cssText = "max-width:100%; height:auto; margin:0 auto 16px auto; display:block;";
|
|
@@ -3767,7 +3830,7 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3767
3830
|
container.style.justifyContent = pos.justifyContent;
|
|
3768
3831
|
container.style.alignItems = pos.alignItems;
|
|
3769
3832
|
container.style.background = pos.background;
|
|
3770
|
-
|
|
3833
|
+
container.style.padding = pos.padding;
|
|
3771
3834
|
let revealed = false;
|
|
3772
3835
|
let revealTimer = null;
|
|
3773
3836
|
let surveyLoaded = false;
|
|
@@ -3914,6 +3977,7 @@ async function renderPopup(container, surveyId, productId, actions, emit, onClos
|
|
|
3914
3977
|
if (options?.showProgressBar === void 0) progressEnabled = s.showProgressBar === true;
|
|
3915
3978
|
if (s.showProgressUnit !== void 0) progressShowUnit = s.showProgressUnit !== false;
|
|
3916
3979
|
if (s.progressUnit) progressUnit = s.progressUnit;
|
|
3980
|
+
if (s.progressMode) progressMode = s.progressMode;
|
|
3917
3981
|
loadedStyle = s;
|
|
3918
3982
|
applyAppearanceColors(loadedStyle);
|
|
3919
3983
|
if (s.contentAlign) {
|
|
@@ -3995,4 +4059,4 @@ export {
|
|
|
3995
4059
|
SURVEY_ALIGNMENT_STYLE_ID,
|
|
3996
4060
|
renderPopup
|
|
3997
4061
|
};
|
|
3998
|
-
//# sourceMappingURL=renderPopup-
|
|
4062
|
+
//# sourceMappingURL=renderPopup-KWAMONIN.mjs.map
|