PageSourceSearch

https://tdcsm.ru/_nuxt/BElz_cze.js

js tdcsm.ru collected 2026-10-06 14:12:45 UTC 28,941 bytes, 3 lines download raw bytes

vendor: 7,028 bytes, lines 1-2
1function xt(o,i){(i==null||i>o.length)&&(i=o.length);for(var s=0,c=Array(i);s<i;s++)c[s]=o[s];return c}function Ln(o){if(Array.isArray(o))return o}function wn(o,i){var s=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(s!=null){var c,f,m,N,ue=[],P=!0,fe=!1;try{if(m=(s=s.call(o)).next,i!==0)for(;!(P=(c=m.call(s)).done)&&(ue.push(c.value),ue.length!==i);P=!0);}catch(we){fe=!0,f=we}finally{try{if(!P&&s.return!=null&&(N=s.return(),Object(N)!==N))return}finally{if(fe)throw f}}return ue}}function Cn(){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 Mn(o,i){return Ln(o)||wn(o,i)||Pn(o,i)||Cn()}function Pn(o,i){if(o){if(typeof o=="string")return xt(o,i);var s={}.toString.call(o).slice(8,-1);return s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set"?Array.from(o):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?xt(o,i):void 0}}const qt=Object.entries,kt=Object.setPrototypeOf,xn=Object.isFrozen,kn=Object.getPrototypeOf,vn=Object.getOwnPropertyDescriptor;let O=Object.freeze,R=Object.seal,ce=Object.create,Kt=typeof Reflect<"u"&&Reflect,ot=Kt.apply,rt=Kt.construct;O||(O=function(i){return i});R||(R=function(i){return i});ot||(ot=function(i,s){for(var c=arguments.length,f=new Array(c>2?c-2:0),m=2;m<c;m++)f[m-2]=arguments[m];return i.apply(s,f)});rt||(rt=function(i){for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f<s;f++)c[f-1]=arguments[f];return new i(...c)});const se=A(Array.prototype.forEach),Un=A(Array.prototype.lastIndexOf),vt=A(Array.prototype.pop),le=A(Array.prototype.push),Fn=A(Array.prototype.splice),X=Array.isArray,ge=A(String.prototype.toLowerCase),Je=A(String.prototype.toString),Ut=A(String.prototype.match),he=A(String.prototype.replace),Ft=A(String.prototype.indexOf),zn=A(String.prototype.trim),Hn=A(Number.prototype.toString),Gn=A(Boolean.prototype.toString),zt=typeof BigInt>"u"?null:A(BigInt.prototype.toString),Ht=typeof Symbol>"u"?null:A(Symbol.prototype.toString),b=A(Object.prototype.hasOwnProperty),_e=A(Object.prototype.toString),S=A(RegExp.prototype.test),Q=Bn(TypeError);function A(o){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f<s;f++)c[f-1]=arguments[f];return ot(o,i,c)}}function Bn(o){return function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];return rt(o,s)}}function p(o,i){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ge;if(kt&&kt(o,null),!X(i))return o;let c=i.length;for(;c--;){let f=i[c];if(typeof f=="string"){const m=s(f);m!==f&&(xn(i)||(i[c]=m),f=m)}o[f]=!0}return o}function Wn(o){for(let i=0;i<o.length;i++)b(o,i)||(o[i]=null);return o}function w(o){const i=ce(null);for(const c of qt(o)){var s=Mn(c,2);const f=s[0],m=s[1];b(o,f)&&(X(m)?i[f]=Wn(m):m&&typeof m=="object"&&m.constructor===Object?i[f]=w(m):i[f]=m)}return i}function Yn(o){switch(typeof o){case"string":return o;case"number":return Hn(o);case"boolean":return Gn(o);case"bigint":return zt?zt(o):"0";case"symbol":return Ht?Ht(o):"Symbol()";case"undefined":return _e(o);case"function":case"object":{if(o===null)return _e(o);const i=o,s=G(i,"toString");if(typeof s=="function"){const c=s(i);return typeof c=="string"?c:_e(c)}return _e(o)}default:return _e(o)}}function G(o,i){for(;o!==null;){const c=vn(o,i);if(c){if(c.get)return A(c.get);if(typeof c.value=="function")return A(c.value)}o=kn(o)}function s(){return null}return s}function jn(o){try{return S(o,""),!0}catch{return!1}}const Gt=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"]),et=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"]),$n=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"]),tt=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"]),Xn=O(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Bt=O(["#text"]),Wt=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"]),nt=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","dominant-baseline","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-orientation","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"]),Yt=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"]),Le=O(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vn=R(/{{[\w\W]*|^[\w\W]*}}/g),qn=R(/<%[\w\W]*|^[\w\W]*%>/g),Kn=R(/\${[\w\W]*/g),Zn=R(/^data-[\-\w.\u00B7-\uFFFF]+$/),Jn=R(/^aria-[\-\w]+$/),jt=R(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qn=R(/^(?:\w+script|data):/i),eo=R(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),to=R(/^html$/i),no=R(/^[a-z][.\w]*(-[.\w]+)+$/i),$t=R(/<[/\w!]/g),Xt=R(/<[/\w]/g),oo=R(/<\/no(script|embed|frames)/i),ro=R(/\/>/i),x={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},io=function(){return typeof window>"u"?null:window},ao=function(i,s){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let c=null;const f="data-tt-policy-suffix";s&&s.hasAttribute(f)&&(c=s.getAttribute(f));const m="dompurify"+(c?"#"+c:"");try{return i.createPolicy(m,{createHTML(N){return N},createScriptURL(N){return N}})}catch{return console.warn("TrustedTypes policy "+m+" could not be created."),null}},Vt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},$=function(i,s,c,f){return b(i,s)&&X(i[s])?p(f.base?w(f.base):{},i[s],f.transform):c};function Zt(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:io();const i=r=>Zt(r);if(i.version="3.4.12",i.removed=[],!o||!o.document||o.document.nodeType!==x.document||!o.Element)return i.isSupported=!1,i;let s=o.document;const c=s,f=c.currentScript;o.DocumentFragment;const m=o.HTMLTemplateElement,N=o.Node,ue=o.Element,P=o.NodeFilter,fe=o.NamedNodeMap;fe===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;const we=o.DOMParser,Ee=o.trustedTypes,V=ue.prototype,Jt=G(V,"cloneNode"),Ce=G(V,"remove"),Qt=G(V,"nextSibling"),ee=G(V,"childNodes"),q=G(V,"parentNode"),it=G(V,"shadowRoot"),Me=G(V,"attributes"),D=N&&N.prototype?G(N.prototype,"nodeType"):null,U=N&&N.prototype?G(N.prototype,"nodeName"):null;if(typeof m=="function"){const r=s.createElement("template");r.content&&r.content.ownerDocument&&(s=r.content.ownerDocument)}let C,K="",Pe,at=!1,pe=0;const st=function(){if(pe>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.')},te=function(e){st(),pe++;try{return C.createHTML(e)}finally{pe--}},en=function(e){st(),pe++;try{return C.createScriptURL(e)}finally{pe--}},tn=function(){return at||(Pe=ao(Ee,f),at=!0),Pe},Ae=s,xe=Ae.implementation,lt=Ae.createNodeIterator,nn=Ae.createDocumentFragment,on=Ae.getElementsByTagName,rn=c.importNode;let T=Vt();i.isSupported=typeof qt=="function"&&typeof q=="function"&&xe&&xe.createHTMLDocument!==void 0;const an=Vn,sn=qn,ln=Kn,cn=Zn,un=Jn,fn=Qn,ct=eo,pn=no;let ut=jt,h=null;
vendor: 5,977 bytes, line 2
2const ft=p({},[...Gt,...Qe,...et,...tt,...Bt]);let _=null;const pt=p({},[...Wt,...nt,...Yt,...Le]);let g=Object.seal(ce(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}})),me=null,mt=null;const B=Object.seal(ce(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let dt=!0,ke=!0,Tt=!1,ht=!0,W=!1,Y=!0,Z=!1,ve=!1,Ue=null,Fe=null,ze=!1,ne=!1,ye=!1,Se=!1,_t=!0,gt=!1;const Et="user-content-";let He=!0,Ge=!1,oe={},F=null;const Be=p({},["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"]);let At=null;const yt=p({},["audio","video","img","source","image","track"]);let We=null;const St=p({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",Oe="http://www.w3.org/2000/svg",z="http://www.w3.org/1999/xhtml";let re=z,Ye=!1,je=null;const mn=p({},[be,Oe,z],Je),bt=O(["mi","mo","mn","ms","mtext"]);let $e=p({},bt);const Ot=O(["annotation-xml"]);let Xe=p({},Ot);const dn=p({},["title","style","font","a","script"]);let de=null;const Tn=["application/xhtml+xml","text/html"],hn="text/html";let d=null,ie=null;const _n=s.createElement("form"),Rt=function(e){return e instanceof RegExp||e instanceof Function},Ve=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ie&&ie===e)return;(!e||typeof e!="object")&&(e={}),e=w(e),de=Tn.indexOf(e.PARSER_MEDIA_TYPE)===-1?hn:e.PARSER_MEDIA_TYPE,d=de==="application/xhtml+xml"?Je:ge,h=$(e,"ALLOWED_TAGS",ft,{transform:d}),_=$(e,"ALLOWED_ATTR",pt,{transform:d}),je=$(e,"ALLOWED_NAMESPACES",mn,{transform:Je}),We=$(e,"ADD_URI_SAFE_ATTR",St,{transform:d,base:St}),At=$(e,"ADD_DATA_URI_TAGS",yt,{transform:d,base:yt}),F=$(e,"FORBID_CONTENTS",Be,{transform:d}),me=$(e,"FORBID_TAGS",w({}),{transform:d}),mt=$(e,"FORBID_ATTR",w({}),{transform:d}),oe=b(e,"USE_PROFILES")?e.USE_PROFILES&&typeof e.USE_PROFILES=="object"?w(e.USE_PROFILES):e.USE_PROFILES:!1,dt=e.ALLOW_ARIA_ATTR!==!1,ke=e.ALLOW_DATA_ATTR!==!1,Tt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ht=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,W=e.SAFE_FOR_TEMPLATES||!1,Y=e.SAFE_FOR_XML!==!1,Z=e.WHOLE_DOCUMENT||!1,ne=e.RETURN_DOM||!1,ye=e.RETURN_DOM_FRAGMENT||!1,Se=e.RETURN_TRUSTED_TYPE||!1,ze=e.FORCE_BODY||!1,_t=e.SANITIZE_DOM!==!1,gt=e.SANITIZE_NAMED_PROPS||!1,He=e.KEEP_CONTENT!==!1,Ge=e.IN_PLACE||!1,ut=jn(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:jt,re=typeof e.NAMESPACE=="string"?e.NAMESPACE:z,$e=b(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS=="object"?w(e.MATHML_TEXT_INTEGRATION_POINTS):p({},bt),Xe=b(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS=="object"?w(e.HTML_INTEGRATION_POINTS):p({},Ot);const t=b(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING=="object"?w(e.CUSTOM_ELEMENT_HANDLING):ce(null);if(g=ce(null),b(t,"tagNameCheck")&&Rt(t.tagNameCheck)&&(g.tagNameCheck=t.tagNameCheck),b(t,"attributeNameCheck")&&Rt(t.attributeNameCheck)&&(g.attributeNameCheck=t.attributeNameCheck),b(t,"allowCustomizedBuiltInElements")&&typeof t.allowCustomizedBuiltInElements=="boolean"&&(g.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),R(g),W&&(ke=!1),ye&&(ne=!0),oe&&(h=p({},Bt),_=ce(null),oe.html===!0&&(p(h,Gt),p(_,Wt)),oe.svg===!0&&(p(h,Qe),p(_,nt),p(_,Le)),oe.svgFilters===!0&&(p(h,et),p(_,nt),p(_,Le)),oe.mathMl===!0&&(p(h,tt),p(_,Yt),p(_,Le))),B.tagCheck=null,B.attributeCheck=null,b(e,"ADD_TAGS")&&(typeof e.ADD_TAGS=="function"?B.tagCheck=e.ADD_TAGS:X(e.ADD_TAGS)&&(h===ft&&(h=w(h)),p(h,e.ADD_TAGS,d))),b(e,"ADD_ATTR")&&(typeof e.ADD_ATTR=="function"?B.attributeCheck=e.ADD_ATTR:X(e.ADD_ATTR)&&(_===pt&&(_=w(_)),p(_,e.ADD_ATTR,d))),b(e,"ADD_URI_SAFE_ATTR")&&X(e.ADD_URI_SAFE_ATTR)&&p(We,e.ADD_URI_SAFE_ATTR,d),b(e,"FORBID_CONTENTS")&&X(e.FORBID_CONTENTS)&&(F===Be&&(F=w(F)),p(F,e.FORBID_CONTENTS,d)),b(e,"ADD_FORBID_CONTENTS")&&X(e.ADD_FORBID_CONTENTS)&&(F===Be&&(F=w(F)),p(F,e.ADD_FORBID_CONTENTS,d)),He&&(h["#text"]=!0),Z&&p(h,["html","head","body"]),h.table&&(p(h,["tbody"]),delete me.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.');const n=C;C=e.TRUSTED_TYPES_POLICY;try{K=te("")}catch(a){throw C=n,a}}else e.TRUSTED_TYPES_POLICY===null?(C=void 0,K=""):(C===void 0&&(C=tn()),C&&typeof K=="string"&&(K=te("")));O&&O(e),ie=e},Nt=p({},[...Qe,...et,...$n]),It=p({},[...tt,...Xn]),gn=function(e,t,n){return t.namespaceURI===z?e==="svg":t.namespaceURI===be?e==="svg"&&(n==="annotation-xml"||$e[n]):!!Nt[e]},En=function(e,t,n){return t.namespaceURI===z?e==="math":t.namespaceURI===Oe?e==="math"&&Xe[n]:!!It[e]},An=function(e,t,n){return t.namespaceURI===Oe&&!Xe[n]||t.namespaceURI===be&&!$e[n]?!1:!It[e]&&(dn[e]||!Nt[e])},yn=function(e){let t=q(e);(!t||!t.tagName)&&(t={namespaceURI:re,tagName:"template"});const n=ge(e.tagName),a=ge(t.tagName);return je[e.namespaceURI]?e.namespaceURI===Oe?gn(n,t,a):e.namespaceURI===be?En(n,t,a):e.namespaceURI===z?An(n,t,a):!!(de==="application/xhtml+xml"&&je[e.namespaceURI]):!1},j=function(e){le(i.removed,{element:e});try{q(e).removeChild(e)}catch{if(Ce(e),!q(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")}},Re=function(e){qe(e);const t=ee(e);
2if(t){const a=[];se(t,l=>{le(a,l)}),se(a,l=>{try{Ce(l)}catch{}})}const n=Me(e);if(n)for(let a=n.length-1;a>=0;--a){const l=n[a],u=l&&l.name;if(typeof u=="string")try{e.removeAttribute(u)}catch{}}},J=function(e,t){try{le(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch{le(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(ne||ye)try{j(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Sn=function(e){const t=Me(e);if(t)for(let n=t.length-1;n>=0;--n){const a=t[n],l=a&&a.name;if(!(typeof l!="string"||_[d(l)]))try{e.removeAttribute(l)}catch{}}},qe=function(e){const t=[e];for(;t.length>0;){const n=t.pop();(D?D(n):n.nodeType)===x.element&&Sn(n);const l=ee(n);if(l)for(let u=l.length-1;u>=0;--u)t.push(l[u])}},bn=function(e){if(!Y)return;const t=[e];for(;t.length>0;){const n=t.pop(),a=D?D(n):n.nodeType;if(a===x.processingInstruction||a===x.comment&&S(Xt,n.data)){try{Ce(n)}catch{}continue}if(a===x.element){const u=n,E=d(U?U(n):n.nodeName);try{u.hasAttribute&&u.hasAttribute("patchsrc")&&u.removeAttribute("patchsrc"),u.hasAttribute&&u.hasAttribute("for")&&E!=="label"&&E!=="output"&&u.removeAttribute("for")}catch{}}const l=ee(n);if(l)for(let u=l.length-1;u>=0;--u)t.push(l[u])}},Dt=function(e){let t=null,n=null;if(ze)e="<remove></remove>"+e;else{const u=Ut(e,/^[\r\n\t ]+/);n=u&&u[0]}de==="application/xhtml+xml"&&re===z&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=C?te(e):e;if(re===z)try{t=new we().parseFromString(a,de)}catch{}if(!t||!t.documentElement){t=xe.createDocument(re,"template",null);try{t.documentElement.innerHTML=Ye?K:a}catch{}}const l=t.body||t.documentElement;return e&&n&&l.insertBefore(s.createTextNode(n),l.childNodes[0]||null),re===z?on.call(t,Z?"html":"body")[0]:Z?t.documentElement:l},Lt=function(e){return lt.call(e.ownerDocument||e,e,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)},Ne=function(e){return e=he(e,an," "),e=he(e,sn," "),e=he(e,ln," "),e},Ke=function(e){var t;e.normalize();const n=lt.call(e.ownerDocument||e,e,P.SHOW_TEXT|P.SHOW_COMMENT|P.SHOW_CDATA_SECTION|P.SHOW_PROCESSING_INSTRUCTION,null);let a=n.nextNode();for(;a;)a.data=Ne(a.data),a=n.nextNode();const l=(t=e.querySelectorAll)===null||t===void 0?void 0:t.call(e,"template");l&&se(l,u=>{ae(u.content)&&Ke(u.content)})},Ie=function(e){const t=U?U(e):null;return typeof t!="string"||d(t)!=="form"?!1:typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||e.attributes!==Me(e)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function"||e.nodeType!==D(e)||e.childNodes!==ee(e)},ae=function(e){if(!D||typeof e!="object"||e===null)return!1;try{return D(e)===x.documentFragment}catch{return!1}},Te=function(e){if(!D||typeof e!="object"||e===null)return!1;try{return typeof D(e)=="number"}catch{return!1}};function H(r,e,t){r.length!==0&&se(r,n=>{n.call(i,e,t,ie)})}const On=function(e,t){return!!(Y&&e.hasChildNodes()&&!Te(e.firstElementChild)&&S($t,e.textContent)&&S($t,e.innerHTML)||Y&&e.namespaceURI===z&&t==="style"&&Te(e.firstElementChild)||e.nodeType===x.processingInstruction||Y&&e.nodeType===x.comment&&S(Xt,e.data))},Rn=function(e,t){if(!me[t]&&Mt(t)&&(g.tagNameCheck instanceof RegExp&&S(g.tagNameCheck,t)||g.tagNameCheck instanceof Function&&g.tagNameCheck(t)))return!1;if(He&&!F[t]){const n=q(e),a=ee(e);if(a&&n){const l=a.length;for(let u=l-1;u>=0;--u){const E=Ge?a[u]:Jt(a[u],!0);n.insertBefore(E,Qt(e))}}}return j(e),!0},wt=function(e,t){if(H(T.beforeSanitizeElements,e,null),e!==t&&q(e)===null)return!0;if(Ie(e))return j(e),!0;const n=d(U?U(e):e.nodeName);if(H(T.uponSanitizeElement,e,{tagName:n,allowedTags:h}),e!==t&&q(e)===null)return!0;if(On(e,n))return j(e),!0;if(me[n]||!(B.tagCheck instanceof Function&&B.tagCheck(n))&&!h[n]){const l=Rn(e,n);return l===!1&&H(T.afterSanitizeElements,e,null),l}if((D?D(e):e.nodeType)===x.element&&!yn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&S(oo,e.innerHTML))return j(e),
2!0;if(W&&e.nodeType===x.text){const l=Ne(e.textContent);e.textContent!==l&&(le(i.removed,{element:e.cloneNode()}),e.textContent=l)}return H(T.afterSanitizeElements,e,null),!1},Ct=function(e,t,n){if(mt[t]||Y&&t==="patchsrc"||Y&&t==="for"&&e!=="label"&&e!=="output"||_t&&(t==="id"||t==="name")&&(n in s||n in _n))return!1;const a=_[t]||B.attributeCheck instanceof Function&&B.attributeCheck(t,e);if(!(ke&&S(cn,t))){if(!(dt&&S(un,t))){if(a){if(!We[t]){if(!S(ut,he(n,ct,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Ft(n,"data:")===0&&At[e])){if(!(Tt&&!S(fn,he(n,ct,"")))){if(n)return!1}}}}}else if(!(Mt(e)&&(g.tagNameCheck instanceof RegExp&&S(g.tagNameCheck,e)||g.tagNameCheck instanceof Function&&g.tagNameCheck(e))&&(g.attributeNameCheck instanceof RegExp&&S(g.attributeNameCheck,t)||g.attributeNameCheck instanceof Function&&g.attributeNameCheck(t,e))||t==="is"&&g.allowCustomizedBuiltInElements&&(g.tagNameCheck instanceof RegExp&&S(g.tagNameCheck,n)||g.tagNameCheck instanceof Function&&g.tagNameCheck(n))))return!1}}return!0},Nn=p({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Mt=function(e){return!Nn[ge(e)]&&S(pn,e)},In=function(e,t,n,a){if(C&&typeof Ee=="object"&&typeof Ee.getAttributeType=="function"&&!n)switch(Ee.getAttributeType(e,t)){case"TrustedHTML":return te(a);case"TrustedScriptURL":return en(a)}return a},Dn=function(e,t,n,a){try{n?e.setAttributeNS(n,t,a):e.setAttribute(t,a),Ie(e)?j(e):vt(i.removed)}catch{J(t,e)}},Pt=function(e){H(T.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||Ie(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_,forceKeepAttr:void 0};let a=t.length;const l=d(e.nodeName);for(;a--;){const u=t[a],E=u.name,I=u.namespaceURI,k=u.value,M=d(E),v=k;let L=E==="value"?v:zn(v);if(n.attrName=M,n.attrValue=L,n.keepAttr=!0,n.forceKeepAttr=void 0,H(T.uponSanitizeAttribute,e,n),L=n.attrValue,gt&&(M==="id"||M==="name")&&Ft(L,Et)!==0&&(J(E,e),L=Et+L),Y&&S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,L)){J(E,e);continue}if(M==="attributename"&&Ut(L,"href")){J(E,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){J(E,e);continue}if(!ht&&S(ro,L)){J(E,e);continue}if(W&&(L=Ne(L)),!Ct(l,M,L)){J(E,e);continue}L=In(l,M,I,L),L!==v&&Dn(e,E,I,L)}}H(T.afterSanitizeAttributes,e,null)},De=function(e){let t=null;const n=Lt(e);for(H(T.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(H(T.uponSanitizeShadowNode,t,null),wt(t,e),Pt(t),ae(t.content)&&De(t.content),(D?D(t):t.nodeType)===x.element){const l=it(t);ae(l)&&(Ze(l),De(l))}H(T.afterSanitizeShadowDOM,e,null)},Ze=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const n=t.pop();if(n.shadow){De(n.shadow);continue}const a=n.node,u=(D?D(a):a.nodeType)===x.element,E=ee(a);if(E)for(let I=E.length-1;I>=0;--I)t.push({node:E[I],shadow:null});if(u){const I=U?U(a):null;if(typeof I=="string"&&d(I)==="template"){const k=a.content;ae(k)&&t.push({node:k,shadow:null})}}if(u){const I=it(a);
vendor: 2,508 bytes, lines 2-3
2ae(I)&&t.push({node:null,shadow:I},{node:I,shadow:null})}}};return i.sanitize=function(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,a=null,l=null;if(Ye=!r,Ye&&(r="<!-->"),typeof r!="string"&&!Te(r)&&(r=Yn(r),typeof r!="string"))throw Q("dirty is not a string, aborting");if(!i.isSupported)return r;ve?(h=Ue,_=Fe):Ve(e),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(h=w(h)),T.uponSanitizeAttribute.length>0&&(_=w(_)),i.removed=[];const u=Ge&&typeof r!="string"&&Te(r);if(u){bn(r);const M=U?U(r):r.nodeName;if(typeof M=="string"){const v=d(M);if(!h[v]||me[v])throw Re(r),Q("root node is forbidden and cannot be sanitized in-place")}if(Ie(r))throw Re(r),Q("root node is clobbered and cannot be sanitized in-place");try{Ze(r)}catch(v){throw Re(r),v}}else if(Te(r))t=Dt("<!---->"),n=t.ownerDocument.importNode(r,!0),n.nodeType===x.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n),Ze(n);else{if(!ne&&!W&&!Z&&r.indexOf("<")===-1)return C&&Se?te(r):r;if(t=Dt(r),!t)return ne?null:Se?K:""}t&&ze&&j(t.firstChild);const E=u?r:t,I=Lt(E);try{for(;a=I.nextNode();)wt(a,E),Pt(a),ae(a.content)&&De(a.content)}catch(M){throw u&&(Re(r),se(i.removed,v=>{v.element&&qe(v.element)})),M}if(u)return se(i.removed,M=>{M.element&&qe(M.element)}),W&&Ke(r),r;if(ne){if(W&&Ke(t),ye)for(l=nn.call(t.ownerDocument);t.firstChild;)l.appendChild(t.firstChild);else l=t;return(_.shadowroot||_.shadowrootmode)&&(l=rn.call(c,l,!0)),l}let k=Z?t.outerHTML:t.innerHTML;return Z&&h["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&S(to,t.ownerDocument.doctype.name)&&(k="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
3`+k),W&&(k=Ne(k)),C&&Se?te(k):k},i.setConfig=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ve(r),ve=!0,Ue=h,Fe=_},i.clearConfig=function(){ie=null,ve=!1,Ue=null,Fe=null,C=Pe,K=""},i.isValidAttribute=function(r,e,t){ie||Ve({});const n=d(r),a=d(e);return Ct(n,a,t)},i.addHook=function(r,e){typeof e=="function"&&b(T,r)&&le(T[r],e)},i.removeHook=function(r,e){if(b(T,r)){if(e!==void 0){const t=Un(T[r],e);return t===-1?void 0:Fn(T[r],t,1)[0]}return vt(T[r])}},i.removeHooks=function(r){b(T,r)&&(T[r]=[])},i.removeAllHooks=function(){T=Vt()},i}var y=Zt(),so=y;y.sanitize.bind(y);y.isSupported;y.addHook.bind(y);y.removeHook.bind(y);y.removeHooks.bind(y);y.removeAllHooks.bind(y);y.setConfig.bind(y);y.clearConfig.bind(y);y.isValidAttribute.bind(y);y.version;y.removed;export{so as default};

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.