vendor: 7,081 bytes, lines 1-2
1import{$ as Mt,$c as kt,Ma as Pt,Ta as xt,nd as Ut}from"./chunk-B55Z224L.js";function vt(n,o){(o==null||o>n.length)&&(o=n.length);for(var a=0,l=Array(o);a<o;a++)l[a]=n[a];return l}function Pn(n){if(Array.isArray(n))return n}function xn(n,o){var a=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(a!=null){var l,u,m,N,re=[],w=!0,ie=!1;try{if(m=(a=a.call(n)).next,o!==0)for(;!(w=(l=m.call(a)).done)&&(re.push(l.value),re.length!==o);w=!0);}catch(Ie){ie=!0,u=Ie}finally{try{if(!w&&a.return!=null&&(N=a.return(),Object(N)!==N))return}finally{if(ie)throw u}}return re}}function kn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Un(n,o){return Pn(n)||xn(n,o)||vn(n,o)||kn()}function vn(n,o){if(n){if(typeof n=="string")return vt(n,o);var a={}.toString.call(n).slice(8,-1);return a==="Object"&&n.constructor&&(a=n.constructor.name),a==="Map"||a==="Set"?Array.from(n):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?vt(n,o):void 0}}var Zt=Object.entries,Ft=Object.setPrototypeOf,Fn=Object.isFrozen,zn=Object.getPrototypeOf,Hn=Object.getOwnPropertyDescriptor,O=Object.freeze,R=Object.seal,oe=Object.create,Jt=typeof Reflect<"u"&&Reflect,Qe=Jt.apply,et=Jt.construct;O||(O=function(o){return o});R||(R=function(o){return o});Qe||(Qe=function(o,a){for(var l=arguments.length,u=new Array(l>2?l-2:0),m=2;m<l;m++)u[m-2]=arguments[m];return o.apply(a,u)});et||(et=function(o){for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];return new o(...l)});var me=A(Array.prototype.forEach),Gn=A(Array.prototype.lastIndexOf),zt=A(Array.prototype.pop),ne=A(Array.prototype.push),Bn=A(Array.prototype.splice),Y=Array.isArray,_e=A(String.prototype.toLowerCase),Ve=A(String.prototype.toString),Ht=A(String.prototype.match),de=A(String.prototype.replace),Gt=A(String.prototype.indexOf),Wn=A(String.prototype.trim),Yn=A(Number.prototype.toString),jn=A(Boolean.prototype.toString),Bt=typeof BigInt>"u"?null:A(BigInt.prototype.toString),Wt=typeof Symbol>"u"?null:A(Symbol.prototype.toString),y=A(Object.prototype.hasOwnProperty),Te=A(Object.prototype.toString),b=A(RegExp.prototype.test),q=$n(TypeError);function A(n){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var a=arguments.length,l=new Array(a>1?a-1:0),u=1;u<a;u++)l[u-1]=arguments[u];return Qe(n,o,l)}}function $n(n){return function(){for(var o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];return et(n,a)}}function f(n,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_e;if(Ft&&Ft(n,null),!Y(o))return n;let l=o.length;for(;l--;){let u=o[l];if(typeof u=="string"){let m=a(u);m!==u&&(Fn(o)||(o[l]=m),u=m)}n[u]=!0}return n}function Xn(n){for(let o=0;o<n.length;o++)y(n,o)||(n[o]=null);return n}function D(n){let o=oe(null);for(let l of Zt(n)){var a=Un(l,2);let u=a[0],m=a[1];y(n,u)&&(Y(m)?o[u]=Xn(m):m&&typeof m=="object"&&m.constructor===Object?o[u]=D(m):o[u]=m)}return o}function Vn(n){switch(typeof n){case"string":return n;case"number":return Yn(n);case"boolean":return jn(n);case"bigint":return Bt?Bt(n):"0";case"symbol":return Wt?Wt(n):"Symbol()";case"undefined":return Te(n);case"function":case"object":{if(n===null)return Te(n);let o=n,a=v(o,"toString");if(typeof a=="function"){let l=a(o);return typeof l=="string"?l:Te(l)}return Te(n)}default:return Te(n)}}function v(n,o){for(;n!==null;){let l=Hn(n,o);if(l){if(l.get)return A(l.get);if(typeof l.value=="function")return A(l.value)}n=zn(n)}function a(){return null}return a}function qn(n){try{return b(n,""),!0}catch{return!1}}var Yt=O(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),qe=O(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ke=O(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Kn=O(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ze=O(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Zn=O(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),jt=O(["#text"]),$t=O(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Je=O(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Xt=O(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ne=O(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Jn=R(/{{[\w\W]*|^[\w\W]*}}/g),Qn=R(/<%[\w\W]*|^[\w\W]*%>/g),eo=R(/\${[\w\W]*/g),to=R(/^data-[\-\w.\u00B7-\uFFFF]+$/),no=R(/^aria-[\-\w]+$/),Vt=R(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),oo=R(/^(?:\w+script|data):/i),ro=R(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),io=R(/^html$/i),ao=R(/^[a-z][.\w]*(-[.\w]+)+$/i),qt=R(/<[/\w!]/g),so=R(/<[/\w]/g),lo=R(/<\/no(script|embed|frames)/i),co=R(/\/>/i),U={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},uo=function(){return typeof window>"u"?null:window},fo=function(o,a){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let l=null,u="data-tt-policy-suffix";a&&a.hasAttribute(u)&&(l=a.getAttribute(u));let m="dompurify"+(l?"#"+l:"");try{return o.createPolicy(m,{createHTML(N){return N},createScriptURL(N){return N}})}catch{return console.warn("TrustedTypes policy "+m+" could not be created."),null}},Kt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},W=function(o,a,l,u){return y(o,a)&&Y(o[a])?f(u.base?D(u.base):{},o[a],u.transform):l};function Qt(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uo(),o=i=>Qt(i);if(o.version="3.4.11",o.removed=[],!n||!n.document||n.document.nodeType!==U.document||!n.Element)return o.isSupported=!1,o;let a=n.document,l=a,u=l.currentScript;n.DocumentFragment;let m=n.HTMLTemplateElement,N=n.Node,re=n.Element,w=n.NodeFilter,ie=n.NamedNodeMap;ie===void 0&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;let Ie=n.DOMParser,he=n.trustedTypes,j=re.prototype,nn=v(j,"cloneNode"),tt=v(j,"remove"),on=v(j,"nextSibling"),ae=v(j,"childNodes"),se=v(j,"parentNode"),nt=v(j,"shadowRoot"),De=v(j,"attributes"),C=N&&N.prototype?v(N.prototype,"nodeType"):null,z=N&&N.prototype?v(N.prototype,"nodeName"):null;if(typeof m=="function"){let i=a.createElement("template");i.content&&i.content.ownerDocument&&(a=i.content.ownerDocument)}let L,$="",Le,ot=!1,le=0,rt=function(){if(le>0)throw q('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},K=function(e){rt(),le++;try{return L.createHTML(e)}finally{le--}},rn=function(e){rt(),le++;try{return L.createScriptURL(e)}finally{le--}},an=function(){return ot||(Le=fo(he,u),ot=!0),Le},ge=a,we=ge.implementation,it=ge.createNodeIterator,sn=ge.createDocumentFragment,ln=ge.getElementsByTagName,cn=l.importNode,g=Kt();o.isSupported=typeof Zt=="function"&&typeof se=="function"&&we&&we.createHTMLDocument!==void 0;let un=Jn,fn=Qn,pn=eo,mn=to,dn=no,Tn=oo,at=ro,_n=ao,st=Vt,d=null,lt=f({},[...Yt,...qe,...Ke,...Ze,...jt]),T=null,ct=f({},[...$t,...Je,...Xt,...Ne]),_=Object.seal(oe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}}
vendor: 14,828 bytes, lines 2-3
2)),ce=null,ut=null,H=Object.seal(oe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ft=!0,Ce=!0,pt=!1,mt=!0,G=!1,ue=!0,X=!1,Me=!1,Pe=null,xe=null,ke=!1,Z=!1,Ee=!1,Ae=!1,dt=!0,Tt=!1,_t="user-content-",Ue=!0,ve=!1,J={},x=null,Fe=f({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ht=null,gt=f({},["audio","video","img","source","image","track"]),ze=null,Et=f({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Se="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",k="http://www.w3.org/1999/xhtml",Q=k,He=!1,Ge=null,hn=f({},[Se,ye,k],Ve),At=O(["mi","mo","mn","ms","mtext"]),Be=f({},At),St=O(["annotation-xml"]),We=f({},St),gn=f({},["title","style","font","a","script"]),fe=null,En=["application/xhtml+xml","text/html"],An="text/html",h=null,ee=null,Sn=a.createElement("form"),yt=function(e){return e instanceof RegExp||e instanceof Function},Ye=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ee&&ee===e)return;(!e||typeof e!="object")&&(e={}),e=D(e),fe=En.indexOf(e.PARSER_MEDIA_TYPE)===-1?An:e.PARSER_MEDIA_TYPE,h=fe==="application/xhtml+xml"?Ve:_e,d=W(e,"ALLOWED_TAGS",lt,{transform:h}),T=W(e,"ALLOWED_ATTR",ct,{transform:h}),Ge=W(e,"ALLOWED_NAMESPACES",hn,{transform:Ve}),ze=W(e,"ADD_URI_SAFE_ATTR",Et,{transform:h,base:Et}),ht=W(e,"ADD_DATA_URI_TAGS",gt,{transform:h,base:gt}),x=W(e,"FORBID_CONTENTS",Fe,{transform:h}),ce=W(e,"FORBID_TAGS",D({}),{transform:h}),ut=W(e,"FORBID_ATTR",D({}),{transform:h}),J=y(e,"USE_PROFILES")?e.USE_PROFILES&&typeof e.USE_PROFILES=="object"?D(e.USE_PROFILES):e.USE_PROFILES:!1,ft=e.ALLOW_ARIA_ATTR!==!1,Ce=e.ALLOW_DATA_ATTR!==!1,pt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,mt=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G=e.SAFE_FOR_TEMPLATES||!1,ue=e.SAFE_FOR_XML!==!1,X=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,Ee=e.RETURN_DOM_FRAGMENT||!1,Ae=e.RETURN_TRUSTED_TYPE||!1,ke=e.FORCE_BODY||!1,dt=e.SANITIZE_DOM!==!1,Tt=e.SANITIZE_NAMED_PROPS||!1,Ue=e.KEEP_CONTENT!==!1,ve=e.IN_PLACE||!1,st=qn(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Vt,Q=typeof e.NAMESPACE=="string"?e.NAMESPACE:k,Be=y(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS=="object"?D(e.MATHML_TEXT_INTEGRATION_POINTS):f({},At),We=y(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS=="object"?D(e.HTML_INTEGRATION_POINTS):f({},St);let t=y(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING=="object"?D(e.CUSTOM_ELEMENT_HANDLING):oe(null);if(_=oe(null),y(t,"tagNameCheck")&&yt(t.tagNameCheck)&&(_.tagNameCheck=t.tagNameCheck),y(t,"attributeNameCheck")&&yt(t.attributeNameCheck)&&(_.attributeNameCheck=t.attributeNameCheck),y(t,"allowCustomizedBuiltInElements")&&typeof t.allowCustomizedBuiltInElements=="boolean"&&(_.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),R(_),G&&(Ce=!1),Ee&&(Z=!0),J&&(d=f({},jt),T=oe(null),J.html===!0&&(f(d,Yt),f(T,$t)),J.svg===!0&&(f(d,qe),f(T,Je),f(T,Ne)),J.svgFilters===!0&&(f(d,Ke),f(T,Je),f(T,Ne)),J.mathMl===!0&&(f(d,Ze),f(T,Xt),f(T,Ne))),H.tagCheck=null,H.attributeCheck=null,y(e,"ADD_TAGS")&&(typeof e.ADD_TAGS=="function"?H.tagCheck=e.ADD_TAGS:Y(e.ADD_TAGS)&&(d===lt&&(d=D(d)),f(d,e.ADD_TAGS,h))),y(e,"ADD_ATTR")&&(typeof e.ADD_ATTR=="function"?H.attributeCheck=e.ADD_ATTR:Y(e.ADD_ATTR)&&(T===ct&&(T=D(T)),f(T,e.ADD_ATTR,h))),y(e,"ADD_URI_SAFE_ATTR")&&Y(e.ADD_URI_SAFE_ATTR)&&f(ze,e.ADD_URI_SAFE_ATTR,h),y(e,"FORBID_CONTENTS")&&Y(e.FORBID_CONTENTS)&&(x===Fe&&(x=D(x)),f(x,e.FORBID_CONTENTS,h)),y(e,"ADD_FORBID_CONTENTS")&&Y(e.ADD_FORBID_CONTENTS)&&(x===Fe&&(x=D(x)),f(x,e.ADD_FORBID_CONTENTS,h)),Ue&&(d["#text"]=!0),X&&f(d,["html","head","body"]),d.table&&(f(d,["tbody"]),delete ce.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let r=L;L=e.TRUSTED_TYPES_POLICY;try{$=K("")}catch(s){throw L=r,s}}else e.TRUSTED_TYPES_POLICY===null?(L=void 0,$=""):(L===void 0&&(L=an()),L&&typeof $=="string"&&($=K("")));O&&O(e),ee=e},bt=f({},[...qe,...Ke,...Kn]),Ot=f({},[...Ze,...Zn]),yn=function(e,t,r){return t.namespaceURI===k?e==="svg":t.namespaceURI===Se?e==="svg"&&(r==="annotation-xml"||Be[r]):!!bt[e]},bn=function(e,t,r){return t.namespaceURI===k?e==="math":t.namespaceURI===ye?e==="math"&&We[r]:!!Ot[e]},On=function(e,t,r){return t.namespaceURI===ye&&!We[r]||t.namespaceURI===Se&&!Be[r]?!1:!Ot[e]&&(gn[e]||!bt[e])},Rn=function(e){let t=se(e);(!t||!t.tagName)&&(t={namespaceURI:Q,tagName:"template"});let r=_e(e.tagName),s=_e(t.tagName);return Ge[e.namespaceURI]?e.namespaceURI===ye?yn(r,t,s):e.namespaceURI===Se?bn(r,t,s):e.namespaceURI===k?On(r,t,s):!!(fe==="application/xhtml+xml"&&Ge[e.namespaceURI]):!1},B=function(e){ne(o.removed,{element:e});try{se(e).removeChild(e)}catch{if(tt(e),!se(e))throw q("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Rt=function(e){let t=ae(e);if(t){let s=[];me(t,c=>{ne(s,c)}),me(s,c=>{try{tt(c)}catch{}})}let r=De(e);if(r)for(let s=r.length-1;s>=0;--s){let c=r[s],p=c&&c.name;if(typeof p=="string")try{e.removeAttribute(p)}catch{}}},V=function(e,t){try{ne(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{ne(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(Z||Ee)try{B(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Nn=function(e){let t=De(e);if(t)for(let r=t.length-1;r>=0;--r){let s=t[r],c=s&&s.name;if(!(typeof c!="string"||T[h(c)]))try{e.removeAttribute(c)}catch{}}},In=function(e){let t=[e];for(;t.length>0;){let r=t.pop();(C?C(r):r.nodeType)===U.element&&Nn(r);let c=ae(r);if(c)for(let p=c.length-1;p>=0;--p)t.push(c[p])}},Nt=function(e){let t=null,r=null;if(ke)e="<remove></remove>"+e;else{let p=Ht(e,/^[\r\n\t ]+/);r=p&&p[0]}fe==="application/xhtml+xml"&&Q===k&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let s=L?K(e):e;if(Q===k)try{t=new Ie().parseFromString(s,fe)}catch{}if(!t||!t.documentElement){t=we.createDocument(Q,"template",null);try{t.documentElement.innerHTML=He?$:s}catch{}}let c=t.body||t.documentElement;return e&&r&&c.insertBefore(a.createTextNode(r),c.childNodes[0]||null),Q===k?ln.call(t,X?"html":"body")[0]:X?t.documentElement:c},It=function(e){return it.call(e.ownerDocument||e,e,w.SHOW_ELEMENT|w.SHOW_COMMENT|w.SHOW_TEXT|w.SHOW_PROCESSING_INSTRUCTION|w.SHOW_CDATA_SECTION,null)},be=function(e){return e=de(e,un," "),e=de(e,fn," "),e=de(e,pn," "),e},je=function(e){var t;e.normalize();let r=it.call(e.ownerDocument||e,e,w.SHOW_TEXT|w.SHOW_COMMENT|w.SHOW_CDATA_SECTION|w.SHOW_PROCESSING_INSTRUCTION,null),s=r.nextNode();for(;s;)s.data=be(s.data),s=r.nextNode();let c=(t=e.querySelectorAll)===null||t===void 0?void 0:t.call(e,"template");c&&me(c,p=>{te(p.content)&&je(p.content)})},Oe=function(e){let t=z?z(e):null;return typeof t!="string"||h(t)!=="form"?!1:typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||e.attributes!==De(e)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function"||e.nodeType!==C(e)||e.childNodes!==ae(e)},te=function(e){if(!C||typeof e!="object"||e===null)return!1;try{return C(e)===U.documentFragment}catch{return!1}},pe=function(e){if(!C||typeof e!="object"||e===null)return!1;try{return typeof C(e)=="number"}catch{return!1}};function F(i,e,t){i.length!==0&&me(i,r=>{r.call(o,e,t,ee)})}let Dn=function(e,t){return!!(ue&&e.hasChildNodes()&&!pe(e.firstElementChild)&&b(qt,e.textContent)&&b(qt,e.innerHTML)||ue&&e.namespaceURI===k&&t==="style"&&pe(e.firstElementChild)||e.nodeType===U.processingInstruction||ue&&e.nodeType===U.comment&&b(so,e.data))},Ln=function(e,t){if(!ce[t]&&wt(t)&&(_.tagNameCheck instanceof RegExp&&b(_.tagNameCheck,t)||_.tagNameCheck instanceof Function&&_.tagNameCheck(t)))return!1;if(Ue&&!x[t]){let r=se(e),s=ae(e);if(s&&r){let c=s.length;for(let p=c-1;p>=0;--p){let S=ve?s[p]:nn(s[p],!0);r.insertBefore(S,on(e))}}}return B(e),!0},Dt=function(e){if(F(g.beforeSanitizeElements,e,null),Oe(e))return B(e),!0;let t=h(z?z(e):e.nodeName);if(F(g.uponSanitizeElement,e,{tagName:t,allowedTags:d}),Dn(e,t))return B(e),!0;if(ce[t]||!(H.tagCheck instanceof Function&&H.tagCheck(t))&&!d[t])return Ln(e,t);if((C?C(e):e.nodeType)===U.element&&!Rn(e)||(t==="noscript"||t==="noembed"||t==="noframes")&&b(lo,e.innerHTML))return B(e),!0;if(G&&e.nodeType===U.text){let s=be(e.textContent);e.textContent!==s&&(ne(o.removed,{element:e.cloneNode()}),e.textContent=s)}return F(g.afterSanitizeElements,e,null),!1},Lt=function(e,t,r){if(ut[t]||dt&&(t==="id"||t==="name")&&(r in a||r in Sn))return!1;let s=T[t]||H.attributeCheck instanceof Function&&H.attributeCheck(t,e);if(!(Ce&&b(mn,t))){if(!(ft&&b(dn,t))){if(s){if(!ze[t]){if(!b(st,de(r,at,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Gt(r,"data:")===0&&ht[e])){if(!(pt&&!b(Tn,de(r,at,"")))){if(r)return!1}}}}}else if(!(wt(e)&&(_.tagNameCheck instanceof RegExp&&b(_.tagNameCheck,e)||_.tagNameCheck instanceof Function&&_.tagNameCheck(e))&&(_.attributeNameCheck instanceof RegExp&&b(_.attributeNameCheck,t)||_.attributeNameCheck instanceof Function&&_.attributeNameCheck(t,e))||t==="is"&&_.allowCustomizedBuiltInElements&&(_.tagNameCheck instanceof RegExp&&b(_.tagNameCheck,r)||_.tagNameCheck instanceof Function&&_.tagNameCheck(r))))return!1}}return!0},wn=f({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),wt=function(e){return!wn[_e(e)]&&b(_n,e)},Cn=function(e,t,r,s){if(L&&typeof he=="object"&&typeof he.getAttributeType=="function"&&!r)switch(he.getAttributeType(e,t)){case"TrustedHTML":return K(s);case"TrustedScriptURL":return rn(s)}return s},Mn=function(e,t,r,s){try{r?e.setAttributeNS(r,t,s):e.setAttribute(t,s),Oe(e)?B(e):zt(o.removed)}catch{V(t,e)}},Ct=function(e){F(g.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||Oe(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},s=t.length,c=h(e.nodeName);for(;s--;){let p=t[s],S=p.name,E=p.namespaceURI,M=p.value,P=h(S),Xe=M,I=S==="value"?Xe:Wn(Xe);if(r.attrName=P,r.attrValue=I,r.keepAttr=!0,r.forceKeepAttr=void 0,F(g.uponSanitizeAttribute,e,r),I=r.attrValue,Tt&&(P==="id"||P==="name")&&Gt(I,_t)!==0&&(V(S,e),I=_t+I),ue&&b(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,I)){V(S,e);continue}if(P==="attributename"&&Ht(I,"href")){V(S,e);continue}if(!r.forceKeepAttr){if(!r.keepAttr){V(S,e);continue}if(!mt&&b(co,I)){V(S,e);continue}if(G&&(I=be(I)),!Lt(c,P,I)){V(S,e);continue}I=Cn(c,P,E,I),I!==Xe&&Mn(e,S,E,I)}}F(g.afterSanitizeAttributes,e,null)},Re=function(e){let t=null,r=It(e);for(F(g.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(F(g.uponSanitizeShadowNode,t,null),Dt(t),Ct(t),te(t.content)&&Re(t.content),(C?C(t):t.nodeType)===U.element){let c=nt(t);te(c)&&($e(c),Re(c))}F(g.afterSanitizeShadowDOM,e,null)},$e=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let r=t.pop();if(r.shadow){Re(r.shadow);continue}let s=r.node,p=(C?C(s):s.nodeType)===U.element,S=ae(s);if(S)for(let E=S.length-1;E>=0;--E)t.push({node:S[E],shadow:null});if(p){let E=z?z(s):null;if(typeof E=="string"&&h(E)==="template"){let M=s.content;te(M)&&t.push({node:M,shadow:null})}}if(p){let E=nt(s);te(E)&&t.push({node:null,shadow:E},{node:E,shadow:null})}}};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,r=null,s=null,c=null;if(He=!i,He&&(i="<!-->"),typeof i!="string"&&!pe(i)&&(i=Vn(i),typeof i!="string"))throw q("dirty is not a string, aborting");if(!o.isSupported)return i;Me?(d=Pe,T=xe):Ye(e),(g.uponSanitizeElement.length>0||g.uponSanitizeAttribute.length>0)&&(d=D(d)),g.uponSanitizeAttribute.length>0&&(T=D(T)),o.removed=[];let p=ve&&typeof i!="string"&&pe(i);if(p){let M=z?z(i):i.nodeName;if(typeof M=="string"){let P=h(M);if(!d[P]||ce[P])throw q("root node is forbidden and cannot be sanitized in-place")}if(Oe(i))throw q("root node is clobbered and cannot be sanitized in-place");try{$e(i)}catch(P){throw Rt(i),P}}else if(pe(i))t=Nt("<!---->"),r=t.ownerDocument.importNode(i,!0),r.nodeType===U.element&&r.nodeName==="BODY"||r.nodeName==="HTML"?t=r:t.appendChild(r),$e(r);else{if(!Z&&!G&&!X&&i.indexOf("<")===-1)return L&&Ae?K(i):i;if(t=Nt(i),!t)return Z?null:Ae?$:""}t&&ke&&B(t.firstChild);let S=It(p?i:t);try{for(;s=S.nextNode();)Dt(s),Ct(s),te(s.content)&&Re(s.content)}catch(M){throw p&&Rt(i),M}if(p)return me(o.removed,M=>{M.element&&In(M.element)}),G&&je(i),i;if(Z){if(G&&je(t),Ee)for(c=sn.call(t.ownerDocument);t.firstChild;)c.appendChild(t.firstChild);else c=t;return(T.shadowroot||T.shadowrootmode)&&(c=cn.call(l,c,!0)),c}let E=X?t.outerHTML:t.innerHTML;return X&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&b(io,t.ownerDocument.doctype.name)&&(E="<!DOCTYPE "+t.ownerDocument.doctype.name+`> 3`+E),G&&(E=be(E)),L&&Ae?K(E):E},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ye(i),Me=!0,Pe=d,xe=T},o.clearConfig=function(){ee=null,Me=!1,Pe=null,xe=null,L=Le,$=""},o.isValidAttribute=function(i,e,t){ee||Ye({});let r=h(i),s=h(e);return Lt(r,s,t)},o.addHook=function(i,e){typeof e=="function"&&y(g,i)&&ne(g[i],e)},o.removeHook=function(i,e){if(y(g,i)){if(e!==void 0){let t=Gn(g[i],e);return t===-1?void 0:Bn(g[i],t,1)[0]}return zt(g[i])}},o.removeHooks=function(i){y(g,i)&&(g[i]=[])},o.removeAllHooks=function(){g=Kt()},o}var en=Qt();var tn=class n{constructor(o){this.sanitizer=o}sanitizer;_platformService=Mt(Ut);transform(o,a){return this._platformService.runIfBrowser(()=>{let l=en.sanitize(o);switch(a){case"html":return this.sanitizer.bypassSecurityTrustHtml(l);case"style":return this.sanitizer.bypassSecurityTrustStyle(l);case"script":return this.sanitizer.bypassSecurityTrustScript(l);case"url":return this.sanitizer.bypassSecurityTrustUrl(l);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(l);default:throw new Error(`Invalid safe type specified: ${a}`)}})}static \u0275fac=function(a){return new(a||n)(Pt(kt,16))};static \u0275pipe=xt({name:"domSanitize",type:n,pure:!0})};export{tn as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.