@squeed/flow-sdk 2.0.22 → 2.0.25

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_virtual_content-preview-runtime-Deui59HN.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,4 @@
1
- "use strict";var Ht=Object.create;var Vn=Object.defineProperty;var Bt=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var $t=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var Qt=(t,l,i,s)=>{if(l&&typeof l=="object"||typeof l=="function")for(let c of Wt(l))!Vt.call(t,c)&&c!==i&&Vn(t,c,{get:()=>l[c],enumerable:!(s=Bt(l,c))||s.enumerable});return t};var Gt=(t,l,i)=>(i=t!=null?Ht($t(t)):{},Qt(l||!t||!t.__esModule?Vn(i,"default",{value:t,enumerable:!0}):i,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*! @license DOMPurify 3.4.15 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.15/LICENSE */function Qn(t,l){(l==null||l>t.length)&&(l=t.length);for(var i=0,s=Array(l);i<l;i++)s[i]=t[i];return s}function Yt(t){if(Array.isArray(t))return t}function qt(t,l){var i=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i!=null){var s,c,m,b,O=[],_=!0,z=!1;try{if(m=(i=i.call(t)).next,l!==0)for(;!(_=(s=m.call(i)).done)&&(O.push(s.value),O.length!==l);_=!0);}catch($){z=!0,c=$}finally{try{if(!_&&i.return!=null&&(b=i.return(),Object(b)!==b))return}finally{if(z)throw c}}return O}}function Kt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Xt(t,l){return Yt(t)||qt(t,l)||Zt(t,l)||Kt()}function Zt(t,l){if(t){if(typeof t=="string")return Qn(t,l);var i={}.toString.call(t).slice(8,-1);return i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set"?Array.from(t):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Qn(t,l):void 0}}const it=Object.entries,Gn=Object.setPrototypeOf,Jt=Object.isFrozen,er=Object.getPrototypeOf,nr=Object.getOwnPropertyDescriptor;let k=Object.freeze,E=Object.seal,ue=Object.create,ut=typeof Reflect<"u"&&Reflect,un=ut.apply,sn=ut.construct;k||(k=function(l){return l});E||(E=function(l){return l});un||(un=function(l,i){for(var s=arguments.length,c=new Array(s>2?s-2:0),m=2;m<s;m++)c[m-2]=arguments[m];return l.apply(i,c)});sn||(sn=function(l){for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];return new l(...s)});const X=S(Array.prototype.forEach),tr=S(Array.prototype.lastIndexOf),Yn=S(Array.prototype.pop),he=S(Array.prototype.push),rr=S(Array.prototype.splice),se=Array.isArray,ve=S(String.prototype.toLowerCase),nn=S(String.prototype.toString),qn=S(String.prototype.match),ge=S(String.prototype.replace),Kn=S(String.prototype.indexOf),lr=S(String.prototype.trim),or=S(Number.prototype.toString),ar=S(Boolean.prototype.toString),Xn=typeof BigInt>"u"?null:S(BigInt.prototype.toString),Zn=typeof Symbol>"u"?null:S(Symbol.prototype.toString),L=S(Object.prototype.hasOwnProperty),ye=S(Object.prototype.toString),T=S(RegExp.prototype.test),K=ir(TypeError);function S(t){return function(l){l instanceof RegExp&&(l.lastIndex=0);for(var i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];return un(t,l,s)}}function ir(t){return function(){for(var l=arguments.length,i=new Array(l),s=0;s<l;s++)i[s]=arguments[s];return sn(t,i)}}function d(t,l){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ve;if(Gn&&Gn(t,null),!se(l))return t;let s=l.length;for(;s--;){let c=l[s];if(typeof c=="string"){const m=i(c);m!==c&&(Jt(l)||(l[s]=m),c=m)}t[c]=!0}return t}function ur(t){for(let l=0;l<t.length;l++)L(t,l)||(t[l]=null);return t}function R(t){const l=ue(null);for(const s of it(t)){var i=Xt(s,2);const c=i[0],m=i[1];L(t,c)&&(se(m)?l[c]=ur(m):m&&typeof m=="object"&&m.constructor===Object?l[c]=R(m):l[c]=m)}return l}function sr(t){switch(typeof t){case"string":return t;case"number":return or(t);case"boolean":return ar(t);case"bigint":return Xn?Xn(t):"0";case"symbol":return Zn?Zn(t):"Symbol()";case"undefined":return ye(t);case"function":case"object":{if(t===null)return ye(t);const l=t,i=D(l,"toString");if(typeof i=="function"){const s=i(l);return typeof s=="string"?s:ye(s)}return ye(t)}default:return ye(t)}}function D(t,l){for(;t!==null;){const s=nr(t,l);if(s){if(s.get)return S(s.get);if(typeof s.value=="function")return S(s.value)}t=er(t)}function i(){return null}return i}function cr(t){try{return T(t,""),!0}catch{return!1}}const Jn=k(["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"]),tn=k(["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"]),rn=k(["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"]),fr=k(["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"]),ln=k(["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"]),dr=k(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),et=k(["#text"]),nt=k(["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"]),on=k(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),tt=k(["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"]),De=k(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pr=E(/{{[\w\W]*|^[\w\W]*}}/g),mr=E(/<%[\w\W]*|^[\w\W]*%>/g),hr=E(/\${[\w\W]*/g),gr=E(/^data-[\-\w.\u00B7-\uFFFF]+$/),yr=E(/^aria-[\-\w]+$/),rt=E(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vr=E(/^(?:\w+script|data):/i),br=E(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),wr=E(/^html$/i),Sr=E(/^[a-z][.\w]*(-[.\w]+)+$/i),lt=E(/<[/\w!]/g),ot=E(/<[/\w]/g),kr=E(/<\/no(script|embed|frames)/i),Er=E(/\/>/i),A={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},st=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],_r=k(d({},st)),Tr=(function(){const t={};return X(st,l=>{t[l]=E(new RegExp("</"+l+"(?=[\\t\\n\\f\\r />])","i"))}),k(t)})(),xr=function(){return typeof window>"u"?null:window},Cr=function(l,i){if(typeof l!="object"||typeof l.createPolicy!="function")return null;let s=null;const c="data-tt-policy-suffix";i&&i.hasAttribute(c)&&(s=i.getAttribute(c));const m="dompurify"+(s?"#"+s:"");try{return l.createPolicy(m,{createHTML(b){return b},createScriptURL(b){return b}})}catch{return console.warn("TrustedTypes policy "+m+" could not be created."),null}},at=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},W=function(l,i,s,c){return L(l,i)&&se(l[i])?d(c.base?R(c.base):{},l[i],c.transform):s},an=function(l,i,s){const c=L(l,i)?l[i]:void 0;return c&&typeof c=="object"?R(c):s()};function ct(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xr();const l=o=>ct(o);if(l.version="3.4.15",l.removed=[],!t||!t.document||t.document.nodeType!==A.document||!t.Element)return l.isSupported=!1,l;let i=t.document;const s=i,c=s.currentScript;t.DocumentFragment;const m=t.HTMLTemplateElement,b=t.Node,O=t.Element,_=t.NodeFilter,z=t.NamedNodeMap;z===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const $=t.DOMParser,be=t.trustedTypes,U=O.prototype,ft=D(U,"cloneNode"),ze=D(U,"remove"),cn=D(U,"removeAttributeNode"),dt=D(U,"nextSibling"),Z=D(U,"childNodes"),J=D(U,"parentNode"),fn=D(U,"shadowRoot"),Ie=D(U,"attributes"),V=b&&b.prototype?D(b.prototype,"nodeType"):null,ee=b&&b.prototype?D(b.prototype,"nodeName"):null,we=b&&b.prototype?D(b.prototype,"ownerDocument"):null,ce=function(e){return V?V(e):e.nodeType},Me=function(e){return ee?ee(e):e.nodeName};if(typeof m=="function"){const o=i.createElement("template");o.content&&o.content.ownerDocument&&(i=o.content.ownerDocument)}let C,Q="",Fe,dn=!1,fe=0;const pn=function(){if(fe>0)throw K('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.')},ne=function(e){pn(),fe++;try{return C.createHTML(e)}finally{fe--}},pt=function(e){pn(),fe++;try{return C.createScriptURL(e)}finally{fe--}},mt=function(){return dn||(Fe=Cr(be,c),dn=!0),Fe},Se=i,Ue=Se.implementation,mn=Se.createNodeIterator,ht=Se.createDocumentFragment,gt=Se.getElementsByTagName,yt=s.importNode;let h=at();l.isSupported=typeof it=="function"&&typeof J=="function"&&Ue&&Ue.createHTMLDocument!==void 0;const vt=pr,bt=mr,wt=hr,St=gr,kt=yr,Et=vr,hn=br,_t=Sr;let gn=rt,g=null;const je=d({},[...Jn,...tn,...rn,...ln,...et]);let y=null;const He=d({},[...nt,...on,...tt,...De]);let I=Object.seal(ue(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}})),de=null,yn=null;const j=Object.seal(ue(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let vn=!0,Be=!0,bn=!1,wn=!0,H=!1,G=!0,Y=!1,We=!1,ke=null,Ee=null,$e=!1,te=!1,_e=!1,Te=!1,Sn=!0,kn=!1;const En="user-content-";let Ve=!0,Qe=!1,re={},le=null;const _n=d({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Tn=null;const xn=d({},["audio","video","img","source","image","track"]);let Cn=null;const Nn=d({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),xe="http://www.w3.org/1998/Math/MathML",Ce="http://www.w3.org/2000/svg",M="http://www.w3.org/1999/xhtml";let oe=M,Ge=!1,Ye=null;const Tt=d({},[xe,Ce,M],nn),Pn=k(["mi","mo","mn","ms","mtext"]);let qe=d({},Pn);const Ln=k(["annotation-xml"]);let Ke=d({},Ln);const xt=d({},["title","style","font","a","script"]);let pe=null;const Ct=["application/xhtml+xml","text/html"],Nt="text/html";let w=null,ae=null;const Pt=i.createElement("form"),An=function(e){return e instanceof RegExp||e instanceof Function},Xe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ae&&ae===e)return;(!e||typeof e!="object")&&(e={}),e=R(e),pe=Ct.indexOf(e.PARSER_MEDIA_TYPE)===-1?Nt:e.PARSER_MEDIA_TYPE,w=pe==="application/xhtml+xml"?nn:ve,g=W(e,"ALLOWED_TAGS",je,{transform:w}),y=W(e,"ALLOWED_ATTR",He,{transform:w}),Ye=W(e,"ALLOWED_NAMESPACES",Tt,{transform:nn}),Cn=W(e,"ADD_URI_SAFE_ATTR",Nn,{transform:w,base:Nn}),Tn=W(e,"ADD_DATA_URI_TAGS",xn,{transform:w,base:xn}),le=W(e,"FORBID_CONTENTS",_n,{transform:w}),de=W(e,"FORBID_TAGS",R({}),{transform:w}),yn=W(e,"FORBID_ATTR",R({}),{transform:w}),re=L(e,"USE_PROFILES")?e.USE_PROFILES&&typeof e.USE_PROFILES=="object"?R(e.USE_PROFILES):e.USE_PROFILES:!1,vn=e.ALLOW_ARIA_ATTR!==!1,Be=e.ALLOW_DATA_ATTR!==!1,bn=e.ALLOW_UNKNOWN_PROTOCOLS||!1,wn=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,H=e.SAFE_FOR_TEMPLATES||!1,G=e.SAFE_FOR_XML!==!1,Y=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,_e=e.RETURN_DOM_FRAGMENT||!1,Te=e.RETURN_TRUSTED_TYPE||!1,$e=e.FORCE_BODY||!1,Sn=e.SANITIZE_DOM!==!1,kn=e.SANITIZE_NAMED_PROPS||!1,Ve=e.KEEP_CONTENT!==!1,Qe=e.IN_PLACE||!1,gn=cr(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:rt,oe=typeof e.NAMESPACE=="string"?e.NAMESPACE:M,qe=an(e,"MATHML_TEXT_INTEGRATION_POINTS",()=>d({},Pn)),Ke=an(e,"HTML_INTEGRATION_POINTS",()=>d({},Ln));const n=an(e,"CUSTOM_ELEMENT_HANDLING",()=>ue(null));if(I=ue(null),L(n,"tagNameCheck")&&An(n.tagNameCheck)&&(I.tagNameCheck=n.tagNameCheck),L(n,"attributeNameCheck")&&An(n.attributeNameCheck)&&(I.attributeNameCheck=n.attributeNameCheck),L(n,"allowCustomizedBuiltInElements")&&typeof n.allowCustomizedBuiltInElements=="boolean"&&(I.allowCustomizedBuiltInElements=n.allowCustomizedBuiltInElements),E(I),H&&(Be=!1),_e&&(te=!0),re&&(g=d({},et),y=ue(null),re.html===!0&&(d(g,Jn),d(y,nt)),re.svg===!0&&(d(g,tn),d(y,on),d(y,De)),re.svgFilters===!0&&(d(g,rn),d(y,on),d(y,De)),re.mathMl===!0&&(d(g,ln),d(y,tt),d(y,De))),j.tagCheck=null,j.attributeCheck=null,L(e,"ADD_TAGS")&&(typeof e.ADD_TAGS=="function"?j.tagCheck=e.ADD_TAGS:se(e.ADD_TAGS)&&(g===je&&(g=R(g)),d(g,e.ADD_TAGS,w))),L(e,"ADD_ATTR")&&(typeof e.ADD_ATTR=="function"?j.attributeCheck=e.ADD_ATTR:se(e.ADD_ATTR)&&(y===He&&(y=R(y)),d(y,e.ADD_ATTR,w))),L(e,"ADD_FORBID_CONTENTS")&&se(e.ADD_FORBID_CONTENTS)&&(le===_n&&(le=R(le)),d(le,e.ADD_FORBID_CONTENTS,w)),Ve&&(g["#text"]=!0),Y&&d(g,["html","head","body"]),g.table&&(d(g,["tbody"]),delete de.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw K('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const r=C;C=e.TRUSTED_TYPES_POLICY;try{Q=ne("")}catch(a){throw C=r,a}}else e.TRUSTED_TYPES_POLICY===null?(C=void 0,Q=""):(C===void 0&&(C=mt()),C&&typeof Q=="string"&&(Q=ne("")));k&&k(e),ae=e},Rn=d({},[...tn,...rn,...fr]),On=d({},[...ln,...dr]),Lt=function(e,n,r){return n.namespaceURI===M?e==="svg":n.namespaceURI===xe?e==="svg"&&(r==="annotation-xml"||qe[r]):!!Rn[e]},At=function(e,n,r){return n.namespaceURI===M?e==="math":n.namespaceURI===Ce?e==="math"&&Ke[r]:!!On[e]},Rt=function(e,n,r){return n.namespaceURI===Ce&&!Ke[r]||n.namespaceURI===xe&&!qe[r]?!1:!On[e]&&(xt[e]||!Rn[e])},Ot=function(e){let n=J(e);(!n||!n.tagName)&&(n={namespaceURI:oe,tagName:"template"});const r=ve(e.tagName),a=ve(n.tagName);return Ye[e.namespaceURI]?e.namespaceURI===Ce?Lt(r,n,a):e.namespaceURI===xe?At(r,n,a):e.namespaceURI===M?Rt(r,n,a):!!(pe==="application/xhtml+xml"&&Ye[e.namespaceURI]):!1},B=function(e){he(l.removed,{element:e});try{J(e).removeChild(e)}catch{if(ze(e),!J(e))throw K("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Dn=function(e,n,r){try{cn(e,n)}catch{try{e.removeAttribute(r)}catch{}}},Ne=function(e){Pe(e);const n=Z(e);if(n){const a=[];X(n,u=>{he(a,u)}),X(a,u=>{try{ze(u)}catch{}})}const r=Ie(e);if(r)for(let a=r.length-1;a>=0;--a){const u=r[a],f=u&&u.name;typeof f=="string"&&Dn(e,u,f)}},q=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}he(l.removed,{attribute:r||null,from:n});try{r?cn(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e==="is")if(te||_e)try{B(n)}catch{}else try{n.setAttribute(e,"")}catch{}},Dt=function(e){const n=Ie(e);if(n)for(let r=n.length-1;r>=0;--r){const a=n[r],u=a&&a.name;typeof u!="string"||y[w(u)]||Dn(e,a,u)}},Pe=function(e){const n=[e];for(;n.length>0;){const r=n.pop();ce(r)===A.element&&Dt(r);const u=Z(r);if(u)for(let f=u.length-1;f>=0;--f)n.push(u[f])}},zn=function(e,n){return G?e==="patchsrc"?!0:e==="for"&&n!=="label"&&n!=="output":!1},zt=function(e){if(!G)return;const n=[e];for(;n.length>0;){const r=n.pop(),a=ce(r);if(a===A.processingInstruction||a===A.comment&&T(ot,r.data)){try{ze(r)}catch{}continue}if(a===A.element){const f=r,p=w(Me(r));try{f.hasAttribute&&f.hasAttribute("patchsrc")&&f.removeAttribute("patchsrc"),f.hasAttribute&&f.hasAttribute("for")&&zn("for",p)&&f.removeAttribute("for")}catch{}}const u=Z(r);if(u)for(let f=u.length-1;f>=0;--f)n.push(u[f])}},In=function(e){let n=null,r=null;if($e)e="<remove></remove>"+e;else{const f=qn(e,/^[\r\n\t ]+/);r=f&&f[0]}pe==="application/xhtml+xml"&&oe===M&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=C?ne(e):e;if(oe===M)try{n=new $().parseFromString(a,pe)}catch{}if(!n||!n.documentElement){n=Ue.createDocument(oe,"template",null);try{n.documentElement.innerHTML=Ge?Q:a}catch{}}const u=n.body||n.documentElement;return e&&r&&u.insertBefore(i.createTextNode(r),u.childNodes[0]||null),oe===M?gt.call(n,Y?"html":"body")[0]:Y?n.documentElement:u},Mn=function(e){const n=we?we(e):e.ownerDocument;return mn.call(n||e,e,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},Le=function(e){return e=ge(e,vt," "),e=ge(e,bt," "),e=ge(e,wt," "),e},Ze=function(e){var n;e.normalize();const r=we?we(e):e.ownerDocument,a=mn.call(r||e,e,_.SHOW_TEXT|_.SHOW_COMMENT|_.SHOW_CDATA_SECTION|_.SHOW_PROCESSING_INSTRUCTION,null);let u=a.nextNode();for(;u;)u.data=Le(u.data),u=a.nextNode();const f=(n=e.querySelectorAll)===null||n===void 0?void 0:n.call(e,"template");f&&X(f,p=>{ie(p.content)&&Ze(p.content)})},Ae=function(e){const n=ee?ee(e):null;return typeof n!="string"||w(n)!=="form"?!1:typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||e.attributes!==Ie(e)||typeof e.removeAttribute!="function"||typeof e.removeAttributeNode!="function"||typeof e.getAttributeNode!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function"||e.nodeType!==V(e)||e.childNodes!==Z(e)},ie=function(e){if(!V||typeof e!="object"||e===null)return!1;try{return V(e)===A.documentFragment}catch{return!1}},me=function(e){if(!V||typeof e!="object"||e===null)return!1;try{return typeof V(e)=="number"}catch{return!1}};function F(o,e,n){o.length!==0&&X(o,r=>{r.call(l,e,n,ae)})}const It=function(e,n){return!!(G&&e.hasChildNodes()&&!me(e.firstElementChild)&&T(lt,e.textContent)&&T(lt,e.innerHTML)||G&&e.namespaceURI===M&&_r[n]&&(me(e.firstElementChild)||typeof e.textContent=="string"&&T(Tr[n],e.textContent))||e.nodeType===A.processingInstruction||G&&e.nodeType===A.comment&&T(ot,e.data))},Re=function(e,n){if(e instanceof RegExp)return T(e,n);if(e instanceof Function){for(var r=arguments.length,a=new Array(r>2?r-2:0),u=2;u<r;u++)a[u-2]=arguments[u];return!!e(n,...a)}return!1},Mt=function(e,n,r){if(!de[n]&&Bn(n)&&Re(I.tagNameCheck,n))return!1;if(Ve&&!le[n]){const a=J(e),u=Z(e);if(u&&a){const f=u.length;for(let p=f-1;p>=0;--p){const v=e===r?ft(u[p],!0):u[p];a.insertBefore(v,dt(e))}}}return B(e),!0},Fn=function(e,n,r,a){return e.length===0?n:n===r||n===a?R(n):n},Un=function(e,n){return e===n||J(e)!==null?!1:(Qe&&Pe(e),!0)},jn=function(e,n){if(F(h.beforeSanitizeElements,e,null),Un(e,n))return!0;if(Ae(e))return B(e),!0;const r=w(Me(e));if(g=Fn(h.uponSanitizeElement,g,je,ke),F(h.uponSanitizeElement,e,{tagName:r,allowedTags:g}),Un(e,n))return!0;if(It(e,r))return B(e),!0;if(de[r]||!(j.tagCheck instanceof Function&&j.tagCheck(r))&&!g[r]){const u=Mt(e,r,n);return u===!1&&F(h.afterSanitizeElements,e,null),u}if(ce(e)===A.element&&!Ot(e)||(r==="noscript"||r==="noembed"||r==="noframes")&&T(kr,e.innerHTML))return B(e),!0;if(H&&e.nodeType===A.text){const u=Le(e.textContent);e.textContent!==u&&(he(l.removed,{element:e.cloneNode()}),e.textContent=u)}return F(h.afterSanitizeElements,e,null),!1},Hn=function(e,n,r){if(yn[n]||zn(n,e)||Sn&&(n==="id"||n==="name")&&(r in i||r in Pt))return!1;const a=y[n]||j.attributeCheck instanceof Function&&j.attributeCheck(n,e);return Be&&T(St,n)||vn&&T(kt,n)?!0:a?Cn[n]||T(gn,ge(r,hn,""))||(n==="src"||n==="xlink:href"||n==="href")&&e!=="script"&&Kn(r,"data:")===0&&Tn[e]||bn&&!T(Et,ge(r,hn,""))?!0:!r:Bn(e)&&Re(I.tagNameCheck,e)&&Re(I.attributeNameCheck,n,e)||n==="is"&&I.allowCustomizedBuiltInElements&&Re(I.tagNameCheck,r)},Ft=d({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Bn=function(e){return!Ft[ve(e)]&&T(_t,e)},Ut=function(e,n,r,a){if(C&&typeof be=="object"&&typeof be.getAttributeType=="function"&&!r)switch(be.getAttributeType(e,n)){case"TrustedHTML":return ne(a);case"TrustedScriptURL":return pt(a)}return a},jt=function(e,n,r,a){try{return r?e.setAttributeNS(r,n,a):e.setAttribute(n,a),Ae(e)?(B(e),!1):!0}catch{return q(n,e),!1}},Wn=function(e){F(h.beforeSanitizeAttributes,e,null);const n=e.attributes;if(!n||Ae(e))return;y=Fn(h.uponSanitizeAttribute,y,He,Ee);const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:y,forceKeepAttr:void 0};let a=n.length;const u=w(e.nodeName);for(;a--;){const f=n[a],p=f.name,v=f.namespaceURI,N=f.value,P=w(p),en=N;let x=p==="value"?en:lr(en),$n=!1;if(r.attrName=P,r.attrValue=x,r.keepAttr=!0,r.forceKeepAttr=void 0,F(h.uponSanitizeAttribute,e,r),x=r.attrValue,kn&&(P==="id"||P==="name")&&Kn(x,En)!==0&&(q(p,e,f),x=En+x,$n=!0),G&&T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,x)){q(p,e,f);continue}if(P==="attributename"&&qn(x,"href")){q(p,e,f);continue}if(!r.forceKeepAttr){if(!r.keepAttr){q(p,e,f);continue}if(!wn&&T(Er,x)){q(p,e,f);continue}if(H&&(x=Le(x)),!Hn(u,P,x)){q(p,e,f);continue}x=Ut(u,P,v,x),x!==en&&jt(e,p,v,x)&&$n&&Yn(l.removed)}}F(h.afterSanitizeAttributes,e,null)},Oe=function(e){let n=null;const r=Mn(e);for(F(h.beforeSanitizeShadowDOM,e,null);n=r.nextNode();)if(F(h.uponSanitizeShadowNode,n,null),jn(n,e),Wn(n),ie(n.content)&&Oe(n.content),ce(n)===A.element){const a=fn(n);ie(a)&&(Je(a),Oe(a))}F(h.afterSanitizeShadowDOM,e,null)},Je=function(e){const n=[{node:e,shadow:null}];for(;n.length>0;){const r=n.pop();if(r.shadow){Oe(r.shadow);continue}const a=r.node,f=ce(a)===A.element,p=Z(a);if(p)for(let v=p.length-1;v>=0;--v)n.push({node:p[v],shadow:null});if(f){const v=ee?ee(a):null;if(typeof v=="string"&&w(v)==="template"){const N=a.content;ie(N)&&n.push({node:N,shadow:null})}}if(f){const v=fn(a);ie(v)&&n.push({node:null,shadow:v},{node:v,shadow:null})}}};return l.sanitize=function(o){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=null,r=null,a=null,u=null;if(Ge=!o,Ge&&(o="<!-->"),typeof o!="string"&&!me(o)&&(o=sr(o),typeof o!="string"))throw K("dirty is not a string, aborting");if(!l.isSupported)return o;We?(g=ke,y=Ee):Xe(e),(h.uponSanitizeElement.length>0||h.uponSanitizeAttribute.length>0)&&(g=R(g)),h.uponSanitizeAttribute.length>0&&(y=R(y)),l.removed=[];const f=Qe&&typeof o!="string"&&me(o);if(f){zt(o);const N=Me(o);if(typeof N=="string"){const P=w(N);if(!g[P]||de[P])throw Ne(o),K("root node is forbidden and cannot be sanitized in-place")}if(Ae(o))throw Ne(o),K("root node is clobbered and cannot be sanitized in-place");try{Je(o)}catch(P){throw Ne(o),P}}else if(me(o))n=In("<!---->"),r=n.ownerDocument.importNode(o,!0),r.nodeType===A.element&&r.nodeName==="BODY"||r.nodeName==="HTML"?n=r:n.appendChild(r),Je(n);else{if(!te&&!H&&!Y&&o.indexOf("<")===-1)return C&&Te?ne(o):o;if(n=In(o),!n)return te?null:Te?Q:""}n&&$e&&B(n.firstChild);const p=f?o:n;try{const N=Mn(p);for(;a=N.nextNode();)jn(a,p),Wn(a),ie(a.content)&&Oe(a.content)}catch(N){throw f&&(Ne(o),X(l.removed,P=>{P.element&&Pe(P.element)})),N}if(f)return X(l.removed,N=>{N.element&&Pe(N.element)}),H&&Ze(o),o;if(te){if(H&&Ze(n),_e)for(u=ht.call(n.ownerDocument);n.firstChild;)u.appendChild(n.firstChild);else u=n;return(y.shadowroot||y.shadowrootmode)&&(u=yt.call(s,u,!0)),u}let v=Y?n.outerHTML:n.innerHTML;return Y&&g["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&T(wr,n.ownerDocument.doctype.name)&&(v="<!DOCTYPE "+n.ownerDocument.doctype.name+`>
3
- `+v),H&&(v=Le(v)),C&&Te?ne(v):v},l.setConfig=function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Xe(o),We=!0,ke=g,Ee=y},l.clearConfig=function(){ae=null,We=!1,ke=null,Ee=null,C=Fe,Q=""},l.isValidAttribute=function(o,e,n){ae||Xe({});const r=w(o),a=w(e);return Hn(r,a,n)},l.addHook=function(o,e){typeof e=="function"&&L(h,o)&&he(h[o],e)},l.removeHook=function(o,e){if(L(h,o)){if(e!==void 0){const n=tr(h[o],e);return n===-1?void 0:rr(h[o],n,1)[0]}return Yn(h[o])}},l.removeHooks=function(o){L(h,o)&&(h[o]=[])},l.removeAllHooks=function(){h=at()},l}var Nr=ct();const Pr=`(()=>{var jc=Object.create;var Zu=Object.defineProperty;var Uc=Object.getOwnPropertyDescriptor;var Vc=Object.getOwnPropertyNames;var Ac=Object.getPrototypeOf,Bc=Object.prototype.hasOwnProperty;var je=(e,n)=>()=>{try{return n||e((n={exports:{}}).exports,n),n.exports}catch(t){throw n=0,t}};var Hc=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of Vc(n))!Bc.call(e,l)&&l!==t&&Zu(e,l,{get:()=>n[l],enumerable:!(r=Uc(n,l))||r.enumerable});return e};var nr=(e,n,t)=>(t=e!=null?jc(Ac(e)):{},Hc(n||!e||!e.__esModule?Zu(t,"default",{value:e,enumerable:!0}):t,e));var si=je(N=>{"use strict";var at=Symbol.for("react.element"),Wc=Symbol.for("react.portal"),$c=Symbol.for("react.fragment"),Qc=Symbol.for("react.strict_mode"),Kc=Symbol.for("react.profiler"),Yc=Symbol.for("react.provider"),Xc=Symbol.for("react.context"),Gc=Symbol.for("react.forward_ref"),Zc=Symbol.for("react.suspense"),Jc=Symbol.for("react.memo"),qc=Symbol.for("react.lazy"),Ju=Symbol.iterator;function bc(e){return e===null||typeof e!="object"?null:(e=Ju&&e[Ju]||e["@@iterator"],typeof e=="function"?e:null)}var ei={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ni=Object.assign,ti={};function On(e,n,t){this.props=e,this.context=n,this.refs=ti,this.updater=t||ei}On.prototype.isReactComponent={};On.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};On.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ri(){}ri.prototype=On.prototype;function Pl(e,n,t){this.props=e,this.context=n,this.refs=ti,this.updater=t||ei}var zl=Pl.prototype=new ri;zl.constructor=Pl;ni(zl,On.prototype);zl.isPureReactComponent=!0;var qu=Array.isArray,li=Object.prototype.hasOwnProperty,Ll={current:null},oi={key:!0,ref:!0,__self:!0,__source:!0};function ui(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)li.call(n,r)&&!oi.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1<i){for(var s=Array(i),f=0;f<i;f++)s[f]=arguments[f+2];l.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)l[r]===void 0&&(l[r]=i[r]);return{$$typeof:at,type:e,key:o,ref:u,props:l,_owner:Ll.current}}function ef(e,n){return{$$typeof:at,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Tl(e){return typeof e=="object"&&e!==null&&e.$$typeof===at}function nf(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var bu=/\\/+/g;function Nl(e,n){return typeof e=="object"&&e!==null&&e.key!=null?nf(""+e.key):n.toString(36)}function rr(e,n,t,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case at:case Wc:u=!0}}if(u)return u=e,l=l(u),e=r===""?"."+Nl(u,0):r,qu(l)?(t="",e!=null&&(t=e.replace(bu,"$&/")+"/"),rr(l,n,t,"",function(f){return f})):l!=null&&(Tl(l)&&(l=ef(l,t+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(bu,"$&/")+"/")+e)),n.push(l)),1;if(u=0,r=r===""?".":r+":",qu(e))for(var i=0;i<e.length;i++){o=e[i];var s=r+Nl(o,i);u+=rr(o,n,t,s,l)}else if(s=bc(e),typeof s=="function")for(e=s.call(e),i=0;!(o=e.next()).done;)o=o.value,s=r+Nl(o,i++),u+=rr(o,n,t,s,l);else if(o==="object")throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return u}function tr(e,n,t){if(e==null)return e;var r=[],l=0;return rr(e,r,"","",function(o){return n.call(t,o,l++)}),r}function tf(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ne={current:null},lr={transition:null},rf={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:lr,ReactCurrentOwner:Ll};function ii(){throw Error("act(...) is not supported in production builds of React.")}N.Children={map:tr,forEach:function(e,n,t){tr(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return tr(e,function(){n++}),n},toArray:function(e){return tr(e,function(n){return n})||[]},only:function(e){if(!Tl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};N.Component=On;N.Fragment=$c;N.Profiler=Kc;N.PureComponent=Pl;N.StrictMode=Qc;N.Suspense=Zc;N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rf;N.act=ii;N.cloneElement=function(e,n,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ni({},e.props),l=e.key,o=e.ref,u=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,u=Ll.current),n.key!==void 0&&(l=""+n.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in n)li.call(n,s)&&!oi.hasOwnProperty(s)&&(r[s]=n[s]===void 0&&i!==void 0?i[s]:n[s])}var s=arguments.length-2;if(s===1)r.children=t;else if(1<s){i=Array(s);for(var f=0;f<s;f++)i[f]=arguments[f+2];r.children=i}return{$$typeof:at,type:e.type,key:l,ref:o,props:r,_owner:u}};N.createContext=function(e){return e={$$typeof:Xc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Yc,_context:e},e.Consumer=e};N.createElement=ui;N.createFactory=function(e){var n=ui.bind(null,e);return n.type=e,n};N.createRef=function(){return{current:null}};N.forwardRef=function(e){return{$$typeof:Gc,render:e}};N.isValidElement=Tl;N.lazy=function(e){return{$$typeof:qc,_payload:{_status:-1,_result:e},_init:tf}};N.memo=function(e,n){return{$$typeof:Jc,type:e,compare:n===void 0?null:n}};N.startTransition=function(e){var n=lr.transition;lr.transition={};try{e()}finally{lr.transition=n}};N.unstable_act=ii;N.useCallback=function(e,n){return ne.current.useCallback(e,n)};N.useContext=function(e){return ne.current.useContext(e)};N.useDebugValue=function(){};N.useDeferredValue=function(e){return ne.current.useDeferredValue(e)};N.useEffect=function(e,n){return ne.current.useEffect(e,n)};N.useId=function(){return ne.current.useId()};N.useImperativeHandle=function(e,n,t){return ne.current.useImperativeHandle(e,n,t)};N.useInsertionEffect=function(e,n){return ne.current.useInsertionEffect(e,n)};N.useLayoutEffect=function(e,n){return ne.current.useLayoutEffect(e,n)};N.useMemo=function(e,n){return ne.current.useMemo(e,n)};N.useReducer=function(e,n,t){return ne.current.useReducer(e,n,t)};N.useRef=function(e){return ne.current.useRef(e)};N.useState=function(e){return ne.current.useState(e)};N.useSyncExternalStore=function(e,n,t){return ne.current.useSyncExternalStore(e,n,t)};N.useTransition=function(){return ne.current.useTransition()};N.version="18.3.1"});var or=je((vp,ai)=>{"use strict";ai.exports=si()});var wi=je(T=>{"use strict";function Ml(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,l=e[r];if(0<ur(l,n))e[r]=n,e[t]=l,t=r;else break e}}function _e(e){return e.length===0?null:e[0]}function sr(e){if(e.length===0)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,l=e.length,o=l>>>1;r<o;){var u=2*(r+1)-1,i=e[u],s=u+1,f=e[s];if(0>ur(i,t))s<l&&0>ur(f,i)?(e[r]=f,e[s]=t,r=s):(e[r]=i,e[u]=t,r=u);else if(s<l&&0>ur(f,t))e[r]=f,e[s]=t,r=s;else break e}}return n}function ur(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}typeof performance=="object"&&typeof performance.now=="function"?(ci=performance,T.unstable_now=function(){return ci.now()}):(Rl=Date,fi=Rl.now(),T.unstable_now=function(){return Rl.now()-fi});var ci,Rl,fi,Re=[],Ge=[],lf=1,he=null,Z=3,ar=!1,yn=!1,ft=!1,mi=typeof setTimeout=="function"?setTimeout:null,vi=typeof clearTimeout=="function"?clearTimeout:null,di=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Il(e){for(var n=_e(Ge);n!==null;){if(n.callback===null)sr(Ge);else if(n.startTime<=e)sr(Ge),n.sortIndex=n.expirationTime,Ml(Re,n);else break;n=_e(Ge)}}function Fl(e){if(ft=!1,Il(e),!yn)if(_e(Re)!==null)yn=!0,Ul(jl);else{var n=_e(Ge);n!==null&&Vl(Fl,n.startTime-e)}}function jl(e,n){yn=!1,ft&&(ft=!1,vi(dt),dt=-1),ar=!0;var t=Z;try{for(Il(n),he=_e(Re);he!==null&&(!(he.expirationTime>n)||e&&!gi());){var r=he.callback;if(typeof r=="function"){he.callback=null,Z=he.priorityLevel;var l=r(he.expirationTime<=n);n=T.unstable_now(),typeof l=="function"?he.callback=l:he===_e(Re)&&sr(Re),Il(n)}else sr(Re);he=_e(Re)}if(he!==null)var o=!0;else{var u=_e(Ge);u!==null&&Vl(Fl,u.startTime-n),o=!1}return o}finally{he=null,Z=t,ar=!1}}var cr=!1,ir=null,dt=-1,hi=5,yi=-1;function gi(){return!(T.unstable_now()-yi<hi)}function Ol(){if(ir!==null){var e=T.unstable_now();yi=e;var n=!0;try{n=ir(!0,e)}finally{n?ct():(cr=!1,ir=null)}}else cr=!1}var ct;typeof di=="function"?ct=function(){di(Ol)}:typeof MessageChannel<"u"?(Dl=new MessageChannel,pi=Dl.port2,Dl.port1.onmessage=Ol,ct=function(){pi.postMessage(null)}):ct=function(){mi(Ol,0)};var Dl,pi;function Ul(e){ir=e,cr||(cr=!0,ct())}function Vl(e,n){dt=mi(function(){e(T.unstable_now())},n)}T.unstable_IdlePriority=5;T.unstable_ImmediatePriority=1;T.unstable_LowPriority=4;T.unstable_NormalPriority=3;T.unstable_Profiling=null;T.unstable_UserBlockingPriority=2;T.unstable_cancelCallback=function(e){e.callback=null};T.unstable_continueExecution=function(){yn||ar||(yn=!0,Ul(jl))};T.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):hi=0<e?Math.floor(1e3/e):5};T.unstable_getCurrentPriorityLevel=function(){return Z};T.unstable_getFirstCallbackNode=function(){return _e(Re)};T.unstable_next=function(e){switch(Z){case 1:case 2:case 3:var n=3;break;default:n=Z}var t=Z;Z=n;try{return e()}finally{Z=t}};T.unstable_pauseExecution=function(){};T.unstable_requestPaint=function(){};T.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Z;Z=e;try{return n()}finally{Z=t}};T.unstable_scheduleCallback=function(e,n,t){var r=T.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?r+t:r):t=r,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=t+l,e={id:lf++,callback:n,priorityLevel:e,startTime:t,expirationTime:l,sortIndex:-1},t>r?(e.sortIndex=t,Ml(Ge,e),_e(Re)===null&&e===_e(Ge)&&(ft?(vi(dt),dt=-1):ft=!0,Vl(Fl,t-r))):(e.sortIndex=l,Ml(Re,e),yn||ar||(yn=!0,Ul(jl))),e};T.unstable_shouldYield=gi;T.unstable_wrapCallback=function(e){var n=Z;return function(){var t=Z;Z=n;try{return e.apply(this,arguments)}finally{Z=t}}}});var ki=je((yp,Si)=>{"use strict";Si.exports=wi()});var xc=je(ve=>{"use strict";var of=or(),pe=ki();function h(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var zs=new Set,Mt={};function Tn(e,n){bn(e,n),bn(e+"Capture",n)}function bn(e,n){for(Mt[e]=n,e=0;e<n.length;e++)zs.add(n[e])}var We=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),so=Object.prototype.hasOwnProperty,uf=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,Ei={},_i={};function sf(e){return so.call(_i,e)?!0:so.call(Ei,e)?!1:uf.test(e)?_i[e]=!0:(Ei[e]=!0,!1)}function af(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cf(e,n,t,r){if(n===null||typeof n>"u"||af(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function le(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){G[e]=new le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];G[n]=new le(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){G[e]=new le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){G[e]=new le(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){G[e]=new le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){G[e]=new le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){G[e]=new le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){G[e]=new le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){G[e]=new le(e,5,!1,e.toLowerCase(),null,!1,!1)});var nu=/[\\-:]([a-z])/g;function tu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(nu,tu);G[n]=new le(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(nu,tu);G[n]=new le(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(nu,tu);G[n]=new le(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){G[e]=new le(e,1,!1,e.toLowerCase(),null,!1,!1)});G.xlinkHref=new le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){G[e]=new le(e,1,!1,e.toLowerCase(),null,!0,!0)});function ru(e,n,t,r){var l=G.hasOwnProperty(n)?G[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(cf(n,t,l,r)&&(t=null),r||l===null?sf(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var Ye=of.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fr=Symbol.for("react.element"),In=Symbol.for("react.portal"),Fn=Symbol.for("react.fragment"),lu=Symbol.for("react.strict_mode"),ao=Symbol.for("react.profiler"),Ls=Symbol.for("react.provider"),Ts=Symbol.for("react.context"),ou=Symbol.for("react.forward_ref"),co=Symbol.for("react.suspense"),fo=Symbol.for("react.suspense_list"),uu=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Rs=Symbol.for("react.offscreen"),Ci=Symbol.iterator;function pt(e){return e===null||typeof e!="object"?null:(e=Ci&&e[Ci]||e["@@iterator"],typeof e=="function"?e:null)}var j=Object.assign,Al;function kt(e){if(Al===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\\n( *(at )?)/);Al=n&&n[1]||""}return\`
1
+ const e = `(()=>{var jc=Object.create;var Zu=Object.defineProperty;var Uc=Object.getOwnPropertyDescriptor;var Vc=Object.getOwnPropertyNames;var Ac=Object.getPrototypeOf,Bc=Object.prototype.hasOwnProperty;var je=(e,n)=>()=>{try{return n||e((n={exports:{}}).exports,n),n.exports}catch(t){throw n=0,t}};var Hc=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of Vc(n))!Bc.call(e,l)&&l!==t&&Zu(e,l,{get:()=>n[l],enumerable:!(r=Uc(n,l))||r.enumerable});return e};var nr=(e,n,t)=>(t=e!=null?jc(Ac(e)):{},Hc(n||!e||!e.__esModule?Zu(t,"default",{value:e,enumerable:!0}):t,e));var si=je(N=>{"use strict";var at=Symbol.for("react.element"),Wc=Symbol.for("react.portal"),$c=Symbol.for("react.fragment"),Qc=Symbol.for("react.strict_mode"),Kc=Symbol.for("react.profiler"),Yc=Symbol.for("react.provider"),Xc=Symbol.for("react.context"),Gc=Symbol.for("react.forward_ref"),Zc=Symbol.for("react.suspense"),Jc=Symbol.for("react.memo"),qc=Symbol.for("react.lazy"),Ju=Symbol.iterator;function bc(e){return e===null||typeof e!="object"?null:(e=Ju&&e[Ju]||e["@@iterator"],typeof e=="function"?e:null)}var ei={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ni=Object.assign,ti={};function On(e,n,t){this.props=e,this.context=n,this.refs=ti,this.updater=t||ei}On.prototype.isReactComponent={};On.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};On.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ri(){}ri.prototype=On.prototype;function Pl(e,n,t){this.props=e,this.context=n,this.refs=ti,this.updater=t||ei}var zl=Pl.prototype=new ri;zl.constructor=Pl;ni(zl,On.prototype);zl.isPureReactComponent=!0;var qu=Array.isArray,li=Object.prototype.hasOwnProperty,Ll={current:null},oi={key:!0,ref:!0,__self:!0,__source:!0};function ui(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)li.call(n,r)&&!oi.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1<i){for(var s=Array(i),f=0;f<i;f++)s[f]=arguments[f+2];l.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)l[r]===void 0&&(l[r]=i[r]);return{$$typeof:at,type:e,key:o,ref:u,props:l,_owner:Ll.current}}function ef(e,n){return{$$typeof:at,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Tl(e){return typeof e=="object"&&e!==null&&e.$$typeof===at}function nf(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var bu=/\\/+/g;function Nl(e,n){return typeof e=="object"&&e!==null&&e.key!=null?nf(""+e.key):n.toString(36)}function rr(e,n,t,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case at:case Wc:u=!0}}if(u)return u=e,l=l(u),e=r===""?"."+Nl(u,0):r,qu(l)?(t="",e!=null&&(t=e.replace(bu,"$&/")+"/"),rr(l,n,t,"",function(f){return f})):l!=null&&(Tl(l)&&(l=ef(l,t+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(bu,"$&/")+"/")+e)),n.push(l)),1;if(u=0,r=r===""?".":r+":",qu(e))for(var i=0;i<e.length;i++){o=e[i];var s=r+Nl(o,i);u+=rr(o,n,t,s,l)}else if(s=bc(e),typeof s=="function")for(e=s.call(e),i=0;!(o=e.next()).done;)o=o.value,s=r+Nl(o,i++),u+=rr(o,n,t,s,l);else if(o==="object")throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return u}function tr(e,n,t){if(e==null)return e;var r=[],l=0;return rr(e,r,"","",function(o){return n.call(t,o,l++)}),r}function tf(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ne={current:null},lr={transition:null},rf={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:lr,ReactCurrentOwner:Ll};function ii(){throw Error("act(...) is not supported in production builds of React.")}N.Children={map:tr,forEach:function(e,n,t){tr(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return tr(e,function(){n++}),n},toArray:function(e){return tr(e,function(n){return n})||[]},only:function(e){if(!Tl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};N.Component=On;N.Fragment=$c;N.Profiler=Kc;N.PureComponent=Pl;N.StrictMode=Qc;N.Suspense=Zc;N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rf;N.act=ii;N.cloneElement=function(e,n,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ni({},e.props),l=e.key,o=e.ref,u=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,u=Ll.current),n.key!==void 0&&(l=""+n.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in n)li.call(n,s)&&!oi.hasOwnProperty(s)&&(r[s]=n[s]===void 0&&i!==void 0?i[s]:n[s])}var s=arguments.length-2;if(s===1)r.children=t;else if(1<s){i=Array(s);for(var f=0;f<s;f++)i[f]=arguments[f+2];r.children=i}return{$$typeof:at,type:e.type,key:l,ref:o,props:r,_owner:u}};N.createContext=function(e){return e={$$typeof:Xc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Yc,_context:e},e.Consumer=e};N.createElement=ui;N.createFactory=function(e){var n=ui.bind(null,e);return n.type=e,n};N.createRef=function(){return{current:null}};N.forwardRef=function(e){return{$$typeof:Gc,render:e}};N.isValidElement=Tl;N.lazy=function(e){return{$$typeof:qc,_payload:{_status:-1,_result:e},_init:tf}};N.memo=function(e,n){return{$$typeof:Jc,type:e,compare:n===void 0?null:n}};N.startTransition=function(e){var n=lr.transition;lr.transition={};try{e()}finally{lr.transition=n}};N.unstable_act=ii;N.useCallback=function(e,n){return ne.current.useCallback(e,n)};N.useContext=function(e){return ne.current.useContext(e)};N.useDebugValue=function(){};N.useDeferredValue=function(e){return ne.current.useDeferredValue(e)};N.useEffect=function(e,n){return ne.current.useEffect(e,n)};N.useId=function(){return ne.current.useId()};N.useImperativeHandle=function(e,n,t){return ne.current.useImperativeHandle(e,n,t)};N.useInsertionEffect=function(e,n){return ne.current.useInsertionEffect(e,n)};N.useLayoutEffect=function(e,n){return ne.current.useLayoutEffect(e,n)};N.useMemo=function(e,n){return ne.current.useMemo(e,n)};N.useReducer=function(e,n,t){return ne.current.useReducer(e,n,t)};N.useRef=function(e){return ne.current.useRef(e)};N.useState=function(e){return ne.current.useState(e)};N.useSyncExternalStore=function(e,n,t){return ne.current.useSyncExternalStore(e,n,t)};N.useTransition=function(){return ne.current.useTransition()};N.version="18.3.1"});var or=je((vp,ai)=>{"use strict";ai.exports=si()});var wi=je(T=>{"use strict";function Ml(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,l=e[r];if(0<ur(l,n))e[r]=n,e[t]=l,t=r;else break e}}function _e(e){return e.length===0?null:e[0]}function sr(e){if(e.length===0)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,l=e.length,o=l>>>1;r<o;){var u=2*(r+1)-1,i=e[u],s=u+1,f=e[s];if(0>ur(i,t))s<l&&0>ur(f,i)?(e[r]=f,e[s]=t,r=s):(e[r]=i,e[u]=t,r=u);else if(s<l&&0>ur(f,t))e[r]=f,e[s]=t,r=s;else break e}}return n}function ur(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}typeof performance=="object"&&typeof performance.now=="function"?(ci=performance,T.unstable_now=function(){return ci.now()}):(Rl=Date,fi=Rl.now(),T.unstable_now=function(){return Rl.now()-fi});var ci,Rl,fi,Re=[],Ge=[],lf=1,he=null,Z=3,ar=!1,yn=!1,ft=!1,mi=typeof setTimeout=="function"?setTimeout:null,vi=typeof clearTimeout=="function"?clearTimeout:null,di=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Il(e){for(var n=_e(Ge);n!==null;){if(n.callback===null)sr(Ge);else if(n.startTime<=e)sr(Ge),n.sortIndex=n.expirationTime,Ml(Re,n);else break;n=_e(Ge)}}function Fl(e){if(ft=!1,Il(e),!yn)if(_e(Re)!==null)yn=!0,Ul(jl);else{var n=_e(Ge);n!==null&&Vl(Fl,n.startTime-e)}}function jl(e,n){yn=!1,ft&&(ft=!1,vi(dt),dt=-1),ar=!0;var t=Z;try{for(Il(n),he=_e(Re);he!==null&&(!(he.expirationTime>n)||e&&!gi());){var r=he.callback;if(typeof r=="function"){he.callback=null,Z=he.priorityLevel;var l=r(he.expirationTime<=n);n=T.unstable_now(),typeof l=="function"?he.callback=l:he===_e(Re)&&sr(Re),Il(n)}else sr(Re);he=_e(Re)}if(he!==null)var o=!0;else{var u=_e(Ge);u!==null&&Vl(Fl,u.startTime-n),o=!1}return o}finally{he=null,Z=t,ar=!1}}var cr=!1,ir=null,dt=-1,hi=5,yi=-1;function gi(){return!(T.unstable_now()-yi<hi)}function Ol(){if(ir!==null){var e=T.unstable_now();yi=e;var n=!0;try{n=ir(!0,e)}finally{n?ct():(cr=!1,ir=null)}}else cr=!1}var ct;typeof di=="function"?ct=function(){di(Ol)}:typeof MessageChannel<"u"?(Dl=new MessageChannel,pi=Dl.port2,Dl.port1.onmessage=Ol,ct=function(){pi.postMessage(null)}):ct=function(){mi(Ol,0)};var Dl,pi;function Ul(e){ir=e,cr||(cr=!0,ct())}function Vl(e,n){dt=mi(function(){e(T.unstable_now())},n)}T.unstable_IdlePriority=5;T.unstable_ImmediatePriority=1;T.unstable_LowPriority=4;T.unstable_NormalPriority=3;T.unstable_Profiling=null;T.unstable_UserBlockingPriority=2;T.unstable_cancelCallback=function(e){e.callback=null};T.unstable_continueExecution=function(){yn||ar||(yn=!0,Ul(jl))};T.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):hi=0<e?Math.floor(1e3/e):5};T.unstable_getCurrentPriorityLevel=function(){return Z};T.unstable_getFirstCallbackNode=function(){return _e(Re)};T.unstable_next=function(e){switch(Z){case 1:case 2:case 3:var n=3;break;default:n=Z}var t=Z;Z=n;try{return e()}finally{Z=t}};T.unstable_pauseExecution=function(){};T.unstable_requestPaint=function(){};T.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Z;Z=e;try{return n()}finally{Z=t}};T.unstable_scheduleCallback=function(e,n,t){var r=T.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?r+t:r):t=r,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=t+l,e={id:lf++,callback:n,priorityLevel:e,startTime:t,expirationTime:l,sortIndex:-1},t>r?(e.sortIndex=t,Ml(Ge,e),_e(Re)===null&&e===_e(Ge)&&(ft?(vi(dt),dt=-1):ft=!0,Vl(Fl,t-r))):(e.sortIndex=l,Ml(Re,e),yn||ar||(yn=!0,Ul(jl))),e};T.unstable_shouldYield=gi;T.unstable_wrapCallback=function(e){var n=Z;return function(){var t=Z;Z=n;try{return e.apply(this,arguments)}finally{Z=t}}}});var ki=je((yp,Si)=>{"use strict";Si.exports=wi()});var xc=je(ve=>{"use strict";var of=or(),pe=ki();function h(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var zs=new Set,Mt={};function Tn(e,n){bn(e,n),bn(e+"Capture",n)}function bn(e,n){for(Mt[e]=n,e=0;e<n.length;e++)zs.add(n[e])}var We=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),so=Object.prototype.hasOwnProperty,uf=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,Ei={},_i={};function sf(e){return so.call(_i,e)?!0:so.call(Ei,e)?!1:uf.test(e)?_i[e]=!0:(Ei[e]=!0,!1)}function af(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cf(e,n,t,r){if(n===null||typeof n>"u"||af(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function le(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){G[e]=new le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];G[n]=new le(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){G[e]=new le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){G[e]=new le(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){G[e]=new le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){G[e]=new le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){G[e]=new le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){G[e]=new le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){G[e]=new le(e,5,!1,e.toLowerCase(),null,!1,!1)});var nu=/[\\-:]([a-z])/g;function tu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(nu,tu);G[n]=new le(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(nu,tu);G[n]=new le(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(nu,tu);G[n]=new le(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){G[e]=new le(e,1,!1,e.toLowerCase(),null,!1,!1)});G.xlinkHref=new le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){G[e]=new le(e,1,!1,e.toLowerCase(),null,!0,!0)});function ru(e,n,t,r){var l=G.hasOwnProperty(n)?G[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(cf(n,t,l,r)&&(t=null),r||l===null?sf(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var Ye=of.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fr=Symbol.for("react.element"),In=Symbol.for("react.portal"),Fn=Symbol.for("react.fragment"),lu=Symbol.for("react.strict_mode"),ao=Symbol.for("react.profiler"),Ls=Symbol.for("react.provider"),Ts=Symbol.for("react.context"),ou=Symbol.for("react.forward_ref"),co=Symbol.for("react.suspense"),fo=Symbol.for("react.suspense_list"),uu=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),Rs=Symbol.for("react.offscreen"),Ci=Symbol.iterator;function pt(e){return e===null||typeof e!="object"?null:(e=Ci&&e[Ci]||e["@@iterator"],typeof e=="function"?e:null)}var j=Object.assign,Al;function kt(e){if(Al===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\\n( *(at )?)/);Al=n&&n[1]||""}return\`
4
2
  \`+Al+e}var Bl=!1;function Hl(e,n){if(!e||Bl)return"";Bl=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(f){var r=f}Reflect.construct(e,[],n)}else{try{n.call()}catch(f){r=f}e.call(n.prototype)}else{try{throw Error()}catch(f){r=f}e()}}catch(f){if(f&&r&&typeof f.stack=="string"){for(var l=f.stack.split(\`
5
3
  \`),o=r.stack.split(\`
6
4
  \`),u=l.length-1,i=o.length-1;1<=u&&0<=i&&l[u]!==o[i];)i--;for(;1<=u&&0<=i;u--,i--)if(l[u]!==o[i]){if(u!==1||i!==1)do if(u--,i--,0>i||l[u]!==o[i]){var s=\`
@@ -54,11 +52,8 @@ react/cjs/react-jsx-runtime.production.min.js:
54
52
  * LICENSE file in the root directory of this source tree.
55
53
  *)
56
54
  */
57
- `;async function Lr(t,l,i=!1){var b;if(t.length>1e5)throw new Error("Preview source exceeds 100,000 characters.");const s=crypto.randomUUID();let c;if(l==="html")c=Nr.sanitize(t,{WHOLE_DOCUMENT:!0,ADD_TAGS:["style"],FORBID_TAGS:["script","meta","base","link","iframe","object","embed","form"],FORBID_ATTR:["href","action","formaction","srcset"]});else{const O=await import("typescript"),_=O.transpileModule(t,{fileName:"preview.tsx",reportDiagnostics:!0,compilerOptions:{jsx:O.JsxEmit.React,module:O.ModuleKind.CommonJS,target:O.ScriptTarget.ES2020,esModuleInterop:!0}}),z=(b=_.diagnostics)==null?void 0:b.filter($=>$.category===O.DiagnosticCategory.Error);if(z!=null&&z.length)throw new Error(z.map($=>O.flattenDiagnosticMessageText($.messageText,`
58
- `)).join(`
59
- `));c=`<div id="preview"></div><script type="application/json" id="source">${JSON.stringify(_.outputText).replace(/</g,"\\u003c")}<\/script><script nonce="${s}">${Pr.replace(/<\/script/gi,"<\\/script")}<\/script>`}return i&&(c+=`<script nonce="${s}">document.addEventListener('dblclick', function(event) {
60
- if (event.defaultPrevented || !(event.target instanceof Element) || event.target.closest('button, a, input, textarea, select, video, audio, [contenteditable], [role="button"], [role="textbox"]')) return;
61
- event.preventDefault();
62
- parent.postMessage({type: 'squeed:content-edit'}, '*');
63
- });<\/script>`),`<!doctype html><html><head><meta http-equiv="Content-Security-Policy" content="${`default-src 'none'; script-src ${l==="jsx"?`'nonce-${s}' 'unsafe-eval'`:i?`'nonce-${s}'`:"'none'"}; style-src 'unsafe-inline'; img-src data: blob:; media-src https: data: blob:; connect-src 'none'; base-uri 'none'; form-action 'none'; frame-src 'none';`}"><meta name="referrer" content="no-referrer"><style>html{color-scheme:light}body{margin:0;padding:0;font:16px/1.5 sans-serif;color:#18181b;background:white;overflow-wrap:anywhere}*{box-sizing:border-box}img{max-width:100%}pre{white-space:pre-wrap}</style></head><body>${c}</body></html>`}exports.contentPreviewDocument=Lr;
64
- //# sourceMappingURL=contentPreviewDocument-B_Jous_v.cjs.map
55
+ `;
56
+ export {
57
+ e as default
58
+ };
59
+ //# sourceMappingURL=_virtual_content-preview-runtime-X_KtOyFO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_virtual_content-preview-runtime-X_KtOyFO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,10 @@
1
+ "use strict";var Gn=Object.create;var je=Object.defineProperty;var Wn=Object.getOwnPropertyDescriptor;var Bn=Object.getOwnPropertyNames;var jn=Object.getPrototypeOf,Yn=Object.prototype.hasOwnProperty;var $n=(n,r,s,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of Bn(r))!Yn.call(n,u)&&u!==s&&je(n,u,{get:()=>r[u],enumerable:!(c=Wn(r,u))||c.enumerable});return n};var Xn=(n,r,s)=>(s=n!=null?Gn(jn(n)):{},$n(r||!n||!n.__esModule?je(s,"default",{value:n,enumerable:!0}):s,n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*! @license DOMPurify 3.4.15 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.15/LICENSE */function Ye(n,r){(r==null||r>n.length)&&(r=n.length);for(var s=0,c=Array(r);s<r;s++)c[s]=n[s];return c}function Vn(n){if(Array.isArray(n))return n}function qn(n,r){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var c,u,d,E,P=[],R=!0,F=!1;try{if(d=(s=s.call(n)).next,r!==0)for(;!(R=(c=d.call(s)).done)&&(P.push(c.value),P.length!==r);R=!0);}catch(z){F=!0,u=z}finally{try{if(!R&&s.return!=null&&(E=s.return(),Object(E)!==E))return}finally{if(F)throw u}}return P}}function Kn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zn(n,r){return Vn(n)||qn(n,r)||Jn(n,r)||Kn()}function Jn(n,r){if(n){if(typeof n=="string")return Ye(n,r);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?Ye(n,r):void 0}}const sn=Object.entries,$e=Object.setPrototypeOf,Qn=Object.isFrozen,to=Object.getPrototypeOf,eo=Object.getOwnPropertyDescriptor;let b=Object.freeze,S=Object.seal,ct=Object.create,ln=typeof Reflect<"u"&&Reflect,se=ln.apply,le=ln.construct;b||(b=function(r){return r});S||(S=function(r){return r});se||(se=function(r,s){for(var c=arguments.length,u=new Array(c>2?c-2:0),d=2;d<c;d++)u[d-2]=arguments[d];return r.apply(s,u)});le||(le=function(r){for(var s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];return new r(...c)});const J=y(Array.prototype.forEach),no=y(Array.prototype.lastIndexOf),Xe=y(Array.prototype.pop),Tt=y(Array.prototype.push),oo=y(Array.prototype.splice),ut=Array.isArray,Et=y(String.prototype.toLowerCase),ee=y(String.prototype.toString),Ve=y(String.prototype.match),_t=y(String.prototype.replace),qe=y(String.prototype.indexOf),ro=y(String.prototype.trim),io=y(Number.prototype.toString),ao=y(Boolean.prototype.toString),Ke=typeof BigInt>"u"?null:y(BigInt.prototype.toString),Ze=typeof Symbol>"u"?null:y(Symbol.prototype.toString),N=y(Object.prototype.hasOwnProperty),gt=y(Object.prototype.toString),O=y(RegExp.prototype.test),Z=so(TypeError);function y(n){return function(r){r instanceof RegExp&&(r.lastIndex=0);for(var s=arguments.length,c=new Array(s>1?s-1:0),u=1;u<s;u++)c[u-1]=arguments[u];return se(n,r,c)}}function so(n){return function(){for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return le(n,s)}}function p(n,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Et;if($e&&$e(n,null),!ut(r))return n;let c=r.length;for(;c--;){let u=r[c];if(typeof u=="string"){const d=s(u);d!==u&&(Qn(r)||(r[c]=d),u=d)}n[u]=!0}return n}function lo(n){for(let r=0;r<n.length;r++)N(n,r)||(n[r]=null);return n}function C(n){const r=ct(null);for(const c of sn(n)){var s=Zn(c,2);const u=s[0],d=s[1];N(n,u)&&(ut(d)?r[u]=lo(d):d&&typeof d=="object"&&d.constructor===Object?r[u]=C(d):r[u]=d)}return r}function co(n){switch(typeof n){case"string":return n;case"number":return io(n);case"boolean":return ao(n);case"bigint":return Ke?Ke(n):"0";case"symbol":return Ze?Ze(n):"Symbol()";case"undefined":return gt(n);case"function":case"object":{if(n===null)return gt(n);const r=n,s=x(r,"toString");if(typeof s=="function"){const c=s(r);return typeof c=="string"?c:gt(c)}return gt(n)}default:return gt(n)}}function x(n,r){for(;n!==null;){const c=eo(n,r);if(c){if(c.get)return y(c.get);if(typeof c.value=="function")return y(c.value)}n=to(n)}function s(){return null}return s}function uo(n){try{return O(n,""),!0}catch{return!1}}const Je=b(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ne=b(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),oe=b(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),fo=b(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),re=b(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),po=b(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Qe=b(["#text"]),tn=b(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","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"]),ie=b(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),en=b(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xt=b(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),mo=S(/{{[\w\W]*|^[\w\W]*}}/g),ho=S(/<%[\w\W]*|^[\w\W]*%>/g),To=S(/\${[\w\W]*/g),_o=S(/^data-[\-\w.\u00B7-\uFFFF]+$/),go=S(/^aria-[\-\w]+$/),nn=S(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Eo=S(/^(?:\w+script|data):/i),Ao=S(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),yo=S(/^html$/i),bo=S(/^[a-z][.\w]*(-[.\w]+)+$/i),on=S(/<[/\w!]/g),rn=S(/<[/\w]/g),So=S(/<\/no(script|embed|frames)/i),Oo=S(/\/>/i),M={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},cn=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],Ro=b(p({},cn)),wo=(function(){const n={};return J(cn,r=>{n[r]=S(new RegExp("</"+r+"(?=[\\t\\n\\f\\r />])","i"))}),b(n)})(),Do=function(){return typeof window>"u"?null:window},Lo=function(r,s){if(typeof r!="object"||typeof r.createPolicy!="function")return null;let c=null;const u="data-tt-policy-suffix";s&&s.hasAttribute(u)&&(c=s.getAttribute(u));const d="dompurify"+(c?"#"+c:"");try{return r.createPolicy(d,{createHTML(E){return E},createScriptURL(E){return E}})}catch{return console.warn("TrustedTypes policy "+d+" could not be created."),null}},an=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Y=function(r,s,c,u){return N(r,s)&&ut(r[s])?p(u.base?C(u.base):{},r[s],u.transform):c},ae=function(r,s,c){const u=N(r,s)?r[s]:void 0;return u&&typeof u=="object"?C(u):c()};function un(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Do();const r=i=>un(i);if(r.version="3.4.15",r.removed=[],!n||!n.document||n.document.nodeType!==M.document||!n.Element)return r.isSupported=!1,r;let s=n.document;const c=s,u=c.currentScript;n.DocumentFragment;const d=n.HTMLTemplateElement,E=n.Node,P=n.Element,R=n.NodeFilter,F=n.NamedNodeMap;F===void 0&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;const z=n.DOMParser,H=n.trustedTypes,G=P.prototype,fn=x(G,"cloneNode"),vt=x(G,"remove"),ce=x(G,"removeAttributeNode"),pn=x(G,"nextSibling"),Q=x(G,"childNodes"),tt=x(G,"parentNode"),ue=x(G,"shadowRoot"),kt=x(G,"attributes"),$=E&&E.prototype?x(E.prototype,"nodeType"):null,et=E&&E.prototype?x(E.prototype,"nodeName"):null,At=E&&E.prototype?x(E.prototype,"ownerDocument"):null,ft=function(t){return $?$(t):t.nodeType},Ut=function(t){return et?et(t):t.nodeName};if(typeof d=="function"){const i=s.createElement("template");i.content&&i.content.ownerDocument&&(s=i.content.ownerDocument)}let D,X="",Ft,fe=!1,pt=0;const pe=function(){if(pt>0)throw Z('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.')},nt=function(t){pe(),pt++;try{return D.createHTML(t)}finally{pt--}},mn=function(t){pe(),pt++;try{return D.createScriptURL(t)}finally{pt--}},dn=function(){return fe||(Ft=Lo(H,u),fe=!0),Ft},yt=s,zt=yt.implementation,me=yt.createNodeIterator,hn=yt.createDocumentFragment,Tn=yt.getElementsByTagName,_n=c.importNode;let h=an();r.isSupported=typeof sn=="function"&&typeof tt=="function"&&zt&&zt.createHTMLDocument!==void 0;const gn=mo,En=ho,An=To,yn=_o,bn=go,Sn=Eo,de=Ao,On=bo;let he=nn,T=null;const Ht=p({},[...Je,...ne,...oe,...re,...Qe]);let _=null;const Gt=p({},[...tn,...ie,...en,...xt]);let v=Object.seal(ct(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}})),mt=null,Te=null;const W=Object.seal(ct(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let _e=!0,Wt=!0,ge=!1,Ee=!0,B=!1,V=!0,q=!1,Bt=!1,bt=null,St=null,jt=!1,ot=!1,Ot=!1,Rt=!1,Ae=!0,ye=!1;const be="user-content-";let Yt=!0,$t=!1,rt={},it=null;const Se=p({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Oe=null;const Re=p({},["audio","video","img","source","image","track"]);let we=null;const De=p({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),wt="http://www.w3.org/1998/Math/MathML",Dt="http://www.w3.org/2000/svg",k="http://www.w3.org/1999/xhtml";let at=k,Xt=!1,Vt=null;const Rn=p({},[wt,Dt,k],ee),Le=b(["mi","mo","mn","ms","mtext"]);let qt=p({},Le);const Ie=b(["annotation-xml"]);let Kt=p({},Ie);const wn=p({},["title","style","font","a","script"]);let dt=null;const Dn=["application/xhtml+xml","text/html"],Ln="text/html";let A=null,st=null;const In=s.createElement("form"),Ne=function(t){return t instanceof RegExp||t instanceof Function},Zt=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(st&&st===t)return;(!t||typeof t!="object")&&(t={}),t=C(t),dt=Dn.indexOf(t.PARSER_MEDIA_TYPE)===-1?Ln:t.PARSER_MEDIA_TYPE,A=dt==="application/xhtml+xml"?ee:Et,T=Y(t,"ALLOWED_TAGS",Ht,{transform:A}),_=Y(t,"ALLOWED_ATTR",Gt,{transform:A}),Vt=Y(t,"ALLOWED_NAMESPACES",Rn,{transform:ee}),we=Y(t,"ADD_URI_SAFE_ATTR",De,{transform:A,base:De}),Oe=Y(t,"ADD_DATA_URI_TAGS",Re,{transform:A,base:Re}),it=Y(t,"FORBID_CONTENTS",Se,{transform:A}),mt=Y(t,"FORBID_TAGS",C({}),{transform:A}),Te=Y(t,"FORBID_ATTR",C({}),{transform:A}),rt=N(t,"USE_PROFILES")?t.USE_PROFILES&&typeof t.USE_PROFILES=="object"?C(t.USE_PROFILES):t.USE_PROFILES:!1,_e=t.ALLOW_ARIA_ATTR!==!1,Wt=t.ALLOW_DATA_ATTR!==!1,ge=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,B=t.SAFE_FOR_TEMPLATES||!1,V=t.SAFE_FOR_XML!==!1,q=t.WHOLE_DOCUMENT||!1,ot=t.RETURN_DOM||!1,Ot=t.RETURN_DOM_FRAGMENT||!1,Rt=t.RETURN_TRUSTED_TYPE||!1,jt=t.FORCE_BODY||!1,Ae=t.SANITIZE_DOM!==!1,ye=t.SANITIZE_NAMED_PROPS||!1,Yt=t.KEEP_CONTENT!==!1,$t=t.IN_PLACE||!1,he=uo(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:nn,at=typeof t.NAMESPACE=="string"?t.NAMESPACE:k,qt=ae(t,"MATHML_TEXT_INTEGRATION_POINTS",()=>p({},Le)),Kt=ae(t,"HTML_INTEGRATION_POINTS",()=>p({},Ie));const e=ae(t,"CUSTOM_ELEMENT_HANDLING",()=>ct(null));if(v=ct(null),N(e,"tagNameCheck")&&Ne(e.tagNameCheck)&&(v.tagNameCheck=e.tagNameCheck),N(e,"attributeNameCheck")&&Ne(e.attributeNameCheck)&&(v.attributeNameCheck=e.attributeNameCheck),N(e,"allowCustomizedBuiltInElements")&&typeof e.allowCustomizedBuiltInElements=="boolean"&&(v.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),S(v),B&&(Wt=!1),Ot&&(ot=!0),rt&&(T=p({},Qe),_=ct(null),rt.html===!0&&(p(T,Je),p(_,tn)),rt.svg===!0&&(p(T,ne),p(_,ie),p(_,xt)),rt.svgFilters===!0&&(p(T,oe),p(_,ie),p(_,xt)),rt.mathMl===!0&&(p(T,re),p(_,en),p(_,xt))),W.tagCheck=null,W.attributeCheck=null,N(t,"ADD_TAGS")&&(typeof t.ADD_TAGS=="function"?W.tagCheck=t.ADD_TAGS:ut(t.ADD_TAGS)&&(T===Ht&&(T=C(T)),p(T,t.ADD_TAGS,A))),N(t,"ADD_ATTR")&&(typeof t.ADD_ATTR=="function"?W.attributeCheck=t.ADD_ATTR:ut(t.ADD_ATTR)&&(_===Gt&&(_=C(_)),p(_,t.ADD_ATTR,A))),N(t,"ADD_FORBID_CONTENTS")&&ut(t.ADD_FORBID_CONTENTS)&&(it===Se&&(it=C(it)),p(it,t.ADD_FORBID_CONTENTS,A)),Yt&&(T["#text"]=!0),q&&p(T,["html","head","body"]),T.table&&(p(T,["tbody"]),delete mt.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const o=D;D=t.TRUSTED_TYPES_POLICY;try{X=nt("")}catch(a){throw D=o,a}}else t.TRUSTED_TYPES_POLICY===null?(D=void 0,X=""):(D===void 0&&(D=dn()),D&&typeof X=="string"&&(X=nt("")));b&&b(t),st=t},Me=p({},[...ne,...oe,...fo]),Ce=p({},[...re,...po]),Nn=function(t,e,o){return e.namespaceURI===k?t==="svg":e.namespaceURI===wt?t==="svg"&&(o==="annotation-xml"||qt[o]):!!Me[t]},Mn=function(t,e,o){return e.namespaceURI===k?t==="math":e.namespaceURI===Dt?t==="math"&&Kt[o]:!!Ce[t]},Cn=function(t,e,o){return e.namespaceURI===Dt&&!Kt[o]||e.namespaceURI===wt&&!qt[o]?!1:!Ce[t]&&(wn[t]||!Me[t])},Pn=function(t){let e=tt(t);(!e||!e.tagName)&&(e={namespaceURI:at,tagName:"template"});const o=Et(t.tagName),a=Et(e.tagName);return Vt[t.namespaceURI]?t.namespaceURI===Dt?Nn(o,e,a):t.namespaceURI===wt?Mn(o,e,a):t.namespaceURI===k?Cn(o,e,a):!!(dt==="application/xhtml+xml"&&Vt[t.namespaceURI]):!1},j=function(t){Tt(r.removed,{element:t});try{tt(t).removeChild(t)}catch{if(vt(t),!tt(t))throw Z("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Pe=function(t,e,o){try{ce(t,e)}catch{try{t.removeAttribute(o)}catch{}}},Lt=function(t){It(t);const e=Q(t);if(e){const a=[];J(e,l=>{Tt(a,l)}),J(a,l=>{try{vt(l)}catch{}})}const o=kt(t);if(o)for(let a=o.length-1;a>=0;--a){const l=o[a],f=l&&l.name;typeof f=="string"&&Pe(t,l,f)}},K=function(t,e,o){if(!o)try{o=e.getAttributeNode(t)}catch{o=null}Tt(r.removed,{attribute:o||null,from:e});try{o?ce(e,o):e.removeAttribute(t)}catch{try{e.removeAttribute(t)}catch{}}if(t==="is")if(ot||Ot)try{j(e)}catch{}else try{e.setAttribute(t,"")}catch{}},xn=function(t){const e=kt(t);if(e)for(let o=e.length-1;o>=0;--o){const a=e[o],l=a&&a.name;typeof l!="string"||_[A(l)]||Pe(t,a,l)}},It=function(t){const e=[t];for(;e.length>0;){const o=e.pop();ft(o)===M.element&&xn(o);const l=Q(o);if(l)for(let f=l.length-1;f>=0;--f)e.push(l[f])}},xe=function(t,e){return V?t==="patchsrc"?!0:t==="for"&&e!=="label"&&e!=="output":!1},vn=function(t){if(!V)return;const e=[t];for(;e.length>0;){const o=e.pop(),a=ft(o);if(a===M.processingInstruction||a===M.comment&&O(rn,o.data)){try{vt(o)}catch{}continue}if(a===M.element){const f=o,m=A(Ut(o));try{f.hasAttribute&&f.hasAttribute("patchsrc")&&f.removeAttribute("patchsrc"),f.hasAttribute&&f.hasAttribute("for")&&xe("for",m)&&f.removeAttribute("for")}catch{}}const l=Q(o);if(l)for(let f=l.length-1;f>=0;--f)e.push(l[f])}},ve=function(t){let e=null,o=null;if(jt)t="<remove></remove>"+t;else{const f=Ve(t,/^[\r\n\t ]+/);o=f&&f[0]}dt==="application/xhtml+xml"&&at===k&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const a=D?nt(t):t;if(at===k)try{e=new z().parseFromString(a,dt)}catch{}if(!e||!e.documentElement){e=zt.createDocument(at,"template",null);try{e.documentElement.innerHTML=Xt?X:a}catch{}}const l=e.body||e.documentElement;return t&&o&&l.insertBefore(s.createTextNode(o),l.childNodes[0]||null),at===k?Tn.call(e,q?"html":"body")[0]:q?e.documentElement:l},ke=function(t){const e=At?At(t):t.ownerDocument;return me.call(e||t,t,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)},Nt=function(t){return t=_t(t,gn," "),t=_t(t,En," "),t=_t(t,An," "),t},Jt=function(t){var e;t.normalize();const o=At?At(t):t.ownerDocument,a=me.call(o||t,t,R.SHOW_TEXT|R.SHOW_COMMENT|R.SHOW_CDATA_SECTION|R.SHOW_PROCESSING_INSTRUCTION,null);let l=a.nextNode();for(;l;)l.data=Nt(l.data),l=a.nextNode();const f=(e=t.querySelectorAll)===null||e===void 0?void 0:e.call(t,"template");f&&J(f,m=>{lt(m.content)&&Jt(m.content)})},Mt=function(t){const e=et?et(t):null;return typeof e!="string"||A(e)!=="form"?!1:typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||t.attributes!==kt(t)||typeof t.removeAttribute!="function"||typeof t.removeAttributeNode!="function"||typeof t.getAttributeNode!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function"||t.nodeType!==$(t)||t.childNodes!==Q(t)},lt=function(t){if(!$||typeof t!="object"||t===null)return!1;try{return $(t)===M.documentFragment}catch{return!1}},ht=function(t){if(!$||typeof t!="object"||t===null)return!1;try{return typeof $(t)=="number"}catch{return!1}};function U(i,t,e){i.length!==0&&J(i,o=>{o.call(r,t,e,st)})}const kn=function(t,e){return!!(V&&t.hasChildNodes()&&!ht(t.firstElementChild)&&O(on,t.textContent)&&O(on,t.innerHTML)||V&&t.namespaceURI===k&&Ro[e]&&(ht(t.firstElementChild)||typeof t.textContent=="string"&&O(wo[e],t.textContent))||t.nodeType===M.processingInstruction||V&&t.nodeType===M.comment&&O(rn,t.data))},Ct=function(t,e){if(t instanceof RegExp)return O(t,e);if(t instanceof Function){for(var o=arguments.length,a=new Array(o>2?o-2:0),l=2;l<o;l++)a[l-2]=arguments[l];return!!t(e,...a)}return!1},Un=function(t,e,o){if(!mt[e]&&Ge(e)&&Ct(v.tagNameCheck,e))return!1;if(Yt&&!it[e]){const a=tt(t),l=Q(t);if(l&&a){const f=l.length;for(let m=f-1;m>=0;--m){const g=t===o?fn(l[m],!0):l[m];a.insertBefore(g,pn(t))}}}return j(t),!0},Ue=function(t,e,o,a){return t.length===0?e:e===o||e===a?C(e):e},Fe=function(t,e){return t===e||tt(t)!==null?!1:($t&&It(t),!0)},ze=function(t,e){if(U(h.beforeSanitizeElements,t,null),Fe(t,e))return!0;if(Mt(t))return j(t),!0;const o=A(Ut(t));if(T=Ue(h.uponSanitizeElement,T,Ht,bt),U(h.uponSanitizeElement,t,{tagName:o,allowedTags:T}),Fe(t,e))return!0;if(kn(t,o))return j(t),!0;if(mt[o]||!(W.tagCheck instanceof Function&&W.tagCheck(o))&&!T[o]){const l=Un(t,o,e);return l===!1&&U(h.afterSanitizeElements,t,null),l}if(ft(t)===M.element&&!Pn(t)||(o==="noscript"||o==="noembed"||o==="noframes")&&O(So,t.innerHTML))return j(t),!0;if(B&&t.nodeType===M.text){const l=Nt(t.textContent);t.textContent!==l&&(Tt(r.removed,{element:t.cloneNode()}),t.textContent=l)}return U(h.afterSanitizeElements,t,null),!1},He=function(t,e,o){if(Te[e]||xe(e,t)||Ae&&(e==="id"||e==="name")&&(o in s||o in In))return!1;const a=_[e]||W.attributeCheck instanceof Function&&W.attributeCheck(e,t);return Wt&&O(yn,e)||_e&&O(bn,e)?!0:a?we[e]||O(he,_t(o,de,""))||(e==="src"||e==="xlink:href"||e==="href")&&t!=="script"&&qe(o,"data:")===0&&Oe[t]||ge&&!O(Sn,_t(o,de,""))?!0:!o:Ge(t)&&Ct(v.tagNameCheck,t)&&Ct(v.attributeNameCheck,e,t)||e==="is"&&v.allowCustomizedBuiltInElements&&Ct(v.tagNameCheck,o)},Fn=p({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Ge=function(t){return!Fn[Et(t)]&&O(On,t)},zn=function(t,e,o,a){if(D&&typeof H=="object"&&typeof H.getAttributeType=="function"&&!o)switch(H.getAttributeType(t,e)){case"TrustedHTML":return nt(a);case"TrustedScriptURL":return mn(a)}return a},Hn=function(t,e,o,a){try{return o?t.setAttributeNS(o,e,a):t.setAttribute(e,a),Mt(t)?(j(t),!1):!0}catch{return K(e,t),!1}},We=function(t){U(h.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||Mt(t))return;_=Ue(h.uponSanitizeAttribute,_,Gt,St);const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_,forceKeepAttr:void 0};let a=e.length;const l=A(t.nodeName);for(;a--;){const f=e[a],m=f.name,g=f.namespaceURI,L=f.value,I=A(m),te=L;let w=m==="value"?te:ro(te),Be=!1;if(o.attrName=I,o.attrValue=w,o.keepAttr=!0,o.forceKeepAttr=void 0,U(h.uponSanitizeAttribute,t,o),w=o.attrValue,ye&&(I==="id"||I==="name")&&qe(w,be)!==0&&(K(m,t,f),w=be+w,Be=!0),V&&O(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,w)){K(m,t,f);continue}if(I==="attributename"&&Ve(w,"href")){K(m,t,f);continue}if(!o.forceKeepAttr){if(!o.keepAttr){K(m,t,f);continue}if(!Ee&&O(Oo,w)){K(m,t,f);continue}if(B&&(w=Nt(w)),!He(l,I,w)){K(m,t,f);continue}w=zn(l,I,g,w),w!==te&&Hn(t,m,g,w)&&Be&&Xe(r.removed)}}U(h.afterSanitizeAttributes,t,null)},Pt=function(t){let e=null;const o=ke(t);for(U(h.beforeSanitizeShadowDOM,t,null);e=o.nextNode();)if(U(h.uponSanitizeShadowNode,e,null),ze(e,t),We(e),lt(e.content)&&Pt(e.content),ft(e)===M.element){const a=ue(e);lt(a)&&(Qt(a),Pt(a))}U(h.afterSanitizeShadowDOM,t,null)},Qt=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const o=e.pop();if(o.shadow){Pt(o.shadow);continue}const a=o.node,f=ft(a)===M.element,m=Q(a);if(m)for(let g=m.length-1;g>=0;--g)e.push({node:m[g],shadow:null});if(f){const g=et?et(a):null;if(typeof g=="string"&&A(g)==="template"){const L=a.content;lt(L)&&e.push({node:L,shadow:null})}}if(f){const g=ue(a);lt(g)&&e.push({node:null,shadow:g},{node:g,shadow:null})}}};return r.sanitize=function(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=null,o=null,a=null,l=null;if(Xt=!i,Xt&&(i="<!-->"),typeof i!="string"&&!ht(i)&&(i=co(i),typeof i!="string"))throw Z("dirty is not a string, aborting");if(!r.isSupported)return i;Bt?(T=bt,_=St):Zt(t),(h.uponSanitizeElement.length>0||h.uponSanitizeAttribute.length>0)&&(T=C(T)),h.uponSanitizeAttribute.length>0&&(_=C(_)),r.removed=[];const f=$t&&typeof i!="string"&&ht(i);if(f){vn(i);const L=Ut(i);if(typeof L=="string"){const I=A(L);if(!T[I]||mt[I])throw Lt(i),Z("root node is forbidden and cannot be sanitized in-place")}if(Mt(i))throw Lt(i),Z("root node is clobbered and cannot be sanitized in-place");try{Qt(i)}catch(I){throw Lt(i),I}}else if(ht(i))e=ve("<!---->"),o=e.ownerDocument.importNode(i,!0),o.nodeType===M.element&&o.nodeName==="BODY"||o.nodeName==="HTML"?e=o:e.appendChild(o),Qt(e);else{if(!ot&&!B&&!q&&i.indexOf("<")===-1)return D&&Rt?nt(i):i;if(e=ve(i),!e)return ot?null:Rt?X:""}e&&jt&&j(e.firstChild);const m=f?i:e;try{const L=ke(m);for(;a=L.nextNode();)ze(a,m),We(a),lt(a.content)&&Pt(a.content)}catch(L){throw f&&(Lt(i),J(r.removed,I=>{I.element&&It(I.element)})),L}if(f)return J(r.removed,L=>{L.element&&It(L.element)}),B&&Jt(i),i;if(ot){if(B&&Jt(e),Ot)for(l=hn.call(e.ownerDocument);e.firstChild;)l.appendChild(e.firstChild);else l=e;return(_.shadowroot||_.shadowrootmode)&&(l=_n.call(c,l,!0)),l}let g=q?e.outerHTML:e.innerHTML;return q&&T["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&O(yo,e.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+e.ownerDocument.doctype.name+`>
3
+ `+g),B&&(g=Nt(g)),D&&Rt?nt(g):g},r.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Zt(i),Bt=!0,bt=T,St=_},r.clearConfig=function(){st=null,Bt=!1,bt=null,St=null,D=Ft,X=""},r.isValidAttribute=function(i,t,e){st||Zt({});const o=A(i),a=A(t);return He(o,a,e)},r.addHook=function(i,t){typeof t=="function"&&N(h,i)&&Tt(h[i],t)},r.removeHook=function(i,t){if(N(h,i)){if(t!==void 0){const e=no(h[i],t);return e===-1?void 0:oo(h[i],e,1)[0]}return Xe(h[i])}},r.removeHooks=function(i){N(h,i)&&(h[i]=[])},r.removeAllHooks=function(){h=an()},r}var Io=un();async function No(n,r,s=!1){var E;if(n.length>1e5)throw new Error("Preview source exceeds 100,000 characters.");const c=crypto.randomUUID();let u;if(r==="html")u=Io.sanitize(n,{WHOLE_DOCUMENT:!0,ADD_TAGS:["style"],FORBID_TAGS:["script","meta","base","link","iframe","object","embed","form"],FORBID_ATTR:["href","action","formaction","srcset"]});else{const[P,{default:R}]=await Promise.all([import("typescript"),Promise.resolve().then(()=>require("./_virtual_content-preview-runtime-Deui59HN.cjs"))]),F=P.transpileModule(n,{fileName:"preview.tsx",reportDiagnostics:!0,compilerOptions:{jsx:P.JsxEmit.React,module:P.ModuleKind.CommonJS,target:P.ScriptTarget.ES2020,esModuleInterop:!0}}),z=(E=F.diagnostics)==null?void 0:E.filter(H=>H.category===P.DiagnosticCategory.Error);if(z!=null&&z.length)throw new Error(z.map(H=>P.flattenDiagnosticMessageText(H.messageText,`
4
+ `)).join(`
5
+ `));u=`<div id="preview"></div><script type="application/json" id="source">${JSON.stringify(F.outputText).replace(/</g,"\\u003c")}<\/script><script nonce="${c}">${R.replace(/<\/script/gi,"<\\/script")}<\/script>`}return s&&(u+=`<script nonce="${c}">document.addEventListener('dblclick', function(event) {
6
+ if (event.defaultPrevented || !(event.target instanceof Element) || event.target.closest('button, a, input, textarea, select, video, audio, [contenteditable], [role="button"], [role="textbox"]')) return;
7
+ event.preventDefault();
8
+ parent.postMessage({type: 'squeed:content-edit'}, '*');
9
+ });<\/script>`),`<!doctype html><html><head><meta http-equiv="Content-Security-Policy" content="${`default-src 'none'; script-src ${r==="jsx"?`'nonce-${c}' 'unsafe-eval'`:s?`'nonce-${c}'`:"'none'"}; style-src 'unsafe-inline'; img-src data: blob:; media-src https: data: blob:; connect-src 'none'; base-uri 'none'; form-action 'none'; frame-src 'none';`}"><meta name="referrer" content="no-referrer"><style>html{color-scheme:light}body{margin:0;padding:0;font:16px/1.5 sans-serif;color:#18181b;background:white;overflow-wrap:anywhere}*{box-sizing:border-box}img{max-width:100%}pre{white-space:pre-wrap}</style></head><body>${u}</body></html>`}exports.contentPreviewDocument=No;
10
+ //# sourceMappingURL=contentPreviewDocument-BsKd0dD4.cjs.map