1// This function will be called when reCAPTCHA is verified 2// Exposed globally because it is called by the reCAPTCHA callback 3window.verifyRecaptcha = function(response) { 4 // If reCAPTCHA is verified, enable the submit button 5 const sendButton = document.querySelector('button[name="send"]'); 6 if (sendButton) { 7 sendButton.removeAttribute('disabled'); 8 } 9}; 10 11// Cal.com inline embed code 12document.addEventListener('DOMContentLoaded', () => { 13 // Check if the calendar container exists 14 if (!document.getElementById("my-cal-inline")) { 15 return; 16 } 17 18 (function (C, A, L) { 19 let p = function (a, ar) { 20 a.q.push(ar); 21 }; 22 let d = C.document; 23 C.Cal = C.Cal || function () { 24 let cal = C.Cal; 25 let ar = arguments; 26 if (!cal.loaded) { 27 cal.ns = {}; 28 cal.q = cal.q || []; 29 d.head.appendChild(d.createElement("script")).src = A; 30 cal.loaded = true; 31 } 32 if (ar[0] === L) { 33 const api = function () { 34 p(api, arguments); 35 }; 36 const namespace = ar[1]; 37 api.q = api.q || []; 38 typeof namespace === "string" ? (cal.ns[namespace] = api) && p(api, ar) : p(cal, ar); 39 return; 40 } 41 p(cal, ar); 42 }; 43 })(window, "https://app.cal.com/embed/embed.js", "init"); 44 45 Cal("init", "onboarding", {origin: "https://cal.com"}); 46 Cal.ns.onboarding("inline", { 47 elementOrSelector: "#my-cal-inline", 48 calLink: "talosgrowth/onboarding", 49 layout: "month_view" 50 }); 51 Cal.ns.onboarding("ui", { 52 "styles": {"branding": {"brandColor": "#000000"}}, 53 "hideEventTypeDetails": false, 54 "layout": "month_view" 55 }); 56});
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.