Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/popup-ma.../trunk/assets/js
File: pum-integration-gravityforms.js
/******/ (function(modules) { // webpackBootstrap
[0] Fix | Delete
/******/ // The module cache
[1] Fix | Delete
/******/ var installedModules = {};
[2] Fix | Delete
/******/
[3] Fix | Delete
/******/ // The require function
[4] Fix | Delete
/******/ function __webpack_require__(moduleId) {
[5] Fix | Delete
/******/
[6] Fix | Delete
/******/ // Check if module is in cache
[7] Fix | Delete
/******/ if(installedModules[moduleId]) {
[8] Fix | Delete
/******/ return installedModules[moduleId].exports;
[9] Fix | Delete
/******/ }
[10] Fix | Delete
/******/ // Create a new module (and put it into the cache)
[11] Fix | Delete
/******/ var module = installedModules[moduleId] = {
[12] Fix | Delete
/******/ i: moduleId,
[13] Fix | Delete
/******/ l: false,
[14] Fix | Delete
/******/ exports: {}
[15] Fix | Delete
/******/ };
[16] Fix | Delete
/******/
[17] Fix | Delete
/******/ // Execute the module function
[18] Fix | Delete
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
[19] Fix | Delete
/******/
[20] Fix | Delete
/******/ // Flag the module as loaded
[21] Fix | Delete
/******/ module.l = true;
[22] Fix | Delete
/******/
[23] Fix | Delete
/******/ // Return the exports of the module
[24] Fix | Delete
/******/ return module.exports;
[25] Fix | Delete
/******/ }
[26] Fix | Delete
/******/
[27] Fix | Delete
/******/
[28] Fix | Delete
/******/ // expose the modules object (__webpack_modules__)
[29] Fix | Delete
/******/ __webpack_require__.m = modules;
[30] Fix | Delete
/******/
[31] Fix | Delete
/******/ // expose the module cache
[32] Fix | Delete
/******/ __webpack_require__.c = installedModules;
[33] Fix | Delete
/******/
[34] Fix | Delete
/******/ // define getter function for harmony exports
[35] Fix | Delete
/******/ __webpack_require__.d = function(exports, name, getter) {
[36] Fix | Delete
/******/ if(!__webpack_require__.o(exports, name)) {
[37] Fix | Delete
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
[38] Fix | Delete
/******/ }
[39] Fix | Delete
/******/ };
[40] Fix | Delete
/******/
[41] Fix | Delete
/******/ // define __esModule on exports
[42] Fix | Delete
/******/ __webpack_require__.r = function(exports) {
[43] Fix | Delete
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
[44] Fix | Delete
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
[45] Fix | Delete
/******/ }
[46] Fix | Delete
/******/ Object.defineProperty(exports, '__esModule', { value: true });
[47] Fix | Delete
/******/ };
[48] Fix | Delete
/******/
[49] Fix | Delete
/******/ // create a fake namespace object
[50] Fix | Delete
/******/ // mode & 1: value is a module id, require it
[51] Fix | Delete
/******/ // mode & 2: merge all properties of value into the ns
[52] Fix | Delete
/******/ // mode & 4: return value when already ns object
[53] Fix | Delete
/******/ // mode & 8|1: behave like require
[54] Fix | Delete
/******/ __webpack_require__.t = function(value, mode) {
[55] Fix | Delete
/******/ if(mode & 1) value = __webpack_require__(value);
[56] Fix | Delete
/******/ if(mode & 8) return value;
[57] Fix | Delete
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
[58] Fix | Delete
/******/ var ns = Object.create(null);
[59] Fix | Delete
/******/ __webpack_require__.r(ns);
[60] Fix | Delete
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
[61] Fix | Delete
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
[62] Fix | Delete
/******/ return ns;
[63] Fix | Delete
/******/ };
[64] Fix | Delete
/******/
[65] Fix | Delete
/******/ // getDefaultExport function for compatibility with non-harmony modules
[66] Fix | Delete
/******/ __webpack_require__.n = function(module) {
[67] Fix | Delete
/******/ var getter = module && module.__esModule ?
[68] Fix | Delete
/******/ function getDefault() { return module['default']; } :
[69] Fix | Delete
/******/ function getModuleExports() { return module; };
[70] Fix | Delete
/******/ __webpack_require__.d(getter, 'a', getter);
[71] Fix | Delete
/******/ return getter;
[72] Fix | Delete
/******/ };
[73] Fix | Delete
/******/
[74] Fix | Delete
/******/ // Object.prototype.hasOwnProperty.call
[75] Fix | Delete
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
[76] Fix | Delete
/******/
[77] Fix | Delete
/******/ // __webpack_public_path__
[78] Fix | Delete
/******/ __webpack_require__.p = "";
[79] Fix | Delete
/******/
[80] Fix | Delete
/******/
[81] Fix | Delete
/******/ // Load entry module and return exports
[82] Fix | Delete
/******/ return __webpack_require__(__webpack_require__.s = "./assets/js/src/integration/gravityforms.js");
[83] Fix | Delete
/******/ })
[84] Fix | Delete
/************************************************************************/
[85] Fix | Delete
/******/ ({
[86] Fix | Delete
[87] Fix | Delete
/***/ "./assets/js/src/integration/gravityforms.js":
[88] Fix | Delete
/*!***************************************************!*\
[89] Fix | Delete
!*** ./assets/js/src/integration/gravityforms.js ***!
[90] Fix | Delete
\***************************************************/
[91] Fix | Delete
/*! no exports provided */
[92] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[93] Fix | Delete
[94] Fix | Delete
"use strict";
[95] Fix | Delete
__webpack_require__.r(__webpack_exports__);
[96] Fix | Delete
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js");
[97] Fix | Delete
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);
[98] Fix | Delete
[99] Fix | Delete
[100] Fix | Delete
/***************************************
[101] Fix | Delete
* Copyright (c) 2020, Popup Maker
[102] Fix | Delete
***************************************/
[103] Fix | Delete
{
[104] Fix | Delete
var formProvider = "gravityforms";
[105] Fix | Delete
var $ = window.jQuery;
[106] Fix | Delete
var gFormSettings = {};
[107] Fix | Delete
$(document).on("gform_confirmation_loaded", function (event, formId) {
[108] Fix | Delete
var $form = $("#gform_confirmation_wrapper_" + formId + ",#gforms_confirmation_message_" + formId)[0]; // All the magic happens here.
[109] Fix | Delete
[110] Fix | Delete
window.PUM.integrations.formSubmission($form, {
[111] Fix | Delete
formProvider: formProvider,
[112] Fix | Delete
formId: formId
[113] Fix | Delete
});
[114] Fix | Delete
/**
[115] Fix | Delete
* TODO - Move this to a backward compatiblilty file, hook it into the pum.integration.form.success action.
[116] Fix | Delete
*
[117] Fix | Delete
* Listen for older popup actions applied directly to the form.
[118] Fix | Delete
*
[119] Fix | Delete
* This is here for backward compatibility with form actions prior to v1.9.
[120] Fix | Delete
*/
[121] Fix | Delete
// Nothing should happen if older action settings not applied
[122] Fix | Delete
// except triggering of pumFormSuccess event for old cookie method.
[123] Fix | Delete
[124] Fix | Delete
window.PUM.forms.success($form, gFormSettings[formId] || {});
[125] Fix | Delete
});
[126] Fix | Delete
/**
[127] Fix | Delete
* TODO - Move this to a backward compatiblilty file, hook it into the pum.integration.form.success action.
[128] Fix | Delete
*
[129] Fix | Delete
* Listen for older popup actions applied directly to the form.
[130] Fix | Delete
*
[131] Fix | Delete
* This is here for backward compatibility with form actions prior to v1.9.
[132] Fix | Delete
*/
[133] Fix | Delete
[134] Fix | Delete
$(function () {
[135] Fix | Delete
$(".gform_wrapper > form").each(function () {
[136] Fix | Delete
var $form = $(this),
[137] Fix | Delete
formId = $form.attr("id").replace("gform_", ""),
[138] Fix | Delete
$settings = $form.find("input.gforms-pum"),
[139] Fix | Delete
settings = $settings.length ? JSON.parse($settings.val()) : false;
[140] Fix | Delete
[141] Fix | Delete
if (!settings || _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(settings) !== "object") {
[142] Fix | Delete
return;
[143] Fix | Delete
}
[144] Fix | Delete
[145] Fix | Delete
if (_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(settings) === "object" && settings.closedelay !== undefined && settings.closedelay.toString().length >= 3) {
[146] Fix | Delete
settings.closedelay = settings.closedelay / 1000;
[147] Fix | Delete
}
[148] Fix | Delete
[149] Fix | Delete
gFormSettings[formId] = settings;
[150] Fix | Delete
});
[151] Fix | Delete
});
[152] Fix | Delete
}
[153] Fix | Delete
[154] Fix | Delete
/***/ }),
[155] Fix | Delete
[156] Fix | Delete
/***/ "./node_modules/@babel/runtime/helpers/typeof.js":
[157] Fix | Delete
/*!*******************************************************!*\
[158] Fix | Delete
!*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
[159] Fix | Delete
\*******************************************************/
[160] Fix | Delete
/*! no static exports found */
[161] Fix | Delete
/***/ (function(module, exports) {
[162] Fix | Delete
[163] Fix | Delete
function _typeof(obj) {
[164] Fix | Delete
"@babel/helpers - typeof";
[165] Fix | Delete
[166] Fix | Delete
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
[167] Fix | Delete
module.exports = _typeof = function _typeof(obj) {
[168] Fix | Delete
return typeof obj;
[169] Fix | Delete
};
[170] Fix | Delete
} else {
[171] Fix | Delete
module.exports = _typeof = function _typeof(obj) {
[172] Fix | Delete
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
[173] Fix | Delete
};
[174] Fix | Delete
}
[175] Fix | Delete
[176] Fix | Delete
return _typeof(obj);
[177] Fix | Delete
}
[178] Fix | Delete
[179] Fix | Delete
module.exports = _typeof;
[180] Fix | Delete
[181] Fix | Delete
/***/ })
[182] Fix | Delete
[183] Fix | Delete
/******/ });
[184] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function