/g,y=/"/g,k=/"/g,A=/([a-zA-Z0-9]*);?/gim,S=/:?/gim,T=/&newline;?/gim,I=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,j=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,z=/u\s*r\s*l\s*\(.*/gi;function C(t){return t.replace(y,""")}function _(t){return t.replace(k,'"')}function L(t){return t.replace(A,function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))})}function O(t){return t.replace(S,":").replace(T," ")}function M(t){for(var e="",r=0,o=t.length;r/g,W={whiteList:{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]},getDefaultWhiteList:function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]}},onTag:function(t,e,r){},onIgnoreTag:function(t,e,r){},onTagAttr:function(t,e,r){},onIgnoreTagAttr:function(t,e,r){},safeAttrValue:function(t,e,r,o){if(r=X(r),"href"===e||"src"===e){if("#"===(r=w(r)))return"#";if("http://"!==r.substr(0,7)&&"https://"!==r.substr(0,8)&&"mailto:"!==r.substr(0,7)&&"tel:"!==r.substr(0,4)&&"data:image/"!==r.substr(0,11)&&"ftp://"!==r.substr(0,6)&&"./"!==r.substr(0,2)&&"../"!==r.substr(0,3)&&"#"!==r[0]&&"/"!==r[0])return""}else if("background"===e){if(I.lastIndex=0,I.test(r))return""}else if("style"===e){if(j.lastIndex=0,j.test(r))return"";if(z.lastIndex=0,z.test(r)&&(I.lastIndex=0,I.test(r)))return"";!1!==o&&(r=(o=o||f).process(r))}return F(r)},escapeHtml:h,escapeQuote:C,unescapeQuote:_,escapeHtmlEntities:L,escapeDangerHtml5Entities:O,clearNonPrintableCharacter:M,friendlyAttrValue:X,escapeAttrValue:F,onIgnoreTagStripAll:function(){return""},StripTagBody:function(n,a){"function"!=typeof a&&(a=function(){});var s=!Array.isArray(n),l=[],c=!1;return{onIgnoreTag:function(t,e,r){if(s||-1!==v(n,t)){if(r.isClosing){var o="[/removed]",i=r.position+o.length;return l.push([!1!==c?c:r.position,i]),c=!1,o}return c||(c=r.position),"[removed]"}return a(t,e,r)},remove:function(e){var r="",o=0;return function(t,e,r){var o,i;if(Array.prototype.forEach)return t.forEach(e,r);for(o=0,i=t.length;o"===d){o+=r(t.slice(i,n)),c=q(u=t.slice(n,s+1)),o+=e(n,o.length,c,u,""===u.slice(0,2)),i=s+1,n=!1;continue}if('"'===d||"'"===d)for(var p=1,g=t.charAt(s-p);" "===g||"="===g;){if("="===g){a=d;continue t}g=t.charAt(s-++p)}}else if(d===a){a=!1;continue}}return i";var s=function(t){var e=x(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var r="/"===(t=w(t.slice(e+1,-1)))[t.length-1];return r&&(t=w(t.slice(0,-1))),{html:t,closing:r}}(r),l=u[i],c=U(s.html,function(t,e){var r,o=-1!==v(l,t);return Z(r=g(i,t,e,o))?o?(e=h(i,t,e,b))?t+'="'+e+'"':t:Z(r=f(i,t,e,o))?void 0:r:r});return r="<"+i,c&&(r+=" "+c),s.closing&&(r+=" /"),r+">"}return Z(n=p(i,r,a))?m(r):n},m);return r&&(o=r.remove(o)),o};var N=G,Q=r(function(t,e){function r(t,e){return new N(e).process(t)}for(var o in(e=t.exports=r).filterXSS=r,e.FilterXSS=N,W)e[o]=W[o];for(var o in P)e[o]=P[o];"undefined"!=typeof window&&(window.filterXSS=t.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}),J=Q.filterXSS,K=Q.FilterXSS,Y={onIgnoreTagAttr:function(t,e,r){if(t&&-1<["style","class"].indexOf(e))return"".concat(e,'="').concat(r,'"')},onIgnoreTag:function(t,e){if("style"===t)return e},whiteList:{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]}};function tt(t){return new K(Y).process(t)}var et=r(function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r