PageSourceSearch

https://staynalive.com/wp-content/themes/Divi/core/admin/js/recaptcha.js?ver=5.3.2

js staynalive.com collected 2026-10-01 14:38:56 UTC 3,003 bytes, 99 lines download raw bytes

1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
3{
4  let window = _____WB$wombat$assign$function_____("window");
5  let self = _____WB$wombat$assign$function_____("self");
6  let document = _____WB$wombat$assign$function_____("document");
7  let location = _____WB$wombat$assign$function_____("location");
8  let top = _____WB$wombat$assign$function_____("top");
9  let parent = _____WB$wombat$assign$function_____("parent");
10  let frames = _____WB$wombat$assign$function_____("frames");
11  let opener = _____WB$wombat$assign$function_____("opener");
12
13/**
14 * NOTE: A minified copy of this script will be generated by grunt. Only the minified file will be included in zipped releases.
15 *
16 * @file Handles reCAPTCHA on the frontend.
17 * @since 4.0.7
18 */
19
20
21(function($) {
22  window.etCore          = window.etCore || {};
23  window.etCore.api      = window.etCore.api || {};
24  window.etCore.api.spam = window.etCore.api.spam || {};
25
26  /**
27   * Recaptcha
28   *
29   * @since??
30   *
31   * @memberof window.etCore.api.spam
32   */
33  window.etCore.api.spam.recaptcha = $.extend( et_core_api_spam_recaptcha, {
34
35    _bindMethods: function(target) {
36      Object.keys(target).forEach(function(prop) {
37        if (target.hasOwnProperty(prop) && 'function' === typeof target[prop]) {
38          target[prop] = target[prop].bind(target);
39        }
40      });
41    },
42
43    init: function() {
44      this._bindMethods(this);
45
46      // Execute the default page-level action
47      window.grecaptcha && grecaptcha.execute(this.site_key, this.page_action);
48    },
49
50    isEnabled: function() {
51      return !! (this.site_key && window.grecaptcha);
52    },
53
54    /**
55     * Score an interaction to determine whether or not it's a bot.
56     *
57     * @since 4.0.7
58     *
59     * @param {string} action The name of the action being performed.
60     *
61     * @return {Promise<string>} Interaction token to be verified on server.
62     */
63    interaction: function(action) {
64      if (! this.site_key || ! window.grecaptcha) {
65        return Promise.resolve('');
66      }
67
68      return grecaptcha.execute(this.site_key, { action: action });
69    }
70  } );
71
72  window.grecaptcha && grecaptcha.ready(function() {
73    window.etCore.api.spam.recaptcha.init();
74  });
75
76})(jQuery);
77
78
79}
80/*
81     FILE ARCHIVED ON 03:38:06 Dec 28, 2019 AND RETRIEVED FROM THE
82     INTERNET ARCHIVE ON 09:14:16 May 09, 2024.
83     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
84
85     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
86     SECTION 108(a)(3)).
87*/
88/*
89playback timings (ms):
90  captures_list: 1.56
91  exclusion.robots: 0.254
92  exclusion.robots.policy: 0.241
93  esindex: 0.008
94  cdx.remote: 31.301
95  LoadShardBlock: 199.314 (3)
96  PetaboxLoader3.resolve: 210.917 (4)
97  PetaboxLoader3.datanode: 53.887 (4)
98  load_resource: 79.579
99*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.