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,OAAOL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,EAAO,E","sources":["webpack://constant-contact-forms/./assets/js/ctct-plugin-recaptcha-v2/recaptcha.js","webpack://constant-contact-forms/webpack/bootstrap","webpack://constant-contact-forms/webpack/runtime/compat get default export","webpack://constant-contact-forms/webpack/runtime/define property getters","webpack://constant-contact-forms/webpack/runtime/hasOwnProperty shorthand"],"sourcesContent":["/**\n * Enable submit button.\n *\n * @author Rebekah Van Epps \n * @since 1.8.3\n *\n * @param {Object} submitBtn Submit DOM element.\n */\nvar ctctEnableBtn = function( submitBtn ) {\n jQuery( submitBtn ).attr( \"disabled\", false );\n}\nwindow.ctctEnableBtn = ctctEnableBtn;\n\n/**\n * Disable submit button.\n *\n * @author Rebekah Van Epps \n * @since 1.8.3\n *\n * @param {Object} submitBtn Submit DOM element.\n */\nvar ctctDisableBtn = function( submitBtn ) {\n jQuery( submitBtn ).attr( \"disabled\", \"disabled\" );\n}\nwindow.ctctDisableBtn = ctctDisableBtn;\n\nvar renderReCaptcha = function() {\n jQuery( '.g-recaptcha' ).each( function( index, el ) {\n const submitBtn = jQuery( el ).siblings( '.ctct-form-field-submit' ).find( '.ctct-submit' );\n\n grecaptcha.render( el, {\n 'sitekey': jQuery( el ).attr( 'data-sitekey' ),\n 'size': jQuery( el ).attr( 'data-size' ),\n 'tabindex': jQuery( el ).attr( 'data-tabindex' ),\n 'callback': function() {\n window.ctctEnableBtn( submitBtn );\n },\n 'expired-callback': function() {\n window.ctctDisableBtn( submitBtn );\n },\n 'isolated': true,\n } );\n } );\n};\nwindow.renderReCaptcha = renderReCaptcha;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }"],"names":["window","ctctEnableBtn","submitBtn","jQuery","attr","ctctDisableBtn","renderReCaptcha","each","index","el","siblings","find","grecaptcha","render","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call"],"sourceRoot":""}