@loomweaver/frame-kit 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- /* @loomweaver/frame-kit 0.9.8 — lw-elements.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
- "use strict";(()=>{var T0="#6b7280",L0="rgba(255, 255, 255, 0.14)",S0="#ffffff";function er(o,e,t,r,n,s){o.save(),o.beginPath(),o.rect(e,t,r,n),o.clip(),o.fillStyle=T0,o.fillRect(e,t,r,n),o.strokeStyle=L0,o.lineWidth=6,o.beginPath();for(let l=-n;l<r;l+=28)o.moveTo(e+l,t+n),o.lineTo(e+l+n,t);o.stroke(),o.fillStyle=S0,o.textAlign="center",o.textBaseline="middle",o.font=`600 ${Math.max(11,Math.min(16,n/14))}px system-ui, sans-serif`,o.fillText(s,e+r/2,t+n/2,r-16),o.restore()}function tr(o){return!Number.isFinite(o)||o<=0?1:Math.min(4,Math.max(.05,o))}function b(o,e){let t=o;if(Object.hasOwn(o,e)){let r=t[e];delete t[e],t[e]=r}}function C(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)}function or(o,e,t){let r=["lw-btn",`lw-btn--${o}`];return e==="sm"&&r.push("lw-btn--sm"),t&&r.push("lw-btn--icon"),r}var rr="lw-button",$t=class extends HTMLElement{static observedAttributes=["variant","size","icon-only","disabled"];get variant(){return this.getAttribute("variant")??"default"}set variant(e){C(this,"variant",e)}get size(){return this.getAttribute("size")??"md"}set size(e){C(this,"size",e)}get iconOnly(){return this.hasAttribute("icon-only")}set iconOnly(e){this.toggleAttribute("icon-only",e)}get disabled(){return this.hasAttribute("disabled")}set disabled(e){this.toggleAttribute("disabled",e)}connectedCallback(){b(this,"variant"),b(this,"size"),b(this,"iconOnly"),b(this,"disabled"),this.setAttribute("role","button"),this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=e=>{!(e.key==="Enter"||e.key===" ")||this.disabled||(e.preventDefault(),this.click())};render(){let e=[...this.classList].filter(t=>t.startsWith("lw-btn"));this.classList.remove(...e),this.classList.add(...or(this.variant,this.size,this.iconOnly)),this.setAttribute("aria-disabled",String(this.disabled)),this.tabIndex=this.disabled?-1:0}};function nr(){typeof customElements<"u"&&!customElements.get(rr)&&customElements.define(rr,$t)}function ir(o,e){(e==null||e>o.length)&&(e=o.length);for(var t=0,r=Array(e);t<e;t++)r[t]=o[t];return r}function E0(o){if(Array.isArray(o))return o}function B0(o,e){var t=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(t!=null){var r,n,s,l,a=[],h=!0,p=!1;try{if(s=(t=t.call(o)).next,e!==0)for(;!(h=(r=s.call(t)).done)&&(a.push(r.value),a.length!==e);h=!0);}catch(m){p=!0,n=m}finally{try{if(!h&&t.return!=null&&(l=t.return(),Object(l)!==l))return}finally{if(p)throw n}}return a}}function H0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R0(o,e){return E0(o)||B0(o,e)||j0(o,e)||H0()}function j0(o,e){if(o){if(typeof o=="string")return ir(o,e);var t={}.toString.call(o).slice(8,-1);return t==="Object"&&o.constructor&&(t=o.constructor.name),t==="Map"||t==="Set"?Array.from(o):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ir(o,e):void 0}}var xr=Object.entries,sr=Object.setPrototypeOf,Z0=Object.isFrozen,V0=Object.getPrototypeOf,I0=Object.getOwnPropertyDescriptor,P=Object.freeze,O=Object.seal,Be=Object.create,_r=typeof Reflect<"u"&&Reflect,Yt=_r.apply,Kt=_r.construct;P||(P=function(e){return e});O||(O=function(e){return e});Yt||(Yt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];return e.apply(t,n)});Kt||(Kt=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});var Se=R(Array.prototype.forEach),P0=R(Array.prototype.lastIndexOf),ar=R(Array.prototype.pop),Ee=R(Array.prototype.push),O0=R(Array.prototype.splice),de=Array.isArray,$e=R(String.prototype.toLowerCase),Ut=R(String.prototype.toString),lr=R(String.prototype.match),Ne=R(String.prototype.replace),cr=R(String.prototype.indexOf),D0=R(String.prototype.trim),N0=R(Number.prototype.toString),z0=R(Boolean.prototype.toString),hr=typeof BigInt>"u"?null:R(BigInt.prototype.toString),dr=typeof Symbol>"u"?null:R(Symbol.prototype.toString),Z=R(Object.prototype.hasOwnProperty),ze=R(Object.prototype.toString),j=R(RegExp.prototype.test),me=$0(TypeError);function R(o){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Yt(o,e,r)}}function $0(o){return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Kt(o,t)}}function _(o,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$e;if(sr&&sr(o,null),!de(e))return o;let r=e.length;for(;r--;){let n=e[r];if(typeof n=="string"){let s=t(n);s!==n&&(Z0(e)||(e[r]=s),n=s)}o[n]=!0}return o}function U0(o){for(let e=0;e<o.length;e++)Z(o,e)||(o[e]=null);return o}function D(o){let e=Be(null);for(let r of xr(o)){var t=R0(r,2);let n=t[0],s=t[1];Z(o,n)&&(de(s)?e[n]=U0(s):s&&typeof s=="object"&&s.constructor===Object?e[n]=D(s):e[n]=s)}return e}function F0(o){switch(typeof o){case"string":return o;case"number":return N0(o);case"boolean":return z0(o);case"bigint":return hr?hr(o):"0";case"symbol":return dr?dr(o):"Symbol()";case"undefined":return ze(o);case"function":case"object":{if(o===null)return ze(o);let e=o,t=K(e,"toString");if(typeof t=="function"){let r=t(e);return typeof r=="string"?r:ze(r)}return ze(o)}default:return ze(o)}}function K(o,e){for(;o!==null;){let r=I0(o,e);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}o=V0(o)}function t(){return null}return t}function G0(o){try{return j(o,""),!0}catch{return!1}}var ur=P(["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"]),Ft=P(["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"]),Gt=P(["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"]),W0=P(["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"]),Wt=P(["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"]),q0=P(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),pr=P(["#text"]),wr=P(["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","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),qt=P(["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"]),gr=P(["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"]),lt=P(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Y0=O(/{{[\w\W]*|^[\w\W]*}}/g),K0=O(/<%[\w\W]*|^[\w\W]*%>/g),X0=O(/\${[\w\W]*/g),Q0=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),J0=O(/^aria-[\-\w]+$/),vr=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),e1=O(/^(?:\w+script|data):/i),t1=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),o1=O(/^html$/i),r1=O(/^[a-z][.\w]*(-[.\w]+)+$/i),mr=O(/<[/\w!]/g),kr=O(/<[/\w]/g),n1=O(/<\/no(script|embed|frames)/i),i1=O(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},s1=function(){return typeof window>"u"?null:window},a1=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let s="dompurify"+(r?"#"+r:"");try{return e.createPolicy(s,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},fr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},he=function(e,t,r,n){return Z(e,t)&&de(e[t])?_(n.base?D(n.base):{},e[t],n.transform):r};function br(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s1(),e=u=>br(u);if(e.version="3.4.13",e.removed=[],!o||!o.document||o.document.nodeType!==W.document||!o.Element)return e.isSupported=!1,e;let t=o.document,r=t,n=r.currentScript;o.DocumentFragment;let s=o.HTMLTemplateElement,l=o.Node,a=o.Element,h=o.NodeFilter,p=o.NamedNodeMap;p===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;let m=o.DOMParser,v=o.trustedTypes,k=a.prototype,V=K(k,"cloneNode"),y=K(k,"remove"),q=K(k,"nextSibling"),Y=K(k,"childNodes"),J=K(k,"parentNode"),je=K(k,"shadowRoot"),Ze=K(k,"attributes"),I=l&&l.prototype?K(l.prototype,"nodeType"):null,$=l&&l.prototype?K(l.prototype,"nodeName"):null,ee=l&&l.prototype?K(l.prototype,"ownerDocument"):null;if(typeof s=="function"){let u=t.createElement("template");u.content&&u.content.ownerDocument&&(t=u.content.ownerDocument)}let U,we="",At,To=!1,Ve=0,Lo=function(){if(Ve>0)throw me('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.')},ye=function(i){Lo(),Ve++;try{return U.createHTML(i)}finally{Ve--}},Jn=function(i){Lo(),Ve++;try{return U.createScriptURL(i)}finally{Ve--}},e0=function(){return To||(At=a1(v,n),To=!0),At},Ke=t,Ct=Ke.implementation,So=Ke.createNodeIterator,t0=Ke.createDocumentFragment,o0=Ke.getElementsByTagName,r0=r.importNode,T=fr();e.isSupported=typeof xr=="function"&&typeof J=="function"&&Ct&&Ct.createHTMLDocument!==void 0;let n0=Y0,i0=K0,s0=X0,a0=Q0,l0=J0,c0=e1,Eo=t1,h0=r1,Bo=vr,L=null,Tt=_({},[...ur,...Ft,...Gt,...Wt,...pr]),S=null,Lt=_({},[...wr,...qt,...gr,...lt]),H=Object.seal(Be(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}})),Ie=null,Ho=null,se=Object.seal(Be(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ro=!0,St=!0,jo=!1,Zo=!0,ae=!1,le=!0,ge=!1,Et=!1,Xe=null,Qe=null,Bt=!1,Me=!1,Je=!1,et=!1,Vo=!0,Io=!1,Po="user-content-",Ht=!0,tt=!1,Ae={},te=null,Rt=_({},["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"]),Oo=null,Do=_({},["audio","video","img","source","image","track"]),jt=null,No=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml",Ce=oe,Zt=!1,Vt=null,d0=_({},[ot,rt,oe],Ut),zo=P(["mi","mo","mn","ms","mtext"]),It=_({},zo),$o=P(["annotation-xml"]),Pt=_({},$o),u0=_({},["title","style","font","a","script"]),Pe=null,p0=["application/xhtml+xml","text/html"],w0="text/html",E=null,Te=null,g0=t.createElement("form"),Uo=function(i){return i instanceof RegExp||i instanceof Function},Ot=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Te&&Te===i)return;(!i||typeof i!="object")&&(i={}),i=D(i),Pe=p0.indexOf(i.PARSER_MEDIA_TYPE)===-1?w0:i.PARSER_MEDIA_TYPE,E=Pe==="application/xhtml+xml"?Ut:$e,L=he(i,"ALLOWED_TAGS",Tt,{transform:E}),S=he(i,"ALLOWED_ATTR",Lt,{transform:E}),Vt=he(i,"ALLOWED_NAMESPACES",d0,{transform:Ut}),jt=he(i,"ADD_URI_SAFE_ATTR",No,{transform:E,base:No}),Oo=he(i,"ADD_DATA_URI_TAGS",Do,{transform:E,base:Do}),te=he(i,"FORBID_CONTENTS",Rt,{transform:E}),Ie=he(i,"FORBID_TAGS",D({}),{transform:E}),Ho=he(i,"FORBID_ATTR",D({}),{transform:E}),Ae=Z(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?D(i.USE_PROFILES):i.USE_PROFILES:!1,Ro=i.ALLOW_ARIA_ATTR!==!1,St=i.ALLOW_DATA_ATTR!==!1,jo=i.ALLOW_UNKNOWN_PROTOCOLS||!1,Zo=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ae=i.SAFE_FOR_TEMPLATES||!1,le=i.SAFE_FOR_XML!==!1,ge=i.WHOLE_DOCUMENT||!1,Me=i.RETURN_DOM||!1,Je=i.RETURN_DOM_FRAGMENT||!1,et=i.RETURN_TRUSTED_TYPE||!1,Bt=i.FORCE_BODY||!1,Vo=i.SANITIZE_DOM!==!1,Io=i.SANITIZE_NAMED_PROPS||!1,Ht=i.KEEP_CONTENT!==!1,tt=i.IN_PLACE||!1,Bo=G0(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:vr,Ce=typeof i.NAMESPACE=="string"?i.NAMESPACE:oe,It=Z(i,"MATHML_TEXT_INTEGRATION_POINTS")&&i.MATHML_TEXT_INTEGRATION_POINTS&&typeof i.MATHML_TEXT_INTEGRATION_POINTS=="object"?D(i.MATHML_TEXT_INTEGRATION_POINTS):_({},zo),Pt=Z(i,"HTML_INTEGRATION_POINTS")&&i.HTML_INTEGRATION_POINTS&&typeof i.HTML_INTEGRATION_POINTS=="object"?D(i.HTML_INTEGRATION_POINTS):_({},$o);let c=Z(i,"CUSTOM_ELEMENT_HANDLING")&&i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING=="object"?D(i.CUSTOM_ELEMENT_HANDLING):Be(null);if(H=Be(null),Z(c,"tagNameCheck")&&Uo(c.tagNameCheck)&&(H.tagNameCheck=c.tagNameCheck),Z(c,"attributeNameCheck")&&Uo(c.attributeNameCheck)&&(H.attributeNameCheck=c.attributeNameCheck),Z(c,"allowCustomizedBuiltInElements")&&typeof c.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=c.allowCustomizedBuiltInElements),O(H),ae&&(St=!1),Je&&(Me=!0),Ae&&(L=_({},pr),S=Be(null),Ae.html===!0&&(_(L,ur),_(S,wr)),Ae.svg===!0&&(_(L,Ft),_(S,qt),_(S,lt)),Ae.svgFilters===!0&&(_(L,Gt),_(S,qt),_(S,lt)),Ae.mathMl===!0&&(_(L,Wt),_(S,gr),_(S,lt))),se.tagCheck=null,se.attributeCheck=null,Z(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?se.tagCheck=i.ADD_TAGS:de(i.ADD_TAGS)&&(L===Tt&&(L=D(L)),_(L,i.ADD_TAGS,E))),Z(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?se.attributeCheck=i.ADD_ATTR:de(i.ADD_ATTR)&&(S===Lt&&(S=D(S)),_(S,i.ADD_ATTR,E))),Z(i,"ADD_URI_SAFE_ATTR")&&de(i.ADD_URI_SAFE_ATTR)&&_(jt,i.ADD_URI_SAFE_ATTR,E),Z(i,"FORBID_CONTENTS")&&de(i.FORBID_CONTENTS)&&(te===Rt&&(te=D(te)),_(te,i.FORBID_CONTENTS,E)),Z(i,"ADD_FORBID_CONTENTS")&&de(i.ADD_FORBID_CONTENTS)&&(te===Rt&&(te=D(te)),_(te,i.ADD_FORBID_CONTENTS,E)),Ht&&(L["#text"]=!0),ge&&_(L,["html","head","body"]),L.table&&(_(L,["tbody"]),delete Ie.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let d=U;U=i.TRUSTED_TYPES_POLICY;try{we=ye("")}catch(w){throw U=d,w}}else i.TRUSTED_TYPES_POLICY===null?(U=void 0,we=""):(U===void 0&&(U=e0()),U&&typeof we=="string"&&(we=ye("")));P&&P(i),Te=i},Fo=_({},[...Ft,...Gt,...W0]),Go=_({},[...Wt,...q0]),v0=function(i,c,d){return c.namespaceURI===oe?i==="svg":c.namespaceURI===ot?i==="svg"&&(d==="annotation-xml"||It[d]):!!Fo[i]},m0=function(i,c,d){return c.namespaceURI===oe?i==="math":c.namespaceURI===rt?i==="math"&&Pt[d]:!!Go[i]},k0=function(i,c,d){return c.namespaceURI===rt&&!Pt[d]||c.namespaceURI===ot&&!It[d]?!1:!Go[i]&&(u0[i]||!Fo[i])},f0=function(i){let c=J(i);(!c||!c.tagName)&&(c={namespaceURI:Ce,tagName:"template"});let d=$e(i.tagName),w=$e(c.tagName);return Vt[i.namespaceURI]?i.namespaceURI===rt?v0(d,c,w):i.namespaceURI===ot?m0(d,c,w):i.namespaceURI===oe?k0(d,c,w):!!(Pe==="application/xhtml+xml"&&Vt[i.namespaceURI]):!1},ce=function(i){Ee(e.removed,{element:i});try{J(i).removeChild(i)}catch{if(y(i),!J(i))throw me("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},nt=function(i){Oe(i);let c=Y(i);if(c){let w=[];Se(c,g=>{Ee(w,g)}),Se(w,g=>{try{y(g)}catch{}})}let d=Ze(i);if(d)for(let w=d.length-1;w>=0;--w){let g=d[w],f=g&&g.name;if(typeof f=="string")try{i.removeAttribute(f)}catch{}}},ve=function(i,c){try{Ee(e.removed,{attribute:c.getAttributeNode(i),from:c})}catch{Ee(e.removed,{attribute:null,from:c})}if(c.removeAttribute(i),i==="is")if(Me||Je)try{ce(c)}catch{}else try{c.setAttribute(i,"")}catch{}},x0=function(i){let c=Ze(i);if(c)for(let d=c.length-1;d>=0;--d){let w=c[d],g=w&&w.name;if(!(typeof g!="string"||S[E(g)]))try{i.removeAttribute(g)}catch{}}},Oe=function(i){let c=[i];for(;c.length>0;){let d=c.pop();(I?I(d):d.nodeType)===W.element&&x0(d);let g=Y(d);if(g)for(let f=g.length-1;f>=0;--f)c.push(g[f])}},_0=function(i){if(!le)return;let c=[i];for(;c.length>0;){let d=c.pop(),w=I?I(d):d.nodeType;if(w===W.processingInstruction||w===W.comment&&j(kr,d.data)){try{y(d)}catch{}continue}if(w===W.element){let f=d,A=E($?$(d):d.nodeName);try{f.hasAttribute&&f.hasAttribute("patchsrc")&&f.removeAttribute("patchsrc"),f.hasAttribute&&f.hasAttribute("for")&&A!=="label"&&A!=="output"&&f.removeAttribute("for")}catch{}}let g=Y(d);if(g)for(let f=g.length-1;f>=0;--f)c.push(g[f])}},Wo=function(i){let c=null,d=null;if(Bt)i="<remove></remove>"+i;else{let f=lr(i,/^[\r\n\t ]+/);d=f&&f[0]}Pe==="application/xhtml+xml"&&Ce===oe&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");let w=U?ye(i):i;if(Ce===oe)try{c=new m().parseFromString(w,Pe)}catch{}if(!c||!c.documentElement){c=Ct.createDocument(Ce,"template",null);try{c.documentElement.innerHTML=Zt?we:w}catch{}}let g=c.body||c.documentElement;return i&&d&&g.insertBefore(t.createTextNode(d),g.childNodes[0]||null),Ce===oe?o0.call(c,ge?"html":"body")[0]:ge?c.documentElement:g},qo=function(i){let c=ee?ee(i):i.ownerDocument;return So.call(c||i,i,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},it=function(i){return i=Ne(i,n0," "),i=Ne(i,i0," "),i=Ne(i,s0," "),i},Dt=function(i){var c;i.normalize();let d=ee?ee(i):i.ownerDocument,w=So.call(d||i,i,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null),g=w.nextNode();for(;g;)g.data=it(g.data),g=w.nextNode();let f=(c=i.querySelectorAll)===null||c===void 0?void 0:c.call(i,"template");f&&Se(f,A=>{Le(A.content)&&Dt(A.content)})},st=function(i){let c=$?$(i):null;return typeof c!="string"||E(c)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==Ze(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==I(i)||i.childNodes!==Y(i)},Le=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return I(i)===W.documentFragment}catch{return!1}},De=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return typeof I(i)=="number"}catch{return!1}};function re(u,i,c){u.length!==0&&Se(u,d=>{d.call(e,i,c,Te)})}let b0=function(i,c){return!!(le&&i.hasChildNodes()&&!De(i.firstElementChild)&&j(mr,i.textContent)&&j(mr,i.innerHTML)||le&&i.namespaceURI===oe&&c==="style"&&De(i.firstElementChild)||i.nodeType===W.processingInstruction||le&&i.nodeType===W.comment&&j(kr,i.data))},y0=function(i,c,d){if(!Ie[c]&&Qo(c)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,c)||H.tagNameCheck instanceof Function&&H.tagNameCheck(c)))return!1;if(Ht&&!te[c]){let w=J(i),g=Y(i);if(g&&w){let f=g.length;for(let A=f-1;A>=0;--A){let B=i===d?V(g[A],!0):g[A];w.insertBefore(B,q(i))}}}return ce(i),!0},Yo=function(i,c,d,w){return i.length===0?c:c===d||c===w?D(c):c},Ko=function(i,c){if(re(T.beforeSanitizeElements,i,null),i!==c&&J(i)===null)return tt&&Oe(i),!0;if(st(i))return ce(i),!0;let d=E($?$(i):i.nodeName);if(L=Yo(T.uponSanitizeElement,L,Tt,Xe),re(T.uponSanitizeElement,i,{tagName:d,allowedTags:L}),i!==c&&J(i)===null)return tt&&Oe(i),!0;if(b0(i,d))return ce(i),!0;if(Ie[d]||!(se.tagCheck instanceof Function&&se.tagCheck(d))&&!L[d]){let g=y0(i,d,c);return g===!1&&re(T.afterSanitizeElements,i,null),g}if((I?I(i):i.nodeType)===W.element&&!f0(i)||(d==="noscript"||d==="noembed"||d==="noframes")&&j(n1,i.innerHTML))return ce(i),!0;if(ae&&i.nodeType===W.text){let g=it(i.textContent);i.textContent!==g&&(Ee(e.removed,{element:i.cloneNode()}),i.textContent=g)}return re(T.afterSanitizeElements,i,null),!1},Xo=function(i,c,d){if(Ho[c]||le&&c==="patchsrc"||le&&c==="for"&&i!=="label"&&i!=="output"||Vo&&(c==="id"||c==="name")&&(d in t||d in g0))return!1;let w=S[c]||se.attributeCheck instanceof Function&&se.attributeCheck(c,i);if(!(St&&j(a0,c))){if(!(Ro&&j(l0,c))){if(w){if(!jt[c]){if(!j(Bo,Ne(d,Eo,""))){if(!((c==="src"||c==="xlink:href"||c==="href")&&i!=="script"&&cr(d,"data:")===0&&Oo[i])){if(!(jo&&!j(c0,Ne(d,Eo,"")))){if(d)return!1}}}}}else if(!(Qo(i)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,i)||H.tagNameCheck instanceof Function&&H.tagNameCheck(i))&&(H.attributeNameCheck instanceof RegExp&&j(H.attributeNameCheck,c)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(c,i))||c==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,d)||H.tagNameCheck instanceof Function&&H.tagNameCheck(d))))return!1}}return!0},M0=_({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Qo=function(i){return!M0[$e(i)]&&j(h0,i)},A0=function(i,c,d,w){if(U&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!d)switch(v.getAttributeType(i,c)){case"TrustedHTML":return ye(w);case"TrustedScriptURL":return Jn(w)}return w},C0=function(i,c,d,w){try{d?i.setAttributeNS(d,c,w):i.setAttribute(c,w),st(i)?ce(i):ar(e.removed)}catch{ve(c,i)}},Jo=function(i){re(T.beforeSanitizeAttributes,i,null);let c=i.attributes;if(!c||st(i))return;S=Yo(T.uponSanitizeAttribute,S,Lt,Qe);let d={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:S,forceKeepAttr:void 0},w=c.length,g=E(i.nodeName);for(;w--;){let f=c[w],A=f.name,B=f.namespaceURI,F=f.value,G=E(A),zt=F,z=A==="value"?zt:D0(zt);if(d.attrName=G,d.attrValue=z,d.keepAttr=!0,d.forceKeepAttr=void 0,re(T.uponSanitizeAttribute,i,d),z=d.attrValue,Io&&(G==="id"||G==="name")&&cr(z,Po)!==0&&(ve(A,i),z=Po+z),le&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,z)){ve(A,i);continue}if(G==="attributename"&&lr(z,"href")){ve(A,i);continue}if(!d.forceKeepAttr){if(!d.keepAttr){ve(A,i);continue}if(!Zo&&j(i1,z)){ve(A,i);continue}if(ae&&(z=it(z)),!Xo(g,G,z)){ve(A,i);continue}z=A0(g,G,B,z),z!==zt&&C0(i,A,B,z)}}re(T.afterSanitizeAttributes,i,null)},at=function(i){let c=null,d=qo(i);for(re(T.beforeSanitizeShadowDOM,i,null);c=d.nextNode();)if(re(T.uponSanitizeShadowNode,c,null),Ko(c,i),Jo(c),Le(c.content)&&at(c.content),(I?I(c):c.nodeType)===W.element){let g=je(c);Le(g)&&(Nt(g),at(g))}re(T.afterSanitizeShadowDOM,i,null)},Nt=function(i){let c=[{node:i,shadow:null}];for(;c.length>0;){let d=c.pop();if(d.shadow){at(d.shadow);continue}let w=d.node,f=(I?I(w):w.nodeType)===W.element,A=Y(w);if(A)for(let B=A.length-1;B>=0;--B)c.push({node:A[B],shadow:null});if(f){let B=$?$(w):null;if(typeof B=="string"&&E(B)==="template"){let F=w.content;Le(F)&&c.push({node:F,shadow:null})}}if(f){let B=je(w);Le(B)&&c.push({node:null,shadow:B},{node:B,shadow:null})}}};return e.sanitize=function(u){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=null,d=null,w=null,g=null;if(Zt=!u,Zt&&(u="<!-->"),typeof u!="string"&&!De(u)&&(u=F0(u),typeof u!="string"))throw me("dirty is not a string, aborting");if(!e.isSupported)return u;Et?(L=Xe,S=Qe):Ot(i),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(L=D(L)),T.uponSanitizeAttribute.length>0&&(S=D(S)),e.removed=[];let f=tt&&typeof u!="string"&&De(u);if(f){_0(u);let F=$?$(u):u.nodeName;if(typeof F=="string"){let G=E(F);if(!L[G]||Ie[G])throw nt(u),me("root node is forbidden and cannot be sanitized in-place")}if(st(u))throw nt(u),me("root node is clobbered and cannot be sanitized in-place");try{Nt(u)}catch(G){throw nt(u),G}}else if(De(u))c=Wo("<!---->"),d=c.ownerDocument.importNode(u,!0),d.nodeType===W.element&&d.nodeName==="BODY"||d.nodeName==="HTML"?c=d:c.appendChild(d),Nt(d);else{if(!Me&&!ae&&!ge&&u.indexOf("<")===-1)return U&&et?ye(u):u;if(c=Wo(u),!c)return Me?null:et?we:""}c&&Bt&&ce(c.firstChild);let A=f?u:c;try{let F=qo(A);for(;w=F.nextNode();)Ko(w,A),Jo(w),Le(w.content)&&at(w.content)}catch(F){throw f&&(nt(u),Se(e.removed,G=>{G.element&&Oe(G.element)})),F}if(f)return Se(e.removed,F=>{F.element&&Oe(F.element)}),ae&&Dt(u),u;if(Me){if(ae&&Dt(c),Je)for(g=t0.call(c.ownerDocument);c.firstChild;)g.appendChild(c.firstChild);else g=c;return(S.shadowroot||S.shadowrootmode)&&(g=r0.call(r,g,!0)),g}let B=ge?c.outerHTML:c.innerHTML;return ge&&L["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&j(o1,c.ownerDocument.doctype.name)&&(B="<!DOCTYPE "+c.ownerDocument.doctype.name+`>
4
- `+B),ae&&(B=it(B)),U&&et?ye(B):B},e.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ot(u),Et=!0,Xe=L,Qe=S},e.clearConfig=function(){Te=null,Et=!1,Xe=null,Qe=null,U=At,we=""},e.isValidAttribute=function(u,i,c){Te||Ot({});let d=E(u),w=E(i);return Xo(d,w,c)},e.addHook=function(u,i){typeof i=="function"&&Z(T,u)&&Ee(T[u],i)},e.removeHook=function(u,i){if(Z(T,u)){if(i!==void 0){let c=P0(T[u],i);return c===-1?void 0:O0(T[u],c,1)[0]}return ar(T[u])}},e.removeHooks=function(u){Z(T,u)&&(T[u]=[])},e.removeAllHooks=function(){T=fr()},e}var ct=br();var yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"></path></svg>';var Mr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"></path></svg>';var Ar='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"></path></svg>';var Cr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"></path></svg>';var Tr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"></path></svg>',Lr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"></path></svg>';var Sr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"></path></svg>';var Xt='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg>';var Qt='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"></path></svg>';var Er='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"></path></svg>',Br='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"></path></svg>';var Hr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path></svg>';var Rr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var jr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"></path></svg>';var Zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"></path></svg>';var Vr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"></path></svg>';var Ir='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"></path></svg>';var Pr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var Or='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"></path></svg>';var Dr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>',Nr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"></path></svg>';var zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"></path></svg>';var $r='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14"></path></svg>',Ur='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"></path></svg>';var Fr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"></path></svg>';var Gr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"></path></svg>';var Wr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"></path></svg>';var qr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"></path></svg>';var Yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"></path></svg>';var Kr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"></path></svg>';var Xr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg>';var Qr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z"></path></svg>';var Jr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path></svg>',en='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg>';var tn={themeLight:Kr,themeDark:Ur,themeSystem:jr,chevronsLeft:Er,chevronsRight:Br,chevronDown:Hr,check:Qt,close:en,pin:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M8 4h8M10.5 4v7M13.5 4v7M7 11h10M12 11v9"/></svg>',save:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M17 3.75H5.25a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V7l-3.25-3.25Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 3.75v4.5h6.5v-4.5M7.75 20.25v-7h8.5v7"/></svg>',splitPanes:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM12 5.25v13.5"/></svg>',splitPanesDown:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM3.25 12h17.5"/></svg>',sidebarLeftOpen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path fill="currentColor" fill-opacity=".28" stroke="none" d="M3.75 3H9v18H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM9 3v18"/></svg>',sidebarLeftClosed:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM9 3v18"/></svg>',sidebarRightOpen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path fill="currentColor" fill-opacity=".28" stroke="none" d="M15 3h5.25a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H15V3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM15 3v18"/></svg>',sidebarRightClosed:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM15 3v18"/></svg>',workspaces:Yr,menu:Xt,more:Vr,document:Zr,openWork:Qr,navigator:Xt,outline:Dr,add:Gr,edit:Fr,trash:Xr,preview:Pr,sort:Sr,reset:Mr,undo:Cr,info:Or,lock:Nr,success:Qt,warning:Ir,error:Jr,settings:Rr,help:qr,search:zr,plugin:Wr,download:yr,maximize:Lr,popout:Ar,restore:Tr,minimize:$r};var ht=new Map(Object.entries(tn));function on(o){return ht.get(o)}function rn(o){return ht.has(o)}function Jt(o){return ct.sanitize(o,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function eo(o,e){ht.set(o,e)}function nn(o){ht.delete(o)}var ue="lw-icon",l1="1.25rem",to=class extends HTMLElement{static observedAttributes=["name","size","aria-label"];get name(){return this.getAttribute("name")??""}set name(e){C(this,"name",e)}get size(){return this.getAttribute("size")??l1}set size(e){C(this,"size",e)}connectedCallback(){b(this,"name"),b(this,"size"),this.render()}attributeChangedCallback(){this.refresh()}refresh(){this.isConnected&&this.render()}render(){this.innerHTML=on(this.name)??"";let e=this.querySelector("svg");e&&(e.setAttribute("width",this.size),e.setAttribute("height",this.size)),this.getAttribute("aria-label")?(this.setAttribute("role","img"),this.removeAttribute("aria-hidden")):(this.setAttribute("aria-hidden","true"),this.removeAttribute("role"))}};function sn(){typeof customElements<"u"&&!customElements.get(ue)&&customElements.define(ue,to)}function io(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xe=io();function wn(o){xe=o}var ke={exec:()=>null};function He(o){let e=[];return t=>{let r=Math.max(0,Math.min(3,t-1)),n=e[r];return n||(n=o(r),e[r]=n),n}}function x(o,e=""){let t=typeof o=="string"?o:o.source,r={replace:(n,s)=>{let l=typeof s=="string"?s:s.source;return l=l.replace(N.caret,"$1"),t=t.replace(n,l),r},getRegex:()=>new RegExp(t,e)};return r}var c1=((o="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+o)}catch{return!1}})(),N={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o=>new RegExp(`^( {0,3}${o})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:He(o=>new RegExp(`^ {0,${o}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:He(o=>new RegExp(`^ {0,${o}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:He(o=>new RegExp(`^ {0,${o}}(?:\`\`\`|~~~)`)),headingBeginRegex:He(o=>new RegExp(`^ {0,${o}}#`)),htmlBeginRegex:He(o=>new RegExp(`^ {0,${o}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:He(o=>new RegExp(`^ {0,${o}}>`))},h1=/^(?:[ \t]*(?:\n|$))+/,d1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,u1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ge=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,p1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,so=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,gn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,vn=x(gn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),w1=x(gn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ao=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,g1=/^[^\n]+/,lo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,v1=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",lo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),m1=x(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,so).getRegex(),gt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",co=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,k1=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",co).replace("tag",gt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),mn=o=>x(ao).replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list",o).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",gt).getRegex(),f1=mn(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),x1=mn(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),_1=x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",x1).getRegex(),ho={blockquote:_1,code:d1,def:v1,fences:u1,heading:p1,hr:Ge,html:k1,lheading:vn,list:m1,newline:h1,paragraph:f1,table:ke,text:g1},an=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",gt).getRegex(),b1={...ho,lheading:w1,table:an,paragraph:x(ao).replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",an).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",gt).getRegex()},y1={...ho,html:x(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",co).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ke,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(ao).replace("hr",Ge).replace("heading",` *#{1,6} *[^
5
- ]`).replace("lheading",vn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},M1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,A1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,kn=/^( {2,}|\\)\n(?!\s*$)/,C1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ie=/[\p{P}\p{S}]/u,Re=/[\s\p{P}\p{S}]/u,We=/[^\s\p{P}\p{S}]/u,T1=x(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Re).getRegex(),L1=/[\p{Pi}\p{Ps}"']/u,fn=/(?!~)[\p{P}\p{S}]/u,S1=/(?!~)[\s\p{P}\p{S}]/u,E1=/(?:[^\s\p{P}\p{S}]|~)/u,B1=x(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",c1?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),xn=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,H1=x(xn,"u").replace(/punct/g,ie).getRegex(),R1=x(xn,"u").replace(/punct/g,fn).getRegex(),j1=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,Z1=x(j1,"u").replace(/openQuote/g,L1).replace(/punct/g,ie).getRegex(),_n="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",V1=x(_n,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),I1=x(_n,"gu").replace(/notPunctSpace/g,E1).replace(/punctSpace/g,S1).replace(/punct/g,fn).getRegex(),P1="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",O1=x(P1,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),D1=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),N1="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",z1=x(N1,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),$1=x(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,ie).getRegex(),U1="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",F1=x(U1,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),G1=x(/\\(punct)/,"gu").replace(/punct/g,ie).getRegex(),W1=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),q1=x(co).replace("(?:-->|$)","-->").getRegex(),Y1=x("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",q1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ut=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,K1=x(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",ut).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),bn=x(/^!?\[(label)\]\[(ref)\]/).replace("label",ut).replace("ref",lo).getRegex(),yn=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",lo).getRegex(),X1=x("reflink|nolink(?!\\()","g").replace("reflink",bn).replace("nolink",yn).getRegex(),ln=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,uo={_backpedal:ke,anyPunctuation:G1,autolink:W1,blockSkip:B1,br:kn,code:A1,del:ke,delLDelim:ke,delRDelim:ke,emStrongLDelim:H1,emStrongRDelimAst:V1,emStrongRDelimUnd:D1,escape:M1,link:K1,nolink:yn,punctuation:T1,reflink:bn,reflinkSearch:X1,tag:Y1,text:C1,url:ke},Q1={...uo,emStrongLDelim:Z1,emStrongRDelimAst:O1,emStrongRDelimUnd:z1,link:x(/^!?\[(label)\]\((.*?)\)/).replace("label",ut).getRegex(),reflink:x(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ut).getRegex()},oo={...uo,emStrongRDelimAst:I1,emStrongLDelim:R1,delLDelim:$1,delRDelim:F1,url:x(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ln).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:x(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ln).getRegex()},J1={...oo,br:x(kn).replace("{2,}","*").getRegex(),text:x(oo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},dt={normal:ho,gfm:b1,pedantic:y1},Ue={normal:uo,gfm:oo,breaks:J1,pedantic:Q1},e5={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},cn=o=>e5[o];function ne(o,e){if(e){if(N.escapeTest.test(o))return o.replace(N.escapeReplace,cn)}else if(N.escapeTestNoEncode.test(o))return o.replace(N.escapeReplaceNoEncode,cn);return o}function hn(o){try{o=encodeURI(o).replace(N.percentDecode,"%")}catch{return null}return o}function dn(o,e){let t=o.replace(N.findPipe,(s,l,a)=>{let h=!1,p=l;for(;--p>=0&&a[p]==="\\";)h=!h;return h?"|":" |"}),r=t.split(N.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(N.slashPipe,"|");return r}function pe(o,e,t){let r=o.length;if(r===0)return"";let n=0;for(;n<r;){let s=o.charAt(r-n-1);if(s===e&&!t)n++;else if(s!==e&&t)n++;else break}return o.slice(0,r-n)}function un(o){let e=o.split(`
1
+ /* @loomweaver/frame-kit 0.9.9 — lw-elements.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
+ "use strict";(()=>{var L0="#6b7280",S0="rgba(255, 255, 255, 0.14)",E0="#ffffff";function er(o,e,t,r,n,s){o.save(),o.beginPath(),o.rect(e,t,r,n),o.clip(),o.fillStyle=L0,o.fillRect(e,t,r,n),o.strokeStyle=S0,o.lineWidth=6,o.beginPath();for(let l=-n;l<r;l+=28)o.moveTo(e+l,t+n),o.lineTo(e+l+n,t);o.stroke(),o.fillStyle=E0,o.textAlign="center",o.textBaseline="middle",o.font=`600 ${Math.max(11,Math.min(16,n/14))}px system-ui, sans-serif`,o.fillText(s,e+r/2,t+n/2,r-16),o.restore()}function tr(o){return!Number.isFinite(o)||o<=0?1:Math.min(4,Math.max(.05,o))}function b(o,e){let t=o;if(Object.hasOwn(o,e)){let r=t[e];delete t[e],t[e]=r}}function C(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)}function or(o,e,t){let r=["lw-btn",`lw-btn--${o}`];return e==="sm"&&r.push("lw-btn--sm"),t&&r.push("lw-btn--icon"),r}var rr="lw-button",$t=class extends HTMLElement{static observedAttributes=["variant","size","icon-only","disabled"];get variant(){return this.getAttribute("variant")??"default"}set variant(e){C(this,"variant",e)}get size(){return this.getAttribute("size")??"md"}set size(e){C(this,"size",e)}get iconOnly(){return this.hasAttribute("icon-only")}set iconOnly(e){this.toggleAttribute("icon-only",e)}get disabled(){return this.hasAttribute("disabled")}set disabled(e){this.toggleAttribute("disabled",e)}connectedCallback(){b(this,"variant"),b(this,"size"),b(this,"iconOnly"),b(this,"disabled"),this.setAttribute("role","button"),this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=e=>{!(e.key==="Enter"||e.key===" ")||this.disabled||(e.preventDefault(),this.click())};render(){let e=[...this.classList].filter(t=>t.startsWith("lw-btn"));this.classList.remove(...e),this.classList.add(...or(this.variant,this.size,this.iconOnly)),this.setAttribute("aria-disabled",String(this.disabled)),this.tabIndex=this.disabled?-1:0}};function nr(){typeof customElements<"u"&&!customElements.get(rr)&&customElements.define(rr,$t)}function ir(o,e){(e==null||e>o.length)&&(e=o.length);for(var t=0,r=Array(e);t<e;t++)r[t]=o[t];return r}function B0(o){if(Array.isArray(o))return o}function H0(o,e){var t=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(t!=null){var r,n,s,l,a=[],h=!0,p=!1;try{if(s=(t=t.call(o)).next,e!==0)for(;!(h=(r=s.call(t)).done)&&(a.push(r.value),a.length!==e);h=!0);}catch(m){p=!0,n=m}finally{try{if(!h&&t.return!=null&&(l=t.return(),Object(l)!==l))return}finally{if(p)throw n}}return a}}function R0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j0(o,e){return B0(o)||H0(o,e)||Z0(o,e)||R0()}function Z0(o,e){if(o){if(typeof o=="string")return ir(o,e);var t={}.toString.call(o).slice(8,-1);return t==="Object"&&o.constructor&&(t=o.constructor.name),t==="Map"||t==="Set"?Array.from(o):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ir(o,e):void 0}}var xr=Object.entries,sr=Object.setPrototypeOf,V0=Object.isFrozen,I0=Object.getPrototypeOf,P0=Object.getOwnPropertyDescriptor,P=Object.freeze,O=Object.seal,Be=Object.create,_r=typeof Reflect<"u"&&Reflect,Yt=_r.apply,Kt=_r.construct;P||(P=function(e){return e});O||(O=function(e){return e});Yt||(Yt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];return e.apply(t,n)});Kt||(Kt=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});var Se=R(Array.prototype.forEach),O0=R(Array.prototype.lastIndexOf),ar=R(Array.prototype.pop),Ee=R(Array.prototype.push),D0=R(Array.prototype.splice),de=Array.isArray,$e=R(String.prototype.toLowerCase),Ut=R(String.prototype.toString),lr=R(String.prototype.match),Ne=R(String.prototype.replace),cr=R(String.prototype.indexOf),N0=R(String.prototype.trim),z0=R(Number.prototype.toString),$0=R(Boolean.prototype.toString),hr=typeof BigInt>"u"?null:R(BigInt.prototype.toString),dr=typeof Symbol>"u"?null:R(Symbol.prototype.toString),Z=R(Object.prototype.hasOwnProperty),ze=R(Object.prototype.toString),j=R(RegExp.prototype.test),me=U0(TypeError);function R(o){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Yt(o,e,r)}}function U0(o){return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Kt(o,t)}}function _(o,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$e;if(sr&&sr(o,null),!de(e))return o;let r=e.length;for(;r--;){let n=e[r];if(typeof n=="string"){let s=t(n);s!==n&&(V0(e)||(e[r]=s),n=s)}o[n]=!0}return o}function F0(o){for(let e=0;e<o.length;e++)Z(o,e)||(o[e]=null);return o}function D(o){let e=Be(null);for(let r of xr(o)){var t=j0(r,2);let n=t[0],s=t[1];Z(o,n)&&(de(s)?e[n]=F0(s):s&&typeof s=="object"&&s.constructor===Object?e[n]=D(s):e[n]=s)}return e}function G0(o){switch(typeof o){case"string":return o;case"number":return z0(o);case"boolean":return $0(o);case"bigint":return hr?hr(o):"0";case"symbol":return dr?dr(o):"Symbol()";case"undefined":return ze(o);case"function":case"object":{if(o===null)return ze(o);let e=o,t=K(e,"toString");if(typeof t=="function"){let r=t(e);return typeof r=="string"?r:ze(r)}return ze(o)}default:return ze(o)}}function K(o,e){for(;o!==null;){let r=P0(o,e);if(r){if(r.get)return R(r.get);if(typeof r.value=="function")return R(r.value)}o=I0(o)}function t(){return null}return t}function W0(o){try{return j(o,""),!0}catch{return!1}}var ur=P(["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"]),Ft=P(["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"]),Gt=P(["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"]),q0=P(["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"]),Wt=P(["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"]),Y0=P(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),pr=P(["#text"]),wr=P(["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","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),qt=P(["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"]),gr=P(["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"]),lt=P(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K0=O(/{{[\w\W]*|^[\w\W]*}}/g),X0=O(/<%[\w\W]*|^[\w\W]*%>/g),Q0=O(/\${[\w\W]*/g),J0=O(/^data-[\-\w.\u00B7-\uFFFF]+$/),e1=O(/^aria-[\-\w]+$/),vr=O(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),t1=O(/^(?:\w+script|data):/i),o1=O(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),r1=O(/^html$/i),n1=O(/^[a-z][.\w]*(-[.\w]+)+$/i),mr=O(/<[/\w!]/g),kr=O(/<[/\w]/g),i1=O(/<\/no(script|embed|frames)/i),s1=O(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},a1=function(){return typeof window>"u"?null:window},l1=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let s="dompurify"+(r?"#"+r:"");try{return e.createPolicy(s,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},fr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},he=function(e,t,r,n){return Z(e,t)&&de(e[t])?_(n.base?D(n.base):{},e[t],n.transform):r};function br(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a1(),e=u=>br(u);if(e.version="3.4.13",e.removed=[],!o||!o.document||o.document.nodeType!==W.document||!o.Element)return e.isSupported=!1,e;let t=o.document,r=t,n=r.currentScript;o.DocumentFragment;let s=o.HTMLTemplateElement,l=o.Node,a=o.Element,h=o.NodeFilter,p=o.NamedNodeMap;p===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;let m=o.DOMParser,v=o.trustedTypes,k=a.prototype,V=K(k,"cloneNode"),y=K(k,"remove"),q=K(k,"nextSibling"),Y=K(k,"childNodes"),J=K(k,"parentNode"),je=K(k,"shadowRoot"),Ze=K(k,"attributes"),I=l&&l.prototype?K(l.prototype,"nodeType"):null,$=l&&l.prototype?K(l.prototype,"nodeName"):null,ee=l&&l.prototype?K(l.prototype,"ownerDocument"):null;if(typeof s=="function"){let u=t.createElement("template");u.content&&u.content.ownerDocument&&(t=u.content.ownerDocument)}let U,we="",At,To=!1,Ve=0,Lo=function(){if(Ve>0)throw me('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.')},ye=function(i){Lo(),Ve++;try{return U.createHTML(i)}finally{Ve--}},e0=function(i){Lo(),Ve++;try{return U.createScriptURL(i)}finally{Ve--}},t0=function(){return To||(At=l1(v,n),To=!0),At},Ke=t,Ct=Ke.implementation,So=Ke.createNodeIterator,o0=Ke.createDocumentFragment,r0=Ke.getElementsByTagName,n0=r.importNode,T=fr();e.isSupported=typeof xr=="function"&&typeof J=="function"&&Ct&&Ct.createHTMLDocument!==void 0;let i0=K0,s0=X0,a0=Q0,l0=J0,c0=e1,h0=t1,Eo=o1,d0=n1,Bo=vr,L=null,Tt=_({},[...ur,...Ft,...Gt,...Wt,...pr]),S=null,Lt=_({},[...wr,...qt,...gr,...lt]),H=Object.seal(Be(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}})),Ie=null,Ho=null,se=Object.seal(Be(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ro=!0,St=!0,jo=!1,Zo=!0,ae=!1,le=!0,ge=!1,Et=!1,Xe=null,Qe=null,Bt=!1,Me=!1,Je=!1,et=!1,Vo=!0,Io=!1,Po="user-content-",Ht=!0,tt=!1,Ae={},te=null,Rt=_({},["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"]),Oo=null,Do=_({},["audio","video","img","source","image","track"]),jt=null,No=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ot="http://www.w3.org/1998/Math/MathML",rt="http://www.w3.org/2000/svg",oe="http://www.w3.org/1999/xhtml",Ce=oe,Zt=!1,Vt=null,u0=_({},[ot,rt,oe],Ut),zo=P(["mi","mo","mn","ms","mtext"]),It=_({},zo),$o=P(["annotation-xml"]),Pt=_({},$o),p0=_({},["title","style","font","a","script"]),Pe=null,w0=["application/xhtml+xml","text/html"],g0="text/html",E=null,Te=null,v0=t.createElement("form"),Uo=function(i){return i instanceof RegExp||i instanceof Function},Ot=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Te&&Te===i)return;(!i||typeof i!="object")&&(i={}),i=D(i),Pe=w0.indexOf(i.PARSER_MEDIA_TYPE)===-1?g0:i.PARSER_MEDIA_TYPE,E=Pe==="application/xhtml+xml"?Ut:$e,L=he(i,"ALLOWED_TAGS",Tt,{transform:E}),S=he(i,"ALLOWED_ATTR",Lt,{transform:E}),Vt=he(i,"ALLOWED_NAMESPACES",u0,{transform:Ut}),jt=he(i,"ADD_URI_SAFE_ATTR",No,{transform:E,base:No}),Oo=he(i,"ADD_DATA_URI_TAGS",Do,{transform:E,base:Do}),te=he(i,"FORBID_CONTENTS",Rt,{transform:E}),Ie=he(i,"FORBID_TAGS",D({}),{transform:E}),Ho=he(i,"FORBID_ATTR",D({}),{transform:E}),Ae=Z(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?D(i.USE_PROFILES):i.USE_PROFILES:!1,Ro=i.ALLOW_ARIA_ATTR!==!1,St=i.ALLOW_DATA_ATTR!==!1,jo=i.ALLOW_UNKNOWN_PROTOCOLS||!1,Zo=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ae=i.SAFE_FOR_TEMPLATES||!1,le=i.SAFE_FOR_XML!==!1,ge=i.WHOLE_DOCUMENT||!1,Me=i.RETURN_DOM||!1,Je=i.RETURN_DOM_FRAGMENT||!1,et=i.RETURN_TRUSTED_TYPE||!1,Bt=i.FORCE_BODY||!1,Vo=i.SANITIZE_DOM!==!1,Io=i.SANITIZE_NAMED_PROPS||!1,Ht=i.KEEP_CONTENT!==!1,tt=i.IN_PLACE||!1,Bo=W0(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:vr,Ce=typeof i.NAMESPACE=="string"?i.NAMESPACE:oe,It=Z(i,"MATHML_TEXT_INTEGRATION_POINTS")&&i.MATHML_TEXT_INTEGRATION_POINTS&&typeof i.MATHML_TEXT_INTEGRATION_POINTS=="object"?D(i.MATHML_TEXT_INTEGRATION_POINTS):_({},zo),Pt=Z(i,"HTML_INTEGRATION_POINTS")&&i.HTML_INTEGRATION_POINTS&&typeof i.HTML_INTEGRATION_POINTS=="object"?D(i.HTML_INTEGRATION_POINTS):_({},$o);let c=Z(i,"CUSTOM_ELEMENT_HANDLING")&&i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING=="object"?D(i.CUSTOM_ELEMENT_HANDLING):Be(null);if(H=Be(null),Z(c,"tagNameCheck")&&Uo(c.tagNameCheck)&&(H.tagNameCheck=c.tagNameCheck),Z(c,"attributeNameCheck")&&Uo(c.attributeNameCheck)&&(H.attributeNameCheck=c.attributeNameCheck),Z(c,"allowCustomizedBuiltInElements")&&typeof c.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=c.allowCustomizedBuiltInElements),O(H),ae&&(St=!1),Je&&(Me=!0),Ae&&(L=_({},pr),S=Be(null),Ae.html===!0&&(_(L,ur),_(S,wr)),Ae.svg===!0&&(_(L,Ft),_(S,qt),_(S,lt)),Ae.svgFilters===!0&&(_(L,Gt),_(S,qt),_(S,lt)),Ae.mathMl===!0&&(_(L,Wt),_(S,gr),_(S,lt))),se.tagCheck=null,se.attributeCheck=null,Z(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?se.tagCheck=i.ADD_TAGS:de(i.ADD_TAGS)&&(L===Tt&&(L=D(L)),_(L,i.ADD_TAGS,E))),Z(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?se.attributeCheck=i.ADD_ATTR:de(i.ADD_ATTR)&&(S===Lt&&(S=D(S)),_(S,i.ADD_ATTR,E))),Z(i,"ADD_URI_SAFE_ATTR")&&de(i.ADD_URI_SAFE_ATTR)&&_(jt,i.ADD_URI_SAFE_ATTR,E),Z(i,"FORBID_CONTENTS")&&de(i.FORBID_CONTENTS)&&(te===Rt&&(te=D(te)),_(te,i.FORBID_CONTENTS,E)),Z(i,"ADD_FORBID_CONTENTS")&&de(i.ADD_FORBID_CONTENTS)&&(te===Rt&&(te=D(te)),_(te,i.ADD_FORBID_CONTENTS,E)),Ht&&(L["#text"]=!0),ge&&_(L,["html","head","body"]),L.table&&(_(L,["tbody"]),delete Ie.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let d=U;U=i.TRUSTED_TYPES_POLICY;try{we=ye("")}catch(w){throw U=d,w}}else i.TRUSTED_TYPES_POLICY===null?(U=void 0,we=""):(U===void 0&&(U=t0()),U&&typeof we=="string"&&(we=ye("")));P&&P(i),Te=i},Fo=_({},[...Ft,...Gt,...q0]),Go=_({},[...Wt,...Y0]),m0=function(i,c,d){return c.namespaceURI===oe?i==="svg":c.namespaceURI===ot?i==="svg"&&(d==="annotation-xml"||It[d]):!!Fo[i]},k0=function(i,c,d){return c.namespaceURI===oe?i==="math":c.namespaceURI===rt?i==="math"&&Pt[d]:!!Go[i]},f0=function(i,c,d){return c.namespaceURI===rt&&!Pt[d]||c.namespaceURI===ot&&!It[d]?!1:!Go[i]&&(p0[i]||!Fo[i])},x0=function(i){let c=J(i);(!c||!c.tagName)&&(c={namespaceURI:Ce,tagName:"template"});let d=$e(i.tagName),w=$e(c.tagName);return Vt[i.namespaceURI]?i.namespaceURI===rt?m0(d,c,w):i.namespaceURI===ot?k0(d,c,w):i.namespaceURI===oe?f0(d,c,w):!!(Pe==="application/xhtml+xml"&&Vt[i.namespaceURI]):!1},ce=function(i){Ee(e.removed,{element:i});try{J(i).removeChild(i)}catch{if(y(i),!J(i))throw me("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},nt=function(i){Oe(i);let c=Y(i);if(c){let w=[];Se(c,g=>{Ee(w,g)}),Se(w,g=>{try{y(g)}catch{}})}let d=Ze(i);if(d)for(let w=d.length-1;w>=0;--w){let g=d[w],f=g&&g.name;if(typeof f=="string")try{i.removeAttribute(f)}catch{}}},ve=function(i,c){try{Ee(e.removed,{attribute:c.getAttributeNode(i),from:c})}catch{Ee(e.removed,{attribute:null,from:c})}if(c.removeAttribute(i),i==="is")if(Me||Je)try{ce(c)}catch{}else try{c.setAttribute(i,"")}catch{}},_0=function(i){let c=Ze(i);if(c)for(let d=c.length-1;d>=0;--d){let w=c[d],g=w&&w.name;if(!(typeof g!="string"||S[E(g)]))try{i.removeAttribute(g)}catch{}}},Oe=function(i){let c=[i];for(;c.length>0;){let d=c.pop();(I?I(d):d.nodeType)===W.element&&_0(d);let g=Y(d);if(g)for(let f=g.length-1;f>=0;--f)c.push(g[f])}},b0=function(i){if(!le)return;let c=[i];for(;c.length>0;){let d=c.pop(),w=I?I(d):d.nodeType;if(w===W.processingInstruction||w===W.comment&&j(kr,d.data)){try{y(d)}catch{}continue}if(w===W.element){let f=d,A=E($?$(d):d.nodeName);try{f.hasAttribute&&f.hasAttribute("patchsrc")&&f.removeAttribute("patchsrc"),f.hasAttribute&&f.hasAttribute("for")&&A!=="label"&&A!=="output"&&f.removeAttribute("for")}catch{}}let g=Y(d);if(g)for(let f=g.length-1;f>=0;--f)c.push(g[f])}},Wo=function(i){let c=null,d=null;if(Bt)i="<remove></remove>"+i;else{let f=lr(i,/^[\r\n\t ]+/);d=f&&f[0]}Pe==="application/xhtml+xml"&&Ce===oe&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");let w=U?ye(i):i;if(Ce===oe)try{c=new m().parseFromString(w,Pe)}catch{}if(!c||!c.documentElement){c=Ct.createDocument(Ce,"template",null);try{c.documentElement.innerHTML=Zt?we:w}catch{}}let g=c.body||c.documentElement;return i&&d&&g.insertBefore(t.createTextNode(d),g.childNodes[0]||null),Ce===oe?r0.call(c,ge?"html":"body")[0]:ge?c.documentElement:g},qo=function(i){let c=ee?ee(i):i.ownerDocument;return So.call(c||i,i,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},it=function(i){return i=Ne(i,i0," "),i=Ne(i,s0," "),i=Ne(i,a0," "),i},Dt=function(i){var c;i.normalize();let d=ee?ee(i):i.ownerDocument,w=So.call(d||i,i,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null),g=w.nextNode();for(;g;)g.data=it(g.data),g=w.nextNode();let f=(c=i.querySelectorAll)===null||c===void 0?void 0:c.call(i,"template");f&&Se(f,A=>{Le(A.content)&&Dt(A.content)})},st=function(i){let c=$?$(i):null;return typeof c!="string"||E(c)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==Ze(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==I(i)||i.childNodes!==Y(i)},Le=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return I(i)===W.documentFragment}catch{return!1}},De=function(i){if(!I||typeof i!="object"||i===null)return!1;try{return typeof I(i)=="number"}catch{return!1}};function re(u,i,c){u.length!==0&&Se(u,d=>{d.call(e,i,c,Te)})}let y0=function(i,c){return!!(le&&i.hasChildNodes()&&!De(i.firstElementChild)&&j(mr,i.textContent)&&j(mr,i.innerHTML)||le&&i.namespaceURI===oe&&c==="style"&&De(i.firstElementChild)||i.nodeType===W.processingInstruction||le&&i.nodeType===W.comment&&j(kr,i.data))},M0=function(i,c,d){if(!Ie[c]&&Qo(c)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,c)||H.tagNameCheck instanceof Function&&H.tagNameCheck(c)))return!1;if(Ht&&!te[c]){let w=J(i),g=Y(i);if(g&&w){let f=g.length;for(let A=f-1;A>=0;--A){let B=i===d?V(g[A],!0):g[A];w.insertBefore(B,q(i))}}}return ce(i),!0},Yo=function(i,c,d,w){return i.length===0?c:c===d||c===w?D(c):c},Ko=function(i,c){if(re(T.beforeSanitizeElements,i,null),i!==c&&J(i)===null)return tt&&Oe(i),!0;if(st(i))return ce(i),!0;let d=E($?$(i):i.nodeName);if(L=Yo(T.uponSanitizeElement,L,Tt,Xe),re(T.uponSanitizeElement,i,{tagName:d,allowedTags:L}),i!==c&&J(i)===null)return tt&&Oe(i),!0;if(y0(i,d))return ce(i),!0;if(Ie[d]||!(se.tagCheck instanceof Function&&se.tagCheck(d))&&!L[d]){let g=M0(i,d,c);return g===!1&&re(T.afterSanitizeElements,i,null),g}if((I?I(i):i.nodeType)===W.element&&!x0(i)||(d==="noscript"||d==="noembed"||d==="noframes")&&j(i1,i.innerHTML))return ce(i),!0;if(ae&&i.nodeType===W.text){let g=it(i.textContent);i.textContent!==g&&(Ee(e.removed,{element:i.cloneNode()}),i.textContent=g)}return re(T.afterSanitizeElements,i,null),!1},Xo=function(i,c,d){if(Ho[c]||le&&c==="patchsrc"||le&&c==="for"&&i!=="label"&&i!=="output"||Vo&&(c==="id"||c==="name")&&(d in t||d in v0))return!1;let w=S[c]||se.attributeCheck instanceof Function&&se.attributeCheck(c,i);if(!(St&&j(l0,c))){if(!(Ro&&j(c0,c))){if(w){if(!jt[c]){if(!j(Bo,Ne(d,Eo,""))){if(!((c==="src"||c==="xlink:href"||c==="href")&&i!=="script"&&cr(d,"data:")===0&&Oo[i])){if(!(jo&&!j(h0,Ne(d,Eo,"")))){if(d)return!1}}}}}else if(!(Qo(i)&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,i)||H.tagNameCheck instanceof Function&&H.tagNameCheck(i))&&(H.attributeNameCheck instanceof RegExp&&j(H.attributeNameCheck,c)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(c,i))||c==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&j(H.tagNameCheck,d)||H.tagNameCheck instanceof Function&&H.tagNameCheck(d))))return!1}}return!0},A0=_({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Qo=function(i){return!A0[$e(i)]&&j(d0,i)},C0=function(i,c,d,w){if(U&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!d)switch(v.getAttributeType(i,c)){case"TrustedHTML":return ye(w);case"TrustedScriptURL":return e0(w)}return w},T0=function(i,c,d,w){try{d?i.setAttributeNS(d,c,w):i.setAttribute(c,w),st(i)?ce(i):ar(e.removed)}catch{ve(c,i)}},Jo=function(i){re(T.beforeSanitizeAttributes,i,null);let c=i.attributes;if(!c||st(i))return;S=Yo(T.uponSanitizeAttribute,S,Lt,Qe);let d={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:S,forceKeepAttr:void 0},w=c.length,g=E(i.nodeName);for(;w--;){let f=c[w],A=f.name,B=f.namespaceURI,F=f.value,G=E(A),zt=F,z=A==="value"?zt:N0(zt);if(d.attrName=G,d.attrValue=z,d.keepAttr=!0,d.forceKeepAttr=void 0,re(T.uponSanitizeAttribute,i,d),z=d.attrValue,Io&&(G==="id"||G==="name")&&cr(z,Po)!==0&&(ve(A,i),z=Po+z),le&&j(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,z)){ve(A,i);continue}if(G==="attributename"&&lr(z,"href")){ve(A,i);continue}if(!d.forceKeepAttr){if(!d.keepAttr){ve(A,i);continue}if(!Zo&&j(s1,z)){ve(A,i);continue}if(ae&&(z=it(z)),!Xo(g,G,z)){ve(A,i);continue}z=C0(g,G,B,z),z!==zt&&T0(i,A,B,z)}}re(T.afterSanitizeAttributes,i,null)},at=function(i){let c=null,d=qo(i);for(re(T.beforeSanitizeShadowDOM,i,null);c=d.nextNode();)if(re(T.uponSanitizeShadowNode,c,null),Ko(c,i),Jo(c),Le(c.content)&&at(c.content),(I?I(c):c.nodeType)===W.element){let g=je(c);Le(g)&&(Nt(g),at(g))}re(T.afterSanitizeShadowDOM,i,null)},Nt=function(i){let c=[{node:i,shadow:null}];for(;c.length>0;){let d=c.pop();if(d.shadow){at(d.shadow);continue}let w=d.node,f=(I?I(w):w.nodeType)===W.element,A=Y(w);if(A)for(let B=A.length-1;B>=0;--B)c.push({node:A[B],shadow:null});if(f){let B=$?$(w):null;if(typeof B=="string"&&E(B)==="template"){let F=w.content;Le(F)&&c.push({node:F,shadow:null})}}if(f){let B=je(w);Le(B)&&c.push({node:null,shadow:B},{node:B,shadow:null})}}};return e.sanitize=function(u){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=null,d=null,w=null,g=null;if(Zt=!u,Zt&&(u="<!-->"),typeof u!="string"&&!De(u)&&(u=G0(u),typeof u!="string"))throw me("dirty is not a string, aborting");if(!e.isSupported)return u;Et?(L=Xe,S=Qe):Ot(i),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(L=D(L)),T.uponSanitizeAttribute.length>0&&(S=D(S)),e.removed=[];let f=tt&&typeof u!="string"&&De(u);if(f){b0(u);let F=$?$(u):u.nodeName;if(typeof F=="string"){let G=E(F);if(!L[G]||Ie[G])throw nt(u),me("root node is forbidden and cannot be sanitized in-place")}if(st(u))throw nt(u),me("root node is clobbered and cannot be sanitized in-place");try{Nt(u)}catch(G){throw nt(u),G}}else if(De(u))c=Wo("<!---->"),d=c.ownerDocument.importNode(u,!0),d.nodeType===W.element&&d.nodeName==="BODY"||d.nodeName==="HTML"?c=d:c.appendChild(d),Nt(d);else{if(!Me&&!ae&&!ge&&u.indexOf("<")===-1)return U&&et?ye(u):u;if(c=Wo(u),!c)return Me?null:et?we:""}c&&Bt&&ce(c.firstChild);let A=f?u:c;try{let F=qo(A);for(;w=F.nextNode();)Ko(w,A),Jo(w),Le(w.content)&&at(w.content)}catch(F){throw f&&(nt(u),Se(e.removed,G=>{G.element&&Oe(G.element)})),F}if(f)return Se(e.removed,F=>{F.element&&Oe(F.element)}),ae&&Dt(u),u;if(Me){if(ae&&Dt(c),Je)for(g=o0.call(c.ownerDocument);c.firstChild;)g.appendChild(c.firstChild);else g=c;return(S.shadowroot||S.shadowrootmode)&&(g=n0.call(r,g,!0)),g}let B=ge?c.outerHTML:c.innerHTML;return ge&&L["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&j(r1,c.ownerDocument.doctype.name)&&(B="<!DOCTYPE "+c.ownerDocument.doctype.name+`>
4
+ `+B),ae&&(B=it(B)),U&&et?ye(B):B},e.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ot(u),Et=!0,Xe=L,Qe=S},e.clearConfig=function(){Te=null,Et=!1,Xe=null,Qe=null,U=At,we=""},e.isValidAttribute=function(u,i,c){Te||Ot({});let d=E(u),w=E(i);return Xo(d,w,c)},e.addHook=function(u,i){typeof i=="function"&&Z(T,u)&&Ee(T[u],i)},e.removeHook=function(u,i){if(Z(T,u)){if(i!==void 0){let c=O0(T[u],i);return c===-1?void 0:D0(T[u],c,1)[0]}return ar(T[u])}},e.removeHooks=function(u){Z(T,u)&&(T[u]=[])},e.removeAllHooks=function(){T=fr()},e}var ct=br();var yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"></path></svg>';var Mr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"></path></svg>';var Ar='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"></path></svg>';var Cr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"></path></svg>';var Tr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"></path></svg>',Lr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"></path></svg>';var Sr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3 7.5 7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"></path></svg>';var Xt='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg>';var Qt='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"></path></svg>';var Er='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m18.75 4.5-7.5 7.5 7.5 7.5m-6-15L5.25 12l7.5 7.5"></path></svg>',Br='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m5.25 4.5 7.5 7.5-7.5 7.5m6-15 7.5 7.5-7.5 7.5"></path></svg>';var Hr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5"></path></svg>';var Rr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var jr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"></path></svg>';var Zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"></path></svg>';var Vr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"></path></svg>';var Ir='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"></path></svg>';var Pr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"></path><path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"></path></svg>';var Or='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"></path></svg>';var Dr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"></path></svg>',Nr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"></path></svg>';var zr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"></path></svg>';var $r='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14"></path></svg>',Ur='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"></path></svg>';var Fr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"></path></svg>';var Gr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"></path></svg>';var Wr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"></path></svg>';var qr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"></path></svg>';var Yr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"></path></svg>';var Kr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"></path></svg>';var Xr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"></path></svg>';var Qr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z"></path></svg>';var Jr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"></path></svg>',en='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true" data-slot="icon" style="stroke-width:var(--ng-icon__stroke-width, 1.5)"><path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"></path></svg>';var tn={themeLight:Kr,themeDark:Ur,themeSystem:jr,chevronsLeft:Er,chevronsRight:Br,chevronDown:Hr,check:Qt,close:en,pin:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M8 4h8M10.5 4v7M13.5 4v7M7 11h10M12 11v9"/></svg>',save:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M17 3.75H5.25a1.5 1.5 0 0 0-1.5 1.5v13.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V7l-3.25-3.25Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M8.25 3.75v4.5h6.5v-4.5M7.75 20.25v-7h8.5v7"/></svg>',splitPanes:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM12 5.25v13.5"/></svg>',splitPanesDown:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M4 5.25h16a.75.75 0 0 1 .75.75v12a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75V6a.75.75 0 0 1 .75-.75ZM3.25 12h17.5"/></svg>',sidebarLeftOpen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path fill="currentColor" fill-opacity=".28" stroke="none" d="M3.75 3H9v18H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM9 3v18"/></svg>',sidebarLeftClosed:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM9 3v18"/></svg>',sidebarRightOpen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path fill="currentColor" fill-opacity=".28" stroke="none" d="M15 3h5.25a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H15V3Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM15 3v18"/></svg>',sidebarRightClosed:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 3h16.5a.75.75 0 0 1 .75.75v16.5a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75V3.75A.75.75 0 0 1 3.75 3ZM15 3v18"/></svg>',workspaces:Yr,menu:Xt,more:Vr,document:Zr,openWork:Qr,navigator:Xt,outline:Dr,add:Gr,edit:Fr,trash:Xr,preview:Pr,sort:Sr,reset:Mr,undo:Cr,info:Or,lock:Nr,success:Qt,warning:Ir,error:Jr,settings:Rr,help:qr,search:zr,plugin:Wr,download:yr,maximize:Lr,popout:Ar,restore:Tr,minimize:$r};var ht=new Map(Object.entries(tn));function on(o){return ht.get(o)}function rn(o){return ht.has(o)}function Jt(o){return ct.sanitize(o,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function eo(o,e){ht.set(o,e)}function nn(o){ht.delete(o)}var ue="lw-icon",c1="1.25rem",to=class extends HTMLElement{static observedAttributes=["name","size","aria-label"];get name(){return this.getAttribute("name")??""}set name(e){C(this,"name",e)}get size(){return this.getAttribute("size")??c1}set size(e){C(this,"size",e)}connectedCallback(){b(this,"name"),b(this,"size"),this.render()}attributeChangedCallback(){this.refresh()}refresh(){this.isConnected&&this.render()}render(){this.innerHTML=on(this.name)??"";let e=this.querySelector("svg");e&&(e.setAttribute("width",this.size),e.setAttribute("height",this.size)),this.getAttribute("aria-label")?(this.setAttribute("role","img"),this.removeAttribute("aria-hidden")):(this.setAttribute("aria-hidden","true"),this.removeAttribute("role"))}};function sn(){typeof customElements<"u"&&!customElements.get(ue)&&customElements.define(ue,to)}function io(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var xe=io();function wn(o){xe=o}var ke={exec:()=>null};function He(o){let e=[];return t=>{let r=Math.max(0,Math.min(3,t-1)),n=e[r];return n||(n=o(r),e[r]=n),n}}function x(o,e=""){let t=typeof o=="string"?o:o.source,r={replace:(n,s)=>{let l=typeof s=="string"?s:s.source;return l=l.replace(N.caret,"$1"),t=t.replace(n,l),r},getRegex:()=>new RegExp(t,e)};return r}var h1=((o="")=>{try{return!!new RegExp("(?<=1)(?<!1)"+o)}catch{return!1}})(),N={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:o=>new RegExp(`^( {0,3}${o})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:He(o=>new RegExp(`^ {0,${o}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:He(o=>new RegExp(`^ {0,${o}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:He(o=>new RegExp(`^ {0,${o}}(?:\`\`\`|~~~)`)),headingBeginRegex:He(o=>new RegExp(`^ {0,${o}}#`)),htmlBeginRegex:He(o=>new RegExp(`^ {0,${o}}<(?:[a-z].*>|!--)`,"i")),blockquoteBeginRegex:He(o=>new RegExp(`^ {0,${o}}>`))},d1=/^(?:[ \t]*(?:\n|$))+/,u1=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,p1=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Ge=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,w1=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,so=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,gn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,vn=x(gn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),g1=x(gn).replace(/bull/g,so).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ao=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,v1=/^[^\n]+/,lo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,m1=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",lo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),k1=x(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,so).getRegex(),gt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",co=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,f1=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",co).replace("tag",gt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),mn=o=>x(ao).replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list",o).replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",gt).getRegex(),x1=mn(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),_1=mn(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),b1=x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_1).getRegex(),ho={blockquote:b1,code:u1,def:m1,fences:p1,heading:w1,hr:Ge,html:f1,lheading:vn,list:k1,newline:d1,paragraph:x1,table:ke,text:v1},an=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",gt).getRegex(),y1={...ho,lheading:g1,table:an,paragraph:x(ao).replace("hr",Ge).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",an).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",gt).getRegex()},M1={...ho,html:x(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",co).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ke,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(ao).replace("hr",Ge).replace("heading",` *#{1,6} *[^
5
+ ]`).replace("lheading",vn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},A1=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,C1=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,kn=/^( {2,}|\\)\n(?!\s*$)/,T1=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ie=/[\p{P}\p{S}]/u,Re=/[\s\p{P}\p{S}]/u,We=/[^\s\p{P}\p{S}]/u,L1=x(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Re).getRegex(),S1=/[\p{Pi}\p{Ps}"']/u,fn=/(?!~)[\p{P}\p{S}]/u,E1=/(?!~)[\s\p{P}\p{S}]/u,B1=/(?:[^\s\p{P}\p{S}]|~)/u,H1=x(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",h1?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),xn=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,R1=x(xn,"u").replace(/punct/g,ie).getRegex(),j1=x(xn,"u").replace(/punct/g,fn).getRegex(),Z1=/^(?:\*+(?:((?!\*)(?!openQuote)punct)|([^\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\s_]))?/,V1=x(Z1,"u").replace(/openQuote/g,S1).replace(/punct/g,ie).getRegex(),_n="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",I1=x(_n,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),P1=x(_n,"gu").replace(/notPunctSpace/g,B1).replace(/punctSpace/g,E1).replace(/punct/g,fn).getRegex(),O1="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)[\\s](\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|(?:(?!\\*)punct|notPunctSpace)(\\*+)(?!\\*)(?=notPunctSpace)",D1=x(O1,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),N1=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),z1="^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)[\\s](_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)",$1=x(z1,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),U1=x(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,ie).getRegex(),F1="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",G1=x(F1,"gu").replace(/notPunctSpace/g,We).replace(/punctSpace/g,Re).replace(/punct/g,ie).getRegex(),W1=x(/\\(punct)/,"gu").replace(/punct/g,ie).getRegex(),q1=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Y1=x(co).replace("(?:-->|$)","-->").getRegex(),K1=x("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Y1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ut=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,X1=x(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",ut).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),bn=x(/^!?\[(label)\]\[(ref)\]/).replace("label",ut).replace("ref",lo).getRegex(),yn=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",lo).getRegex(),Q1=x("reflink|nolink(?!\\()","g").replace("reflink",bn).replace("nolink",yn).getRegex(),ln=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,uo={_backpedal:ke,anyPunctuation:W1,autolink:q1,blockSkip:H1,br:kn,code:C1,del:ke,delLDelim:ke,delRDelim:ke,emStrongLDelim:R1,emStrongRDelimAst:I1,emStrongRDelimUnd:N1,escape:A1,link:X1,nolink:yn,punctuation:L1,reflink:bn,reflinkSearch:Q1,tag:K1,text:T1,url:ke},J1={...uo,emStrongLDelim:V1,emStrongRDelimAst:D1,emStrongRDelimUnd:$1,link:x(/^!?\[(label)\]\((.*?)\)/).replace("label",ut).getRegex(),reflink:x(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ut).getRegex()},oo={...uo,emStrongRDelimAst:P1,emStrongLDelim:j1,delLDelim:U1,delRDelim:G1,url:x(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ln).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:x(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ln).getRegex()},e5={...oo,br:x(kn).replace("{2,}","*").getRegex(),text:x(oo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},dt={normal:ho,gfm:y1,pedantic:M1},Ue={normal:uo,gfm:oo,breaks:e5,pedantic:J1},t5={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},cn=o=>t5[o];function ne(o,e){if(e){if(N.escapeTest.test(o))return o.replace(N.escapeReplace,cn)}else if(N.escapeTestNoEncode.test(o))return o.replace(N.escapeReplaceNoEncode,cn);return o}function hn(o){try{o=encodeURI(o).replace(N.percentDecode,"%")}catch{return null}return o}function dn(o,e){let t=o.replace(N.findPipe,(s,l,a)=>{let h=!1,p=l;for(;--p>=0&&a[p]==="\\";)h=!h;return h?"|":" |"}),r=t.split(N.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(N.slashPipe,"|");return r}function pe(o,e,t){let r=o.length;if(r===0)return"";let n=0;for(;n<r;){let s=o.charAt(r-n-1);if(s===e&&!t)n++;else if(s!==e&&t)n++;else break}return o.slice(0,r-n)}function un(o){let e=o.split(`
6
6
  `),t=e.length-1;for(;t>=0&&N.blankLine.test(e[t]);)t--;return e.length-t<=2?o:e.slice(0,t+1).join(`
7
- `)}function t5(o,e){if(o.indexOf(e[1])===-1)return-1;let t=0;for(let r=0;r<o.length;r++)if(o[r]==="\\")r++;else if(o[r]===e[0])t++;else if(o[r]===e[1]&&(t--,t<0))return r;return t>0?-2:-1}function o5(o,e=0){let t=e,r="";for(let n of o)if(n===" "){let s=4-t%4;r+=" ".repeat(s),t+=s}else r+=n,t++;return r}function pn(o,e,t,r,n){let s=e.href,l=e.title||null,a=o[1].replace(n.other.outputLinkReplace,"$1");r.state.inLink=!0;let h={type:o[0].charAt(0)==="!"?"image":"link",raw:t,href:s,title:l,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,h}function r5(o,e,t){let r=o.match(t.other.indentCodeCompensation);if(r===null)return e;let n=r[1];return e.split(`
7
+ `)}function o5(o,e){if(o.indexOf(e[1])===-1)return-1;let t=0;for(let r=0;r<o.length;r++)if(o[r]==="\\")r++;else if(o[r]===e[0])t++;else if(o[r]===e[1]&&(t--,t<0))return r;return t>0?-2:-1}function r5(o,e=0){let t=e,r="";for(let n of o)if(n===" "){let s=4-t%4;r+=" ".repeat(s),t+=s}else r+=n,t++;return r}function pn(o,e,t,r,n){let s=e.href,l=e.title||null,a=o[1].replace(n.other.outputLinkReplace,"$1");r.state.inLink=!0;let h={type:o[0].charAt(0)==="!"?"image":"link",raw:t,href:s,title:l,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,h}function n5(o,e,t){let r=o.match(t.other.indentCodeCompensation);if(r===null)return e;let n=r[1];return e.split(`
8
8
  `).map(s=>{let l=s.match(t.other.beginningSpace);if(l===null)return s;let[a]=l;return a.length>=n.length?s.slice(n.length):s}).join(`
9
- `)}var pt=class{options;rules;lexer;constructor(o){this.options=o||xe}space(o){let e=this.rules.block.newline.exec(o);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(o){let e=this.rules.block.code.exec(o);if(e){let t=this.options.pedantic?e[0]:un(e[0]),r=t.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t,codeBlockStyle:"indented",text:r}}}fences(o){let e=this.rules.block.fences.exec(o);if(e){let t=e[0],r=r5(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(o){let e=this.rules.block.heading.exec(o);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let r=pe(t,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(t=r.trim())}return{type:"heading",raw:pe(e[0],`
9
+ `)}var pt=class{options;rules;lexer;constructor(o){this.options=o||xe}space(o){let e=this.rules.block.newline.exec(o);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(o){let e=this.rules.block.code.exec(o);if(e){let t=this.options.pedantic?e[0]:un(e[0]),r=t.replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t,codeBlockStyle:"indented",text:r}}}fences(o){let e=this.rules.block.fences.exec(o);if(e){let t=e[0],r=n5(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(o){let e=this.rules.block.heading.exec(o);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let r=pe(t,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(t=r.trim())}return{type:"heading",raw:pe(e[0],`
10
10
  `),depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(o){let e=this.rules.block.hr.exec(o);if(e)return{type:"hr",raw:pe(e[0],`
11
11
  `)}}blockquote(o){let e=this.rules.block.blockquote.exec(o);if(e){let t=pe(e[0],`
12
12
  `).split(`
@@ -20,7 +20,7 @@ ${m}`:m;let v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
20
20
  ${y}`,n=n.substring(0,n.length-V.text.length)+Y.text;break}else if(k?.type==="list"){let V=k,y=V.raw+`
21
21
  `+t.join(`
22
22
  `),q=this.list(y);s[s.length-1]=q,r=r.substring(0,r.length-k.raw.length)+q.raw,n=n.substring(0,n.length-V.raw.length)+q.raw,t=y.substring(s.at(-1).raw.length).split(`
23
- `);continue}}return{type:"blockquote",raw:r,tokens:s,text:n}}}list(o){let e=this.rules.block.list.exec(o);if(e){let t=e[1].trim(),r=t.length>1,n={type:"list",raw:"",ordered:r,start:r?+t.slice(0,-1):"",loose:!1,items:[]};t=r?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=r?t:"[*+-]");let s=this.rules.other.listItemRegex(t),l=!1;for(;o;){let h=!1,p="",m="";if(!(e=s.exec(o))||this.rules.block.hr.test(o))break;p=e[0],o=o.substring(p.length);let v=o5(e[2].split(`
23
+ `);continue}}return{type:"blockquote",raw:r,tokens:s,text:n}}}list(o){let e=this.rules.block.list.exec(o);if(e){let t=e[1].trim(),r=t.length>1,n={type:"list",raw:"",ordered:r,start:r?+t.slice(0,-1):"",loose:!1,items:[]};t=r?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=r?t:"[*+-]");let s=this.rules.other.listItemRegex(t),l=!1;for(;o;){let h=!1,p="",m="";if(!(e=s.exec(o))||this.rules.block.hr.test(o))break;p=e[0],o=o.substring(p.length);let v=r5(e[2].split(`
24
24
  `,1)[0],e[1].length),k=o.split(`
25
25
  `,1)[0],V=!v.trim(),y=0;if(this.options.pedantic?(y=2,m=v.trimStart()):V?y=e[1].length+1:(y=v.search(this.rules.other.nonSpaceChar),y=y>4?1:y,m=v.slice(y),y+=e[1].length),V&&this.rules.other.blankLine.test(k)&&(p+=k+`
26
26
  `,o=o.substring(k.length+1),h=!0),!h){let q=this.rules.other.nextBulletRegex(y),Y=this.rules.other.hrRegex(y),J=this.rules.other.fencesBeginRegex(y),je=this.rules.other.headingBeginRegex(y),Ze=this.rules.other.htmlBeginRegex(y),I=this.rules.other.blockquoteBeginRegex(y);for(;o;){let $=o.split(`
@@ -32,7 +32,7 @@ ${y}`,n=n.substring(0,n.length-V.text.length)+Y.text;break}else if(k?.type==="li
32
32
  `):[],s={type:"table",raw:pe(e[0],`
33
33
  `),header:[],align:[],rows:[]};if(t.length===r.length){for(let l of r)this.rules.other.tableAlignRight.test(l)?s.align.push("right"):this.rules.other.tableAlignCenter.test(l)?s.align.push("center"):this.rules.other.tableAlignLeft.test(l)?s.align.push("left"):s.align.push(null);for(let l=0;l<t.length;l++)s.header.push({text:t[l],tokens:this.lexer.inline(t[l]),header:!0,align:s.align[l]});for(let l of n)s.rows.push(dn(l,s.header.length).map((a,h)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:s.align[h]})));return s}}lheading(o){let e=this.rules.block.lheading.exec(o);if(e){let t=e[1].trim();return{type:"heading",raw:pe(e[0],`
34
34
  `),depth:e[2].charAt(0)==="="?1:2,text:t,tokens:this.lexer.inline(t)}}}paragraph(o){let e=this.rules.block.paragraph.exec(o);if(e){let t=e[1].charAt(e[1].length-1)===`
35
- `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(o){let e=this.rules.block.text.exec(o);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(o){let e=this.rules.inline.escape.exec(o);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(o){let e=this.rules.inline.tag.exec(o);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(o){let e=this.rules.inline.link.exec(o);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let s=pe(t.slice(0,-1),"\\");if((t.length-s.length)%2===0)return}else{let s=t5(e[2],"()");if(s===-2)return;if(s>-1){let l=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],n="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],n=s[3])}else n=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?r=r.slice(1):r=r.slice(1,-1)),pn(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(o,e){let t;if((t=this.rules.inline.reflink.exec(o))||(t=this.rules.inline.nolink.exec(o))){let r=(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=e[r.toLowerCase()];if(!n){let s=t[0].charAt(0);return{type:"text",raw:s,text:s}}return pn(t,n,t[0],this.lexer,this.rules)}}emStrong(o,e,t=""){let r=this.rules.inline.emStrongLDelim.exec(o);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&t.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!t||this.rules.inline.punctuation.exec(t))){let n=[...r[0]].length-1,s,l,a=n,h=0,p=r[0][0],m=t===p,v=p==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,e=e.slice(-1*o.length+n);(r=v.exec(e))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(l=[...s].length,r[3]||r[4]){a+=l;continue}else if(r[5]||r[6]){if(n%3&&!((n+l)%3)){h+=l;continue}if(m)break}if(a-=l,a>0)continue;l=Math.min(l,l+a+h);let k=[...r[0]][0].length,V=o.slice(0,n+r.index+k+l);if(Math.min(n,l)%2){let q=V.slice(1,-1);return{type:"em",raw:V,text:q,tokens:this.lexer.inlineTokens(q)}}let y=V.slice(2,-2);return{type:"strong",raw:V,text:y,tokens:this.lexer.inlineTokens(y)}}}}codespan(o){let e=this.rules.inline.code.exec(o);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(t),n=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return r&&n&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(o){let e=this.rules.inline.br.exec(o);if(e)return{type:"br",raw:e[0]}}del(o,e,t=""){let r=this.rules.inline.delLDelim.exec(o);if(r&&(!r[1]||!t||this.rules.inline.punctuation.exec(t))){let n=[...r[0]].length-1,s,l,a=n,h=this.rules.inline.delRDelim;for(h.lastIndex=0,e=e.slice(-1*o.length+n);(r=h.exec(e))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s||(l=[...s].length,l!==n))continue;if(r[3]||r[4]){a+=l;continue}if(a-=l,a>0)continue;l=Math.min(l,l+a);let p=[...r[0]][0].length,m=o.slice(0,n+r.index+p+l),v=m.slice(n,-n);return{type:"del",raw:m,text:v,tokens:this.lexer.inlineTokens(v)}}}}autolink(o){let e=this.rules.inline.autolink.exec(o);if(e){let t,r;return e[2]==="@"?(t=e[1],r="mailto:"+t):(t=e[1],r=t),{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(o){let e;if(e=this.rules.inline.url.exec(o)){let t,r;if(e[2]==="@")t=e[0],r="mailto:"+t;else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);t=e[0],e[1]==="www."?r="http://"+e[0]:r=e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(o){let e=this.rules.inline.text.exec(o);if(e){let t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},X=class ro{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||xe,this.options.tokenizer=this.options.tokenizer||new pt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:N,block:dt.normal,inline:Ue.normal};this.options.pedantic?(t.block=dt.pedantic,t.inline=Ue.pedantic):this.options.gfm&&(t.block=dt.gfm,this.options.breaks?t.inline=Ue.breaks:t.inline=Ue.gfm),this.tokenizer.rules=t}static get rules(){return{block:dt,inline:Ue}}static lex(e,t){return new ro(t).lex(e)}static lexInline(e,t){return new ro(t).inlineTokens(e)}lex(e){e=e.replace(N.carriageReturn,`
35
+ `?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(o){let e=this.rules.block.text.exec(o);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(o){let e=this.rules.inline.escape.exec(o);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(o){let e=this.rules.inline.tag.exec(o);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(o){let e=this.rules.inline.link.exec(o);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let s=pe(t.slice(0,-1),"\\");if((t.length-s.length)%2===0)return}else{let s=o5(e[2],"()");if(s===-2)return;if(s>-1){let l=(e[0].indexOf("!")===0?5:4)+e[1].length+s;e[2]=e[2].substring(0,s),e[0]=e[0].substring(0,l).trim(),e[3]=""}}let r=e[2],n="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],n=s[3])}else n=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?r=r.slice(1):r=r.slice(1,-1)),pn(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(o,e){let t;if((t=this.rules.inline.reflink.exec(o))||(t=this.rules.inline.nolink.exec(o))){let r=(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=e[r.toLowerCase()];if(!n){let s=t[0].charAt(0);return{type:"text",raw:s,text:s}}return pn(t,n,t[0],this.lexer,this.rules)}}emStrong(o,e,t=""){let r=this.rules.inline.emStrongLDelim.exec(o);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&t.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!t||this.rules.inline.punctuation.exec(t))){let n=[...r[0]].length-1,s,l,a=n,h=0,p=r[0][0],m=t===p,v=p==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(v.lastIndex=0,e=e.slice(-1*o.length+n);(r=v.exec(e))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(l=[...s].length,r[3]||r[4]){a+=l;continue}else if(r[5]||r[6]){if(n%3&&!((n+l)%3)){h+=l;continue}if(m)break}if(a-=l,a>0)continue;l=Math.min(l,l+a+h);let k=[...r[0]][0].length,V=o.slice(0,n+r.index+k+l);if(Math.min(n,l)%2){let q=V.slice(1,-1);return{type:"em",raw:V,text:q,tokens:this.lexer.inlineTokens(q)}}let y=V.slice(2,-2);return{type:"strong",raw:V,text:y,tokens:this.lexer.inlineTokens(y)}}}}codespan(o){let e=this.rules.inline.code.exec(o);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(t),n=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return r&&n&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(o){let e=this.rules.inline.br.exec(o);if(e)return{type:"br",raw:e[0]}}del(o,e,t=""){let r=this.rules.inline.delLDelim.exec(o);if(r&&(!r[1]||!t||this.rules.inline.punctuation.exec(t))){let n=[...r[0]].length-1,s,l,a=n,h=this.rules.inline.delRDelim;for(h.lastIndex=0,e=e.slice(-1*o.length+n);(r=h.exec(e))!==null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s||(l=[...s].length,l!==n))continue;if(r[3]||r[4]){a+=l;continue}if(a-=l,a>0)continue;l=Math.min(l,l+a);let p=[...r[0]][0].length,m=o.slice(0,n+r.index+p+l),v=m.slice(n,-n);return{type:"del",raw:m,text:v,tokens:this.lexer.inlineTokens(v)}}}}autolink(o){let e=this.rules.inline.autolink.exec(o);if(e){let t,r;return e[2]==="@"?(t=e[1],r="mailto:"+t):(t=e[1],r=t),{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(o){let e;if(e=this.rules.inline.url.exec(o)){let t,r;if(e[2]==="@")t=e[0],r="mailto:"+t;else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);t=e[0],e[1]==="www."?r="http://"+e[0]:r=e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(o){let e=this.rules.inline.text.exec(o);if(e){let t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},X=class ro{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||xe,this.options.tokenizer=this.options.tokenizer||new pt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:N,block:dt.normal,inline:Ue.normal};this.options.pedantic?(t.block=dt.pedantic,t.inline=Ue.pedantic):this.options.gfm&&(t.block=dt.gfm,this.options.breaks?t.inline=Ue.breaks:t.inline=Ue.gfm),this.tokenizer.rules=t}static get rules(){return{block:dt,inline:Ue}}static lex(e,t){return new ro(t).lex(e)}static lexInline(e,t){return new ro(t).inlineTokens(e)}lex(e){e=e.replace(N.carriageReturn,`
36
36
  `),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){let r=this.inlineQueue[t];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(N.tabCharGlobal," ").replace(N.spaceLine,""));let n=1/0;for(;e;){if(e.length<n)n=e.length;else{this.infiniteLoopError(e.charCodeAt(0));break}let s;if(this.options.extensions?.block?.some(a=>(s=a.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))continue;if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length);let a=t.at(-1);s.raw.length===1&&a!==void 0?a.raw+=`
37
37
  `:t.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length);let a=t.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(`
38
38
  `)?"":`
@@ -64,8 +64,8 @@ ${this.parser.parse(o)}</blockquote>
64
64
  `}tablerow({text:o}){return`<tr>
65
65
  ${o}</tr>
66
66
  `}tablecell(o){let e=this.parser.parseInline(o.tokens),t=o.header?"th":"td";return(o.align?`<${t} align="${o.align}">`:`<${t}>`)+e+`</${t}>
67
- `}strong({tokens:o}){return`<strong>${this.parser.parseInline(o)}</strong>`}em({tokens:o}){return`<em>${this.parser.parseInline(o)}</em>`}codespan({text:o}){return`<code>${ne(o,!0)}</code>`}br(o){return"<br>"}del({tokens:o}){return`<del>${this.parser.parseInline(o)}</del>`}link({href:o,title:e,tokens:t}){let r=this.parser.parseInline(t),n=hn(o);if(n===null)return r;o=n;let s='<a href="'+o+'"';return e&&(s+=' title="'+ne(e)+'"'),s+=">"+r+"</a>",s}image({href:o,title:e,text:t,tokens:r}){r&&(t=this.parser.parseInline(r,this.parser.textRenderer));let n=hn(o);if(n===null)return ne(t);o=n;let s=`<img src="${o}" alt="${ne(t)}"`;return e&&(s+=` title="${ne(e)}"`),s+=">",s}text(o){return"tokens"in o&&o.tokens?this.parser.parseInline(o.tokens):"escaped"in o&&o.escaped?o.text:ne(o.text)}},po=class{strong({text:o}){return o}em({text:o}){return o}codespan({text:o}){return o}del({text:o}){return o}html({text:o}){return o}text({text:o}){return o}link({text:o}){return""+o}image({text:o}){return""+o}br(){return""}checkbox({raw:o}){return o}},Q=class no{options;renderer;textRenderer;constructor(e){this.options=e||xe,this.options.renderer=this.options.renderer||new wt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new po}static parse(e,t){return new no(t).parse(e)}static parseInline(e,t){return new no(t).parseInline(e)}parse(e){this.renderer.parser=this;let t="";for(let r=0;r<e.length;r++){let n=e[r];if(this.options.extensions?.renderers?.[n.type]){let l=n,a=this.options.extensions.renderers[l.type].call({parser:this},l);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(l.type)){t+=a||"";continue}}let s=n;switch(s.type){case"space":{t+=this.renderer.space(s);break}case"hr":{t+=this.renderer.hr(s);break}case"heading":{t+=this.renderer.heading(s);break}case"code":{t+=this.renderer.code(s);break}case"table":{t+=this.renderer.table(s);break}case"blockquote":{t+=this.renderer.blockquote(s);break}case"list":{t+=this.renderer.list(s);break}case"checkbox":{t+=this.renderer.checkbox(s);break}case"html":{t+=this.renderer.html(s);break}case"def":{t+=this.renderer.def(s);break}case"paragraph":{t+=this.renderer.paragraph(s);break}case"text":{t+=this.renderer.text(s);break}default:{let l='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let r="";for(let n=0;n<e.length;n++){let s=e[n];if(this.options.extensions?.renderers?.[s.type]){let a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(s.type)){r+=a||"";continue}}let l=s;switch(l.type){case"escape":{r+=t.text(l);break}case"html":{r+=t.html(l);break}case"link":{r+=t.link(l);break}case"image":{r+=t.image(l);break}case"checkbox":{r+=t.checkbox(l);break}case"strong":{r+=t.strong(l);break}case"em":{r+=t.em(l);break}case"codespan":{r+=t.codespan(l);break}case"br":{r+=t.br(l);break}case"del":{r+=t.del(l);break}case"text":{r+=t.text(l);break}default:{let a='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}},Fe=class{options;block;constructor(o){this.options=o||xe}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(o){return o}postprocess(o){return o}processAllTokens(o){return o}emStrongMask(o){return o}provideLexer(o=this.block){return o?X.lex:X.lexInline}provideParser(o=this.block){return o?Q.parse:Q.parseInline}},n5=class{defaults=io();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Q;Renderer=wt;TextRenderer=po;Lexer=X;Tokenizer=pt;Hooks=Fe;constructor(...o){this.use(...o)}walkTokens(o,e){let t=[];for(let r of o)switch(t=t.concat(e.call(this,r)),r.type){case"table":{let n=r;for(let s of n.header)t=t.concat(this.walkTokens(s.tokens,e));for(let s of n.rows)for(let l of s)t=t.concat(this.walkTokens(l.tokens,e));break}case"list":{let n=r;t=t.concat(this.walkTokens(n.items,e));break}default:{let n=r;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(s=>{let l=n[s].flat(1/0);t=t.concat(this.walkTokens(l,e))}):n.tokens&&(t=t.concat(this.walkTokens(n.tokens,e)))}}return t}use(...o){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return o.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let s=e.renderers[n.name];s?e.renderers[n.name]=function(...l){let a=n.renderer.apply(this,l);return a===!1&&(a=s.apply(this,l)),a}:e.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=e[n.level];s?s.unshift(n.tokenizer):e[n.level]=[n.tokenizer],n.start&&(n.level==="block"?e.startBlock?e.startBlock.push(n.start):e.startBlock=[n.start]:n.level==="inline"&&(e.startInline?e.startInline.push(n.start):e.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(e.childTokens[n.name]=n.childTokens)}),r.extensions=e),t.renderer){let n=this.defaults.renderer||new wt(this.defaults);for(let s in t.renderer){if(!(s in n))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let l=s,a=t.renderer[l],h=n[l];n[l]=(...p)=>{let m=a.apply(n,p);return m===!1&&(m=h.apply(n,p)),m||""}}r.renderer=n}if(t.tokenizer){let n=this.defaults.tokenizer||new pt(this.defaults);for(let s in t.tokenizer){if(!(s in n))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let l=s,a=t.tokenizer[l],h=n[l];n[l]=(...p)=>{let m=a.apply(n,p);return m===!1&&(m=h.apply(n,p)),m}}r.tokenizer=n}if(t.hooks){let n=this.defaults.hooks||new Fe;for(let s in t.hooks){if(!(s in n))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let l=s,a=t.hooks[l],h=n[l];Fe.passThroughHooks.has(s)?n[l]=p=>{if(this.defaults.async&&Fe.passThroughHooksRespectAsync.has(s))return(async()=>{let v=await a.call(n,p);return h.call(n,v)})();let m=a.call(n,p);return h.call(n,m)}:n[l]=(...p)=>{if(this.defaults.async)return(async()=>{let v=await a.apply(n,p);return v===!1&&(v=await h.apply(n,p)),v})();let m=a.apply(n,p);return m===!1&&(m=h.apply(n,p)),m}}r.hooks=n}if(t.walkTokens){let n=this.defaults.walkTokens,s=t.walkTokens;r.walkTokens=function(l){let a=[];return a.push(s.call(this,l)),n&&(a=a.concat(n.call(this,l))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(o){return this.defaults={...this.defaults,...o},this}lexer(o,e){return X.lex(o,e??this.defaults)}parser(o,e){return Q.parse(o,e??this.defaults)}parseMarkdown(o){return(e,t)=>{let r={...t},n={...this.defaults,...r},s=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=o),n.async)return(async()=>{let l=n.hooks?await n.hooks.preprocess(e):e,a=await(n.hooks?await n.hooks.provideLexer(o):o?X.lex:X.lexInline)(l,n),h=n.hooks?await n.hooks.processAllTokens(a):a;n.walkTokens&&await Promise.all(this.walkTokens(h,n.walkTokens));let p=await(n.hooks?await n.hooks.provideParser(o):o?Q.parse:Q.parseInline)(h,n);return n.hooks?await n.hooks.postprocess(p):p})().catch(s);try{n.hooks&&(e=n.hooks.preprocess(e));let l=(n.hooks?n.hooks.provideLexer(o):o?X.lex:X.lexInline)(e,n);n.hooks&&(l=n.hooks.processAllTokens(l)),n.walkTokens&&this.walkTokens(l,n.walkTokens);let a=(n.hooks?n.hooks.provideParser(o):o?Q.parse:Q.parseInline)(l,n);return n.hooks&&(a=n.hooks.postprocess(a)),a}catch(l){return s(l)}}}onError(o,e){return t=>{if(t.message+=`
68
- Please report this to https://github.com/markedjs/marked.`,o){let r="<p>An error occurred:</p><pre>"+ne(t.message+"",!0)+"</pre>";return e?Promise.resolve(r):r}if(e)return Promise.reject(t);throw t}}},fe=new n5;function M(o,e){return fe.parse(o,e)}M.options=M.setOptions=function(o){return fe.setOptions(o),M.defaults=fe.defaults,wn(M.defaults),M};M.getDefaults=io;M.defaults=xe;function i5(...o){return fe.use(...o),M.defaults=fe.defaults,wn(M.defaults),M}M.use=i5;M.walkTokens=function(o,e){return fe.walkTokens(o,e)};M.parseInline=fe.parseInline;M.Parser=Q;M.parser=Q.parse;M.Renderer=wt;M.TextRenderer=po;M.Lexer=X;M.lexer=X.lex;M.Tokenizer=pt;M.Hooks=Fe;M.parse=M;var N5=M.options,z5=M.setOptions,$5=M.walkTokens,U5=M.parseInline;var F5=Q.parse,G5=X.lex;var Mn="lw-markdown",wo=class extends HTMLElement{static observedAttributes=["source"];prose;get source(){return this.getAttribute("source")??""}set source(e){C(this,"source",e)}connectedCallback(){b(this,"source"),this.prose||(this.prose=document.createElement("div"),this.prose.className="prose prose-sm max-w-none prose-lw",this.append(this.prose)),this.render(this.prose)}attributeChangedCallback(){this.prose&&this.render(this.prose)}render(e){let t=M.parse(this.source,{async:!1,gfm:!0,breaks:!0});e.innerHTML=ct.sanitize(t)}};function An(){typeof customElements<"u"&&!customElements.get(Mn)&&customElements.define(Mn,wo)}var Cn="lw-menu",Tn="lw-menu-item",mt=4,vt=4,s5="lw-menu-select",a5="lw-menu-dismiss";function go(o,e,t){return o>=mt&&o+e<=t-mt}function kt(o,e,t){return Math.max(mt,Math.min(o,t-e-mt))}function Ln(o,e,t,r){return go(o,t,r)?o:go(e,t,r)?e:kt(o,t,r)}function Sn(o,e,t,r){return go(o,t,r)?o:kt(e-t,t,r)}var vo=class extends HTMLElement{static observedAttributes=["label","command","disabled","icon","shortcut","checkbox","checked"];get label(){return this.getAttribute("label")}set label(e){C(this,"label",e)}get command(){return this.getAttribute("command")}set command(e){C(this,"command",e)}connectedCallback(){b(this,"label"),b(this,"command"),this.tabIndex=-1,this.render()}attributeChangedCallback(){this.isConnected&&this.render()}render(){let e=this.hasAttribute("checkbox"),t=this.hasAttribute("checked");this.setAttribute("role",e?"menuitemcheckbox":"menuitem"),e?this.setAttribute("aria-checked",String(t)):this.removeAttribute("aria-checked"),this.setAttribute("aria-disabled",String(this.hasAttribute("disabled")));let r=document.createElement("span");r.className="lw-menu-item-lead",r.setAttribute("aria-hidden","true");let n;if(e?n=t?"check":null:n=this.getAttribute("icon"),n){let a=document.createElement("lw-icon");a.setAttribute("name",n),a.setAttribute("size","0.9rem"),r.append(a)}let s=document.createElement("span");s.className="lw-menu-item-label",s.textContent=this.getAttribute("label")??"",this.replaceChildren(r,s);let l=this.getAttribute("shortcut");if(l){let a=document.createElement("span");a.className="lw-menu-item-shortcut",a.setAttribute("aria-hidden","true"),a.textContent=l,this.append(a)}}},mo=class extends HTMLElement{active=-1;connectedCallback(){this.setAttribute("role","menu"),this.tabIndex=-1,this.addEventListener("keydown",this.onKeydown),this.addEventListener("click",this.onClick),queueMicrotask(()=>{this.isConnected&&this.focus()})}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown),this.removeEventListener("click",this.onClick)}openAt(e,t){let{width:r,height:n}=this.getBoundingClientRect();this.place(kt(e,r,window.innerWidth),kt(t,n,window.innerHeight))}openBeside(e,t){let{width:r,height:n}=this.getBoundingClientRect(),s=window.innerWidth,l=window.innerHeight,a={x:e.right+vt,y:e.bottom+vt},h={x:e.left-vt-r,y:e.top-vt-n};if(t==="left"||t==="right"){let v=t==="right"?a.x:h.x,k=t==="right"?h.x:a.x;this.place(Ln(v,k,r,s),Sn(e.top,e.bottom,n,l));return}let p=t==="bottom"?a.y:h.y,m=t==="bottom"?h.y:a.y;this.place(Sn(e.left,e.right,r,s),Ln(p,m,n,l))}onKeydown=e=>this.handleKeydown(e);onClick=e=>{let t=e.target?.closest('[role^="menuitem"]');t&&!this.isDisabled(t)&&this.select(t)};place(e,t){this.style.left=`${e}px`,this.style.top=`${t}px`}items(){return[...this.querySelectorAll('[role^="menuitem"]')].filter(e=>!this.isDisabled(e))}isDisabled(e){return e.getAttribute("aria-disabled")==="true"||e.hasAttribute("disabled")}setActive(e){let t=this.items();if(t.length===0)return;this.active=(e+t.length)%t.length;for(let[n,s]of t.entries())s.tabIndex=n===this.active?0:-1;let r=t[this.active];r.focus(),r.scrollIntoView?.({block:"nearest"})}select(e){this.dispatchEvent(new CustomEvent(s5,{detail:{command:e.getAttribute("command")},bubbles:!0}))}handleKeydown(e){switch(e.key){case"ArrowDown":{this.setActive(this.active<0?0:this.active+1);break}case"ArrowUp":{this.setActive((this.active<0?this.items().length:this.active)-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(this.items().length-1);break}case"Enter":case" ":{let t=this.active>=0?this.items()[this.active]:void 0;t&&this.select(t);break}case"Escape":case"Tab":{this.dispatchEvent(new CustomEvent(a5,{bubbles:!0}));return}default:return}e.preventDefault()}};function En(){typeof customElements>"u"||(customElements.get(Tn)||customElements.define(Tn,vo),customElements.get(Cn)||customElements.define(Cn,mo))}function Bn(o,e){return o===void 0?!1:o===e||o.startsWith(e===""?"":`${e}/`)}var ko="data-lw-nav-part";function _e(o,e,t){let r=[...o.children].find(s=>s.getAttribute(ko)===e);if(r instanceof HTMLElement&&r.localName===t)return r;r?.remove();let n=document.createElement(t);return n.setAttribute(ko,e),n}function ft(o,e){fo(o,e)?.remove()}function fo(o,e){return[...o.children].find(t=>t.getAttribute(ko)===e)}function Hn(o,e,t){let r=_e(o,e,ue);r.setAttribute("name",t),r.setAttribute("size","1rem"),r.classList.add("lw-nav-glyph"),r.parentElement!==o&&o.prepend(r)}function Rn(o,e){let t=null;for(let r of o)e(r)&&(t===null||r.length>t.length)&&(t=r);return t}function xt(o){return o.getAttribute("path")??""}var be="lw-nav-item",_t=class extends HTMLElement{static observedAttributes=["path","label","icon"];get path(){return this.getAttribute("path")??""}set path(e){C(this,"path",e)}get label(){return this.getAttribute("label")??""}set label(e){C(this,"label",e)}get icon(){return this.getAttribute("icon")}set icon(e){C(this,"icon",e)}connectedCallback(){b(this,"path"),b(this,"label"),b(this,"icon"),this.setAttribute("role","button"),this.classList.add("lw-nav-item"),this.tabIndex=0,this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=e=>{e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),this.click())};render(){let e=this.icon;e?Hn(this,"glyph",e):ft(this,"glyph");let t=_e(this,"label","span");t.className="lw-nav-item-label",t.textContent=this.label,t.parentElement!==this&&this.insertBefore(t,this.glyphEnd())}glyphEnd(){let e=fo(this,"glyph");return e?e.nextSibling:this.firstChild}};var jn=new Map;function Zn(o,e){return jn.get(o)??e}function Vn(o,e){jn.set(o,e)}var xo="lw-nav-group",bt=class extends HTMLElement{static observedAttributes=["label","key","collapsed"];observer;drawnItems=-1;get label(){return this.getAttribute("label")??""}set label(e){C(this,"label",e)}get key(){return this.getAttribute("key")??this.label}set key(e){C(this,"key",e)}get collapsed(){return this.hasAttribute("collapsed")}set collapsed(e){this.toggleAttribute("collapsed",e)}get open(){return this.itemCount()===0||!Zn(this.key,this.collapsed)}connectedCallback(){b(this,"label"),b(this,"key"),b(this,"collapsed"),this.classList.add("lw-nav-group"),this.observer=new MutationObserver(()=>this.onChildren()),this.observer.observe(this,{childList:!0}),this.render()}disconnectedCallback(){this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.render()}toggle(){this.itemCount()!==0&&(Vn(this.key,this.open),this.render())}onChildren(){this.itemCount()!==this.drawnItems&&this.render()}itemCount(){return[...this.children].filter(e=>e.localName===be).length}render(){let e=this.itemCount();this.drawnItems=e;let t=_e(this,"heading","button");if(t.className="lw-nav-group-heading",t.setAttribute("type","button"),t.toggleAttribute("disabled",e===0),e===0?t.removeAttribute("aria-expanded"):t.setAttribute("aria-expanded",String(this.open)),t.parentElement!==this&&(t.addEventListener("click",()=>this.toggle()),this.prepend(t)),e===0)ft(t,"chevron");else{let n=_e(t,"chevron",ue);n.setAttribute("name","chevronDown"),n.setAttribute("size","0.875rem"),n.className="lw-nav-chevron",n.parentElement!==t&&t.prepend(n)}let r=_e(t,"label","span");r.className="lw-nav-group-label",r.textContent=this.label,r.parentElement!==t&&t.append(r),this.dataset.open=String(this.open)}};var _o="lw-nav-tree",l5="lw-nav-select",bo=class extends HTMLElement{static observedAttributes=["current"];observer;get current(){return this.getAttribute("current")}set current(e){C(this,"current",e)}connectedCallback(){b(this,"current"),this.setAttribute("role","navigation"),this.classList.add("lw-nav-tree"),this.addEventListener("click",this.onClick),this.observer=new MutationObserver(()=>this.mark()),this.observer.observe(this,{childList:!0,subtree:!0,attributeFilter:["path"]}),this.mark()}disconnectedCallback(){this.removeEventListener("click",this.onClick),this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.mark()}onClick=e=>{let t=e.target?.closest(be);!t||!this.owns(t)||this.dispatchEvent(new CustomEvent(l5,{detail:{path:xt(t)},bubbles:!0}))};mark(){let e=this.items(),t=this.current??void 0,r=Rn(e.map(n=>xt(n)),n=>Bn(t,n));for(let n of e)r!==null&&xt(n)===r?n.setAttribute("aria-current","page"):n.removeAttribute("aria-current")}items(){return[...this.querySelectorAll(be)].filter(e=>this.owns(e))}owns(e){return e.closest(_o)===this}};function In(){typeof customElements>"u"||(customElements.get(be)||customElements.define(be,_t),customElements.get(xo)||customElements.define(xo,bt),customElements.get(_o)||customElements.define(_o,bo))}var Pn="lw-progress-ring";var yo=class extends HTMLElement{static observedAttributes=["value","max","size"];connectedCallback(){this.render()}attributeChangedCallback(){this.isConnected&&this.render()}num(e,t){let r=this.getAttribute(e);if(r===null||r.trim()==="")return t;let n=Number(r);return Number.isFinite(n)?n:t}render(){let e=Math.max(this.num("max",100),1),t=Math.min(Math.max(this.num("value",0),0),e),r=Math.round(t/e*100),n=this.getAttribute("size")??"2.5rem";this.style.width=n,this.style.height=n,this.setAttribute("role","progressbar"),this.setAttribute("aria-valuenow",String(t)),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(e)),this.innerHTML=`<svg class="lw-progress-ring-svg" viewBox="0 0 36 36" aria-hidden="true"><circle class="lw-progress-ring-track" cx="18" cy="18" r="${15.9155}"></circle><circle class="lw-progress-ring-value" cx="18" cy="18" r="${15.9155}" transform="rotate(-90 18 18)" stroke-dasharray="100" stroke-dashoffset="${100-r}"></circle><text class="lw-progress-ring-text" x="18" y="18">${r}%</text></svg>`}};function On(){typeof customElements<"u"&&!customElements.get(Pn)&&customElements.define(Pn,yo)}var qe="lw-option",yt=class extends HTMLElement{get value(){return this.getAttribute("value")}set value(e){C(this,"value",e)}get icon(){return this.getAttribute("icon")}set icon(e){C(this,"icon",e)}connectedCallback(){b(this,"value"),b(this,"icon")}};function Dn(o){return[...o.querySelectorAll(qe)].map(e=>({value:e.getAttribute("value")??"",label:(e.textContent??"").trim(),icon:e.getAttribute("icon"),disabled:e.hasAttribute("disabled")}))}function Nn(o){let e=document.createElement("button");e.type="button",e.className="lw-select-trigger",e.setAttribute("aria-haspopup","listbox"),e.setAttribute("aria-expanded","false"),e.setAttribute("aria-controls",o.listboxId),e.style.setProperty("anchor-name",o.anchorName),e.addEventListener("click",o.onToggle),e.addEventListener("keydown",o.onKeydown);let t=document.createElement("span");t.className="lw-select-value";let r=document.createElement("span");return r.className="lw-select-chevron",r.setAttribute("aria-hidden","true"),r.textContent="\u25BE",e.append(t,r),{trigger:e,valueSlot:t}}function zn(o){let e=document.createElement("div");return e.id=o.listboxId,e.className="lw-select-listbox",e.setAttribute("role","listbox"),e.hidden=!0,e.style.setProperty("position-anchor",o.anchorName),e.addEventListener("keydown",o.onKeydown),e}function $n(o,e,t,r){o.textContent="",t&&o.append(Fn(t)),(!t||!r)&&o.append(document.createTextNode(e))}function Un(o){let e=o.choice,t=document.createElement("div");return t.className="lw-select-option",t.setAttribute("role","option"),t.id=o.id,t.dataset.value=e.value,t.setAttribute("aria-selected",String(o.selected)),t.tabIndex=-1,e.disabled&&t.setAttribute("aria-disabled","true"),e.icon&&t.append(Fn(e.icon)),t.append(document.createTextNode(e.label)),t.addEventListener("click",()=>{e.disabled||o.onPick()}),t.addEventListener("pointermove",o.onHover),t}function Fn(o){let e=document.createElement("span");return e.className="lw-select-glyph",e.setAttribute("aria-hidden","true"),e.textContent=o,e}var Gn="lw-select",c5="lw-select-change",h5=0,d5=500,Mo=class o extends HTMLElement{static observedAttributes=["value","label","placeholder","disabled","compact"];selectId=h5++;anchorName=`--lw-select-${this.selectId}`;listboxId=`lw-select-listbox-${this.selectId}`;open=!1;activeIndex=0;typeahead="";typeaheadTimer;trigger;valueSlot;listbox;observer;get value(){return this.getAttribute("value")}set value(e){C(this,"value",e)}get compact(){return this.hasAttribute("compact")}set compact(e){this.toggleAttribute("compact",e)}connectedCallback(){b(this,"value"),this.trigger||this.buildControl(),this.observer=new MutationObserver(()=>this.syncTrigger()),this.observe(),this.syncTrigger()}disconnectedCallback(){this.observer?.disconnect(),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer)}attributeChangedCallback(e){this.trigger&&(o.observedAttributes.includes(e)&&this.syncTrigger(),e==="disabled"&&this.hasAttribute("disabled")&&this.close(!1))}onOutsidePointer=e=>{this.contains(e.target)||this.close(!1)};observe(){this.observer?.observe(this,{childList:!0,characterData:!0,subtree:!0,attributes:!0})}write(e){this.observer?.disconnect();try{e()}finally{this.observe()}}choices(){return Dn(this)}selectedChoice(){let e=this.value;return this.choices().find(t=>t.value===e)}buildControl(){let{trigger:e,valueSlot:t}=Nn({anchorName:this.anchorName,listboxId:this.listboxId,onToggle:()=>this.toggle(),onKeydown:n=>this.onTriggerKeydown(n)}),r=zn({anchorName:this.anchorName,listboxId:this.listboxId,onKeydown:n=>this.onListboxKeydown(n)});this.append(e,r),this.trigger=e,this.valueSlot=t,this.listbox=r}syncTrigger(){let e=this.trigger,t=this.valueSlot;if(!e||!t)return;let r=this.getAttribute("label"),n=this.selectedChoice(),s=n?.label??this.getAttribute("placeholder")??"",l=this.compact&&n?.icon!=null;this.write(()=>{e.disabled=this.hasAttribute("disabled"),r!==null&&(e.setAttribute("aria-label",l?`${r}: ${s}`:r),this.listbox?.setAttribute("aria-label",r)),$n(t,s,n?.icon??null,l)})}toggle(){this.open?this.close():this.openListbox()}openListbox(){let e=this.listbox,t=this.trigger;if(this.open||this.hasAttribute("disabled")||!e||!t)return;this.renderOptions(),this.open=!0,this.write(()=>{e.hidden=!1,t.setAttribute("aria-expanded","true")});let n=this.choices().findIndex(s=>s.value===this.value);this.setActive(Math.max(0,n)),document.addEventListener("pointerdown",this.onOutsidePointer,{capture:!0})}close(e=!0){let t=this.listbox,r=this.trigger;!this.open||!t||!r||(this.open=!1,this.write(()=>{t.hidden=!0,t.replaceChildren(),r.setAttribute("aria-expanded","false")}),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),e&&r.focus())}renderOptions(){let e=this.listbox;if(!e)return;let t=this.choices().map((r,n)=>Un({choice:r,id:`${this.listboxId}-opt-${n}`,selected:r.value===this.value,onPick:()=>this.commit(r.value),onHover:()=>this.setActive(n)}));this.write(()=>e.replaceChildren(...t))}setActive(e){if(!this.listbox)return;let t=[...this.listbox.children];if(t.length===0)return;this.activeIndex=Math.max(0,Math.min(e,t.length-1)),this.write(()=>{for(let[n,s]of t.entries())s.classList.toggle("is-active",n===this.activeIndex),s.tabIndex=n===this.activeIndex?0:-1});let r=t[this.activeIndex];r.focus(),r.scrollIntoView?.({block:"nearest"})}onTriggerKeydown(e){["ArrowDown","ArrowUp","Enter"," "].includes(e.key)&&(e.preventDefault(),this.openListbox())}onListboxKeydown(e){let t=this.choices().length-1;switch(e.key){case"ArrowDown":{this.setActive(this.activeIndex>=t?0:this.activeIndex+1);break}case"ArrowUp":{this.setActive(this.activeIndex<=0?t:this.activeIndex-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(t);break}case"Enter":case" ":{this.commitActive();break}case"Escape":{this.close();break}case"Tab":{this.close(!1);return}default:{e.key.length===1&&this.onTypeahead(e.key);return}}e.preventDefault()}onTypeahead(e){this.typeahead+=e.toLowerCase(),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer),this.typeaheadTimer=setTimeout(()=>this.typeahead="",d5);let t=this.choices().findIndex(r=>!r.disabled&&r.label.toLowerCase().startsWith(this.typeahead));t!==-1&&this.setActive(t)}commitActive(){let e=this.choices()[this.activeIndex];e&&!e.disabled&&this.commit(e.value)}commit(e){let t=e!==this.value;this.value=e,this.close(),t&&this.dispatchEvent(new CustomEvent(c5,{detail:{value:e},bubbles:!0}))}};function Wn(){typeof customElements>"u"||(customElements.get(qe)||customElements.define(qe,yt),customElements.get(Gn)||customElements.define(Gn,Mo))}var qn=600,Mt=6,Ye=4,u5=0,p5=16,w5=6,Yn="lw-tooltip",Ao=class extends HTMLElement{static observedAttributes=["text","position","delay-ms","max-width"];bubble;trigger;showTimer;pointer;get text(){return this.getAttribute("text")}set text(e){C(this,"text",e)}get position(){return this.getAttribute("position")??"top"}set position(e){C(this,"position",e)}connectedCallback(){b(this,"text"),b(this,"position"),this.render(),this.trigger=this.parentElement??void 0,this.trigger?.addEventListener("pointerenter",this.onEnter),this.trigger?.addEventListener("pointermove",this.onMove),this.trigger?.addEventListener("pointerleave",this.onLeave),this.trigger?.addEventListener("focusin",this.onFocusIn),this.trigger?.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){this.hide(),this.trigger?.removeEventListener("pointerenter",this.onEnter),this.trigger?.removeEventListener("pointermove",this.onMove),this.trigger?.removeEventListener("pointerleave",this.onLeave),this.trigger?.removeEventListener("focusin",this.onFocusIn),this.trigger?.removeEventListener("focusout",this.onFocusOut),this.trigger=void 0}attributeChangedCallback(){this.isConnected&&this.render()}onEnter=e=>this.scheduleShow(e);onMove=e=>{e.pointerType==="mouse"&&(this.pointer={x:e.clientX,y:e.clientY})};onLeave=()=>this.hide();onFocusIn=()=>this.scheduleShow();onFocusOut=()=>this.hide();render(){let e=(this.getAttribute("text")??"").trim();if(!e){this.bubble?.remove(),this.bubble=void 0;return}let t=this.bubble??this.createBubble();t.textContent=e,t.style.maxWidth=this.getAttribute("max-width")??"16rem"}createBubble(){let e=document.createElement("span");return e.className="lw-tooltip-bubble",e.setAttribute("role","tooltip"),e.setAttribute("popover","manual"),this.append(e),this.bubble=e,e}scheduleShow(e){e&&e.pointerType!=="mouse"||(this.pointer=e?{x:e.clientX,y:e.clientY}:void 0,this.clearTimer(),this.showTimer=setTimeout(()=>this.show(),this.delayMs()))}delayMs(){let e=this.getAttribute("delay-ms");if(e===null||e.trim()==="")return qn;let t=Number(e);return Number.isFinite(t)&&t>=0?t:qn}show(){let e=this.bubble;if(!(!e?.isConnected||typeof e.showPopover!="function")){try{e.showPopover()}catch{return}this.placeBubble(e)}}placeBubble(e){let t=e.getBoundingClientRect(),r,n;if(this.pointer){r=this.pointer.x+u5;let a=this.pointer.y+p5;n=a+t.height+Ye>window.innerHeight?this.pointer.y-t.height-w5:a}else if(this.trigger){let a=this.trigger.getBoundingClientRect(),h=a.left+a.width/2-t.width/2,p=a.top+a.height/2-t.height/2;switch(this.position){case"bottom":{[r,n]=[h,a.bottom+Mt];break}case"left":{[r,n]=[a.left-t.width-Mt,p];break}case"right":{[r,n]=[a.right+Mt,p];break}default:[r,n]=[h,a.top-t.height-Mt]}}else return;let s=window.innerWidth-t.width-Ye,l=window.innerHeight-t.height-Ye;e.style.left=`${Math.round(Math.max(Ye,Math.min(r,s)))}px`,e.style.top=`${Math.round(Math.max(Ye,Math.min(n,l)))}px`}hide(){this.clearTimer();let e=this.bubble;if(!(!e||typeof e.hidePopover!="function"))try{e.hidePopover()}catch{return}}clearTimer(){this.showTimer!==void 0&&(clearTimeout(this.showTimer),this.showTimer=void 0)}};function Kn(){typeof customElements<"u"&&!customElements.get(Yn)&&customElements.define(Yn,Ao)}var g5="data-lw-withhold";function v5(o){let e=document.documentElement;for(let[t,r]of Object.entries(o.tokens??{}))e.style.setProperty(t,r);if(o.rootFontSize&&(e.style.fontSize=o.rootFontSize),o.theme){let t=o.theme==="dark";e.classList.toggle("dark",t),document.body?.classList.toggle("dark",t)}m5(o.icons)}function m5(o){let e=Object.entries(o??{});if(e.length!==0){for(let[t,r]of e)eo(t,Jt(r));for(let t of document.querySelectorAll(ue))t.refresh()}}function k5(){let o=new Map,e,t=r=>{let n=o.get(r);if(n)return n;let s={value:void 0,loaded:!1,listeners:[]};return o.set(r,s),e?.stateWatch(r),s};return{connect(r){e=r;for(let n of o.keys())r.stateWatch(n)},apply(r,n,s){let l=t(r);l.value=n,l.loaded=s;for(let a of l.listeners)a(n,s)},watch(r){let n=t(r);return{value:()=>n.value,loaded:()=>n.loaded,set:s=>{n.value=s,e?.stateSet(r,s)},clear:()=>{n.value=void 0,e?.stateClear(r)},dispose:()=>{o.delete(r),e?.stateUnwatch(r)},onChange:s=>{n.listeners.push(s)}}}}}var Xn=new URL("snapdom.global.js",document.currentScript?.src??location.href).href,Co;function f5(){return Co??=new Promise((o,e)=>{let t=document.createElement("script");t.src=Xn,t.addEventListener("load",()=>o()),t.addEventListener("error",()=>{Co=void 0,e(new Error(`the surface renderer could not be loaded from ${Xn}`))}),document.head.append(t)}),Co}var x5=`[${CSS.escape(g5)}]`;function _5(o){return[...o.querySelectorAll(x5)].filter(e=>e!==document.body&&e!==document.documentElement)}function b5(o,e,t,r){let n=_5(e);if(n.length===0)return;let s=o.getContext("2d");if(!s)return;let l=e.getBoundingClientRect();for(let a of n){let h=a.getBoundingClientRect();er(s,(h.left-l.left)*t,(h.top-l.top)*t,h.width*t,h.height*t,r)}}async function Qn(o){await f5();let e=globalThis.LwSnapdom;if(!e)throw new Error("the surface renderer did not install itself");let t=document.body??document.documentElement,r=tr(o?.scale??devicePixelRatio),n=await e.snapdom.toCanvas(t,{scale:r});return b5(n,t,r,o?.withheldLabel??""),{image:n.toDataURL(o?.mediaType??"image/png",o?.quality),width:n.width,height:n.height}}function y5(){Kn(),Wn(),En(),nr(),An(),sn(),On(),In();let o=k5(),e={setIcon:(t,r)=>eo(t,Jt(r)),removeIcon:nn,hasIcon:rn,applySurfaceState:v5,connectState:t=>(o.connect(t),o),state:o,capture:Qn,surfaceMethods:t=>({...t,capture:Qn})};return globalThis.LwFrame=e,e}y5();})();
67
+ `}strong({tokens:o}){return`<strong>${this.parser.parseInline(o)}</strong>`}em({tokens:o}){return`<em>${this.parser.parseInline(o)}</em>`}codespan({text:o}){return`<code>${ne(o,!0)}</code>`}br(o){return"<br>"}del({tokens:o}){return`<del>${this.parser.parseInline(o)}</del>`}link({href:o,title:e,tokens:t}){let r=this.parser.parseInline(t),n=hn(o);if(n===null)return r;o=n;let s='<a href="'+o+'"';return e&&(s+=' title="'+ne(e)+'"'),s+=">"+r+"</a>",s}image({href:o,title:e,text:t,tokens:r}){r&&(t=this.parser.parseInline(r,this.parser.textRenderer));let n=hn(o);if(n===null)return ne(t);o=n;let s=`<img src="${o}" alt="${ne(t)}"`;return e&&(s+=` title="${ne(e)}"`),s+=">",s}text(o){return"tokens"in o&&o.tokens?this.parser.parseInline(o.tokens):"escaped"in o&&o.escaped?o.text:ne(o.text)}},po=class{strong({text:o}){return o}em({text:o}){return o}codespan({text:o}){return o}del({text:o}){return o}html({text:o}){return o}text({text:o}){return o}link({text:o}){return""+o}image({text:o}){return""+o}br(){return""}checkbox({raw:o}){return o}},Q=class no{options;renderer;textRenderer;constructor(e){this.options=e||xe,this.options.renderer=this.options.renderer||new wt,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new po}static parse(e,t){return new no(t).parse(e)}static parseInline(e,t){return new no(t).parseInline(e)}parse(e){this.renderer.parser=this;let t="";for(let r=0;r<e.length;r++){let n=e[r];if(this.options.extensions?.renderers?.[n.type]){let l=n,a=this.options.extensions.renderers[l.type].call({parser:this},l);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","checkbox","html","def","paragraph","text"].includes(l.type)){t+=a||"";continue}}let s=n;switch(s.type){case"space":{t+=this.renderer.space(s);break}case"hr":{t+=this.renderer.hr(s);break}case"heading":{t+=this.renderer.heading(s);break}case"code":{t+=this.renderer.code(s);break}case"table":{t+=this.renderer.table(s);break}case"blockquote":{t+=this.renderer.blockquote(s);break}case"list":{t+=this.renderer.list(s);break}case"checkbox":{t+=this.renderer.checkbox(s);break}case"html":{t+=this.renderer.html(s);break}case"def":{t+=this.renderer.def(s);break}case"paragraph":{t+=this.renderer.paragraph(s);break}case"text":{t+=this.renderer.text(s);break}default:{let l='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let r="";for(let n=0;n<e.length;n++){let s=e[n];if(this.options.extensions?.renderers?.[s.type]){let a=this.options.extensions.renderers[s.type].call({parser:this},s);if(a!==!1||!["escape","html","link","image","checkbox","strong","em","codespan","br","del","text"].includes(s.type)){r+=a||"";continue}}let l=s;switch(l.type){case"escape":{r+=t.text(l);break}case"html":{r+=t.html(l);break}case"link":{r+=t.link(l);break}case"image":{r+=t.image(l);break}case"checkbox":{r+=t.checkbox(l);break}case"strong":{r+=t.strong(l);break}case"em":{r+=t.em(l);break}case"codespan":{r+=t.codespan(l);break}case"br":{r+=t.br(l);break}case"del":{r+=t.del(l);break}case"text":{r+=t.text(l);break}default:{let a='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return r}},Fe=class{options;block;constructor(o){this.options=o||xe}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(o){return o}postprocess(o){return o}processAllTokens(o){return o}emStrongMask(o){return o}provideLexer(o=this.block){return o?X.lex:X.lexInline}provideParser(o=this.block){return o?Q.parse:Q.parseInline}},i5=class{defaults=io();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Q;Renderer=wt;TextRenderer=po;Lexer=X;Tokenizer=pt;Hooks=Fe;constructor(...o){this.use(...o)}walkTokens(o,e){let t=[];for(let r of o)switch(t=t.concat(e.call(this,r)),r.type){case"table":{let n=r;for(let s of n.header)t=t.concat(this.walkTokens(s.tokens,e));for(let s of n.rows)for(let l of s)t=t.concat(this.walkTokens(l.tokens,e));break}case"list":{let n=r;t=t.concat(this.walkTokens(n.items,e));break}default:{let n=r;this.defaults.extensions?.childTokens?.[n.type]?this.defaults.extensions.childTokens[n.type].forEach(s=>{let l=n[s].flat(1/0);t=t.concat(this.walkTokens(l,e))}):n.tokens&&(t=t.concat(this.walkTokens(n.tokens,e)))}}return t}use(...o){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return o.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let s=e.renderers[n.name];s?e.renderers[n.name]=function(...l){let a=n.renderer.apply(this,l);return a===!1&&(a=s.apply(this,l)),a}:e.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=e[n.level];s?s.unshift(n.tokenizer):e[n.level]=[n.tokenizer],n.start&&(n.level==="block"?e.startBlock?e.startBlock.push(n.start):e.startBlock=[n.start]:n.level==="inline"&&(e.startInline?e.startInline.push(n.start):e.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(e.childTokens[n.name]=n.childTokens)}),r.extensions=e),t.renderer){let n=this.defaults.renderer||new wt(this.defaults);for(let s in t.renderer){if(!(s in n))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let l=s,a=t.renderer[l],h=n[l];n[l]=(...p)=>{let m=a.apply(n,p);return m===!1&&(m=h.apply(n,p)),m||""}}r.renderer=n}if(t.tokenizer){let n=this.defaults.tokenizer||new pt(this.defaults);for(let s in t.tokenizer){if(!(s in n))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let l=s,a=t.tokenizer[l],h=n[l];n[l]=(...p)=>{let m=a.apply(n,p);return m===!1&&(m=h.apply(n,p)),m}}r.tokenizer=n}if(t.hooks){let n=this.defaults.hooks||new Fe;for(let s in t.hooks){if(!(s in n))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let l=s,a=t.hooks[l],h=n[l];Fe.passThroughHooks.has(s)?n[l]=p=>{if(this.defaults.async&&Fe.passThroughHooksRespectAsync.has(s))return(async()=>{let v=await a.call(n,p);return h.call(n,v)})();let m=a.call(n,p);return h.call(n,m)}:n[l]=(...p)=>{if(this.defaults.async)return(async()=>{let v=await a.apply(n,p);return v===!1&&(v=await h.apply(n,p)),v})();let m=a.apply(n,p);return m===!1&&(m=h.apply(n,p)),m}}r.hooks=n}if(t.walkTokens){let n=this.defaults.walkTokens,s=t.walkTokens;r.walkTokens=function(l){let a=[];return a.push(s.call(this,l)),n&&(a=a.concat(n.call(this,l))),a}}this.defaults={...this.defaults,...r}}),this}setOptions(o){return this.defaults={...this.defaults,...o},this}lexer(o,e){return X.lex(o,e??this.defaults)}parser(o,e){return Q.parse(o,e??this.defaults)}parseMarkdown(o){return(e,t)=>{let r={...t},n={...this.defaults,...r},s=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(n.hooks&&(n.hooks.options=n,n.hooks.block=o),n.async)return(async()=>{let l=n.hooks?await n.hooks.preprocess(e):e,a=await(n.hooks?await n.hooks.provideLexer(o):o?X.lex:X.lexInline)(l,n),h=n.hooks?await n.hooks.processAllTokens(a):a;n.walkTokens&&await Promise.all(this.walkTokens(h,n.walkTokens));let p=await(n.hooks?await n.hooks.provideParser(o):o?Q.parse:Q.parseInline)(h,n);return n.hooks?await n.hooks.postprocess(p):p})().catch(s);try{n.hooks&&(e=n.hooks.preprocess(e));let l=(n.hooks?n.hooks.provideLexer(o):o?X.lex:X.lexInline)(e,n);n.hooks&&(l=n.hooks.processAllTokens(l)),n.walkTokens&&this.walkTokens(l,n.walkTokens);let a=(n.hooks?n.hooks.provideParser(o):o?Q.parse:Q.parseInline)(l,n);return n.hooks&&(a=n.hooks.postprocess(a)),a}catch(l){return s(l)}}}onError(o,e){return t=>{if(t.message+=`
68
+ Please report this to https://github.com/markedjs/marked.`,o){let r="<p>An error occurred:</p><pre>"+ne(t.message+"",!0)+"</pre>";return e?Promise.resolve(r):r}if(e)return Promise.reject(t);throw t}}},fe=new i5;function M(o,e){return fe.parse(o,e)}M.options=M.setOptions=function(o){return fe.setOptions(o),M.defaults=fe.defaults,wn(M.defaults),M};M.getDefaults=io;M.defaults=xe;function s5(...o){return fe.use(...o),M.defaults=fe.defaults,wn(M.defaults),M}M.use=s5;M.walkTokens=function(o,e){return fe.walkTokens(o,e)};M.parseInline=fe.parseInline;M.Parser=Q;M.parser=Q.parse;M.Renderer=wt;M.TextRenderer=po;M.Lexer=X;M.lexer=X.lex;M.Tokenizer=pt;M.Hooks=Fe;M.parse=M;var z5=M.options,$5=M.setOptions,U5=M.walkTokens,F5=M.parseInline;var G5=Q.parse,W5=X.lex;var Mn="lw-markdown",wo=class extends HTMLElement{static observedAttributes=["source"];prose;get source(){return this.getAttribute("source")??""}set source(e){C(this,"source",e)}connectedCallback(){b(this,"source"),this.prose||(this.prose=document.createElement("div"),this.prose.className="prose prose-sm max-w-none prose-lw",this.append(this.prose)),this.render(this.prose)}attributeChangedCallback(){this.prose&&this.render(this.prose)}render(e){let t=M.parse(this.source,{async:!1,gfm:!0,breaks:!0});e.innerHTML=ct.sanitize(t)}};function An(){typeof customElements<"u"&&!customElements.get(Mn)&&customElements.define(Mn,wo)}var Cn="lw-menu",Tn="lw-menu-item",mt=4,vt=4,a5="lw-menu-select",l5="lw-menu-dismiss";function go(o,e,t){return o>=mt&&o+e<=t-mt}function kt(o,e,t){return Math.max(mt,Math.min(o,t-e-mt))}function Ln(o,e,t,r){return go(o,t,r)?o:go(e,t,r)?e:kt(o,t,r)}function Sn(o,e,t,r){return go(o,t,r)?o:kt(e-t,t,r)}function En(o,e){let t=document.createElement("span");if(t.className=o,t.setAttribute("aria-hidden","true"),e){let r=document.createElement("lw-icon");r.setAttribute("name",e),r.setAttribute("size","0.9rem"),t.append(r)}return t}var vo=class extends HTMLElement{static observedAttributes=["label","command","disabled","icon","shortcut","checkbox","checked"];get label(){return this.getAttribute("label")}set label(e){C(this,"label",e)}get command(){return this.getAttribute("command")}set command(e){C(this,"command",e)}connectedCallback(){b(this,"label"),b(this,"command"),this.tabIndex=-1,this.render()}attributeChangedCallback(){this.isConnected&&this.render()}render(){let e=this.hasAttribute("checkbox"),t=this.hasAttribute("checked");this.setAttribute("role",e?"menuitemcheckbox":"menuitem"),e?this.setAttribute("aria-checked",String(t)):this.removeAttribute("aria-checked"),this.setAttribute("aria-disabled",String(this.hasAttribute("disabled")));let r=En("lw-menu-item-check",t?"check":null),n=En("lw-menu-item-lead",this.getAttribute("icon")),s=document.createElement("span");s.className="lw-menu-item-label",s.textContent=this.getAttribute("label")??"",this.replaceChildren(r,n,s);let l=this.getAttribute("shortcut");if(l){let a=document.createElement("span");a.className="lw-menu-item-shortcut",a.setAttribute("aria-hidden","true"),a.textContent=l,this.append(a)}}},mo=class extends HTMLElement{active=-1;connectedCallback(){this.setAttribute("role","menu"),this.tabIndex=-1,this.addEventListener("keydown",this.onKeydown),this.addEventListener("click",this.onClick),queueMicrotask(()=>{this.isConnected&&this.focus()})}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown),this.removeEventListener("click",this.onClick)}openAt(e,t){let{width:r,height:n}=this.getBoundingClientRect();this.place(kt(e,r,window.innerWidth),kt(t,n,window.innerHeight))}openBeside(e,t){let{width:r,height:n}=this.getBoundingClientRect(),s=window.innerWidth,l=window.innerHeight,a={x:e.right+vt,y:e.bottom+vt},h={x:e.left-vt-r,y:e.top-vt-n};if(t==="left"||t==="right"){let v=t==="right"?a.x:h.x,k=t==="right"?h.x:a.x;this.place(Ln(v,k,r,s),Sn(e.top,e.bottom,n,l));return}let p=t==="bottom"?a.y:h.y,m=t==="bottom"?h.y:a.y;this.place(Sn(e.left,e.right,r,s),Ln(p,m,n,l))}onKeydown=e=>this.handleKeydown(e);onClick=e=>{let t=e.target?.closest('[role^="menuitem"]');t&&!this.isDisabled(t)&&this.select(t)};place(e,t){this.style.left=`${e}px`,this.style.top=`${t}px`}items(){return[...this.querySelectorAll('[role^="menuitem"]')].filter(e=>!this.isDisabled(e))}isDisabled(e){return e.getAttribute("aria-disabled")==="true"||e.hasAttribute("disabled")}setActive(e){let t=this.items();if(t.length===0)return;this.active=(e+t.length)%t.length;for(let[n,s]of t.entries())s.tabIndex=n===this.active?0:-1;let r=t[this.active];r.focus(),r.scrollIntoView?.({block:"nearest"})}select(e){this.dispatchEvent(new CustomEvent(a5,{detail:{command:e.getAttribute("command")},bubbles:!0}))}handleKeydown(e){switch(e.key){case"ArrowDown":{this.setActive(this.active<0?0:this.active+1);break}case"ArrowUp":{this.setActive((this.active<0?this.items().length:this.active)-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(this.items().length-1);break}case"Enter":case" ":{let t=this.active>=0?this.items()[this.active]:void 0;t&&this.select(t);break}case"Escape":case"Tab":{this.dispatchEvent(new CustomEvent(l5,{bubbles:!0}));return}default:return}e.preventDefault()}};function Bn(){typeof customElements>"u"||(customElements.get(Tn)||customElements.define(Tn,vo),customElements.get(Cn)||customElements.define(Cn,mo))}function Hn(o,e){return o===void 0?!1:o===e||o.startsWith(e===""?"":`${e}/`)}var ko="data-lw-nav-part";function _e(o,e,t){let r=[...o.children].find(s=>s.getAttribute(ko)===e);if(r instanceof HTMLElement&&r.localName===t)return r;r?.remove();let n=document.createElement(t);return n.setAttribute(ko,e),n}function ft(o,e){fo(o,e)?.remove()}function fo(o,e){return[...o.children].find(t=>t.getAttribute(ko)===e)}function Rn(o,e,t){let r=_e(o,e,ue);r.setAttribute("name",t),r.setAttribute("size","1rem"),r.classList.add("lw-nav-glyph"),r.parentElement!==o&&o.prepend(r)}function jn(o,e){let t=null;for(let r of o)e(r)&&(t===null||r.length>t.length)&&(t=r);return t}function xt(o){return o.getAttribute("path")??""}var be="lw-nav-item",_t=class extends HTMLElement{static observedAttributes=["path","label","icon"];get path(){return this.getAttribute("path")??""}set path(e){C(this,"path",e)}get label(){return this.getAttribute("label")??""}set label(e){C(this,"label",e)}get icon(){return this.getAttribute("icon")}set icon(e){C(this,"icon",e)}connectedCallback(){b(this,"path"),b(this,"label"),b(this,"icon"),this.setAttribute("role","button"),this.classList.add("lw-nav-item"),this.tabIndex=0,this.addEventListener("keydown",this.onKeydown),this.render()}disconnectedCallback(){this.removeEventListener("keydown",this.onKeydown)}attributeChangedCallback(){this.isConnected&&this.render()}onKeydown=e=>{e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),this.click())};render(){let e=this.icon;e?Rn(this,"glyph",e):ft(this,"glyph");let t=_e(this,"label","span");t.className="lw-nav-item-label",t.textContent=this.label,t.parentElement!==this&&this.insertBefore(t,this.glyphEnd())}glyphEnd(){let e=fo(this,"glyph");return e?e.nextSibling:this.firstChild}};var Zn=new Map;function Vn(o,e){return Zn.get(o)??e}function In(o,e){Zn.set(o,e)}var xo="lw-nav-group",bt=class extends HTMLElement{static observedAttributes=["label","key","collapsed"];observer;drawnItems=-1;get label(){return this.getAttribute("label")??""}set label(e){C(this,"label",e)}get key(){return this.getAttribute("key")??this.label}set key(e){C(this,"key",e)}get collapsed(){return this.hasAttribute("collapsed")}set collapsed(e){this.toggleAttribute("collapsed",e)}get open(){return this.itemCount()===0||!Vn(this.key,this.collapsed)}connectedCallback(){b(this,"label"),b(this,"key"),b(this,"collapsed"),this.classList.add("lw-nav-group"),this.observer=new MutationObserver(()=>this.onChildren()),this.observer.observe(this,{childList:!0}),this.render()}disconnectedCallback(){this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.render()}toggle(){this.itemCount()!==0&&(In(this.key,this.open),this.render())}onChildren(){this.itemCount()!==this.drawnItems&&this.render()}itemCount(){return[...this.children].filter(e=>e.localName===be).length}render(){let e=this.itemCount();this.drawnItems=e;let t=_e(this,"heading","button");if(t.className="lw-nav-group-heading",t.setAttribute("type","button"),t.toggleAttribute("disabled",e===0),e===0?t.removeAttribute("aria-expanded"):t.setAttribute("aria-expanded",String(this.open)),t.parentElement!==this&&(t.addEventListener("click",()=>this.toggle()),this.prepend(t)),e===0)ft(t,"chevron");else{let n=_e(t,"chevron",ue);n.setAttribute("name","chevronDown"),n.setAttribute("size","0.875rem"),n.className="lw-nav-chevron",n.parentElement!==t&&t.prepend(n)}let r=_e(t,"label","span");r.className="lw-nav-group-label",r.textContent=this.label,r.parentElement!==t&&t.append(r),this.dataset.open=String(this.open)}};var _o="lw-nav-tree",c5="lw-nav-select",bo=class extends HTMLElement{static observedAttributes=["current"];observer;get current(){return this.getAttribute("current")}set current(e){C(this,"current",e)}connectedCallback(){b(this,"current"),this.setAttribute("role","navigation"),this.classList.add("lw-nav-tree"),this.addEventListener("click",this.onClick),this.observer=new MutationObserver(()=>this.mark()),this.observer.observe(this,{childList:!0,subtree:!0,attributeFilter:["path"]}),this.mark()}disconnectedCallback(){this.removeEventListener("click",this.onClick),this.observer?.disconnect(),this.observer=void 0}attributeChangedCallback(){this.isConnected&&this.mark()}onClick=e=>{let t=e.target?.closest(be);!t||!this.owns(t)||this.dispatchEvent(new CustomEvent(c5,{detail:{path:xt(t)},bubbles:!0}))};mark(){let e=this.items(),t=this.current??void 0,r=jn(e.map(n=>xt(n)),n=>Hn(t,n));for(let n of e)r!==null&&xt(n)===r?n.setAttribute("aria-current","page"):n.removeAttribute("aria-current")}items(){return[...this.querySelectorAll(be)].filter(e=>this.owns(e))}owns(e){return e.closest(_o)===this}};function Pn(){typeof customElements>"u"||(customElements.get(be)||customElements.define(be,_t),customElements.get(xo)||customElements.define(xo,bt),customElements.get(_o)||customElements.define(_o,bo))}var On="lw-progress-ring";var yo=class extends HTMLElement{static observedAttributes=["value","max","size"];connectedCallback(){this.render()}attributeChangedCallback(){this.isConnected&&this.render()}num(e,t){let r=this.getAttribute(e);if(r===null||r.trim()==="")return t;let n=Number(r);return Number.isFinite(n)?n:t}render(){let e=Math.max(this.num("max",100),1),t=Math.min(Math.max(this.num("value",0),0),e),r=Math.round(t/e*100),n=this.getAttribute("size")??"2.5rem";this.style.width=n,this.style.height=n,this.setAttribute("role","progressbar"),this.setAttribute("aria-valuenow",String(t)),this.setAttribute("aria-valuemin","0"),this.setAttribute("aria-valuemax",String(e)),this.innerHTML=`<svg class="lw-progress-ring-svg" viewBox="0 0 36 36" aria-hidden="true"><circle class="lw-progress-ring-track" cx="18" cy="18" r="${15.9155}"></circle><circle class="lw-progress-ring-value" cx="18" cy="18" r="${15.9155}" transform="rotate(-90 18 18)" stroke-dasharray="100" stroke-dashoffset="${100-r}"></circle><text class="lw-progress-ring-text" x="18" y="18">${r}%</text></svg>`}};function Dn(){typeof customElements<"u"&&!customElements.get(On)&&customElements.define(On,yo)}var qe="lw-option",yt=class extends HTMLElement{get value(){return this.getAttribute("value")}set value(e){C(this,"value",e)}get icon(){return this.getAttribute("icon")}set icon(e){C(this,"icon",e)}connectedCallback(){b(this,"value"),b(this,"icon")}};function Nn(o){return[...o.querySelectorAll(qe)].map(e=>({value:e.getAttribute("value")??"",label:(e.textContent??"").trim(),icon:e.getAttribute("icon"),disabled:e.hasAttribute("disabled")}))}function zn(o){let e=document.createElement("button");e.type="button",e.className="lw-select-trigger",e.setAttribute("aria-haspopup","listbox"),e.setAttribute("aria-expanded","false"),e.setAttribute("aria-controls",o.listboxId),e.style.setProperty("anchor-name",o.anchorName),e.addEventListener("click",o.onToggle),e.addEventListener("keydown",o.onKeydown);let t=document.createElement("span");t.className="lw-select-value";let r=document.createElement("span");return r.className="lw-select-chevron",r.setAttribute("aria-hidden","true"),r.textContent="\u25BE",e.append(t,r),{trigger:e,valueSlot:t}}function $n(o){let e=document.createElement("div");return e.id=o.listboxId,e.className="lw-select-listbox",e.setAttribute("role","listbox"),e.hidden=!0,e.style.setProperty("position-anchor",o.anchorName),e.addEventListener("keydown",o.onKeydown),e}function Un(o,e,t,r){o.textContent="",t&&o.append(Gn(t)),(!t||!r)&&o.append(document.createTextNode(e))}function Fn(o){let e=o.choice,t=document.createElement("div");return t.className="lw-select-option",t.setAttribute("role","option"),t.id=o.id,t.dataset.value=e.value,t.setAttribute("aria-selected",String(o.selected)),t.tabIndex=-1,e.disabled&&t.setAttribute("aria-disabled","true"),e.icon&&t.append(Gn(e.icon)),t.append(document.createTextNode(e.label)),t.addEventListener("click",()=>{e.disabled||o.onPick()}),t.addEventListener("pointermove",o.onHover),t}function Gn(o){let e=document.createElement("span");return e.className="lw-select-glyph",e.setAttribute("aria-hidden","true"),e.textContent=o,e}var Wn="lw-select",h5="lw-select-change",d5=0,u5=500,Mo=class o extends HTMLElement{static observedAttributes=["value","label","placeholder","disabled","compact"];selectId=d5++;anchorName=`--lw-select-${this.selectId}`;listboxId=`lw-select-listbox-${this.selectId}`;open=!1;activeIndex=0;typeahead="";typeaheadTimer;trigger;valueSlot;listbox;observer;get value(){return this.getAttribute("value")}set value(e){C(this,"value",e)}get compact(){return this.hasAttribute("compact")}set compact(e){this.toggleAttribute("compact",e)}connectedCallback(){b(this,"value"),this.trigger||this.buildControl(),this.observer=new MutationObserver(()=>this.syncTrigger()),this.observe(),this.syncTrigger()}disconnectedCallback(){this.observer?.disconnect(),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer)}attributeChangedCallback(e){this.trigger&&(o.observedAttributes.includes(e)&&this.syncTrigger(),e==="disabled"&&this.hasAttribute("disabled")&&this.close(!1))}onOutsidePointer=e=>{this.contains(e.target)||this.close(!1)};observe(){this.observer?.observe(this,{childList:!0,characterData:!0,subtree:!0,attributes:!0})}write(e){this.observer?.disconnect();try{e()}finally{this.observe()}}choices(){return Nn(this)}selectedChoice(){let e=this.value;return this.choices().find(t=>t.value===e)}buildControl(){let{trigger:e,valueSlot:t}=zn({anchorName:this.anchorName,listboxId:this.listboxId,onToggle:()=>this.toggle(),onKeydown:n=>this.onTriggerKeydown(n)}),r=$n({anchorName:this.anchorName,listboxId:this.listboxId,onKeydown:n=>this.onListboxKeydown(n)});this.append(e,r),this.trigger=e,this.valueSlot=t,this.listbox=r}syncTrigger(){let e=this.trigger,t=this.valueSlot;if(!e||!t)return;let r=this.getAttribute("label"),n=this.selectedChoice(),s=n?.label??this.getAttribute("placeholder")??"",l=this.compact&&n?.icon!=null;this.write(()=>{e.disabled=this.hasAttribute("disabled"),r!==null&&(e.setAttribute("aria-label",l?`${r}: ${s}`:r),this.listbox?.setAttribute("aria-label",r)),Un(t,s,n?.icon??null,l)})}toggle(){this.open?this.close():this.openListbox()}openListbox(){let e=this.listbox,t=this.trigger;if(this.open||this.hasAttribute("disabled")||!e||!t)return;this.renderOptions(),this.open=!0,this.write(()=>{e.hidden=!1,t.setAttribute("aria-expanded","true")});let n=this.choices().findIndex(s=>s.value===this.value);this.setActive(Math.max(0,n)),document.addEventListener("pointerdown",this.onOutsidePointer,{capture:!0})}close(e=!0){let t=this.listbox,r=this.trigger;!this.open||!t||!r||(this.open=!1,this.write(()=>{t.hidden=!0,t.replaceChildren(),r.setAttribute("aria-expanded","false")}),document.removeEventListener("pointerdown",this.onOutsidePointer,!0),e&&r.focus())}renderOptions(){let e=this.listbox;if(!e)return;let t=this.choices().map((r,n)=>Fn({choice:r,id:`${this.listboxId}-opt-${n}`,selected:r.value===this.value,onPick:()=>this.commit(r.value),onHover:()=>this.setActive(n)}));this.write(()=>e.replaceChildren(...t))}setActive(e){if(!this.listbox)return;let t=[...this.listbox.children];if(t.length===0)return;this.activeIndex=Math.max(0,Math.min(e,t.length-1)),this.write(()=>{for(let[n,s]of t.entries())s.classList.toggle("is-active",n===this.activeIndex),s.tabIndex=n===this.activeIndex?0:-1});let r=t[this.activeIndex];r.focus(),r.scrollIntoView?.({block:"nearest"})}onTriggerKeydown(e){["ArrowDown","ArrowUp","Enter"," "].includes(e.key)&&(e.preventDefault(),this.openListbox())}onListboxKeydown(e){let t=this.choices().length-1;switch(e.key){case"ArrowDown":{this.setActive(this.activeIndex>=t?0:this.activeIndex+1);break}case"ArrowUp":{this.setActive(this.activeIndex<=0?t:this.activeIndex-1);break}case"Home":{this.setActive(0);break}case"End":{this.setActive(t);break}case"Enter":case" ":{this.commitActive();break}case"Escape":{this.close();break}case"Tab":{this.close(!1);return}default:{e.key.length===1&&this.onTypeahead(e.key);return}}e.preventDefault()}onTypeahead(e){this.typeahead+=e.toLowerCase(),this.typeaheadTimer!==void 0&&clearTimeout(this.typeaheadTimer),this.typeaheadTimer=setTimeout(()=>this.typeahead="",u5);let t=this.choices().findIndex(r=>!r.disabled&&r.label.toLowerCase().startsWith(this.typeahead));t!==-1&&this.setActive(t)}commitActive(){let e=this.choices()[this.activeIndex];e&&!e.disabled&&this.commit(e.value)}commit(e){let t=e!==this.value;this.value=e,this.close(),t&&this.dispatchEvent(new CustomEvent(h5,{detail:{value:e},bubbles:!0}))}};function qn(){typeof customElements>"u"||(customElements.get(qe)||customElements.define(qe,yt),customElements.get(Wn)||customElements.define(Wn,Mo))}var Yn=600,Mt=6,Ye=4,p5=0,w5=16,g5=6,Kn="lw-tooltip",Ao=class extends HTMLElement{static observedAttributes=["text","position","delay-ms","max-width"];bubble;trigger;showTimer;pointer;get text(){return this.getAttribute("text")}set text(e){C(this,"text",e)}get position(){return this.getAttribute("position")??"top"}set position(e){C(this,"position",e)}connectedCallback(){b(this,"text"),b(this,"position"),this.render(),this.trigger=this.parentElement??void 0,this.trigger?.addEventListener("pointerenter",this.onEnter),this.trigger?.addEventListener("pointermove",this.onMove),this.trigger?.addEventListener("pointerleave",this.onLeave),this.trigger?.addEventListener("focusin",this.onFocusIn),this.trigger?.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){this.hide(),this.trigger?.removeEventListener("pointerenter",this.onEnter),this.trigger?.removeEventListener("pointermove",this.onMove),this.trigger?.removeEventListener("pointerleave",this.onLeave),this.trigger?.removeEventListener("focusin",this.onFocusIn),this.trigger?.removeEventListener("focusout",this.onFocusOut),this.trigger=void 0}attributeChangedCallback(){this.isConnected&&this.render()}onEnter=e=>this.scheduleShow(e);onMove=e=>{e.pointerType==="mouse"&&(this.pointer={x:e.clientX,y:e.clientY})};onLeave=()=>this.hide();onFocusIn=()=>this.scheduleShow();onFocusOut=()=>this.hide();render(){let e=(this.getAttribute("text")??"").trim();if(!e){this.bubble?.remove(),this.bubble=void 0;return}let t=this.bubble??this.createBubble();t.textContent=e,t.style.maxWidth=this.getAttribute("max-width")??"16rem"}createBubble(){let e=document.createElement("span");return e.className="lw-tooltip-bubble",e.setAttribute("role","tooltip"),e.setAttribute("popover","manual"),this.append(e),this.bubble=e,e}scheduleShow(e){e&&e.pointerType!=="mouse"||(this.pointer=e?{x:e.clientX,y:e.clientY}:void 0,this.clearTimer(),this.showTimer=setTimeout(()=>this.show(),this.delayMs()))}delayMs(){let e=this.getAttribute("delay-ms");if(e===null||e.trim()==="")return Yn;let t=Number(e);return Number.isFinite(t)&&t>=0?t:Yn}show(){let e=this.bubble;if(!(!e?.isConnected||typeof e.showPopover!="function")){try{e.showPopover()}catch{return}this.placeBubble(e)}}placeBubble(e){let t=e.getBoundingClientRect(),r,n;if(this.pointer){r=this.pointer.x+p5;let a=this.pointer.y+w5;n=a+t.height+Ye>window.innerHeight?this.pointer.y-t.height-g5:a}else if(this.trigger){let a=this.trigger.getBoundingClientRect(),h=a.left+a.width/2-t.width/2,p=a.top+a.height/2-t.height/2;switch(this.position){case"bottom":{[r,n]=[h,a.bottom+Mt];break}case"left":{[r,n]=[a.left-t.width-Mt,p];break}case"right":{[r,n]=[a.right+Mt,p];break}default:[r,n]=[h,a.top-t.height-Mt]}}else return;let s=window.innerWidth-t.width-Ye,l=window.innerHeight-t.height-Ye;e.style.left=`${Math.round(Math.max(Ye,Math.min(r,s)))}px`,e.style.top=`${Math.round(Math.max(Ye,Math.min(n,l)))}px`}hide(){this.clearTimer();let e=this.bubble;if(!(!e||typeof e.hidePopover!="function"))try{e.hidePopover()}catch{return}}clearTimer(){this.showTimer!==void 0&&(clearTimeout(this.showTimer),this.showTimer=void 0)}};function Xn(){typeof customElements<"u"&&!customElements.get(Kn)&&customElements.define(Kn,Ao)}var v5="data-lw-withhold";function m5(o){let e=document.documentElement;for(let[t,r]of Object.entries(o.tokens??{}))e.style.setProperty(t,r);if(o.rootFontSize&&(e.style.fontSize=o.rootFontSize),o.theme){let t=o.theme==="dark";e.classList.toggle("dark",t),document.body?.classList.toggle("dark",t)}k5(o.icons)}function k5(o){let e=Object.entries(o??{});if(e.length!==0){for(let[t,r]of e)eo(t,Jt(r));for(let t of document.querySelectorAll(ue))t.refresh()}}function f5(){let o=new Map,e,t=r=>{let n=o.get(r);if(n)return n;let s={value:void 0,loaded:!1,listeners:[]};return o.set(r,s),e?.stateWatch(r),s};return{connect(r){e=r;for(let n of o.keys())r.stateWatch(n)},apply(r,n,s){let l=t(r);l.value=n,l.loaded=s;for(let a of l.listeners)a(n,s)},watch(r){let n=t(r);return{value:()=>n.value,loaded:()=>n.loaded,set:s=>{n.value=s,e?.stateSet(r,s)},clear:()=>{n.value=void 0,e?.stateClear(r)},dispose:()=>{o.delete(r),e?.stateUnwatch(r)},onChange:s=>{n.listeners.push(s)}}}}}var Qn=new URL("snapdom.global.js",document.currentScript?.src??location.href).href,Co;function x5(){return Co??=new Promise((o,e)=>{let t=document.createElement("script");t.src=Qn,t.addEventListener("load",()=>o()),t.addEventListener("error",()=>{Co=void 0,e(new Error(`the surface renderer could not be loaded from ${Qn}`))}),document.head.append(t)}),Co}var _5=`[${CSS.escape(v5)}]`;function b5(o){return[...o.querySelectorAll(_5)].filter(e=>e!==document.body&&e!==document.documentElement)}function y5(o,e,t,r){let n=b5(e);if(n.length===0)return;let s=o.getContext("2d");if(!s)return;let l=e.getBoundingClientRect();for(let a of n){let h=a.getBoundingClientRect();er(s,(h.left-l.left)*t,(h.top-l.top)*t,h.width*t,h.height*t,r)}}async function Jn(o){await x5();let e=globalThis.LwSnapdom;if(!e)throw new Error("the surface renderer did not install itself");let t=document.body??document.documentElement,r=tr(o?.scale??devicePixelRatio),n=await e.snapdom.toCanvas(t,{scale:r});return y5(n,t,r,o?.withheldLabel??""),{image:n.toDataURL(o?.mediaType??"image/png",o?.quality),width:n.width,height:n.height}}function M5(){Xn(),qn(),Bn(),nr(),An(),sn(),Dn(),Pn();let o=f5(),e={setIcon:(t,r)=>eo(t,Jt(r)),removeIcon:nn,hasIcon:rn,applySurfaceState:m5,connectState:t=>(o.connect(t),o),state:o,capture:Jn,surfaceMethods:t=>({...t,capture:Jn})};return globalThis.LwFrame=e,e}M5();})();
69
69
  /*! Bundled license information:
70
70
 
71
71
  dompurify/dist/purify.es.mjs:
package/dist/lw-frame.css CHANGED
@@ -1,2 +1,2 @@
1
- /* @loomweaver/frame-kit 0.9.8 — lw-frame.css. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--spacing: .25rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -.025em;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--blur-xs: 4px;--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--default-font-family: var(--lw-font-sans);--default-mono-font-family: var(--lw-font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor;@supports (color: color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.relative{position:relative}.static{position:static}.prose{color:var(--tw-prose-body);max-width:65ch;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}:where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}:where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}:where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}:where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"\201c""\201d""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}:where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}:where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}:where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}:where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}:where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}:where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}:where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}:where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}:where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}:where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}:where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}:where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}:where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}:where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}:where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}--tw-prose-body: oklch(37.3% .034 259.733);--tw-prose-headings: oklch(21% .034 264.665);--tw-prose-lead: oklch(44.6% .03 256.802);--tw-prose-links: oklch(21% .034 264.665);--tw-prose-bold: oklch(21% .034 264.665);--tw-prose-counters: oklch(55.1% .027 264.364);--tw-prose-bullets: oklch(87.2% .01 258.338);--tw-prose-hr: oklch(92.8% .006 264.531);--tw-prose-quotes: oklch(21% .034 264.665);--tw-prose-quote-borders: oklch(92.8% .006 264.531);--tw-prose-captions: oklch(55.1% .027 264.364);--tw-prose-kbd: oklch(21% .034 264.665);--tw-prose-kbd-shadows: color-mix(in oklab, oklch(21% .034 264.665) 10%, transparent);--tw-prose-code: oklch(21% .034 264.665);--tw-prose-pre-code: oklch(92.8% .006 264.531);--tw-prose-pre-bg: oklch(27.8% .033 256.848);--tw-prose-th-borders: oklch(87.2% .01 258.338);--tw-prose-td-borders: oklch(92.8% .006 264.531);--tw-prose-invert-body: oklch(87.2% .01 258.338);--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: oklch(70.7% .022 261.325);--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: oklch(70.7% .022 261.325);--tw-prose-invert-bullets: oklch(44.6% .03 256.802);--tw-prose-invert-hr: oklch(37.3% .034 259.733);--tw-prose-invert-quotes: oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders: oklch(37.3% .034 259.733);--tw-prose-invert-captions: oklch(70.7% .022 261.325);--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: oklch(44.6% .03 256.802);--tw-prose-invert-td-borders: oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75;:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}:where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.prose-sm{font-size:.875rem;line-height:1.7142857;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}:where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}:where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}:where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}:where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.mt-2{margin-top:calc(var(--spacing) * 2)}.block{display:block}.hidden{display:none}.inline{display:inline}.max-w-none{max-width:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.shadow{--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.prose-lw{--tw-prose-body: var(--lw-content);--tw-prose-headings: var(--lw-content);--tw-prose-lead: var(--lw-content-muted);--tw-prose-links: var(--lw-brand);--tw-prose-bold: var(--lw-content);--tw-prose-counters: var(--lw-content-muted);--tw-prose-bullets: var(--lw-border);--tw-prose-hr: var(--lw-border);--tw-prose-quotes: var(--lw-content);--tw-prose-quote-borders: var(--lw-border);--tw-prose-captions: var(--lw-content-muted);--tw-prose-code: var(--lw-content);--tw-prose-pre-code: var(--lw-content);--tw-prose-pre-bg: var(--lw-surface-overlay);--tw-prose-th-borders: var(--lw-border);--tw-prose-td-borders: var(--lw-border)}}@layer lw-base,lw-plugin-theme,lw-tenant-theme;@layer lw-base{:root{color-scheme:light;--lw-brand: #2e96c9;--lw-brand-strong: #2680b0;--lw-brand-text: #256f92;--lw-brand-fill: #1d7099;--lw-on-brand: #ffffff;--lw-accent: #c59a2f;--lw-accent-strong: #a8821f;--lw-surface: #f7f9fb;--lw-surface-raised: #ffffff;--lw-surface-overlay: #eef2f6;--lw-field: #ffffff;--lw-border: #e2e8f0;--lw-content: #1f2933;--lw-content-muted: #5b6b7a;--lw-content-faint: #5f7082;--lw-unsaved: #a8761a;--lw-tooltip: #2b3542;--lw-tooltip-content: #f7f9fb;--lw-positive: #1f7a43;--lw-on-positive: #ffffff;--lw-negative: #d14343;--lw-negative-fill: #c62d2d;--lw-on-negative: #ffffff;--lw-caution: #b8841f;--lw-on-caution: #0f1419;--lw-info: #1d7099;--lw-on-info: #ffffff;--lw-scrim: rgb(0 0 0 / .4);--lw-scroll-thumb: rgb(31 41 51 / .28);--lw-scroll-track: transparent;--lw-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lw-font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", monospace}:root.dark{color-scheme:dark;--lw-brand: #4aa9d6;--lw-brand-strong: #6cbce0;--lw-brand-text: #4aa9d6;--lw-brand-fill: #4aa9d6;--lw-on-brand: #0f1419;--lw-accent: #d9b250;--lw-accent-strong: #e6c878;--lw-surface: #14191f;--lw-surface-raised: #1b222a;--lw-surface-overlay: #232c36;--lw-field: #1b222a;--lw-border: #2d3743;--lw-content: #e6edf3;--lw-content-muted: #9aa7b4;--lw-content-faint: #8695a4;--lw-unsaved: #e0b95c;--lw-tooltip: #e6edf3;--lw-tooltip-content: #14191f;--lw-positive: #46c178;--lw-on-positive: #0f1419;--lw-negative: #e06464;--lw-negative-fill: #c62d2d;--lw-on-negative: #ffffff;--lw-caution: #d9b250;--lw-on-caution: #14191f;--lw-info: #4aa9d6;--lw-on-info: #0f1419;--lw-scrim: rgb(0 0 0 / .6);--lw-scroll-thumb: rgb(226 232 240 / .28);--lw-scroll-track: transparent}}@layer components{.lw-btn{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}height:calc(var(--spacing) * 9);padding-inline:calc(var(--spacing) * 3);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.lw-btn:disabled,.lw-btn[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-btn--primary{background-color:var(--lw-brand-fill);color:var(--lw-on-brand);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--default{border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-raised);color:var(--lw-content);&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}}.lw-btn--success{background-color:var(--lw-positive);color:var(--lw-on-positive);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--danger{background-color:var(--lw-negative-fill);color:var(--lw-on-negative);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--warning{background-color:var(--lw-caution);color:var(--lw-on-caution);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--info{background-color:var(--lw-info);color:var(--lw-on-info);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--ghost{color:var(--lw-content-muted);&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-btn--sm{height:calc(var(--spacing) * 7);padding-inline:calc(var(--spacing) * 2);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.lw-btn--icon{aspect-ratio:1 / 1;padding-inline:0px}.lw-icon-btn{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;border-radius:.25rem;color:var(--lw-content-faint);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-icon-btn[aria-pressed=true]{background-color:var(--lw-surface-raised);color:var(--lw-brand)}.lw-rail-initials{font-family:var(--lw-font-sans);font-size:.75rem;--tw-leading: 1;line-height:1;--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight);text-transform:uppercase;-webkit-user-select:none;user-select:none}.lw-chrome-mark{display:flex;align-items:center;justify-content:center;border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);color:var(--lw-content-muted)}.lw-chrome-picture{flex-shrink:0;border-radius:calc(infinity * 1px);object-fit:cover}.lw-segmented{margin:0;display:inline-flex;height:calc(var(--spacing) * 8.5);align-items:center;gap:calc(var(--spacing) * .5);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding:calc(var(--spacing) * .5)}.lw-segmented-item{position:relative;display:flex;height:calc(var(--spacing) * 7);width:calc(var(--spacing) * 7);align-items:center;justify-content:center;border-radius:.25rem;color:var(--lw-content-muted);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-segmented-item[aria-pressed=true]{background-color:var(--lw-surface-raised);color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-field{display:block;width:100%;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-field);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&::placeholder{color:var(--lw-content-faint)}&:focus-visible{border-color:var(--lw-brand)}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:0px}&:focus-visible{outline-color:var(--lw-brand)}&:disabled{cursor:not-allowed}&:disabled{opacity:60%}}.lw-field--invalid{border-color:var(--lw-negative);&:focus-visible{border-color:var(--lw-negative)}&:focus-visible{outline-color:var(--lw-negative)}}textarea.lw-field{min-height:calc(var(--spacing) * 20);resize:vertical}.lw-checkbox{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);flex-shrink:0;cursor:pointer;accent-color:var(--lw-brand)}.lw-checkbox:disabled{cursor:not-allowed;opacity:60%}.lw-progress{height:calc(var(--spacing) * 2);width:100%;appearance:none;overflow:hidden;border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:0px;background:var(--lw-border)}.lw-progress::-webkit-progress-bar{background:var(--lw-border)}.lw-progress::-webkit-progress-value{background:var(--lw-brand);border-radius:9999px}.lw-progress::-moz-progress-bar{background:var(--lw-brand);border-radius:9999px}lw-progress-ring{display:inline-block;vertical-align:middle}.lw-progress-ring-svg{display:block;height:100%;width:100%}.lw-progress-ring-track{fill:none;stroke:var(--lw-border);stroke-width:3.5}.lw-progress-ring-value{fill:none;stroke:var(--lw-brand);stroke-width:3.5;stroke-linecap:round;transition:stroke-dashoffset .3s ease}.lw-progress-ring-text{fill:var(--lw-content);font-size:10px;font-weight:600;text-anchor:middle;dominant-baseline:central}.lw-divider{border-style:var(--tw-border-style);border-width:0px;border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);margin:0}.lw-divider--vertical{height:100%;align-self:stretch;border-top-style:var(--tw-border-style);border-top-width:0px;border-left-style:var(--tw-border-style);border-left-width:1px;border-color:var(--lw-border)}.lw-collapsible{overflow:hidden;border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border)}.lw-collapsible>summary{display:flex;cursor:pointer;list-style-type:none;align-items:center;gap:calc(var(--spacing) * 3);background-color:var(--lw-surface-raised);padding-inline:calc(var(--spacing) * 4);padding-block:calc(var(--spacing) * 2.5);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:-2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-collapsible>summary::-webkit-details-marker{display:none}.lw-collapsible>summary:after{content:"";margin-left:auto;height:calc(var(--spacing) * 2);width:calc(var(--spacing) * 2);flex-shrink:0;border-right-style:var(--tw-border-style);border-right-width:2px;border-bottom-style:var(--tw-border-style);border-bottom-width:2px;border-color:var(--lw-content-muted);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));transform:translateY(-1px) rotate(45deg)}.lw-collapsible[open]>summary:after{transform:translateY(1px) rotate(-135deg)}.lw-collapsible-body{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);padding-inline:calc(var(--spacing) * 4);padding-block:calc(var(--spacing) * 3);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content-muted)}.lw-badge{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:var(--spacing);border-radius:calc(infinity * 1px);background-color:var(--lw-surface-overlay);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * .5);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);white-space:nowrap;color:var(--lw-content-muted);min-width:1.5rem}.lw-badge--brand{background-color:var(--lw-brand-fill);color:var(--lw-on-brand)}.lw-badge--success{background-color:var(--lw-positive);color:var(--lw-on-positive)}.lw-badge--danger{background-color:var(--lw-negative-fill);color:var(--lw-on-negative)}.lw-radio{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);flex-shrink:0;cursor:pointer;accent-color:var(--lw-brand)}.lw-radio:disabled{cursor:not-allowed;opacity:60%}.lw-range{height:calc(var(--spacing) * 2);width:100%;cursor:pointer;appearance:none;border-radius:calc(infinity * 1px);background-color:var(--lw-border);&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-range::-webkit-slider-thumb{-webkit-appearance:none;height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);background-color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-range::-moz-range-thumb{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:0px;background-color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-range:disabled{cursor:not-allowed;opacity:60%}.lw-switch{position:relative;height:calc(var(--spacing) * 5);width:calc(var(--spacing) * 9);flex-shrink:0;cursor:pointer;appearance:none;border-radius:calc(infinity * 1px);background-color:var(--lw-border);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-switch:before{content:"";position:absolute;top:calc(var(--spacing) * .5);left:calc(var(--spacing) * .5);height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);background-color:var(--lw-surface);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.lw-switch:checked{background-color:var(--lw-brand)}.lw-switch:checked:before{--tw-translate-x: calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.lw-switch:disabled{cursor:not-allowed;opacity:60%}.lw-scrim{background-color:var(--lw-scrim);--tw-backdrop-blur: blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.cdk-visually-hidden{position:absolute;left:0;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;outline:0;appearance:none}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-drag-preview{border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-raised);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cdk-drag-placeholder{opacity:30%}.cdk-drag-animating,.cdk-drop-list-dragging .cdk-drag:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.lw-pane-drop-preview{pointer-events:none;position:absolute;border-radius:var(--radius-sm);border-style:var(--tw-border-style);border-width:1px;--tw-border-style: dashed;border-style:dashed;border-color:transparent;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.lw-pane-drop-zone.cdk-drop-list-dragging .lw-pane-drop-preview{border-color:var(--lw-brand);background-color:var(--lw-brand);@supports (color: color-mix(in lab,red,red)){background-color:color-mix(in oklab,var(--lw-brand) 15%,transparent)}}.lw-pane-drop-preview--left{inset:0 50% 0 0}.lw-pane-drop-preview--right{inset:0 0 0 50%}.lw-pane-drop-preview--top{inset:0 0 50%}.lw-pane-drop-preview--bottom{inset:50% 0 0}.lw-pane-drop-preview--fill{inset:0}.lw-pane-animate{transition:flex-grow .16s ease,flex-basis .16s ease}.lw-pane-minimized-strip{animation:lw-fade-in .16s ease-out;overflow:hidden}lw-content-grid.fixed{animation:lw-maximize-in .14s ease-out}@keyframes lw-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lw-maximize-in{0%{opacity:.4}to{opacity:1}}lw-tooltip{position:absolute;inset:0;pointer-events:none}.lw-tooltip-bubble{border-radius:var(--radius-md);background-color:var(--lw-tooltip);padding-inline:calc(var(--spacing) * 2);padding-block:var(--spacing);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--lw-tooltip-content);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;inset:auto;margin:0;border:0;width:max-content;white-space:normal;pointer-events:none}body.lw-menu-open .lw-tooltip-bubble{display:none!important}lw-select{position:relative;display:inline-block;max-width:100%}lw-select>lw-option{display:none}.lw-select-trigger{display:flex;height:calc(var(--spacing) * 8.5);max-width:100%;min-width:0px;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-inline:calc(var(--spacing) * 2);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-raised)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}&:disabled{cursor:not-allowed}&:disabled{opacity:50%}&:disabled{&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}}}.lw-select-value{display:flex;min-width:0px;align-items:center;gap:calc(var(--spacing) * 1.5);overflow:hidden;white-space:nowrap}.lw-select-chevron{flex-shrink:0;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}.lw-select-listbox{z-index:50;min-width:calc(var(--spacing) * 40);overflow:auto;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-block:var(--spacing);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;position-area:block-end span-inline-end;position-try-fallbacks:flip-block,flip-inline;max-height:16rem;margin-top:.25rem}.lw-select-option{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing) * 2);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.5);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));outline:none}.lw-select-option:hover,.lw-select-option.is-active{background-color:var(--lw-surface-raised)}.lw-select-option[aria-selected=true]{color:var(--lw-brand-text)}.lw-select-option[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-select-glyph{font-size:var(--text-base);line-height:var(--tw-leading, var(--text-base--line-height));--tw-leading: 1;line-height:1}.lw-bar-tray{z-index:50;display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding:calc(var(--spacing) * 2);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;position-area:block-end span-inline-start;position-try-fallbacks:flip-block,flip-inline;margin-top:.25rem}.lw-bar-tray-up{position-area:block-start span-inline-start;margin-top:0;margin-bottom:.25rem}lw-menu{z-index:50;min-width:calc(var(--spacing) * 44);overflow:auto;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-block:var(--spacing);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;max-height:24rem;outline:none}lw-menu-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing) * 2);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.5);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));outline:none}lw-menu-item:hover,lw-menu-item:focus{background-color:var(--lw-surface-raised)}lw-menu-item[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-menu-item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-menu-item-shortcut{margin-left:calc(var(--spacing) * 4);flex-shrink:0;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}.lw-menu-item-lead{display:none;width:calc(var(--spacing) * 4);flex-shrink:0;align-items:center;justify-content:center;color:var(--lw-content-muted)}.lw-menu--leading .lw-menu-item-lead{display:flex}.lw-menu-separator{margin-block:var(--spacing);border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);height:0}.lw-menu-header{margin-top:calc(var(--spacing) * -1);margin-bottom:var(--spacing);display:flex;align-items:center;gap:calc(var(--spacing) * 2);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--lw-border);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2)}.lw-menu-header-mark{display:flex;height:calc(var(--spacing) * 7);width:calc(var(--spacing) * 7);flex-shrink:0;align-items:center;justify-content:center;border-radius:calc(infinity * 1px);background-color:var(--lw-surface-raised);color:var(--lw-content-muted);font-family:var(--lw-font-sans);font-size:.75rem;--tw-leading: 1;line-height:1;--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight);text-transform:uppercase;-webkit-user-select:none;user-select:none}.lw-menu-header-picture{height:100%;width:100%;border-radius:calc(infinity * 1px);object-fit:cover}.lw-menu-header-lines{display:flex;min-width:0px;flex-direction:column}.lw-menu-header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--lw-content)}.lw-menu-header-detail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}lw-nav-tree{display:flex;height:100%;flex-direction:column;gap:var(--spacing);overflow-y:auto;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * 2)}lw-nav-group{display:flex;flex-direction:column}.lw-nav-group-heading{display:flex;width:100%;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-nav-group-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-nav-group-heading:disabled{cursor:default;color:var(--lw-content-faint);&:hover{@media(hover:hover){background-color:transparent}}}.lw-nav-chevron{flex-shrink:0;color:var(--lw-content-faint);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}lw-nav-group[data-open=false] .lw-nav-chevron{transform:rotate(-90deg)}lw-nav-group[data-open=false]>lw-nav-item{display:none}lw-nav-item{display:flex;width:100%;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content-muted);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-nav-item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-nav-glyph{flex-shrink:0}lw-nav-item[aria-current=page]{background-color:var(--lw-surface-raised);--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--lw-content);--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}lw-nav-item[aria-current=page] .lw-nav-glyph{color:var(--lw-brand)}}@layer base{button:not(:disabled),[role=button]:not([aria-disabled=true]){cursor:pointer}}html,body{margin:0}@layer base{:root{scrollbar-color:var(--lw-scroll-thumb) var(--lw-scroll-track)}*{scrollbar-width:thin}}body{font-family:var(--lw-font-sans);background:var(--lw-surface);color:var(--lw-content)}@media(prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.lw-spinner-ring{animation-duration:.8s!important;animation-iteration-count:infinite!important}}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-tracking{syntax: "*"; inherits: false;}@property --tw-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-backdrop-blur{syntax: "*"; inherits: false;}@property --tw-backdrop-brightness{syntax: "*"; inherits: false;}@property --tw-backdrop-contrast{syntax: "*"; inherits: false;}@property --tw-backdrop-grayscale{syntax: "*"; inherits: false;}@property --tw-backdrop-hue-rotate{syntax: "*"; inherits: false;}@property --tw-backdrop-invert{syntax: "*"; inherits: false;}@property --tw-backdrop-opacity{syntax: "*"; inherits: false;}@property --tw-backdrop-saturate{syntax: "*"; inherits: false;}@property --tw-backdrop-sepia{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-outline-style: solid;--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-font-weight: initial;--tw-border-style: solid;--tw-leading: initial;--tw-tracking: initial;--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial}}}
1
+ /* @loomweaver/frame-kit 0.9.9 — lw-frame.css. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;@layer theme{:root,:host{--spacing: .25rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--tracking-tight: -.025em;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--blur-xs: 4px;--default-transition-duration: .15s;--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);--default-font-family: var(--lw-font-sans);--default-mono-font-family: var(--lw-font-mono)}}@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings, normal);font-variation-settings:var(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings, normal);font-variation-settings:var(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:currentcolor;@supports (color: color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.relative{position:relative}.static{position:static}.prose{color:var(--tw-prose-body);max-width:65ch;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}:where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}:where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}:where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}:where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"\201c""\201d""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}:where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}:where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}:where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}:where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}:where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}:where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}:where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}:where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}:where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}:where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}:where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}:where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}:where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}:where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}:where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}--tw-prose-body: oklch(37.3% .034 259.733);--tw-prose-headings: oklch(21% .034 264.665);--tw-prose-lead: oklch(44.6% .03 256.802);--tw-prose-links: oklch(21% .034 264.665);--tw-prose-bold: oklch(21% .034 264.665);--tw-prose-counters: oklch(55.1% .027 264.364);--tw-prose-bullets: oklch(87.2% .01 258.338);--tw-prose-hr: oklch(92.8% .006 264.531);--tw-prose-quotes: oklch(21% .034 264.665);--tw-prose-quote-borders: oklch(92.8% .006 264.531);--tw-prose-captions: oklch(55.1% .027 264.364);--tw-prose-kbd: oklch(21% .034 264.665);--tw-prose-kbd-shadows: color-mix(in oklab, oklch(21% .034 264.665) 10%, transparent);--tw-prose-code: oklch(21% .034 264.665);--tw-prose-pre-code: oklch(92.8% .006 264.531);--tw-prose-pre-bg: oklch(27.8% .033 256.848);--tw-prose-th-borders: oklch(87.2% .01 258.338);--tw-prose-td-borders: oklch(92.8% .006 264.531);--tw-prose-invert-body: oklch(87.2% .01 258.338);--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: oklch(70.7% .022 261.325);--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: oklch(70.7% .022 261.325);--tw-prose-invert-bullets: oklch(44.6% .03 256.802);--tw-prose-invert-hr: oklch(37.3% .034 259.733);--tw-prose-invert-quotes: oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders: oklch(37.3% .034 259.733);--tw-prose-invert-captions: oklch(70.7% .022 261.325);--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: oklch(44.6% .03 256.802);--tw-prose-invert-td-borders: oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75;:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}:where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}:where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.prose-sm{font-size:.875rem;line-height:1.7142857;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}:where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}:where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}:where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}:where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.mt-2{margin-top:calc(var(--spacing) * 2)}.block{display:block}.hidden{display:none}.inline{display:inline}.max-w-none{max-width:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.shadow{--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.prose-lw{--tw-prose-body: var(--lw-content);--tw-prose-headings: var(--lw-content);--tw-prose-lead: var(--lw-content-muted);--tw-prose-links: var(--lw-brand);--tw-prose-bold: var(--lw-content);--tw-prose-counters: var(--lw-content-muted);--tw-prose-bullets: var(--lw-border);--tw-prose-hr: var(--lw-border);--tw-prose-quotes: var(--lw-content);--tw-prose-quote-borders: var(--lw-border);--tw-prose-captions: var(--lw-content-muted);--tw-prose-code: var(--lw-content);--tw-prose-pre-code: var(--lw-content);--tw-prose-pre-bg: var(--lw-surface-overlay);--tw-prose-th-borders: var(--lw-border);--tw-prose-td-borders: var(--lw-border)}}@layer lw-base,lw-plugin-theme,lw-tenant-theme;@layer lw-base{:root{color-scheme:light;--lw-brand: #2e96c9;--lw-brand-strong: #2680b0;--lw-brand-text: #256f92;--lw-brand-fill: #1d7099;--lw-on-brand: #ffffff;--lw-accent: #c59a2f;--lw-accent-strong: #a8821f;--lw-surface: #f7f9fb;--lw-surface-raised: #ffffff;--lw-surface-overlay: #eef2f6;--lw-field: #ffffff;--lw-border: #e2e8f0;--lw-content: #1f2933;--lw-content-muted: #5b6b7a;--lw-content-faint: #5f7082;--lw-unsaved: #a8761a;--lw-tooltip: #2b3542;--lw-tooltip-content: #f7f9fb;--lw-positive: #1f7a43;--lw-on-positive: #ffffff;--lw-negative: #d14343;--lw-negative-fill: #c62d2d;--lw-on-negative: #ffffff;--lw-caution: #b8841f;--lw-on-caution: #0f1419;--lw-info: #1d7099;--lw-on-info: #ffffff;--lw-scrim: rgb(0 0 0 / .4);--lw-scroll-thumb: rgb(31 41 51 / .28);--lw-scroll-track: transparent;--lw-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lw-font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", monospace}:root.dark{color-scheme:dark;--lw-brand: #4aa9d6;--lw-brand-strong: #6cbce0;--lw-brand-text: #4aa9d6;--lw-brand-fill: #4aa9d6;--lw-on-brand: #0f1419;--lw-accent: #d9b250;--lw-accent-strong: #e6c878;--lw-surface: #14191f;--lw-surface-raised: #1b222a;--lw-surface-overlay: #232c36;--lw-field: #1b222a;--lw-border: #2d3743;--lw-content: #e6edf3;--lw-content-muted: #9aa7b4;--lw-content-faint: #8695a4;--lw-unsaved: #e0b95c;--lw-tooltip: #e6edf3;--lw-tooltip-content: #14191f;--lw-positive: #46c178;--lw-on-positive: #0f1419;--lw-negative: #e06464;--lw-negative-fill: #c62d2d;--lw-on-negative: #ffffff;--lw-caution: #d9b250;--lw-on-caution: #14191f;--lw-info: #4aa9d6;--lw-on-info: #0f1419;--lw-scrim: rgb(0 0 0 / .6);--lw-scroll-thumb: rgb(226 232 240 / .28);--lw-scroll-track: transparent}}@layer components{.lw-btn{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}height:calc(var(--spacing) * 9);padding-inline:calc(var(--spacing) * 3);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height))}.lw-btn:disabled,.lw-btn[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-btn--primary{background-color:var(--lw-brand-fill);color:var(--lw-on-brand);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--default{border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-raised);color:var(--lw-content);&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}}.lw-btn--success{background-color:var(--lw-positive);color:var(--lw-on-positive);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--danger{background-color:var(--lw-negative-fill);color:var(--lw-on-negative);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--warning{background-color:var(--lw-caution);color:var(--lw-on-caution);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--info{background-color:var(--lw-info);color:var(--lw-on-info);&:hover{@media(hover:hover){opacity:90%}}}.lw-btn--ghost{color:var(--lw-content-muted);&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-btn--sm{height:calc(var(--spacing) * 7);padding-inline:calc(var(--spacing) * 2);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.lw-btn--icon{aspect-ratio:1 / 1;padding-inline:0px}.lw-icon-btn{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;border-radius:.25rem;color:var(--lw-content-faint);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-icon-btn[aria-pressed=true]{background-color:var(--lw-surface-raised);color:var(--lw-brand)}.lw-rail-initials{font-family:var(--lw-font-sans);font-size:.75rem;--tw-leading: 1;line-height:1;--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight);text-transform:uppercase;-webkit-user-select:none;user-select:none}.lw-chrome-mark{display:flex;align-items:center;justify-content:center;border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);color:var(--lw-content-muted)}.lw-chrome-picture{flex-shrink:0;border-radius:calc(infinity * 1px);object-fit:cover}.lw-segmented{margin:0;display:inline-flex;height:calc(var(--spacing) * 8.5);align-items:center;gap:calc(var(--spacing) * .5);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding:calc(var(--spacing) * .5)}.lw-segmented-item{position:relative;display:flex;height:calc(var(--spacing) * 7);width:calc(var(--spacing) * 7);align-items:center;justify-content:center;border-radius:.25rem;color:var(--lw-content-muted);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){color:var(--lw-content)}}}.lw-segmented-item[aria-pressed=true]{background-color:var(--lw-surface-raised);color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-field{display:block;width:100%;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-field);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&::placeholder{color:var(--lw-content-faint)}&:focus-visible{border-color:var(--lw-brand)}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:0px}&:focus-visible{outline-color:var(--lw-brand)}&:disabled{cursor:not-allowed}&:disabled{opacity:60%}}.lw-field--invalid{border-color:var(--lw-negative);&:focus-visible{border-color:var(--lw-negative)}&:focus-visible{outline-color:var(--lw-negative)}}textarea.lw-field{min-height:calc(var(--spacing) * 20);resize:vertical}.lw-checkbox{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);flex-shrink:0;cursor:pointer;accent-color:var(--lw-brand)}.lw-checkbox:disabled{cursor:not-allowed;opacity:60%}.lw-progress{height:calc(var(--spacing) * 2);width:100%;appearance:none;overflow:hidden;border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:0px;background:var(--lw-border)}.lw-progress::-webkit-progress-bar{background:var(--lw-border)}.lw-progress::-webkit-progress-value{background:var(--lw-brand);border-radius:9999px}.lw-progress::-moz-progress-bar{background:var(--lw-brand);border-radius:9999px}lw-progress-ring{display:inline-block;vertical-align:middle}.lw-progress-ring-svg{display:block;height:100%;width:100%}.lw-progress-ring-track{fill:none;stroke:var(--lw-border);stroke-width:3.5}.lw-progress-ring-value{fill:none;stroke:var(--lw-brand);stroke-width:3.5;stroke-linecap:round;transition:stroke-dashoffset .3s ease}.lw-progress-ring-text{fill:var(--lw-content);font-size:10px;font-weight:600;text-anchor:middle;dominant-baseline:central}.lw-divider{border-style:var(--tw-border-style);border-width:0px;border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);margin:0}.lw-divider--vertical{height:100%;align-self:stretch;border-top-style:var(--tw-border-style);border-top-width:0px;border-left-style:var(--tw-border-style);border-left-width:1px;border-color:var(--lw-border)}.lw-collapsible{overflow:hidden;border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border)}.lw-collapsible>summary{display:flex;cursor:pointer;list-style-type:none;align-items:center;gap:calc(var(--spacing) * 3);background-color:var(--lw-surface-raised);padding-inline:calc(var(--spacing) * 4);padding-block:calc(var(--spacing) * 2.5);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:-2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-collapsible>summary::-webkit-details-marker{display:none}.lw-collapsible>summary:after{content:"";margin-left:auto;height:calc(var(--spacing) * 2);width:calc(var(--spacing) * 2);flex-shrink:0;border-right-style:var(--tw-border-style);border-right-width:2px;border-bottom-style:var(--tw-border-style);border-bottom-width:2px;border-color:var(--lw-content-muted);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));transform:translateY(-1px) rotate(45deg)}.lw-collapsible[open]>summary:after{transform:translateY(1px) rotate(-135deg)}.lw-collapsible-body{border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);padding-inline:calc(var(--spacing) * 4);padding-block:calc(var(--spacing) * 3);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content-muted)}.lw-badge{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:var(--spacing);border-radius:calc(infinity * 1px);background-color:var(--lw-surface-overlay);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * .5);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);white-space:nowrap;color:var(--lw-content-muted);min-width:1.5rem}.lw-badge--brand{background-color:var(--lw-brand-fill);color:var(--lw-on-brand)}.lw-badge--success{background-color:var(--lw-positive);color:var(--lw-on-positive)}.lw-badge--danger{background-color:var(--lw-negative-fill);color:var(--lw-on-negative)}.lw-radio{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);flex-shrink:0;cursor:pointer;accent-color:var(--lw-brand)}.lw-radio:disabled{cursor:not-allowed;opacity:60%}.lw-range{height:calc(var(--spacing) * 2);width:100%;cursor:pointer;appearance:none;border-radius:calc(infinity * 1px);background-color:var(--lw-border);&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-range::-webkit-slider-thumb{-webkit-appearance:none;height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);background-color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-range::-moz-range-thumb{height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);border-style:var(--tw-border-style);border-width:0px;background-color:var(--lw-brand);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.lw-range:disabled{cursor:not-allowed;opacity:60%}.lw-switch{position:relative;height:calc(var(--spacing) * 5);width:calc(var(--spacing) * 9);flex-shrink:0;cursor:pointer;appearance:none;border-radius:calc(infinity * 1px);background-color:var(--lw-border);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-switch:before{content:"";position:absolute;top:calc(var(--spacing) * .5);left:calc(var(--spacing) * .5);height:calc(var(--spacing) * 4);width:calc(var(--spacing) * 4);border-radius:calc(infinity * 1px);background-color:var(--lw-surface);--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.lw-switch:checked{background-color:var(--lw-brand)}.lw-switch:checked:before{--tw-translate-x: calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.lw-switch:disabled{cursor:not-allowed;opacity:60%}.lw-scrim{background-color:var(--lw-scrim);--tw-backdrop-blur: blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.cdk-visually-hidden{position:absolute;left:0;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;outline:0;appearance:none}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-drag-preview{border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-raised);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.cdk-drag-placeholder{opacity:30%}.cdk-drag-animating,.cdk-drop-list-dragging .cdk-drag:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.lw-pane-drop-preview{pointer-events:none;position:absolute;border-radius:var(--radius-sm);border-style:var(--tw-border-style);border-width:1px;--tw-border-style: dashed;border-style:dashed;border-color:transparent;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}.lw-pane-drop-zone.cdk-drop-list-dragging .lw-pane-drop-preview{border-color:var(--lw-brand);background-color:var(--lw-brand);@supports (color: color-mix(in lab,red,red)){background-color:color-mix(in oklab,var(--lw-brand) 15%,transparent)}}.lw-pane-drop-preview--left{inset:0 50% 0 0}.lw-pane-drop-preview--right{inset:0 0 0 50%}.lw-pane-drop-preview--top{inset:0 0 50%}.lw-pane-drop-preview--bottom{inset:50% 0 0}.lw-pane-drop-preview--fill{inset:0}.lw-pane-animate{transition:flex-grow .16s ease,flex-basis .16s ease}.lw-pane-minimized-strip{animation:lw-fade-in .16s ease-out;overflow:hidden}lw-content-grid.fixed{animation:lw-maximize-in .14s ease-out}@keyframes lw-fade-in{0%{opacity:0}to{opacity:1}}@keyframes lw-maximize-in{0%{opacity:.4}to{opacity:1}}lw-tooltip{position:absolute;inset:0;pointer-events:none}.lw-tooltip-bubble{border-radius:var(--radius-md);background-color:var(--lw-tooltip);padding-inline:calc(var(--spacing) * 2);padding-block:var(--spacing);font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);color:var(--lw-tooltip-content);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;inset:auto;margin:0;border:0;width:max-content;white-space:normal;pointer-events:none}body.lw-menu-open .lw-tooltip-bubble{display:none!important}lw-select{position:relative;display:inline-block;max-width:100%}lw-select>lw-option{display:none}.lw-select-trigger{display:flex;height:calc(var(--spacing) * 8.5);max-width:100%;min-width:0px;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-inline:calc(var(--spacing) * 2);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-raised)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}&:disabled{cursor:not-allowed}&:disabled{opacity:50%}&:disabled{&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}}}.lw-select-value{display:flex;min-width:0px;align-items:center;gap:calc(var(--spacing) * 1.5);overflow:hidden;white-space:nowrap}.lw-select-chevron{flex-shrink:0;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}.lw-select-listbox{z-index:50;min-width:calc(var(--spacing) * 40);overflow:auto;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-block:var(--spacing);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;position-area:block-end span-inline-end;position-try-fallbacks:flip-block,flip-inline;max-height:16rem;margin-top:.25rem}.lw-select-option{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing) * 2);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.5);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));outline:none}.lw-select-option:hover,.lw-select-option.is-active{background-color:var(--lw-surface-raised)}.lw-select-option[aria-selected=true]{color:var(--lw-brand-text)}.lw-select-option[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-select-glyph{font-size:var(--text-base);line-height:var(--tw-leading, var(--text-base--line-height));--tw-leading: 1;line-height:1}.lw-bar-tray{z-index:50;display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing);border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding:calc(var(--spacing) * 2);--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;position-area:block-end span-inline-start;position-try-fallbacks:flip-block,flip-inline;margin-top:.25rem}.lw-bar-tray-up{position-area:block-start span-inline-start;margin-top:0;margin-bottom:.25rem}lw-menu{z-index:50;min-width:calc(var(--spacing) * 44);overflow:auto;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--lw-border);background-color:var(--lw-surface-overlay);padding-block:var(--spacing);font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / .1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);position:fixed;max-height:24rem;outline:none}lw-menu-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing) * 2);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 1.5);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));outline:none}lw-menu-item:hover,lw-menu-item:focus{background-color:var(--lw-surface-raised)}lw-menu-item[aria-disabled=true]{pointer-events:none;opacity:50%}.lw-menu-item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-menu-item-shortcut{margin-left:calc(var(--spacing) * 4);flex-shrink:0;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}.lw-menu-item-check,.lw-menu-item-lead{display:none;width:calc(var(--spacing) * 4);flex-shrink:0;align-items:center;justify-content:center;color:var(--lw-content-muted)}.lw-menu--checks .lw-menu-item-check,.lw-menu--leading .lw-menu-item-lead{display:flex}.lw-menu-separator{margin-block:var(--spacing);border-top-style:var(--tw-border-style);border-top-width:1px;border-color:var(--lw-border);height:0}.lw-menu-header{margin-top:calc(var(--spacing) * -1);margin-bottom:var(--spacing);display:flex;align-items:center;gap:calc(var(--spacing) * 2);border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--lw-border);padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2)}.lw-menu-header-mark{display:flex;height:calc(var(--spacing) * 7);width:calc(var(--spacing) * 7);flex-shrink:0;align-items:center;justify-content:center;border-radius:calc(infinity * 1px);background-color:var(--lw-surface-raised);color:var(--lw-content-muted);font-family:var(--lw-font-sans);font-size:.75rem;--tw-leading: 1;line-height:1;--tw-font-weight: var(--font-weight-normal);font-weight:var(--font-weight-normal);--tw-tracking: var(--tracking-tight);letter-spacing:var(--tracking-tight);text-transform:uppercase;-webkit-user-select:none;user-select:none}.lw-menu-header-picture{height:100%;width:100%;border-radius:calc(infinity * 1px);object-fit:cover}.lw-menu-header-lines{display:flex;min-width:0px;flex-direction:column}.lw-menu-header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--lw-content)}.lw-menu-header-detail{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height));color:var(--lw-content-muted)}lw-nav-tree{display:flex;height:100%;flex-direction:column;gap:var(--spacing);overflow-y:auto;padding-inline:calc(var(--spacing) * 1.5);padding-block:calc(var(--spacing) * 2)}lw-nav-group{display:flex;flex-direction:column}.lw-nav-group-heading{display:flex;width:100%;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));--tw-font-weight: var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--lw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-nav-group-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-nav-group-heading:disabled{cursor:default;color:var(--lw-content-faint);&:hover{@media(hover:hover){background-color:transparent}}}.lw-nav-chevron{flex-shrink:0;color:var(--lw-content-faint);transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration))}lw-nav-group[data-open=false] .lw-nav-chevron{transform:rotate(-90deg)}lw-nav-group[data-open=false]>lw-nav-item{display:none}lw-nav-item{display:flex;width:100%;align-items:center;gap:calc(var(--spacing) * 1.5);border-radius:var(--radius-md);padding-inline:calc(var(--spacing) * 2);padding-block:calc(var(--spacing) * 1.5);text-align:left;font-size:var(--text-sm);line-height:var(--tw-leading, var(--text-sm--line-height));color:var(--lw-content-muted);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function));transition-duration:var(--tw-duration, var(--default-transition-duration));&:hover{@media(hover:hover){background-color:var(--lw-surface-overlay)}}&:hover{@media(hover:hover){color:var(--lw-content)}}&:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}&:focus-visible{outline-offset:2px}&:focus-visible{outline-color:var(--lw-brand)}}.lw-nav-item-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-nav-glyph{flex-shrink:0}lw-nav-item[aria-current=page]{background-color:var(--lw-surface-raised);--tw-font-weight: var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--lw-content);--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}lw-nav-item[aria-current=page] .lw-nav-glyph{color:var(--lw-brand)}}@layer base{button:not(:disabled),[role=button]:not([aria-disabled=true]){cursor:pointer}}html,body{margin:0}@layer base{:root{scrollbar-color:var(--lw-scroll-thumb) var(--lw-scroll-track)}*{scrollbar-width:thin}}body{font-family:var(--lw-font-sans);background:var(--lw-surface);color:var(--lw-content)}@media(prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.lw-spinner-ring{animation-duration:.8s!important;animation-iteration-count:infinite!important}}@property --tw-rotate-x{syntax: "*"; inherits: false;}@property --tw-rotate-y{syntax: "*"; inherits: false;}@property --tw-rotate-z{syntax: "*"; inherits: false;}@property --tw-skew-x{syntax: "*"; inherits: false;}@property --tw-skew-y{syntax: "*"; inherits: false;}@property --tw-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: "*"; inherits: false;}@property --tw-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: "*"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: "*"; inherits: false;}@property --tw-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: "*"; inherits: false;}@property --tw-inset-ring-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: "*"; inherits: false;}@property --tw-ring-offset-width{syntax: "<length>"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: "*"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: "*"; inherits: false; initial-value: 0 0 #0000;}@property --tw-outline-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-blur{syntax: "*"; inherits: false;}@property --tw-brightness{syntax: "*"; inherits: false;}@property --tw-contrast{syntax: "*"; inherits: false;}@property --tw-grayscale{syntax: "*"; inherits: false;}@property --tw-hue-rotate{syntax: "*"; inherits: false;}@property --tw-invert{syntax: "*"; inherits: false;}@property --tw-opacity{syntax: "*"; inherits: false;}@property --tw-saturate{syntax: "*"; inherits: false;}@property --tw-sepia{syntax: "*"; inherits: false;}@property --tw-drop-shadow{syntax: "*"; inherits: false;}@property --tw-drop-shadow-color{syntax: "*"; inherits: false;}@property --tw-drop-shadow-alpha{syntax: "<percentage>"; inherits: false; initial-value: 100%;}@property --tw-drop-shadow-size{syntax: "*"; inherits: false;}@property --tw-font-weight{syntax: "*"; inherits: false;}@property --tw-border-style{syntax: "*"; inherits: false; initial-value: solid;}@property --tw-leading{syntax: "*"; inherits: false;}@property --tw-tracking{syntax: "*"; inherits: false;}@property --tw-translate-x{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: "*"; inherits: false; initial-value: 0;}@property --tw-backdrop-blur{syntax: "*"; inherits: false;}@property --tw-backdrop-brightness{syntax: "*"; inherits: false;}@property --tw-backdrop-contrast{syntax: "*"; inherits: false;}@property --tw-backdrop-grayscale{syntax: "*"; inherits: false;}@property --tw-backdrop-hue-rotate{syntax: "*"; inherits: false;}@property --tw-backdrop-invert{syntax: "*"; inherits: false;}@property --tw-backdrop-opacity{syntax: "*"; inherits: false;}@property --tw-backdrop-saturate{syntax: "*"; inherits: false;}@property --tw-backdrop-sepia{syntax: "*"; inherits: false;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x: initial;--tw-rotate-y: initial;--tw-rotate-z: initial;--tw-skew-x: initial;--tw-skew-y: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-outline-style: solid;--tw-blur: initial;--tw-brightness: initial;--tw-contrast: initial;--tw-grayscale: initial;--tw-hue-rotate: initial;--tw-invert: initial;--tw-opacity: initial;--tw-saturate: initial;--tw-sepia: initial;--tw-drop-shadow: initial;--tw-drop-shadow-color: initial;--tw-drop-shadow-alpha: 100%;--tw-drop-shadow-size: initial;--tw-font-weight: initial;--tw-border-style: solid;--tw-leading: initial;--tw-tracking: initial;--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-backdrop-blur: initial;--tw-backdrop-brightness: initial;--tw-backdrop-contrast: initial;--tw-backdrop-grayscale: initial;--tw-backdrop-hue-rotate: initial;--tw-backdrop-invert: initial;--tw-backdrop-opacity: initial;--tw-backdrop-saturate: initial;--tw-backdrop-sepia: initial}}}
@@ -1,4 +1,4 @@
1
- /* @loomweaver/frame-kit 0.9.8 — lw-frame.d.ts. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
1
+ /* @loomweaver/frame-kit 0.9.9 — lw-frame.d.ts. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
2
  interface LwSurfaceRenderState {
3
3
  readonly theme?: 'light' | 'dark';
4
4
  readonly tokens?: Readonly<Record<string, string>>;
@@ -1,2 +1,2 @@
1
- /* @loomweaver/frame-kit 0.9.8 — penpal.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
1
+ /* @loomweaver/frame-kit 0.9.9 — penpal.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
2
  var Penpal=(()=>{var _=Object.defineProperty;var G=Object.getOwnPropertyDescriptor;var J=Object.getOwnPropertyNames;var X=Object.prototype.hasOwnProperty;var q=(e,t)=>{for(var r in t)_(e,r,{get:t[r],enumerable:!0})},B=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of J(t))!X.call(e,s)&&s!==r&&_(e,s,{get:()=>t[s],enumerable:!(n=G(t,s))||n.enumerable});return e};var Q=e=>B(_({},"__esModule",{value:!0}),e);var Fe={};q(Fe,{CallOptions:()=>j,ErrorCode:()=>be,PenpalError:()=>d,PortMessenger:()=>Le,Reply:()=>F,WindowMessenger:()=>Pe,WorkerMessenger:()=>_e,connect:()=>me,debug:()=>He});var Z=class extends Error{code;constructor(e,t){super(t),this.name="PenpalError",this.code=e}},d=Z,ee=e=>({name:e.name,message:e.message,stack:e.stack,penpalCode:e instanceof d?e.code:void 0}),te=({name:e,message:t,stack:r,penpalCode:n})=>{let s=n?new d(n,t):new Error(t);return s.name=e,s.stack=r,s},re=Symbol("Reply"),se=class{value;transferables;#e=re;constructor(e,t){this.value=e,this.transferables=t?.transferables}},F=se,v="penpal",m=e=>typeof e=="object"&&e!==null,U=e=>typeof e=="function",ne=e=>m(e)&&e.namespace===v,I=e=>e.type==="SYN",R=e=>e.type==="ACK1",A=e=>e.type==="ACK2",x=e=>e.type==="CALL",$=e=>e.type==="REPLY",ae=e=>e.type==="DESTROY",V=(e,t=[])=>{let r=[];for(let n of Object.keys(e)){let s=e[n];U(s)?r.push([...t,n]):m(s)&&r.push(...V(s,[...t,n]))}return r},ie=(e,t)=>{let r=e.reduce((n,s)=>m(n)?n[s]:void 0,t);return U(r)?r:void 0},y=e=>e.join("."),D=(e,t,r)=>({namespace:v,channel:e,type:"REPLY",callId:t,isError:!0,...r instanceof Error?{value:ee(r),isSerializedErrorInstance:!0}:{value:r}}),oe=(e,t,r,n)=>{let s=!1,u=async f=>{if(s||!x(f))return;n?.(`Received ${y(f.methodPath)}() call`,f);let{methodPath:p,args:c,id:i}=f,a,M;try{let l=ie(p,t);if(!l)throw new d("METHOD_NOT_FOUND",`Method \`${y(p)}\` is not found.`);let h=await l(...c);h instanceof F&&(M=h.transferables,h=await h.value),a={namespace:v,channel:r,type:"REPLY",callId:i,value:h}}catch(l){a=D(r,i,l)}if(!s)try{n?.(`Sending ${y(p)}() reply`,a),e.sendMessage(a,M)}catch(l){throw l.name==="DataCloneError"&&(a=D(r,i,l),n?.(`Sending ${y(p)}() reply`,a),e.sendMessage(a)),l}};return e.addMessageHandler(u),()=>{s=!0,e.removeMessageHandler(u)}},de=oe,Y=crypto.randomUUID?.bind(crypto)??(()=>new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")),le=Symbol("CallOptions"),ce=class{transferables;timeout;#e=le;constructor(e){this.transferables=e?.transferables,this.timeout=e?.timeout}},j=ce,he=new Set(["apply","call","bind"]),W=(e,t,r=[])=>new Proxy(r.length?()=>{}:Object.create(null),{get(n,s){if(s!=="then")return r.length&&he.has(s)?Reflect.get(n,s):W(e,t,[...r,s])},apply(n,s,u){return e(r,u)}}),b=e=>new d("CONNECTION_DESTROYED",`Method call ${y(e)}() failed due to destroyed connection`),ue=(e,t,r)=>{let n=!1,s=new Map,u=c=>{if(!$(c))return;let{callId:i,value:a,isError:M,isSerializedErrorInstance:l}=c,h=s.get(i);h&&(s.delete(i),r?.(`Received ${y(h.methodPath)}() call`,c),M?h.reject(l?te(a):a):h.resolve(a))};return e.addMessageHandler(u),{remoteProxy:W((c,i)=>{if(n)throw b(c);let a=Y(),M=i[i.length-1],l=M instanceof j,{timeout:h,transferables:P}=l?M:{},S=l?i.slice(0,-1):i;return new Promise((N,w)=>{let T=h!==void 0?window.setTimeout(()=>{s.delete(a),w(new d("METHOD_CALL_TIMEOUT",`Method call ${y(c)}() timed out after ${h}ms`))},h):void 0;s.set(a,{methodPath:c,resolve:N,reject:w,timeoutId:T});try{let E={namespace:v,channel:t,type:"CALL",id:a,methodPath:c,args:S};r?.(`Sending ${y(c)}() call`,E),e.sendMessage(E,P)}catch(E){w(new d("TRANSMISSION_FAILED",E.message))}})},r),destroy:()=>{n=!0,e.removeMessageHandler(u);for(let{methodPath:c,reject:i,timeoutId:a}of s.values())clearTimeout(a),i(b(c));s.clear()}}},fe=ue,ve=()=>{let e,t;return{promise:new Promise((n,s)=>{e=n,t=s}),resolve:e,reject:t}},pe=ve,O="deprecated-penpal",Me=e=>m(e)&&"penpal"in e,ye=e=>e.split("."),k=e=>e.join("."),ge=e=>{try{return JSON.stringify(e)}catch{return String(e)}},z=e=>new d("TRANSMISSION_FAILED",`Unexpected message to translate: ${ge(e)}`),Ee=e=>{if(e.penpal==="syn")return{namespace:v,channel:void 0,type:"SYN",participantId:O};if(e.penpal==="ack")return{namespace:v,channel:void 0,type:"ACK2"};if(e.penpal==="call")return{namespace:v,channel:void 0,type:"CALL",id:e.id,methodPath:ye(e.methodName),args:e.args};if(e.penpal==="reply")return e.resolution==="fulfilled"?{namespace:v,channel:void 0,type:"REPLY",callId:e.id,value:e.returnValue}:{namespace:v,channel:void 0,type:"REPLY",callId:e.id,isError:!0,...e.returnValueIsError?{value:e.returnValue,isSerializedErrorInstance:!0}:{value:e.returnValue}};throw z(e)},Ie=e=>{if(R(e))return{penpal:"synAck",methodNames:e.methodPaths.map(k)};if(x(e))return{penpal:"call",id:e.id,methodName:k(e.methodPath),args:e.args};if($(e))return e.isError?{penpal:"reply",id:e.callId,resolution:"rejected",...e.isSerializedErrorInstance?{returnValue:e.value,returnValueIsError:!0}:{returnValue:e.value}}:{penpal:"reply",id:e.callId,resolution:"fulfilled",returnValue:e.value};throw z(e)},we=({messenger:e,methods:t,timeout:r,channel:n,log:s})=>{let u=Y(),f,p=[],c=!1,i=V(t),{promise:a,resolve:M,reject:l}=pe(),h=r!==void 0?setTimeout(()=>{l(new d("CONNECTION_TIMEOUT",`Connection timed out after ${r}ms`))},r):void 0,P=()=>{for(let o of p)o()},S=()=>{if(c)return;p.push(de(e,t,n,s));let{remoteProxy:o,destroy:g}=fe(e,n,s);p.push(g),clearTimeout(h),c=!0,M({remoteProxy:o,destroy:P})},N=()=>{let o={namespace:v,type:"SYN",channel:n,participantId:u};s?.("Sending handshake SYN",o);try{e.sendMessage(o)}catch(g){l(new d("TRANSMISSION_FAILED",g.message))}},w=o=>{if(s?.("Received handshake SYN",o),o.participantId===f&&f!==O||(f=o.participantId,N(),!(u>f||f===O)))return;let C={namespace:v,channel:n,type:"ACK1",methodPaths:i};s?.("Sending handshake ACK1",C);try{e.sendMessage(C)}catch(K){l(new d("TRANSMISSION_FAILED",K.message));return}},T=o=>{s?.("Received handshake ACK1",o);let g={namespace:v,channel:n,type:"ACK2"};s?.("Sending handshake ACK2",g);try{e.sendMessage(g)}catch(C){l(new d("TRANSMISSION_FAILED",C.message));return}S()},E=o=>{s?.("Received handshake ACK2",o),S()},L=o=>{I(o)&&w(o),R(o)&&T(o),A(o)&&E(o)};return e.addMessageHandler(L),p.push(()=>e.removeMessageHandler(L)),N(),a},Ae=we,Se=e=>{let t=!1,r;return(...n)=>(t||(t=!0,r=e(...n)),r)},Ne=Se,H=new WeakSet,Ce=({messenger:e,methods:t={},timeout:r,channel:n,log:s})=>{if(!e)throw new d("INVALID_ARGUMENT","messenger must be defined");if(H.has(e))throw new d("INVALID_ARGUMENT","A messenger can only be used for a single connection");H.add(e);let u=[e.destroy],f=Ne(i=>{if(i){let a={namespace:v,channel:n,type:"DESTROY"};try{e.sendMessage(a)}catch{}}for(let a of u)a();s?.("Connection destroyed")}),p=i=>ne(i)&&i.channel===n;return{promise:(async()=>{try{e.initialize({log:s,validateReceivedMessage:p}),e.addMessageHandler(M=>{ae(M)&&f(!1)});let{remoteProxy:i,destroy:a}=await Ae({messenger:e,methods:t,timeout:r,channel:n,log:s});return u.push(a),i}catch(i){throw f(!0),i}})(),destroy:()=>{f(!0)}}},me=Ce,Re=class{#e;#a;#s;#n;#r;#i=new Set;#t;#o=!1;constructor({remoteWindow:e,allowedOrigins:t}){if(!e)throw new d("INVALID_ARGUMENT","remoteWindow must be defined");this.#e=e,this.#a=t?.length?t:[window.origin]}initialize=({log:e,validateReceivedMessage:t})=>{this.#s=e,this.#n=t,window.addEventListener("message",this.#h)};sendMessage=(e,t)=>{if(I(e)){let r=this.#d(e);this.#e.postMessage(e,{targetOrigin:r,transfer:t});return}if(R(e)||this.#o){let r=this.#o?Ie(e):e,n=this.#d(e);this.#e.postMessage(r,{targetOrigin:n,transfer:t});return}if(A(e)){let{port1:r,port2:n}=new MessageChannel;this.#t=r,r.addEventListener("message",this.#l),r.start();let s=[n,...t||[]],u=this.#d(e);this.#e.postMessage(e,{targetOrigin:u,transfer:s});return}if(this.#t){this.#t.postMessage(e,{transfer:t});return}throw new d("TRANSMISSION_FAILED","Cannot send message because the MessagePort is not connected")};addMessageHandler=e=>{this.#i.add(e)};removeMessageHandler=e=>{this.#i.delete(e)};destroy=()=>{window.removeEventListener("message",this.#h),this.#c(),this.#i.clear()};#u=e=>this.#a.some(t=>t instanceof RegExp?t.test(e):t===e||t==="*");#d=e=>{if(I(e))return"*";if(!this.#r)throw new d("TRANSMISSION_FAILED","Cannot send message because the remote origin is not established");return this.#r==="null"&&this.#a.includes("*")?"*":this.#r};#c=()=>{this.#t?.removeEventListener("message",this.#l),this.#t?.close(),this.#t=void 0};#h=({source:e,origin:t,ports:r,data:n})=>{if(e===this.#e){if(Me(n)){this.#s?.("Please upgrade the child window to the latest version of Penpal."),this.#o=!0;try{n=Ee(n)}catch(s){this.#s?.(`Failed to translate deprecated message: ${s.message}`);return}}if(this.#n?.(n)){if(!this.#u(t)){this.#s?.(`Received a message from origin \`${t}\` which did not match allowed origins \`[${this.#a.join(", ")}]\``);return}if(I(n)&&(this.#c(),this.#r=t),A(n)&&!this.#o){if(this.#t=r[0],!this.#t){this.#s?.("Ignoring ACK2 because it did not include a MessagePort");return}this.#t.addEventListener("message",this.#l),this.#t.start()}for(let s of this.#i)s(n)}}};#l=({data:e})=>{if(this.#n?.(e))for(let t of this.#i)t(e)}},Pe=Re,Te=class{#e;#a;#s;#n=new Set;#r;constructor({worker:e}){if(!e)throw new d("INVALID_ARGUMENT","worker must be defined");this.#e=e}initialize=({log:e,validateReceivedMessage:t})=>{this.#a=e,this.#s=t,this.#e.addEventListener("message",this.#t)};sendMessage=(e,t)=>{if(I(e)||R(e)){this.#e.postMessage(e,{transfer:t});return}if(A(e)){let{port1:r,port2:n}=new MessageChannel;this.#r=r,r.addEventListener("message",this.#t),r.start(),this.#e.postMessage(e,{transfer:[n,...t||[]]});return}if(this.#r){this.#r.postMessage(e,{transfer:t});return}throw new d("TRANSMISSION_FAILED","Cannot send message because the MessagePort is not connected")};addMessageHandler=e=>{this.#n.add(e)};removeMessageHandler=e=>{this.#n.delete(e)};destroy=()=>{this.#e.removeEventListener("message",this.#t),this.#i(),this.#n.clear()};#i=()=>{this.#r?.removeEventListener("message",this.#t),this.#r?.close(),this.#r=void 0};#t=({ports:e,data:t})=>{if(this.#s?.(t)){if(I(t)&&this.#i(),A(t)){if(this.#r=e[0],!this.#r){this.#a?.("Ignoring ACK2 because it did not include a MessagePort");return}this.#r.addEventListener("message",this.#t),this.#r.start()}for(let r of this.#n)r(t)}}},_e=Te,Oe=class{#e;#a;#s=new Set;constructor({port:e}){if(!e)throw new d("INVALID_ARGUMENT","port must be defined");this.#e=e}initialize=({validateReceivedMessage:e})=>{this.#a=e,this.#e.addEventListener("message",this.#n),this.#e.start()};sendMessage=(e,t)=>{this.#e?.postMessage(e,{transfer:t})};addMessageHandler=e=>{this.#s.add(e)};removeMessageHandler=e=>{this.#s.delete(e)};destroy=()=>{this.#e.removeEventListener("message",this.#n),this.#e.close(),this.#s.clear()};#n=({data:e})=>{if(this.#a?.(e))for(let t of this.#s)t(e)}},Le=Oe,De={ConnectionDestroyed:"CONNECTION_DESTROYED",ConnectionTimeout:"CONNECTION_TIMEOUT",InvalidArgument:"INVALID_ARGUMENT",MethodCallTimeout:"METHOD_CALL_TIMEOUT",MethodNotFound:"METHOD_NOT_FOUND",TransmissionFailed:"TRANSMISSION_FAILED"},be=De,ke=e=>(...t)=>{console.log(`\u270D\uFE0F %c${e}%c`,"font-weight: bold;","",...t)},He=ke;return Q(Fe);})();
@@ -1,4 +1,4 @@
1
- /* @loomweaver/frame-kit 0.9.8 — snapdom.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
1
+ /* @loomweaver/frame-kit 0.9.9 — snapdom.global.js. Generated by build.mjs; do not edit. Serve the dist/ files same-origin under /frame-kit/. */
2
2
  var LwSnapdom=(()=>{var St=Object.defineProperty;var ri=Object.getOwnPropertyDescriptor;var ni=Object.getOwnPropertyNames;var ii=Object.prototype.hasOwnProperty;var oi=(e,t)=>{for(var r in t)St(e,r,{get:t[r],enumerable:!0})},ai=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ni(t))!ii.call(e,i)&&i!==r&&St(e,i,{get:()=>t[i],enumerable:!(n=ri(t,i))||n.enumerable});return e};var li=e=>ai(St({},"__esModule",{value:!0}),e);var es={};oi(es,{preCache:()=>Ql,snapdom:()=>V});var si=Object.defineProperty,oe=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}},Oe=(e,t)=>{for(var r in t)si(e,r,{get:t[r],enumerable:!0})};function ci(e){if(e===!0)return"soft";if(e===!1)return"disabled";if(typeof e=="string"){let t=e.toLowerCase().trim();if(t==="auto")return"auto";if(t==="full")return"full";if(t==="soft"||t==="disabled")return t}return"soft"}function Jr(e="soft"){switch(e){case"auto":{C.session.styleMap=new Map,C.session.nodeMap=new Map;return}case"soft":{C.session.styleMap=new Map,C.session.nodeMap=new Map,C.session.styleCache=new WeakMap;return}case"full":return;case"disabled":{C.session.styleMap=new Map,C.session.nodeMap=new Map,C.session.styleCache=new WeakMap,C.computedStyle=new WeakMap,C.measureHints=new WeakMap,C.baseStyle=new ee(50),C.defaultStyle=new ee(30),C.image=new ee(100),C.background=new ee(100),C.resource=new ee(150),C.compress=new ee(50),C.font=new Set;return}default:{C.session.styleMap=new Map,C.session.nodeMap=new Map,C.session.styleCache=new WeakMap;return}}}var ee,C,te=oe(()=>{"use strict";ee=class extends Map{constructor(e=100,...t){super(...t),this._maxSize=e}set(e,t){if(this.size>=this._maxSize&&!this.has(e)){let r=this.keys().next().value;r!==void 0&&this.delete(r)}return super.set(e,t)}},C={image:new ee(100),background:new ee(100),resource:new ee(150),defaultStyle:new ee(30),baseStyle:new ee(50),compress:new ee(50),computedStyle:new WeakMap,measureHints:new WeakMap,burstAdvice:new WeakMap,warnedReconcile:!1,font:new Set,session:{styleMap:new Map,styleCache:new WeakMap,nodeMap:new Map}}});function Ht(e){let t=e.match(/url\((['"]?)(.*?)(\1)\)/);if(!t)return null;let r=t[2].trim();return r.startsWith("#")?null:r}function Kr(e,t=1){let r=e.match(/^\s*-?(?:webkit-)?image-set\(([\s\S]*)\)\s*$/i);if(!r)return null;let n=[];for(let i of r[1].split(",")){let a=i.match(/url\((['"]?)(.*?)(\1)\)/);if(!a)continue;let o=i.match(/type\(\s*["']([^"']+)["']\s*\)/i);if(o&&!Zr.test(o[1].trim()))continue;let l=i.match(/(\d+(?:\.\d+)?)\s*(x|dpi|dppx)/i),s=1;if(l){let d=parseFloat(l[1]);s=/dpi/i.test(l[2])?d/96:d}n.push({url:a[2].trim(),dppx:s})}return n.length?(n.sort((i,a)=>i.dppx-a.dppx),(n.find(i=>i.dppx>=t)||n[n.length-1]).url):null}function ui(e){if(!e||e==="none")return"";let t=e.replace(/translate[XY]?\([^)]*\)/g,"");return t=t.replace(/matrix\(([^)]+)\)/g,(r,n)=>{let i=n.split(",").map(a=>a.trim());return i.length!==6?`matrix(${n})`:(i[4]="0",i[5]="0",`matrix(${i.join(", ")})`)}),t=t.replace(/matrix3d\(([^)]+)\)/g,(r,n)=>{let i=n.split(",").map(a=>a.trim());return i.length!==16?`matrix3d(${n})`:(i[12]="0",i[13]="0",`matrix3d(${i.join(", ")})`)}),t.trim().replace(/\s{2,}/g," ")}function lt(e){if(/%[0-9A-Fa-f]{2}/.test(e))return e;try{return encodeURI(e)}catch{return e}}function di(e,t){if(!e||/^(data|blob|about|#)/i.test(e.trim()))return e;try{let r=t||typeof document<"u"&&(document.baseURI||document.location?.href)||"http://localhost/";return new URL(e,r).href}catch{return e}}var Zr,mt=oe(()=>{"use strict";Zr=/^image\/(jpeg|jpg|png|gif|webp|avif|apng|svg\+xml|bmp|x-icon|vnd\.microsoft\.icon)\s*(;|$)/i});function fi(e="[snapDOM]",{ttlMs:t=5*6e4,maxEntries:r=12}={}){let n=new Map,i=0;function a(o,l,s){if(i>=r)return;let d=Date.now();(n.get(l)||0)>d||(n.set(l,d+t),i++,o==="warn"&&console&&console.warn?console.warn(`${e} ${s}`):console&&console.error&&console.error(`${e} ${s}`))}return{warnOnce(o,l){a("warn",o,l)},errorOnce(o,l){a("error",o,l)},reset(){n.clear(),i=0}}}function hi(e){return/^data:|^blob:|^about:blank$/i.test(e)}function pi(e,t){try{let r=typeof location<"u"&&location.href?location.href:"http://localhost/",n=t.includes("{url}")?t.split("{url}")[0]:t,i=new URL(n||".",r),a=new URL(e,r);if(a.origin===i.origin)return!0;let o=a.searchParams;if(o&&(o.has("url")||o.has("target")))return!0}catch{}return!1}function mi(e,t){if(!t||hi(e)||pi(e,t))return!1;try{let r=typeof location<"u"&&location.href?location.href:"http://localhost/",n=new URL(e,r);return typeof location<"u"?n.origin!==location.origin:!0}catch{return!!t}}function gi(e,t){if(!t)return e;if(t.includes("{url}"))return t.replace("{urlRaw}",lt(e)).replace("{url}",encodeURIComponent(e));if(/[?&]url=?$/.test(t))return`${t}${encodeURIComponent(e)}`;if(t.endsWith("?"))return`${t}url=${encodeURIComponent(e)}`;if(t.endsWith("/"))return`${t}${lt(e)}`;let r=t.includes("?")?"&":"?";return`${t}${r}url=${encodeURIComponent(e)}`}function yr(e){return new Promise((t,r)=>{let n=new FileReader;n.onload=()=>t(String(n.result||"")),n.onerror=()=>r(new Error("read_failed")),n.readAsDataURL(e)})}function yi(e,t){return[t.as||"blob",t.timeout??3e3,t.useProxy||"",t.errorTTL??8e3,e].join("|")}async function ie(e,t={}){let r=t.as??"blob",n=t.timeout??3e3,i=t.useProxy||"",a=t.errorTTL??8e3,o=t.headers||{},l=!!t.silent;if(/^data:/i.test(e))try{if(r==="text")return{ok:!0,data:String(e),status:200,url:e,fromCache:!1};if(r==="dataURL")return{ok:!0,data:String(e),status:200,url:e,fromCache:!1,mime:String(e).slice(5).split(";")[0]||""};let[,y="",b=""]=String(e).match(/^data:([^,]*),(.*)$/)||[],x=/;base64/i.test(y)?atob(b):decodeURIComponent(b),v=new Uint8Array([...x].map(w=>w.charCodeAt(0))),g=new Blob([v],{type:(y||"").split(";")[0]||""});return{ok:!0,data:g,status:200,url:e,fromCache:!1,mime:g.type||""}}catch{return{ok:!1,data:null,status:0,url:e,fromCache:!1,reason:"special_url_error"}}if(/^blob:/i.test(e))try{let y=await fetch(e);if(!y.ok)return{ok:!1,data:null,status:y.status,url:e,fromCache:!1,reason:"http_error"};let b=await y.blob(),x=b.type||y.headers.get("content-type")||"";return r==="dataURL"?{ok:!0,data:await yr(b),status:y.status,url:e,fromCache:!1,mime:x}:r==="text"?{ok:!0,data:await b.text(),status:y.status,url:e,fromCache:!1,mime:x}:{ok:!0,data:b,status:y.status,url:e,fromCache:!1,mime:x}}catch{return{ok:!1,data:null,status:0,url:e,fromCache:!1,reason:"network"}}if(/^about:blank$/i.test(e))return r==="dataURL"?{ok:!0,data:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg==",status:200,url:e,fromCache:!1,mime:"image/png"}:{ok:!0,data:r==="text"?"":new Blob([]),status:200,url:e,fromCache:!1};let s=yi(e,{as:r,timeout:n,useProxy:i,errorTTL:a}),d=Le.get(s);if(d&&d.until>Date.now())return{...d.result,fromCache:!0};d&&Le.delete(s);let c=Je.get(s);if(c)return c;let u=mi(e,i)?gi(e,i):e,f=t.credentials;if(!f)try{let y=typeof location<"u"&&location.href?location.href:"http://localhost/",b=new URL(e,y);f=typeof location<"u"&&b.origin===location.origin?"include":"omit"}catch{f="omit"}let h=new AbortController,p=setTimeout(()=>h.abort("timeout"),n),m=(async()=>{try{let y=await fetch(u,{signal:h.signal,credentials:f,headers:o});if(!y.ok){let v={ok:!1,data:null,status:y.status,url:u,fromCache:!1,reason:"http_error"};if(a>0&&Le.set(s,{until:Date.now()+a,result:v}),!l){let g=`${y.status} ${y.statusText||""}`.trim();Ft.warnOnce(`http:${y.status}:${r}:${new URL(e,location?.href??"http://localhost/").origin}`,`HTTP error ${g} while fetching ${r} ${e}`)}return t.onError&&t.onError(v),v}if(r==="text")return{ok:!0,data:await y.text(),status:y.status,url:u,fromCache:!1};let b=await y.blob(),x=b.type||y.headers.get("content-type")||"";return r==="dataURL"?{ok:!0,data:await yr(b),status:y.status,url:u,fromCache:!1,mime:x}:{ok:!0,data:b,status:y.status,url:u,fromCache:!1,mime:x}}catch(y){let b=y&&typeof y=="object"&&"name"in y&&y.name==="AbortError"?String(y.message||"").includes("timeout")?"timeout":"abort":"network",x={ok:!1,data:null,status:0,url:u,fromCache:!1,reason:b};if(!/^blob:/i.test(e)&&a>0&&Le.set(s,{until:Date.now()+a,result:x}),!l){let v=`${b}:${r}:${new URL(e,location?.href??"http://localhost/").origin}`,g=b==="timeout"?`Timeout after ${n}ms. Consider increasing timeout or using a proxy for ${e}`:b==="abort"?`Request aborted while fetching ${r} ${e}`:`Network/CORS issue while fetching ${r} ${e}. A proxy may be required`;Ft.errorOnce(v,g)}return t.onError&&t.onError(x),x}finally{clearTimeout(p),Je.delete(s)}})();return Je.set(s,m),m}var Ft,Je,Le,Ae=oe(()=>{"use strict";mt(),Ft=fi("[snapDOM]",{ttlMs:3*6e4,maxEntries:10}),Je=new Map,Le=new Map});async function Xt(e,t={}){if(/^((repeating-)?(linear|radial|conic)-gradient)\(/i.test(e)||e.trim()==="none")return e;let r=Kr(e,typeof devicePixelRatio<"u"&&devicePixelRatio||1)??Ht(e);if(!r)return e;let n=di(r),i=lt(n),a=(t.useProxy||"")+"|"+i;if(C.background.has(a)){let o=C.background.get(a);return o?`url("${o}")`:"none"}try{let o=await ie(i,{as:"dataURL",useProxy:t.useProxy});return o.ok?(C.background.set(a,o.data),`url("${o.data}")`):(C.background.set(a,null),"none")}catch{return C.background.set(a,null),"none"}}var bi=oe(()=>{"use strict";te(),mt(),Ae()});function wi(){for(let e of tn){let t=String(e).toLowerCase();Qt.has(t)||gt.has(t)||Gt(t)}}function Gt(e){if(e=String(e).toLowerCase(),gt.has(e)){let a={};return C.defaultStyle.set(e,a),a}if(C.defaultStyle.has(e))return C.defaultStyle.get(e);let t=document.getElementById("snapdom-sandbox");t||(t=document.createElement("div"),t.id="snapdom-sandbox",t.setAttribute("data-snapdom-sandbox","true"),t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.left="-9999px",t.style.top="-9999px",t.style.width="0px",t.style.height="0px",t.style.overflow="hidden",document.body.appendChild(t));let r=document.createElement(e);r.style.all="initial",t.appendChild(r);let n=getComputedStyle(r),i={};for(let a of n){if(Yt(a))continue;let o=n.getPropertyValue(a);i[a]=o}return t.removeChild(r),C.defaultStyle.set(e,i),i}function Yt(e){let t=Et.get(e);if(t===void 0){let r=String(e).toLowerCase();t=on.has(r)||nn.test(r)||rn.test(r),Et.set(e,t)}return t}function en(e,t){return!ln.has(e)&&(t==="inline"||an.has(e)||Jt.has(e))}function xi(e,t,r){let n=(t.display||"").toLowerCase();if(n==="inline"||Jt.has(e))return!1;if(r)return!0;if((t.float||"none").toLowerCase()!=="none")return!1;let i=(t.position||"static").toLowerCase();return i==="absolute"||i==="fixed"?!1:!dn.has(n)}function Nt(e,t,r=!0,n=!1){if(t=String(t||"").toLowerCase(),gt.has(t))return"";let i=[],a=Gt(t),o=(e.display||"").toLowerCase(),l=o==="inline",s=en(t,o),d=e["text-wrap-mode"]||e["white-space"]||"",c=d==="nowrap"||d==="pre",u=s&&r&&!(s&&r&&!l&&c),f=!1;for(let h in e){if(Yt(h))continue;let p=e[h];if(u){if(sn.has(h))continue;if(cn.has(h)){p&&p!==a[h]&&(i.push(`${h}:${p}`),p!=="auto"&&(f=!0));continue}}if(p&&p!==a[h]){if(!c&&(h==="width"||h==="inline-size")&&p.endsWith("px")&&p.includes(".")){let m=parseFloat(p);if(Number.isFinite(m)){i.push(`${h}:${(m+un).toFixed(3)}px`);continue}}i.push(`${h}:${p}`)}}if(u&&!l&&!n&&!f){let h=e.width;h&&h!=="auto"&&h!==a.width&&i.push(`min-width:${h}`)}return i.sort(),i.join(";")}function vi(e){let t=new Set;return e.nodeType!==Node.ELEMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?[]:(e.tagName&&t.add(e.tagName.toLowerCase()),typeof e.querySelectorAll=="function"&&e.querySelectorAll("*").forEach(r=>t.add(r.tagName.toLowerCase())),Array.from(t))}function Si(e){let t=new Map;for(let n of e){let i=Gt(n);if(!i)continue;let a=Object.entries(i).map(([o,l])=>`${o}:${l};`).sort().join("");a&&(t.has(a)||t.set(a,[]),t.get(a).push(n))}let r="";for(let[n,i]of t.entries())r+=`${i.join(",")} { ${n} }
3
3
  `;return r}function Ci(e){let t=Array.from(new Set(e.values())).filter(Boolean).sort(),r=new Map,n=1;for(let i of t)r.set(i,`c${n++}`);return r}function Mi(e){try{let t=e?.ownerDocument;if(!t)return typeof window<"u"?window:null;let r=t.defaultView;if(r&&typeof r.getComputedStyle=="function")return r;if(typeof window<"u"&&window.frames)for(let n=0;n<window.frames.length;n++)try{if(window.frames[n]?.document===t)return window.frames[n]}catch{}}catch{}return typeof window<"u"?window:null}function B(e,t=null){let r=()=>{let a={length:0,getPropertyValue:()=>"",item:()=>""};return a[Symbol.iterator]=function*(){},a};if(e?.nodeType!==1){let a=typeof window<"u"?window:null;if(a&&typeof a.getComputedStyle=="function")try{return a.getComputedStyle(e,t)||r()}catch{return r()}return r()}let n=C.computedStyle.get(e);n||(n=new Map,C.computedStyle.set(e,n));let i=n.get(t);if(!i){let a=Mi(e),o=null;try{o=a&&typeof a.getComputedStyle=="function"?a.getComputedStyle(e,t):null}catch{}if(!o&&typeof window<"u"&&typeof window.getComputedStyle=="function")try{e.ownerDocument===document&&(o=window.getComputedStyle(e,t))}catch{}i=o||r(),n.set(t,i)}return i}function br(e){let t={};for(let r of e)t[r]=e.getPropertyValue(r);for(let r of fn){let n=t[`border-${r}-style`],i=t[`border-${r}-width`];(n==="none"||n==="hidden"||i==="0px")&&(delete t[`border-${r}-style`],delete t[`border-${r}-width`],delete t[`border-${r}-color`])}return t}function Rt(e){let t=[],r=0,n=0;for(let i=0;i<e.length;i++){let a=e[i];a==="("&&r++,a===")"&&r--,a===","&&r===0&&(t.push(e.slice(n,i).trim()),n=i+1)}return t.push(e.slice(n).trim()),t}var Qt,gt,tn,rn,nn,on,Et,an,Jt,ln,sn,cn,un,dn,fn,yt=oe(()=>{"use strict";te(),Qt=new Set(["meta","script","noscript","title","link","template"]),gt=new Set(["meta","link","style","title","noscript","script","template","g","defs","use","marker","mask","clipPath","pattern","symbol","path","polygon","polyline","line","circle","ellipse","rect","filter","lineargradient","radialgradient","stop"]),tn=["div","span","p","a","img","ul","li","button","input","select","textarea","label","section","article","header","footer","nav","main","aside","h1","h2","h3","h4","h5","h6","table","thead","tbody","tr","td","th"],rn=/(?:^|-)(animation|transition)(?:-|$)/i,nn=/^(--.+|view-timeline|scroll-timeline|animation-trigger|offset-|position-try|app-region|interactivity|overlay|view-transition|-webkit-locale|-webkit-user-(?:drag|modify)|-webkit-tap-highlight-color|-webkit-text-security)$/i,on=new Set(["cursor","pointer-events","touch-action","user-select","print-color-adjust","speak","reading-flow","reading-order","anchor-name","anchor-scope","container-name","container-type","timeline-scope","zoom","stroke-color"]),Et=new Map,an=new Set(["span","small","em","strong","b","i","u","s","code","cite","mark","sub","sup"]),Jt=new Set(["table","thead","tbody","tfoot","tr","td","th"]),ln=new Set(["img","video","canvas","svg","iframe","embed","object","input","textarea","select"]),sn=new Set(["width","max-width","inline-size","max-inline-size"]),cn=new Set(["min-width","min-inline-size"]),un=.001,dn=new Set(["inline-block","inline-flex","inline-grid","inline-table","inline-flow-root","table"]),fn=["top","right","bottom","left"]});function Ke(e,{fast:t=!1}={}){if(t)return e();"requestIdleCallback"in window?requestIdleCallback(e,{timeout:50}):setTimeout(e,1)}function Ce(e=1e3){return typeof requestAnimationFrame!="function"||typeof document<"u"&&document.visibilityState==="hidden"?Promise.resolve():new Promise(t=>{let r=!1,n=()=>{r||(r=!0,t())};try{requestAnimationFrame(n)}catch{n();return}setTimeout(n,e)})}function Ai(){if(typeof navigator>"u")return!1;if(navigator.userAgentData)return navigator.userAgentData.platform==="iOS";let e=navigator.userAgent||"",t=/iPhone|iPad|iPod/.test(e),r=navigator.maxTouchPoints>2&&/Macintosh/.test(e);return t||r}function se(){if(typeof navigator>"u")return!1;let e=navigator.userAgent||"",t=e.toLowerCase(),r=t.includes("safari")&&!t.includes("chrome")&&!t.includes("crios")&&!t.includes("fxios")&&!t.includes("android"),n=/applewebkit/i.test(e),i=/mobile/i.test(e),a=!/safari/i.test(e),o=n&&i&&a,l=/(micromessenger|wxwork|wecom|windowswechat|macwechat)/i.test(e),s=/(baiduboxapp|baidubrowser|baidusearch|baiduboxlite)/i.test(t),d=/ipad|iphone|ipod/.test(t)&&n;return r||o||l||s||d}function $i(){if(typeof navigator>"u")return!1;let e=(navigator.userAgent||"").toLowerCase();return e.includes("firefox")||e.includes("fxios")}var $e=oe(()=>{"use strict"});function U(e,t,r){let n=e&&typeof e=="object"&&(e.options||e);n&&n.debug&&(r!==void 0?console.warn("[snapdom]",t,r):console.warn("[snapdom]",t))}var hn=oe(()=>{"use strict"}),de=oe(()=>{"use strict";bi(),yt(),$e(),mt(),hn()}),pn={};Oe(pn,{decodeSvgFromDataURL:()=>Kt,encodeSvgToDataURL:()=>Zt,fixSafariShadows:()=>er,toCanvas:()=>bt});function ki(e){try{let t=e.match(/<svg\b[^>]*>/i);if(!t)return e;let r=t[0],n=parseFloat((r.match(/\bwidth="([\d.]+)/i)||[])[1]),i=parseFloat((r.match(/\bheight="([\d.]+)/i)||[])[1]);if(!Number.isFinite(n)||!Number.isFinite(i)||n<=0||i<=0)return e;let a=Math.min(1,ye/n,ye/i,Math.sqrt(st/(n*i)));if(a>=1)return e;let o=Math.max(1,Math.floor(n*a)),l=Math.max(1,Math.floor(i*a));return console.warn(`[snapDOM] Capture ${Math.round(n)}\xD7${Math.round(i)}px exceeds the browser image-decode limit (${ye}px/side); downscaling to ${o}\xD7${l}px. Lower \`scale\` or set \`width\`/\`height\` to control output size.`),e.replace(r,r.replace(/(\bwidth=")[\d.]+/i,`$1${o}`).replace(/(\bheight=")[\d.]+/i,`$1${l}`))}catch{return e}}function Fi(e,t){let r=["x","y","width","height"].map(M=>Number(t?.[M]));if(!r.every(Number.isFinite)||r[2]<=0||r[3]<=0)throw new RangeError("[snapdom] canvas crop requires finite x/y and positive width/height");let n=e.match(/<svg\b[^>]*>/i);if(!n)throw new Error("[snapdom] cannot crop a non-SVG capture");let i=n[0],a=(i.match(/\bviewBox="([^"]+)"/i)||[])[1],o=String(a||"").trim().split(/[\s,]+/).map(Number);if(o.length!==4||!o.every(Number.isFinite)||o[2]<=0||o[3]<=0)throw new Error("[snapdom] cannot crop an SVG without a finite viewBox");let[l,s,d,c]=o,u=Math.max(l,r[0]),f=Math.max(s,r[1]),h=Math.min(l+d,r[0]+r[2]),p=Math.min(s+c,r[1]+r[3]);if(!(h>u)||!(p>f))throw new RangeError("[snapdom] canvas crop does not intersect the SVG viewBox");let m=parseFloat((i.match(/\bwidth="([\d.]+)/i)||[])[1]),y=parseFloat((i.match(/\bheight="([\d.]+)/i)||[])[1]),b=Number.isFinite(m)&&m>0?m/d:1,x=Number.isFinite(y)&&y>0?y/c:1,v=Math.max(1,(h-u)*b),g=Math.max(1,(p-f)*x),w=i.replace(/(\bwidth=")[^"]*/i,`$1${v}`).replace(/(\bheight=")[^"]*/i,`$1${g}`).replace(/(\bviewBox=")[^"]*/i,`$1${u} ${f} ${h-u} ${p-f}`);return e.replace(i,w)}function wr(e){return typeof e=="string"&&/^data:image\/svg\+xml/i.test(e)}function Kt(e){let t=e.indexOf(",");return t>=0?decodeURIComponent(e.slice(t+1)):""}function Ni(e){let t=e.indexOf(",");if(t<0)return"";let r=e.slice(t+1,t+1201).replace(/%[0-9A-Fa-f]?$/,"");try{return decodeURIComponent(r)}catch{return""}}function Zt(e){return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`}function mn(e){let t=[],r="",n=0;for(let i=0;i<e.length;i++){let a=e[i];a==="("&&n++,a===")"&&(n=Math.max(0,n-1)),a===";"&&n===0?(t.push(r),r=""):r+=a}return r.trim()&&t.push(r),t.map(i=>i.trim()).filter(Boolean)}function Ri(e){let t=[],r="",n=0;for(let a=0;a<e.length;a++){let o=e[a];o==="("&&n++,o===")"&&(n=Math.max(0,n-1)),o===","&&n===0?(t.push(r.trim()),r=""):r+=o}r.trim()&&t.push(r.trim());let i=[];for(let a of t){if(/\binset\b/i.test(a))continue;let o=a.match(/-?\d+(?:\.\d+)?px/gi)||[],[l="0px",s="0px",d="0px"]=o;d=`${parseFloat(d)/2}px`;let c=a.replace(/-?\d+(?:\.\d+)?px/gi,"").replace(/\binset\b/ig,"").trim().replace(/\s{2,}/g," "),u=!!c&&c!==",";i.push(`drop-shadow(${l} ${s} ${d}${u?` ${c}`:""})`)}return i.join(" ")}function gn(e){let t=mn(e),r=null,n=null,i=null,a=[];for(let l of t){let s=l.indexOf(":");if(s<0)continue;let d=l.slice(0,s).trim().toLowerCase(),c=l.slice(s+1).trim();d==="box-shadow"?i=c:d==="filter"?r=c:d==="-webkit-filter"?n=c:a.push([d,c])}if(i){let l=Ri(i);l&&(r=r?`${r} ${l}`:l,n=n?`${n} ${l}`:l)}let o=[...a];return r&&o.push(["filter",r]),n&&o.push(["-webkit-filter",n]),o.map(([l,s])=>`${l}:${s}`).join(";")}function Ei(e){return e.replace(/([^{}]+)\{([^}]*)\}/g,(t,r,n)=>`${r}{${gn(n)}}`)}function Pi(e){return e=e.replace(/<style[^>]*>([\s\S]*?)<\/style>/gi,(t,r)=>t.replace(r,Ei(r))),e=e.replace(/style=(['"])([\s\S]*?)\1/gi,(t,r,n)=>`style=${r}${gn(n)}${r}`),e}function Li(){return Ze||(Ze=(async()=>{try{let e='<svg xmlns="http://www.w3.org/2000/svg" width="8" height="20"><foreignObject width="8" height="20"><div xmlns="http://www.w3.org/1999/xhtml" style="width:4px;height:4px;margin-top:8px;background:#000;box-shadow:0 8px 0 0 #000"></div></foreignObject></svg>',t=new Image;t.decoding="sync",t.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`,await t.decode();let r=document.createElement("canvas");r.width=8,r.height=20;let n=r.getContext("2d",{willReadFrequently:!0});n.drawImage(t,0,0);let i=n.getImageData(2,18,1,1).data[3]>128,a=n.getImageData(2,2,1,1).data[3]>128;return{native:i||a,flippedY:a&&!i}}catch{return{native:!1,flippedY:!1}}})(),Ze)}function Wi(e){let t=[],r=0,n=0;for(let i=0;i<e.length;i++){let a=e[i];a==="("?r++:a===")"?r=Math.max(0,r-1):a===","&&r===0&&(t.push(e.slice(n,i)),n=i+1)}return t.push(e.slice(n)),t.map(i=>{let a=0,o=0,l="",s=0;for(;s<i.length;){let d=i[s];if(d==="("?a++:d===")"&&(a=Math.max(0,a-1)),a===0&&(s===0||i[s-1]===" ")){let c=/^-?\d*\.?\d+px/.exec(i.slice(s));if(c){o++,l+=o===2?`${-parseFloat(c[0])}px`:c[0],s+=c[0].length;continue}}l+=d,s++}return l}).join(",")}function Ti(e,t){let r=n=>mn(n).map(i=>{let a=i.indexOf(":");if(a<0)return i;let o=i.slice(0,a).trim().toLowerCase();return o==="text-shadow"||t&&o==="box-shadow"?`${o}:${Wi(i.slice(a+1))}`:i}).join(";");return e=e.replace(/<style[^>]*>([\s\S]*?)<\/style>/gi,(n,i)=>n.replace(i,i.replace(/([^{}]+)\{([^}]*)\}/g,(a,o,l)=>`${o}{${r(l)}}`))),e=e.replace(/style=(['"])([\s\S]*?)\1/gi,(n,i,a)=>`style=${i}${r(a)}${i}`),e}async function er(e){if(!/(?:box-shadow|text-shadow)\s*:[^;"}]*px/i.test(e))return{svg:e,naturalOnly:!1};let{native:t,flippedY:r}=await Li();try{let n=e;return t||(n=Pi(n)),r&&(n=Ti(n,t)),{svg:n,naturalOnly:!0}}catch{return{svg:e,naturalOnly:!0}}}async function Ii(e,t){e.setAttribute("data-snapdom-internal",""),e.style.cssText="position:fixed;left:-99999px;top:-99999px;pointer-events:none",document.body.appendChild(e);try{let r=document.createElement("canvas");r.width=16,r.height=16;let n=()=>new Promise(o=>{requestAnimationFrame(o),setTimeout(o,50)}),i=r.getContext("2d",{willReadFrequently:!0});if(!i){await n(),await n();return}let a=performance.now()+(t?600:150);for(;;){i.clearRect(0,0,16,16);try{i.drawImage(e,0,0,16,16)}catch{return}let o=i.getImageData(0,0,16,16).data,l=!1;for(let s=3;s<o.length;s+=4)if(o[s]>0){l=!0;break}if(l||performance.now()>a)return;await n()}}finally{try{e.remove()}catch{}}}async function bt(e,t){let{width:r,height:n,scale:i=1,dpr:a=1,meta:o={},backgroundColor:l,crop:s=null}=t,d=e,c=!1,u=!1;if(s&&!wr(e))throw new RangeError("[snapdom] canvas crop requires an SVG capture payload");if(wr(e)){let k=(Ni(e).match(/<svg\b[^>]*>/i)||[])[0]||"",N=parseFloat((k.match(/\bwidth="([\d.]+)/i)||[])[1]),R=parseFloat((k.match(/\bheight="([\d.]+)/i)||[])[1]),I=Number.isFinite(N)&&Number.isFinite(R)&&N>0&&R>0&&Math.min(1,ye/N,ye/R,Math.sqrt(st/(N*R)))<1;if(s||I||se())try{let E=Kt(e);if(s&&(E=Fi(E,s)),se()){let L=await er(E);E=L.svg,c=L.naturalOnly,u=/@font-face|data:image\//i.test(E)}(I||s)&&(E=ki(E)),d=Zt(E)}catch(E){if(s)throw E;d=e}}let f=new Image;f.loading="eager",f.decoding="sync",f.crossOrigin="anonymous",f.src=d,await f.decode(),se()&&await Ii(f,u);let h=f.naturalWidth,p=f.naturalHeight,m=s?h:Number.isFinite(o.vbW)?o.vbW:Number.isFinite(o.w0)?o.w0:h,y=s?p:Number.isFinite(o.vbH)?o.vbH:Number.isFinite(o.h0)?o.h0:p,b,x,v=Number.isFinite(r),g=Number.isFinite(n);if(v&&g)b=Math.max(1,r),x=Math.max(1,n);else if(v){let k=r/Math.max(1,m);b=r,x=y*k}else if(g){let k=n/Math.max(1,y);x=n,b=m*k}else b=h,x=p;b=b*i,x=x*i;let w=b*a,M=x*a,A=Math.max(w/ye,M/ye,Math.sqrt(w*M/st));A>1&&(console.warn(`[snapDOM] Output ${Math.round(w)}\xD7${Math.round(M)}px exceeds the browser canvas limit (${ye}px/side); downscaling. Lower \`scale\`/\`dpr\` or set \`width\`/\`height\`.`),b/=A,x/=A);let S=document.createElement("canvas");S.width=b*a,S.height=x*a,S.style.width=`${b}px`,S.style.height=`${x}px`;let $=S.getContext("2d");if(a!==1&&$.scale(a,a),l&&($.save(),$.fillStyle=l,$.fillRect(0,0,b,x),$.restore()),c&&(Math.round(b*a)!==h||Math.round(x*a)!==p)){let k=document.createElement("canvas");k.width=h,k.height=p,k.getContext("2d").drawImage(f,0,0),$.drawImage(k,0,0,b,x)}else $.drawImage(f,0,0,b,x);return S}var ye,st,Ze,_e=oe(()=>{"use strict";$e(),ye=16384,st=16384*16384,Ze=null}),et={};Oe(et,{rasterize:()=>yn});async function yn(e,t){let r=await bt(e,t),n=await new Promise(a=>{let o=()=>a(r.toDataURL(`image/${t.format}`,t.quality));try{r.toBlob(l=>{if(!l)return o();let s=new FileReader;s.onload=()=>a(String(s.result||"")),s.onerror=o,s.readAsDataURL(l)},`image/${t.format}`,t.quality)}catch{o()}}),i=new Image;return i.src=n,await i.decode(),i.style.width=`${r.width/t.dpr}px`,i.style.height=`${r.height/t.dpr}px`,i}var tt=oe(()=>{"use strict";_e()}),Pt={};Oe(Pt,{toImg:()=>xr,toSvg:()=>xr});async function xr(e,t){let{scale:r=1,width:n,height:i,meta:a={}}=t,o=Number.isFinite(n),l=Number.isFinite(i),s=Number.isFinite(r)&&r!==1||o||l;if(se()&&s)try{let{svg:c}=await er(Kt(e)),u=(c.match(/<svg\b[^>]*>/i)||[])[0]||"",f=parseFloat((u.match(/\bwidth="([\d.]+)/i)||[])[1]),h=parseFloat((u.match(/\bheight="([\d.]+)/i)||[])[1]);if(!Number.isFinite(f)||!Number.isFinite(h))throw new Error("svg without dimensions");let p=Number.isFinite(a.vbW)?a.vbW:Number.isFinite(a.w0)?a.w0:f,m=Number.isFinite(a.vbH)?a.vbH:Number.isFinite(a.h0)?a.h0:h,y,b;o&&l?(y=n,b=i):o?(y=n,b=Math.round(m*(n/Math.max(1,p)))):l?(b=i,y=Math.round(p*(i/Math.max(1,m)))):(y=Math.round(f*r),b=Math.round(h*r));let x=c.replace(/width="[^"]*"/,`width="${y}"`).replace(/height="[^"]*"/,`height="${b}"`),v=new Image;return v.decoding="sync",v.loading="eager",v.src=Zt(x),await v.decode(),v.style.width=`${y}px`,v.style.height=`${b}px`,v}catch(c){return U(t,"safari vector toImg failed, falling back to PNG",c),yn(e,{...t,format:"png",quality:1,meta:a})}let d=new Image;if(d.decoding="sync",d.loading="eager",d.src=e,await d.decode(),o&&l)d.style.width=`${n}px`,d.style.height=`${i}px`;else if(o){let c=Number.isFinite(a.vbW)?a.vbW:Number.isFinite(a.w0)?a.w0:d.naturalWidth,u=Number.isFinite(a.vbH)?a.vbH:Number.isFinite(a.h0)?a.h0:d.naturalHeight,f=n/Math.max(1,c);d.style.width=`${n}px`,d.style.height=`${Math.round(u*f)}px`}else if(l){let c=Number.isFinite(a.vbW)?a.vbW:Number.isFinite(a.w0)?a.w0:d.naturalWidth,u=Number.isFinite(a.vbH)?a.vbH:Number.isFinite(a.h0)?a.h0:d.naturalHeight,f=i/Math.max(1,u);d.style.height=`${i}px`,d.style.width=`${Math.round(c*f)}px`}else{let c=Math.round(d.naturalWidth*r),u=Math.round(d.naturalHeight*r);if(d.style.width=`${c}px`,d.style.height=`${u}px`,typeof e=="string"&&e.startsWith("data:image/svg+xml"))try{let f=decodeURIComponent(e.split(",")[1]).replace(/width="[^"]*"/,`width="${c}"`).replace(/height="[^"]*"/,`height="${u}"`);e=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(f)}`,d.src=e}catch(f){U(t,"SVG width/height patch in toImg failed",f)}}return d}var vr=oe(()=>{"use strict";de(),tt(),_e()}),bn={};Oe(bn,{toBlob:()=>wn});async function wn(e,t){let r=t.type;if(r==="svg"){let i=decodeURIComponent(e.split(",")[1]);return new Blob([i],{type:"image/svg+xml"})}let n=await bt(e,t);return new Promise(i=>n.toBlob(a=>i(a),`image/${r}`,t.quality))}var xn=oe(()=>{"use strict";_e()}),vn={};Oe(vn,{download:()=>Oi});async function Sr(e,t){let r=new File([e],t,{type:e.type});if(!navigator.canShare?.({files:[r]}))return!1;try{await navigator.share({files:[r],title:t})}catch(n){if(n.name!=="AbortError")return!1}return!0}async function Oi(e,t){let r=new Set(["png","jpeg","jpg","webp","svg"]),n=(t?.type||"").toLowerCase(),i=r.has(n)?n:"",a=(t?.format||i||"").toLowerCase(),o=a==="jpg"?"jpeg":a||"png",l=t?.filename||`snapdom.${o}`,s={...t||{},format:o,type:o};s.dpr=1;let d=Ai();if(o==="svg"){let f=await wn(e,{...s,type:"svg"});if(d&&await Sr(f,l))return;let h=URL.createObjectURL(f),p=document.createElement("a");p.href=h,p.download=l,document.body.appendChild(p),p.click(),URL.revokeObjectURL(h),p.remove();return}let c=await bt(e,s);if(d){let f=`image/${o}`,h=await new Promise(p=>c.toBlob(p,f,t?.quality));if(h&&await Sr(h,l))return}let u=document.createElement("a");u.href=c.toDataURL(`image/${o}`,t?.quality),u.download=l,document.body.appendChild(u),u.click(),u.remove()}var _i=oe(()=>{"use strict";xn(),_e(),$e()});de();de();te();var ct="http://www.w3.org/1999/xhtml",Di="http://www.w3.org/2000/svg";function ut(e){return!!e&&e.nodeType===1&&e.namespaceURI===ct}function pe(e,...t){return ut(e)&&t.includes(e.localName)}function tr(e){return!!e&&e.nodeType===1&&e.namespaceURI===Di}function Bi(e){return tr(e)&&e.localName==="svg"}function rr(e){return!!e&&e.nodeType===11&&!!e.host}function Ui(e){return!!e&&e.nodeType===9}function ji(e){return!!e&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"}var Lt=new WeakMap,Te=new Map,Vi=2e3,dt=0;function rt(){dt++,Te.size>Vi&&Te.clear()}var qi="[data-snapdom-sandbox],[data-snapdom-internal],[data-snapdom]";function Ct(e){let t=e&&(e.nodeType===1?e:e.parentElement);return!!(t&&t.closest&&t.closest(qi))}function Sn(e){for(let t of e)if(!Ct(t.target)){if(t.type==="childList"){let r=!0;for(let n of t.addedNodes)if(!Ct(n)){r=!1;break}if(r){for(let n of t.removedNodes)if(!Ct(n)){r=!1;break}}if(r)continue}return!0}return!1}var Cr=!1;function zi(e=document.documentElement){if(Cr)return;Cr=!0;let t=r=>{Sn(r)&&rt()};try{new MutationObserver(t).observe(e,{subtree:!0,childList:!0,characterData:!0,attributes:!0})}catch{}try{new MutationObserver(t).observe(document.head,{subtree:!0,childList:!0,characterData:!0,attributes:!0})}catch{}try{let r=document.fonts;r&&(r.addEventListener?.("loadingdone",rt),r.ready?.then(()=>rt()).catch(()=>{}))}catch{}}var Hi=["mask","mask-image","-webkit-mask","-webkit-mask-image","mask-source","mask-box-image-source","mask-border-source","-webkit-mask-box-image-source","border-image","border-image-source"];function Mr(e){let t=Lt.get(e);if(t&&t.epoch===dt){let r=t.snapshot&&t.snapshot.__needsBgInline;if(r!==void 0)return r}return!0}function Xi(e,t={}){let r={},n=t.excludeStyleProps;for(let u=0;u<e.length;u++){let f=e[u];if(Yt(f)||n&&(n instanceof RegExp&&n.test(f)||typeof n=="function"&&n(f)))continue;let h=e.getPropertyValue(f);(f==="background-image"||f==="content")&&h.includes("url(")&&!h.includes("data:")&&(h="none"),r[f]=h}let i=["text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","text-decoration-skip-ink"];for(let u of i)if(!r[u])try{let f=e.getPropertyValue(u);f&&(r[u]=f)}catch{}let a=["-webkit-text-stroke","-webkit-text-stroke-width","-webkit-text-stroke-color","paint-order"];for(let u of a)if(!r[u])try{let f=e.getPropertyValue(u);f&&(r[u]=f)}catch{}if(t.embedFonts){let u=["font-feature-settings","font-variation-settings","font-kerning","font-variant","font-variant-ligatures","font-optical-sizing"];for(let f of u)if(!r[f])try{let h=e.getPropertyValue(f);h&&(r[f]=h)}catch{}}try{(r["content-visibility"]||e.getPropertyValue("content-visibility"))==="hidden"&&(r["content-visibility"]="hidden")}catch{}let o=!1;{let u=e.getPropertyValue("background-image");if(u&&u!=="none"&&(o=!0),!o){let f=e.getPropertyValue("background-color");f&&f!=="rgba(0, 0, 0, 0)"&&f!=="transparent"&&(o=!0)}if(!o)for(let f of Hi){let h=e.getPropertyValue(f);if(h&&h!=="none"){o=!0;break}}if(!o){let f=e.getPropertyValue("background");f&&/url\s*\(/i.test(f)&&(o=!0)}}Object.defineProperty(r,"__needsBgInline",{value:o,enumerable:!1});let l=parseFloat(e.getPropertyValue("border-top-width")||0)||0,s=parseFloat(e.getPropertyValue("border-right-width")||0)||0,d=parseFloat(e.getPropertyValue("border-bottom-width")||0)||0,c=parseFloat(e.getPropertyValue("border-left-width")||0)||0;if(l===0&&s===0&&d===0&&c===0){let u=(e.getPropertyValue("border-image-source")||"").trim(),f=u&&u!=="none",h=["border","border-top","border-right","border-bottom","border-left","border-width","border-style","border-color","border-top-width","border-top-style","border-top-color","border-right-width","border-right-style","border-right-color","border-bottom-width","border-bottom-style","border-bottom-color","border-left-width","border-left-style","border-left-color","border-block","border-block-width","border-block-style","border-block-color","border-inline","border-inline-width","border-inline-style","border-inline-color"];for(let p of h)delete r[p];f||(r.border="none")}return r}function Gi(e){for(let t=e.firstChild;t;t=t.nextSibling){if(t.nodeType===3&&/\S/.test(t.nodeValue||""))return!0;if(t.nodeType===1){let r=B(t).position;if(r!=="absolute"&&r!=="fixed")return!0}}return!1}function Yi(e,t,r){try{if(typeof e.computedStyleMap=="function"){let i=e.computedStyleMap().get("width");if(i!=null)return!Ar(String(i).trim().toLowerCase())}}catch{}let n=e.style&&(e.style.width||e.style.inlineSize);return n&&!Ar(String(n).trim().toLowerCase())?!0:Ji(e,t)?r||Ki(e,t):!1}var Qi=new Set(["auto","min-content","max-content","stretch","fill-available","-webkit-fill-available"]);function Ar(e){return Qi.has(e)||e.startsWith("fit-content")}function Ji(e,t){let r=e.getBoundingClientRect().width-(parseFloat(t.paddingLeft)||0)-(parseFloat(t.paddingRight)||0)-(parseFloat(t.borderLeftWidth)||0)-(parseFloat(t.borderRightWidth)||0);if(!(r>0))return!1;let n=1/0,i=-1/0,a=null;for(let o=e.firstChild;o;o=o.nextSibling){let l;if(o.nodeType===3){if(!/\S/.test(o.nodeValue||"")||(a=a||document.createRange(),a.selectNode(o),l=a.getBoundingClientRect(),!l.width&&!l.height))continue}else if(o.nodeType===1){let s=B(o);if(s.display==="none"||s.position==="absolute"||s.position==="fixed")continue;l=o.getBoundingClientRect()}else continue;l.left<n&&(n=l.left),l.right>i&&(i=l.right)}return i===-1/0?!1:i-n<r-.5}function Ki(e,t){let r=e.parentElement;if(!r)return!1;let n=B(r),i=r.getBoundingClientRect().width-(parseFloat(n.paddingLeft)||0)-(parseFloat(n.paddingRight)||0)-(parseFloat(n.borderLeftWidth)||0)-(parseFloat(n.borderRightWidth)||0)-(parseFloat(t.marginLeft)||0)-(parseFloat(t.marginRight)||0);return i>0?Math.abs(e.getBoundingClientRect().width-i)>.5:!1}var $r=new WeakMap;function Zi(e){let t=$r.get(e);return t||(t=Object.entries(e).sort((r,n)=>r[0]<n[0]?-1:r[0]>n[0]?1:0).map(([r,n])=>`${r}:${n}`).join(";"),$r.set(e,t),t)}function eo(e,t=null,r={}){let n=Lt.get(e),i=!!(r&&r.embedFonts),a=r&&r.excludeStyleProps||null;if(n&&n.epoch===dt&&n.embedFonts===i&&n.excludeStyleProps===a)return n.snapshot;let o=t||getComputedStyle(e),l=Xi(o,r);return lo(e,o,l),Lt.set(e,{epoch:dt,snapshot:l,embedFonts:i,excludeStyleProps:a}),l}function to(e,t){return e&&e.session&&e.persist?e:e&&(e.styleMap||e.styleCache||e.nodeMap)?{session:e,persist:{snapshotKeyCache:Te,defaultStyle:C.defaultStyle,baseStyle:C.baseStyle,image:C.image,resource:C.resource,background:C.background,font:C.font},options:t||{}}:{session:C.session,persist:{snapshotKeyCache:Te,defaultStyle:C.defaultStyle,baseStyle:C.baseStyle,image:C.image,resource:C.resource,background:C.background,font:C.font},options:e||t||{}}}function ro(e,t,r){if(!(!e.style||e.style.length===0))for(let n=0;n<e.style.length;n++){let i=e.style[n],a=r.getPropertyValue(i);a&&t.style.setProperty(i,a)}}async function me(e,t,r,n){if(e.tagName==="STYLE")return;let i=to(r,n),a=i.options&&i.options.cache||"auto";a!=="disabled"&&zi(document.documentElement),a==="disabled"&&!i.session.__bumpedForDisabled&&(rt(),Te.clear(),i.session.__bumpedForDisabled=!0);let{session:o,persist:l}=i;if(!o.styleCache.has(e)){let y=null;try{y=getComputedStyle(e)}catch{}o.styleCache.set(e,y||getComputedStyle(document.documentElement))}let s=o.styleCache.get(e);e.getAttribute?.("style")&&ro(e,t,s);let d=s.getPropertyValue("animation-name");t&&t.style&&d&&d!=="none"&&t.style.setProperty("animation","none","important");let c=eo(e,s,i.options);no(e,s,c);let u=Cn(e);if(u){let y=s.getPropertyValue("min-width");(!y||y==="auto"||y==="0px")&&(c["min-width"]="0px")}let f=e.tagName?.toLowerCase()||"div",h=Zi(c),p=!0;if(en(f,(c.display||"").toLowerCase())){p=Gi(e),p&&xi(f,c,u)&&Yi(e,s,u)&&(p=!1),h=`${h}|${f}${p?"|c":""}${u?"|f":""}`;let y=c["text-wrap-mode"]||c["white-space"]||"";p&&y!=="nowrap"&&y!=="pre"&&(o.reconcileRisk=(o.reconcileRisk||0)+1)}let m=l.snapshotKeyCache.get(h);m===void 0&&(m=Nt(c,f,p,u),l.snapshotKeyCache.set(h,m)),o.styleMap.set(t,m)}function no(e,t,r){let n=t.getPropertyValue("overflow-x"),i=t.getPropertyValue("overflow-y");if((n==="visible"||!n)&&(i==="visible"||!i)||t.getPropertyValue("box-sizing")==="border-box"||typeof e.clientWidth!="number"||!e.offsetWidth)return;let a=d=>parseFloat(d)||0,o=e.offsetWidth-e.clientWidth-a(t.getPropertyValue("border-left-width"))-a(t.getPropertyValue("border-right-width")),l=e.offsetHeight-e.clientHeight-a(t.getPropertyValue("border-top-width"))-a(t.getPropertyValue("border-bottom-width")),s=(d,c)=>{let u=r[d];if(!u||!u.endsWith("px"))return;let f=parseFloat(u);Number.isFinite(f)&&(r[d]=`${Math.round((f+c)*1e3)/1e3}px`)};o>.5&&(s("width",o),s("inline-size",o)),l>.5&&(s("height",l),s("block-size",l))}function io(e){return e.backgroundImage&&e.backgroundImage!=="none"||e.backgroundColor&&e.backgroundColor!=="rgba(0, 0, 0, 0)"&&e.backgroundColor!=="transparent"||(parseFloat(e.borderTopWidth)||0)>0||(parseFloat(e.borderBottomWidth)||0)>0||(parseFloat(e.paddingTop)||0)>0||(parseFloat(e.paddingBottom)||0)>0?!0:(e.overflowBlock||e.overflowY||"visible")!=="visible"}function Cn(e){let t=e.parentElement;if(!t)return!1;let r=B(t).display||"";return r.includes("flex")||r.includes("grid")}function oo(e){for(let n=e.firstChild;n;n=n.nextSibling)if(n.nodeType===3&&/\S/.test(n.nodeValue))return!0;let t=e.firstElementChild,r=e.lastElementChild;if(t&&t.tagName==="BR"||r&&r.tagName==="BR")return!0;for(let n=e.firstElementChild;n;n=n.nextElementSibling){let i=B(n);if(i.display==="none")continue;let a=i.position;if(a!=="absolute"&&a!=="fixed")return!0}return!1}function ao(e){let t=e.getBoundingClientRect().top,r=-1/0,n=null;for(let i=e.firstChild;i;i=i.nextSibling){if(i.nodeType===3){if(!/\S/.test(i.nodeValue||""))continue;n=n||document.createRange(),n.selectNode(i);let l=n.getBoundingClientRect();(l.width||l.height)&&(r=Math.max(r,l.bottom));continue}if(i.nodeType!==1)continue;let a=B(i);if(a.display==="none")continue;let o=a.position;o==="absolute"||o==="fixed"||a.float&&a.float!=="none"||(r=Math.max(r,i.getBoundingClientRect().bottom))}return r===-1/0?NaN:r-t}function lo(e,t,r){if(ut(e)&&e.style&&e.style.height)return;let n=e.tagName&&e.tagName.toLowerCase();if(!n||!["div","section","article","main","aside","header","footer","nav"].includes(n)||t.aspectRatio&&t.aspectRatio!=="none"&&t.aspectRatio!=="auto")return;let i=t.display||"";if(i.includes("flex")||i.includes("grid"))return;let a=t.position;if(a==="absolute"||a==="fixed"||a==="sticky"||t.transform!=="none"||io(t)||Cn(e))return;let o=t.overflowX||t.overflow||"visible",l=t.overflowY||t.overflow||"visible";if(o!=="visible"||l!=="visible")return;let s=t.clip;if(s&&s!=="auto"&&s!=="rect(auto, auto, auto, auto)"||t.visibility==="hidden"||t.opacity==="0"||!oo(e))return;let d=parseFloat(t.height),c=ao(e);Number.isFinite(d)&&Number.isFinite(c)&&Math.abs(d-c)>2||(delete r.height,delete r["block-size"])}yt();var Mn=["fill","stroke","color","background-color","stop-color"],so=new Set(["symbol","defs","pattern","marker","linearGradient","radialGradient","filter"]);function Wt(e){let t=e;for(;t&&t.nodeType===1;){if(t.namespaceURI==="http://www.w3.org/2000/svg"){if(t.localName==="mask"||t.localName==="clipPath")return!1;if(so.has(t.localName))return!0}t=t.parentNode}return!1}var kr=new Map;function co(e,t){let r=t+"::"+e.toLowerCase(),n=kr.get(r);if(n)return n;let i=document,a=t==="http://www.w3.org/2000/svg"?i.createElementNS(t,e):i.createElement(e),o=i.createElement("div");o.setAttribute("data-snapdom-internal",""),o.style.cssText="position:absolute;left:-99999px;top:-99999px;contain:strict;display:block;",o.appendChild(a),i.documentElement.appendChild(o);let l=getComputedStyle(a),s={};for(let d of Mn)s[d]=l.getPropertyValue(d)||"";return o.remove(),kr.set(r,s),s}function uo(e,t){if(e?.nodeType!==1||t?.nodeType!==1||Wt(e))return;let r=e.getAttribute?.("style"),n=!!(r&&r.includes("var("));if(!n&&e.attributes?.length){let a=e.attributes;for(let o=0;o<a.length;o++){let l=a[o];if(l&&typeof l.value=="string"&&l.value.includes("var(")){n=!0;break}}}let i=null;if(n)try{i=getComputedStyle(e)}catch{}if(n){let a=e.style;if(a&&a.length){let o=new Set;for(let l=0;l<a.length;l++){let s=a[l];if(o.has(s))continue;o.add(s);let d=a.getPropertyValue(s);if(!d||!d.includes("var("))continue;let c=i&&i.getPropertyValue(s);if(c)try{t.style.setProperty(s,c.trim(),a.getPropertyPriority(s))}catch{}}}}if(n&&e.attributes?.length){let a=e.attributes;for(let o=0;o<a.length;o++){let l=a[o];if(!l||typeof l.value!="string"||!l.value.includes("var("))continue;let s=l.name,d=i&&i.getPropertyValue(s);if(d)try{t.style.setProperty(s,d.trim())}catch{}}}if(!n){if(!i)try{i=getComputedStyle(e)}catch{i=null}if(!i)return;let a=e.namespaceURI||"html",o=co(e.tagName,a);for(let l of Mn){let s=i.getPropertyValue(l)||"",d=o[l]||"";if(s&&s!==d)try{t.style.setProperty(l,s.trim())}catch{}}}}de();de();te();Ae();Ae();function Me(e){return!!(!e||e.startsWith("data:")||e.startsWith("blob:")||/^data:image\/(gif|png|svg)/.test(e)&&e.length<200)}var Fr="img[data-src], img[data-lazy-src], img[data-original], img[data-hi-res-src], img[data-srcset], img[data-lazy-srcset]";function fo(e,t){return!e||e?.nodeType!==1?!1:e.matches?.("picture")||e.querySelector("picture")?!0:t?!!(e.matches?.(Fr)||e.querySelector(Fr)):!1}var ho=/^image\/(jpeg|jpg|png|gif|webp|avif|apng|svg\+xml|bmp|x-icon|vnd\.microsoft\.icon)\s*(;|$)/i;function ft(e,t){if(!e)return null;let r=0;try{r=t?t.getBoundingClientRect().width||t.width:0}catch{}r||(r=window.innerWidth||1e3);let n=[];for(let a of e.split(",")){let o=a.trim().split(/\s+/);if(!o[0])continue;let l=o[1]||"",s=1;/^\d*\.?\d+x$/i.test(l)?s=parseFloat(l):/^\d+w$/i.test(l)&&(s=parseInt(l,10)/r),n.push({url:o[0],d:s})}if(!n.length)return null;n.sort((a,o)=>a.d-o.d);let i=window.devicePixelRatio||1;return(n.find(a=>a.d>=i)||n[n.length-1]).url}function An(e,t){let r=e.currentSrc||"";if(r&&!Me(r))return r;let n=t.querySelectorAll("source[srcset]"),i=null;for(let a of n){let o=a.getAttribute("srcset");if(!o||Me(o))continue;let l=a.getAttribute("type");if(l&&!ho.test(l.trim()))continue;let s=a.getAttribute("media");if(s)try{if(window.matchMedia(s).matches)return ft(o,e)}catch{}i||(i=ft(o,e))}return i}function po(e){let t=[e.getAttribute("data-src"),e.getAttribute("data-lazy-src"),e.getAttribute("data-original"),e.getAttribute("data-hi-res-src")];for(let n of t)if(n&&!Me(n))return n;let r=e.getAttribute("data-srcset")||e.getAttribute("data-lazy-srcset");if(r){let n=r.split(",")[0].trim().split(/\s+/)[0];if(n&&!Me(n))return n}return null}function mo(e={}){let t=e.pictureResolver&&typeof e.pictureResolver=="object"?e.pictureResolver:{};return{timeout:t.timeout??5e3,concurrency:t.concurrency??4,resolveLazySrc:t.resolveLazySrc!==!1,silent:t.silent??!1,useProxy:typeof e.useProxy=="string"?e.useProxy:""}}async function go(e,t={}){if(!e||e?.nodeType!==1||t.resolvePicturePlaceholders===!1)return null;let{timeout:r,concurrency:n,resolveLazySrc:i,silent:a,useProxy:o}=mo(t);if(!fo(e,i))return null;let l=[],s=[];async function d(f){let h=await ie(f,{as:"dataURL",timeout:r,useProxy:o,silent:!0});return h.ok?h.data:null}async function c(f){for(let h=0;h<f.length;h+=n){let p=f.slice(h,h+n);await Promise.allSettled(p.map(m=>m()))}}let u=Array.from(e.querySelectorAll("picture"));e.matches?.("picture")&&u.unshift(e);for(let f of u){let h=f.querySelector("img");if(!h)continue;let p=h.getAttribute("src")||"";if(!Me(p))continue;let m=An(h,f);m&&s.push(async()=>{let y=await d(m);if(!y){a||console.warn(`[snapdom:picture-resolver] Failed to fetch: ${m.slice(0,60)}`);return}let b=h.getAttribute("src"),x=h.getAttribute("srcset"),v=h.getAttribute("sizes"),g=[];h.src=y,h.setAttribute("src",y),h.removeAttribute("srcset"),h.removeAttribute("sizes");let w=f.querySelectorAll("source");for(let M of w)g.push({el:M,parent:M.parentElement,next:M.nextSibling}),M.remove();l.push(()=>{b!==null?h.setAttribute("src",b):h.removeAttribute("src"),x!==null&&h.setAttribute("srcset",x),v!==null&&h.setAttribute("sizes",v);for(let{el:M,parent:A,next:S}of g)A&&A.insertBefore(M,S)})})}if(i){let f=Array.from(e.querySelectorAll("img"));e.localName==="img"&&f.unshift(e);for(let h of f){if(h.closest("picture")&&Me(h.getAttribute("src")||""))continue;let p=h.getAttribute("src")||"",m=po(h);m&&Me(p)&&s.push(async()=>{let y=await d(m);if(!y)return;let b=h.getAttribute("src");h.src=y,h.setAttribute("src",y),h.removeAttribute("srcset"),h.removeAttribute("sizes"),l.push(()=>{b!==null?h.setAttribute("src",b):h.removeAttribute("src")})})}}return s.length===0?null:(await c(s),async function(){for(let f of l)try{f()}catch{}})}function Mt(e,t,r){return r?Promise.all(e.map(n=>new Promise(i=>t(n,i)))):Promise.all(e.map(n=>new Promise(i=>{function a(){Ke(o=>{!(o&&typeof o.timeRemaining=="function")||o.timeRemaining()>0?t(n,i):a()},{fast:r})}a()})))}function yo(e,t){if(e=e.trim(),!e)return e;let r=t?`[data-sd-slotted~="${t}"]`:"[data-sd-slotted]";return e.endsWith(":not([data-sd-slotted])")||e.endsWith(`:not(${r})`)?e:`${e}:not(${r})`}function bo(e,t,r=!0,n){return e.split(",").map(i=>i.trim()).filter(Boolean).map(i=>{if(i.startsWith(":where(")||i.startsWith("@"))return i;let a=r?yo(i,n):i;return`:where(${t} ${a})`}).join(", ")}function wo(e,t,r){return e?(e=e.replace(/:host\(([^)]+)\)/g,(n,i)=>`:where(${t}:is(${i.trim()}))`),e=e.replace(/:host\b/g,`:where(${t})`),e=e.replace(/:host-context\(([^)]+)\)/g,(n,i)=>`:where(:where(${i.trim()}) ${t})`),e=e.replace(/::slotted\(([^)]+)\)/g,(n,i)=>`:where(${t} ${i.trim()})`),e=e.replace(/(^|})(\s*)([^@}{]+){/g,(n,i,a,o)=>{let l=bo(o,t,!0,r);return`${i}${a}${l}{`}),e):""}function xo(e){return e.shadowScopeSeq=(e.shadowScopeSeq||0)+1,`s${e.shadowScopeSeq}`}function vo(e){let t="";try{e.querySelectorAll("style").forEach(n=>{t+=(n.textContent||"")+`
4
4
  `});let r=e.adoptedStyleSheets||[];for(let n of r)try{if(n&&n.cssRules)for(let i of n.cssRules)t+=i.cssText+`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomweaver/frame-kit",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "LoomWeaver: open-source plugin platform for Angular workbenches. The frame kit: the <lw-*> custom elements, the compiled .lw-* class contracts and Penpal, served as static assets to sandboxed iframe plugins.",
5
5
  "types": "dist/lw-frame.d.ts",
6
6
  "keywords": [