@codebards/ik-embeddable-form 0.0.2715012971-qa → 0.0.2717298569-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/embed.js +0 -13
- package/dist/embed.js.map +1 -1
- package/package.json +1 -1
package/dist/embed.js
CHANGED
|
@@ -1303,14 +1303,6 @@ var IKEmbeddableFormBundle = function(exports) {
|
|
|
1303
1303
|
function clearPrefillCookies() {
|
|
1304
1304
|
clearContactPrefillCookies();
|
|
1305
1305
|
}
|
|
1306
|
-
function getPrefillFromCookies() {
|
|
1307
|
-
const prefill = {};
|
|
1308
|
-
const experience = getCookie("ik_experience");
|
|
1309
|
-
const domain = getCookie("ik_domain");
|
|
1310
|
-
if (experience) prefill.experience = experience;
|
|
1311
|
-
if (domain) prefill.domain = domain;
|
|
1312
|
-
return prefill;
|
|
1313
|
-
}
|
|
1314
1306
|
function isClarityLoaded() {
|
|
1315
1307
|
return typeof window !== "undefined" && typeof window.clarity === "function";
|
|
1316
1308
|
}
|
|
@@ -1446,11 +1438,6 @@ var IKEmbeddableFormBundle = function(exports) {
|
|
|
1446
1438
|
const vCountryCode = geo.countryCode || vCountryFromCookie && countryNameToCode(vCountryFromCookie) || "";
|
|
1447
1439
|
persistVisitorCountryCookieIfAbsent(geo.countryName);
|
|
1448
1440
|
clearContactPrefillCookies();
|
|
1449
|
-
const cookiePrefill = getPrefillFromCookies();
|
|
1450
|
-
openConfig.prefilledValues = {
|
|
1451
|
-
...cookiePrefill,
|
|
1452
|
-
...openConfig.prefilledValues
|
|
1453
|
-
};
|
|
1454
1441
|
const pageUrl = resolveWorkflowPageUrl(openConfig.pageUrl);
|
|
1455
1442
|
const browser = getBrowserDetails();
|
|
1456
1443
|
contextInstance = {
|