vendor: 5,968 bytes, line 1
1const pe=()=>{if(typeof wp>"u"||!(wp!=null&&wp.data))throw new Error("wp.data is not available. Make sure WordPress is loaded.");return wp.data},gn=(...r)=>pe().subscribe(...r),En=(...r)=>pe().select(...r),_n=(...r)=>pe().dispatch(...r),An=(...r)=>pe().useSelect(...r);var _t;const hn=typeof wc<"u"&&((_t=wc==null?void 0:wc.wcBlocksData)!=null&&_t.VALIDATION_STORE_KEY)?wc.wcBlocksData.VALIDATION_STORE_KEY:void 0,Sn="wc/store/cart";var At;const Rn=typeof wp<"u"&&((At=wp==null?void 0:wp.data)!=null&&At.select)?wp.data.select("wc/store/cart"):void 0;/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */const{entries:ht,setPrototypeOf:ft,isFrozen:Vt,getPrototypeOf:Kt,getOwnPropertyDescriptor:$t}=Object;let{freeze:S,seal:y,create:ve}=Object,{apply:ke,construct:Ue}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});y||(y=function(o){return o});ke||(ke=function(o,i){for(var s=arguments.length,c=new Array(s>2?s-2:0),b=2;b<s;b++)c[b-2]=arguments[b];return o.apply(i,c)});Ue||(Ue=function(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];return new o(...s)});const ce=R(Array.prototype.forEach),qt=R(Array.prototype.lastIndexOf),ut=R(Array.prototype.pop),$=R(Array.prototype.push),Zt=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ie=R(String.prototype.toString),we=R(String.prototype.match),q=R(String.prototype.replace),Jt=R(String.prototype.indexOf),Qt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),Z=en(TypeError);function R(r){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];return ke(r,o,s)}}function en(r){return function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return Ue(r,i)}}function l(r,o){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ft&&ft(r,null);let s=o.length;for(;s--;){let c=o[s];if(typeof c=="string"){const b=i(c);b!==c&&(Vt(o)||(o[s]=b),c=b)}r[c]=!0}return r}function tn(r){for(let o=0;o<r.length;o++)L(r,o)||(r[o]=null);return r}function C(r){const o=ve(null);for(const[i,s]of ht(r))L(r,i)&&(Array.isArray(s)?o[i]=tn(s):s&&typeof s=="object"&&s.constructor===Object?o[i]=C(s):o[i]=s);return o}function J(r,o){for(;r!==null;){const s=$t(r,o);if(s){if(s.get)return R(s.get);if(typeof s.value=="function")return R(s.value)}r=Kt(r)}function i(){return null}return i}const pt=S(["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"]),Ce=S(["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"]),Me=S(["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"]),nn=S(["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"]),xe=S(["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"]),on=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),dt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","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","
1spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Pe=S(["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"]),Tt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","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"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),an=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),rn=y(/<%[\w\W]*|[\w\W]*%>/gm),sn=y(/\$\{[\w\W]*/gm),ln=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),cn=y(/^aria-[\-\w]+$/),St=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fn=y(/^(?:\w+script|data):/i),un=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Rt=y(/^html$/i),pn=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var gt=Object.freeze({__proto__:null,ARIA_ATTR:cn,ATTR_WHITESPACE:un,CUSTOM_ELEMENT:pn,DATA_ATTR:ln,DOCTYPE_NAME:Rt,ERB_EXPR:rn,IS_ALLOWED_URI:St,IS_SCRIPT_OR_DATA:fn,MUSTACHE_EXPR:an,TMPLIT_EXPR:sn});const Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},mn=function(){return typeof window>"u"?null:window},dn=function(o,i){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let s=null;const c="data-tt-policy-suffix";i&&i.hasAttribute(c)&&(s=i.getAttribute(c));const b="dompurify"+(s?"#"+s:"");try{return o.createPolicy(b,{createHTML(P){return P},createScriptURL(P){return P}})}catch(P){return console.warn("TrustedTypes policy "+b+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function bt(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mn();const o=a=>bt(a);if(o.version="3.3.0",o.removed=[],!r||!r.document||r.document.nodeType!==Q.document||!r.Element)return o.isSupported=!1,o;let{document:i}=r;const s=i,c=s.currentScript,{DocumentFragment:b,HTMLTemplateElement:P,Node:me,Element:Fe,NodeFilter:B,NamedNodeMap:Ot=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:yt,DOMParser:Lt,trustedTypes:ee}=r,Y=Fe.prototype,Dt=J(Y,"cloneNode"),Nt=J(Y,"remove"),It=J(Y,"nextSibling"),wt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof P=="function"){const a=i.createElement("template");a.content&&a.content.ownerDocument&&(i=a.content.ownerDocument)}let _,j="";const{implementation:de,createNodeIterator:Ct,createDocumentFragment:Mt,getElementsByTagName:xt}=i,{importNode:Pt}=s;let A=Et();o.isSupported=typeof ht=="function"&&typeof te=="function"&&de&&de.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Te,ERB_EXPR:ge,TMPLIT_EXPR:Ee,DATA_ATTR:vt,ARIA_ATTR:kt,IS_SCRIPT_OR_DATA:Ut,ATTR_WHITESPACE:He,CUSTOM_ELEMENT:Ft}=gt;let{IS_ALLOWED_URI:ze}=gt,m=null;const We=l({},[...pt,...Ce,...Me,...xe,...mt]);let T=null;const Ge=l({},[...dt,...Pe,...Tt,...fe]);let u=Object.seal(ve(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}})),X=null,_e=null;const v=Object.seal(ve(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Be=!0,Ae=!0,Ye=!1,je=!0,k=!1,ne=!0,M=!1,he=!1,Se=!1,U=!1,oe=!1,ie=!1,Xe=!0,Ve=!1;const Ht="user-content-";let Re=!0,V=!1,F={},H=null;const Ke=l({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $e=null;const qe=l({},["audio","video","img","source","image","track"]);let be=null;const Ze=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml";let z=N,Oe=!1,ye=null;
vendor: 6,512 bytes, line 1
1const zt=l({},[ae,re,N],Ie);let se=l({},["mi","mo","mn","ms","mtext"]),le=l({},["annotation-xml"]);const Wt=l({},["title","style","font","a","script"]);let K=null;const Gt=["application/xhtml+xml","text/html"],Bt="text/html";let d=null,W=null;const Yt=i.createElement("form"),Je=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(W&&W===e)){if((!e||typeof e!="object")&&(e={}),e=C(e),K=Gt.indexOf(e.PARSER_MEDIA_TYPE)===-1?Bt:e.PARSER_MEDIA_TYPE,d=K==="application/xhtml+xml"?Ie:ue,m=L(e,"ALLOWED_TAGS")?l({},e.ALLOWED_TAGS,d):We,T=L(e,"ALLOWED_ATTR")?l({},e.ALLOWED_ATTR,d):Ge,ye=L(e,"ALLOWED_NAMESPACES")?l({},e.ALLOWED_NAMESPACES,Ie):zt,be=L(e,"ADD_URI_SAFE_ATTR")?l(C(Ze),e.ADD_URI_SAFE_ATTR,d):Ze,$e=L(e,"ADD_DATA_URI_TAGS")?l(C(qe),e.ADD_DATA_URI_TAGS,d):qe,H=L(e,"FORBID_CONTENTS")?l({},e.FORBID_CONTENTS,d):Ke,X=L(e,"FORBID_TAGS")?l({},e.FORBID_TAGS,d):C({}),_e=L(e,"FORBID_ATTR")?l({},e.FORBID_ATTR,d):C({}),F=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Be=e.ALLOW_ARIA_ATTR!==!1,Ae=e.ALLOW_DATA_ATTR!==!1,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,M=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,Se=e.FORCE_BODY||!1,Xe=e.SANITIZE_DOM!==!1,Ve=e.SANITIZE_NAMED_PROPS||!1,Re=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,ze=e.ALLOWED_URI_REGEXP||St,z=e.NAMESPACE||N,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Je(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Je(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),k&&(Ae=!1),oe&&(U=!0),F&&(m=l({},mt),T=[],F.html===!0&&(l(m,pt),l(T,dt)),F.svg===!0&&(l(m,Ce),l(T,Pe),l(T,fe)),F.svgFilters===!0&&(l(m,Me),l(T,Pe),l(T,fe)),F.mathMl===!0&&(l(m,xe),l(T,Tt),l(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?v.tagCheck=e.ADD_TAGS:(m===We&&(m=C(m)),l(m,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?v.attributeCheck=e.ADD_ATTR:(T===Ge&&(T=C(T)),l(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&l(be,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===Ke&&(H=C(H)),l(H,e.FORBID_CONTENTS,d)),Re&&(m["#text"]=!0),M&&l(m,["html","head","body"]),m.table&&(l(m,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,j=_.createHTML("")}else _===void 0&&(_=dn(ee,c)),_!==null&&typeof j=="string"&&(j=_.createHTML(""));S&&S(e),W=e}},Qe=l({},[...Ce,...Me,...nn]),et=l({},[...xe,...on]),jt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===N?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Qe[n]:e.namespaceURI===ae?t.namespaceURI===N?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!et[n]:e.namespaceURI===N?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!et[n]&&(Wt[n]||!Qe[n]):!!(K==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){$(o.removed,{element:e});try{te(e).removeChild(e)}catch(t){Nt(e)}},x=function(e,t){try{$(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){$(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||oe)try{D(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},tt=function(e){let t=null,n=null;if(Se)e="<remove></remove>"+e;else{const p=we(e,/^[\r\n\t ]+/);n=p&&p[0]}K==="application/xhtml+xml"&&z===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=_?_.createHTML(e):e;if(z===N)try{t=new Lt().parseFromString(f,K)}catch(p){}if(!t||!t.documentElement){t=de.createDocument(z,"template",null);try{t.documentElement.innerHTML=Oe?j:f}catch(p){}}const E=t.body||t.documentElement;return e&&n&&E.insertBefore(i.createTextNode(n),E.childNodes[0]||null),z===N?xt.call(t,M?"html":"body")[0]:M?t.documentElement:E},nt=function(e){return Ct.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},De=function(e){return e instanceof yt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Ot)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},ot=function(e){return typeof me=="function"&&e instanceof me};function I(a,e,t){ce(a,n=>{n.call(o,e,t,W)})}const it=function(e){let t=null;if(I(A.beforeSanitizeElements,e,null),De(e))return D(e),!0;const n=d(e.nodeName);if(I(A.uponSanitizeElement,e,{tagName:n,allowedTags:m}),ne&&e.hasChildNodes()&&!ot(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&h(/<[/\w]/g,e.data))return D(e),!0;if(!(v.tagCheck instanceof Function&&v.tagCheck(n))&&(!m[n]||X[n])){if(!X[n]&&rt(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Re&&!H[n]){const f=te(e)||e.parentNode,E=wt(e)||e.childNodes;if(E&&f){const p=E.length;for(let O=p-1;O>=0;--O){const w=Dt(E[O],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,It(e))}}}return D(e),!0}return e instanceof Fe&&!jt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(k&&e.nodeType===Q.text&&(t=e.textContent,ce([Te,ge,Ee],f=>{t=q(t,f," ")}),e.textContent!==t&&($(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(A.afterSanitizeElements,e,null),!1)},at=function(e,t,n){if(Xe&&(t==="id"||t==="name")&&(n in i||n in Yt))return!1;if(!(Ae&&!_e[t]&&h(vt,t))){if(!(Be&&h(kt,t))){if(!(v.attributeCheck instanceof Function&&v.attributeCheck(t,e))){if
vendor: 4,858 bytes, line 1
1(!T[t]||_e[t]){if(!(rt(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!be[t]){if(!h(ze,q(n,He,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Jt(n,"data:")===0&&$e[e])){if(!(Ye&&!h(Ut,q(n,He,"")))){if(n)return!1}}}}}}}return!0},rt=function(e){return e!=="annotation-xml"&&we(e,Ft)},st=function(e){I(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||De(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const E=t[f],{name:p,namespaceURI:O,value:w}=E,G=d(p),Ne=w;let g=p==="value"?Ne:Qt(Ne);if(n.attrName=G,n.attrValue=g,n.keepAttr=!0,n.forceKeepAttr=void 0,I(A.uponSanitizeAttribute,e,n),g=n.attrValue,Ve&&(G==="id"||G==="name")&&(x(p,e),g=Ht+g),ne&&h(/((--!?|])>)|<\/(style|title|textarea)/i,g)){x(p,e);continue}if(G==="attributename"&&we(g,"href")){x(p,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){x(p,e);continue}if(!je&&h(/\/>/i,g)){x(p,e);continue}k&&ce([Te,ge,Ee],ct=>{g=q(g,ct," ")});const lt=d(e.nodeName);if(!at(lt,G,g)){x(p,e);continue}if(_&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!O)switch(ee.getAttributeType(lt,G)){case"TrustedHTML":{g=_.createHTML(g);break}case"TrustedScriptURL":{g=_.createScriptURL(g);break}}if(g!==Ne)try{O?e.setAttributeNS(O,p,g):e.setAttribute(p,g),De(e)?D(e):ut(o.removed)}catch(ct){x(p,e)}}I(A.afterSanitizeAttributes,e,null)},Xt=function a(e){let t=null;const n=nt(e);for(I(A.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(A.uponSanitizeShadowNode,t,null),it(t),st(t),t.content instanceof b&&a(t.content);I(A.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(a){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,E=null;if(Oe=!a,Oe&&(a="<!-->"),typeof a!="string"&&!ot(a))if(typeof a.toString=="function"){if(a=a.toString(),typeof a!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return a;if(he||Le(e),o.removed=[],typeof a=="string"&&(V=!1),V){if(a.nodeName){const w=d(a.nodeName);if(!m[w]||X[w])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(a instanceof me)t=tt("<!---->"),n=t.ownerDocument.importNode(a,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!U&&!k&&!M&&a.indexOf("<")===-1)return _&&ie?_.createHTML(a):a;if(t=tt(a),!t)return U?null:ie?j:""}t&&Se&&D(t.firstChild);const p=nt(V?a:t);for(;f=p.nextNode();)it(f),st(f),f.content instanceof b&&Xt(f.content);if(V)return a;if(U){if(oe)for(E=Mt.call(t.ownerDocument);t.firstChild;)E.appendChild(t.firstChild);else E=t;return(T.shadowroot||T.shadowrootmode)&&(E=Pt.call(s,E,!0)),E}let O=M?t.outerHTML:t.innerHTML;return M&&m["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(Rt,t.ownerDocument.doctype.name)&&(O="<!DOCTYPE "+t.ownerDocument.doctype.name+">\n"+O),k&&ce([Te,ge,Ee],w=>{O=q(O,w," ")}),_&&ie?_.createHTML(O):O},o.setConfig=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(a),he=!0},o.clearConfig=function(){W=null,he=!1},o.isValidAttribute=function(a,e,t){W||Le({});const n=d(a),f=d(e);return at(n,f,t)},o.addHook=function(a,e){typeof e=="function"&&$(A[a],e)},o.removeHook=function(a,e){if(e!==void 0){const t=qt(A[a],e);return t===-1?void 0:Zt(A[a],t,1)[0]}return ut(A[a])},o.removeHooks=function(a){A[a]=[]},o.removeAllHooks=function(){A=Et()},o}var Tn=bt();function bn(r,o){if(typeof window>"u"){let i=r;return i=i.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,""),i=i.replace(/\s*on\w+\s*=\s*["'][^"']*["']/gi,""),i=i.replace(/\s*on\w+\s*=\s*[^\s>]*/gi,""),i=i.replace(/\s*(href|src|xlink:href)\s*=\s*["']?\s*javascript:/gi,""),i=i.replace(/\s*(href|src|xlink:href)\s*=\s*["']?\s*data:(?!image\/(png|jpeg|gif|webp|svg\+xml))/gi,""),i=i.replace(/\s*style\s*=\s*["'][^"']*expression\s*\([^"']*["']/gi,""),i=i.replace(/\s*style\s*=\s*["'][^"']*javascript:[^"']*["']/gi,""),i=i.replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,""),i=i.replace(/<embed\b[^<]*(?:(?!<\/embed>)<[^<]*)*<\/embed>/gi,""),i=i.replace(/<object\b[^<]*(?:(?!<\/object>)<[^<]*)*<\/object>/gi,""),i=i.replace(/<foreignObject\b[^<]*(?:(?!<\/foreignObject>)<[^<]*)*<\/foreignObject>/gi,""),i=i.replace(/<use\b[^<]*(?:(?!<\/use>)<[^<]*)*<\/use>/gi,""),i}return Tn.sanitize(r,{ALLOW_DATA_ATTR:!1,...o})}export{hn as V,Sn as W,gn as a,En as b,Rn as c,_n as d,bn as s,An as u};
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.