(function(){return function(t,e,n){var l=e.getNullSpan();if(!n.html||0===n.html.length||!t||0===t.length)return l;n.html=n.html.replace(/\s+/g," ");for(var r=0;r<t.length&&!l.exists();r++){var h=n.html.match(t[r]);h&&2===h.length&&(l=e.getSpan().next(h[1].trim()),l.exists()||(l=e.getDetachedSpan(h[1].trim())))}return l}}).call();