1jQuery(document).ready(function ($) { 2 //mob menu drop 3 $("body").on("click", ".mobmenu .menu-item-has-children", function () { 4 $(".menu-item-has-children").removeClass("active"); 5 $(this).addClass("active"); 6 }); 7 8 $("body").on( 9 "click", 10 ".mobmenu .menu-item-has-children > a", 11 function (event) { 12 event.preventDefault(); 13 }, 14 ); 15 16 setTimeout(function () { 17 $(".symposium-slider").slick({ 18 slidesToShow: 1, 19 slidesToScroll: 1, 20 dots: true, 21 arrows: false, 22 centerMode: false, 23 focusOnSelect: true, 24 autoplay: true, 25 autoplaySpeed: 4000, 26 }); 27 }, 2000); 28 29 const is_email = (email) => { 30 var email_regex = 31 /^([a-zA-Z0-9._%+-]+)@([a-zA-Z0-9.-]+\.[a-zA-Z]{2,})$/; 32 return email_regex.test(email); 33 }; 34 35 //Masterclass 36 // $('body').on('click', '.action-joinwaitlist-btn', function(event) { 37 38 // event.preventDefault(); 39 // let emailElement = $(this).parent().find('input'); 40 // emailElement.removeClass('error'); 41 // let email = emailElement.val(); 42 43 // if (!is_email(email)) { 44 // emailElement.addClass('error'); 45 // return false; 46 // } 47 48 // $.ajax({ 49 // type: "POST", 50 // url: MyAjax.ajaxurl, 51 // data: { 52 // action: "inter_form_joinwaitlist", 53 // email: email, 54 // }, 55 // success: function (response) { 56 57 // console.log(response); 58 59 // if(response.result == 'success'){ 60 // $('.action-joinwaitlist').html(`<div class="success">You joined the waitlist</div>`) 61 // }else{ 62 // emailElement.addClass('error'); 63 // } 64 65 // }, 66 // }); 67 68 // }); 69 70 //Symposium 71 $("body").on("click", ".symposium-subscribe-btn", function (event) { 72 event.preventDefault(); 73 let emailElement = $(this).parent().find("input"); 74 emailElement.removeClass("error"); 75 let email = emailElement.val(); 76 77 // Validate email 78 if (!is_email(email)) { 79 emailElement.addClass("error"); 80 return false; 81 } 82 83 // Get the reCAPTCHA site key from the DOM (where it's defined in HTML) 84 let siteKey = $(".g-recaptcha").data("sitekey"); 85 86 // Execute invisible reCAPTCHA 87 grecaptcha 88 .execute(siteKey, { action: "submit" }) 89 .then(function (token) { 90 $.ajax({ 91 type: "POST", 92 url: MyAjax.ajaxurl, 93 data: { 94 action: "inter_form_symposium", 95 email: email, 96 "g-recaptcha-response": token, // Pass the token to your server 97 }, 98 success: function (response) { 99 console.log(response); 100 101 if (response.result == "success") { 102 $(".symposium-subscribe").html( 103 `<div class="success">You joined the waitlist</div>`, 104 ); 105 } else { 106 emailElement.addClass("error"); 107 } 108 }, 109 }); 110 }); 111 }); 112 113 //Recaptcha lazy loaded 114 115 const recaptcha_render = (elementID) => { 116 if ($("#" + elementID).length) { 117 let widgetID = grecaptcha.render(elementID); 118 $("#" + elementID).attr("widgetId", widgetID); 119 } 120 }; 121 122 setTimeout(function () { 123 recaptcha_render("recaptcha-subscribe"); 124 recaptcha_render("recaptcha-report"); 125 recaptcha_render("recaptcha-book"); 126 recaptcha_render("recaptcha-masterclass"); 127 recaptcha_render("recaptcha-symposium"); 128 recaptcha_render("recaptcha-reportform"); 129 }, 2000); 130}); 131 132setTimeout(function () { 133 //Fixed chat 134 (function (d, m) { 135 var defaultSettings = { 136 defaultBotIds: ["marketing-ya2ui"], 137 defaultAssignee: "marketing-ya2ui", 138 skipRouting: true, 139 }; 140 var kommunicateSettings = { 141 appId: "2eb6f76653610343aeff8ccc0fce7ff79", 142 popupWidget: !true, 143 }; 144 kommunicateSettings.onInit = function () { 145 var css = ` 146 .mck-box-title { 147 font-size: 16px; 148 } 149 .mck-tab-title { 150 font-size: 16px !important; 151 } 152 153 .km-header-container 154 .km-conversation-header-title-container 155 .mck-row 156 .mck-back-btn-container { 157 width: 30px !important; 158 } 159 .km-header-container 160 .km-conversation-header-title-container 161 .mck-row 162 .mck-back-btn-container 163 .mck-conversation-tab-link { 164 width: 25px !important; 165 } 166 .mck-actionable-form input { 167 border: 2px solid #d1dde5 !important; 168 border-radius: 45px !important; 169 color: #000485; 170 font-size: 14px !important; 171 font-weight: 500; 172 letter-spacing: 0; 173 line-height: 20px; 174 background-color: #fafbfd; 175 } 176 .mck-actionable-form textarea { 177 border: 2px solid #d1dde5 !important; 178 border-radius: 10px !important; 179 color: #000485; 180 font-size: 14px !important; 181 font-weight: 500; 182 letter-spacing: 0; 183 background-color: #fafbfd; 184 } 185 .mck-actionable-form textarea:focus { 186 border: 2px solid #d1dde5 !important; 187 } 188 input:disabled{ 189 background: transparent !important; 190 } 191 textarea:disabled{ 192 background: transparent !important; 193 } 194 .mck-actionable-form input:focus { 195 border: 2px solid #d1dde5 !important; 196 } 197 .mck-form-submit-button { 198 margin-top: 12px; 199 background-color: #000485 !important; 200 color: #fff !important; 201 padding: 8px; 202 width: 101px; 203 } 204 label{ 205 color: #000485 !important; 206 } 207 .mck-form-template-wrapper{ 208 box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; 209 background-color: #fff; 210 border-radius: 14px !important; 211 width: 100%; 212 } 213 `; 214 try { 215 window.kommunicate.updateSettings(defaultSettings); 216 window.kommunicate.customizeWidgetCss(css); 217 } catch (e) { 218 console.log(e?.message); 219 } 220 }; 221 kommunicateSettings.disableFormPostSubmit = true; 222 var s = document.createElement("script"); 223 s.type = "text/javascript"; 224 s.async = true; 225 s.src = "https://widget.kommunicate.io/v2/kommunicate.app"; 226 var h = document.getElementsByTagName("head")[0]; 227 h.appendChild(s); 228 window.kommunicate = m; 229 m._globals = kommunicateSettings; 230 })(document, window.kommunicate || {}); 231 232 //clarity.ms 233 234 (function (c, l, a, r, i, t, y) { 235 c[a] = 236 c[a] || 237 function () { 238 (c[a].q = c[a].q || []).push(arguments); 239 }; 240 t = l.createElement(r); 241 t.async = 1; 242 t.src = "https://www.clarity.ms/tag/" + i; 243 y = l.getElementsByTagName(r)[0]; 244 y.parentNode.insertBefore(t, y); 245 })(window, document, "clarity", "script", "do312hx6mm"); 246 247 !(function () { 248 var reb2b = (window.reb2b = window.reb2b || []); 249 if (reb2b.invoked) return; 250 reb2b.invoked = true; 251 reb2b.methods = ["identify", "collect"]; 252 reb2b.factory = function (method) { 253 return function () { 254 var args = Array.prototype.slice.call(arguments); 255 args.unshift(method); 256 reb2b.push(args); 257 return reb2b; 258 }; 259 }; 260 for (var i = 0; i < reb2b.methods.length; i++) { 261 var key = reb2b.methods[i]; 262 reb2b[key] = reb2b.factory(key); 263 } 264 reb2b.load = function (key) { 265 var script = document.createElement("script"); 266 script.type = "text/javascript"; 267 script.async = true; 268 script.src = 269 "https://s3-us-west-2.amazonaws.com/b2bjsstore/b/" + 270 key + 271 "/reb2b.js.gz"; 272 var first = document.getElementsByTagName("script")[0]; 273 first.parentNode.insertBefore(script, first); 274 }; 275 reb2b.SNIPPET_VERSION = "1.0.1"; 276 reb2b.load("7R6G5YHL5E65"); 277 })(); 278 279 //linkedin 280 281 _linkedin_partner_id = "4245508"; 282 window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || []; 283 window._linkedin_data_partner_ids.push(_linkedin_partner_id); 284 285 (function (l) { 286 if (!l) { 287 window.lintrk = function (a, b) { 288 window.lintrk.q.push([a, b]); 289 }; 290 window.lintrk.q = []; 291 } 292 var s = document.getElementsByTagName("script")[0]; 293 var b = document.createElement("script"); 294 b.type = "text/javascript"; 295 b.async = true; 296 b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js"; 297 s.parentNode.insertBefore(b, s); 298 })(window.lintrk); 299}, 2000);
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.