1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31237],{31237:(e,t,n)=>{n.d(t,{DV:()=>em,R7:()=>ed});var r,i,a,o,l=n(71055);(r=a||(a={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",a.Root,a.Text,a.Directive,a.Comment,a.Script,a.Style,a.Tag,a.CDATA,a.Doctype;let{error:s}=console,c=[a.Comment,a.Directive,a.CDATA];function p({text:e="",name:t,type:n}){let r=l.useRef(null);return l.useLayoutEffect(()=>{let i=null,o=null,l=null,c={[a.Comment]:e=>globalThis.document.createComment(e),[a.Directive]:(e,t="")=>globalThis.document.createProcessingInstruction(t,e),[a.CDATA]:e=>globalThis.document.createCDATASection(e)};if(r.current){o=(i=r.current).parentNode,l=c[n]?.(` ${e?.trim()||""} `,t);try{l&&o&&o.contains(i)&&o.replaceChild(l,i)}catch(e){s(e)}}return()=>{o&&i&&l&&o.replaceChild(i,l)}},[t,e,n]),l.createElement("span",{ref:r,style:{display:"none"}})}(i=o||(o={})).Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype";let d=o.Root,u=o.Text,f=o.Directive,m=o.Comment,h=o.Script,g=o.Style,y=o.Tag,b=o.CDATA;o.Doctype;let x=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),v="function"==typeof String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function w(e){let t,n=0,{length:r}=e;for(let i=0;i<r;i++){let r=e.charCodeAt(i);if(r<128&&((0x500000c4>>>r&1)==0||r>=64||r<32))continue;if(void 0===t?t=e.substring(0,i):n!==i&&(t+=e.substring(n,i)),r<64){t+=x.get(r),n=i+1;continue}let a=v(e,i);t+=`&#x${a.toString(16)};`,a!==r&&i++,n=i+1}return void 0===t?e:(n<r&&(t+=e.substr(n)),t)}function C(e,t){return function(n){let r,i=0,a="";for(;r=e.exec(n);)i!==r.index&&(a+=n.substring(i,r.index)),a+=t.get(r[0].charCodeAt(0)),i=r.index+1;return a+n.substring(i)}}let T=C(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),S=C(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),A=new Map("altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath 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 foreignObject glyphRef linearGradient radialGradient textPath".split(" ").map(e=>[e.toLowerCase(),e])),k=new Map("definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan".split(" ").map(e=>[e.toLowerCase(),e])),N=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),D=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),P=new Set(["svg","math"]),j=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" ")),L=function(e,t={}){let n="length"in e?e:[e],r=t.xmlMode??!1,i="";for(let e=0;e<n.length;e++)i+=I(n[e],t,r);return i};function O(e,t,n){let r="";for(let i=0;i<e.length;i++)r+=I(e[i],t,n);return r}function I(e,t,n){switch(e.type){case d:return O(e.children,t,n);case f:return`<${e.data}>`;case m:return`<!--${e.data}-->`;case b:return`<![CDATA[${e.children[0].data}]]>`;case h:case g:case y:return function(e,t,n){"foreign"===n&&(e.name=A.get(e.n
1ame)??e.name,e.parent&&j.has(e.parent.name)&&(n=!1)),!n&&P.has(e.name)&&(n="foreign");let{name:r,children:i}=e,a=!n&&D.has(r),o=`<${r}${function(e,t,n){if(!e)return"";let r=(t.encodeEntities??t.decodeEntities)===!1?M:n||"utf8"!==t.encodeEntities?w:T,i="foreign"===n,a=!!(t.emptyAttrs??n),o="";for(let t in e){if(!Object.hasOwn(e,t))continue;let n=e[t],l=i?k.get(t)??t:t;o+=a||null!=n&&""!==n?` ${l}="${r(null==n?"":String(n))}"`:` ${l}`}return o}(e.attribs,t,n)}`;return 0===i.length&&(n?!1!==t.selfClosingTags:t.selfClosingTags&&a)?o+=n?"/>":" />":(o+=">",i.length>0&&(o+=O(i,t,n)),a||(o+=`</${r}>`)),o}(e,t,n);case u:{let r=e.data||"";if((t.encodeEntities??t.decodeEntities)!==!1&&!(!n&&e.parent&&N.has(e.parent.name)))return n||"utf8"!==t.encodeEntities?w(r):S(r);return r}}}function M(e){return e.replaceAll('"',""")}var $=n(62654);let E={"accept-charset":"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",classid:"classID",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",
1novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef"},F=/^[a-zA-Z][a-zA-Z:_.\-\d]*$/,R={},W=new Set(["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]);function _(e){let t=R[e];if(void 0!==t)return t;let n="ref"!==e&&F.test(e);return R[e]=n,n}let H=Symbol.for("bonsai.renderSlot"),q=new WeakMap;function G(e){return null!=e&&!0!==e}let U=Symbol.for("react.element"),z=Symbol.for("react.transitional.element"),B=[a.Tag,a.Text],V=new Set("a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.link.main.map.mark.math.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rb.rp.rt.rtc.ruby.s.samp.script.section.select.slot.small.source.span.strong.style.sub.summary.sup.svg.table.tbody.td.template.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr".split(".")),Z=new Set("a.animate.animateMotion.animateTransform.circle.clipPath.defs.desc.ellipse.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.filter.foreignObject.g.image.line.linearGradient.marker.mask.metadata.mpath.path.pattern.polygon.polyline.radialGradient.rect.script.set.stop.style.switch.symbol.text.textPath.title.tspan.use.view".split(".")),J=new Set("acronym.applet.basefont.big.blink.center.command.content.dir.element.font.frame.frameset.isindex.keygen.listing.marquee.menuitem.multicol.nextid.noembed.plaintext.shadow.strike.tt.xmp".split(".")),K=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),X=new Set(c),Y=/^[A-Z]/,Q=/^[a-z]/,ee=/\.jsxs?[)\s(]/,et=new WeakMap;function en(e){let t=et.get(e);if(void 0!==t)return t;if(e.$$typeof||e.displayName)return et.set(e,!0),!0;if(e.name){if(Y.test(e.name))return et.set(e,!0),!0;if(Q.test(e.name))return et.set(e,!1),!1}let n=ee.test(e.toString());return et.set(e,n),n}let er="transform";function ei(e){if(e?.length)return e[e.length-1]}function ea(e,t={}){if(!e)return t;let n={};for(let t of Object.keys(e)){if(t===er||"name"===t)continue;let r=ei(e[t]);r&&(n[t]=function(e){return"function"!=typeof e||en(e)?e:function(t,n,r){return e(t,n,{...r,options:e.options??{}})}}(r))}return Object.keys(n).length?{...n,...t}:t}function eo(e,t){if(t)return t;let n=ei(e?.[er]);if(!(!n||"function"!=typeof n))return(e,t,r)=>n(e,t,{...r,options:n.options??{}})}function el(e){return!!e&&(e.$$typeof===U||e.$$typeof===z)}function es(e,t){return e&&"function"==typeof e&&!en(e)?t(e):e}var ec=class{#e;#t;#n;#r;#i;#a=new Set(V);#o=new Set(Z);#l;#s=new Set(B);constructor({adapter:e,allowedHtmlTags:t=[],allowedNodeTypes:n=B,id:r="",includeNodeProp:i=!1,nestingLimit:a=100,renderNodeId:o=!1,siblingComponent:l,siblingComponentPosition:s,componentWrapper:c,transform:p,trim:d,views:u={},renderCallbacks:f,honorRenderClaims:m=!1}){this.allowedHtmlTags=t,this.allowedNodeTypes=n,this.attribs=e.attribs||"attribs",this.name=e.name||"name",this.type=e.type||"type",this.#e=e,this.#r=m,this.#t=ea(f,{}),this.#n=eo(f),this.views=ea(f,u),this.transform=eo(f,p),this.renderNodeId=o,this.idPrefix=r?`${r}.`:"",this.siblingComponent=l,this.siblingComponentPosition=s,this.componentWrapper=c,this.includeNodeProp=i,this.trim=d,this.nestingLimit=a,this.deprecatedTagsFound=new Set}#c(e){return this.#r&&(0,$.K9)(e,this.#e)}#p(){if(this.#i!==this.allowedHtmlTags){this.#i=this.allowedHtmlTags,this.#a=new Set(V),this.#o=new Set(Z);for(let e=0;e<this.allowedHtmlTags.length;e+=1){let t=this.allowedHtmlTags[e];this.#a.add(t),this.#o.add(t)}}}#d(e){return"all"===this.allowedNodeTypes||(this.#l!==this.allowedNodeTypes&&(this.#l=this.allowedNodeTypes,this.#s=new Set(this.allowedNodeTypes)),this.#s.has(e))}#u(e,t){return this.#p(),t?this.#o.has(e):this.#a.has(e)}
1convertNodes({nodes:e,parentIndex:t=null,parentNode:n=null,isWithinSvg:r=!1,nestingLevel:i=0,skipped:o=null}){let s=[],{length:c}=e,d=r;!d&&n&&"svg"===n.name&&(d=!0);for(let u=0;u<c;u+=1){let f=e[u],{_data:m}=f,h=f[this.type],g=t?`${t}.${u}`:`${this.idPrefix}${u}`,y=this.renderNodeId&&(!t||"all"===this.renderNodeId)&&{"data-node-id":g},b=!!m,x=b?Object.fromEntries(Object.entries(m).filter(([e])=>e!==$.Ew)):void 0,v={...x&&x,...y,key:g};if(!this.#d(h)){o&&o.push(f);continue}let w=this.#c(f),C=w?this.#t:this.views,T=function(e){if(!e||"object"!=typeof e)return;let t=q.get(e);return void 0!==t?t:q==q?e[H]:void 0}(f);if(!1===T)continue;if(f.type!==a.Tag&&f.type!==a.Script&&f.type!==a.Style){if(h===a.Text){let{data:e=""}=f,t=!e.trim().length;if(t&&!0===this.trim||"function"==typeof this.trim&&!0===this.trim(e,{isEmpty:t,siblingLength:c}))continue;let r=es(G(T)?T:C?.[h],r=>r(e,{},{index:g,node:f,parentNode:n,isEmpty:t}));if(!1===r)continue;r&&!0!==r?el(r)?s.push(l.createElement(l.Fragment,{key:g},r)):s.push(l.createElement(r,{...v,...b&&{_data:m},...this.includeNodeProp&&r&&"string"!=typeof r&&{node:f,parentNode:n}},e)):s.push(e);continue}X.has(h)&&s.push(l.createElement(p,{key:g,name:f.name,text:f.data,type:h}));continue}let S=f[this.name],A=f[this.attribs]||{},k=this.#u(S,r),N=!k&&J.has(S);N&&this.deprecatedTagsFound.add(S);let D=!k&&!N,P=es(G(T)?T:C?.[S]??C?.[h],e=>e(S,A,{index:g,node:f,parentNode:n,isCustomElement:D}));if(!1===P)continue;let j=!!P;if(!P||!0===P){if(D){if(!_(S))continue;S.includes("-")||(P=`${S.toLowerCase()}-embed`,A["data-embed"]=1)}else{let e=w?this.#n:this.transform;e&&(P=e(S,A,{index:g,node:f,parentNode:n}))}P||=S}let O=null,I=el(P);if(!I&&f.children&&f.children.length&&!K.has(S))if(i<=this.nestingLimit){let e=[];
1if(O=this.convertNodes({nodes:f.children,parentIndex:g,parentNode:f,isWithinSvg:d,nestingLevel:i+1,skipped:e}),!O?.length&&!j&&!e?.length){s.push(" ");continue}}else v.dangerouslySetInnerHTML={__html:typeof window>"u"?f.children.map(e=>(function(e,t={}){let{renderCallbacks:n,...r}=t;if(!n||!Object.keys(n).length)return L(e,r);let i=new Map,a=L(function e(t,n,r,i){if(Array.isArray(t))return t.map(t=>e(t,n,r,i)).filter(e=>null!=e);if(function(e){if(!e||"object"!=typeof e)return!1;let t=e.type;return"tag"===t||"script"===t||"style"===t||1===t}(t)){let e=function(e,t){if(!e.name)return;let n=t[e.name];if(n?.length)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r(e,{renderer:"html",options:r.options??{}});if("string"==typeof i||!1===i)return i}}(t,n);if(!1===e)return null;if("string"==typeof e){let t=`${i}${r.size}`;return r.set(t,e),{type:"comment",data:t}}}if(!t||"object"!=typeof t)return t;let a=t.children;if(!Array.isArray(a)||!a.length)return t;let o=!1,l=[];for(let t of a){let a=e(t,n,r,i);if(a!==t&&(o=!0),null==a){o=!0;continue}l.push(a)}return o?{...t,children:l}:t}(e,n,i,`bonsai-render-${Math.random().toString(36).slice(2)}-`),r);for(let[e,t]of i)a=a.replace(`<!--${e}-->`,()=>t);return a})(e)).join(""):""},"u">typeof window&&(v.suppressHydrationWarning=!0);let M=null;if(this.siblingComponent&&y){let e=l.createElement(this.siblingComponent,{key:`sibling-${g}`,node:f,nodeId:g});"before"===this.siblingComponentPosition?s.push(e):M=e}let F=null;F=I||el(P)?l.createElement(l.Fragment,{key:g},P):l.createElement(P,{...function(e={},t=!1){let n={};for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||!_(r))continue;let i=t?r:r.toLowerCase(),a=E[i]||i,o=e[r];if(!t&&W.has(i)){if(!1===o||0===o||"0"===o||"false"===o)continue;o=a}"style"===a&&"string"==typeof o&&(o=function(e=""){let t={};if(""===e)return t;let n=0;for(;n<e.length;){let r=e.indexOf(";",n);-1===r&&(r=e.length);let i=e.slice(n,r);n=r+1;let a=i.indexOf(":");if(-1===a)continue;let o=i.slice(0,a).trim().toLowerCase(),l=i.slice(a+1).trim().toLowerCase();if(o.startsWith("--")){t[o]=l;continue}t[o.replace(/^-ms-/,"ms-").replace(/-(.)/g,(e,t)=>t.toUpperCase())]=l}return t}(o)),n[a]=o}return n}(A,j),...v,...b&&{_data:m},...this.includeNodeProp&&P&&"string"!=typeof P&&{node:f,parentNode:n}},O),D&&this.componentWrapper&&(F=l.createElement(this.componentWrapper,{...y,key:`wrapper-${g}`},F)),s.push(F),M&&s.push(M)}return this.deprecatedTagsFound.size&&!n&&this.deprecatedTagsFound.clear(),s}};function ep(e,t,n){let r,i="string"==typeof(r=t[n])?r:n;return void 0===e[i]?i===n?void 0:e[n]:e[i]}let ed={"[data-embed]:not(:defined)":{display:"none"},"[data-embed]:defined":{display:"var(--data-embed-display, block)"}};var eu=n(7751);let ef=[];function em({allowedHtmlTags:e=ef,allowedNodeTypes:t,children:n=null,dom:r,id:i="",includeNodeProp:a=!1,nestingLimit:o,renderNodeId:s=!1,siblingComponent:c,siblingComponentPosition:p="before",domWrapper:d=l.Fragment,componentWrapper:u,transform:f,trim:m=!1,views:h,renderCallbacks:g,honorRenderClaims:y=!1}){let{adapter:b,nodes:x}=function(e){let t;if(!e)return{adapter:{},nodes:[]};let n=e.adapter??{},r="string"==typeof(t=n.children)?t:"children",i=e[r];if(Array.isArray(e.children))return"children"!==r&&Array.isArray(i)&&i!==e.children?{adapter:n,nodes:i}:{adapter:n,nodes:e.children};let a=(0,$.rebuild)(e,{clone:!0});return{adapter:a.adapter??{},nodes:Array.isArray(a.children)?a.children:[]}}(r),v=function(e,t={}){let n=[];for(let e of Object.keys(t).sort())n.push(`adapter:${e}`,String(t[e]??""));let r=(e,t)=>{for(let r of Object.keys(t).sort())n.push(e,r,function(e){if(null==e)return"";if("object"!=typeof e)return String(e);let t=new WeakSet;try{return JSON.stringify(e,(e,n)=>{if("object"==typeof n&&n){if(t.has(n))return"[Circular]";t.add(n)}return n})}catch{return"[Unserializable]"}}(t[r]))},i=e=>{for(let a of(n.push(String(e.length)),e)){n.push(String(ep(a,t,"type")??""),String(ep(a,t,"name")??""),String(ep(a,t,"data")??""));let e=ep(a,t,"attribs");e&&"object"==typeof e&&r("attribs",e);let o=ep(a,t,"_data");o&&"object"==typeof o&&r("_data",o);let l=ep(a,t,"children");Array.isArray(l)&&l.length&&i(l)}};return i(e),n.join("\0")}(x,b),w=!!r,C=l.useMemo(()=>w?new ec({adapter:b,allowedHtmlTags:e,allowedNodeTypes:t,id:i,includeNodeProp:a,nestingLimit:o,renderNodeId:s,siblingComponent:c,siblingComponentPosition:p,componentWrapper:u,transform:f,trim:m,views:h,renderCallbacks:g,honorRenderClaims:y}
1).convertNodes({nodes:x}):null,[e,t,v,0,w,i,a,u,o,s,c,p,h,f,m,g,y]);return(0,eu.FD)(d,{children:[n,C]})}},62654:(e,t,n)=>{var r,i;n.d(t,{Ew:()=>G,BC:()=>T,NI:()=>C,Pr:()=>F,K9:()=>U,Hs:()=>S,rebuild:()=>k,Nz:()=>v,fx:()=>w,oZ:()=>_,QR:()=>q,Jf:()=>E,Bq:()=>b,P_:()=>function e(t){return Array.isArray(t)?t.map(e).join(""):Object.hasOwn(t,"children")&&!h(t)?e(t.children):m(t)?t.data:""}}),(i=r||(r={})).Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype",r.Root,r.Text,r.Directive,r.Comment,r.Script,r.Style,r.Tag,r.CDATA,r.Doctype;class a{parent=null;prev=null;next=null;startIndex=null;endIndex=null;get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return g(this,e)}}class o extends a{data;constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class l extends o{type=r.Text;get nodeType(){return 3}}class s extends o{type=r.Comment;get nodeType(){return 8}}class c extends o{type=r.Directive;name;constructor(e,t){super(t),this.name=e}get nodeType(){return 1}"x-name";"x-publicId";"x-systemId"}class p extends a{children;constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class d extends p{type=r.CDATA;get nodeType(){return 4}}class u extends p{type=r.Root;get nodeType(){return 9}}class f extends p{name;attribs;type;constructor(e,t,n=[],i="script"===e?r.Script:"style"===e?r.Style:r.Tag){super(n),this.name=e,this.attribs=t,this.type=i}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this["x-attribsNamespace"]?.[e],prefix:this["x-attribsPrefix"]?.[e]}))}namespace;"x-attribsNamespace";"x-attribsPrefix"}function m(e){return e.type===r.Text}function h(e){return e.type===r.Comment}function g(e,t=!1){let n;if(m(e))n=new l(e.data);else if(h(e))n=new s(e.data);else if(e.type===r.Tag||e.type===r.Script||e.type===r.Style){let r=t?y(e.children):[],i=new f(e.name,{...e.attribs},r);for(let e of r)e.parent=i;null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=i}else if(e.type===r.CDATA){let r=t?y(e.children):[],i=new d(r);for(let e of r)e.parent=i;n=i}else if(e.type===r.Root){let r=t?y(e.children):[],i=new u(r);for(let e of r)e.parent=i;e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else if(e.type===r.Directive){let t=new c(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}else throw Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function y(e){let t=e.map(e=>g(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}function b(e,t,n){return e.attribs[t]=n,e.attribs}function x(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}function v(e){x(e),e.controller&&"function"==typeof e.controller.abort&&e.controller.abort()}function w(e,t,n){if(Object.is(e,t))return!1;let r=e.controller;return r&&r.fingerprintHistory&&!r.compareNodeFingerprint?.(e,t)?(n&&n(),!1):(function(e,t){let n=t.prev=e.prev;n&&(n.next=t);let r=t.next=e.next;r&&(r.prev=t);let i=t.parent=e.parent;if(i){let n=i.children;n[n.lastIndexOf(e)]=t,e.parent=null}}(e,t),r&&r.abort&&r.abort(t),!0)}function C(e,t){if(x(t),t.next=null,t.parent=e,e.children.push(t)>1){let n=e.children[e.children.length-2];n.next=t,t.prev=n}else t.prev=null}function T(e,t){x(t);let{parent:n}=e,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){let e=n.children;e.splice(e.lastIndexOf(r),0,t)}}else n&&n.children.push(t)}function S(e,t){x(t);let{parent:n}=e;if(n){let r=n.children;r.splice(r.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}function A(e,t,n,r){let i=r[t],a="string"==typeof i?i:t;Object.defineProperty(e,a,{writable:!0,configurable:!0,value:n}),a!==t&&Object.defineProperty(e,t,{writable:!0,configurable:!0,value:n})}function k(e,{clone:t=!1}={}){let n="string"==typeof e?JSON.parse(e):t?JSON.parse(JSON.stringify(e)):e;if(n.rebuilt)return n;let r=n.adapter||{};!function e(t,n){for(let[e,r]of Object.entries(n))"string"==typeof r&&r!==e&&function(e,t,n){let r=e[n];void 0!==r&&(Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{writable:!0,configurable:!0,value:r}))}(t,e,r);let r=t.children;Array.isArray(r)&&r.forEach(t=>e(t,n))}(n,r);let{children:i}=n;return i?.length&&i[0]?.[r.parent||"parent"]||(i&&function e(t,n,r={}){t.forEach((i,a)=>{let o=t[a-1]??null,l=t[a+1]??null;A(i,"parent",n,r),A(i,"prev",o,r),A(i,"next",l,r),i.children&&i.children.length>0&&e(i.children,i,r)})}(i,n,r),Object.defineProperty(n,"rebuilt",{writable:!1,value:!0})),n}let N=["href","src","xlink:href","formaction","action","poster","cite","background","data","srcset","imagesrcset"],D={img:!0,image:!0,source:!0,input:!0},P=/[\p{C}\p{Z}]/u,j=/^(?:javascript|vbscript):/i,L=/^data:/i,O=/^data:image\//i,I=/^data:image\/svg/i,M=/^[a-z][a-z+.-]*:/i,$=/^(?:https?:|mailto:|tel:)/i;function E(e,t){let n=e.trim();if(!n)return"";let r=function(e){if(!P.test(e))return e;let t="";for(let n of e)P.test(n)||(t+=n);return t}(n);return!r||j.test(r)?"":L.test(r)?"src"===t&&O.test(r)&&!I.test(r)?e:"":M.test(r)&&!$.test(r)?"":e}function F(e,t){return R(e.toLowerCase(),t.toLowerCase())}function R(e,t){return"poster"===e||"srcset"===e||"imagesrcset"===e||"src"===e&&D[t]||("href"===e||"xlink:href"===e)&&("image"===t||"img"===t)?"src":"href"}function W(e){return 32===e||9===e||10===e||13===e||12===e}function _(e,t){let n=[],r=e.length,i=0;for(;i<r;){for(;i<r&&W(e.charCodeAt(i));)i++;
1if(i>=r)break;let a=i;for(;i<r;){let t=e.charCodeAt(i);if(44===t||W(t))break;i++}let o=e.slice(a,i),l=i;for(;i<r&&44!==e.charCodeAt(i);)i++;let s=e.slice(l,i);if(i<r&&i++,!o)continue;let c=E(o,t);c&&n.push(c+s)}return n.join(",")}function H(e,t){if(e&&"object"==typeof e)for(let n=0;n<N.length;n++){let r=N[n],i=e[r];if("string"!=typeof i)continue;let a=R(r,t);e[r]="srcset"===r||"imagesrcset"===r?_(i,a):E(i,a)}}function q(e,t={}){if(!e||"object"!=typeof e)return;let n=new WeakSet,r=[e],i=!1===t.attribs,a="string"==typeof t.attribs?t.attribs:"attribs",o="attribs"!==a;for(;r.length;){let e=r.pop();if(n.has(e))continue;if(n.add(e),!i){let n=(function(e,t){if(!1!==t.name){let n=e["string"==typeof t.name?t.name:"name"];if("string"==typeof n)return n}return"string"==typeof e.name?e.name:""})(e,t).toLowerCase();H(e[a],n),o&&H(e.attribs,n)}let l=function(e,t){if(!1!==t.children){let n=e["string"==typeof t.children?t.children:"children"];if(Array.isArray(n))return n}if(Array.isArray(e.children))return e.children}(e,t);if(l)for(let e=0;e<l.length;e++){let t=l[e];t&&"object"==typeof t&&r.push(t)}}}let G="renderClaim";function U(e,t={}){if(!e||"object"!=typeof e)return!1;let n=function(e,t={}){let n=function(e={}){let t=e._data;return!1!==t&&("string"==typeof t?t:"_data")}(t),r=(!1===n?void 0:e[n])??e._data;if(!(!r||"object"!=typeof r||Array.isArray(r)))return r}(e,t);if(!n)return!1;let r=n[G];return!0===r||!(!r||"object"!=typeof r||Array.isArray(r))&&!1!==r.exclusive}}}]);
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.