(self.webpackChunkwebhelp=self.webpackChunkwebhelp||[]).push([["jquery-highlight"],{7180:(e,a,r)=>{var i,t,n;t=[r(4796)],void 0===(n="function"==typeof(i=function(e){e.extend({highlight:function(a,r,i,t,n,c){if(3===a.nodeType){var l=(c?e.removeDiacritcs(a.data):a.data).match(r);if(l){var u=document.createElement(i||"span");u.className=t||"highlight";var s=a.data.indexOf(l[1],l.index),h=a.splitText(s);h.splitText(l[1].length);var d=h.cloneNode(!0);return u.appendChild(d),h.parentNode.replaceChild(u,h),"function"==typeof n&&n(u),1}}else if(1===a.nodeType&&a.childNodes&&!/(script|style)/i.test(a.tagName)&&(a.tagName!==i.toUpperCase()||a.className!==t))for(var o=0;o<a.childNodes.length;o++)o+=e.highlight(a.childNodes[o],r,i,t,n,c);return 0},removeDiacritcs:function(e){return e.replace(/[\u00c0-\u00c6]/g,"A").replace(/[\u00e0-\u00e6]/g,"a").replace(/[\u00c7]/g,"C").replace(/[\u00e7]/g,"c").replace(/[\u00c8-\u00cb]/g,"E").replace(/[\u00e8-\u00eb]/g,"e").replace(/[\u00cc-\u00cf]/g,"I").replace(/[\u00ec-\u00ef]/g,"i").replace(/[\u00d1|\u0147]/g,"N").replace(/[\u00f1|\u0148]/g,"n").replace(/[\u00d2-\u00d8|\u0150]/g,"O").replace(/[\u00f2-\u00f8|\u0151]/g,"o").replace(/[\u0160]/g,"S").replace(/[\u0161]/g,"s").replace(/[\u00d9-\u00dc]/g,"U").replace(/[\u00f9-\u00fc]/g,"u").replace(/[\u00dd]/g,"Y").replace(/[\u00fd]/g,"y")}}),e.fn.unhighlight=function(a){var r={className:"highlight",element:"span"};return e.extend(r,a),this.find(r.element+"."+r.className).each(function(){var e=this.parentNode;e.replaceChild(this.firstChild,this),e.normalize()}).end()},e.fn.highlight=function(a,r,i){var t={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1,wordsBoundary:"\\b",ignoreDiacritics:!1};if(e.extend(t,r),"string"==typeof a&&(a=[a]),a=e.grep(a,function(e){return""!=e}),0===(a=e.map(a,function(a){return t.ignoreDiacritics&&(a=e.removeDiacritcs(a)),a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).length)return this;var n=t.caseSensitive?"":"i",c="("+a.join("|")+")";t.wordsOnly&&(c=(t.wordsBoundaryStart||t.wordsBoundary)+c+(t.wordsBoundaryEnd||t.wordsBoundary));var l=new RegExp(c,n);return this.each(function(){e.highlight(this,l,t.element,t.className,i,t.ignoreDiacritics)})}})?i.apply(a,t):i)||(e.exports=n)}}]);
//