wpseo-premium-contact-support-370.min.js 1.14 KB
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";!function(a){function b(b){var d="";return a.isEmptyObject(b)?d+="<em>Search history is empty.</em>":(d+="<table><tr><th>Searched for</th><th>Opened article</th></tr>",a.each(b,function(a,b){d+="<tr><td>"+a+"</td>",d+=c(b),d+="</tr>"}),d+="</table>"),d}function c(b){var c="",d=!0;return a.isEmptyObject(b)?c+="<td><em>No articles were opened.</em></td>":a.each(b,function(a,b){d===!1&&(c+="<td></td>"),c+="<td><a href='"+b.link+"'>"+b.title+"</a></td>",d=!1}),c}a(window).on("YoastSEO:ContactSupport",function(a,c){if(void 0!==c.usedQueries){var d=HS.beacon.get_helpscout_beacon_identity();d["User searched for"]=b(c.usedQueries),HS.beacon.identify(d)}HS.beacon.open()})}(jQuery)},{}]},{},[1]);