PageSourceSearch

https://shop.bonfiglioli.com/chunk-MZKZ7HRP.js

js bonfiglioli.com collected 2026-09-25 18:41:15 UTC 29,802 bytes, 3 lines download raw bytes

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