!function(E,z){"use strict";var D,L,T,$,S,F,A,M,N,q,H=z.$$minErr("$sanitize");z.module("ngSanitize",[]).provider("$sanitize",function(){var t=!1,r=!1;this.$get=["$$sanitizeUri",function(n){return t=!0,r&&L(h,u),function(e){var t=[];return N(e,q(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(e){return S(e)?(r=e,this):r},this.addValidElements=function(e){return t||($(e)&&(e={htmlElements:e}),y(u,e.svgElements),y(s,e.htmlVoidElements),y(h,e.htmlVoidElements),y(h,e.htmlElements)),this},this.addValidAttrs=function(e){return t||L(g,v(e,!0)),this},D=z.bind,L=z.extend,T=z.forEach,$=z.isArray,S=z.isDefined,F=z.$$lowercase,A=z.noop,N=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e);var n=x(e);if(!n)return"";var r=5;do{if(0===r)throw H("uinput","Failed to sanitize html because the input is unstable");r--,e=n.innerHTML,n=x(e)}while(e!==n.innerHTML);var i=n.firstChild;for(;i;){switch(i.nodeType){case 1:t.start(i.nodeName.toLowerCase(),k(i.attributes));break;case 3:t.chars(i.textContent)}var o;if(!((o=i.firstChild)||(1===i.nodeType&&t.end(i.nodeName.toLowerCase()),o=C("nextSibling",i))))for(;null==o&&(i=C("parentNode",i))!==n;)o=C("nextSibling",i),1===i.nodeType&&t.end(i.nodeName.toLowerCase());i=o}for(;i=n.firstChild;)n.removeChild(i)},q=function(e,o){var t=!1,a=D(e,e.push);return{start:function(i,e){i=F(i),!t&&d[i]&&(t=i),t||!0!==h[i]||(a("<"),a(i),T(e,function(e,t){var n=F(t),r="img"===i&&"src"===n||"background"===n;!0!==g[n]||!0===f[n]&&!o(e,r)||(a(" "),a(t),a('="'),a(w(e)),a('"'))}),a(">"))},end:function(e){e=F(e),t||!0!==h[e]||!0===s[e]||(a("</"),a(e),a(">")),e==t&&(t=!1)},chars:function(e){t||a(w(e))}}},M=E.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};var n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/([^#-~ |!])/g,s=b("area,br,col,hr,img,wbr"),e=b("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),o=b("rp,rt"),a=L({},o,e),l=L({},e,b("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),c=L({},o,b("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),u=b("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),d=b("script,style"),h=L({},s,l,c,a),f=b("background,cite,href,longdesc,src,xlink:href,xml:base"),m=b("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),p=b("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),g=L({},f,p,m);function b(e,t){return v(e.split(","),t)}function v(e,t){var n,r={};for(n=0;n<e.length;n++)r[t?F(e[n]):e[n]]=!0;return r}function y(e,t){t&&t.length&&L(e,v(t))}var x=function(n,t){if(function(){try{return!!i("")}catch(e){return!1}}())return i;if(!t||!t.implementation)throw H("noinert","Can't create an inert html document");var e=t.implementation.createHTMLDocument("inert"),r=(e.documentElement||e.getDocumentElement()).querySelector("body");return function(e){r.innerHTML=e,t.documentMode&&function e(t){for(;t;){if(t.nodeType===E.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r<i;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&e(s),t=C("nextSibling",t)}}(r);return r};function i(e){e="<remove></remove>"+e;try{var t=(new n.DOMParser).parseFromString(e,"text/html").body;return t.firstChild.remove(),t}catch(e){return}}}(E,E.document);function k(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function w(e){return e.replace(/&/g,"&amp;").replace(n,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(i,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function C(e,t){var n=t[e];if(n&&M.call(t,n))throw H("elclob","Failed to sanitize html because the element is clobbered: {0}",t.outerHTML||t.outerText);return n}}).info({angularVersion:"1.8.2"}),z.module("ngSanitize").filter("linky",["$sanitize",function(d){var h=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,f=/^mailto:/i,m=z.$$minErr("linky"),p=z.isDefined,g=z.isFunction,b=z.isObject,v=z.isString;return function(e,i,t){if(null==e||""===e)return e;if(!v(e))throw m("notstring","Expected string but received: {0}",e);for(var n,r,o,a=g(t)?t:b(t)?function(){return t}:function(){return{}},s=e,l=[];n=s.match(h);)r=n[0],n[2]||n[4]||(r=(n[3]?"http://":"mailto:")+r),o=n.index,c(s.substr(0,o)),u(r,n[0].replace(f,"")),s=s.substring(o+n[0].length);return c(s),d(l.join(""));function c(e){e&&l.push(function(e){var t=[];return q(t,A).chars(e),t.join("")}(e))}function u(e,t){var n,r=a(e);for(n in l.push("<a "),r)l.push(n+'="'+r[n]+'" ');!p(i)||"target"in r||l.push('target="',i,'" '),l.push('href="',e.replace(/"/g,"&quot;"),'">'),c(t),l.push("</a>")}}}])}(window,window.angular);