Files
coopgo/node_modules/decap-cms-widget-markdown/dist/decap-cms-widget-markdown.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

9 lines
687 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see decap-cms-widget-markdown.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("prop-types"),require("react-immutable-proptypes"),require("immutable"),require("@emotion/react"),require("decap-cms-ui-default"),require("react-dom")):"function"==typeof define&&define.amd?define("DecapCmsWidgetMarkdown",["react","prop-types","react-immutable-proptypes","immutable","@emotion/react","decap-cms-ui-default","react-dom"],t):"object"==typeof exports?exports.DecapCmsWidgetMarkdown=t(require("react"),require("prop-types"),require("react-immutable-proptypes"),require("immutable"),require("@emotion/react"),require("decap-cms-ui-default"),require("react-dom")):e.DecapCmsWidgetMarkdown=t(e.React,e.DecapCmsDefaultExports.PropTypes,e.DecapCmsDefaultExports.ImmutablePropTypes,e.DecapCmsDefaultExports.Immutable,e.DecapCmsDefaultExports.EmotionCore,e.DecapCmsUiDefault,e.ReactDOM)}(window,((e,t,n,r,o,i,a)=>(()=>{var s={87683:e=>{"use strict";e.exports=function(e){if(e)throw e}},53404:e=>{"use strict";e.exports=function(e,t){var n,r=String(e),o=0;if("string"!=typeof t)throw new Error("Expected character");for(n=r.indexOf(t);-1!==n;)o++,n=r.indexOf(t,n+t.length);return o}},38925:e=>{"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},97327:(e,t)=>{"use strict";t.parse=function(e){for(var t,r=[],i=String(e||o),a=i.indexOf(n),s=0,u=!1;!u;)-1===a&&(a=i.length,u=!0),!(t=i.slice(s,a).trim())&&u||r.push(t),s=a+1,a=i.indexOf(n,s);return r},t.stringify=function(e,t){var i=t||{},a=!1===i.padLeft?o:r,s=i.padRight?r:o;return e[e.length-1]===o&&(e=e.concat(o)),e.join(s+n+a).trim()};var n=",",r=" ",o=""},17994:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i,a,s=t||4,u=[],l=0,c=0,f=-1;if("string"!=typeof e)throw new Error("detab expected string");for(;c<e.length;)o.lastIndex=c,a=(i=o.exec(e))?i.index:e.length,9===e.charCodeAt(a)?(n=s-(f+a-c+1)%s,u.push(e.slice(l,a),r(" ",n)),f+=a-c+n,l=a+1):f=-1,c=a+1;return u.push(e.slice(l)),u.join("")};var r=n(34076),o=/[\t\n\r]/g},93636:e=>{"use strict";e.exports=function(e){return e=String(e||""),r.test(e)?"rtl":o.test(e)?"ltr":"neutral"};var t="֑-߿יִ-﷽ﹰ-ﻼ",n="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",r=new RegExp("^[^"+n+"]*["+t+"]"),o=new RegExp("^[^"+t+"]*["+n+"]")},35368:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,r,o){return n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(e,o));return r&&t(i,r.prototype),i},n.apply(null,arguments)}function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i=Object.hasOwnProperty,a=Object.setPrototypeOf,s=Object.isFrozen,u=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,c=Object.freeze,f=Object.seal,p=Object.create,d="undefined"!=typeof Reflect&&Reflect,h=d.apply,m=d.construct;h||(h=function(e,t,n){return e.apply(t,n)}),c||(c=function(e){return e}),f||(f=function(e){return e}),m||(m=function(e,t){return n(e,r(t))});var g,v=O(Array.prototype.forEach),E=O(Array.prototype.pop),C=O(Array.prototype.push),T=O(String.prototype.toLowerCase),y=O(String.prototype.toString),A=O(String.prototype.match),b=O(String.prototype.replace),D=O(String.prototype.indexOf),x=O(String.prototype.trim),_=O(RegExp.prototype.test),k=(g=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return m(g,t)});function O(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return h(e,t,r)}}function S(e,t,n){var r;n=null!==(r=n)&&void 0!==r?r:T,a&&a(e,null);for(var o=t.length;o--;){var i=t[o];if("string"==typeof i){var u=n(i);u!==i&&(s(t)||(t[o]=u),i=u)}e[i]=!0}return e}function w(e){var t,n=p(null);for(t in e)!0===h(i,e,[t])&&(n[t]=e[t]);return n}function N(e,t){for(;null!==e;){var n=l(e,t);if(n){if(n.get)return O(n.get);if("function"==typeof n.value)return O(n.value)}e=u(e)}return function(e){return console.warn("fallback value for",e),null}}var B=c(["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","section","select","shadow","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"]),F=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=c(["animate","color-profile","cursor","discard","fedropshadow","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"]),I=c(["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"]),M=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),L=c(["#text"]),j=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),H=c(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","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","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","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","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","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),U=c(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=f(/\{\{[\w\W]*|[\w\W]*\}\}/gm),K=f(/<%[\w\W]*|[\w\W]*%>/gm),W=f(/\${[\w\W]*}/gm),q=f(/^data-[\-\w.\u00B7-\uFFFF]/),V=f(/^aria-[\-\w]+$/),Y=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=f(/^(?:\w+script|data):/i),X=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=f(/^html$/i),Z=function(){return"undefined"==typeof window?null:window};return function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z(),o=function(e){return t(e)};if(o.version="2.4.7",o.removed=[],!n||!n.document||9!==n.document.nodeType)return o.isSupported=!1,o;var i=n.document,a=n.document,s=n.DocumentFragment,u=n.HTMLTemplateElement,l=n.Node,f=n.Element,p=n.NodeFilter,d=n.NamedNodeMap,h=void 0===d?n.NamedNodeMap||n.MozNamedAttrMap:d,m=n.HTMLFormElement,g=n.DOMParser,O=n.trustedTypes,J=f.prototype,ee=N(J,"cloneNode"),te=N(J,"nextSibling"),ne=N(J,"childNodes"),re=N(J,"parentNode");if("function"==typeof u){var oe=a.createElement("template");oe.content&&oe.content.ownerDocument&&(a=oe.content.ownerDocument)}var ie=function(t,n){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var r=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(r=n.currentScript.getAttribute(o));var i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(O,i),ae=ie?ie.createHTML(""):"",se=a,ue=se.implementation,le=se.createNodeIterator,ce=se.createDocumentFragment,fe=se.getElementsByTagName,pe=i.importNode,de={};try{de=w(a).documentMode?a.documentMode:{}}catch(e){}var he={};o.isSupported="function"==typeof re&&ue&&void 0!==ue.createHTMLDocument&&9!==de;var me,ge,ve=G,Ee=K,Ce=W,Te=q,ye=V,Ae=$,be=X,De=Y,xe=null,_e=S({},[].concat(r(B),r(F),r(R),r(I),r(L))),ke=null,Oe=S({},[].concat(r(j),r(H),r(U),r(z))),Se=Object.seal(Object.create(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}})),we=null,Ne=null,Be=!0,Fe=!0,Re=!1,Pe=!0,Ie=!1,Me=!1,Le=!1,je=!1,He=!1,Ue=!1,ze=!1,Ge=!0,Ke=!1,We=!0,qe=!1,Ve={},Ye=null,$e=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xe=null,Qe=S({},["audio","video","img","source","image","track"]),Ze=null,Je=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml",rt=nt,ot=!1,it=null,at=S({},[et,tt,nt],y),st=["application/xhtml+xml","text/html"],ut=null,lt=a.createElement("form"),ct=function(e){return e instanceof RegExp||e instanceof Function},ft=function(t){ut&&ut===t||(t&&"object"===e(t)||(t={}),t=w(t),me=me=-1===st.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===me?y:T,xe="ALLOWED_TAGS"in t?S({},t.ALLOWED_TAGS,ge):_e,ke="ALLOWED_ATTR"in t?S({},t.ALLOWED_ATTR,ge):Oe,it="ALLOWED_NAMESPACES"in t?S({},t.ALLOWED_NAMESPACES,y):at,Ze="ADD_URI_SAFE_ATTR"in t?S(w(Je),t.ADD_URI_SAFE_ATTR,ge):Je,Xe="ADD_DATA_URI_TAGS"in t?S(w(Qe),t.ADD_DATA_URI_TAGS,ge):Qe,Ye="FORBID_CONTENTS"in t?S({},t.FORBID_CONTENTS,ge):$e,we="FORBID_TAGS"in t?S({},t.FORBID_TAGS,ge):{},Ne="FORBID_ATTR"in t?S({},t.FORBID_ATTR,ge):{},Ve="USE_PROFILES"in t&&t.USE_PROFILES,Be=!1!==t.ALLOW_ARIA_ATTR,Fe=!1!==t.ALLOW_DATA_ATTR,Re=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ie=t.SAFE_FOR_TEMPLATES||!1,Me=t.WHOLE_DOCUMENT||!1,He=t.RETURN_DOM||!1,Ue=t.RETURN_DOM_FRAGMENT||!1,ze=t.RETURN_TRUSTED_TYPE||!1,je=t.FORCE_BODY||!1,Ge=!1!==t.SANITIZE_DOM,Ke=t.SANITIZE_NAMED_PROPS||!1,We=!1!==t.KEEP_CONTENT,qe=t.IN_PLACE||!1,De=t.ALLOWED_URI_REGEXP||De,rt=t.NAMESPACE||nt,Se=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(Fe=!1),Ue&&(He=!0),Ve&&(xe=S({},r(L)),ke=[],!0===Ve.html&&(S(xe,B),S(ke,j)),!0===Ve.svg&&(S(xe,F),S(ke,H),S(ke,z)),!0===Ve.svgFilters&&(S(xe,R),S(ke,H),S(ke,z)),!0===Ve.mathMl&&(S(xe,I),S(ke,U),S(ke,z))),t.ADD_TAGS&&(xe===_e&&(xe=w(xe)),S(xe,t.ADD_TAGS,ge)),t.ADD_ATTR&&(ke===Oe&&(ke=w(ke)),S(ke,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&S(Ze,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ye===$e&&(Ye=w(Ye)),S(Ye,t.FORBID_CONTENTS,ge)),We&&(xe["#text"]=!0),Me&&S(xe,["html","head","body"]),xe.table&&(S(xe,["tbody"]),delete we.tbody),c&&c(t),ut=t)},pt=S({},["mi","mo","mn","ms","mtext"]),dt=S({},["foreignobject","desc","title","annotation-xml"]),ht=S({},["title","style","font","a","script"]),mt=S({},F);S(mt,R),S(mt,P);var gt=S({},I);S(gt,M);var vt=function(e){C(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},Et=function(e,t){try{C(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){C(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(He||Ue)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ct=function(e){var t,n;if(je)e="<remove></remove>"+e;else{var r=A(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===me&&rt===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=ie?ie.createHTML(e):e;if(rt===nt)try{t=(new g).parseFromString(o,me)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(rt,"template",null);try{t.documentElement.innerHTML=ot?ae:o}catch(e){}}var i=t.body||t.documentElement;return e&&n&&i.insertBefore(a.createTextNode(n),i.childNodes[0]||null),rt===nt?fe.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},Tt=function(e){return le.call(e.ownerDocument||e,e,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT,null,!1)},yt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},At=function(e,t,n){he[e]&&v(he[e],(function(e){e.call(o,t,n,ut)}))},bt=function(e){var t,n;if(At("beforeSanitizeElements",e,null),(n=e)instanceof m&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof h)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return vt(e),!0;if(_(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=ge(e.nodeName);if(At("uponSanitizeElement",e,{tagName:r,allowedTags:xe}),e.hasChildNodes()&&!yt(e.firstElementChild)&&(!yt(e.content)||!yt(e.content.firstElementChild))&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&_(/<template/i,e.innerHTML))return vt(e),!0;if(!xe[r]||we[r]){if(!we[r]&&xt(r)){if(Se.tagNameCheck instanceof RegExp&&_(Se.tagNameCheck,r))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(r))return!1}if(We&&!Ye[r]){var i=re(e)||e.parentNode,a=ne(e)||e.childNodes;if(a&&i)for(var s=a.length-1;s>=0;--s)i.insertBefore(ee(a[s],!0),te(e))}return vt(e),!0}return e instanceof f&&!function(e){var t=re(e);t&&t.tagName||(t={namespaceURI:rt,tagName:"template"});var n=T(e.tagName),r=T(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===r||pt[r]):Boolean(mt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&dt[r]:Boolean(gt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!dt[r])&&!(t.namespaceURI===et&&!pt[r])&&!gt[n]&&(ht[n]||!mt[n]):!("application/xhtml+xml"!==me||!it[e.namespaceURI]))}(e)?(vt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,t=b(t,ve," "),t=b(t,Ee," "),t=b(t,Ce," "),e.textContent!==t&&(C(o.removed,{element:e.cloneNode()}),e.textContent=t)),At("afterSanitizeElements",e,null),!1):(vt(e),!0)},Dt=function(e,t,n){if(Ge&&("id"===t||"name"===t)&&(n in a||n in lt))return!1;if(Fe&&!Ne[t]&&_(Te,t));else if(Be&&_(ye,t));else if(!ke[t]||Ne[t]){if(!(xt(e)&&(Se.tagNameCheck instanceof RegExp&&_(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&_(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&_(Se.tagNameCheck,n)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(n))))return!1}else if(Ze[t]);else if(_(De,b(n,be,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==D(n,"data:")||!Xe[e])if(Re&&!_(Ae,b(n,be,"")));else if(n)return!1;return!0},xt=function(e){return e.indexOf("-")>0},_t=function(t){var n,r,i,a;At("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(a=s.length;a--;){var l=n=s[a],c=l.name,f=l.namespaceURI;if(r="value"===c?n.value:x(n.value),i=ge(c),u.attrName=i,u.attrValue=r,u.keepAttr=!0,u.forceKeepAttr=void 0,At("uponSanitizeAttribute",t,u),r=u.attrValue,!u.forceKeepAttr&&(Et(c,t),u.keepAttr))if(Pe||!_(/\/>/i,r)){Ie&&(r=b(r,ve," "),r=b(r,Ee," "),r=b(r,Ce," "));var p=ge(t.nodeName);if(Dt(p,i,r)){if(!Ke||"id"!==i&&"name"!==i||(Et(c,t),r="user-content-"+r),ie&&"object"===e(O)&&"function"==typeof O.getAttributeType)if(f);else switch(O.getAttributeType(p,i)){case"TrustedHTML":r=ie.createHTML(r);break;case"TrustedScriptURL":r=ie.createScriptURL(r)}try{f?t.setAttributeNS(f,c,r):t.setAttribute(c,r),E(o.removed)}catch(e){}}}else Et(c,t)}At("afterSanitizeAttributes",t,null)}},kt=function e(t){var n,r=Tt(t);for(At("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)At("uponSanitizeShadowNode",n,null),bt(n)||(n.content instanceof s&&e(n.content),_t(n));At("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(t){var r,a,u,c,f,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((ot=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!yt(t)){if("function"!=typeof t.toString)throw k("toString is not a function");if("string"!=typeof(t=t.toString()))throw k("dirty is not a string, aborting")}if(!o.isSupported){if("object"===e(n.toStaticHTML)||"function"==typeof n.toStaticHTML){if("string"==typeof t)return n.toStaticHTML(t);if(yt(t))return n.toStaticHTML(t.outerHTML)}return t}if(Le||ft(p),o.removed=[],"string"==typeof t&&(qe=!1),qe){if(t.nodeName){var d=ge(t.nodeName);if(!xe[d]||we[d])throw k("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof l)1===(a=(r=Ct("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!He&&!Ie&&!Me&&-1===t.indexOf("<"))return ie&&ze?ie.createHTML(t):t;if(!(r=Ct(t)))return He?null:ze?ae:""}r&&je&&vt(r.firstChild);for(var h=Tt(qe?t:r);u=h.nextNode();)3===u.nodeType&&u===c||bt(u)||(u.content instanceof s&&kt(u.content),_t(u),c=u);if(c=null,qe)return t;if(He){if(Ue)for(f=ce.call(r.ownerDocument);r.firstChild;)f.appendChild(r.firstChild);else f=r;return(ke.shadowroot||ke.shadowrootmod)&&(f=pe.call(i,f,!0)),f}var m=Me?r.outerHTML:r.innerHTML;return Me&&xe["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&_(Q,r.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+m),Ie&&(m=b(m,ve," "),m=b(m,Ee," "),m=b(m,Ce," ")),ie&&ze?ie.createHTML(m):m},o.setConfig=function(e){ft(e),Le=!0},o.clearConfig=function(){ut=null,Le=!1},o.isValidAttribute=function(e,t,n){ut||ft({});var r=ge(e),o=ge(t);return Dt(r,o,n)},o.addHook=function(e,t){"function"==typeof t&&(he[e]=he[e]||[],C(he[e],t))},o.removeHook=function(e){if(he[e])return E(he[e])},o.removeHooks=function(e){he[e]&&(he[e]=[])},o.removeAllHooks=function(){he={}},o}()}()},49385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,l,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p<d;++p)if(null!=(t=arguments[p]))for(n in t)r=u(f,n),f!==(o=u(t,n))&&(h&&o&&(a(o)||(l=i(o)))?(l?(l=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},s(f,{name:n,newValue:e(h,c,o)})):void 0!==o&&s(f,{name:n,newValue:o}));return f}},34713:(e,t,n)=>{"use strict";var r=n(13056);e.exports=r(["audio","canvas","embed","iframe","img","math","object","picture","svg","video"])},19776:(e,t,n)=>{"use strict";var r=n(59209),o=n(57956),i=n(70521),a=n(26916),s=n(97078),u=n(22896),l=n(51960),c=n(53404);e.exports=function(e,t){var n,i=t||{};return i.messages?(n=i,i={}):n=i.file,d(e,{schema:"svg"===i.space?o:r,file:n,verbose:i.verbose,location:!1})};var f={}.hasOwnProperty,p={"#document":h,"#document-fragment":h,"#text":function(e){return{type:"text",value:e.value}},"#comment":function(e){return{type:"comment",value:e.data}},"#documentType":function(e){return{type:"doctype",name:e.name||"",public:e.publicId||null,system:e.systemId||null}}};function d(e,t){var n,s,u,c=t.schema,h=f.call(p,e.nodeName)?p[e.nodeName]:m;return h===m&&(t.schema=e.namespaceURI===a.svg?o:r),e.childNodes&&(n=function(e,t){for(var n=e.length,r=-1,o=[];++r<n;)o[r]=d(e[r],t);return o}(e.childNodes,t)),s=h(e,n,t),e.sourceCodeLocation&&t.file&&(u=function(e,t,n){var r,o,a,s,u=n.schema,c=n.verbose,f=g(t);if("element"===e.type&&(r=e.children[e.children.length-1],!t.endTag&&r&&r.position&&r.position.end&&(f.end=l(r.position.end)),c)){for(a in s={},o=t.attrs)s[i(u,a).property]=g(o[a]);e.data={position:{opening:g(t.startTag),closing:t.endTag?g(t.endTag):null,properties:s}}}return f}(s,e.sourceCodeLocation,t),u&&(t.location=!0,s.position=u)),t.schema=c,s}function h(e,t,n){var r,o={type:"root",children:t,data:{}};return o.data.quirksMode="quirks"===e.mode||"limited-quirks"===e.mode,n.file&&n.location&&(r=String(n.file),o.position={start:{line:1,column:1,offset:0},end:{line:c(r,"\n")+1,column:r.length-r.lastIndexOf("\n"),offset:r.length}}),o}function m(e,t,n){for(var r,o,i,a,l,c="svg"===n.schema.space?s:u,f=e.tagName,p=e.attrs,h=p.length,m={},v=-1;++v<h;)m[((r=p[v]).prefix?r.prefix+":":"")+r.name]=r.value;return o=c(f,m,t),"template"===f&&"content"in e&&(a=(i=e.sourceCodeLocation)&&i.startTag&&g(i.startTag).end,l=i&&i.endTag&&g(i.endTag).start,o.content=d(e.content,n),(a||l)&&n.file&&(o.content.position={start:a,end:l})),o}function g(e){var t=v({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=v({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:null}function v(e){return e.line&&e.column?e:null}},36040:e=>{"use strict";var t={}.hasOwnProperty;e.exports=function(e,n){var r,o;return!(!e||!n||"object"!=typeof e||"element"!==e.type)&&(null!=(o=(r=e.properties)&&t.call(r,n)&&r[n])&&!1!==o)}},13056:e=>{"use strict";function t(e){return e&&"object"==typeof e&&"element"===e.type&&"string"==typeof e.tagName}e.exports=function e(n){if("string"==typeof n)return function(e){return function(n){return t(n)&&n.tagName===e}}(n);if(null==n)return t;if("object"==typeof n)return r=function(t){for(var n=t.length,r=-1,o=[];++r<n;)o[r]=e(t[r]);return o}(n),o=r.length,function(){for(var e=-1;++e<o;)if(r[e].apply(this,arguments))return!0;return!1};var r,o;if("function"==typeof n)return function(e){return function(n){return t(n)&&Boolean(e.apply(this,arguments))}}(n);throw new Error("Expected function, string, or array as test")}},85909:(e,t,n)=>{"use strict";var r=n(13056);function o(e,t,n,o,i){var a=null!=o,s=null!=n,u=r(t);if(s&&("number"!=typeof n||n<0||n===1/0))throw new Error("Expected positive finite index for child node");if(a&&(!o.type||!o.children))throw new Error("Expected parent node");if(!e||!e.type||"string"!=typeof e.type)return!1;if(a!==s)throw new Error("Expected both parent and index");return u.call(i,e,n,o)}e.exports=o,o.convert=r},74163:e=>{"use strict";e.exports=function(e,n){for(var r,o,i,a=e||"",s=n||"div",u={},l=0;l<a.length;)t.lastIndex=l,i=t.exec(a),(r=a.slice(l,i?i.index:a.length))&&(o?"#"===o?u.id=r:u.className?u.className.push(r):u.className=[r]:s=r,l+=r.length),i&&(o=i[0],l++);return{type:"element",tagName:s,properties:u,children:[]}};var t=/[#.]/g},51389:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i=t||{},p={};return d.nodeById=p,d.baseFound=!1,d.frozenBaseUrl=null,d.wrapText=!0,d.qNesting=0,d.handlers=i.handlers?s(l,i.handlers):l,d.augment=h,d.document=i.document,d.checked=i.checked||"[x]",d.unchecked=i.unchecked||"[ ]",d.quotes=i.quotes||['"'],a(e,"element",(function(e){var t=r(e,"id")&&String(e.properties.id).toUpperCase();t&&!c.call(p,t)&&(p[t]=e)})),o({newlines:!0===i.newlines})(e),n=u(d,e,null),a(n,"text",(function(e,t,n){var r=n.children[t-1];return r&&e.type===r.type?(r.value+=e.value,n.children.splice(t,1),r.position&&e.position&&(r.position.end=e.position.end),t-1):(e.value=e.value.replace(/[\t ]*(\r?\n|\r)[\t ]*/,"$1"),f(n)&&(t||(e.value=e.value.replace(/^[\t ]+/,"")),t===n.children.length-1&&(e.value=e.value.replace(/[\t ]+$/,""))),e.value?void 0:(n.children.splice(t,1),t))})),n;function d(e,t,n,r){var o;return!r&&("string"==typeof n||"object"==typeof n&&"length"in n)&&(r=n,n={}),o=s({type:t},n),"string"==typeof r?o.value=r:r&&(o.children=r),h(e,o)}function h(e,t){return e.position&&(t.position=e.position),t}};var r=n(36040),o=n(26653),i=n(2547),a=n(18043),s=n(51960),u=n(25140),l=n(77603),c=n(22843),f=i(["heading","paragraph","root"])},134:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,o=t.children||[],i=[],a=-1;++a<o.length;)(n=r(e,o[a],t))&&(i=i.concat(n));return i};var r=n(25140)},55170:e=>{"use strict";e.exports=function(e,t){e.baseFound||(e.frozenBaseUrl=t.properties.href,e.baseFound=!0)}},34097:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"blockquote",r(e,t))};var r=n(27987)},98035:e=>{"use strict";e.exports=function(e,t){return e.wrapText?e(t,"break"):e(t,"text"," ")}},34589:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o,f=t.children,p=-1;if(l(t))for(;++p<f.length;)if(c(f[p])&&r(f[p],"className")){n=f[p].properties.className;break}if(n)for(p=-1;++p<n.length;)if(n[p].slice(0,u.length)===u){o=n[p].slice(u.length);break}return e(t,"code",{lang:o||null,meta:null},a(s(e,i(t))))};var r=n(36040),o=n(13056),i=n(95318),a=n(67876),s=n(56026),u="language-",l=o("pre"),c=o("code")},66145:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"html","\x3c!--"+r(e,t.value)+"--\x3e")};var r=n(56026)},7459:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"delete",r(e,t))};var r=n(134)},81911:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,r,i=t.children,c=-1,f=[],p=[],d={titles:[],definitions:[]};++c<i.length;)r=i[c],f=f.concat(a(r)?r.children:r);for(c=-1;++c<f.length;)r=f[c],s(r)?(u(f[c-1])&&(p.push(d),d={titles:[],definitions:[]}),d.titles.push(r)):d.definitions.push(r);for(p.push(d),c=-1,n=[];++c<p.length;)(d=l(e,p[c].titles).concat(l(e,p[c].definitions))).length&&n.push({type:"listItem",spread:d.length>1,checked:null,children:d});if(n.length)return e(t,"list",{ordered:!1,start:null,spread:o(n)},n)};var r=n(13056),o=n(73982),i=n(1693),a=r("div"),s=r("dt"),u=r("dd");function l(e,t){var n=i(e,{children:t});return n.length?1===n.length?n[0].children:[{type:"list",ordered:!1,start:null,spread:o(n),children:n}]:n}},92281:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"emphasis",r(e,t))};var r=n(134)},18969:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=Number(t.tagName.charAt(1))||1,i=e.wrapText;return e.wrapText=!1,n=e(t,"heading",{depth:o},r(e,t)),e.wrapText=i,n};var r=n(134)},43710:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.properties.src,i=t.properties.title;if(n&&i)return{type:"link",title:null,url:r(e,n),children:[{type:"text",value:o(e,i)}]}};var r=n(39654),o=n(56026)},790:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"image",{url:r(e,t.properties.src),title:t.properties.title||null,alt:t.properties.alt||""})};var r=n(39654)},77603:(e,t,n)=>{"use strict";var r=n(134),o=n(27987),i=n(55170),a=n(34097),s=n(98035),u=n(34589),l=n(66145),c=n(7459),f=n(81911),p=n(92281),d=n(18969),h=n(43710),m=n(790),g=n(25450),v=n(75220),E=n(36443),C=n(58898),T=n(59707),y=n(44880),A=n(53043),b=n(89299),D=n(43568),x=n(1649),_=n(91922),k=n(97134),O=n(6),S=n(35621),w=n(71807),N=n(35149),B=n(33222),F=n(45613);function R(){}t.root=D,t.text=w,t.comment=l,t.doctype=R,t.applet=R,t.area=R,t.basefont=R,t.bgsound=R,t.caption=R,t.col=R,t.colgroup=R,t.command=R,t.content=R,t.datalist=R,t.dialog=R,t.element=R,t.embed=R,t.frame=R,t.frameset=R,t.isindex=R,t.keygen=R,t.link=R,t.math=R,t.menu=R,t.menuitem=R,t.meta=R,t.nextid=R,t.noembed=R,t.noframes=R,t.optgroup=R,t.option=R,t.param=R,t.script=R,t.shadow=R,t.source=R,t.spacer=R,t.style=R,t.svg=R,t.template=R,t.title=R,t.track=R,t.abbr=r,t.acronym=r,t.bdi=r,t.bdo=r,t.big=r,t.blink=r,t.button=r,t.canvas=r,t.cite=r,t.data=r,t.details=r,t.dfn=r,t.font=r,t.ins=r,t.label=r,t.map=r,t.marquee=r,t.meter=r,t.nobr=r,t.noscript=r,t.object=r,t.output=r,t.progress=r,t.rb=r,t.rbc=r,t.rp=r,t.rt=r,t.rtc=r,t.ruby=r,t.slot=r,t.small=r,t.span=r,t.sup=r,t.sub=r,t.tbody=r,t.tfoot=r,t.thead=r,t.time=r,t.address=o,t.article=o,t.aside=o,t.body=o,t.center=o,t.div=o,t.fieldset=o,t.figcaption=o,t.figure=o,t.form=o,t.footer=o,t.header=o,t.hgroup=o,t.html=o,t.legend=o,t.main=o,t.multicol=o,t.nav=o,t.picture=o,t.section=o,t.a=E,t.audio=y,t.b=_,t.base=i,t.blockquote=a,t.br=s,t.code=g,t.dir=T,t.dl=f,t.dt=C,t.dd=C,t.del=c,t.em=p,t.h1=d,t.h2=d,t.h3=d,t.h4=d,t.h5=d,t.h6=d,t.hr=B,t.i=p,t.iframe=h,t.img=m,t.image=m,t.input=v,t.kbd=g,t.li=C,t.listing=u,t.mark=p,t.ol=T,t.p=A,t.plaintext=u,t.pre=u,t.q=b,t.s=c,t.samp=g,t.select=x,t.strike=c,t.strong=_,t.summary=A,t.table=S,t.td=k,t.textarea=N,t.th=k,t.tr=O,t.tt=g,t.u=p,t.ul=T,t.var=g,t.video=y,t.wbr=F,t.xmp=u},25450:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"inlineCode",o(e,r(t)))};var r=n(95318),o=n(56026)},75220:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,r=t.properties,c=r.value||r.placeholder,f=[],p=[],d=-1;if(!r.disabled&&"hidden"!==r.type&&"file"!==r.type){if("checkbox"===r.type||"radio"===r.type)return e(t,"text",u(e,e[r.checked?"checked":"unchecked"]));if("image"===r.type)return r.alt||c?e(t,"image",{url:s(e,r.src),title:r.title&&u(e,r.title)||null,alt:u(e,r.alt||c)}):[];if(c?p=[[c]]:"password"!==r.type&&"file"!==r.type&&"submit"!==r.type&&"reset"!==r.type&&"button"!==r.type&&r.list&&(n=String(r.list).toUpperCase(),a.call(e.nodeById,n)&&l(e.nodeById[n])&&(p=i(e,e.nodeById[n],r))),p.length){if("password"===r.type&&(p[0]=[o("•",p[0][0].length)]),"url"===r.type||"email"===r.type){for(;++d<p.length;)c=s(e,p[d][0]),f.push(e(t,"link",{title:null,url:u(e,"email"===r.type?"mailto:"+c:c)},[{type:"text",value:u(e,p[d][1]||c)}])),d!==p.length-1&&f.push({type:"text",value:", "});return f}for(;++d<p.length;)f.push(p[d][1]?p[d][1]+" ("+p[d][0]+")":p[d][0]);return e(t,"text",u(e,f.join(", ")))}}};var r=n(13056),o=n(34076),i=n(82884),a=n(22843),s=n(39654),u=n(56026),l=r("datalist")},36443:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"link",{title:t.properties.title||null,url:o(e,t.properties.href)},r(e,t))};var r=n(134),o=n(39654)},58898:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,r,u,l,c=t.children[0],f=null;return a(c)&&(r=c.children[0],!s(r)||"checkbox"!==r.properties.type&&"radio"!==r.properties.type||(f=Boolean(r.properties.checked),(l=o(c)).children=c.children.slice(1),(u=o(t)).children=[l].concat(t.children.slice(1)))),e(t,"listItem",{spread:(n=i(e,u||t)).length>1,checked:f},n)};var r=n(13056),o=n(25833),i=n(27987),a=r("p"),s=r("input")},59707:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=s(t),r=a(e,t),u=null;return n&&(u=o(t,"start")?t.properties.start:1),e(t,"list",{ordered:n,start:u,spread:i(r)},r)};var r=n(13056),o=n(36040),i=n(73982),a=n(1693),s=r("ol")},44880:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,r=a(e,t),f=c(t)&&t.properties.poster,p=t.properties.src,d=-1;if(i({type:"root",children:r},"link",(function(){return n=!0,i.EXIT})),n||u.needed(r))return r;for(;!p&&++d<t.children.length;)l(t.children[d])&&(p=t.children[d].properties.src);return f&&(r=[{type:"image",title:null,url:s(e,f),alt:o({children:r})}]),{type:"link",title:t.properties.title||null,url:s(e,p),children:r}};var r=n(13056),o=n(75330),i=n(18043),a=n(134),s=n(39654),u=n(76115),l=r("source"),c=r("video")},53043:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=r(e,t);if(n.length)return e(t,"paragraph",n)};var r=n(134)},89299:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=e.quotes[e.qNesting%e.quotes.length];return e.qNesting++,n=r(e,t),e.qNesting--,n.unshift({type:"text",value:o.charAt(0)}),n.push({type:"text",value:o.length>1?o.charAt(1):o}),n};var r=n(134)},43568:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=r(e,t);return(e.document||o.needed(n))&&(n=o(n)),e(t,"root",n)};var r=n(134),o=n(76115)},1649:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,i=r(e,t),a=-1,s=[];++a<i.length;)n=i[a],s.push(n[1]?n[1]+" ("+n[0]+")":n[0]);if(s.length)return e(t,"text",o(e,s.join(", ")))};var r=n(82884),o=n(56026)},91922:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(134)},97134:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=e.wrapText;return e.wrapText=!1,n=e(t,"tableCell",r(e,t)),e.wrapText=o,n};var r=n(134)},6:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"tableRow",r(e,t))};var r=n(134)},35621:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=function(e){var t=!0,n=[null],r=0,i=0;return o(e,"element",(function(e){a(e)?t=!1:s(e)?(r++,i=0):u(e)&&(n[i]||(n[i]=e.properties.align||null),t&&r<2&&"th"===e.tagName&&(t=!1),i++)})),{align:n,headless:t}}(t);return e(t,"table",{align:n.align},function(e,t){var n,r,o=[],i=-1;for(t.headless&&o.push({type:"tableRow",children:[]});++i<e.length;)"tableRow"===(n=e[i]).type?(r&&(n.children=r.concat(n.children),r=void 0),o.push(n)):(r||(r=[]),r.push(n));for(r&&((n=o[o.length-1]).children=n.children.concat(r)),i=-1;++i<o.length;)(n=o[i]).children=l(n.children,t);return o}(i(e,t),n))};var r=n(13056),o=n(18043),i=n(134),a=r("thead"),s=r("tr"),u=r(["th","td"]);function l(e,t){for(var n,r,o=[],i=-1;++i<e.length;)"tableCell"===(n=e[i]).type?(r&&(n.children=r.concat(n.children),r=void 0),o.push(n)):(r||(r=[]),r.push(n));for(r&&((n=o[o.length-1])||(n={type:"tableCell",children:[]},o.push(n)),n.children=n.children.concat(r)),i=o.length-1;++i<t.align.length;)o.push({type:"tableCell",children:[]});return o}},71807:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"text",r(e,t.value))};var r=n(56026)},35149:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"text",o(e,r(t)))};var r=n(95318),o=n(56026)},33222:e=>{"use strict";e.exports=function(e,t){return e(t,"thematicBreak")}},45613:e=>{"use strict";e.exports=function(e,t){return e(t,"text","")}},25140:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var r;if("element"===t.type){if(t.properties&&"ignore"===t.properties.dataMdast)return;o.call(e.handlers,t.tagName)&&(r=e.handlers[t.tagName])}else o.call(e.handlers,t.type)&&(r=e.handlers[t.type]);return("function"==typeof r?r:a)(e,t,n)};var r=n(134),o=n(22843),i=n(56026);function a(e,t){return t.value?e(t,"text",i(e,t.value)):r(e,t)}},82884:(e,t,n)=>{"use strict";var r=n(36040),o=n(13056),i=n(95318),a=n(56026);e.exports=function(e,t,n){for(var o,s,l,c,f=n||t.properties,p=u(t),d=Math.min(parseInt(f.size,10),0)||(f.multiple?4:1),h=-1,m=[],g=[];++h<p.length;)r(p[h],"selected")&&m.push(p[h]);for(p=(m.length?m:p).slice(0,d),h=-1;++h<p.length;)o=p[h],l=(s=a(e,i(o)))||o.properties.label,c=o.properties.value||s,g.push([c,l===c?null:l]);return g};var s=o("option");function u(e){for(var t,n=e.children,o=-1,i=[];++o<n.length;)t=n[o],s(t)?r(t,"disabled")||i.push(t):t.children&&(i=i.concat(u(t)));return i}},73982:e=>{"use strict";e.exports=function(e){var t=-1;if(e.length>1)for(;++t<e.length;)if(e[t].spread)return!0;return!1}},22843:e=>{"use strict";e.exports={}.hasOwnProperty},39654:e=>{"use strict";e.exports=function(e,t){return null==t?"":e.frozenBaseUrl&&"undefined"!=typeof URL?String(new URL(t,e.frozenBaseUrl)):t}},25833:(e,t,n)=>{"use strict";e.exports=function(e){var t,n={};for(t in e)r.call(e,t)&&"children"!==t&&(n[t]=e[t]);return n};var r=n(22843)},27987:(e,t,n)=>{"use strict";e.exports=function(e,t){return o(r(e,t))};var r=n(134),o=n(76115)},1693:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n=r(e,t),o=-1;++o<n.length;)"listItem"!==n[o].type&&(n[o]={type:"listItem",spread:!1,checked:null,children:[n[o]]});return n};var r=n(134)},56026:e=>{"use strict";e.exports=function(e,t){return e.wrapText?t:t.replace(/\r?\n|\r/g," ")}},76115:(e,t,n)=>{"use strict";e.exports=a,a.needed=u;var r=n(49385),o=n(96967),i=n(25833);function a(e){return s(e,(function(e){var t=e[0];return 1!==e.length||"text"!==t.type||" "!==t.value&&"\n"!==t.value?{type:"paragraph",children:e}:[]}))}function s(e,t,n){for(var r,i,a=n||c,s=function(e){for(var t,n=[],r=-1;++r<e.length;)"delete"!==(t=e[r]).type&&"link"!==t.type||!u(t.children)?n.push(t):n=n.concat(l(t));return n}(e),f=[],p=-1;++p<s.length;)r=s[p],o(r)?(i||(i=[]),i.push(r)):(i&&(f=f.concat(t(i)),i=void 0),f=f.concat(a(r)));return i&&(f=f.concat(t(i))),f}function u(e){for(var t,n=-1;++n<e.length;)if(t=e[n],!o(t)||t.children&&u(t.children))return!0}function l(e){return s(e.children,(function(t){var n=r(!0,{},i(e));return n.children=t,n}),(function(t){var n=r(!0,{},i(e)),o=i(t);return o.children=[n],n.children=t.children,o}))}function c(e){return e}},54332:e=>{e.exports=function(e){return e}},56770:(e,t,n)=>{"use strict";e.exports=u;var r=n(2547),o=n(54332),i=!0,a="skip",s=!1;function u(e,t,n,u){var l,c;"function"==typeof t&&"function"!=typeof n&&(u=n,n=t,t=null),c=r(t),l=u?-1:1,function e(r,f,p){var d,h="object"==typeof r&&null!==r?r:{};return"string"==typeof h.type&&(d="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0,m.displayName="node ("+o(h.type+(d?"<"+d+">":""))+")"),m;function m(){var o,d,h=p.concat(r),m=[];if((!t||c(r,f,p[p.length-1]||null))&&(m=function(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[i,e]:[e]}(n(r,p)),m[0]===s))return m;if(r.children&&m[0]!==a)for(d=(u?r.children.length:-1)+l;d>-1&&d<r.children.length;){if((o=e(r.children[d],d,h)())[0]===s)return o;d="number"==typeof o[1]?o[1]:d+l}return m}}(e,null,[])()}u.CONTINUE=i,u.SKIP=a,u.EXIT=s},18043:(e,t,n)=>{"use strict";e.exports=s;var r=n(56770),o=r.CONTINUE,i=r.SKIP,a=r.EXIT;function s(e,t,n,o){"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],o=r?r.children.indexOf(e):null;return n(e,o,r)}),o)}s.CONTINUE=o,s.SKIP=i,s.EXIT=a},95318:(e,t,n)=>{"use strict";var r=n(34076),o=n(13056),i=n(48313);e.exports=function(e){var t,n,o,i,a=e.children||[],s=d(e),l=E(e,{}),c=-1;if("text"===e.type||"comment"===e.type)return m(e,{whiteSpace:l,breakBefore:!0,breakAfter:!0});for(t=[];++c<a.length;)t=t.concat(h(a[c],0,e,{whiteSpace:l,breakBefore:c?null:s,breakAfter:c<a.length-1?u(a[c+1]):s}));for(c=-1,n=[];++c<t.length;)"number"==typeof(o=t[c])?void 0!==i&&o>i&&(i=o):o&&(i&&n.push(r("\n",i)),i=0,n.push(o));return n.join("")};var a=/\n/g,s=/[\t ]+/g,u=o("br"),l=o("p"),c=o(["th","td"]),f=o("tr"),p=o(["datalist","head","noembed","noframes","rp","script","style","template","title","noscript",function(e){return(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),d=o(["caption","html","body","address","blockquote","center","dialog","div","figure","figcaption","footer","form,","header","hr","legend","listing","main","p","plaintext","pre","xmp","article","aside","h1","h2","h3","h4","h5","h6","hgroup","nav","section","dir","dd","dl","dt","menu","ol","ul"]);function h(e,t,n,r){return"element"===e.type?function(e,t,n,r){var o,a,s=E(e,r),m=e.children||[],g=-1,v=[];if(p(e))return v;for(u(e)||f(e)&&i(n,e,f)?a="\n":l(e)?(o=2,a=2):d(e)&&(o=1,a=1);++g<m.length;)v=v.concat(h(m[g],0,e,{whiteSpace:s,breakBefore:g?null:o,breakAfter:g<m.length-1?u(m[g+1]):a}));return c(e)&&i(n,e,c)&&v.push("\t"),o&&v.unshift(o),a&&v.push(a),v}(e,0,n,r):"text"===e.type?["normal"===r.whiteSpace?m(e,r):g(e)]:[]}function m(e,t){for(var n,r,o,i=String(e.value),s=[],u=[],l=0,c=-1;l<i.length;)a.lastIndex=l,r=(n=a.exec(i))?n.index:i.length,s.push(v(i.slice(l,r).replace(/[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]/g,""),t.breakBefore,t.breakAfter)),l=r+1;for(;++c<s.length;)8203===s[c].charCodeAt(s[c].length-1)||c<s.length-1&&8203===s[c+1].charCodeAt(0)?(u.push(s[c]),o=""):s[c]&&(o&&u.push(o),u.push(s[c]),o=" ");return u.join("")}function g(e){return String(e.value)}function v(e,t,n){for(var r,o,i=[],a=0;a<e.length;)s.lastIndex=a,o=(r=s.exec(e))?r.index:e.length,a||o||!r||t||i.push(""),a!==o&&i.push(e.slice(a,o)),a=r?o+r[0].length:o;return a===o||n||i.push(""),i.join(" ")}function E(e,t){var n=e.properties||{},r=t.whiteSpace||"normal";switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":r;case"textarea":return"pre-wrap";default:return r}}},67273:e=>{"use strict";e.exports=function(e){var n;if(e&&"object"==typeof e&&"text"===e.type)n=e.value||"";else{if("string"!=typeof e)return!1;n=e}return""===n.replace(t,"")};var t=/[ \t\n\f\r]/g},68924:(e,t,n)=>{"use strict";var r=n(70521),o=n(2939),i=n(74163),a=n(93113).parse,s=n(97327).parse;e.exports=function(e,t,n){var o=n?function(e){for(var t,n=e.length,r=-1,o={};++r<n;)o[(t=e[r]).toLowerCase()]=t;return o}(n):null;return function(e,n){var r,a=i(e,t),s=Array.prototype.slice.call(arguments,2),c=a.tagName.toLowerCase();if(a.tagName=o&&u.call(o,c)?o[c]:c,n&&function(e,t){return"string"==typeof e||"length"in e||function(e,t){var n=t.type;return!("input"===e||!n||"string"!=typeof n)&&("object"==typeof t.children&&"length"in t.children||(n=n.toLowerCase(),"button"===e?"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n:"value"in t))}(t.tagName,e)}(n,a)&&(s.unshift(n),n=null),n)for(r in n)f(a.properties,r,n[r]);return l(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a};function f(t,n,o){var i,u,l;null!=o&&o==o&&(u=(i=r(e,n)).property,"string"==typeof(l=o)&&(i.spaceSeparated?l=a(l):i.commaSeparated?l=s(l):i.commaOrSpaceSeparated&&(l=a(s(l).join(" ")))),"style"===u&&"string"!=typeof o&&(l=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(l)),"className"===u&&t.className&&(l=t.className.concat(l)),t[u]=function(e,t,n){var r,o,i;if("object"!=typeof n||!("length"in n))return c(e,t,n);for(o=n.length,r=-1,i=[];++r<o;)i[r]=c(e,t,n[r]);return i}(i,u,l))}};var u={}.hasOwnProperty;function l(e,t){var n,r;if("string"!=typeof t&&"number"!=typeof t)if("object"==typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)l(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function c(e,t,n){var r=n;return e.number||e.positiveNumber?isNaN(r)||""===r||(r=Number(r)):(e.boolean||e.overloadedBoolean)&&("string"!=typeof r||""!==r&&o(n)!==o(t)||(r=!0)),r}},88977:(e,t,n)=>{"use strict";var r=n(59209),o=n(68924)(r,"div");o.displayName="html",e.exports=o},22896:(e,t,n)=>{"use strict";e.exports=n(88977)},97078:(e,t,n)=>{"use strict";var r=n(57956),o=n(98176),i=n(68924)(r,"g",o);i.displayName="svg",e.exports=i},91285:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},73756:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},88637:e=>{"use strict";e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return!/[^0-9a-z\xDF-\xFF]/.test(e.toLowerCase())}},65279:(e,t,n)=>{"use strict";var r=n(73756),o=n(61278);e.exports=function(e){return r(e)||o(e)}},61278:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},48833:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},87202:(e,t)=>{"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e){return e=u(e),i[e]||e.toUpperCase().charCodeAt(0)}function u(e){return e=e.toLowerCase(),o[e]||e}t.ZP=function(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var a=e.map((function(e){return function(e,t){var n=t&&t.byKey,a={},l=(e=e.replace("++","+add")).split("+"),c=l.length;for(var f in r)a[r[f]]=!1;var p=!0,d=!1,h=void 0;try{for(var m,g=l[Symbol.iterator]();!(p=(m=g.next()).done);p=!0){var v=m.value,E=v.endsWith("?")&&v.length>1;E&&(v=v.slice(0,-1));var C=u(v),T=r[C];if(v.length>1&&!T&&!o[v]&&!i[C])throw new TypeError('Unknown modifier: "'+v+'"');1!==c&&T||(n?a.key=C:a.which=s(v)),T&&(a[T]=!E||null)}}catch(e){d=!0,h=e}finally{try{!p&&g.return&&g.return()}finally{if(d)throw h}}return a}(e,t)})),l=function(e){return a.some((function(t){return function(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&(null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r)return!1}return!0}(t,e)}))};return null==n?l:l(n)}},74898:e=>{"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\s/},2821:e=>{"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\w/},39515:(e,t,n)=>{var r=n(38761)(n(37772),"DataView");e.exports=r},89612:(e,t,n)=>{var r=n(52118),o=n(96909),i=n(98138),a=n(4174),s=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},66504:(e,t,n)=>{var r=n(39413),o=n(73620);function i(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},80235:(e,t,n)=>{var r=n(3945),o=n(21846),i=n(88028),a=n(72344),s=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},45859:(e,t,n)=>{var r=n(39413),o=n(73620);function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},10326:(e,t,n)=>{var r=n(38761)(n(37772),"Map");e.exports=r},96738:(e,t,n)=>{var r=n(92411),o=n(36417),i=n(86928),a=n(79493),s=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},52760:(e,t,n)=>{var r=n(38761)(n(37772),"Promise");e.exports=r},2143:(e,t,n)=>{var r=n(38761)(n(37772),"Set");e.exports=r},45386:(e,t,n)=>{var r=n(96738),o=n(52842),i=n(52482);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},86571:(e,t,n)=>{var r=n(80235),o=n(15243),i=n(72858),a=n(4417),s=n(8605),u=n(71418);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},50857:(e,t,n)=>{var r=n(37772).Symbol;e.exports=r},79162:(e,t,n)=>{var r=n(37772).Uint8Array;e.exports=r},93215:(e,t,n)=>{var r=n(38761)(n(37772),"WeakMap");e.exports=r},49432:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},72517:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},67552:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},38333:(e,t,n)=>{var r=n(77832);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},34893:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},1634:(e,t,n)=>{var r=n(36473),o=n(79631),i=n(86152),a=n(73226),s=n(39045),u=n(77598),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),f=!n&&!c&&a(e),p=!n&&!c&&!f&&u(e),d=n||c||f||p,h=d?r(e.length,String):[],m=h.length;for(var g in e)!t&&!l.call(e,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},50343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},65067:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},87064:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},50217:e=>{e.exports=function(e){return e.split("")}},60091:(e,t,n)=>{var r=n(13940),o=n(41225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},22218:(e,t,n)=>{var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},67993:(e,t,n)=>{var r=n(752),o=n(90249);e.exports=function(e,t){return e&&r(t,o(t),e)}},55906:(e,t,n)=>{var r=n(752),o=n(18582);e.exports=function(e,t){return e&&r(t,o(t),e)}},13940:(e,t,n)=>{var r=n(83043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},18874:(e,t,n)=>{var r=n(86571),o=n(72517),i=n(60091),a=n(67993),s=n(55906),u=n(92175),l=n(51522),c=n(7680),f=n(19987),p=n(13483),d=n(76939),h=n(70940),m=n(99917),g=n(8222),v=n(78725),E=n(86152),C=n(73226),T=n(4714),y=n(29259),A=n(43679),b=n(90249),D=n(18582),x="[object Arguments]",_="[object Function]",k="[object Object]",O={};O[x]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[k]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[_]=O["[object WeakMap]"]=!1,e.exports=function e(t,n,S,w,N,B){var F,R=1&n,P=2&n,I=4&n;if(S&&(F=N?S(t,w,N,B):S(t)),void 0!==F)return F;if(!y(t))return t;var M=E(t);if(M){if(F=m(t),!R)return l(t,F)}else{var L=h(t),j=L==_||"[object GeneratorFunction]"==L;if(C(t))return u(t,R);if(L==k||L==x||j&&!N){if(F=P||j?{}:v(t),!R)return P?f(t,s(F,t)):c(t,a(F,t))}else{if(!O[L])return N?t:{};F=g(t,L,R)}}B||(B=new r);var H=B.get(t);if(H)return H;B.set(t,F),A(t)?t.forEach((function(r){F.add(e(r,n,S,r,t,B))})):T(t)&&t.forEach((function(r,o){F.set(o,e(r,n,S,o,t,B))}));var U=M?void 0:(I?P?d:p:P?D:b)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(F,o,e(r,n,S,o,t,B))})),F}},39413:(e,t,n)=>{var r=n(29259),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},85246:(e,t,n)=>{var r=n(45386),o=n(38333),i=n(34893),a=n(50343),s=n(47826),u=n(59950);e.exports=function(e,t,n,l){var c=-1,f=o,p=!0,d=e.length,h=[],m=t.length;if(!d)return h;n&&(t=a(t,s(n))),l?(f=i,p=!1):t.length>=200&&(f=u,p=!1,t=new r(t));e:for(;++c<d;){var g=e[c],v=null==n?g:n(g);if(g=l||0!==g?g:0,p&&v==v){for(var E=m;E--;)if(t[E]===v)continue e;h.push(g)}else f(t,v,l)||h.push(g)}return h}},24303:(e,t,n)=>{var r=n(26548),o=n(92019)(r);e.exports=o},21359:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},62034:(e,t,n)=>{var r=n(65067),o=n(95882);e.exports=function e(t,n,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u<l;){var c=t[u];n>0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},15308:(e,t,n)=>{var r=n(55463)();e.exports=r},26548:(e,t,n)=>{var r=n(15308),o=n(90249);e.exports=function(e,t){return e&&r(e,t,o)}},13324:(e,t,n)=>{var r=n(17297),o=n(33812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},1897:(e,t,n)=>{var r=n(65067),o=n(86152);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},53366:(e,t,n)=>{var r=n(50857),o=n(62107),i=n(37157),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},32726:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},20187:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},77832:(e,t,n)=>{var r=n(21359),o=n(22195),i=n(66024);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},88390:(e,t,n)=>{var r=n(45386),o=n(38333),i=n(34893),a=n(50343),s=n(47826),u=n(59950),l=Math.min;e.exports=function(e,t,n){for(var c=n?i:o,f=e[0].length,p=e.length,d=p,h=Array(p),m=1/0,g=[];d--;){var v=e[d];d&&t&&(v=a(v,s(t))),m=l(v.length,m),h[d]=!n&&(t||f>=120&&v.length>=120)?new r(d&&v):void 0}v=e[0];var E=-1,C=h[0];e:for(;++E<f&&g.length<m;){var T=v[E],y=t?t(T):T;if(T=n||0!==T?T:0,!(C?u(C,y):c(g,y,n))){for(d=p;--d;){var A=h[d];if(!(A?u(A,y):c(e[d],y,n)))continue e}C&&C.push(y),g.push(T)}}return g}},15183:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},88746:(e,t,n)=>{var r=n(51952),o=n(15125);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},51952:(e,t,n)=>{var r=n(86571),o=n(74871),i=n(11491),a=n(17416),s=n(70940),u=n(86152),l=n(73226),c=n(77598),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var E=u(e),C=u(t),T=E?p:s(e),y=C?p:s(t),A=(T=T==f?d:T)==d,b=(y=y==f?d:y)==d,D=T==y;if(D&&l(e)){if(!l(t))return!1;E=!0,A=!1}if(D&&!A)return v||(v=new r),E||c(e)?o(e,t,n,m,g,v):i(e,t,T,n,m,g,v);if(!(1&n)){var x=A&&h.call(e,"__wrapped__"),_=b&&h.call(t,"__wrapped__");if(x||_){var k=x?e.value():e,O=_?t.value():t;return v||(v=new r),g(k,O,n,m,v)}}return!!D&&(v||(v=new r),a(e,t,n,m,g,v))}},74511:(e,t,n)=>{var r=n(70940),o=n(15125);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},37036:(e,t,n)=>{var r=n(86571),o=n(88746);e.exports=function(e,t,n,i){var a=n.length,s=a,u=!i;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=n[a])[0],f=e[c],p=l[1];if(u&&l[2]){if(void 0===f&&!(c in e))return!1}else{var d=new r;if(i)var h=i(f,p,c,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},22195:e=>{e.exports=function(e){return e!=e}},6840:(e,t,n)=>{var r=n(61049),o=n(47394),i=n(29259),a=n(87035),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,p=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},8109:(e,t,n)=>{var r=n(70940),o=n(15125);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},35522:(e,t,n)=>{var r=n(53366),o=n(61158),i=n(15125),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},68286:(e,t,n)=>{var r=n(26423),o=n(74716),i=n(23059),a=n(86152),s=n(65798);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):s(e)}},86411:(e,t,n)=>{var r=n(16001),o=n(54248),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},18390:(e,t,n)=>{var r=n(29259),o=n(16001),i=n(62966),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},73620:e=>{e.exports=function(){}},93401:(e,t,n)=>{var r=n(24303),o=n(67878);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},26423:(e,t,n)=>{var r=n(37036),o=n(49882),i=n(73477);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},74716:(e,t,n)=>{var r=n(88746),o=n(72579),i=n(95041),a=n(21401),s=n(28792),u=n(73477),l=n(33812);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},20256:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},82952:(e,t,n)=>{var r=n(13324);e.exports=function(e){return function(t){return r(t,e)}}},36060:(e,t,n)=>{var r=n(23059),o=n(43114),i=n(75251);e.exports=function(e,t){return i(o(e,t,r),e+"")}},54817:(e,t,n)=>{var r=n(23059),o=n(70529),i=o?function(e,t){return o.set(e,t),e}:r;e.exports=i},86532:(e,t,n)=>{var r=n(86874),o=n(83043),i=n(23059),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},39872:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},36473:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1054:(e,t,n)=>{var r=n(50857),o=n(50343),i=n(86152),a=n(4795),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},51704:(e,t,n)=>{var r=n(52153),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},47826:e=>{e.exports=function(e){return function(t){return e(t)}}},29078:(e,t,n)=>{var r=n(17297),o=n(56974),i=n(62721),a=n(33812);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},59950:e=>{e.exports=function(e,t){return e.has(t)}},5642:(e,t,n)=>{var r=n(93746);e.exports=function(e){return r(e)?e:[]}},17297:(e,t,n)=>{var r=n(86152),o=n(21401),i=n(54452),a=n(66188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},23895:(e,t,n)=>{var r=n(39872);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},10768:(e,t,n)=>{var r=n(77832);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},79882:(e,t,n)=>{var r=n(79162);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},92175:(e,t,n)=>{e=n.nmd(e);var r=n(37772),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},34727:(e,t,n)=>{var r=n(79882);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},96058:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},70169:(e,t,n)=>{var r=n(50857),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},6190:(e,t,n)=>{var r=n(79882);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},11495:e=>{var t=Math.max;e.exports=function(e,n,r,o){for(var i=-1,a=e.length,s=r.length,u=-1,l=n.length,c=t(a-s,0),f=Array(l+c),p=!o;++u<l;)f[u]=n[u];for(;++i<s;)(p||i<a)&&(f[r[i]]=e[i]);for(;c--;)f[u++]=e[i++];return f}},152:e=>{var t=Math.max;e.exports=function(e,n,r,o){for(var i=-1,a=e.length,s=-1,u=r.length,l=-1,c=n.length,f=t(a-u,0),p=Array(f+c),d=!o;++i<f;)p[i]=e[i];for(var h=i;++l<c;)p[h+l]=n[l];for(;++s<u;)(d||i<a)&&(p[h+r[s]]=e[i++]);return p}},51522:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},752:(e,t,n)=>{var r=n(60091),o=n(13940);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=i?i(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?o(n,l,c):r(n,l,c)}return n}},7680:(e,t,n)=>{var r=n(752),o=n(80633);e.exports=function(e,t){return r(e,o(e),t)}},19987:(e,t,n)=>{var r=n(752),o=n(12680);e.exports=function(e,t){return r(e,o(e),t)}},24019:(e,t,n)=>{var r=n(37772)["__core-js_shared__"];e.exports=r},61176:e=>{e.exports=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}},92019:(e,t,n)=>{var r=n(67878);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},55463:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++o];if(!1===n(i[u],u,i))break}return t}}},23485:(e,t,n)=>{var r=n(52248),o=n(37772);e.exports=function(e,t,n){var i=1&t,a=r(e);return function t(){return(this&&this!==o&&this instanceof t?a:e).apply(i?n:this,arguments)}}},52248:(e,t,n)=>{var r=n(39413),o=n(29259);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=r(e.prototype),i=e.apply(n,t);return o(i)?i:n}}},98462:(e,t,n)=>{var r=n(49432),o=n(52248),i=n(90764),a=n(57891),s=n(13325),u=n(90527),l=n(37772);e.exports=function(e,t,n){var c=o(e);return function o(){for(var f=arguments.length,p=Array(f),d=f,h=s(o);d--;)p[d]=arguments[d];var m=f<3&&p[0]!==h&&p[f-1]!==h?[]:u(p,h);return(f-=m.length)<n?a(e,t,i,o.placeholder,void 0,p,m,void 0,void 0,n-f):r(this&&this!==l&&this instanceof o?c:e,this,p)}}},37541:(e,t,n)=>{var r=n(45859),o=n(29097),i=n(78203),a=n(59350),s=n(86152),u=n(93735);e.exports=function(e){return o((function(t){var n=t.length,o=n,l=r.prototype.thru;for(e&&t.reverse();o--;){var c=t[o];if("function"!=typeof c)throw new TypeError("Expected a function");if(l&&!f&&"wrapper"==a(c))var f=new r([],!0)}for(o=f?o:n;++o<n;){c=t[o];var p=a(c),d="wrapper"==p?i(c):void 0;f=d&&u(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?f[a(d[0])].apply(f,d[3]):1==c.length&&u(c)?f[p]():f.thru(c)}return function(){var e=arguments,r=e[0];if(f&&1==e.length&&s(r))return f.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}},90764:(e,t,n)=>{var r=n(11495),o=n(152),i=n(61176),a=n(52248),s=n(57891),u=n(13325),l=n(33418),c=n(90527),f=n(37772);e.exports=function e(t,n,p,d,h,m,g,v,E,C){var T=128&n,y=1&n,A=2&n,b=24&n,D=512&n,x=A?void 0:a(t);return function _(){for(var k=arguments.length,O=Array(k),S=k;S--;)O[S]=arguments[S];if(b)var w=u(_),N=i(O,w);if(d&&(O=r(O,d,h,b)),m&&(O=o(O,m,g,b)),k-=N,b&&k<C){var B=c(O,w);return s(t,n,e,_.placeholder,p,O,B,v,E,C-k)}var F=y?p:this,R=A?F[t]:t;return k=O.length,v?O=l(O,v):D&&k>1&&O.reverse(),T&&E<k&&(O.length=E),this&&this!==f&&this instanceof _&&(R=x||a(R)),R.apply(F,O)}}},85468:(e,t,n)=>{var r=n(49432),o=n(52248),i=n(37772);e.exports=function(e,t,n,a){var s=1&t,u=o(e);return function t(){for(var o=-1,l=arguments.length,c=-1,f=a.length,p=Array(f+l),d=this&&this!==i&&this instanceof t?u:e;++c<f;)p[c]=a[c];for(;l--;)p[c++]=arguments[++o];return r(d,s?n:this,p)}}},57891:(e,t,n)=>{var r=n(93735),o=n(29890),i=n(15877);e.exports=function(e,t,n,a,s,u,l,c,f,p){var d=8&t;t|=d?32:64,4&(t&=~(d?64:32))||(t&=-4);var h=[e,t,s,d?u:void 0,d?l:void 0,d?void 0:u,d?void 0:l,c,f,p],m=n.apply(void 0,h);return r(e)&&o(m,h),m.placeholder=a,i(m,e,t)}},87902:(e,t,n)=>{var r=n(54817),o=n(23485),i=n(98462),a=n(90764),s=n(85468),u=n(78203),l=n(79e3),c=n(29890),f=n(15877),p=n(38101),d=Math.max;e.exports=function(e,t,n,h,m,g,v,E){var C=2&t;if(!C&&"function"!=typeof e)throw new TypeError("Expected a function");var T=h?h.length:0;if(T||(t&=-97,h=m=void 0),v=void 0===v?v:d(p(v),0),E=void 0===E?E:p(E),T-=m?m.length:0,64&t){var y=h,A=m;h=m=void 0}var b=C?void 0:u(e),D=[e,t,n,h,m,y,A,g,v,E];if(b&&l(D,b),e=D[0],t=D[1],n=D[2],h=D[3],m=D[4],!(E=D[9]=void 0===D[9]?C?0:e.length:d(D[9]-T,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?i(e,t,E):32!=t&&33!=t||m.length?a.apply(void 0,D):s(e,t,n,h);else var x=o(e,t,n);return f((b?r:c)(x,D),e,t)}},48642:(e,t,n)=>{var r=n(97030);e.exports=function(e){return r(e)?void 0:e}},83043:(e,t,n)=>{var r=n(38761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},74871:(e,t,n)=>{var r=n(45386),o=n(87064),i=n(59950);e.exports=function(e,t,n,a,s,u){var l=1&n,c=e.length,f=t.length;if(c!=f&&!(l&&f>c))return!1;var p=u.get(e),d=u.get(t);if(p&&d)return p==t&&d==e;var h=-1,m=!0,g=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++h<c;){var v=e[h],E=t[h];if(a)var C=l?a(E,v,h,t,e,u):a(v,E,h,e,t,u);if(void 0!==C){if(C)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,u)))return g.push(t)}))){m=!1;break}}else if(v!==E&&!s(v,E,n,a,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},11491:(e,t,n)=>{var r=n(50857),o=n(79162),i=n(41225),a=n(74871),s=n(75179),u=n(16909),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var h=1&r;if(d||(d=u),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var g=a(d(e),d(t),r,l,f,p);return p.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},17416:(e,t,n)=>{var r=n(13483),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var u=1&n,l=r(e),c=l.length;if(c!=r(t).length&&!u)return!1;for(var f=c;f--;){var p=l[f];if(!(u?p in t:o.call(t,p)))return!1}var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=u;++f<c;){var v=e[p=l[f]],E=t[p];if(i)var C=u?i(E,v,p,t,e,s):i(v,E,p,e,t,s);if(!(void 0===C?v===E||a(v,E,n,i,s):C)){m=!1;break}g||(g="constructor"==p)}if(m&&!g){var T=e.constructor,y=t.constructor;T==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof T&&T instanceof T&&"function"==typeof y&&y instanceof y||(m=!1)}return s.delete(e),s.delete(t),m}},29097:(e,t,n)=>{var r=n(35676),o=n(43114),i=n(75251);e.exports=function(e){return i(o(e,void 0,r),e+"")}},51242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},13483:(e,t,n)=>{var r=n(1897),o=n(80633),i=n(90249);e.exports=function(e){return r(e,i,o)}},76939:(e,t,n)=>{var r=n(1897),o=n(12680),i=n(18582);e.exports=function(e){return r(e,i,o)}},78203:(e,t,n)=>{var r=n(70529),o=n(34291),i=r?function(e){return r.get(e)}:o;e.exports=i},59350:(e,t,n)=>{var r=n(29212),o=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t=e.name+"",n=r[t],i=o.call(r,t)?n.length:0;i--;){var a=n[i],s=a.func;if(null==s||s==e)return a.name}return t}},13325:e=>{e.exports=function(e){return e.placeholder}},27937:(e,t,n)=>{var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},49882:(e,t,n)=>{var r=n(28792),o=n(90249);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},38761:(e,t,n)=>{var r=n(6840),o=n(98109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},47353:(e,t,n)=>{var r=n(60241)(Object.getPrototypeOf,Object);e.exports=r},62107:(e,t,n)=>{var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},80633:(e,t,n)=>{var r=n(67552),o=n(30981),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},12680:(e,t,n)=>{var r=n(65067),o=n(47353),i=n(80633),a=n(30981),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},70940:(e,t,n)=>{var r=n(39515),o=n(10326),i=n(52760),a=n(2143),s=n(93215),u=n(53366),l=n(87035),c="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",m=l(r),g=l(o),v=l(i),E=l(a),C=l(s),T=u;(r&&T(new r(new ArrayBuffer(1)))!=h||o&&T(new o)!=c||i&&T(i.resolve())!=f||a&&T(new a)!=p||s&&T(new s)!=d)&&(T=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return h;case g:return c;case v:return f;case E:return p;case C:return d}return t}),e.exports=T},98109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},74842:e=>{var t=/\{\n\/\* \[wrapped with (.+)\] \*/,n=/,? & /;e.exports=function(e){var r=e.match(t);return r?r[1].split(n):[]}},1369:(e,t,n)=>{var r=n(17297),o=n(79631),i=n(86152),a=n(39045),s=n(61158),u=n(33812);e.exports=function(e,t,n){for(var l=-1,c=(t=r(t,e)).length,f=!1;++l<c;){var p=u(t[l]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++l!=c?f:!!(c=null==e?0:e.length)&&s(c)&&a(p,c)&&(i(e)||o(e))}},33880:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},52118:(e,t,n)=>{var r=n(99191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7942:(e,t,n)=>{var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},99917:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},8222:(e,t,n)=>{var r=n(79882),o=n(34727),i=n(96058),a=n(70169),s=n(6190);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},78725:(e,t,n)=>{var r=n(39413),o=n(47353),i=n(16001);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},68442:e=>{var t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=function(e,n){var r=n.length;if(!r)return e;var o=r-1;return n[o]=(r>1?"& ":"")+n[o],n=n.join(r>2?", ":" "),e.replace(t,"{\n/* [wrapped with "+n+"] */\n")}},95882:(e,t,n)=>{var r=n(50857),o=n(79631),i=n(86152),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},39045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},21401:(e,t,n)=>{var r=n(86152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},98304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},93735:(e,t,n)=>{var r=n(66504),o=n(78203),i=n(59350),a=n(68674);e.exports=function(e){var t=i(e),n=a[t];if("function"!=typeof n||!(t in r.prototype))return!1;if(e===n)return!0;var s=o(n);return!!s&&e===s[0]}},47394:(e,t,n)=>{var r,o=n(24019),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},16001:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},28792:(e,t,n)=>{var r=n(29259);e.exports=function(e){return e==e&&!r(e)}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},21846:(e,t,n)=>{var r=n(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},88028:(e,t,n)=>{var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:(e,t,n)=>{var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:(e,t,n)=>{var r=n(22218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},92411:(e,t,n)=>{var r=n(89612),o=n(80235),i=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:(e,t,n)=>{var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:(e,t,n)=>{var r=n(27937);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},75179:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},73477:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},77777:(e,t,n)=>{var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},79e3:(e,t,n)=>{var r=n(11495),o=n(152),i=n(90527),a="__lodash_placeholder__",s=Math.min;e.exports=function(e,t){var n=e[1],u=t[1],l=n|u,c=l<131,f=128==u&&8==n||128==u&&256==n&&e[7].length<=t[8]||384==u&&t[7].length<=t[8]&&8==n;if(!c&&!f)return e;1&u&&(e[2]=t[2],l|=1&n?0:4);var p=t[3];if(p){var d=e[3];e[3]=d?r(d,p,t[4]):p,e[4]=d?i(e[3],a):t[4]}return(p=t[5])&&(d=e[5],e[5]=d?o(d,p,t[6]):p,e[6]=d?i(e[5],a):t[6]),(p=t[7])&&(e[7]=p),128&u&&(e[8]=null==e[8]?t[8]:s(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}},70529:(e,t,n)=>{var r=n(93215),o=r&&new r;e.exports=o},99191:(e,t,n)=>{var r=n(38761)(Object,"create");e.exports=r},54248:(e,t,n)=>{var r=n(60241)(Object.keys,Object);e.exports=r},62966:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},4146:(e,t,n)=>{e=n.nmd(e);var r=n(51242),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},37157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},60241:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},43114:(e,t,n)=>{var r=n(49432),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),u=Array(s);++a<s;)u[a]=i[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=i[a];return l[t]=n(u),r(e,this,l)}}},62721:(e,t,n)=>{var r=n(13324),o=n(39872);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},29212:e=>{e.exports={}},33418:(e,t,n)=>{var r=n(51522),o=n(39045),i=Math.min;e.exports=function(e,t){for(var n=e.length,a=i(t.length,n),s=r(e);a--;){var u=t[a];e[a]=o(u,n)?s[u]:void 0}return e}},90527:e=>{var t="__lodash_placeholder__";e.exports=function(e,n){for(var r=-1,o=e.length,i=0,a=[];++r<o;){var s=e[r];s!==n&&s!==t||(e[r]=t,a[i++]=r)}return a}},37772:(e,t,n)=>{var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},52842:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},52482:e=>{e.exports=function(e){return this.__data__.has(e)}},29890:(e,t,n)=>{var r=n(54817),o=n(97787)(r);e.exports=o},16909:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},75251:(e,t,n)=>{var r=n(86532),o=n(97787)(r);e.exports=o},15877:(e,t,n)=>{var r=n(74842),o=n(68442),i=n(75251),a=n(16985);e.exports=function(e,t,n){var s=t+"";return i(e,o(s,a(r(s),n)))}},97787:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},15243:(e,t,n)=>{var r=n(80235);e.exports=function(){this.__data__=new r,this.size=0}},72858:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},4417:e=>{e.exports=function(e){return this.__data__.get(e)}},8605:e=>{e.exports=function(e){return this.__data__.has(e)}},71418:(e,t,n)=>{var r=n(80235),o=n(10326),i=n(96738);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},66024:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},8435:(e,t,n)=>{var r=n(50217),o=n(33880),i=n(63344);e.exports=function(e){return o(e)?i(e):r(e)}},54452:(e,t,n)=>{var r=n(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},33812:(e,t,n)=>{var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},87035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},52153:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},63344:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+o+")?",l="[\\ufe0e\\ufe0f]?",c=l+u+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+l+u+")*",f="(?:"+[i+r+"?",r,a,s,n].join("|")+")",p=RegExp(o+"(?="+o+")|"+f+c,"g");e.exports=function(e){return e.match(p)||[]}},16985:(e,t,n)=>{var r=n(72517),o=n(38333),i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return r(i,(function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)})),e.sort()}},67366:(e,t,n)=>{var r=n(66504),o=n(45859),i=n(51522);e.exports=function(e){if(e instanceof r)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},86874:e=>{e.exports=function(e){return function(){return e}}},54073:(e,t,n)=>{var r=n(29259),o=n(61100),i=n(7642),a=Math.max,s=Math.min;e.exports=function(e,t,n){var u,l,c,f,p,d,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function E(t){var n=u,r=l;return u=l=void 0,h=t,f=e.apply(r,n)}function C(e){var n=e-d;return void 0===d||n>=t||n<0||g&&e-h>=c}function T(){var e=o();if(C(e))return y(e);p=setTimeout(T,function(e){var n=t-(e-d);return g?s(n,c-(e-h)):n}(e))}function y(e){return p=void 0,v&&u?E(e):(u=l=void 0,f)}function A(){var e=o(),n=C(e);if(u=arguments,l=this,d=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(T,t),m?E(e):f}(d);if(g)return clearTimeout(p),p=setTimeout(T,t),E(d)}return void 0===p&&(p=setTimeout(T,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,c=(g="maxWait"in n)?a(i(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),A.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=l=p=void 0},A.flush=function(){return void 0===p?f:y(o())},A}},41225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35838:(e,t,n)=>{var r=n(62034),o=n(16760);e.exports=function(e,t){return r(o(e,t),1)}},35676:(e,t,n)=>{var r=n(62034);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},85395:(e,t,n)=>{var r=n(37541)();e.exports=r},72579:(e,t,n)=>{var r=n(13324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},93352:(e,t,n)=>{var r=n(32726),o=n(1369);e.exports=function(e,t){return null!=e&&o(e,t,r)}},95041:(e,t,n)=>{var r=n(20187),o=n(1369);e.exports=function(e,t){return null!=e&&o(e,t,r)}},23059:e=>{e.exports=function(e){return e}},30898:(e,t,n)=>{var r=n(50343),o=n(88390),i=n(36060),a=n(5642),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},79631:(e,t,n)=>{var r=n(15183),o=n(15125),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},86152:e=>{var t=Array.isArray;e.exports=t},67878:(e,t,n)=>{var r=n(61049),o=n(61158);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},93746:(e,t,n)=>{var r=n(67878),o=n(15125);e.exports=function(e){return o(e)&&r(e)}},73226:(e,t,n)=>{e=n.nmd(e);var r=n(37772),o=n(36330),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u},45455:(e,t,n)=>{var r=n(86411),o=n(70940),i=n(79631),a=n(86152),s=n(67878),u=n(73226),l=n(16001),c=n(77598),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},18149:(e,t,n)=>{var r=n(88746);e.exports=function(e,t){return r(e,t)}},61049:(e,t,n)=>{var r=n(53366),o=n(29259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},61158:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},4714:(e,t,n)=>{var r=n(74511),o=n(47826),i=n(4146),a=i&&i.isMap,s=a?o(a):r;e.exports=s},29259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},97030:(e,t,n)=>{var r=n(53366),o=n(47353),i=n(15125),a=Function.prototype,s=Object.prototype,u=a.toString,l=s.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},43679:(e,t,n)=>{var r=n(8109),o=n(47826),i=n(4146),a=i&&i.isSet,s=a?o(a):r;e.exports=s},4795:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},77598:(e,t,n)=>{var r=n(35522),o=n(47826),i=n(4146),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},90249:(e,t,n)=>{var r=n(1634),o=n(86411),i=n(67878);e.exports=function(e){return i(e)?r(e):o(e)}},18582:(e,t,n)=>{var r=n(1634),o=n(18390),i=n(67878);e.exports=function(e){return i(e)?r(e,!0):o(e)}},56974:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},16760:(e,t,n)=>{var r=n(50343),o=n(68286),i=n(93401),a=n(86152);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},30733:(e,t,n)=>{var r=n(96738);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},34291:e=>{e.exports=function(){}},61100:(e,t,n)=>{var r=n(37772);e.exports=function(){return r.Date.now()}},17620:(e,t,n)=>{var r=n(50343),o=n(18874),i=n(29078),a=n(17297),s=n(752),u=n(48642),l=n(29097),c=n(76939),f=l((function(e,t){var n={};if(null==e)return n;var l=!1;t=r(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),s(e,c(e),n),l&&(n=o(n,7,u));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},83465:(e,t,n)=>{var r=n(36060),o=n(87902),i=n(13325),a=n(90527),s=r((function(e,t){var n=a(t,i(s));return o(e,32,void 0,t,n)}));s.placeholder={},e.exports=s},65798:(e,t,n)=>{var r=n(20256),o=n(82952),i=n(21401),a=n(33812);e.exports=function(e){return i(e)?r(a(e)):o(e)}},30981:e=>{e.exports=function(){return[]}},36330:e=>{e.exports=function(){return!1}},12436:(e,t,n)=>{var r=n(54073),o=n(29259);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},5707:(e,t,n)=>{var r=n(7642);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},38101:(e,t,n)=>{var r=n(5707);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},7642:(e,t,n)=>{var r=n(51704),o=n(29259),i=n(4795),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},66188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},1573:(e,t,n)=>{var r=n(1054),o=n(23895),i=n(10768),a=n(8435),s=n(66188),u=n(52153);e.exports=function(e,t,n){if((e=s(e))&&(n||void 0===t))return e.slice(0,u(e)+1);if(!e||!(t=r(t)))return e;var l=a(e),c=i(l,a(t))+1;return o(l,0,c).join("")}},67304:(e,t,n)=>{var r=n(85246),o=n(36060),i=n(93746),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},68674:(e,t,n)=>{var r=n(66504),o=n(45859),i=n(73620),a=n(86152),s=n(15125),u=n(67366),l=Object.prototype.hasOwnProperty;function c(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof o)return e;if(l.call(e,"__wrapped__"))return u(e)}return new o(e)}c.prototype=i.prototype,c.prototype.constructor=c,e.exports=c},6316:e=>{"use strict";e.exports=function(e,t){var n,r,o=0,i=0;if("string"!=typeof t||1!==t.length)throw new Error("Expected character");for(n=r=(e=String(e)).indexOf(t);-1!==r;)o++,r===n?o>i&&(i=o):o=1,n=r+1,r=e.indexOf(t,n);return i}},4608:e=>{"use strict";e.exports=o;var t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],n=t.concat(["~","|"]),r=n.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function o(e){var o=e||{};return o.commonmark?r:o.gfm?n:t}o.default=t,o.gfm=n,o.commonmark=r},17591:e=>{"use strict";e.exports=function(e,n){var v,E,C,T,y,A,b,D,x,_,k,O,S=n||{},w=S.delimiter,N=S.start,B=S.end,F=S.align,R=S.stringLength||h,P=0,I=-1,M=e.length,L=[];for(F=F?F.concat():[],null==w&&(w=r+f+r),null==N&&(N=f+r),null==B&&(B=r+f);++I<M;)for(A=-1,(T=e[I]).length>P&&(P=T.length);++A<P;)b=T[A]?g(T[A]):null,L[A]||(L[A]=p),b>L[A]&&(L[A]=b);for("string"==typeof F&&(F=m(P,F).split("")),A=-1;++A<P;)"string"==typeof(v=F[A])&&(v=v.charAt(0).toLowerCase()),v!==l&&v!==c&&v!==u&&v!==a&&(v=""),F[A]=v;for(I=-1,C=[];++I<M;){for(T=e[I],A=-1,y=[];++A<P;)x=d(x=T[A]),F[A]===a?(b=g(x),D=L[A]+(t.test(x)?0:1)-(R(x)-b),y[A]=x+m(D-1)):y[A]=x;C[I]=y}for(L=[],I=-1;++I<M;)for(y=C[I],A=-1;++A<P;)x=y[A],L[A]||(L[A]=p),(D=R(x))>L[A]&&(L[A]=D);for(I=-1;++I<M;){if(y=C[I],A=-1,!1!==S.pad)for(;++A<P;)x=y[A],_=m(b=L[A]-(R(x)||0)),F[A]===c||F[A]===a?x=_+x:F[A]===u?((b/=2)%1==0?(k=b,O=b):(k=b+.5,O=b-.5),x=m(k)+x+m(O)):x+=_,y[A]=x;C[I]=y.join(w)}if(!1!==S.rule){for(A=-1,E=[];++A<P;)_=!1===S.pad?(_=R(d(x=e[0][A])))>p?_:p:L[A],x=(v=F[A])===c||""===v?i:s,x+=m(_-2,i),x+=v!==l&&""!==v?s:i,E[A]=x;C.splice(1,0,E.join(w))}return N+C.join(B+o+N)+B};var t=/\./,n=/\.[^.]*$/,r=" ",o="\n",i="-",a=".",s=":",u="c",l="l",c="r",f="|",p=3;function d(e){return null==e?"":String(e)}function h(e){return String(e).length}function m(e,t){return new Array(e+1).join(t||r)}function g(e){var t=n.exec(e);return t?t.index+1:e.length}},62499:(e,t,n)=>{"use strict";var r=n(9867);function o(e,t){var n,r;return"text"===e.type?!e.position||(n=e.position.start,r=e.position.end,n.line!==r.line||r.column-n.column===e.value.length):t&&"blockquote"===e.type}e.exports=function(e,t){return r(e,(function(e,n,r){var i=r?r.children:[],a=n&&i[n-1];if(a&&e.type===a.type&&o(a,t)&&o(e,t))return e.value&&(a.value+=e.value),e.children&&(a.children=a.children.concat(e.children)),i.splice(n,1),a.position&&e.position&&(a.position.end=e.position.end),n})),e}},99983:(e,t,n)=>{"use strict";var r=n(9867);e.exports=function(e,t){return n=function(e,t){var n={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return r(e,"definition",t&&t.commonmark?function(e){var t=i(e.identifier);o.call(n,t)||(n[t]=e)}:function(e){n[i(e.identifier)]=e}),n}(e,t),function(e){var t=e&&i(e);return t&&o.call(n,t)?n[t]:null};var n};var o={}.hasOwnProperty;function i(e){return e.toUpperCase()}},96967:(e,t,n)=>{"use strict";var r=n(2547)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);r.displayName="isPhrasing",e.exports=r},31887:(e,t,n)=>{"use strict";e.exports=n(97391)},46862:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,i,a=t.children||[],s=a.length,u=[],l=-1;++l<s;)(n=o(e,a[l],t))&&(l&&"break"===a[l-1].type&&(n.value&&(n.value=r.left(n.value)),(i=n.children&&n.children[0])&&i.value&&(i.value=r.left(i.value))),u=u.concat(n));return u};var r=n(50311),o=n(13161)},81642:(e,t,n)=>{"use strict";e.exports=function(e){var t,n,a,s,u=e.footnotes,l=u.length,c=-1,f=[];if(!l)return null;for(;++c<l;)s=(a=(t=u[c]).children.concat())[a.length-1],n={type:"link",url:"#fnref-"+t.identifier,data:{hProperties:{className:["footnote-backref"]}},children:[{type:"text",value:"↩"}]},s&&"paragraph"===s.type||(s={type:"paragraph",children:[]},a.push(s)),s.children.push(n),f[c]={type:"listItem",data:{hProperties:{id:"fn-"+t.identifier}},children:a,position:t.position};return e(null,"div",{className:["footnotes"]},i([r(e),o(e,{type:"list",ordered:!0,children:f})],!0))};var r=n(76424),o=n(67368),i=n(94327)},50313:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"blockquote",r(o(e,t),!0))};var r=n(94327),o=n(46862)},56340:(e,t,n)=>{"use strict";e.exports=function(e,t){return[e(t,"br"),r("text","\n")]};var r=n(73610)},75781:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.value?r(t.value+"\n"):"",i=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),a={};return i&&(a.className=["language-"+i]),e(t.position,"pre",[e(t,"code",a,[o("text",n)])])};var r=n(17994),o=n(73610)},92622:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"del",r(e,t))};var r=n(46862)},51558:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"em",r(e,t))};var r=n(46862)},91211:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(73610)},95200:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n=[],o=1,i=e.footnotes,a=i.length,s=-1;++s<a;)n[s]=i[s].identifier;for(;-1!==n.indexOf(String(o));)o++;return o=String(o),i.push({type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position}),r(e,{type:"footnoteReference",identifier:o,position:t.position})};var r=n(91211)},89694:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,r(e,t))};var r=n(46862)},84320:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,r("raw",t.value)):null};var r=n(73610)},86903:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i=e.definition(t.identifier);return i?(n={src:r(i.url||""),alt:t.alt},null!==i.title&&void 0!==i.title&&(n.title=i.title),e(t,"img",n)):o(e,t)};var r=n(81737),o=n(68726)},27453:(e,t,n)=>{"use strict";var r=n(81737);e.exports=function(e,t){var n={src:r(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)}},81917:(e,t,n)=>{"use strict";function r(){return null}e.exports={blockquote:n(50313),break:n(56340),code:n(75781),delete:n(92622),emphasis:n(51558),footnoteReference:n(91211),footnote:n(95200),heading:n(89694),html:n(84320),imageReference:n(86903),image:n(27453),inlineCode:n(29711),linkReference:n(9146),link:n(49818),listItem:n(2848),list:n(67368),paragraph:n(93146),root:n(91053),strong:n(24323),table:n(50791),text:n(43334),thematicBreak:n(76424),toml:r,yaml:r,definition:r,footnoteDefinition:r}},29711:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"code",[o("text",r(t.value))])};var r=n(38925),o=n(73610)},9146:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a=e.definition(t.identifier);return a?(n={href:r(a.url||"")},null!==a.title&&void 0!==a.title&&(n.title=a.title),e(t,"a",n,i(e,t))):o(e,t)};var r=n(81737),o=n(68726),i=n(46862)},49818:(e,t,n)=>{"use strict";var r=n(81737),o=n(46862);e.exports=function(e,t){var n={href:r(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,o(e,t))}},2848:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var s,u,l,c,f,p=t.children[0],d=i(e,t),h=n?function(e){for(var t=e.spread,n=e.children,r=n.length,o=-1;!t&&++o<r;)t=a(n[o]);return t}(n):a(t),m={};if(h)s=d;else for(s=[],c=d.length,l=-1;++l<c;)"p"===(f=d[l]).tagName?s=s.concat(f.children):s.push(f);return"boolean"==typeof t.checked&&(!h||p&&"paragraph"===p.type||s.unshift(e(null,"p",[])),0!==(u=h?s[0].children:s).length&&u.unshift(r("text"," ")),u.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),m.className=["task-list-item"]),h&&0!==s.length&&(s=o(s,!0)),e(t,"li",m,s)};var r=n(73610),o=n(94327),i=n(46862);function a(e){var t=e.spread;return null==t?e.children.length>1:t}},67368:(e,t,n)=>{"use strict";e.exports=function(e,t){var n={},i=t.ordered?"ol":"ul";return"number"==typeof t.start&&1!==t.start&&(n.start=t.start),e(t,i,n,r(o(e,t),!0))};var r=n(94327),o=n(46862)},93146:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"p",r(e,t))};var r=n(46862)},91053:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("root",o(i(e,t))))};var r=n(73610),o=n(94327),i=n(46862)},24323:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(46862)},50791:(e,t,n)=>{"use strict";e.exports=function(e,t){for(var n,a,s,u,l,c=t.children,f=c.length,p=t.align,d=p.length,h=[];f--;){for(a=c[f].children,u=0===f?"th":"td",n=d,s=[];n--;)l=a[n],s[n]=e(l,u,{align:p[n]},l?i(e,l):[]);h[f]=e(c[f],"tr",o(s,!0))}return e(t,"table",o([e(h[0].position,"thead",o([h[0]],!0)),e({start:r.start(h[1]),end:r.end(h[h.length-1])},"tbody",o(h.slice(1),!0))],!0))};var r=n(9352),o=n(94327),i=n(46862)},43334:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("text",o(t.value)))};var r=n(73610),o=n(66406)},76424:e=>{"use strict";e.exports=function(e,t){return e(t,"hr")}},97391:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=function(e,t){var n=t||{},o=n.allowDangerousHTML;return c.dangerous=o,c.definition=u(e,n),c.footnotes=[],c.augment=l,c.handlers=r(f,n.handlers||{}),i(e,"footnoteDefinition",(function(e){c.footnotes.push(e)})),c;function l(e,t){var n,o;return e&&"data"in e&&(n=e.data,"element"===t.type&&n.hName&&(t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=r(t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),o=e&&e.position?e:{position:e},s(o)||(t.position={start:a.start(o),end:a.end(o)}),t}function c(e,t,n,r){return null==r&&"object"==typeof n&&"length"in n&&(r=n,n={}),l(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),p=l(n,e),d=c(n);return p&&p.children&&d&&(p.children=p.children.concat(o("text","\n"),d)),p};var r=n(51960),o=n(73610),i=n(9867),a=n(9352),s=n(93624),u=n(99983),l=n(13161),c=n(81642),f=n(81917)},13161:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var r=t&&t.type,o=i.call(e.handlers,r)?e.handlers[r]:null;if(!r)throw new Error("Expected node, got `"+t+"`");return("function"==typeof o?o:a)(e,t,n)};var r=n(73610),o=n(46862),i={}.hasOwnProperty;function a(e,t){return function(e){var t=e.data||{};return!(i.call(t,"hName")||i.call(t,"hProperties")||i.call(t,"hChildren"))&&"value"in e}(t)?e.augment(t,r("text",t.value)):e(t,"div",o(e,t))}},68726:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i,a,s=t.referenceType,u="]";return"collapsed"===s?u+="[]":"full"===s&&(u+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type?r("text","!["+t.alt+u):((i=(n=o(e,t))[0])&&"text"===i.type?i.value="["+i.value:n.unshift(r("text","[")),(a=n[n.length-1])&&"text"===a.type?a.value+=u:n.push(r("text",u)),n)};var r=n(73610),o=n(46862)},94327:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=[],o=-1,i=e.length;for(t&&n.push(r("text","\n"));++o<i;)o&&n.push(r("text","\n")),n.push(e[o]);return t&&0!==e.length&&n.push(r("text","\n")),n};var r=n(73610)},75330:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=e.length,o=-1;++o<r;)n[o]=t(e[o]);return n.join("")}e.exports=t},81737:e=>{"use strict";var t={};function n(e,r,o){var i,a,s,u,l,c="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),l=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)o[e.charCodeAt(n)]=e[n];return o}(r),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),o&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))c+=e.slice(i,i+3),i+=2;else if(s<128)c+=l[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(u=e.charCodeAt(i+1))>=56320&&u<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},37320:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var l in i=Object(arguments[u]))n.call(i,l)&&(s[l]=i[l]);if(t){a=t(i);for(var c=0;c<a.length;c++)r.call(i,a[c])&&(s[a[c]]=i[a[c]])}}return s}},97827:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(95218),o="html",i=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],a=i.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],u=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],l=u.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function c(e){const t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function f(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}t.isConforming=function(e){return e.name===o&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==o)return r.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return r.QUIRKS;let n=e.publicId;if(null!==n){if(n=n.toLowerCase(),s.indexOf(n)>-1)return r.QUIRKS;let e=null===t?a:i;if(f(n,e))return r.QUIRKS;if(e=null===t?u:l,f(n,e))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+c(t):n&&(r+=" SYSTEM"),null!==n&&(r+=" "+c(n)),r}},61445:e=>{"use strict";e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},52710:(e,t,n)=>{"use strict";const r=n(3183),o=n(95218),i=o.TAG_NAMES,a=o.NAMESPACES,s=o.ATTRS,u={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},l={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:a.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:a.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:a.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:a.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:a.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:a.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:a.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:a.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:a.XML},"xml:space":{prefix:"xml",name:"space",namespace:a.XML},xmlns:{prefix:"",name:"xmlns",namespace:a.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:a.XMLNS}},c=t.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},f={[i.B]:!0,[i.BIG]:!0,[i.BLOCKQUOTE]:!0,[i.BODY]:!0,[i.BR]:!0,[i.CENTER]:!0,[i.CODE]:!0,[i.DD]:!0,[i.DIV]:!0,[i.DL]:!0,[i.DT]:!0,[i.EM]:!0,[i.EMBED]:!0,[i.H1]:!0,[i.H2]:!0,[i.H3]:!0,[i.H4]:!0,[i.H5]:!0,[i.H6]:!0,[i.HEAD]:!0,[i.HR]:!0,[i.I]:!0,[i.IMG]:!0,[i.LI]:!0,[i.LISTING]:!0,[i.MENU]:!0,[i.META]:!0,[i.NOBR]:!0,[i.OL]:!0,[i.P]:!0,[i.PRE]:!0,[i.RUBY]:!0,[i.S]:!0,[i.SMALL]:!0,[i.SPAN]:!0,[i.STRONG]:!0,[i.STRIKE]:!0,[i.SUB]:!0,[i.SUP]:!0,[i.TABLE]:!0,[i.TT]:!0,[i.U]:!0,[i.UL]:!0,[i.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!(t!==i.FONT||null===r.getTokenAttr(e,s.COLOR)&&null===r.getTokenAttr(e,s.SIZE)&&null===r.getTokenAttr(e,s.FACE))||f[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=u[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=l[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){const t=c[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==a.HTML||!function(e,t,n){if(t===a.MATHML&&e===i.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===s.ENCODING){const t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}return t===a.SVG&&(e===i.FOREIGN_OBJECT||e===i.DESC||e===i.TITLE)}(e,t,n))||!(r&&r!==a.MATHML||!function(e,t){return t===a.MATHML&&(e===i.MI||e===i.MO||e===i.MN||e===i.MS||e===i.MTEXT)}(e,t))}},95218:(e,t)=>{"use strict";const n=t.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}},13114:(e,t)=>{"use strict";const n=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];t.REPLACEMENT_CHARACTER="<22>",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}},24369:(e,t,n)=>{"use strict";const r=n(60814);e.exports=class extends r{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}},80171:(e,t,n)=>{"use strict";const r=n(24369),o=n(29954),i=n(23454),a=n(60814);e.exports=class extends r{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,r){t._bootstrap.call(this,n,r),a.install(this.tokenizer,o,e.opts),a.install(this.tokenizer,i)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}},88184:(e,t,n)=>{"use strict";const r=n(24369),o=n(40279),i=n(60814);e.exports=class extends r{constructor(e,t){super(e,t),this.posTracker=i.install(e,o),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}},29954:(e,t,n)=>{"use strict";const r=n(24369),o=n(88184),i=n(60814);e.exports=class extends r{constructor(e,t){super(e,t);const n=i.install(e.preprocessor,o,t);this.posTracker=n.posTracker}}},4007:(e,t,n)=>{"use strict";const r=n(60814);e.exports=class extends r{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}},39938:(e,t,n)=>{"use strict";const r=n(60814),o=n(3183),i=n(23454),a=n(4007),s=n(95218).TAG_NAMES;e.exports=class extends r{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){const n=this.treeAdapter.getNodeSourceCodeLocation(e);if(n&&t.location){const r=t.location,i=this.treeAdapter.getTagName(e);t.type===o.END_TAG_TOKEN&&i===t.tagName?(n.endTag=Object.assign({},r),n.endLine=r.endLine,n.endCol=r.endCol,n.endOffset=r.endOffset):(n.endLine=r.startLine,n.endCol=r.startCol,n.endOffset=r.startOffset)}}_getOverriddenMethods(e,t){return{_bootstrap(n,o){t._bootstrap.call(this,n,o),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const s=r.install(this.tokenizer,i);e.posTracker=s.posTracker,r.install(this.openElements,a,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===o.END_TAG_TOKEN&&(n.tagName===s.HTML||n.tagName===s.BODY&&this.openElements.hasInScope(s.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),o=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(o,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),o=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,i=this.treeAdapter.getChildNodes(o),a=r&&e.lastFosterParentingLocation.beforeElement?i.indexOf(e.lastFosterParentingLocation.beforeElement)-1:i.length-1,s=i[a],u=this.treeAdapter.getNodeSourceCodeLocation(s);u?(u.endLine=n.location.endLine,u.endCol=n.location.endCol,u.endOffset=n.location.endOffset):this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}},23454:(e,t,n)=>{"use strict";const r=n(60814),o=n(3183),i=n(40279);e.exports=class extends r{constructor(e){super(e),this.tokenizer=e,this.posTracker=r.install(e.preprocessor,i),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===o.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(o.MODE).forEach((r=>{const i=o.MODE[r];n[i]=function(n){e.ctLoc=e._getCurrentLocation(),t[i].call(this,n)}})),n}}},40279:(e,t,n)=>{"use strict";const r=n(60814);e.exports=class extends r{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}},43652:e=>{"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(e).length,o=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const a=this.entries[e];if(a.type===t.MARKER_ENTRY)break;const s=a.element,u=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===o&&this.treeAdapter.getNamespaceURI(s)===i&&u.length===r&&n.push({idx:e,attrs:u})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),o=r.length,i=Object.create(null);for(let e=0;e<o;e++){const t=r[e];i[t.name]=t.value}for(let e=0;e<o;e++)for(let r=0;r<n;r++){const o=t[r].attrs[e];if(i[o.name]!==o.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},68834:(e,t,n)=>{"use strict";const r=n(3183),o=n(23203),i=n(43652),a=n(39938),s=n(80171),u=n(60814),l=n(99132),c=n(58395),f=n(97827),p=n(52710),d=n(61445),h=n(13114),m=n(95218),g=m.TAG_NAMES,v=m.NAMESPACES,E=m.ATTRS,C={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:l},T="hidden",y=8,A=3,b="INITIAL_MODE",D="BEFORE_HTML_MODE",x="BEFORE_HEAD_MODE",_="IN_HEAD_MODE",k="IN_HEAD_NO_SCRIPT_MODE",O="AFTER_HEAD_MODE",S="IN_BODY_MODE",w="TEXT_MODE",N="IN_TABLE_MODE",B="IN_TABLE_TEXT_MODE",F="IN_CAPTION_MODE",R="IN_COLUMN_GROUP_MODE",P="IN_TABLE_BODY_MODE",I="IN_ROW_MODE",M="IN_CELL_MODE",L="IN_SELECT_MODE",j="IN_SELECT_IN_TABLE_MODE",H="IN_TEMPLATE_MODE",U="AFTER_BODY_MODE",z="IN_FRAMESET_MODE",G="AFTER_FRAMESET_MODE",K="AFTER_AFTER_BODY_MODE",W="AFTER_AFTER_FRAMESET_MODE",q={[g.TR]:I,[g.TBODY]:P,[g.THEAD]:P,[g.TFOOT]:P,[g.CAPTION]:F,[g.COLGROUP]:R,[g.TABLE]:N,[g.BODY]:S,[g.FRAMESET]:z},V={[g.CAPTION]:N,[g.COLGROUP]:N,[g.TBODY]:N,[g.TFOOT]:N,[g.THEAD]:N,[g.COL]:R,[g.TR]:P,[g.TD]:I,[g.TH]:I},Y={[b]:{[r.CHARACTER_TOKEN]:ue,[r.NULL_CHARACTER_TOKEN]:ue,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?m.DOCUMENT_MODE.QUIRKS:f.getDocumentMode(t);f.isConforming(t)||e._err(d.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=D},[r.START_TAG_TOKEN]:ue,[r.END_TAG_TOKEN]:ue,[r.EOF_TOKEN]:ue},[D]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?(e._insertElement(t,v.HTML),e.insertionMode=x):le(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==g.HTML&&n!==g.HEAD&&n!==g.BODY&&n!==g.BR||le(e,t)},[r.EOF_TOKEN]:le},[x]:{[r.CHARACTER_TOKEN]:ce,[r.NULL_CHARACTER_TOKEN]:ce,[r.WHITESPACE_CHARACTER_TOKEN]:ne,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.HEAD?(e._insertElement(t,v.HTML),e.headElement=e.openElements.current,e.insertionMode=_):ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HEAD||n===g.BODY||n===g.HTML||n===g.BR?ce(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:ce},[_]:{[r.CHARACTER_TOKEN]:de,[r.NULL_CHARACTER_TOKEN]:de,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:fe,[r.END_TAG_TOKEN]:pe,[r.EOF_TOKEN]:de},[k]:{[r.CHARACTER_TOKEN]:he,[r.NULL_CHARACTER_TOKEN]:he,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?fe(e,t):n===g.NOSCRIPT?e._err(d.nestedNoscriptInHead):he(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=_):n===g.BR?he(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:he},[O]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:me,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:re,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.BODY?(e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode=S):n===g.FRAMESET?(e._insertElement(t,v.HTML),e.insertionMode=z):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE?(e._err(d.abandonedHeadElementChild),e.openElements.push(e.headElement),fe(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):me(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?me(e,t):n===g.TEMPLATE?pe(e,t):e._err(d.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:me},[S]:{[r.CHARACTER_TOKEN]:ve,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Oe,[r.END_TAG_TOKEN]:Be,[r.EOF_TOKEN]:Fe},[w]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ae,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:ne,[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(d.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[N]:{[r.CHARACTER_TOKEN]:Re,[r.NULL_CHARACTER_TOKEN]:Re,[r.WHITESPACE_CHARACTER_TOKEN]:Re,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:Pe,[r.END_TAG_TOKEN]:Ie,[r.EOF_TOKEN]:Fe},[B]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:Le,[r.DOCTYPE_TOKEN]:Le,[r.START_TAG_TOKEN]:Le,[r.END_TAG_TOKEN]:Le,[r.EOF_TOKEN]:Le},[F]:{[r.CHARACTER_TOKEN]:ve,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TD||n===g.TFOOT||n===g.TH||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(g.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=N,e._processToken(t)):Oe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE?e.openElements.hasInTableScope(g.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=N,n===g.TABLE&&e._processToken(t)):n!==g.BODY&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&Be(e,t)},[r.EOF_TOKEN]:Fe},[R]:{[r.CHARACTER_TOKEN]:je,[r.NULL_CHARACTER_TOKEN]:je,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.COL?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.TEMPLATE?fe(e,t):je(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.COLGROUP?e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=N):n===g.TEMPLATE?pe(e,t):n!==g.COL&&je(e,t)},[r.EOF_TOKEN]:Fe},[P]:{[r.CHARACTER_TOKEN]:Re,[r.NULL_CHARACTER_TOKEN]:Re,[r.WHITESPACE_CHARACTER_TOKEN]:Re,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,v.HTML),e.insertionMode=I):n===g.TH||n===g.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(g.TR),e.insertionMode=I,e._processToken(t)):n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TFOOT||n===g.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TBODY||n===g.TFOOT||n===g.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N):n===g.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=N,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH&&n!==g.TR)&&Ie(e,t)},[r.EOF_TOKEN]:Fe},[I]:{[r.CHARACTER_TOKEN]:Re,[r.NULL_CHARACTER_TOKEN]:Re,[r.WHITESPACE_CHARACTER_TOKEN]:Re,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TH||n===g.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,v.HTML),e.insertionMode=M,e.activeFormattingElements.insertMarker()):n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):Pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P):n===g.TABLE?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):n===g.TBODY||n===g.TFOOT||n===g.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(g.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=P,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH)&&Ie(e,t)},[r.EOF_TOKEN]:Fe},[M]:{[r.CHARACTER_TOKEN]:ve,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.COL||n===g.COLGROUP||n===g.TBODY||n===g.TD||n===g.TFOOT||n===g.TH||n===g.THEAD||n===g.TR?(e.openElements.hasInTableScope(g.TD)||e.openElements.hasInTableScope(g.TH))&&(e._closeTableCell(),e._processToken(t)):Oe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TD||n===g.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=I):n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&Be(e,t)},[r.EOF_TOKEN]:Fe},[L]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:He,[r.END_TAG_TOKEN]:Ue,[r.EOF_TOKEN]:Fe},[j]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR||n===g.TD||n===g.TH?(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),e._processToken(t)):He(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.CAPTION||n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR||n===g.TD||n===g.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),e._processToken(t)):Ue(e,t)},[r.EOF_TOKEN]:Fe},[H]:{[r.CHARACTER_TOKEN]:ve,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.SCRIPT||n===g.STYLE||n===g.TEMPLATE||n===g.TITLE)fe(e,t);else{const r=V[n]||S;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.TEMPLATE&&pe(e,t)},[r.EOF_TOKEN]:ze},[U]:{[r.CHARACTER_TOKEN]:Ge,[r.NULL_CHARACTER_TOKEN]:Ge,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?Oe(e,t):Ge(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=K):Ge(e,t)},[r.EOF_TOKEN]:se},[z]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.FRAMESET?e._insertElement(t,v.HTML):n===g.FRAME?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==g.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===g.FRAMESET||(e.insertionMode=G))},[r.EOF_TOKEN]:se},[G]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ae,[r.COMMENT_TOKEN]:oe,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.NOFRAMES&&fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML&&(e.insertionMode=W)},[r.EOF_TOKEN]:se},[K]:{[r.CHARACTER_TOKEN]:Ke,[r.NULL_CHARACTER_TOKEN]:Ke,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?Oe(e,t):Ke(e,t)},[r.END_TAG_TOKEN]:Ke,[r.EOF_TOKEN]:se},[W]:{[r.CHARACTER_TOKEN]:ne,[r.NULL_CHARACTER_TOKEN]:ne,[r.WHITESPACE_CHARACTER_TOKEN]:ge,[r.COMMENT_TOKEN]:ie,[r.DOCTYPE_TOKEN]:ne,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.NOFRAMES&&fe(e,t)},[r.END_TAG_TOKEN]:ne,[r.EOF_TOKEN]:se}};function $(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ne(e,t),n}function X(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o)&&(n=o)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function Q(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let i=0,a=o;a!==n;i++,a=o){o=e.openElements.getCommonAncestor(a);const n=e.activeFormattingElements.getElementEntry(a),s=n&&i>=A;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=Z(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Z(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function J(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),o=e.treeAdapter.getNamespaceURI(t);r===g.TEMPLATE&&o===v.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ee(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),o=n.token,i=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i)}function te(e,t){let n;for(let r=0;r<y&&(n=$(e,t),n);r++){const t=X(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=Q(e,t,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),J(e,o,r),ee(e,t,n)}}function ne(){}function re(e){e._err(d.misplacedDoctype)}function oe(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function ie(e,t){e._appendCommentNode(t,e.document)}function ae(e,t){e._insertCharacters(t)}function se(e){e.stopped=!0}function ue(e,t){e._err(d.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,m.DOCUMENT_MODE.QUIRKS),e.insertionMode=D,e._processToken(t)}function le(e,t){e._insertFakeRootElement(),e.insertionMode=x,e._processToken(t)}function ce(e,t){e._insertFakeElement(g.HEAD),e.headElement=e.openElements.current,e.insertionMode=_,e._processToken(t)}function fe(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.BASE||n===g.BASEFONT||n===g.BGSOUND||n===g.LINK||n===g.META?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.TITLE?e._switchToTextParsing(t,r.MODE.RCDATA):n===g.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,r.MODE.RAWTEXT):(e._insertElement(t,v.HTML),e.insertionMode=k):n===g.NOFRAMES||n===g.STYLE?e._switchToTextParsing(t,r.MODE.RAWTEXT):n===g.SCRIPT?e._switchToTextParsing(t,r.MODE.SCRIPT_DATA):n===g.TEMPLATE?(e._insertTemplate(t,v.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=H,e._pushTmplInsertionMode(H)):n===g.HEAD?e._err(d.misplacedStartTagForHeadElement):de(e,t)}function pe(e,t){const n=t.tagName;n===g.HEAD?(e.openElements.pop(),e.insertionMode=O):n===g.BODY||n===g.BR||n===g.HTML?de(e,t):n===g.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==g.TEMPLATE&&e._err(d.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(d.endTagWithoutMatchingOpenElement)}function de(e,t){e.openElements.pop(),e.insertionMode=O,e._processToken(t)}function he(e,t){const n=t.type===r.EOF_TOKEN?d.openElementsLeftAfterEof:d.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=_,e._processToken(t)}function me(e,t){e._insertFakeElement(g.BODY),e.insertionMode=S,e._processToken(t)}function ge(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Ee(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function Ce(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Te(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ye(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Ae(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function be(e,t){e._appendElement(t,v.HTML),t.ackSelfClosing=!0}function De(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function xe(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function _e(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,v.HTML)}function ke(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function Oe(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?Te(e,t):n===g.P?Ee(e,t):n===g.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(te(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):ke(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?Ee(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==g.H1&&n!==g.H2&&n!==g.H3&&n!==g.H4&&n!==g.H5&&n!==g.H6||e.openElements.pop(),e._insertElement(t,v.HTML)}(e,t):n===g.LI||n===g.DD||n===g.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.items[t],o=e.treeAdapter.getTagName(r);let i=null;if(n===g.LI&&o===g.LI?i=g.LI:n!==g.DD&&n!==g.DT||o!==g.DD&&o!==g.DT||(i=o),i){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(o!==g.ADDRESS&&o!==g.DIV&&o!==g.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}(e,t):n===g.EM||n===g.TT?Te(e,t):n===g.BR?Ae(e,t):n===g.HR?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._appendElement(t,v.HTML),e.framesetOk=!1,e.ackSelfClosing=!0}(e,t):n===g.RB?_e(e,t):n===g.RT||n===g.RP?function(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(g.RTC),e._insertElement(t,v.HTML)}(e,t):n!==g.TH&&n!==g.TD&&n!==g.TR&&ke(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?Ee(e,t):n===g.PRE?Ce(e,t):n===g.BIG?Te(e,t):n===g.IMG||n===g.WBR?Ae(e,t):n===g.XMP?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===g.SVG?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenSVGAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.SVG):e._insertElement(t,v.SVG),t.ackSelfClosing=!0}(e,t):n===g.RTC?_e(e,t):n!==g.COL&&ke(e,t);break;case 4:n===g.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===g.BASE||n===g.LINK||n===g.META?fe(e,t):n===g.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===g.MAIN||n===g.MENU?Ee(e,t):n===g.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===g.CODE||n===g.FONT?Te(e,t):n===g.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(te(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===g.AREA?Ae(e,t):n===g.MATH?function(e,t){e._reconstructActiveFormattingElements(),p.adjustTokenMathMLAttrs(t),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.MATHML):e._insertElement(t,v.MATHML),t.ackSelfClosing=!0}(e,t):n===g.MENU?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}(e,t):n!==g.HEAD&&ke(e,t);break;case 5:n===g.STYLE||n===g.TITLE?fe(e,t):n===g.ASIDE?Ee(e,t):n===g.SMALL?Te(e,t):n===g.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==m.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode=N}(e,t):n===g.EMBED?Ae(e,t):n===g.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML);const n=r.getTokenAttr(t,E.TYPE);n&&n.toLowerCase()===T||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===g.PARAM||n===g.TRACK?be(e,t):n===g.IMAGE?function(e,t){t.tagName=g.IMG,Ae(e,t)}(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&ke(e,t);break;case 6:n===g.SCRIPT?fe(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?Ee(e,t):n===g.BUTTON?function(e,t){e.openElements.hasInScope(g.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(g.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.framesetOk=!1}(e,t):n===g.STRIKE||n===g.STRONG?Te(e,t):n===g.APPLET||n===g.OBJECT?ye(e,t):n===g.KEYGEN?Ae(e,t):n===g.SOURCE?be(e,t):n===g.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===g.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.framesetOk=!1,e.insertionMode===N||e.insertionMode===F||e.insertionMode===P||e.insertionMode===I||e.insertionMode===M?e.insertionMode=j:e.insertionMode=L}(e,t):n===g.OPTION?xe(e,t):ke(e,t);break;case 7:n===g.BGSOUND?fe(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?Ee(e,t):n===g.LISTING?Ce(e,t):n===g.MARQUEE?ye(e,t):n===g.NOEMBED?De(e,t):n!==g.CAPTION&&ke(e,t);break;case 8:n===g.BASEFONT?fe(e,t):n===g.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,v.HTML),e.insertionMode=z)}(e,t):n===g.FIELDSET?Ee(e,t):n===g.TEXTAREA?function(e,t){e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=w}(e,t):n===g.TEMPLATE?fe(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?De(e,t):ke(e,t):n===g.OPTGROUP?xe(e,t):n!==g.COLGROUP&&ke(e,t);break;case 9:n===g.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}(e,t):ke(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Ee(e,t):ke(e,t);break;default:ke(e,t)}}function Se(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function we(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Ne(e,t){const n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function Be(e,t){const n=t.tagName;switch(n.length){case 1:n===g.A||n===g.B||n===g.I||n===g.S||n===g.U?te(e,t):n===g.P?function(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}(e):Ne(e,t);break;case 2:n===g.DL||n===g.UL||n===g.OL?Se(e,t):n===g.LI?function(e){e.openElements.hasInListItemScope(g.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(g.LI),e.openElements.popUntilTagNamePopped(g.LI))}(e):n===g.DD||n===g.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===g.H1||n===g.H2||n===g.H3||n===g.H4||n===g.H5||n===g.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===g.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(g.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===g.EM||n===g.TT?te(e,t):Ne(e,t);break;case 3:n===g.BIG?te(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?Se(e,t):Ne(e,t);break;case 4:n===g.BODY?function(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=U)}(e):n===g.HTML?function(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=U,e._processToken(t))}(e,t):n===g.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(g.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(g.FORM):e.openElements.remove(n))}(e):n===g.CODE||n===g.FONT||n===g.NOBR?te(e,t):n===g.MAIN||n===g.MENU?Se(e,t):Ne(e,t);break;case 5:n===g.ASIDE?Se(e,t):n===g.SMALL?te(e,t):Ne(e,t);break;case 6:n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?Se(e,t):n===g.APPLET||n===g.OBJECT?we(e,t):n===g.STRIKE||n===g.STRONG?te(e,t):Ne(e,t);break;case 7:n===g.ADDRESS||n===g.ARTICLE||n===g.DETAILS||n===g.SECTION||n===g.SUMMARY||n===g.LISTING?Se(e,t):n===g.MARQUEE?we(e,t):Ne(e,t);break;case 8:n===g.FIELDSET?Se(e,t):n===g.TEMPLATE?pe(e,t):Ne(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Se(e,t):Ne(e,t);break;default:Ne(e,t)}}function Fe(e,t){e.tmplInsertionModeStackTop>-1?ze(e,t):e.stopped=!0}function Re(e,t){const n=e.openElements.currentTagName;n===g.TABLE||n===g.TBODY||n===g.TFOOT||n===g.THEAD||n===g.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=B,e._processToken(t)):Me(e,t)}function Pe(e,t){const n=t.tagName;switch(n.length){case 2:n===g.TD||n===g.TH||n===g.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.TBODY),e.insertionMode=P,e._processToken(t)}(e,t):Me(e,t);break;case 3:n===g.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=R,e._processToken(t)}(e,t):Me(e,t);break;case 4:n===g.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,v.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):Me(e,t);break;case 5:n===g.TABLE?function(e,t){e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===g.STYLE?fe(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=P}(e,t):n===g.INPUT?function(e,t){const n=r.getTokenAttr(t,E.TYPE);n&&n.toLowerCase()===T?e._appendElement(t,v.HTML):Me(e,t),t.ackSelfClosing=!0}(e,t):Me(e,t);break;case 6:n===g.SCRIPT?fe(e,t):Me(e,t);break;case 7:n===g.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,v.HTML),e.insertionMode=F}(e,t):Me(e,t);break;case 8:n===g.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=R}(e,t):n===g.TEMPLATE?fe(e,t):Me(e,t);break;default:Me(e,t)}}function Ie(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?pe(e,t):n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP&&n!==g.HTML&&n!==g.TBODY&&n!==g.TD&&n!==g.TFOOT&&n!==g.TH&&n!==g.THEAD&&n!==g.TR&&Me(e,t)}function Me(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Le(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Me(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function je(e,t){e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=N,e._processToken(t))}function He(e,t){const n=t.tagName;n===g.HTML?Oe(e,t):n===g.OPTION?(e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._insertElement(t,v.HTML)):n===g.OPTGROUP?(e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e.openElements.currentTagName===g.OPTGROUP&&e.openElements.pop(),e._insertElement(t,v.HTML)):n===g.INPUT||n===g.KEYGEN||n===g.TEXTAREA||n===g.SELECT?e.openElements.hasInSelectScope(g.SELECT)&&(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode(),n!==g.SELECT&&e._processToken(t)):n!==g.SCRIPT&&n!==g.TEMPLATE||fe(e,t)}function Ue(e,t){const n=t.tagName;if(n===g.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===g.OPTION&&n===g.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===g.OPTGROUP&&e.openElements.pop()}else n===g.OPTION?e.openElements.currentTagName===g.OPTION&&e.openElements.pop():n===g.SELECT&&e.openElements.hasInSelectScope(g.SELECT)?(e.openElements.popUntilTagNamePopped(g.SELECT),e._resetInsertionMode()):n===g.TEMPLATE&&pe(e,t)}function ze(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Ge(e,t){e.insertionMode=S,e._processToken(t)}function Ke(e,t){e.insertionMode=S,e._processToken(t)}e.exports=class{constructor(e){this.options=c(C,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&u.install(this,a),this.options.onParseError&&u.install(this,s,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(g.TEMPLATE,v.HTML,[]));const n=this.treeAdapter.createElement("documentmock",v.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===g.TEMPLATE&&this._pushTmplInsertionMode(H),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),o=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,o),o}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=b,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new o(this.document,this.treeAdapter),this.activeFormattingElements=new i(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==v.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,v.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=w}switchToPlaintextParsing(){this.insertionMode=w,this.originalInsertionMode=S,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===g.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===v.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===g.TITLE||e===g.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===g.STYLE||e===g.XMP||e===g.IFRAME||e===g.NOEMBED||e===g.NOFRAMES||e===g.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===g.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===g.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,v.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,v.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(g.HTML,v.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===v.HTML)return!1;if(this.treeAdapter.getTagName(t)===g.ANNOTATION_XML&&n===v.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===g.SVG)return!1;const o=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN;return!((e.type===r.START_TAG_TOKEN&&e.tagName!==g.MGLYPH&&e.tagName!==g.MALIGNMARK||o)&&this._isIntegrationPoint(t,v.MATHML)||(e.type===r.START_TAG_TOKEN||o)&&this._isIntegrationPoint(t,v.HTML)||e.type===r.EOF_TOKEN)}_processToken(e){Y[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){Y[S][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===r.NULL_CHARACTER_TOKEN?function(e,t){t.chars=h.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?ae(this,e):e.type===r.COMMENT_TOKEN?oe(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(p.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==v.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===v.MATHML?p.adjustTokenMathMLAttrs(t):r===v.SVG&&(p.adjustTokenSVGTagName(t),p.adjustTokenSVGAttrs(t)),p.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===v.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(d.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return p.isIntegrationPoint(n,r,o,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===i.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=I}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(g.P),this.openElements.popUntilTagNamePopped(g.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),o=q[r];if(o){this.insertionMode=o;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=M;break}if(!t&&r===g.HEAD){this.insertionMode=_;break}if(r===g.SELECT){this._resetInsertionModeForSelect(e);break}if(r===g.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===g.HTML){this.insertionMode=this.headElement?O:x;break}if(t){this.insertionMode=S;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===g.TEMPLATE)break;if(n===g.TABLE)return void(this.insertionMode=j)}this.insertionMode=L}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===g.TABLE||t===g.TBODY||t===g.TFOOT||t===g.THEAD||t===g.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),o=this.treeAdapter.getNamespaceURI(n);if(r===g.TEMPLATE&&o===v.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===g.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return m.SPECIAL_ELEMENTS[n][t]}}},23203:(e,t,n)=>{"use strict";const r=n(95218),o=r.TAG_NAMES,i=r.NAMESPACES;function a(e){switch(e.length){case 1:return e===o.P;case 2:return e===o.RB||e===o.RP||e===o.RT||e===o.DD||e===o.DT||e===o.LI;case 3:return e===o.RTC;case 6:return e===o.OPTION;case 8:return e===o.OPTGROUP}return!1}function s(e){switch(e.length){case 1:return e===o.P;case 2:return e===o.RB||e===o.RP||e===o.RT||e===o.DD||e===o.DT||e===o.LI||e===o.TD||e===o.TH||e===o.TR;case 3:return e===o.RTC;case 5:return e===o.TBODY||e===o.TFOOT||e===o.THEAD;case 6:return e===o.OPTION;case 7:return e===o.CAPTION;case 8:return e===o.OPTGROUP||e===o.COLGROUP}return!1}function u(e,t){switch(e.length){case 2:if(e===o.TD||e===o.TH)return t===i.HTML;if(e===o.MI||e===o.MO||e===o.MN||e===o.MS)return t===i.MATHML;break;case 4:if(e===o.HTML)return t===i.HTML;if(e===o.DESC)return t===i.SVG;break;case 5:if(e===o.TABLE)return t===i.HTML;if(e===o.MTEXT)return t===i.MATHML;if(e===o.TITLE)return t===i.SVG;break;case 6:return(e===o.APPLET||e===o.OBJECT)&&t===i.HTML;case 7:return(e===o.CAPTION||e===o.MARQUEE)&&t===i.HTML;case 8:return e===o.TEMPLATE&&t===i.HTML;case 13:return e===o.FOREIGN_OBJECT&&t===i.SVG;case 14:return e===o.ANNOTATION_XML&&t===i.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===i.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===i.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===o.H1||e===o.H2||e===o.H3||e===o.H4||e===o.H5||e===o.H6&&t===i.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===o.TD||e===o.TH&&t===i.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==o.TABLE&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==o.TBODY&&this.currentTagName!==o.TFOOT&&this.currentTagName!==o.THEAD&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==o.TR&&this.currentTagName!==o.TEMPLATE&&this.currentTagName!==o.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===o.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===o.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(u(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===o.H1||t===o.H2||t===o.H3||t===o.H4||t===o.H5||t===o.H6)&&n===i.HTML)return!0;if(u(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if((n===o.UL||n===o.OL)&&r===i.HTML||u(n,r))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(n===o.BUTTON&&r===i.HTML||u(n,r))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n===o.TABLE||n===o.TEMPLATE||n===o.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===i.HTML){if(t===o.TBODY||t===o.THEAD||t===o.TFOOT)return!0;if(t===o.TABLE||t===o.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n!==o.OPTION&&n!==o.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;a(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;s(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;a(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}},3183:(e,t,n)=>{"use strict";const r=n(27567),o=n(13114),i=n(84906),a=n(61445),s=o.CODE_POINTS,u=o.CODE_POINT_SEQUENCES,l={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},c="DATA_STATE",f="RCDATA_STATE",p="RAWTEXT_STATE",d="SCRIPT_DATA_STATE",h="PLAINTEXT_STATE",m="TAG_OPEN_STATE",g="END_TAG_OPEN_STATE",v="TAG_NAME_STATE",E="RCDATA_LESS_THAN_SIGN_STATE",C="RCDATA_END_TAG_OPEN_STATE",T="RCDATA_END_TAG_NAME_STATE",y="RAWTEXT_LESS_THAN_SIGN_STATE",A="RAWTEXT_END_TAG_OPEN_STATE",b="RAWTEXT_END_TAG_NAME_STATE",D="SCRIPT_DATA_LESS_THAN_SIGN_STATE",x="SCRIPT_DATA_END_TAG_OPEN_STATE",_="SCRIPT_DATA_END_TAG_NAME_STATE",k="SCRIPT_DATA_ESCAPE_START_STATE",O="SCRIPT_DATA_ESCAPE_START_DASH_STATE",S="SCRIPT_DATA_ESCAPED_STATE",w="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",B="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",F="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",R="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",P="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",I="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",M="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",L="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",j="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",U="BEFORE_ATTRIBUTE_NAME_STATE",z="ATTRIBUTE_NAME_STATE",G="AFTER_ATTRIBUTE_NAME_STATE",K="BEFORE_ATTRIBUTE_VALUE_STATE",W="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",q="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",V="ATTRIBUTE_VALUE_UNQUOTED_STATE",Y="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",$="SELF_CLOSING_START_TAG_STATE",X="BOGUS_COMMENT_STATE",Q="MARKUP_DECLARATION_OPEN_STATE",Z="COMMENT_START_STATE",J="COMMENT_START_DASH_STATE",ee="COMMENT_STATE",te="COMMENT_LESS_THAN_SIGN_STATE",ne="COMMENT_LESS_THAN_SIGN_BANG_STATE",re="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",oe="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",ie="COMMENT_END_DASH_STATE",ae="COMMENT_END_STATE",se="COMMENT_END_BANG_STATE",ue="DOCTYPE_STATE",le="BEFORE_DOCTYPE_NAME_STATE",ce="DOCTYPE_NAME_STATE",fe="AFTER_DOCTYPE_NAME_STATE",pe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",de="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",he="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",me="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",ge="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",ve="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",Ee="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Ce="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Te="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",ye="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Ae="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",be="BOGUS_DOCTYPE_STATE",De="CDATA_SECTION_STATE",xe="CDATA_SECTION_BRACKET_STATE",_e="CDATA_SECTION_END_STATE",ke="CHARACTER_REFERENCE_STATE",Oe="NAMED_CHARACTER_REFERENCE_STATE",Se="AMBIGUOS_AMPERSAND_STATE",we="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Be="DECIMAL_CHARACTER_REFERENCE_START_STATE",Fe="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Re="DECIMAL_CHARACTER_REFERENCE_STATE",Pe="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Ie(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function Me(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function Le(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function je(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function He(e){return je(e)||Le(e)}function Ue(e){return He(e)||Me(e)}function ze(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function Ge(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function Ke(e){return e+32}function We(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function qe(e){return String.fromCharCode(Ke(e))}function Ve(e,t){const n=i[++e];let r=++e,o=r+n-1;for(;r<=o;){const e=r+o>>>1,a=i[e];if(a<t)r=e+1;else{if(!(a>t))return i[e+n];o=e-1}}return-1}class Ye{constructor(){this.preprocessor=new r,this.tokenQueue=[],this.allowCDATA=!1,this.state=c,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Ye.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,o=!0;const i=e.length;let a,u=0,l=t;for(;u<i;u++){if(u>0&&(l=this._consume(),r++),l===s.EOF){o=!1;break}if(a=e[u],l!==a&&(n||l!==Ke(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==u.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==u.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:Ye.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Ye.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Ye.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:Ye.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:Ye.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===Ye.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(a.duplicateAttribute),this.state=e}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const e=this.currentToken;this.currentToken=null,e.type===Ye.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===Ye.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(a.endTagWithAttributes),e.selfClosing&&this._err(a.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Ye.CHARACTER_TOKEN;Ie(e)?t=Ye.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=Ye.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,We(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken(Ye.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=Ve(0,e);for(this.tempBuff.push(e);r>-1;){const e=i[r],o=e<7;o&&1&e&&(t=2&e?[i[++r],i[++r]]:[i[++r]],n=0);const a=this._consume();if(this.tempBuff.push(a),n++,a===s.EOF)break;r=o?4&e?Ve(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===W||this.returnState===q||this.returnState===V}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||Ue(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=We(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[c](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=m:e===s.AMPERSAND?(this.returnState=c,this.state=ke):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitCodePoint(e)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[f](e){this.preprocessor.dropParsedChunk(),e===s.AMPERSAND?(this.returnState=f,this.state=ke):e===s.LESS_THAN_SIGN?this.state=E:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[p](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=y:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[d](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=D:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[h](e){this.preprocessor.dropParsedChunk(),e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[m](e){e===s.EXCLAMATION_MARK?this.state=Q:e===s.SOLIDUS?this.state=g:He(e)?(this._createStartTagToken(),this._reconsumeInState(v)):e===s.QUESTION_MARK?(this._err(a.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(X)):e===s.EOF?(this._err(a.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(a.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(c))}[g](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(v)):e===s.GREATER_THAN_SIGN?(this._err(a.missingEndTagName),this.state=c):e===s.EOF?(this._err(a.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(a.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(X))}[v](e){Ie(e)?this.state=U:e===s.SOLIDUS?this.state=$:e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):Le(e)?this.currentToken.tagName+=qe(e):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.tagName+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=We(e)}[E](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=C):(this._emitChars("<"),this._reconsumeInState(f))}[C](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(T)):(this._emitChars("</"),this._reconsumeInState(f))}[T](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=U);if(e===s.SOLIDUS)return void(this.state=$);if(e===s.GREATER_THAN_SIGN)return this.state=c,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(f)}}[y](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=A):(this._emitChars("<"),this._reconsumeInState(p))}[A](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(b)):(this._emitChars("</"),this._reconsumeInState(p))}[b](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=U);if(e===s.SOLIDUS)return void(this.state=$);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}[D](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=x):e===s.EXCLAMATION_MARK?(this.state=k,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(d))}[x](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(_)):(this._emitChars("</"),this._reconsumeInState(d))}[_](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=U);if(e===s.SOLIDUS)return void(this.state=$);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(d)}}[k](e){e===s.HYPHEN_MINUS?(this.state=O,this._emitChars("-")):this._reconsumeInState(d)}[O](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):this._reconsumeInState(d)}[S](e){e===s.HYPHEN_MINUS?(this.state=w,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=B:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[w](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=B:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=S,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=S,this._emitCodePoint(e))}[N](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?this.state=B:e===s.GREATER_THAN_SIGN?(this.state=d,this._emitChars(">")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=S,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=S,this._emitCodePoint(e))}[B](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=F):He(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(P)):(this._emitChars("<"),this._reconsumeInState(S))}[F](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(R)):(this._emitChars("</"),this._reconsumeInState(S))}[R](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=We(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Ie(e))return void(this.state=U);if(e===s.SOLIDUS)return void(this.state=$);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(S)}}[P](e){Ie(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?I:S,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(Ke(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(S)}[I](e){e===s.HYPHEN_MINUS?(this.state=M,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=j,this._emitChars("<")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[M](e){e===s.HYPHEN_MINUS?(this.state=L,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=j,this._emitChars("<")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=I,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=I,this._emitCodePoint(e))}[L](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?(this.state=j,this._emitChars("<")):e===s.GREATER_THAN_SIGN?(this.state=d,this._emitChars(">")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=I,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=I,this._emitCodePoint(e))}[j](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=H,this._emitChars("/")):this._reconsumeInState(I)}[H](e){Ie(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?S:I,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(Ke(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(I)}[U](e){Ie(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(G):e===s.EQUALS_SIGN?(this._err(a.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=z):(this._createAttr(""),this._reconsumeInState(z)))}[z](e){Ie(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(G),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(K):Le(e)?this.currentAttr.name+=qe(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(a.unexpectedCharacterInAttributeName),this.currentAttr.name+=We(e)):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.name+=o.REPLACEMENT_CHARACTER):this.currentAttr.name+=We(e)}[G](e){Ie(e)||(e===s.SOLIDUS?this.state=$:e===s.EQUALS_SIGN?this.state=K:e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(z)))}[K](e){Ie(e)||(e===s.QUOTATION_MARK?this.state=W:e===s.APOSTROPHE?this.state=q:e===s.GREATER_THAN_SIGN?(this._err(a.missingAttributeValue),this.state=c,this._emitCurrentToken()):this._reconsumeInState(V))}[W](e){e===s.QUOTATION_MARK?this.state=Y:e===s.AMPERSAND?(this.returnState=W,this.state=ke):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=We(e)}[q](e){e===s.APOSTROPHE?this.state=Y:e===s.AMPERSAND?(this.returnState=q,this.state=ke):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=We(e)}[V](e){Ie(e)?this._leaveAttrValue(U):e===s.AMPERSAND?(this.returnState=V,this.state=ke):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(c),this._emitCurrentToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.value+=o.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(a.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=We(e)):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=We(e)}[Y](e){Ie(e)?this._leaveAttrValue(U):e===s.SOLIDUS?this._leaveAttrValue($):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(c),this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.missingWhitespaceBetweenAttributes),this._reconsumeInState(U))}[$](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._err(a.unexpectedSolidusInTag),this._reconsumeInState(U))}[X](e){e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=o.REPLACEMENT_CHARACTER):this.currentToken.data+=We(e)}[Q](e){this._consumeSequenceIfMatch(u.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=Z):this._consumeSequenceIfMatch(u.DOCTYPE_STRING,e,!1)?this.state=ue:this._consumeSequenceIfMatch(u.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=De:(this._err(a.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=X):this._ensureHibernation()||(this._err(a.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(X))}[Z](e){e===s.HYPHEN_MINUS?this.state=J:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=c,this._emitCurrentToken()):this._reconsumeInState(ee)}[J](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ee](e){e===s.HYPHEN_MINUS?this.state=ie:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=te):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.data+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=We(e)}[te](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=ne):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(ee)}[ne](e){e===s.HYPHEN_MINUS?this.state=re:this._reconsumeInState(ee)}[re](e){e===s.HYPHEN_MINUS?this.state=oe:this._reconsumeInState(ie)}[oe](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(a.nestedComment),this._reconsumeInState(ae)}[ie](e){e===s.HYPHEN_MINUS?this.state=ae:e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(ee))}[ae](e){e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=se:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(ee))}[se](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=ie):e===s.GREATER_THAN_SIGN?(this._err(a.incorrectlyClosedComment),this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(ee))}[ue](e){Ie(e)?this.state=le:e===s.GREATER_THAN_SIGN?this._reconsumeInState(le):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(le))}[le](e){Ie(e)||(Le(e)?(this._createDoctypeToken(qe(e)),this.state=ce):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._createDoctypeToken(o.REPLACEMENT_CHARACTER),this.state=ce):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=c):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(We(e)),this.state=ce))}[ce](e){Ie(e)?this.state=fe:e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):Le(e)?this.currentToken.name+=qe(e):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.name+=o.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=We(e)}[fe](e){Ie(e)||(e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(u.PUBLIC_STRING,e,!1)?this.state=pe:this._consumeSequenceIfMatch(u.SYSTEM_STRING,e,!1)?this.state=Ee:this._ensureHibernation()||(this._err(a.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(be)))}[pe](e){Ie(e)?this.state=de:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=he):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=me):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(be))}[de](e){Ie(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=he):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=me):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(be)))}[he](e){e===s.QUOTATION_MARK?this.state=ge:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=c):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=We(e)}[me](e){e===s.APOSTROPHE?this.state=ge:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.publicId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=c):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=We(e)}[ge](e){Ie(e)?this.state=ve:e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Te):e===s.APOSTROPHE?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=ye):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(be))}[ve](e){Ie(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=c):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Te):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=ye):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(be)))}[Ee](e){Ie(e)?this.state=Ce:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Te):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=ye):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(be))}[Ce](e){Ie(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Te):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=ye):e===s.GREATER_THAN_SIGN?(this._err(a.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(be)))}[Te](e){e===s.QUOTATION_MARK?this.state=Ae:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=c):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=We(e)}[ye](e){e===s.APOSTROPHE?this.state=Ae:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentToken.systemId+=o.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(a.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=c):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=We(e)}[Ae](e){Ie(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=c):e===s.EOF?(this._err(a.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(be)))}[be](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=c):e===s.NULL?this._err(a.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[De](e){e===s.RIGHT_SQUARE_BRACKET?this.state=xe:e===s.EOF?(this._err(a.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[xe](e){e===s.RIGHT_SQUARE_BRACKET?this.state=_e:(this._emitChars("]"),this._reconsumeInState(De))}[_e](e){e===s.GREATER_THAN_SIGN?this.state=c:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(De))}[ke](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=we):Ue(e)?this._reconsumeInState(Oe):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Oe](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(a.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=Se}[Se](e){Ue(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=We(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(a.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[we](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Ne):this._reconsumeInState(Be)}[Ne](e){!function(e){return Me(e)||ze(e)||Ge(e)}(e)?(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Fe)}[Be](e){Me(e)?this._reconsumeInState(Re):(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Fe](e){ze(e)?this.charRefCode=16*this.charRefCode+e-55:Ge(e)?this.charRefCode=16*this.charRefCode+e-87:Me(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[Re](e){Me(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Pe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Pe))}[Pe](){if(this.charRefCode===s.NULL)this._err(a.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(a.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(o.isSurrogate(this.charRefCode))this._err(a.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(o.isUndefinedCodePoint(this.charRefCode))this._err(a.noncharacterCharacterReference);else if(o.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(a.controlCharacterReference);const e=l[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Ye.CHARACTER_TOKEN="CHARACTER_TOKEN",Ye.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ye.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ye.START_TAG_TOKEN="START_TAG_TOKEN",Ye.END_TAG_TOKEN="END_TAG_TOKEN",Ye.COMMENT_TOKEN="COMMENT_TOKEN",Ye.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ye.EOF_TOKEN="EOF_TOKEN",Ye.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ye.MODE={DATA:c,RCDATA:f,RAWTEXT:p,SCRIPT_DATA:d,PLAINTEXT:h},Ye.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null},e.exports=Ye},84906:e=>{"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},27567:(e,t,n)=>{"use strict";const r=n(13114),o=n(61445),i=r.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(r.isSurrogatePair(t))return this.pos++,this._addGap(),r.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,i.EOF;return this._err(o.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,i.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===i.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===i.CARRIAGE_RETURN?(this.skipNextNewLine=!0,i.LINE_FEED):(this.skipNextNewLine=!1,r.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===i.LINE_FEED||e===i.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){r.isControlCodePoint(e)?this._err(o.controlCharacterInInputStream):r.isUndefinedCodePoint(e)&&this._err(o.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}},99132:(e,t,n)=>{"use strict";const{DOCUMENT_MODE:r}=n(95218);t.createDocument=function(){return{nodeName:"#document",mode:r.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const o=function(e){return{nodeName:"#text",value:e,parentNode:null}},i=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},a=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let o=null;for(let t=0;t<e.childNodes.length;t++)if("#documentType"===e.childNodes[t].nodeName){o=e.childNodes[t];break}o?(o.name=t,o.publicId=n,o.systemId=r):i(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}i(e,o(t))},t.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&"#text"===r.nodeName?r.value+=t:a(e,o(t),n)},t.adoptAttributes=function(e,t){const n=[];for(let t=0;t<e.attrs.length;t++)n.push(e.attrs[t].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation}},58395:e=>{"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),Object.create(null))}},60814:e=>{"use strict";class t{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}t.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n<e.__mixins.length;n++)if(e.__mixins[n].constructor===t)return e.__mixins[n];const r=new t(e,n);return e.__mixins.push(r),r},e.exports=t},70521:(e,t,n)=>{"use strict";var r=n(2939),o=n(54688),i=n(9975),a="data";e.exports=function(e,t){var n=r(t),p=t,d=i;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===a&&s.test(t)&&("-"===t.charAt(4)?p=function(e){var t=e.slice(5).replace(u,f);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);return u.test(t)?e:("-"!==(t=t.replace(l,c)).charAt(0)&&(t="-"+t),a+t)}(t),d=o),new d(p,t))};var s=/^data[-\w.:]+$/i,u=/-[a-z]/g,l=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function f(e){return e.charAt(1).toUpperCase()}},59209:(e,t,n)=>{"use strict";var r=n(2706),o=n(62322),i=n(13837),a=n(45367),s=n(12024),u=n(61921);e.exports=r([i,o,a,s,u])},12024:(e,t,n)=>{"use strict";var r=n(87311),o=n(96486),i=r.booleanish,a=r.number,s=r.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:a,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:i,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},61921:(e,t,n)=>{"use strict";var r=n(87311),o=n(96486),i=n(12660),a=r.boolean,s=r.overloadedBoolean,u=r.booleanish,l=r.number,c=r.spaceSeparated,f=r.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:l,colSpan:null,content:null,contentEditable:u,controls:a,controlsList:c,coords:l|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:l,hidden:a,high:l,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:a,optimum:l,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:l,rowSpan:l,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:f,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:u,width:l,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:l,security:null,unselectable:null}})},34:(e,t,n)=>{"use strict";var r=n(87311),o=n(96486),i=n(72003),a=r.boolean,s=r.number,u=r.spaceSeparated,l=r.commaSeparated,c=r.commaOrSpaceSeparated;e.exports=o({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:i,properties:{about:c,accentHeight:s,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s,amplitude:s,arabicForm:null,ascent:s,attributeName:null,attributeType:null,azimuth:s,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s,by:null,calcMode:null,capHeight:s,className:u,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s,diffuseConstant:s,direction:null,display:null,dur:null,divisor:s,dominantBaseline:null,download:a,dx:null,dy:null,edgeMode:null,editable:null,elevation:s,enableBackground:null,end:null,event:null,exponent:s,externalResourcesRequired:null,fill:null,fillOpacity:s,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l,g2:l,glyphName:l,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s,horizOriginX:s,horizOriginY:s,id:null,ideographic:s,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s,k:s,k1:s,k2:s,k3:s,k4:s,kernelMatrix:c,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s,overlineThickness:s,paintOrder:null,panose1:null,path:null,pathLength:s,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s,pointsAtY:s,pointsAtZ:s,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c,rev:c,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c,requiredFeatures:c,requiredFonts:c,requiredFormats:c,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s,specularExponent:s,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s,strikethroughThickness:s,string:null,stroke:null,strokeDashArray:c,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s,strokeOpacity:s,strokeWidth:null,style:null,surfaceScale:s,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c,tabIndex:s,tableValues:null,target:null,targetX:s,targetY:s,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c,to:null,transform:null,u1:null,u2:null,underlinePosition:s,underlineThickness:s,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s,values:null,vAlphabetic:s,vMathematical:s,vectorEffect:null,vHanging:s,vIdeographic:s,version:null,vertAdvY:s,vertOriginX:s,vertOriginY:s,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},12660:(e,t,n)=>{"use strict";var r=n(72003);e.exports=function(e,t){return r(e,t.toLowerCase())}},72003:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},96486:(e,t,n)=>{"use strict";var r=n(2939),o=n(74362),i=n(54688);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],u=e.attributes||{},l=e.properties,c=e.transform,f={},p={};for(t in l)n=new i(t,c(u,t),l[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),f[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new o(f,p,a)}},54688:(e,t,n)=>{"use strict";var r=n(9975),o=n(87311);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=i.length;function s(e,t,n,s){var l,c=-1;for(u(this,"space",s),r.call(this,e,t);++c<a;)u(this,l=i[c],(n&o[l])===o[l])}function u(e,t,n){n&&(e[t]=n)}},9975:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},2706:(e,t,n)=>{"use strict";var r=n(51960),o=n(74362);e.exports=function(e){for(var t,n,i=e.length,a=[],s=[],u=-1;++u<i;)t=e[u],a.push(t.property),s.push(t.normal),n=t.space;return new o(r.apply(null,a),r.apply(null,s),n)}},74362:e=>{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},87311:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},62322:(e,t,n)=>{"use strict";var r=n(96486);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},13837:(e,t,n)=>{"use strict";var r=n(96486);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},45367:(e,t,n)=>{"use strict";var r=n(96486),o=n(12660);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o,properties:{xmlns:null,xmlnsXLink:null}})},2939:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},57956:(e,t,n)=>{"use strict";var r=n(2706),o=n(62322),i=n(13837),a=n(45367),s=n(12024),u=n(34);e.exports=r([i,o,a,s,u])},1350:(e,t,n)=>{"use strict";var r=n(12244);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=Object.prototype.hasOwnProperty,a=/^[: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]*$/,s={},u={};function l(e){return!!i.call(u,e)||!i.call(s,e)&&(a.test(e)?u[e]=!0:(s[e]=!0,!1))}function c(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var f={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){f[e]=new c(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];f[t]=new c(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){f[e]=new c(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){f[e]=new c(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){f[e]=new c(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){f[e]=new c(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){f[e]=new c(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){f[e]=new c(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){f[e]=new c(e,5,!1,e.toLowerCase(),null,!1,!1)}));var p=/[\-:]([a-z])/g;function d(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 t=e.replace(p,d);f[t]=new c(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(p,d);f[t]=new c(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(p,d);f[t]=new c(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){f[e]=new c(e,1,!1,e.toLowerCase(),null,!1,!1)})),f.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){f[e]=new c(e,1,!1,e.toLowerCase(),null,!0,!0)}));var h={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(h).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),h[t]=h[e]}))}));var g=/["'&<>]/;function v(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=g.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var E=/([A-Z])/g,C=/^ms-/,T=Array.isArray;function y(e,t){return{insertionMode:e,selectedValue:t}}var A=new Map;function b(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var r in t=!0,n)if(i.call(n,r)){var a=n[r];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===r.indexOf("--")){var s=v(r);a=v((""+a).trim())}else{s=r;var u=A.get(s);void 0!==u||(u=v(s.replace(E,"-$1").toLowerCase().replace(C,"-ms-")),A.set(s,u)),s=u,a="number"==typeof a?0===a||i.call(h,r)?""+a:a+"px":v((""+a).trim())}t?(t=!1,e.push(' style="',s,":",a)):e.push(";",s,":",a)}}t||e.push('"')}function D(e,t,n,r){switch(n){case"style":return void b(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=f.hasOwnProperty(n)?f[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=t.attributeName,t.type){case 3:r&&e.push(" ",n,'=""');break;case 4:!0===r?e.push(" ",n,'=""'):!1!==r&&e.push(" ",n,'="',v(r),'"');break;case 5:isNaN(r)||e.push(" ",n,'="',v(r),'"');break;case 6:!isNaN(r)&&1<=r&&e.push(" ",n,'="',v(r),'"');break;default:t.sanitizeURL&&(r=""+r),e.push(" ",n,'="',v(r),'"')}}else if(l(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",n,'="',v(r),'"')}}function x(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(""+t)}}function _(e,t,n,r){e.push(S(n));var o,a=n=null;for(o in t)if(i.call(t,o)){var s=t[o];if(null!=s)switch(o){case"children":n=s;break;case"dangerouslySetInnerHTML":a=s;break;default:D(e,r,o,s)}}return e.push(">"),x(e,a,n),"string"==typeof n?(e.push(v(n)),null):n}var k=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,O=new Map;function S(e){var t=O.get(e);if(void 0===t){if(!k.test(e))throw Error(o(65,e));t="<"+e,O.set(e,t)}return t}function w(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(o(395));return e.push(n),e.push('"></template>')}var N=/[<\u2028\u2029]/g;function B(e){return JSON.stringify(e).replace(N,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function F(e,t,n,r){return n.generateStaticMarkup?(e.push(v(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(v(t)),e=!0),e)}var R=Object.assign,P=Symbol.for("react.element"),I=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),U=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),V=Symbol.for("react.scope"),Y=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),X=Symbol.for("react.default_value"),Q=Symbol.iterator;function Z(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case M:return"Fragment";case I:return"Portal";case j:return"Profiler";case L:return"StrictMode";case G:return"Suspense";case K:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case U:return(e.displayName||"Context")+".Consumer";case H:return(e._context.displayName||"Context")+".Provider";case z:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case W:return null!==(t=e.displayName||null)?t:Z(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return Z(e(t))}catch(e){}}return null}var J={};function ee(e,t){if(!(e=e.contextTypes))return J;var n,r={};for(n in e)r[n]=t[n];return r}var te=null;function ne(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));ne(e,n)}t.context._currentValue2=t.value}}function re(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&re(e)}function oe(e){var t=e.parent;null!==t&&oe(t),e.context._currentValue2=e.value}function ie(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?ne(e,t):ie(e,t)}function ae(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?ne(e,n):ae(e,n),t.context._currentValue2=t.value}function se(e){var t=te;t!==e&&(null===t?oe(e):null===e?re(t):t.depth===e.depth?ne(t,e):t.depth>e.depth?ie(t,e):ae(t,e),te=e)}var ue={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function le(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=ue,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var a=t.contextType;if(e.context="object"==typeof a&&null!==a?a._currentValue2:r,"function"==typeof(a=t.getDerivedStateFromProps)&&(o=null==(a=a(n,o))?o:R({},o,a),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&ue.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,a=i.replace,i.queue=null,i.replace=!1,a&&1===t.length)e.state=t[0];else{for(i=a?t[0]:e.state,o=!0,a=a?1:0;a<t.length;a++){var s=t[a];null!=(s="function"==typeof s?s.call(e,i,n,r):s)&&(o?(o=!1,i=R({},i,s)):R(i,s))}e.state=i}else i.queue=null}var ce={id:1,overflow:""};function fe(e,t,n){var r=e.id;e=e.overflow;var o=32-pe(r)-1;r&=~(1<<o),n+=1;var i=32-pe(t)+o;if(30<i){var a=o-o%5;return i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,{id:1<<32-pe(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var pe=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(de(e)/he|0)|0},de=Math.log,he=Math.LN2,me="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ge=null,ve=null,Ee=null,Ce=null,Te=!1,ye=!1,Ae=0,be=null,De=0;function xe(){if(null===ge)throw Error(o(321));return ge}function _e(){if(0<De)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function ke(){return null===Ce?null===Ee?(Te=!1,Ee=Ce=_e()):(Te=!0,Ce=Ee):null===Ce.next?(Te=!1,Ce=Ce.next=_e()):(Te=!0,Ce=Ce.next),Ce}function Oe(){ve=ge=null,ye=!1,Ee=null,De=0,Ce=be=null}function Se(e,t){return"function"==typeof t?t(e):t}function we(e,t,n){if(ge=xe(),Ce=ke(),Te){var r=Ce.queue;if(t=r.dispatch,null!==be&&void 0!==(n=be.get(r))){be.delete(r),r=Ce.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ce.memoizedState=r,[r,t]}return[Ce.memoizedState,t]}return e=e===Se?"function"==typeof t?t():t:void 0!==n?n(t):t,Ce.memoizedState=e,e=(e=Ce.queue={last:null,dispatch:null}).dispatch=Be.bind(null,ge,e),[Ce.memoizedState,e]}function Ne(e,t){if(ge=xe(),t=void 0===t?null:t,null!==(Ce=ke())){var n=Ce.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!me(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ce.memoizedState=[e,t],e}function Be(e,t,n){if(25<=De)throw Error(o(301));if(e===ge)if(ye=!0,e={action:n,next:null},null===be&&(be=new Map),void 0===(n=be.get(t)))be.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Fe(){throw Error(o(394))}function Re(){}var Pe={readContext:function(e){return e._currentValue2},useContext:function(e){return xe(),e._currentValue2},useMemo:Ne,useReducer:we,useRef:function(e){ge=xe();var t=(Ce=ke()).memoizedState;return null===t?(e={current:e},Ce.memoizedState=e):t},useState:function(e){return we(Se,e)},useInsertionEffect:Re,useLayoutEffect:function(){},useCallback:function(e,t){return Ne((function(){return e}),t)},useImperativeHandle:Re,useEffect:Re,useDebugValue:Re,useDeferredValue:function(e){return xe(),e},useTransition:function(){return xe(),[!1,Fe]},useId:function(){var e=ve.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-pe(e)-1)).toString(32)+t;var n=Ie;if(null===n)throw Error(o(404));return t=Ae++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return xe(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},Ie=null,Me=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Le(e){return console.error(e),null}function je(){}function He(e,t,n,r,o,i,a,s){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var u={node:t,ping:function(){var t=e.pingedTasks;t.push(u),1===t.length&&tt(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:a,treeContext:s};return o.add(u),u}function Ue(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function ze(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ge(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function Ke(e,t,n,r,o){for(ge={},ve=t,Ae=0,e=n(r,o);ye;)ye=!1,Ae=0,De+=1,Ce=null,e=n(r,o);return Oe(),e}function We(e,t,n,r){var i=n.render(),a=r.childContextTypes;if(null!=a){var s=t.legacyContext;if("function"!=typeof n.getChildContext)r=s;else{for(var u in n=n.getChildContext())if(!(u in a))throw Error(o(108,Z(r)||"Unknown",u));r=R({},s,n)}t.legacyContext=r,Ye(e,t,i),t.legacyContext=s}else Ye(e,t,i)}function qe(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Ve(e,t,n,a,s){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){s=ee(n,t.legacyContext);var u=n.contextType;le(u=new n(a,"object"==typeof u&&null!==u?u._currentValue2:s),n,a,s),We(e,t,u,n)}else{s=Ke(e,t,n,a,u=ee(n,t.legacyContext));var c=0!==Ae;if("object"==typeof s&&null!==s&&"function"==typeof s.render&&void 0===s.$$typeof)le(s,n,a,u),We(e,t,s,n);else if(c){a=t.treeContext,t.treeContext=fe(a,1,0);try{Ye(e,t,s)}finally{t.treeContext=a}}else Ye(e,t,s)}else{if("string"!=typeof n){switch(n){case $:case Y:case L:case j:case M:case K:return void Ye(e,t,a.children);case V:throw Error(o(343));case G:e:{n=t.blockedBoundary,s=t.blockedSegment,u=a.fallback,a=a.children;var f={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:c=new Set,errorDigest:null},p=Ue(0,s.chunks.length,f,s.formatContext,!1,!1);s.children.push(p),s.lastPushedText=!1;var d=Ue(0,0,null,s.formatContext,!1,!1);d.parentFlushed=!0,t.blockedBoundary=f,t.blockedSegment=d;try{if(Xe(e,t,a),e.responseState.generateStaticMarkup||d.lastPushedText&&d.textEmbedded&&d.chunks.push("\x3c!-- --\x3e"),d.status=1,Je(f,d),0===f.pendingTasks)break e}catch(t){d.status=4,f.forceClientRender=!0,f.errorDigest=ze(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=s}t=He(e,u,n,p,c,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case z:if(a=Ke(e,t,n.render,a,s),0!==Ae){n=t.treeContext,t.treeContext=fe(n,1,0);try{Ye(e,t,a)}finally{t.treeContext=n}}else Ye(e,t,a);return;case W:return void Ve(e,t,n=n.type,a=qe(n,a),s);case H:if(s=a.children,n=n._context,a=a.value,u=n._currentValue2,n._currentValue2=a,te=a={parent:c=te,depth:null===c?0:c.depth+1,context:n,parentValue:u,value:a},t.context=a,Ye(e,t,s),null===(e=te))throw Error(o(403));return a=e.parentValue,e.context._currentValue2=a===X?e.context._defaultValue:a,e=te=e.parent,void(t.context=e);case U:return void Ye(e,t,a=(a=a.children)(n._currentValue2));case q:return void Ve(e,t,n=(s=n._init)(n._payload),a=qe(n,a),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(u=function(e,t,n,a,s){switch(t){case"select":e.push(S("select"));var u=null,c=null;for(h in n)if(i.call(n,h)){var f=n[h];if(null!=f)switch(h){case"children":u=f;break;case"dangerouslySetInnerHTML":c=f;break;case"defaultValue":case"value":break;default:D(e,a,h,f)}}return e.push(">"),x(e,c,u),u;case"option":c=s.selectedValue,e.push(S("option"));var p=f=null,d=null,h=null;for(u in n)if(i.call(n,u)){var m=n[u];if(null!=m)switch(u){case"children":f=m;break;case"selected":d=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":p=m;default:D(e,a,u,m)}}if(null!=c)if(n=null!==p?""+p:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(f),T(c)){for(a=0;a<c.length;a++)if(""+c[a]===n){e.push(' selected=""');break}}else""+c===n&&e.push(' selected=""');else d&&e.push(' selected=""');return e.push(">"),x(e,h,f),f;case"textarea":for(f in e.push(S("textarea")),h=c=u=null,n)if(i.call(n,f)&&null!=(p=n[f]))switch(f){case"children":h=p;break;case"value":u=p;break;case"defaultValue":c=p;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:D(e,a,f,p)}if(null===u&&null!==c&&(u=c),e.push(">"),null!=h){if(null!=u)throw Error(o(92));if(T(h)&&1<h.length)throw Error(o(93));u=""+h}return"string"==typeof u&&"\n"===u[0]&&e.push("\n"),null!==u&&e.push(v(""+u)),null;case"input":for(c in e.push(S("input")),p=h=f=u=null,n)if(i.call(n,c)&&null!=(d=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":p=d;break;case"defaultValue":f=d;break;case"checked":h=d;break;case"value":u=d;break;default:D(e,a,c,d)}return null!==h?D(e,a,"checked",h):null!==p&&D(e,a,"checked",p),null!==u?D(e,a,"value",u):null!==f&&D(e,a,"value",f),e.push("/>"),null;case"menuitem":for(var g in e.push(S("menuitem")),n)if(i.call(n,g)&&null!=(u=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:D(e,a,g,u)}return e.push(">"),null;case"title":for(m in e.push(S("title")),u=null,n)if(i.call(n,m)&&null!=(c=n[m]))switch(m){case"children":u=c;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:D(e,a,m,c)}return e.push(">"),u;case"listing":case"pre":for(p in e.push(S(t)),c=u=null,n)if(i.call(n,p)&&null!=(f=n[p]))switch(p){case"children":u=f;break;case"dangerouslySetInnerHTML":c=f;break;default:D(e,a,p,f)}if(e.push(">"),null!=c){if(null!=u)throw Error(o(60));if("object"!=typeof c||!("__html"in c))throw Error(o(61));null!=(n=c.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push("\n",n):e.push(""+n))}return"string"==typeof u&&"\n"===u[0]&&e.push("\n"),u;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var E in e.push(S(t)),n)if(i.call(n,E)&&null!=(u=n[E]))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:D(e,a,E,u)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return _(e,n,t,a);case"html":return 0===s.insertionMode&&e.push("<!DOCTYPE html>"),_(e,n,t,a);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return _(e,n,t,a);for(d in e.push(S(t)),c=u=null,n)if(i.call(n,d)&&null!=(f=n[d]))switch(d){case"children":u=f;break;case"dangerouslySetInnerHTML":c=f;break;case"style":b(e,a,f);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:l(d)&&"function"!=typeof f&&"symbol"!=typeof f&&e.push(" ",d,'="',v(f),'"')}return e.push(">"),x(e,c,u),u}}((s=t.blockedSegment).chunks,n,a,e.responseState,s.formatContext),s.lastPushedText=!1,c=s.formatContext,s.formatContext=function(e,t,n){switch(t){case"select":return y(1,null!=n.value?n.value:n.defaultValue);case"svg":return y(2,null);case"math":return y(3,null);case"foreignObject":return y(1,null);case"table":return y(4,null);case"thead":case"tbody":case"tfoot":return y(5,null);case"colgroup":return y(7,null);case"tr":return y(6,null)}return 4<=e.insertionMode||0===e.insertionMode?y(1,null):e}(c,n,a),Xe(e,t,u),s.formatContext=c,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.chunks.push("</",n,">")}s.lastPushedText=!1}}function Ye(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case P:return void Ve(e,t,n.type,n.props,n.ref);case I:throw Error(o(257));case q:var r=n._init;return void Ye(e,t,n=r(n._payload))}if(T(n))return void $e(e,t,n);if((r=null===n||"object"!=typeof n?null:"function"==typeof(r=Q&&n[Q]||n["@@iterator"])?r:null)&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);$e(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(r=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"==typeof n&&((r=t.blockedSegment).lastPushedText=F(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function $e(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=fe(i,r,o);try{Xe(e,t,n[o])}finally{t.treeContext=i}}}function Xe(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return Ye(e,t,n)}catch(u){if(Oe(),"object"!=typeof u||null===u||"function"!=typeof u.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,se(i),u;n=u;var a=t.blockedSegment,s=Ue(0,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=He(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,se(i)}}function Qe(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,et(this,t,e)}function Ze(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return Ze(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function Je(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&Je(e,n)}else e.completedSegments.push(t)}function et(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=je,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&Je(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Qe,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(Je(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function tt(e){if(2!==e.status){var t=te,n=Me.current;Me.current=Pe;var r=Ie;Ie=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var a=i[o],s=e,u=a.blockedSegment;if(0===u.status){se(a.context);try{Ye(s,a,a.node),s.responseState.generateStaticMarkup||u.lastPushedText&&u.textEmbedded&&u.chunks.push("\x3c!-- --\x3e"),a.abortSet.delete(a),u.status=1,et(s,a.blockedBoundary,u)}catch(e){if(Oe(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var l=a.ping;e.then(l,l)}else{a.abortSet.delete(a),u.status=4;var c=a.blockedBoundary,f=e,p=ze(s,f);null===c?Ge(s,f):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=p,c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,0===s.allPendingTasks&&(0,s.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&st(e,e.destination)}catch(t){ze(e,t),Ge(e,t)}finally{Ie=r,Me.current=n,n===Pe&&se(t)}}}function nt(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var i=!0;r=n.chunks;var a=0;n=n.children;for(var s=0;s<n.length;s++){for(i=n[s];a<i.index;a++)t.push(r[a]);i=rt(e,t,i)}for(;a<r.length-1;a++)t.push(r[a]);return a<r.length&&(i=t.push(r[a])),i;default:throw Error(o(390))}}function rt(e,t,n){var r=n.boundary;if(null===r)return nt(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)return e.responseState.generateStaticMarkup||(r=r.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),r&&(t.push(' data-dgst="'),r=v(r),t.push(r),t.push('"')),t.push("></template>")),nt(e,t,n),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,a=i.nextSuspenseID++;return i=i.boundaryPrefix+a.toString(16),r=r.id=i,w(t,e.responseState,r),nt(e,t,n),t.push("\x3c!--/$--\x3e")}if(r.byteSize>e.progressiveChunkSize)return r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),w(t,e.responseState,r.id),nt(e,t,n),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=r.completedSegments).length)throw Error(o(391));return rt(e,t,n[0]),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function ot(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),rt(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(o(397))}}(t,n.formatContext)}function it(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)at(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===r)throw Error(o(395));return n=n.toString(16),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(n),t.push('")<\/script>')}function at(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return ot(e,t,r)}return ot(e,t,r),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),i=i.toString(16),t.push(i),t.push('","'),t.push(e.placeholderPrefix),t.push(i),t.push('")<\/script>')}function st(e,t){try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){rt(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)t.push(r[n]);n<r.length&&t.push(r[n])}var i,a=e.clientRenderedBoundaries;for(i=0;i<a.length;i++){var s=a[i];r=t;var u=e.responseState,l=s.id,c=s.errorDigest,f=s.errorMessage,p=s.errorComponentStack;if(r.push(u.startInlineScript),u.sentClientRenderFunction?r.push('$RX("'):(u.sentClientRenderFunction=!0,r.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===l)throw Error(o(395));if(r.push(l),r.push('"'),c||f||p){r.push(",");var d=B(c||"");r.push(d)}if(f||p){r.push(",");var h=B(f||"");r.push(h)}if(p){r.push(",");var m=B(p);r.push(m)}if(!r.push(")<\/script>"))return e.destination=null,i++,void a.splice(0,i)}a.splice(0,i);var g=e.completedBoundaries;for(i=0;i<g.length;i++)if(!it(e,t,g[i]))return e.destination=null,i++,void g.splice(0,i);g.splice(0,i);var v=e.partialBoundaries;for(i=0;i<v.length;i++){var E=v[i];e:{a=e,s=t;var C=E.completedSegments;for(u=0;u<C.length;u++)if(!at(a,s,E,C[u])){u++,C.splice(0,u);var T=!1;break e}C.splice(0,u),T=!0}if(!T)return e.destination=null,i++,void v.splice(0,i)}v.splice(0,i);var y=e.completedBoundaries;for(i=0;i<y.length;i++)if(!it(e,t,y[i]))return e.destination=null,i++,void y.splice(0,i);y.splice(0,i)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function ut(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return Ze(n,e,t)})),n.clear(),null!==e.destination&&st(e,e.destination)}catch(t){ze(e,t),Ge(e,t)}}function lt(){}function ct(e,t,n,r){var i=!1,a=null,s="",u={push:function(e){return null!==e&&(s+=e),!0},destroy:function(e){i=!0,a=e}},l=!1;if(e=function(e,t,n,r,o,i,a,s,u){var l=[],c=new Set;return(n=Ue(t={destination:null,responseState:t,progressiveChunkSize:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?Le:o,onAllReady:je,onShellReady:void 0===a?je:a,onShellError:je,onFatalError:je},0,null,n,!1,!1)).parentFlushed=!0,e=He(t,e,null,n,c,J,null,ce),l.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(n,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,lt,0,(function(){l=!0})),tt(e),ut(e,r),1===e.status)e.status=2,u.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=u;try{st(e,u)}catch(t){ze(e,t),Ge(e,t)}}if(i)throw a;if(!l)throw Error(o(426));return s}t.renderToNodeStream=function(){throw Error(o(207))},t.renderToStaticMarkup=function(e,t){return ct(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(o(208))},t.renderToString=function(e,t){return ct(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.2.0"},1418:(e,t,n)=>{"use strict";var r=n(12244);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=null,a=0;function s(e,t){if(0!==t.length)if(512<t.length)0<a&&(e.enqueue(new Uint8Array(i.buffer,0,a)),i=new Uint8Array(512),a=0),e.enqueue(t);else{var n=i.length-a;n<t.length&&(0===n?e.enqueue(i):(i.set(t.subarray(0,n),a),e.enqueue(i),t=t.subarray(n)),i=new Uint8Array(512),a=0),i.set(t,a),a+=t.length}}function u(e,t){return s(e,t),!0}function l(e){i&&0<a&&(e.enqueue(new Uint8Array(i.buffer,0,a)),i=null,a=0)}var c=new TextEncoder;function f(e){return c.encode(e)}function p(e){return c.encode(e)}function d(e,t){"function"==typeof e.error?e.error(t):e.close()}var h=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},v={};function E(e){return!!h.call(v,e)||!h.call(g,e)&&(m.test(e)?v[e]=!0:(g[e]=!0,!1))}function C(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){T[e]=new C(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];T[t]=new C(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){T[e]=new C(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){T[e]=new C(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){T[e]=new C(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){T[e]=new C(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){T[e]=new C(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){T[e]=new C(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){T[e]=new C(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function A(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 t=e.replace(y,A);T[t]=new C(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,A);T[t]=new C(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,A);T[t]=new C(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){T[e]=new C(e,1,!1,e.toLowerCase(),null,!1,!1)})),T.xlinkHref=new C("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){T[e]=new C(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D=["Webkit","ms","Moz","O"];Object.keys(b).forEach((function(e){D.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),b[t]=b[e]}))}));var x=/["'&<>]/;function _(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=x.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var k=/([A-Z])/g,O=/^ms-/,S=Array.isArray,w=p("<script>"),N=p("<\/script>"),B=p('<script src="'),F=p('<script type="module" src="'),R=p('" async=""><\/script>'),P=/(<\/|<)(s)(cript)/gi;function I(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function M(e,t){return{insertionMode:e,selectedValue:t}}var L=p("\x3c!-- --\x3e");function j(e,t,n,r){return""===t?r:(r&&e.push(L),e.push(f(_(t))),!0)}var H=new Map,U=p(' style="'),z=p(":"),G=p(";");function K(e,t,n){if("object"!=typeof n)throw Error(o(62));for(var r in t=!0,n)if(h.call(n,r)){var i=n[r];if(null!=i&&"boolean"!=typeof i&&""!==i){if(0===r.indexOf("--")){var a=f(_(r));i=f(_((""+i).trim()))}else{a=r;var s=H.get(a);void 0!==s||(s=p(_(a.replace(k,"-$1").toLowerCase().replace(O,"-ms-"))),H.set(a,s)),a=s,i="number"==typeof i?0===i||h.call(b,r)?f(""+i):f(i+"px"):f(_((""+i).trim()))}t?(t=!1,e.push(U,a,z,i)):e.push(G,a,z,i)}}t||e.push(V)}var W=p(" "),q=p('="'),V=p('"'),Y=p('=""');function $(e,t,n,r){switch(n){case"style":return void K(e,t,r);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])if(null!==(t=T.hasOwnProperty(n)?T[n]:null)){switch(typeof r){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(n=f(t.attributeName),t.type){case 3:r&&e.push(W,n,Y);break;case 4:!0===r?e.push(W,n,Y):!1!==r&&e.push(W,n,q,f(_(r)),V);break;case 5:isNaN(r)||e.push(W,n,q,f(_(r)),V);break;case 6:!isNaN(r)&&1<=r&&e.push(W,n,q,f(_(r)),V);break;default:t.sanitizeURL&&(r=""+r),e.push(W,n,q,f(_(r)),V)}}else if(E(n)){switch(typeof r){case"function":case"symbol":return;case"boolean":if("data-"!==(t=n.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(W,f(n),q,f(_(r)),V)}}var X=p(">"),Q=p("/>");function Z(e,t,n){if(null!=t){if(null!=n)throw Error(o(60));if("object"!=typeof t||!("__html"in t))throw Error(o(61));null!=(t=t.__html)&&e.push(f(""+t))}}var J=p(' selected=""');function ee(e,t,n,r){e.push(oe(n));var o,i=n=null;for(o in t)if(h.call(t,o)){var a=t[o];if(null!=a)switch(o){case"children":n=a;break;case"dangerouslySetInnerHTML":i=a;break;default:$(e,r,o,a)}}return e.push(X),Z(e,i,n),"string"==typeof n?(e.push(f(_(n))),null):n}var te=p("\n"),ne=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,re=new Map;function oe(e){var t=re.get(e);if(void 0===t){if(!ne.test(e))throw Error(o(65,e));t=p("<"+e),re.set(e,t)}return t}var ie=p("<!DOCTYPE html>");var ae=p("</"),se=p(">"),ue=p('<template id="'),le=p('"></template>'),ce=p("\x3c!--$--\x3e"),fe=p('\x3c!--$?--\x3e<template id="'),pe=p('"></template>'),de=p("\x3c!--$!--\x3e"),he=p("\x3c!--/$--\x3e"),me=p("<template"),ge=p('"'),ve=p(' data-dgst="');p(' data-msg="'),p(' data-stck="');var Ee=p("></template>");function Ce(e,t,n){if(s(e,fe),null===n)throw Error(o(395));return s(e,n),u(e,pe)}var Te=p('<div hidden id="'),ye=p('">'),Ae=p("</div>"),be=p('<svg aria-hidden="true" style="display:none" id="'),De=p('">'),xe=p("</svg>"),_e=p('<math aria-hidden="true" style="display:none" id="'),ke=p('">'),Oe=p("</math>"),Se=p('<table hidden id="'),we=p('">'),Ne=p("</table>"),Be=p('<table hidden><tbody id="'),Fe=p('">'),Re=p("</tbody></table>"),Pe=p('<table hidden><tr id="'),Ie=p('">'),Me=p("</tr></table>"),Le=p('<table hidden><colgroup id="'),je=p('">'),He=p("</colgroup></table>"),Ue=p('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ze=p('$RS("'),Ge=p('","'),Ke=p('")<\/script>'),We=p('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),qe=p('$RC("'),Ve=p('","'),Ye=p('")<\/script>'),$e=p('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Xe=p('$RX("'),Qe=p('"'),Ze=p(")<\/script>"),Je=p(","),et=/[<\u2028\u2029]/g;function tt(e){return JSON.stringify(e).replace(et,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var nt=Object.assign,rt=Symbol.for("react.element"),ot=Symbol.for("react.portal"),it=Symbol.for("react.fragment"),at=Symbol.for("react.strict_mode"),st=Symbol.for("react.profiler"),ut=Symbol.for("react.provider"),lt=Symbol.for("react.context"),ct=Symbol.for("react.forward_ref"),ft=Symbol.for("react.suspense"),pt=Symbol.for("react.suspense_list"),dt=Symbol.for("react.memo"),ht=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),gt=Symbol.for("react.debug_trace_mode"),vt=Symbol.for("react.legacy_hidden"),Et=Symbol.for("react.default_value"),Ct=Symbol.iterator;function Tt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case it:return"Fragment";case ot:return"Portal";case st:return"Profiler";case at:return"StrictMode";case ft:return"Suspense";case pt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case lt:return(e.displayName||"Context")+".Consumer";case ut:return(e._context.displayName||"Context")+".Provider";case ct:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case dt:return null!==(t=e.displayName||null)?t:Tt(e.type)||"Memo";case ht:t=e._payload,e=e._init;try{return Tt(e(t))}catch(e){}}return null}var yt={};function At(e,t){if(!(e=e.contextTypes))return yt;var n,r={};for(n in e)r[n]=t[n];return r}var bt=null;function Dt(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(null===e){if(null!==n)throw Error(o(401))}else{if(null===n)throw Error(o(401));Dt(e,n)}t.context._currentValue=t.value}}function xt(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&xt(e)}function _t(e){var t=e.parent;null!==t&&_t(t),e.context._currentValue=e.value}function kt(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(o(402));e.depth===t.depth?Dt(e,t):kt(e,t)}function Ot(e,t){var n=t.parent;if(null===n)throw Error(o(402));e.depth===n.depth?Dt(e,n):Ot(e,n),t.context._currentValue=t.value}function St(e){var t=bt;t!==e&&(null===t?_t(e):null===e?xt(t):t.depth===e.depth?Dt(t,e):t.depth>e.depth?kt(t,e):Ot(t,e),bt=e)}var wt={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function Nt(e,t,n,r){var o=void 0!==e.state?e.state:null;e.updater=wt,e.props=n,e.state=o;var i={queue:[],replace:!1};e._reactInternals=i;var a=t.contextType;if(e.context="object"==typeof a&&null!==a?a._currentValue:r,"function"==typeof(a=t.getDerivedStateFromProps)&&(o=null==(a=a(n,o))?o:nt({},o,a),e.state=o),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&wt.enqueueReplaceState(e,e.state,null),null!==i.queue&&0<i.queue.length)if(t=i.queue,a=i.replace,i.queue=null,i.replace=!1,a&&1===t.length)e.state=t[0];else{for(i=a?t[0]:e.state,o=!0,a=a?1:0;a<t.length;a++){var s=t[a];null!=(s="function"==typeof s?s.call(e,i,n,r):s)&&(o?(o=!1,i=nt({},i,s)):nt(i,s))}e.state=i}else i.queue=null}var Bt={id:1,overflow:""};function Ft(e,t,n){var r=e.id;e=e.overflow;var o=32-Rt(r)-1;r&=~(1<<o),n+=1;var i=32-Rt(t)+o;if(30<i){var a=o-o%5;return i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,{id:1<<32-Rt(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var Rt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Pt(e)/It|0)|0},Pt=Math.log,It=Math.LN2,Mt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Lt=null,jt=null,Ht=null,Ut=null,zt=!1,Gt=!1,Kt=0,Wt=null,qt=0;function Vt(){if(null===Lt)throw Error(o(321));return Lt}function Yt(){if(0<qt)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function $t(){return null===Ut?null===Ht?(zt=!1,Ht=Ut=Yt()):(zt=!0,Ut=Ht):null===Ut.next?(zt=!1,Ut=Ut.next=Yt()):(zt=!0,Ut=Ut.next),Ut}function Xt(){jt=Lt=null,Gt=!1,Ht=null,qt=0,Ut=Wt=null}function Qt(e,t){return"function"==typeof t?t(e):t}function Zt(e,t,n){if(Lt=Vt(),Ut=$t(),zt){var r=Ut.queue;if(t=r.dispatch,null!==Wt&&void 0!==(n=Wt.get(r))){Wt.delete(r),r=Ut.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ut.memoizedState=r,[r,t]}return[Ut.memoizedState,t]}return e=e===Qt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ut.memoizedState=e,e=(e=Ut.queue={last:null,dispatch:null}).dispatch=en.bind(null,Lt,e),[Ut.memoizedState,e]}function Jt(e,t){if(Lt=Vt(),t=void 0===t?null:t,null!==(Ut=$t())){var n=Ut.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++)if(!Mt(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ut.memoizedState=[e,t],e}function en(e,t,n){if(25<=qt)throw Error(o(301));if(e===Lt)if(Gt=!0,e={action:n,next:null},null===Wt&&(Wt=new Map),void 0===(n=Wt.get(t)))Wt.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function tn(){throw Error(o(394))}function nn(){}var rn={readContext:function(e){return e._currentValue},useContext:function(e){return Vt(),e._currentValue},useMemo:Jt,useReducer:Zt,useRef:function(e){Lt=Vt();var t=(Ut=$t()).memoizedState;return null===t?(e={current:e},Ut.memoizedState=e):t},useState:function(e){return Zt(Qt,e)},useInsertionEffect:nn,useLayoutEffect:function(){},useCallback:function(e,t){return Jt((function(){return e}),t)},useImperativeHandle:nn,useEffect:nn,useDebugValue:nn,useDeferredValue:function(e){return Vt(),e},useTransition:function(){return Vt(),[!1,tn]},useId:function(){var e=jt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Rt(e)-1)).toString(32)+t;var n=on;if(null===n)throw Error(o(404));return t=Kt++,e=":"+n.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Vt(),t(e._source)},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(o(407));return n()}},on=null,an=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sn(e){return console.error(e),null}function un(){}function ln(e,t,n,r,o,i,a,s){e.allPendingTasks++,null===n?e.pendingRootTasks++:n.pendingTasks++;var u={node:t,ping:function(){var t=e.pingedTasks;t.push(u),1===t.length&&Dn(e)},blockedBoundary:n,blockedSegment:r,abortSet:o,legacyContext:i,context:a,treeContext:s};return o.add(u),u}function cn(e,t,n,r,o,i){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function fn(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function pn(e,t){var n=e.onShellError;n(t),(n=e.onFatalError)(t),null!==e.destination?(e.status=2,d(e.destination,t)):(e.status=1,e.fatalError=t)}function dn(e,t,n,r,o){for(Lt={},jt=t,Kt=0,e=n(r,o);Gt;)Gt=!1,Kt=0,qt+=1,Ut=null,e=n(r,o);return Xt(),e}function hn(e,t,n,r){var i=n.render(),a=r.childContextTypes;if(null!=a){var s=t.legacyContext;if("function"!=typeof n.getChildContext)r=s;else{for(var u in n=n.getChildContext())if(!(u in a))throw Error(o(108,Tt(r)||"Unknown",u));r=nt({},s,n)}t.legacyContext=r,vn(e,t,i),t.legacyContext=s}else vn(e,t,i)}function mn(e,t){if(e&&e.defaultProps){for(var n in t=nt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function gn(e,t,n,i,a){if("function"==typeof n)if(n.prototype&&n.prototype.isReactComponent){a=At(n,t.legacyContext);var s=n.contextType;Nt(s=new n(i,"object"==typeof s&&null!==s?s._currentValue:a),n,i,a),hn(e,t,s,n)}else{a=dn(e,t,n,i,s=At(n,t.legacyContext));var u=0!==Kt;if("object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof)Nt(a,n,i,s),hn(e,t,a,n);else if(u){i=t.treeContext,t.treeContext=Ft(i,1,0);try{vn(e,t,a)}finally{t.treeContext=i}}else vn(e,t,a)}else{if("string"!=typeof n){switch(n){case vt:case gt:case at:case st:case it:case pt:return void vn(e,t,i.children);case mt:throw Error(o(343));case ft:e:{n=t.blockedBoundary,a=t.blockedSegment,s=i.fallback,i=i.children;var l={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u=new Set,errorDigest:null},c=cn(0,a.chunks.length,l,a.formatContext,!1,!1);a.children.push(c),a.lastPushedText=!1;var p=cn(0,0,null,a.formatContext,!1,!1);p.parentFlushed=!0,t.blockedBoundary=l,t.blockedSegment=p;try{if(Cn(e,t,i),p.lastPushedText&&p.textEmbedded&&p.chunks.push(L),p.status=1,An(l,p),0===l.pendingTasks)break e}catch(t){p.status=4,l.forceClientRender=!0,l.errorDigest=fn(e,t)}finally{t.blockedBoundary=n,t.blockedSegment=a}t=ln(e,s,n,c,u,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof n&&null!==n)switch(n.$$typeof){case ct:if(i=dn(e,t,n.render,i,a),0!==Kt){n=t.treeContext,t.treeContext=Ft(n,1,0);try{vn(e,t,i)}finally{t.treeContext=n}}else vn(e,t,i);return;case dt:return void gn(e,t,n=n.type,i=mn(n,i),a);case ut:if(a=i.children,n=n._context,i=i.value,s=n._currentValue,n._currentValue=i,bt=i={parent:u=bt,depth:null===u?0:u.depth+1,context:n,parentValue:s,value:i},t.context=i,vn(e,t,a),null===(e=bt))throw Error(o(403));return i=e.parentValue,e.context._currentValue=i===Et?e.context._defaultValue:i,e=bt=e.parent,void(t.context=e);case lt:return void vn(e,t,i=(i=i.children)(n._currentValue));case ht:return void gn(e,t,n=(a=n._init)(n._payload),i=mn(n,i),void 0)}throw Error(o(130,null==n?n:typeof n,""))}switch(s=function(e,t,n,i,a){switch(t){case"select":e.push(oe("select"));var s=null,u=null;for(d in n)if(h.call(n,d)){var l=n[d];if(null!=l)switch(d){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;case"defaultValue":case"value":break;default:$(e,i,d,l)}}return e.push(X),Z(e,u,s),s;case"option":u=a.selectedValue,e.push(oe("option"));var c=l=null,p=null,d=null;for(s in n)if(h.call(n,s)){var m=n[s];if(null!=m)switch(s){case"children":l=m;break;case"selected":p=m;break;case"dangerouslySetInnerHTML":d=m;break;case"value":c=m;default:$(e,i,s,m)}}if(null!=u)if(n=null!==c?""+c:function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(l),S(u)){for(i=0;i<u.length;i++)if(""+u[i]===n){e.push(J);break}}else""+u===n&&e.push(J);else p&&e.push(J);return e.push(X),Z(e,d,l),l;case"textarea":for(l in e.push(oe("textarea")),d=u=s=null,n)if(h.call(n,l)&&null!=(c=n[l]))switch(l){case"children":d=c;break;case"value":s=c;break;case"defaultValue":u=c;break;case"dangerouslySetInnerHTML":throw Error(o(91));default:$(e,i,l,c)}if(null===s&&null!==u&&(s=u),e.push(X),null!=d){if(null!=s)throw Error(o(92));if(S(d)&&1<d.length)throw Error(o(93));s=""+d}return"string"==typeof s&&"\n"===s[0]&&e.push(te),null!==s&&e.push(f(_(""+s))),null;case"input":for(u in e.push(oe("input")),c=d=l=s=null,n)if(h.call(n,u)&&null!=(p=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,"input"));case"defaultChecked":c=p;break;case"defaultValue":l=p;break;case"checked":d=p;break;case"value":s=p;break;default:$(e,i,u,p)}return null!==d?$(e,i,"checked",d):null!==c&&$(e,i,"checked",c),null!==s?$(e,i,"value",s):null!==l&&$(e,i,"value",l),e.push(Q),null;case"menuitem":for(var g in e.push(oe("menuitem")),n)if(h.call(n,g)&&null!=(s=n[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(o(400));default:$(e,i,g,s)}return e.push(X),null;case"title":for(m in e.push(oe("title")),s=null,n)if(h.call(n,m)&&null!=(u=n[m]))switch(m){case"children":s=u;break;case"dangerouslySetInnerHTML":throw Error(o(434));default:$(e,i,m,u)}return e.push(X),s;case"listing":case"pre":for(c in e.push(oe(t)),u=s=null,n)if(h.call(n,c)&&null!=(l=n[c]))switch(c){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;default:$(e,i,c,l)}if(e.push(X),null!=u){if(null!=s)throw Error(o(60));if("object"!=typeof u||!("__html"in u))throw Error(o(61));null!=(n=u.__html)&&("string"==typeof n&&0<n.length&&"\n"===n[0]?e.push(te,f(n)):e.push(f(""+n)))}return"string"==typeof s&&"\n"===s[0]&&e.push(te),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var v in e.push(oe(t)),n)if(h.call(n,v)&&null!=(s=n[v]))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(o(399,t));default:$(e,i,v,s)}return e.push(Q),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ee(e,n,t,i);case"html":return 0===a.insertionMode&&e.push(ie),ee(e,n,t,i);default:if(-1===t.indexOf("-")&&"string"!=typeof n.is)return ee(e,n,t,i);for(p in e.push(oe(t)),u=s=null,n)if(h.call(n,p)&&null!=(l=n[p]))switch(p){case"children":s=l;break;case"dangerouslySetInnerHTML":u=l;break;case"style":K(e,i,l);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:E(p)&&"function"!=typeof l&&"symbol"!=typeof l&&e.push(W,f(p),q,f(_(l)),V)}return e.push(X),Z(e,u,s),s}}((a=t.blockedSegment).chunks,n,i,e.responseState,a.formatContext),a.lastPushedText=!1,u=a.formatContext,a.formatContext=function(e,t,n){switch(t){case"select":return M(1,null!=n.value?n.value:n.defaultValue);case"svg":return M(2,null);case"math":return M(3,null);case"foreignObject":return M(1,null);case"table":return M(4,null);case"thead":case"tbody":case"tfoot":return M(5,null);case"colgroup":return M(7,null);case"tr":return M(6,null)}return 4<=e.insertionMode||0===e.insertionMode?M(1,null):e}(u,n,i),Cn(e,t,s),a.formatContext=u,n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:a.chunks.push(ae,f(n),se)}a.lastPushedText=!1}}function vn(e,t,n){if(t.node=n,"object"==typeof n&&null!==n){switch(n.$$typeof){case rt:return void gn(e,t,n.type,n.props,n.ref);case ot:throw Error(o(257));case ht:var r=n._init;return void vn(e,t,n=r(n._payload))}if(S(n))return void En(e,t,n);if((r=null===n||"object"!=typeof n?null:"function"==typeof(r=Ct&&n[Ct]||n["@@iterator"])?r:null)&&(r=r.call(n))){if(!(n=r.next()).done){var i=[];do{i.push(n.value),n=r.next()}while(!n.done);En(e,t,i)}return}throw e=Object.prototype.toString.call(n),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(n).join(", ")+"}":e))}"string"==typeof n?(r=t.blockedSegment).lastPushedText=j(t.blockedSegment.chunks,n,e.responseState,r.lastPushedText):"number"==typeof n&&((r=t.blockedSegment).lastPushedText=j(t.blockedSegment.chunks,""+n,e.responseState,r.lastPushedText))}function En(e,t,n){for(var r=n.length,o=0;o<r;o++){var i=t.treeContext;t.treeContext=Ft(i,r,o);try{Cn(e,t,n[o])}finally{t.treeContext=i}}}function Cn(e,t,n){var r=t.blockedSegment.formatContext,o=t.legacyContext,i=t.context;try{return vn(e,t,n)}catch(u){if(Xt(),"object"!=typeof u||null===u||"function"!=typeof u.then)throw t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,St(i),u;n=u;var a=t.blockedSegment,s=cn(0,a.chunks.length,null,a.formatContext,a.lastPushedText,!0);a.children.push(s),a.lastPushedText=!1,e=ln(e,t.node,t.blockedBoundary,s,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,n.then(e,e),t.blockedSegment.formatContext=r,t.legacyContext=o,t.context=i,St(i)}}function Tn(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,bn(this,t,e)}function yn(e,t,n){var r=e.blockedBoundary;e.blockedSegment.status=3,null===r?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,e=void 0===n?Error(o(432)):n,r.errorDigest=t.onError(e),r.parentFlushed&&t.clientRenderedBoundaries.push(r)),r.fallbackAbortableTasks.forEach((function(e){return yn(e,t,n)})),r.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(r=t.onAllReady)())}function An(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1===n.status&&An(e,n)}else e.completedSegments.push(t)}function bn(e,t,n){if(null===t){if(n.parentFlushed){if(null!==e.completedRootSegment)throw Error(o(389));e.completedRootSegment=n}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=un,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(n.parentFlushed&&1===n.status&&An(t,n),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Tn,e),t.fallbackAbortableTasks.clear()):n.parentFlushed&&1===n.status&&(An(t,n),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function Dn(e){if(2!==e.status){var t=bt,n=an.current;an.current=rn;var r=on;on=e.responseState;try{var o,i=e.pingedTasks;for(o=0;o<i.length;o++){var a=i[o],s=e,u=a.blockedSegment;if(0===u.status){St(a.context);try{vn(s,a,a.node),u.lastPushedText&&u.textEmbedded&&u.chunks.push(L),a.abortSet.delete(a),u.status=1,bn(s,a.blockedBoundary,u)}catch(e){if(Xt(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var l=a.ping;e.then(l,l)}else{a.abortSet.delete(a),u.status=4;var c=a.blockedBoundary,f=e,p=fn(s,f);null===c?pn(s,f):(c.pendingTasks--,c.forceClientRender||(c.forceClientRender=!0,c.errorDigest=p,c.parentFlushed&&s.clientRenderedBoundaries.push(c))),s.allPendingTasks--,0===s.allPendingTasks&&(0,s.onAllReady)()}}}}i.splice(0,o),null!==e.destination&&wn(e,e.destination)}catch(t){fn(e,t),pn(e,t)}finally{on=r,an.current=n,n===rn&&St(t)}}}function xn(e,t,n){switch(n.parentFlushed=!0,n.status){case 0:var r=n.id=e.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,e=e.responseState,s(t,ue),s(t,e.placeholderPrefix),s(t,e=f(r.toString(16))),u(t,le);case 1:n.status=2;var i=!0;r=n.chunks;var a=0;n=n.children;for(var l=0;l<n.length;l++){for(i=n[l];a<i.index;a++)s(t,r[a]);i=_n(e,t,i)}for(;a<r.length-1;a++)s(t,r[a]);return a<r.length&&(i=u(t,r[a])),i;default:throw Error(o(390))}}function _n(e,t,n){var r=n.boundary;if(null===r)return xn(e,t,n);if(r.parentFlushed=!0,r.forceClientRender)r=r.errorDigest,u(t,de),s(t,me),r&&(s(t,ve),s(t,f(_(r))),s(t,ge)),u(t,Ee),xn(e,t,n);else if(0<r.pendingTasks){r.rootSegmentID=e.nextSegmentId++,0<r.completedSegments.length&&e.partialBoundaries.push(r);var i=e.responseState,a=i.nextSuspenseID++;i=p(i.boundaryPrefix+a.toString(16)),r=r.id=i,Ce(t,e.responseState,r),xn(e,t,n)}else if(r.byteSize>e.progressiveChunkSize)r.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(r),Ce(t,e.responseState,r.id),xn(e,t,n);else{if(u(t,ce),1!==(n=r.completedSegments).length)throw Error(o(391));_n(e,t,n[0])}return u(t,he)}function kn(e,t,n){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:return s(e,Te),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,ye);case 2:return s(e,be),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,De);case 3:return s(e,_e),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,ke);case 4:return s(e,Se),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,we);case 5:return s(e,Be),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,Fe);case 6:return s(e,Pe),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,Ie);case 7:return s(e,Le),s(e,t.segmentPrefix),s(e,f(r.toString(16))),u(e,je);default:throw Error(o(397))}}(t,e.responseState,n.formatContext,n.id),_n(e,t,n),function(e,t){switch(t.insertionMode){case 0:case 1:return u(e,Ae);case 2:return u(e,xe);case 3:return u(e,Oe);case 4:return u(e,Ne);case 5:return u(e,Re);case 6:return u(e,Me);case 7:return u(e,He);default:throw Error(o(397))}}(t,n.formatContext)}function On(e,t,n){for(var r=n.completedSegments,i=0;i<r.length;i++)Sn(e,t,n,r[i]);if(r.length=0,e=e.responseState,r=n.id,n=n.rootSegmentID,s(t,e.startInlineScript),e.sentCompleteBoundaryFunction?s(t,qe):(e.sentCompleteBoundaryFunction=!0,s(t,We)),null===r)throw Error(o(395));return n=f(n.toString(16)),s(t,r),s(t,Ve),s(t,e.segmentPrefix),s(t,n),u(t,Ye)}function Sn(e,t,n,r){if(2===r.status)return!0;var i=r.id;if(-1===i){if(-1===(r.id=n.rootSegmentID))throw Error(o(392));return kn(e,t,r)}return kn(e,t,r),s(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?s(t,ze):(e.sentCompleteSegmentFunction=!0,s(t,Ue)),s(t,e.segmentPrefix),s(t,i=f(i.toString(16))),s(t,Ge),s(t,e.placeholderPrefix),s(t,i),u(t,Ke)}function wn(e,t){i=new Uint8Array(512),a=0;try{var n=e.completedRootSegment;if(null!==n&&0===e.pendingRootTasks){_n(e,t,n),e.completedRootSegment=null;var r=e.responseState.bootstrapChunks;for(n=0;n<r.length-1;n++)s(t,r[n]);n<r.length&&u(t,r[n])}var c,p=e.clientRenderedBoundaries;for(c=0;c<p.length;c++){var d=p[c];r=t;var h=e.responseState,m=d.id,g=d.errorDigest,v=d.errorMessage,E=d.errorComponentStack;if(s(r,h.startInlineScript),h.sentClientRenderFunction?s(r,Xe):(h.sentClientRenderFunction=!0,s(r,$e)),null===m)throw Error(o(395));if(s(r,m),s(r,Qe),(g||v||E)&&(s(r,Je),s(r,f(tt(g||"")))),(v||E)&&(s(r,Je),s(r,f(tt(v||"")))),E&&(s(r,Je),s(r,f(tt(E)))),!u(r,Ze))return e.destination=null,c++,void p.splice(0,c)}p.splice(0,c);var C=e.completedBoundaries;for(c=0;c<C.length;c++)if(!On(e,t,C[c]))return e.destination=null,c++,void C.splice(0,c);C.splice(0,c),l(t),i=new Uint8Array(512),a=0;var T=e.partialBoundaries;for(c=0;c<T.length;c++){var y=T[c];e:{p=e,d=t;var A=y.completedSegments;for(h=0;h<A.length;h++)if(!Sn(p,d,y,A[h])){h++,A.splice(0,h);var b=!1;break e}A.splice(0,h),b=!0}if(!b)return e.destination=null,c++,void T.splice(0,c)}T.splice(0,c);var D=e.completedBoundaries;for(c=0;c<D.length;c++)if(!On(e,t,D[c]))return e.destination=null,c++,void D.splice(0,c);D.splice(0,c)}finally{l(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function Nn(e,t){try{var n=e.abortableTasks;n.forEach((function(n){return yn(n,e,t)})),n.clear(),null!==e.destination&&wn(e,e.destination)}catch(t){fn(e,t),pn(e,t)}}t.renderToReadableStream=function(e,t){return new Promise((function(n,r){var o,i,a=new Promise((function(e,t){i=e,o=t})),s=function(e,t,n,r,o,i,a,s,u){var l=[],c=new Set;return(n=cn(t={destination:null,responseState:t,progressiveChunkSize:void 0===r?12800:r,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:c,pingedTasks:l,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===o?sn:o,onAllReady:void 0===i?un:i,onShellReady:void 0===a?un:a,onShellError:void 0===s?un:s,onFatalError:void 0===u?un:u},0,null,n,!1,!1)).parentFlushed=!0,e=ln(t,e,null,n,c,yt,null,Bt),l.push(e),t}(e,function(e,t,n,r,o){e=void 0===e?"":e,t=void 0===t?w:p('<script nonce="'+_(t)+'">');var i=[];if(void 0!==n&&i.push(t,f((""+n).replace(P,I)),N),void 0!==r)for(n=0;n<r.length;n++)i.push(B,f(_(r[n])),R);if(void 0!==o)for(r=0;r<o.length;r++)i.push(F,f(_(o[r])),R);return{bootstrapChunks:i,startInlineScript:t,placeholderPrefix:p(e+"P:"),segmentPrefix:p(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return M("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,i,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===s.status)s.status=2,d(e,s.fatalError);else if(2!==s.status&&null===s.destination){s.destination=e;try{wn(s,e)}catch(e){fn(s,e),pn(s,e)}}},cancel:function(){Nn(s)}},{highWaterMark:0});e.allReady=a,n(e)}),(function(e){a.catch((function(){})),r(e)}),o);if(t&&t.signal){var u=t.signal,l=function(){Nn(s,u.reason),u.removeEventListener("abort",l)};u.addEventListener("abort",l)}Dn(s)}))},t.version="18.2.0"},48090:(e,t,n)=>{"use strict";var r,o;r=n(1350),o=n(1418),r.version,t.Dq=r.renderToString,r.renderToStaticMarkup,r.renderToNodeStream,r.renderToStaticNodeStream,o.renderToReadableStream},90682:e=>{e.exports=["br","wbr","li","table","caption","colgroup","col","thead","tbody","tfoot","tr","td","th","summary","optgroup","option","html","head","body","address","blockquote","center","dialog","div","figure","figcaption","footer","form","header","hr","legend","listing","main","p","plaintext","pre","xmp","article","aside","h1","h2","h3","h4","h5","h6","hgroup","nav","section","dir","dd","dl","dt","menu","ol","ul","li","th","td"]},3178:e=>{e.exports=["button","input","select","textarea"]},26653:(e,t,n)=>{"use strict";var r=n(85909),o=n(34713),i=n(2547),a=n(67273),s=n(90682),u=n(3178),l=n(52827);e.exports=function(e){var t,n=(t=(e||{}).newlines?A:b,function(e){return String(e).replace(/[\t\n\v\f\r ]+/g,t)});return function(e){m(e,{collapse:n,whitespace:"normal"})}};var c=i(["doctype","comment"]),f=i(["element","root"]),p=i(["root"]),d=i(["element"]),h=i(["text"]);function m(e,t){var n;if(f(e))return n=Object.assign({},t),(p(e)||C(e))&&(n.before=!0,n.after=!0),n.whitespace=function(e,t){var n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap";default:return t.whitespace}}(e,t),function(e,t){for(var n,r=t.before,o=t.after,i=e.children,a=i.length,s=-1;++s<a;)(n=m(i[s],Object.assign({},t,{before:r,after:g(i,s,o)}))).remove?(i.splice(s,1),s--,a--):n.ignore||(r=n.stripAtStart),E(i[s])&&(r=!1);return{remove:!1,ignore:!1,stripAtStart:r||o}}(e,n);if(h(e)){if("normal"===t.whitespace)return function(e,t){var n=t.collapse(e.value),r=0,o=n.length,i={remove:!1,ignore:!1,stripAtStart:!1};return t.before&&y(n.charAt(0))&&r++,r!==o&&y(n.charAt(o-1))&&(t.after?o--:i.stripAtStart=!0),r===o?i.remove=!0:e.value=n.slice(r,o),i}(e,t);"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{remove:!1,ignore:c(e),stripAtStart:!1}}function g(e,t,n){for(var r,o,i=e.length;++t<i;)if(void 0===(o=v(r=e[t]))&&r.children&&!T(r)&&(o=g(r.children,-1)),"boolean"==typeof o)return o;return n}function v(e){if(d(e)){if(E(e))return!1;if(C(e))return!0}else if(h(e)){if(!a(e))return!1}else if(!c(e))return!1}function E(e){return o(e)||r(e,u)}function C(e){return r(e,s)}function T(e){var t=e.properties||{};return c(e)||r(e,l)||t.hidden}function y(e){return" "===e||"\n"===e}function A(e){var t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function b(){return" "}},52827:e=>{e.exports=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"]},52824:(e,t,n)=>{"use strict";var r=n(19776),o=n(68834),i=n(51960),a=n(99026),s={2:!0,1:!1,0:null};function u(e){return e.charAt(1).toUpperCase()}e.exports=function(e){var t=i(e,this.data("settings")),n=t.position;n="boolean"!=typeof n||n,this.Parser=function(e,i){var l=t.fragment?"parseFragment":"parse",c=t.emitParseErrors?function(n){var r,o,l=n.code,c=l.replace(/-[a-z]/g,u),f=t[c],p=null==f||f,d="number"==typeof p?p:p?1:0,h={line:n.startLine,column:n.startCol,offset:n.startOffset},m={line:n.endLine,column:n.endCol,offset:n.endOffset};function g(e){return e.replace(/%c(?:-(\d+))?/g,v).replace(/%x/g,E)}function v(t,r){var o=r?-parseInt(r,10):0,i=e.charAt(n.startOffset+o);return"`"===i?"` ` `":i}function E(){return"0x"+e.charCodeAt(n.startOffset).toString(16).toUpperCase()}d&&(r=a[c]||{reason:"",description:""},(o=i.message(g(r.reason),{start:h,end:m})).source="parse-error",o.ruleId=l,o.fatal=s[d],o.note=g(r.description),o.url=!1===r.url?null:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+l)}:null,f=new o({sourceCodeLocationInfo:n,onParseError:c,scriptingEnabled:!1});return r(f[l](e),{space:t.space,file:i,verbose:t.verbose})}}},62100:(e,t,n)=>{"use strict";var r=n(51389);e.exports=function(e,t){var n,o;return"function"==typeof e?(o=e,n=t||{}):n=e||{},void 0!==n.document&&null!==n.document||(n=Object.assign({},n,{document:!0})),o?function(e,t){return function(n,o,i){e.run(r(n,t),o,(function(e){i(e)}))}}(o,n):function(e){return function(t){return r(t,e)}}(n)}},98431:(e,t,n)=>{"use strict";var r=n(30603),o=n(51960),i=n(49879);function a(e){var t=this.data("settings"),n=r(i);n.prototype.options=o(n.prototype.options,t,e),this.Parser=n}e.exports=a,a.Parser=i},86261:e=>{"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},35943:(e,t,n)=>{"use strict";var r=n(51960),o=n(70930);e.exports=function(e){return n.raw=function(e,n,a){return o(e,r(a,{position:t(n),warning:i}))},n;function t(t){for(var n=e.offset,r=t.line,o=[];++r&&r in n;)o.push((n[r]||0)+1);return{start:t,indent:o}}function n(n,r,a){o(n,{position:t(r),warning:i,text:a,reference:a,textContext:e,referenceContext:e})}function i(t,n,r){3!==r&&e.file.message(t,n)}}},87732:(e,t,n)=>{"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(86261)}},76715:e=>{"use strict";e.exports=function(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}},15331:e=>{"use strict";e.exports=function(e,t){return e.indexOf("`",t)}},47315:e=>{"use strict";e.exports=function(e,t){return e.indexOf("~~",t)}},85946:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("*",t),r=e.indexOf("_",t);return-1===r?n:-1===n||r<n?r:n}},38932:e=>{"use strict";e.exports=function(e,t){return e.indexOf("\\",t)}},88906:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r||n<r?n:r}},73251:e=>{"use strict";e.exports=function(e,t){var n=e.indexOf("**",t),r=e.indexOf("__",t);return-1===r?n:-1===n||r<n?r:n}},20309:e=>{"use strict";e.exports=function(e,t){return e.indexOf("<",t)}},38693:e=>{"use strict";e.exports=function(e,n){var r,o=t.length,i=-1,a=-1;if(!this.options.gfm)return-1;for(;++i<o;)-1!==(r=e.indexOf(t[i],n))&&(r<a||-1===a)&&(a=r);return a};var t=["https://","http://","mailto:"]},10665:(e,t,n)=>{"use strict";var r=n(51960),o=n(5281);e.exports=function(){var e,t=this,n=String(t.file),s={line:1,column:1,offset:0},u=r(s);return 65279===(n=n.replace(a,i)).charCodeAt(0)&&(n=n.slice(1),u.column++,u.offset++),e={type:"root",children:t.tokenizeBlock(n,u),position:{start:s,end:t.eof||r(s)}},t.options.position||o(e,!0),e};var i="\n",a=/\r\n|\r/g},49879:(e,t,n)=>{"use strict";var r=n(51960),o=n(82344),i=n(31982),a=n(92084),s=n(35943),u=n(9223);function l(e,t){this.file=t,this.offset={},this.options=r(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=i(t).toOffset,this.unescape=a(this,"escape"),this.decode=s(this)}e.exports=l;var c=l.prototype;function f(e){var t,n=[];for(t in e)n.push(t);return n}c.setOptions=n(92375),c.parse=n(10665),c.options=n(87732),c.exitStart=o("atStart",!0),c.enterList=o("inList",!1),c.enterLink=o("inLink",!1),c.enterBlock=o("inBlock",!1),c.interruptParagraph=[["thematicBreak"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],c.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],c.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}],["footnote",{commonmark:!1}]],c.blockTokenizers={newline:n(79413),indentedCode:n(43180),fencedCode:n(97547),blockquote:n(11756),atxHeading:n(56857),thematicBreak:n(16050),list:n(18356),setextHeading:n(45418),html:n(37660),footnote:n(74266),definition:n(42818),table:n(19054),paragraph:n(31409)},c.inlineTokenizers={escape:n(87597),autoLink:n(26572),url:n(76899),html:n(27659),link:n(22541),reference:n(2196),strong:n(26033),emphasis:n(72504),deletion:n(78931),code:n(90332),break:n(22230),text:n(67510)},c.blockMethods=f(c.blockTokenizers),c.inlineMethods=f(c.inlineTokenizers),c.tokenizeBlock=u("block"),c.tokenizeInline=u("inline"),c.tokenizeFactory=u},92375:(e,t,n)=>{"use strict";var r=n(51960),o=n(4608),i=n(87732);e.exports=function(e){var t,n,a=this,s=a.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=r(e)}for(t in i){if(null==(n=e[t])&&(n=s[t]),"blocks"!==t&&"boolean"!=typeof n||"blocks"===t&&"object"!=typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+t+"`");e[t]=n}return a.options=e,a.escape=o(e),a}},26572:(e,t,n)=>{"use strict";var r=n(74898),o=n(70930),i=n(20309);e.exports=p,p.locator=i,p.notInLink=!0;var a="<",s=">",u="@",l="/",c="mailto:",f=c.length;function p(e,t,n){var i,p,d,h,m,g=this,v="",E=t.length,C=0,T="",y=!1,A="";if(t.charAt(0)===a){for(C++,v=a;C<E&&(i=t.charAt(C),!(r(i)||i===s||i===u||":"===i&&t.charAt(C+1)===l));)T+=i,C++;if(T){if(A+=T,T="",A+=i=t.charAt(C),C++,i===u)y=!0;else{if(":"!==i||t.charAt(C+1)!==l)return;A+=l,C++}for(;C<E&&(i=t.charAt(C),!r(i)&&i!==s);)T+=i,C++;if(i=t.charAt(C),T&&i===s)return!!n||(d=A+=T,v+=A+i,(p=e.now()).column++,p.offset++,y&&(A.slice(0,f).toLowerCase()===c?(d=d.substr(f),p.column+=f,p.offset+=f):A=c+A),h=g.inlineTokenizers,g.inlineTokenizers={text:h.text},m=g.enterLink(),d=g.tokenizeInline(d,p),g.inlineTokenizers=h,m(),e(v)({type:"link",title:null,url:o(A,{nonTerminated:!1}),children:d}))}}}},11756:(e,t,n)=>{"use strict";var r=n(50311),o=n(14538);e.exports=function(e,t,n){for(var l,c,f,p,d,h,m,g,v,E=this,C=E.offset,T=E.blockTokenizers,y=E.interruptBlockquote,A=e.now(),b=A.line,D=t.length,x=[],_=[],k=[],O=0;O<D&&((c=t.charAt(O))===s||c===a);)O++;if(t.charAt(O)===u){if(n)return!0;for(O=0;O<D;){for(m=O,g=!1,-1===(p=t.indexOf(i,O))&&(p=D);O<D&&((c=t.charAt(O))===s||c===a);)O++;if(t.charAt(O)===u?(O++,g=!0,t.charAt(O)===s&&O++):O=m,d=t.slice(O,p),!g&&!r(d)){O=m;break}if(!g&&(f=t.slice(O),o(y,T,E,[e,f,!0])))break;h=m===O?d:t.slice(m,p),k.push(O-m),x.push(h),_.push(d),O=p+1}for(O=-1,D=k.length,l=e(x.join(i));++O<D;)C[b]=(C[b]||0)+k[O],b++;return v=E.enterBlock(),_=E.tokenizeBlock(_.join(i),A),v(),l({type:"blockquote",children:_})}};var i="\n",a="\t",s=" ",u=">"},22230:(e,t,n)=>{"use strict";var r=n(76715);e.exports=s,s.locator=r;var o=" ",i="\n",a=2;function s(e,t,n){for(var r,s=t.length,u=-1,l="";++u<s;){if((r=t.charAt(u))===i){if(u<a)return;return!!n||e(l+=r)({type:"break"})}if(r!==o)return;l+=r}}},97547:(e,t,n)=>{"use strict";var r=n(67876);e.exports=function(e,t,n){var f,p,d,h,m,g,v,E,C,T,y,A,b,D=this,x=D.options.gfm,_=t.length+1,k=0,O="";if(x){for(;k<_&&((d=t.charAt(k))===a||d===i);)O+=d,k++;if(A=k,(d=t.charAt(k))===s||d===u){for(k++,p=d,f=1,O+=d;k<_&&(d=t.charAt(k))===p;)O+=d,f++,k++;if(!(f<l)){for(;k<_&&((d=t.charAt(k))===a||d===i);)O+=d,k++;for(h="",v="";k<_&&(d=t.charAt(k))!==o&&d!==s&&d!==u;)d===a||d===i?v+=d:(h+=v+d,v=""),k++;if(!(d=t.charAt(k))||d===o){if(n)return!0;for((b=e.now()).column+=O.length,b.offset+=O.length,O+=h,h=D.decode.raw(D.unescape(h),b),v&&(O+=v),v="",T="",y="",E="",C="";k<_;)if(E+=T,C+=y,T="",y="",(d=t.charAt(k))===o){for(E?(T+=d,y+=d):O+=d,v="",k++;k<_&&(d=t.charAt(k))===a;)v+=d,k++;if(T+=v,y+=v.slice(A),!(v.length>=c)){for(v="";k<_&&(d=t.charAt(k))===p;)v+=d,k++;if(T+=v,y+=v,!(v.length<f)){for(v="";k<_&&((d=t.charAt(k))===a||d===i);)T+=d,y+=d,k++;if(!d||d===o)break}}}else E+=d,y+=d,k++;for(O+=E+T,k=-1,_=h.length;++k<_;)if((d=h.charAt(k))===a||d===i)m||(m=h.slice(0,k));else if(m){g=h.slice(k);break}return e(O)({type:"code",lang:m||h||null,meta:g||null,value:r(C)})}}}}};var o="\n",i="\t",a=" ",s="~",u="`",l=3,c=4},43180:(e,t,n)=>{"use strict";var r=n(34076),o=n(67876);e.exports=function(e,t,n){for(var r,l,c,f=-1,p=t.length,d="",h="",m="",g="";++f<p;)if(r=t.charAt(f),c)if(c=!1,d+=m,h+=g,m="",g="",r===i)m=r,g=r;else for(d+=r,h+=r;++f<p;){if(!(r=t.charAt(f))||r===i){g=r,m=r;break}d+=r,h+=r}else if(r===s&&t.charAt(f+1)===r&&t.charAt(f+2)===r&&t.charAt(f+3)===r)m+=u,f+=3,c=!0;else if(r===a)m+=r,c=!0;else{for(l="";r===a||r===s;)l+=r,r=t.charAt(++f);if(r!==i)break;m+=l+r,g+=r}if(h)return!!n||e(d)({type:"code",lang:null,meta:null,value:o(h)})};var i="\n",a="\t",s=" ",u=r(s,4)},90332:(e,t,n)=>{"use strict";var r=n(74898),o=n(15331);e.exports=a,a.locator=o;var i="`";function a(e,t,n){for(var o,a,s,u,l,c,f,p,d=t.length,h=0,m="",g="";h<d&&t.charAt(h)===i;)m+=i,h++;if(m){for(l=m,u=h,m="",p=t.charAt(h),s=0;h<d;){if(c=p,p=t.charAt(h+1),c===i?(s++,g+=c):(s=0,m+=c),s&&p!==i){if(s===u){l+=m+g,f=!0;break}m+=g,g=""}h++}if(!f){if(u%2!=0)return;m=""}if(n)return!0;for(o="",a="",d=m.length,h=-1;++h<d;)c=m.charAt(h),r(c)?a+=c:(a&&(o&&(o+=a),a=""),o+=c);return e(l)({type:"inlineCode",value:o})}}},42818:(e,t,n)=>{"use strict";var r=n(74898),o=n(28999);e.exports=E,E.notInList=!0,E.notInBlock=!0;var i='"',a="'",s="\\",u="\n",l="\t",c=" ",f="[",p="]",d="(",h=")",m=":",g="<",v=">";function E(e,t,n){for(var r,v,E,y,A,b,D,x,_=this,k=_.options.commonmark,O=0,S=t.length,w="";O<S&&((y=t.charAt(O))===c||y===l);)w+=y,O++;if((y=t.charAt(O))===f){for(O++,w+=y,E="";O<S&&(y=t.charAt(O))!==p;)y===s&&(E+=y,O++,y=t.charAt(O)),E+=y,O++;if(E&&t.charAt(O)===p&&t.charAt(O+1)===m){for(b=E,O=(w+=E+p+m).length,E="";O<S&&((y=t.charAt(O))===l||y===c||y===u);)w+=y,O++;if(E="",r=w,(y=t.charAt(O))===g){for(O++;O<S&&C(y=t.charAt(O));)E+=y,O++;if((y=t.charAt(O))===C.delimiter)w+=g+E+y,O++;else{if(k)return;O-=E.length+1,E=""}}if(!E){for(;O<S&&T(y=t.charAt(O));)E+=y,O++;w+=E}if(E){for(D=E,E="";O<S&&((y=t.charAt(O))===l||y===c||y===u);)E+=y,O++;if(A=null,(y=t.charAt(O))===i?A=i:y===a?A=a:y===d&&(A=h),A){if(!E)return;for(O=(w+=E+y).length,E="";O<S&&(y=t.charAt(O))!==A;){if(y===u){if(O++,(y=t.charAt(O))===u||y===A)return;E+=u}E+=y,O++}if((y=t.charAt(O))!==A)return;v=w,w+=E+y,O++,x=E,E=""}else E="",O=w.length;for(;O<S&&((y=t.charAt(O))===l||y===c);)w+=y,O++;return(y=t.charAt(O))&&y!==u?void 0:!!n||(r=e(r).test().end,D=_.decode.raw(_.unescape(D),r,{nonTerminated:!1}),x&&(v=e(v).test().end,x=_.decode.raw(_.unescape(x),v)),e(w)({type:"definition",identifier:o(b),label:b,title:x||null,url:D}))}}}}function C(e){return e!==v&&e!==f&&e!==p}function T(e){return e!==f&&e!==p&&!r(e)}C.delimiter=v},78931:(e,t,n)=>{"use strict";var r=n(74898),o=n(47315);e.exports=s,s.locator=o;var i="~",a="~~";function s(e,t,n){var o,s,u,l="",c="",f="",p="";if(this.options.gfm&&t.charAt(0)===i&&t.charAt(1)===i&&!r(t.charAt(2)))for(o=1,s=t.length,(u=e.now()).column+=2,u.offset+=2;++o<s;){if(!((l=t.charAt(o))!==i||c!==i||f&&r(f)))return!!n||e(a+p+a)({type:"delete",children:this.tokenizeInline(p,u)});p+=c,f=c,c=l}}},72504:(e,t,n)=>{"use strict";var r=n(50311),o=n(2821),i=n(74898),a=n(85946);e.exports=c,c.locator=a;var s="*",u="_",l="\\";function c(e,t,n){var a,c,f,p,d,h,m,g=0,v=t.charAt(g);if(!(v!==s&&v!==u||(c=this.options.pedantic,d=v,f=v,h=t.length,g++,p="",v="",c&&i(t.charAt(g)))))for(;g<h;){if(m=v,!((v=t.charAt(g))!==f||c&&i(m))){if((v=t.charAt(++g))!==f){if(!r(p)||m===f)return;if(!c&&f===u&&o(v)){p+=f;continue}return!!n||((a=e.now()).column++,a.offset++,e(d+p+f)({type:"emphasis",children:this.tokenizeInline(p,a)}))}p+=f}c||v!==l||(p+=v,v=t.charAt(++g)),p+=v,g++}}},87597:(e,t,n)=>{"use strict";var r=n(38932);e.exports=a,a.locator=r;var o="\n",i="\\";function a(e,t,n){var r,a;if(t.charAt(0)===i&&(r=t.charAt(1),-1!==this.escape.indexOf(r)))return!!n||(a=r===o?{type:"break"}:{type:"text",value:r},e(i+r)(a))}},74266:(e,t,n)=>{"use strict";var r=n(74898),o=n(28999);e.exports=h,h.notInList=!0,h.notInBlock=!0;var i="\\",a="\n",s="\t",u=" ",l="[",c="]",f="^",p=":",d=/^( {4}|\t)?/gm;function h(e,t,n){var h,m,g,v,E,C,T,y,A,b,D,x,_=this,k=_.offset;if(_.options.footnotes){for(h=0,m=t.length,g="",v=e.now(),E=v.line;h<m&&(A=t.charAt(h),r(A));)g+=A,h++;if(t.charAt(h)===l&&t.charAt(h+1)===f){for(h=(g+=l+f).length,T="";h<m&&(A=t.charAt(h))!==c;)A===i&&(T+=A,h++,A=t.charAt(h)),T+=A,h++;if(T&&t.charAt(h)===c&&t.charAt(h+1)===p){if(n)return!0;for(b=T,h=(g+=T+c+p).length;h<m&&((A=t.charAt(h))===s||A===u);)g+=A,h++;for(v.column+=g.length,v.offset+=g.length,T="",C="",y="";h<m;){if((A=t.charAt(h))===a){for(y=A,h++;h<m&&(A=t.charAt(h))===a;)y+=A,h++;for(T+=y,y="";h<m&&(A=t.charAt(h))===u;)y+=A,h++;if(0===y.length)break;T+=y}T&&(C+=T,T=""),C+=A,h++}return g+=C,C=C.replace(d,(function(e){return k[E]=(k[E]||0)+e.length,E++,""})),D=e(g),x=_.enterBlock(),C=_.tokenizeBlock(C,v),x(),D({type:"footnoteDefinition",identifier:o(b),label:b,children:C})}}}}},56857:e=>{"use strict";e.exports=function(e,a,s){for(var u,l,c,f=this.options.pedantic,p=a.length+1,d=-1,h=e.now(),m="",g="";++d<p;){if((u=a.charAt(d))!==r&&u!==n){d--;break}m+=u}for(c=0;++d<=p;){if((u=a.charAt(d))!==o){d--;break}m+=u,c++}if(!(c>i)&&c&&(f||a.charAt(d+1)!==o)){for(p=a.length+1,l="";++d<p;){if((u=a.charAt(d))!==r&&u!==n){d--;break}l+=u}if(f||0!==l.length||!u||u===t){if(s)return!0;for(m+=l,l="",g="";++d<p&&(u=a.charAt(d))&&u!==t;)if(u===r||u===n||u===o){for(;u===r||u===n;)l+=u,u=a.charAt(++d);if(f||!g||l||u!==o){for(;u===o;)l+=u,u=a.charAt(++d);for(;u===r||u===n;)l+=u,u=a.charAt(++d);d--}else g+=u}else g+=l+u,l="";return h.column+=m.length,h.offset+=m.length,e(m+=g+l)({type:"heading",depth:c,children:this.tokenizeInline(g,h)})}}};var t="\n",n="\t",r=" ",o="#",i=6},45418:e=>{"use strict";e.exports=function(e,l,c){for(var f,p,d,h,m,g=e.now(),v=l.length,E=-1,C="";++E<v;){if((d=l.charAt(E))!==r||E>=a){E--;break}C+=d}for(f="",p="";++E<v;){if((d=l.charAt(E))===t){E--;break}d===r||d===n?p+=d:(f+=p+d,p="")}if(g.column+=C.length,g.offset+=C.length,C+=f+p,d=l.charAt(++E),h=l.charAt(++E),d===t&&(h===o||h===i)){for(C+=d,p=h,m=h===o?s:u;++E<v;){if((d=l.charAt(E))!==h){if(d!==t)return;E--;break}p+=d}return!!c||e(C+p)({type:"heading",depth:m,children:this.tokenizeInline(f,g)})}};var t="\n",n="\t",r=" ",o="=",i="-",a=3,s=1,u=2},37660:(e,t,n)=>{"use strict";var r=n(80889).g;e.exports=function(e,t,n){for(var r,T,y,A,b,D,x,_=this.options.blocks.join("|"),k=new RegExp("^</?("+_+")(?=(\\s|/?>|$))","i"),O=t.length,S=0,w=[[u,l,!0],[c,f,!0],[p,d,!0],[h,m,!0],[g,v,!0],[k,E,!0],[C,E,!1]];S<O&&((A=t.charAt(S))===o||A===i);)S++;if(t.charAt(S)===s){for(r=-1===(r=t.indexOf(a,S+1))?O:r,T=t.slice(S,r),y=-1,b=w.length;++y<b;)if(w[y][0].test(T)){D=w[y];break}if(D){if(n)return D[2];if(S=r,!D[1].test(T))for(;S<O;){if(r=-1===(r=t.indexOf(a,S+1))?O:r,T=t.slice(S+1,r),D[1].test(T)){T&&(S=r);break}S=r}return e(x=t.slice(0,S))({type:"html",value:x})}}};var o="\t",i=" ",a="\n",s="<",u=/^<(script|pre|style)(?=(\s|>|$))/i,l=/<\/(script|pre|style)>/i,c=/^<!--/,f=/-->/,p=/^<\?/,d=/\?>/,h=/^<![A-Za-z]/,m=/>/,g=/^<!\[CDATA\[/,v=/\]\]>/,E=/^$/,C=new RegExp(r.source+"\\s*$")},27659:(e,t,n)=>{"use strict";var r=n(73756),o=n(20309),i=n(80889)._;e.exports=p,p.locator=o;var a="<",s="?",u="!",l="/",c=/^<a /i,f=/^<\/a>/i;function p(e,t,n){var o,p,d=this,h=t.length;if(!(t.charAt(0)!==a||h<3)&&(o=t.charAt(1),(r(o)||o===s||o===u||o===l)&&(p=t.match(i))))return!!n||(p=p[0],!d.inLink&&c.test(p)?d.inLink=!0:d.inLink&&f.test(p)&&(d.inLink=!1),e(p)({type:"html",value:p}))}},22541:(e,t,n)=>{"use strict";var r=n(74898),o=n(88906);e.exports=v,v.locator=o;var i="\n",a="!",s='"',u="'",l="(",c=")",f="<",p=">",d="[",h="\\",m="]",g="`";function v(e,t,n){var o,v,E,C,T,y,A,b,D,x,_,k,O,S,w,N,B,F,R=this,P="",I=0,M=t.charAt(0),L=R.options.pedantic,j=R.options.commonmark,H=R.options.gfm;if(M===a&&(b=!0,P=M,M=t.charAt(++I)),M===d&&(b||!R.inLink)){for(P+=M,S="",I++,_=t.length,O=0,(N=e.now()).column+=I,N.offset+=I;I<_;){if(y=M=t.charAt(I),M===g){for(v=1;t.charAt(I+1)===g;)y+=M,I++,v++;E?v>=E&&(E=0):E=v}else if(M===h)I++,y+=t.charAt(I);else if(E&&!H||M!==d){if((!E||H)&&M===m){if(!O){if(!L)for(;I<_&&(M=t.charAt(I+1),r(M));)y+=M,I++;if(t.charAt(I+1)!==l)return;y+=l,o=!0,I++;break}O--}}else O++;S+=y,y="",I++}if(o){for(D=S,P+=S+y,I++;I<_&&(M=t.charAt(I),r(M));)P+=M,I++;if(S="",C=P,(M=t.charAt(I))===f){for(I++,C+=f;I<_&&(M=t.charAt(I))!==p;){if(j&&M===i)return;S+=M,I++}if(t.charAt(I)!==p)return;P+=f+S+p,w=S,I++}else{for(M=null,y="";I<_&&(M=t.charAt(I),!y||!(M===s||M===u||j&&M===l));){if(r(M)){if(!L)break;y+=M}else{if(M===l)O++;else if(M===c){if(0===O)break;O--}S+=y,y="",M===h&&(S+=h,M=t.charAt(++I)),S+=M}I++}w=S,I=(P+=S).length}for(S="";I<_&&(M=t.charAt(I),r(M));)S+=M,I++;if(M=t.charAt(I),P+=S,S&&(M===s||M===u||j&&M===l))if(I++,S="",x=M===l?c:M,T=P+=M,j){for(;I<_&&(M=t.charAt(I))!==x;)M===h&&(S+=h,M=t.charAt(++I)),I++,S+=M;if((M=t.charAt(I))!==x)return;for(k=S,P+=S+M,I++;I<_&&(M=t.charAt(I),r(M));)P+=M,I++}else for(y="";I<_;){if((M=t.charAt(I))===x)A&&(S+=x+y,y=""),A=!0;else if(A){if(M===c){P+=S+x+y,k=S;break}r(M)?y+=M:(S+=x+y+M,y="",A=!1)}else S+=M;I++}if(t.charAt(I)===c)return!!n||(P+=c,w=R.decode.raw(R.unescape(w),e(C).test().end,{nonTerminated:!1}),k&&(T=e(T).test().end,k=R.decode.raw(R.unescape(k),T)),F={type:b?"image":"link",title:k||null,url:w},b?F.alt=R.decode.raw(R.unescape(D),N)||null:(B=R.enterLink(),F.children=R.tokenizeInline(D,N),B()),e(P)(F))}}}},18356:(e,t,n)=>{"use strict";var r=n(50311),o=n(34076),i=n(61278),a=n(30491),s=n(97621),u=n(14538);e.exports=function(e,t,n){for(var o,a,s,E,T,y,A,b,D,_,k,O,S,w,N,B,F,R,P,I,M,L,j=this,H=j.options.commonmark,U=j.options.pedantic,z=j.blockTokenizers,G=j.interruptList,K=0,W=t.length,q=null,V=0,Y=!1;K<W;){if((s=t.charAt(K))===g)V+=C-V%C;else{if(s!==h)break;V++}K++}if(!(V>=C)){if((s=t.charAt(K))===l||s===f||s===p)E=s,a=!1;else{for(a=!0,o="";K<W&&(s=t.charAt(K),i(s));)o+=s,K++;if(s=t.charAt(K),!o||!(s===d||H&&s===v))return;q=parseInt(o,10),E=s}if((s=t.charAt(++K))===h||s===g||!(U||s!==m&&""!==s)){if(n)return!0;for(K=0,S=[],w=[],N=[];K<W;){for(y=K,A=!1,L=!1,-1===(T=t.indexOf(m,K))&&(T=W),M=K+C,V=0;K<W;){if((s=t.charAt(K))===g)V+=C-V%C;else{if(s!==h)break;V++}K++}if(V>=C&&(L=!0),B&&V>=B.indent&&(L=!0),s=t.charAt(K),b=null,!L){if(s===l||s===f||s===p)b=s,K++,V++;else{for(o="";K<W&&(s=t.charAt(K),i(s));)o+=s,K++;s=t.charAt(K),K++,o&&(s===d||H&&s===v)&&(b=s,V+=o.length+1)}if(b)if((s=t.charAt(K))===g)V+=C-V%C,K++;else if(s===h){for(M=K+C;K<M&&t.charAt(K)===h;)K++,V++;K===M&&t.charAt(K)===h&&(K-=C-1,V-=C-1)}else s!==m&&""!==s&&(b=null)}if(b){if(!U&&E!==b)break;A=!0}else H||L||t.charAt(y)!==h?H&&B&&(L=V>=B.indent||V>C):L=!0,A=!1,K=y;if(_=t.slice(y,T),D=y===K?_:t.slice(K,T),(b===l||b===c||b===p)&&z.thematicBreak.call(j,e,_,!0))break;if(k=O,O=!A&&!r(D).length,L&&B)B.value=B.value.concat(N,_),w=w.concat(N,_),N=[];else if(A)0!==N.length&&(Y=!0,B.value.push(""),B.trail=N.concat()),B={value:[_],indent:V,trail:[]},S.push(B),w=w.concat(N,_),N=[];else if(O){if(k&&!H)break;N.push(_)}else{if(k)break;if(u(G,z,j,[e,_,!0]))break;B.value=B.value.concat(N,_),w=w.concat(N,_),N=[]}K=T+1}for(P=e(w.join(m)).reset({type:"list",ordered:a,start:q,spread:Y,children:[]}),F=j.enterList(),R=j.enterBlock(),K=-1,W=S.length;++K<W;)B=S[K].value.join(m),I=e.now(),e(B)(x(j,B,I),P),B=S[K].trail.join(m),K!==W-1&&(B+=m),e(B);return F(),R(),P}}};var l="*",c="_",f="+",p="-",d=".",h=" ",m="\n",g="\t",v=")",E="x",C=4,T=/\n\n(?!\s*$)/,y=/^\[([ \t]|x|X)][ \t]/,A=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,b=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,D=/^( {1,4}|\t)?/gm;function x(e,t,n){var r,o,i=e.offset,a=null;return t=(e.options.pedantic?_:k).apply(null,arguments),e.options.gfm&&(r=t.match(y))&&(o=r[0].length,a=r[1].toLowerCase()===E,i[n.line]+=o,t=t.slice(o)),{type:"listItem",spread:T.test(t),checked:a,children:e.tokenizeBlock(t,n)}}function _(e,t,n){var r=e.offset,o=n.line;return t=t.replace(b,i),o=n.line,t.replace(D,i);function i(e){return r[o]=(r[o]||0)+e.length,o++,""}}function k(e,t,n){var r,i,u,l,c,f,p,d=e.offset,g=n.line;for(l=(t=t.replace(A,(function(e,t,n,a,s){return i=t+n+a,u=s,Number(n)<10&&i.length%2==1&&(n=h+n),(r=t+o(h,n.length)+a)+u}))).split(m),(c=s(t,a(r).indent).split(m))[0]=u,d[g]=(d[g]||0)+i.length,g++,f=0,p=l.length;++f<p;)d[g]=(d[g]||0)+l[f].length-c[f].length,g++;return c.join(m)}},79413:(e,t,n)=>{"use strict";var r=n(74898);e.exports=function(e,t,n){var i,a,s,u,l=t.charAt(0);if(l===o){if(n)return!0;for(u=1,i=t.length,a=l,s="";u<i&&(l=t.charAt(u),r(l));)s+=l,l===o&&(a+=s,s=""),u++;e(a)}};var o="\n"},31409:(e,t,n)=>{"use strict";var r=n(50311),o=n(61278),i=n(67876),a=n(14538);e.exports=function(e,t,n){for(var f,p,d,h,m,g=this,v=g.options,E=v.commonmark,C=v.gfm,T=g.blockTokenizers,y=g.interruptParagraph,A=t.indexOf(u),b=t.length;A<b;){if(-1===A){A=b;break}if(t.charAt(A+1)===u)break;if(E){for(h=0,f=A+1;f<b;){if((d=t.charAt(f))===s){h=c;break}if(d!==l)break;h++,f++}if(h>=c&&d!==u){A=t.indexOf(u,A+1);continue}}if(p=t.slice(A+1),a(y,T,g,[e,p,!0]))break;if(T.list.call(g,e,p,!0)&&(g.inList||E||C&&!o(r.left(p).charAt(0))))break;if(f=A,-1!==(A=t.indexOf(u,A+1))&&""===r(t.slice(f,A))){A=f;break}}return p=t.slice(0,A),""===r(p)?(e(p),null):!!n||(m=e.now(),e(p=i(p))({type:"paragraph",children:g.tokenizeInline(p,m)}))};var s="\t",u="\n",l=" ",c=4},2196:(e,t,n)=>{"use strict";var r=n(74898),o=n(88906),i=n(28999);e.exports=E,E.locator=o;var a="link",s="image",u="footnote",l="shortcut",c="collapsed",f="full",p=" ",d="!",h="[",m="\\",g="]",v="^";function E(e,t,n){var o,E,C,T,y,A,b,D,x=this,_=x.options.commonmark,k=t.charAt(0),O=0,S=t.length,w="",N="",B=a,F=l;if(k===d&&(B=s,N=k,k=t.charAt(++O)),k===h){if(O++,N+=k,A="",x.options.footnotes&&t.charAt(O)===v){if(B===s)return;N+=v,O++,B=u}for(D=0;O<S;){if((k=t.charAt(O))===h)b=!0,D++;else if(k===g){if(!D)break;D--}k===m&&(A+=m,k=t.charAt(++O)),A+=k,O++}if(w=A,o=A,(k=t.charAt(O))===g){if(O++,w+=k,A="",!_)for(;O<S&&(k=t.charAt(O),r(k));)A+=k,O++;if(k=t.charAt(O),B!==u&&k===h){for(E="",A+=k,O++;O<S&&(k=t.charAt(O))!==h&&k!==g;)k===m&&(E+=m,k=t.charAt(++O)),E+=k,O++;(k=t.charAt(O))===g?(F=E?f:c,A+=E+k,O++):E="",w+=A,A=""}else{if(!o)return;E=o}if(F===f||!b)return w=N+w,B===a&&x.inLink?null:!!n||(B===u&&-1!==o.indexOf(p)?e(w)({type:u,children:this.tokenizeInline(o,e.now())}):((C=e.now()).column+=N.length,C.offset+=N.length,T={type:B+"Reference",identifier:i(E=F===f?E:o),label:E},B!==a&&B!==s||(T.referenceType=F),B===a?(y=x.enterLink(),T.children=x.tokenizeInline(o,C),y()):B===s&&(T.alt=x.decode.raw(x.unescape(o),C)||null),e(w)(T)))}}}},26033:(e,t,n)=>{"use strict";var r=n(50311),o=n(74898),i=n(73251);e.exports=l,l.locator=i;var a="\\",s="*",u="_";function l(e,t,n){var i,l,c,f,p,d,h,m=0,g=t.charAt(m);if(!(g!==s&&g!==u||t.charAt(++m)!==g||(l=this.options.pedantic,p=(c=g)+c,d=t.length,m++,f="",g="",l&&o(t.charAt(m)))))for(;m<d;){if(h=g,!((g=t.charAt(m))!==c||t.charAt(m+1)!==c||l&&o(h))&&(g=t.charAt(m+2))!==c){if(!r(f))return;return!!n||((i=e.now()).column+=2,i.offset+=2,e(p+f+p)({type:"strong",children:this.tokenizeInline(f,i)}))}l||g!==a||(f+=g,g=t.charAt(++m)),f+=g,m++}}},19054:(e,t,n)=>{"use strict";var r=n(74898);e.exports=function(e,t,n){var v,E,C,T,y,A,b,D,x,_,k,O,S,w,N,B,F,R,P,I,M,L,j,H;if(this.options.gfm){for(v=0,R=0,A=t.length+1,b=[];v<A;){if(L=t.indexOf(i,v),j=t.indexOf(f,v+1),-1===L&&(L=t.length),-1===j||j>L){if(R<d)return;break}b.push(t.slice(v,L)),R++,v=L+1}for(T=b.join(i),v=0,A=(E=b.splice(1,1)[0]||[]).length,R--,C=!1,k=[];v<A;){if((x=E.charAt(v))===f){if(_=null,!1===C){if(!1===H)return}else k.push(C),C=!1;H=!1}else if(x===s)_=!0,C=C||null;else if(x===u)C=C===h?m:_&&null===C?g:h;else if(!r(x))return;v++}if(!1!==C&&k.push(C),!(k.length<p)){if(n)return!0;for(F=-1,I=[],M=e(T).reset({type:"table",align:k,children:I});++F<R;){for(P=b[F],y={type:"tableRow",children:[]},F&&e(i),e(P).reset(y,M),A=P.length+1,v=0,D="",O="",S=!0,w=null,N=null;v<A;)if((x=P.charAt(v))!==o&&x!==a){if(""===x||x===f)if(S)e(x);else{if(x&&N){D+=x,v++;continue}!O&&!x||S||(T=O,D.length>1&&(x?(T+=D.slice(0,D.length-1),D=D.charAt(D.length-1)):(T+=D,D="")),B=e.now(),e(T)({type:"tableCell",children:this.tokenizeInline(O,B)},y)),e(D+x),D="",O=""}else if(D&&(O+=D,D=""),O+=x,x===l&&v!==A-2&&(O+=P.charAt(v+1),v++),x===c){for(w=1;P.charAt(v+1)===x;)O+=x,v++,w++;N?w>=N&&(N=0):N=w}S=!1,v++}else O?D+=x:e(x),v++;F||e(i+E)}return M}}};var o="\t",i="\n",a=" ",s="-",u=":",l="\\",c="`",f="|",p=1,d=2,h="left",m="center",g="right"},67510:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,s,u,l,c,f,p,d=this;if(n)return!0;for(a=(r=d.inlineMethods).length,o=d.inlineTokenizers,i=-1,f=t.length;++i<a;)"text"!==(c=r[i])&&o[c]&&((l=o[c].locator)||e.file.fail("Missing locator: `"+c+"`"),-1!==(u=l.call(d,t,1))&&u<f&&(f=u));s=t.slice(0,f),p=e.now(),d.decode(s,p,(function(t,n,r){e(r||t)({type:"text",value:t})}))}},16050:e=>{"use strict";e.exports=function(e,u,l){for(var c,f,p,d,h=-1,m=u.length+1,g="";++h<m&&((c=u.charAt(h))===t||c===r);)g+=c;if(c===o||c===i||c===a)for(f=c,g+=c,p=1,d="";++h<m;)if((c=u.charAt(h))===f)p++,g+=d+f,d="";else{if(c!==r)return p>=s&&(!c||c===n)?(g+=d,!!l||e(g)({type:"thematicBreak"})):void 0;d+=c}};var t="\t",n="\n",r=" ",o="*",i="-",a="_",s=3},76899:(e,t,n)=>{"use strict";var r=n(70930),o=n(74898),i=n(38693);e.exports=y,y.locator=i,y.notInLink=!0;var a='"',s="'",u="(",l=")",c=",",f=".",p=":",d=";",h="<",m="@",g="[",v="]",E="mailto:",C=["http://","https://",E],T=C.length;function y(e,t,n){var i,y,A,b,D,x,_,k,O,S,w,N,B,F=this;if(F.options.gfm){for(i="",b=-1;++b<T;)if(x=C[b],(_=t.slice(0,x.length)).toLowerCase()===x){i=_;break}if(i){for(b=i.length,k=t.length,O="",S=0;b<k&&(A=t.charAt(b),!o(A)&&A!==h)&&(A!==f&&A!==c&&A!==p&&A!==d&&A!==a&&A!==s&&A!==l&&A!==v||(w=t.charAt(b+1))&&!o(w))&&(A!==u&&A!==g||S++,A!==l&&A!==v||!(--S<0));)O+=A,b++;if(O){if(y=i+=O,x===E){if(-1===(D=O.indexOf(m))||D===k-1)return;y=y.substr(E.length)}return!!n||(B=F.enterLink(),N=F.inlineTokenizers,F.inlineTokenizers={text:N.text},y=F.tokenizeInline(y,e.now()),F.inlineTokenizers=N,B(),e(i)({type:"link",title:null,url:r(i,{nonTerminated:!1}),children:y}))}}}}},9223:e=>{"use strict";function t(e){var t,n;return"text"!==e.type||!e.position||(t=e.position.start,n=e.position.end,t.line!==n.line||n.column-t.column===e.value.length)}function n(e,t){return e.value+=t.value,e}function r(e,t){return this.options.commonmark?t:(e.children=e.children.concat(t.children),e)}e.exports=function(e){return function(o,i){var a,s,u,l,c,f=this,p=f.offset,d=[],h=f[e+"Methods"],m=f[e+"Tokenizers"],g=i.line,v=i.column;if(!o)return d;for(y.now=C,y.file=f.file,E("");o;){for(a=-1,s=h.length,l=!1;++a<s&&(!(u=m[h[a]])||u.onlyAtStart&&!f.atStart||u.notInList&&f.inList||u.notInBlock&&f.inBlock||u.notInLink&&f.inLink||(c=o.length,u.apply(f,[y,o]),!(l=c!==o.length))););l||f.file.fail(new Error("Infinite loop"),y.now())}return f.eof=C(),d;function E(e){for(var t=-1,n=e.indexOf("\n");-1!==n;)g++,t=n,n=e.indexOf("\n",n+1);-1===t?v+=e.length:v=e.length-t,g in p&&(-1!==t?v+=p[g]:v<=p[g]&&(v=p[g]+1))}function C(){var e={line:g,column:v};return e.offset=f.toOffset(e),e}function T(e){this.start=e,this.end=C()}function y(e){var i,a=function(){var e=[],t=g+1;return function(){for(var n=g+1;t<n;)e.push((p[t]||0)+1),t++;return e}}(),s=(i=C(),function(e,t){var n=e.position,r=n?n.start:i,o=[],a=n&&n.end.line,s=i.line;if(e.position=new T(r),n&&t&&n.indent){if(o=n.indent,a<s){for(;++a<s;)o.push((p[a]||0)+1);o.push(i.column)}t=o.concat(t)}return e.position.indent=t||[],e}),u=C();return function(e){o.substring(0,e.length)!==e&&f.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),C())}(e),l.reset=c,c.test=h,l.test=h,o=o.substring(e.length),E(e),a=a(),l;function l(e,o){return s(function(e,o){var i=o?o.children:d,a=i[i.length-1];return a&&e.type===a.type&&("text"===e.type||"blockquote"===e.type)&&t(a)&&t(e)&&(e=("text"===e.type?n:r).call(f,a,e)),e!==a&&i.push(e),f.atStart&&0!==d.length&&f.exitStart(),e}(s(e),o),a)}function c(){var t=l.apply(null,arguments);return g=u.line,v=u.column,o=e+o,t}function h(){var t=s({});return g=u.line,v=u.column,o=e+o,t.position}}}}},92084:e=>{"use strict";e.exports=function(e,n){return function(r){for(var o,i=0,a=r.indexOf(t),s=e[n],u=[];-1!==a;)u.push(r.slice(i,a)),i=a+1,(o=r.charAt(i))&&-1!==s.indexOf(o)||u.push(t),a=r.indexOf(t,i+1);return u.push(r.slice(i)),u.join("")}};var t="\\"},30491:e=>{"use strict";e.exports=function(e){for(var i,a=0,s=0,u=e.charAt(a),l={};u===t||u===n;)s+=i=u===t?o:r,i>1&&(s=Math.floor(s/i)*i),l[s]=a,u=e.charAt(++a);return{indent:s,stops:l}};var t="\t",n=" ",r=1,o=4},80889:(e,t)=>{"use strict";var n="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.g=new RegExp("^(?:"+n+"|"+r+")"),t._=new RegExp("^(?:"+n+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},14538:e=>{"use strict";e.exports=function(e,t,n,r){for(var o,i,a=e.length,s=-1;++s<a;)if((void 0===(i=(o=e[s])[1]||{}).pedantic||i.pedantic===n.options.pedantic)&&(void 0===i.commonmark||i.commonmark===n.options.commonmark)&&t[o[0]].apply(n,r))return!0;return!1}},28999:(e,t,n)=>{"use strict";var r=n(38925);e.exports=function(e){return r(e).toLowerCase()}},97621:(e,t,n)=>{"use strict";var r=n(50311),o=n(34076),i=n(30491);e.exports=function(e,t){var n,c,f,p,d=e.split(s),h=d.length+1,m=1/0,g=[];for(d.unshift(o(u,t)+l);h--;)if(c=i(d[h]),g[h]=c.stops,0!==r(d[h]).length){if(!c.indent){m=1/0;break}c.indent>0&&c.indent<m&&(m=c.indent)}if(m!==1/0)for(h=d.length;h--;){for(f=g[h],n=m;n&&!(n in f);)n--;p=0!==r(d[h]).length&&m&&n!==m?a:"",d[h]=p+d[h].slice(n in f?f[n]+1:0)}return d.shift(),d.join(s)};var a="\t",s="\n",u=" ",l="!"},86099:e=>{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&(n!==r&&n)}},70930:(e,t,n)=>{"use strict";var r=n(93562),o=n(71216),i=n(61278),a=n(48833),s=n(65279),u=n(86099);e.exports=function(e,t){var n,i,a={};for(i in t||(t={}),p)n=t[i],a[i]=null==n?p[i]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(e,t){var n,i,a,p,j,H,U,z,G,K,W,q,V,Y,$,X,Q,Z,J,ee,te=t.additional,ne=t.nonTerminated,re=t.text,oe=t.reference,ie=t.warning,ae=t.textContext,se=t.referenceContext,ue=t.warningContext,le=t.position,ce=t.indent||[],fe=e.length,pe=0,de=-1,he=le.column||1,me=le.line||1,ge="",ve=[];for("string"==typeof te&&(te=te.charCodeAt(0)),X=Ee(),z=ie?function(e,t){var n=Ee();n.column+=t,n.offset+=t,ie.call(ue,M[e],n,e)}:f,pe--,fe++;++pe<fe;)if(j===h&&(he=ce[de]||1),(j=e.charCodeAt(pe))===v){if((U=e.charCodeAt(pe+1))===d||U===h||U===m||U===g||U===v||U===C||U!=U||te&&U===te){ge+=c(j),he++;continue}for(q=V=pe+1,J=V,U===y?(J=++q,(U=e.charCodeAt(J))===A||U===b?(Y=_,J=++q):Y=k):Y=x,n="",W="",p="",$=S[Y],J--;++J<fe&&$(U=e.charCodeAt(J));)p+=c(U),Y===x&&l.call(r,p)&&(n=p,W=r[p]);(a=e.charCodeAt(J)===E)&&(J++,(i=Y===x&&u(p))&&(n=p,W=i)),Z=1+J-V,(a||ne)&&(p?Y===x?(a&&!W?z(R,1):(n!==p&&(Z=1+(J=q+n.length)-q,a=!1),a||(G=n?w:B,t.attribute?(U=e.charCodeAt(J))===T?(z(G,Z),W=null):s(U)?W=null:z(G,Z):z(G,Z))),H=W):(a||z(N,Z),(ee=H=parseInt(p,O[Y]))>=55296&&ee<=57343||ee>1114111?(z(I,Z),H=c(D)):H in o?(z(P,Z),H=o[H]):(K="",L(H)&&z(P,Z),H>65535&&(K+=c((H-=65536)>>>10|55296),H=56320|1023&H),H=K+c(H))):Y!==x&&z(F,Z)),H?(Ce(),X=Ee(),pe=J-1,he+=J-V+1,ve.push(H),(Q=Ee()).offset++,oe&&oe.call(se,H,{start:X,end:Q},e.slice(V-1,J)),X=Q):(p=e.slice(V-1,J),ge+=p,he+=p.length,pe=J-1)}else 10===j&&(me++,de++,he=0),j==j?(ge+=c(j),he++):Ce();return ve.join("");function Ee(){return{line:me,column:he,offset:pe+(le.offset||0)}}function Ce(){ge&&(ve.push(ge),re&&re.call(ae,ge,{start:X,end:Ee()}),ge="")}}(e,a)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d=9,h=10,m=12,g=32,v=38,E=59,C=60,T=61,y=35,A=88,b=120,D=65533,x="named",_="hexadecimal",k="decimal",O={};O[_]=16,O[k]=10;var S={};S[x]=s,S[k]=i,S[_]=a;var w=1,N=2,B=3,F=4,R=5,P=6,I=7,M={};function L(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}M[w]="Named character references must be terminated by a semicolon",M[N]="Numeric character references must be terminated by a semicolon",M[B]="Named character references cannot be empty",M[F]="Numeric character references cannot be empty",M[R]="Named character references must be known",M[P]="Numeric character references cannot be disallowed",M[I]="Numeric character references cannot be outside the permissible Unicode range"},32578:(e,t,n)=>{"use strict";var r=n(31887);e.exports=function(e,t){return e&&!e.process&&(t=e,e=null),e?function(e,t){return function(n,o,i){e.run(r(n,t),o,(function(e){i(e)}))}}(e,t):function(e){return function(t){return r(t,e)}}(t)}},48283:(e,t,n)=>{"use strict";var r=n(30603),o=n(51960),i=n(39401);function a(e){var t=r(i);t.prototype.options=o(t.prototype.options,this.data("settings"),e),this.Compiler=t}e.exports=a,a.Compiler=i},39401:(e,t,n)=>{"use strict";var r=n(51960),o=n(82344);function i(e,t){this.inLink=!1,this.inTable=!1,this.tree=e,this.file=t,this.options=r(this.options),this.setOptions({})}e.exports=i;var a=i.prototype;a.enterLink=o("inLink",!1),a.enterTable=o("inTable",!1),a.enterLinkReference=n(29528),a.options=n(14836),a.setOptions=n(28018),a.compile=n(83127),a.visit=n(24931),a.all=n(70581),a.block=n(60977),a.visitOrderedItems=n(9899),a.visitUnorderedItems=n(41103),a.visitors={root:n(56047),text:n(18497),heading:n(34732),paragraph:n(90008),blockquote:n(13518),list:n(78829),listItem:n(71878),inlineCode:n(522),code:n(41266),html:n(33943),thematicBreak:n(1405),strong:n(19915),emphasis:n(11577),break:n(22758),delete:n(21706),link:n(51888),linkReference:n(52019),imageReference:n(97943),definition:n(19825),image:n(69326),footnote:n(52898),footnoteReference:n(2888),footnoteDefinition:n(40243),table:n(84220),tableCell:n(14825)}},14836:e=>{"use strict";e.exports={gfm:!0,commonmark:!1,pedantic:!1,entities:"false",setext:!1,closeAtx:!1,looseTable:!1,spacedTable:!0,paddedTable:!0,stringLength:function(e){return e.length},incrementListMarker:!0,fences:!1,fence:"`",bullet:"-",listItemIndent:"tab",rule:"*",ruleSpaces:!0,ruleRepetition:3,strong:"*",emphasis:"_"}},69425:(e,t,n)=>{"use strict";var r=n(61278),o=n(88637),i=n(74898),a=n(4608),s=n(3495);e.exports=function(e){return function(t,n,B){var F,R,j,H,U,z,G=this,K=e.gfm,W=e.commonmark,q=e.pedantic,V=W?[E,h]:[E],Y=B&&B.children,$=Y&&Y.indexOf(n),X=Y&&Y[$-1],Q=Y&&Y[$+1],Z=t.length,J=a(e),ee=-1,te=[],ne=te;for(F=X?M(X)&&P.test(X.value):!B||"root"===B.type||"paragraph"===B.type;++ee<Z;){if(z=!1,"\n"===(R=t.charAt(ee)))F=!0;else if(R===b||R===_||R===m||R===S&&t.charAt(ee+1)===A||R===A||R===T||R===p&&s(t.slice(ee))>0||R===D&&G.inLink||K&&R===O&&t.charAt(ee+1)===O||K&&R===k&&(G.inTable||I(t,ee))||R===x&&ee>0&&ee<Z-1&&(q||!o(t.charAt(ee-1))||!o(t.charAt(ee+1)))||K&&!G.inLink&&R===C&&L(te.join("")))z=!0;else if(F)if(R===y||R===f||R===m||R===v||R===g)z=!0;else if(r(R)){for(U=ee+1;U<Z&&r(t.charAt(U));)U++;-1!==V.indexOf(t.charAt(U))&&((Q=t.charAt(U+1))&&Q!==c&&Q!==u&&Q!==l||(te.push(t.slice(ee,U)),ee=U,R=t.charAt(ee),z=!0))}F&&!i(R)&&(F=!1),te.push(z?re(R):R)}if(Y&&M(n)){if(X&&X.referenceType===N){for(ee=-1,Z=ne.length;++ee<Z;)if((R=ne[ee])!==c&&R!==u){R!==d&&R!==C||(ne[ee]=re(R));break}M(Q)&&ee===Z&&Q.value.charAt(0)===d&&ne.push(b)}K&&!G.inLink&&M(X)&&t.charAt(0)===C&&L(X.value.slice(-6))&&(ne[0]=re(C)),M(Q)&&t.charAt(Z-1)===p&&0!==s(p+Q.value)&&(ne[ne.length-1]=re(p)),Q&&"link"===Q.type&&t.charAt(Z-1)===S&&(ne[ne.length-1]=re(S)),K&&M(Q)&&t.charAt(Z-1)===O&&Q.value.charAt(0)===O&&ne.splice(ne.length-1,0,b),j=M(X)&&o(X.value.slice(-1)),H=M(Q)&&o(Q.value.charAt(0)),1===Z?t!==x||!q&&j&&H||ne.unshift(b):(t.charAt(0)!==x||!q&&j&&o(t.charAt(1))||ne.unshift(b),t.charAt(Z-1)!==x||!q&&H&&o(t.charAt(Z-2))||ne.splice(ne.length-1,0,b))}return ne.join("");function re(e){return-1===J.indexOf(e)?w[e]:b+e}}};var u="\t",l="\n",c=" ",f="#",p="&",d="(",h=")",m="*",g="+",v="-",E=".",C=":",T="<",y=">",A="[",b="\\",D="]",x="_",_="`",k="|",O="~",S="!",w={"<":"&lt;",":":"&#x3A;","&":"&amp;","|":"&#x7C;","~":"&#x7E;"},N="shortcut",B="mailto",F="https",R="http",P=/\n\s*$/;function I(e,t){var n,r=e.lastIndexOf(l,t),o=e.indexOf(l,t);for(o=-1===o?e.length:o;++r<o;)if((n=e.charAt(r))!==C&&n!==v&&n!==c&&n!==k)return!1;return!0}function M(e){return e&&"text"===e.type}function L(e){var t=e.slice(-6).toLowerCase();return t===B||t.slice(-5)===F||t.slice(-4)===R}},70581:e=>{"use strict";e.exports=function(e){for(var t=e.children,n=t.length,r=[],o=-1;++o<n;)r[o]=this.visit(t[o],e);return r}},60977:e=>{"use strict";e.exports=function(e){for(var o,i,a=this.options,s=a.fences,u=a.commonmark?r:n,l=[],c=e.children,f=c.length,p=-1;++p<f;)o=i,i=c[p],o&&("list"===o.type&&("list"===i.type&&o.ordered===i.ordered||"code"===i.type&&!i.lang&&!s)?l.push(u):l.push(t)),l.push(this.visit(i,e));return l.join("")};var t="\n\n",n=t+"\n",r=t+"\x3c!----\x3e"+t},83127:(e,t,n)=>{"use strict";var r=n(62499);e.exports=function(){return this.visit(r(this.tree,this.options.commonmark))}},24931:e=>{"use strict";e.exports=function(e,t){var n=this,r=n.visitors;return"function"!=typeof r[e.type]&&n.file.fail(new Error("Missing compiler for node of type `"+e.type+"`: `"+e+"`"),e),r[e.type].call(n,e,t)}},9899:e=>{"use strict";e.exports=function(e){var o,i=this,a=i.visitors.listItem,s=i.options.incrementListMarker,u=[],l=e.start,c=e.children,f=c.length,p=-1;for(l=null==l?1:l;++p<f;)o=(s?l+p:l)+n,u[p]=a.call(i,c[p],e,p,o);return u.join(e.spread?r:t)};var t="\n",n=".",r=t+t},41103:e=>{"use strict";e.exports=function(e){for(var r=this,o=r.options.bullet,i=r.visitors.listItem,a=e.children,s=a.length,u=-1,l=[];++u<s;)l[u]=i.call(r,a[u],e,u,o);return l.join(e.spread?n:t)};var t="\n",n=t+t},28018:(e,t,n)=>{"use strict";var r=n(51960),o=n(26952),i=n(14836),a=n(69425),s=n(85117);e.exports=function(e){var t,n,f=this,p=f.options;if(null==e)e={};else{if("object"!=typeof e)throw new Error("Invalid value `"+e+"` for setting `options`");e=r(e)}for(n in i)l[typeof i[n]](e,n,p[n],u[n]);return(t=e.ruleRepetition)&&t<3&&c(t,"options.ruleRepetition"),f.encode=function(e){var t={};return"false"===e?s:("true"===e&&(t.useNamedReferences=!0),"escape"===e&&(t.escapeOnly=!0,t.useNamedReferences=!0),function(e){return o(e,t)})}(String(e.entities)),f.escape=a(e),f.options=e,f};var u={entities:{true:!0,false:!0,numbers:!0,escape:!0},bullet:{"*":!0,"-":!0,"+":!0},rule:{"-":!0,_:!0,"*":!0},listItemIndent:{tab:!0,mixed:!0,1:!0},emphasis:{_:!0,"*":!0},strong:{_:!0,"*":!0},fence:{"`":!0,"~":!0}},l={boolean:function(e,t,n){var r=e[t];null==r&&(r=n),"boolean"!=typeof r&&c(r,"options."+t),e[t]=r},string:function(e,t,n,r){var o=e[t];null==o&&(o=n),(o=String(o))in r||c(o,"options."+t),e[t]=o},number:function(e,t,n){var r=e[t];null==r&&(r=n),isNaN(r)&&c(r,"options."+t),e[t]=r},function:function(e,t,n){var r=e[t];null==r&&(r=n),"function"!=typeof r&&c(r,"options."+t),e[t]=r}};function c(e,t){throw new Error("Invalid value `"+e+"` for setting `"+t+"`")}},84386:(e,t,n)=>{"use strict";var r=n(3495);e.exports=function(e,t){for(var n,a=e.length,s=t.length,u=[],l=0,c=0;c<a;){for(n=c;c<a&&!i.test(e.charAt(c));)c+=1;for(u.push(e.slice(n,c));l<s&&!i.test(t.charAt(l));)l+=1;for(n=l;l<s&&i.test(t.charAt(l));)t.charAt(l)===o&&(l+=r(t.slice(l))),l+=1;for(u.push(t.slice(n,l));c<a&&i.test(e.charAt(c));)c+=1}return u.join("")};var o="&",i=/[-!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~_]/},55386:e=>{"use strict";e.exports=function(e){var r=-1===e.indexOf(t)?t:n;return r+e+r};var t='"',n="'"},19708:(e,t,n)=>{"use strict";var r=n(53404);e.exports=function(e,t){return t||0===e.length||u.test(e)||r(e,o)!==r(e,i)?a+e+s:e};var o="(",i=")",a="<",s=">",u=/\s/},29528:(e,t,n)=>{"use strict";var r=n(85117);e.exports=function(e,t){var n=e.encode,o=e.escape,i=e.enterLink();return"shortcut"!==t.referenceType&&"collapsed"!==t.referenceType?i:(e.escape=r,e.encode=r,function(){e.encode=n,e.escape=o,i()})}},3495:(e,t,n)=>{"use strict";var r=n(37059);e.exports=function(e){var t;return e.charAt(0)!==o?0:(t=e.split(o,2).join(o)).length-r(t).length};var o="&"},85117:e=>{"use strict";e.exports=function(e){return e}},65781:e=>{"use strict";e.exports=function(e){var i=e.referenceType;return i===r?"":t+(i===o?"":e.label||e.identifier)+n};var t="[",n="]",r="shortcut",o="collapsed"},85880:(e,t,n)=>{"use strict";var r=n(34076);e.exports=function(e,t){for(var n=e.split(o),s=n.length,u=r(i,t*a);s--;)0!==n[s].length&&(n[s]=u+n[s]);return n.join(o)};var o="\n",i=" ",a=4},13518:e=>{"use strict";e.exports=function(e){for(var o,i=this.block(e).split(t),a=[],s=i.length,u=-1;++u<s;)o=i[u],a[u]=(o?n:"")+o;return r+a.join(t+r)};var t="\n",n=" ",r=">"},22758:e=>{"use strict";e.exports=function(){return this.options.commonmark?t:n};var t="\\\n",n=" \n"},41266:(e,t,n)=>{"use strict";var r=n(6316),o=n(34076),i=n(85880);e.exports=function(e,t){var n,u=this,l=e.value,c=u.options,f=c.fence,p=e.lang||"";return p&&e.meta&&(p+=s+e.meta),(p=u.encode(u.escape(p,e)))||c.fences||!l?(n=o(f,Math.max(r(l,f)+1,3)))+p+a+l+a+n:(t&&"listItem"===t.type&&"tab"!==c.listItemIndent&&c.pedantic&&u.file.fail("Cannot indent code properly. See https://git.io/fxKR8",e.position),i(l,1))};var a="\n",s=" "},19825:(e,t,n)=>{"use strict";var r=n(19708),o=n(55386);e.exports=function(e){var t=r(e.url);return e.title&&(t+=i+o(e.title)),s+(e.label||e.identifier)+u+a+i+t};var i=" ",a=":",s="[",u="]"},21706:e=>{"use strict";e.exports=function(e){return t+this.all(e).join("")+t};var t="~~"},11577:e=>{"use strict";e.exports=function(e){var r=this.options.emphasis,o=this.all(e).join("");return this.options.pedantic&&r===t&&-1!==o.indexOf(r)&&(r=n),r+o+r};var t="_",n="*"},40243:(e,t,n)=>{"use strict";var r=n(34076)(" ",4);e.exports=function(e){var t=this.all(e).join("\n\n"+r);return"[^"+(e.label||e.identifier)+"]: "+t}},2888:e=>{"use strict";e.exports=function(e){return t+r+(e.label||e.identifier)+n};var t="[",n="]",r="^"},52898:e=>{"use strict";e.exports=function(e){return t+r+this.all(e).join("")+n};var t="[",n="]",r="^"},34732:(e,t,n)=>{"use strict";var r=n(34076);e.exports=function(e){var t,n=this,l=e.depth,c=n.options.setext,f=n.options.closeAtx,p=n.all(e).join("");return c&&l<3?p+o+r(1===l?u:s,p.length):(t=r(a,e.depth))+i+p+(f?i+t:"")};var o="\n",i=" ",a="#",s="-",u="="},33943:e=>{"use strict";e.exports=function(e){return e.value}},97943:(e,t,n)=>{"use strict";var r=n(65781);e.exports=function(e){return a+o+(this.encode(e.alt,e)||"")+i+r(e)};var o="[",i="]",a="!"},69326:(e,t,n)=>{"use strict";var r=n(19708),o=n(55386);e.exports=function(e){var t=this,n=r(t.encode(e.url||"",e)),f=t.enterLink(),p=t.encode(t.escape(e.alt||"",e));return f(),e.title&&(n+=i+o(t.encode(e.title,e))),c+u+p+l+a+n+s};var i=" ",a="(",s=")",u="[",l="]",c="!"},522:(e,t,n)=>{"use strict";var r=n(6316),o=n(34076);e.exports=function(e){var t=e.value,n=o(a,r(t,a)+1),s=n,u=n;return t.charAt(0)===a&&(s+=i),t.charAt(t.length-1)===a&&(u=i+u),s+t+u};var i=" ",a="`"},52019:(e,t,n)=>{"use strict";var r=n(84386),o=n(65781);e.exports=function(e){var t=this,n=e.referenceType,l=t.enterLinkReference(t,e),c=t.all(e).join("");return l(),(n===s||n===u)&&(c=r(c,e.label||e.identifier)),i+c+a+o(e)};var i="[",a="]",s="shortcut",u="collapsed"},51888:(e,t,n)=>{"use strict";var r=n(19708),o=n(55386);e.exports=function(e){var t=this,n=t.encode(e.url||"",e),f=t.enterLink(),p=t.encode(t.escape(e.url||"",e)),d=t.all(e).join("");return f(),null==e.title&&c.test(n)&&p===d?r(t.encode(e.url),!0):(n=r(n),e.title&&(n+=i+o(t.encode(t.escape(e.title,e),e))),a+d+s+u+n+l)};var i=" ",a="[",s="]",u="(",l=")",c=/^[a-z][a-z+.-]+:\/?/i},71878:(e,t,n)=>{"use strict";var r=n(34076),o=n(85880);e.exports=function(e,t,n,d){for(var h,m,g,v=this,E=v.options.listItemIndent,C=d||v.options.bullet,T=null==e.spread||e.spread,y=e.checked,A=e.children,b=A.length,D=[],x=-1;++x<b;)D[x]=v.visit(A[x],e);return h=D.join(T?f:i),"boolean"==typeof y&&(h=s+(y?l:a)+u+a+h),"1"===E||"mixed"===E&&-1===h.indexOf(i)?(m=C.length+1,g=a):(m=c((C.length+1)/p)*p,g=r(a,m-C.length)),h?C+g+o(h,m/p).slice(m):C};var i="\n",a=" ",s="[",u="]",l="x",c=Math.ceil,f=i+i,p=4},78829:e=>{"use strict";e.exports=function(e){return(e.ordered?this.visitOrderedItems:this.visitUnorderedItems).call(this,e)}},90008:e=>{"use strict";e.exports=function(e){return this.all(e).join("")}},56047:e=>{"use strict";e.exports=function(e){return this.block(e)+t};var t="\n"},19915:(e,t,n)=>{"use strict";var r=n(34076);e.exports=function(e){var t=r(this.options.strong,2);return t+this.all(e).join("")+t}},14825:e=>{"use strict";e.exports=function(e){return this.all(e).join("")}},84220:(e,t,n)=>{"use strict";var r=n(17591);e.exports=function(e){for(var t,n,a=this,s=a.options,u=s.looseTable,l=s.spacedTable,c=s.paddedTable,f=s.stringLength,p=e.children,d=p.length,h=a.enterTable(),m=[];d--;)m[d]=a.all(p[d]);return h(),u?(t="",n=""):l?(t=i+o,n=o+i):(t=i,n=i),r(m,{align:e.align,pad:c,start:t,end:n,stringLength:f,delimiter:l?o+i+o:i})};var o=" ",i="|"},18497:e=>{"use strict";e.exports=function(e,t){return this.encode(this.escape(e.value,e,t),e)}},1405:(e,t,n)=>{"use strict";var r=n(34076);e.exports=function(){var e=this.options,t=r(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(o):t};var o=" "},32876:e=>{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&(n!==r&&n)}},37059:(e,t,n)=>{"use strict";var r=n(93562),o=n(71216),i=n(61278),a=n(48833),s=n(65279),u=n(32876);e.exports=function(e,t){var n,i,a={};for(i in t||(t={}),p)n=t[i],a[i]=null==n?p[i]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(e,t){var n,i,a,p,j,H,U,z,G,K,W,q,V,Y,$,X,Q,Z,J,ee,te=t.additional,ne=t.nonTerminated,re=t.text,oe=t.reference,ie=t.warning,ae=t.textContext,se=t.referenceContext,ue=t.warningContext,le=t.position,ce=t.indent||[],fe=e.length,pe=0,de=-1,he=le.column||1,me=le.line||1,ge="",ve=[];for("string"==typeof te&&(te=te.charCodeAt(0)),X=Ee(),z=ie?function(e,t){var n=Ee();n.column+=t,n.offset+=t,ie.call(ue,M[e],n,e)}:f,pe--,fe++;++pe<fe;)if(j===h&&(he=ce[de]||1),(j=e.charCodeAt(pe))===v){if((U=e.charCodeAt(pe+1))===d||U===h||U===m||U===g||U===v||U===C||U!=U||te&&U===te){ge+=c(j),he++;continue}for(q=V=pe+1,J=V,U===y?(J=++q,(U=e.charCodeAt(J))===A||U===b?(Y=_,J=++q):Y=k):Y=x,n="",W="",p="",$=S[Y],J--;++J<fe&&$(U=e.charCodeAt(J));)p+=c(U),Y===x&&l.call(r,p)&&(n=p,W=r[p]);(a=e.charCodeAt(J)===E)&&(J++,(i=Y===x&&u(p))&&(n=p,W=i)),Z=1+J-V,(a||ne)&&(p?Y===x?(a&&!W?z(R,1):(n!==p&&(Z=1+(J=q+n.length)-q,a=!1),a||(G=n?w:B,t.attribute?(U=e.charCodeAt(J))===T?(z(G,Z),W=null):s(U)?W=null:z(G,Z):z(G,Z))),H=W):(a||z(N,Z),(ee=H=parseInt(p,O[Y]))>=55296&&ee<=57343||ee>1114111?(z(I,Z),H=c(D)):H in o?(z(P,Z),H=o[H]):(K="",L(H)&&z(P,Z),H>65535&&(K+=c((H-=65536)>>>10|55296),H=56320|1023&H),H=K+c(H))):Y!==x&&z(F,Z)),H?(Ce(),X=Ee(),pe=J-1,he+=J-V+1,ve.push(H),(Q=Ee()).offset++,oe&&oe.call(se,H,{start:X,end:Q},e.slice(V-1,J)),X=Q):(p=e.slice(V-1,J),ge+=p,he+=p.length,pe=J-1)}else 10===j&&(me++,de++,he=0),j==j?(ge+=c(j),he++):Ce();return ve.join("");function Ee(){return{line:me,column:he,offset:pe+(le.offset||0)}}function Ce(){ge&&(ve.push(ge),re&&re.call(ae,ge,{start:X,end:Ee()}),ge="")}}(e,a)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d=9,h=10,m=12,g=32,v=38,E=59,C=60,T=61,y=35,A=88,b=120,D=65533,x="named",_="hexadecimal",k="decimal",O={};O[_]=16,O[k]=10;var S={};S[x]=s,S[k]=i,S[_]=a;var w=1,N=2,B=3,F=4,R=5,P=6,I=7,M={};function L(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}M[w]="Named character references must be terminated by a semicolon",M[N]="Numeric character references must be terminated by a semicolon",M[B]="Named character references cannot be empty",M[F]="Numeric character references cannot be empty",M[R]="Named character references must be known",M[P]="Numeric character references cannot be disallowed",M[I]="Numeric character references cannot be outside the permissible Unicode range"},34076:e=>{"use strict";var t,n="";e.exports=function(e,r){if("string"!=typeof e)throw new TypeError("expected a string");if(1===r)return e;if(2===r)return e+e;var o=e.length*r;if(t!==e||void 0===t)t=e,n="";else if(n.length>=o)return n.substr(0,o);for(;o>n.length&&r>1;)1&r&&(n+=e),r>>=1,e+=e;return n=(n+=e).substr(0,o)}},17249:(e,t)=>{"use strict";for(var n="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),r={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:n?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function s(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var o=e.map((function(e){return function(e,t){var n=t&&t.byKey,o={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var s in r)o[r[s]]=!1;var c=!0,f=!1,p=void 0;try{for(var d,h=i[Symbol.iterator]();!(c=(d=h.next()).done);c=!0){var m=d.value,g=m.endsWith("?")&&m.length>1;g&&(m=m.slice(0,-1));var v=l(m),E=r[v];1!==a&&E||(n?o.key=v:o.which=u(m)),E&&(o[E]=!g||null)}}catch(e){f=!0,p=e}finally{try{!c&&h.return&&h.return()}finally{if(f)throw p}}return o}(e,t)})),i=function(e){return o.some((function(t){return function(e,t){for(var n in e){var r=e[n],o=void 0;if(null!=r&&(null!=(o="key"===n&&null!=t.key?t.key.toLowerCase():"which"===n?91===r&&93===t.which?91:t.which:t[n])||!1!==r)&&o!==r)return!1}return!0}(t,e)}))};return null==n?i:i(n)}function u(e){return e=l(e),i[e]||e.toUpperCase().charCodeAt(0)}function l(e){return e=e.toLowerCase(),o[e]||e}t.TB=function(e,t){return s(e,{byKey:!0},t)}},93113:(e,t)=>{"use strict";t.parse=function(e){var t=String(e||n).trim();return t===n?[]:t.split(o)},t.stringify=function(e){return e.join(r).trim()};var n="",r=" ",o=/[ \t\n\r\f]+/g},82344:e=>{"use strict";e.exports=function(e,t,n){return function(){var r=n||this,o=r[e];return r[e]=!t,function(){r[e]=o}}}},26952:(e,t,n)=>{"use strict";var r=n(22017),o=n(93562),i=n(48833),a=n(65279),s=n(11653);e.exports=d,d.escape=function(e){return d(e,{escapeOnly:!0,useNamedReferences:!0})};var u={}.hasOwnProperty,l=function(){var e,t={};for(e in r)t[r[e]]=e;return t}(),c=g(['"',"'","<",">","&","`"]),f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;function d(e,t){var n=t||{},r=n.subset,o=r?g(r):c,i=n.escapeOnly,a=n.omitOptionalSemicolons;return e=e.replace(o,(function(e,t,r){return h(e,r.charAt(t+1),n)})),r||i?e:e.replace(f,(function(e,t,n){return m(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),a)})).replace(p,(function(e,t,r){return h(e,r.charAt(t+1),n)}))}function h(e,t,n){var r,i,c=n.useShortestReferences,f=n.omitOptionalSemicolons;return(c||n.useNamedReferences)&&u.call(l,e)&&(r=function(e,t,n,r){var i="&"+e;return n&&u.call(o,e)&&-1===s.indexOf(e)&&(!r||t&&"="!==t&&!a(t))?i:i+";"}(l[e],t,f,n.attribute)),!c&&r||(i=m(e.charCodeAt(0),t,f)),r&&(!c||r.length<i.length)?r:i}function m(e,t,n){var r="&#x"+e.toString(16).toUpperCase();return n&&t&&!i(t)?r:r+";"}function g(e){return new RegExp("["+e.join("")+"]","g")}},66406:e=>{"use strict";e.exports=function(e){return String(e).replace(t,n)};var t=/[ \t]*\n+[ \t]*/g,n="\n"},67876:e=>{"use strict";e.exports=function(e){return String(e).replace(/\n+$/,"")}},50311:(e,t)=>{(t=e.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},t.right=function(e){return e.replace(/\s*$/,"")}},68776:(e,t,n)=>{"use strict";var r=n(79996);e.exports=i,i.wrap=r;var o=[].slice;function i(){var e=[],t={run:function(){var t=-1,n=o.call(arguments,0,-1),i=arguments[arguments.length-1];if("function"!=typeof i)throw new Error("Expected function as last argument, not "+i);(function a(s){var u=e[++t],l=o.call(arguments,0).slice(1),c=n.length,f=-1;if(s)i(s);else{for(;++f<c;)null!==l[f]&&void 0!==l[f]||(l[f]=n[f]);n=l,u?r(u,a).apply(null,n):i.apply(null,[null].concat(n))}}).apply(null,[null].concat(n))},use:function(n){if("function"!=typeof n)throw new Error("Expected `fn` to be a function, not "+n);return e.push(n),t}};return t}},79996:e=>{"use strict";var t=[].slice;e.exports=function(e,n){var r;return function(){var n,a=t.call(arguments,0),s=e.length>a.length;s&&a.push(o);try{n=e.apply(null,a)}catch(e){if(s&&r)throw e;return o(e)}s||(n&&"function"==typeof n.then?n.then(i,o):n instanceof Error?o(n):i(n))};function o(){r||(r=!0,n.apply(null,arguments))}function i(e){o(null,e)}}},30603:(e,t,n)=>{"use strict";var r=n(51960),o=n(91285);e.exports=function(e){var t,n,i;for(n in o(s,e),o(a,s),t=s.prototype)(i=t[n])&&"object"==typeof i&&(t[n]="concat"in i?i.concat():r(i));return s;function a(t){return e.apply(this,t)}function s(){return this instanceof s?e.apply(this,arguments):new a(arguments)}}},73610:(e,t,n)=>{"use strict";var r=n(37320);e.exports=function(e,t,n){var o;return null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={}),o=r({type:String(e)},t),Array.isArray(n)?o.children=n:null!=n&&(o.value=String(n)),o}},48313:(e,t,n)=>{"use strict";var r=n(2547);e.exports=function(e,t,n){var o,i,a,s=r(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(a=(o=e.children).length,t&&t.type&&(t=o.indexOf(t)),isNaN(t)||t<0||t===1/0)throw new Error("Expected positive finite index or child node");for(;++t<a;)if(s(i=o[t],t,e))return i;return null}},93624:e=>{"use strict";e.exports=function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}},2547:e=>{"use strict";function t(){return!0}e.exports=function e(n){if(null==n)return t;if("string"==typeof n)return function(e){return function(t){return Boolean(t&&t.type===e)}}(n);if("object"==typeof n)return"length"in n?function(t){for(var n=[],r=-1;++r<t.length;)n[r]=e(t[r]);return function(){for(var e=-1;++e<n.length;)if(n[e].apply(this,arguments))return!0;return!1}}(n):function(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(n);if("function"==typeof n)return n;throw new Error("Expected function, string, or object as test")}},9352:e=>{"use strict";var t=o("start"),n=o("end");function r(e){return{start:t(e),end:n(e)}}function o(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}e.exports=r,r.start=t,r.end=n},5281:(e,t,n)=>{"use strict";var r=n(9867);function o(e){delete e.position}function i(e){e.position=void 0}e.exports=function(e,t){return r(e,t?o:i),e}},88062:e=>{"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),o(e.line)+":"+o(e.column)}function r(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function o(e){return e&&"number"==typeof e?e:1}e.exports=function(e){return e&&"object"==typeof e?t.call(e,"position")||t.call(e,"type")?r(e.position):t.call(e,"start")||t.call(e,"end")?r(e):t.call(e,"line")||t.call(e,"column")?n(e):"":""}},26578:(e,t,n)=>{"use strict";e.exports=s;var r=n(832),o=!0,i="skip",a=!1;function s(e,t,n,o){var s;"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),s=r(t),function e(r,l,c){var f,p=[];return(t&&!s(r,l,c[c.length-1]||null)||(p=u(n(r,c)))[0]!==a)&&r.children&&p[0]!==i?(f=u(function(t,n){for(var r,i=o?-1:1,s=(o?t.length:-1)+i;s>-1&&s<t.length;){if((r=e(t[s],s,n))[0]===a)return r;s="number"==typeof r[1]?r[1]:s+i}}(r.children,c.concat(r))),f[0]===a?f:p):p}(e,null,[])}function u(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[o,e]:[e]}s.CONTINUE=o,s.SKIP=i,s.EXIT=a},832:e=>{"use strict";function t(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null==e)return o;if("object"==typeof e)return("length"in e?r:n)(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")}function n(e){return function(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function r(e){var n=function(e){for(var n=[],r=e.length,o=-1;++o<r;)n[o]=t(e[o]);return n}(e),r=n.length;return function(){for(var e=-1;++e<r;)if(n[e].apply(this,arguments))return!0;return!1}}function o(){return!0}e.exports=t},9867:(e,t,n)=>{"use strict";e.exports=s;var r=n(26578),o=r.CONTINUE,i=r.SKIP,a=r.EXIT;function s(e,t,n,o){"function"==typeof t&&"function"!=typeof n&&(o=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],o=r?r.children.indexOf(e):null;return n(e,o,r)}),o)}s.CONTINUE=o,s.SKIP=i,s.EXIT=a},31982:e=>{"use strict";function t(e){return function(t){var n=t&&t.line,r=t&&t.column;return isNaN(n)||isNaN(r)||!(n-1 in e)?-1:(e[n-2]||0)+r-1||0}}e.exports=function(e){var n,r=function(e){for(var t=[],n=e.indexOf("\n");-1!==n;)t.push(n+1),n=e.indexOf("\n",n+1);return t.push(e.length+1),t}(String(e));return{toPosition:(n=r,function(e){var t=-1,r=n.length;if(e<0)return{};for(;++t<r;)if(n[t]>e)return{line:t+1,column:e-(n[t-1]||0)+1,offset:e};return{}}),toOffset:t(r)}}},90:(e,t,n)=>{"use strict";var r=n(88062);function o(){}e.exports=a,o.prototype=Error.prototype,a.prototype=new o;var i=a.prototype;function a(e,t,n){var o,i,a;"string"==typeof t&&(n=t,t=null),o=function(e){var t,n=[null,null];return"string"==typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1))),n}(n),i=r(t)||"1:1",a={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(a=t,t=t.start):a.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=i,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=a,this.source=o[0],this.ruleId=o[1]}i.file="",i.name="",i.reason="",i.message="",i.stack="",i.fatal=null,i.column=null,i.line=null},21142:(e,t,n)=>{"use strict";e.exports=n(32805)},48791:(e,t,n)=>{"use strict";var r=n(16662),o=n(41345),i=n(97033);e.exports=u;var a={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function u(e){var t,n;if(e){if("string"==typeof e||i(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof u))return new u(e);for(this.data={},this.messages=[],this.history=[],this.cwd=o.cwd(),n=-1;++n<s.length;)t=s[n],a.call(e,t)&&(this[t]=e[t]);for(t in e)s.indexOf(t)<0&&(this[t]=e[t])}function l(e,t){if(e&&e.indexOf(r.sep)>-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function f(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}u.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(u.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(u.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){f(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(u.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),l(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(u.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(l(e,"extname"),f(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(u.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),l(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},32805:(e,t,n)=>{"use strict";var r=n(90),o=n(48791);e.exports=o,o.prototype.message=function(e,t,n){var o=new r(e,t,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o},o.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},o.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},16662:(e,t)=>{"use strict";function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var r,o,i,a,s=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(n(e),r=e.length,void 0===t||!t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(i){s=r+1;break}}else u<0&&(i=!0,u=r+1);return u<0?"":e.slice(s,u)}if(t===e)return"";for(o=-1,a=t.length-1;r--;)if(47===e.charCodeAt(r)){if(i){s=r+1;break}}else o<0&&(i=!0,o=r+1),a>-1&&(e.charCodeAt(r)===t.charCodeAt(a--)?a<0&&(u=r):(a=-1,u=o));return s===u?u=o:u<0&&(u=e.length),e.slice(s,u)},t.dirname=function(e){var t,r,o;if(n(e),!e.length)return".";for(t=-1,o=e.length;--o;)if(47===e.charCodeAt(o)){if(r){t=o;break}}else r||(r=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,r,o,i=-1,a=0,s=-1,u=0;for(n(e),o=e.length;o--;)if(47!==(r=e.charCodeAt(o)))s<0&&(t=!0,s=o+1),46===r?i<0?i=o:1!==u&&(u=1):i>-1&&(u=-1);else if(t){a=o+1;break}return i<0||s<0||0===u||1===u&&i===s-1&&i===a+1?"":e.slice(i,s)},t.join=function(){for(var e,t,r,o,i=-1;++i<arguments.length;)n(arguments[i]),arguments[i]&&(e=void 0===e?arguments[i]:e+"/"+arguments[i]);return void 0===e?".":(n(t=e),r=47===t.charCodeAt(0),o=function(e,t){for(var n,r,o="",i=0,a=-1,s=0,u=-1;++u<=e.length;){if(u<e.length)n=e.charCodeAt(u);else{if(47===n)break;n=47}if(47===n){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",i=0):i=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),a=u,s=0;continue}}else if(o.length){o="",i=0,a=u,s=0;continue}t&&(o=o.length?o+"/..":"..",i=2)}else o.length?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,s=0}else 46===n&&s>-1?s++:s=-1}return o}(t,!r),o.length||r||(o="."),o.length&&47===t.charCodeAt(t.length-1)&&(o+="/"),r?"/"+o:o)},t.sep="/"},41345:(e,t)=>{"use strict";t.cwd=function(){return"/"}},97033:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},51960:e=>{e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty},773:(e,t,n)=>{"use strict";e.exports=n(35204)},65802:(e,t,n)=>{"use strict";var r=n(91878);e.exports=function(e,t){for(var n=[],o=t&&t.children||[],i=-1;++i<o.length;)n[i]=r(e,o[i],i,t);return n.join("")}},11928:(e,t,n)=>{"use strict";var r=n(51960),o=n(24860);e.exports=function(e,t){return e.bogusComments?"<?"+o(t.value,r(e.entities,{subset:[">"]}))+">":"\x3c!--"+t.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,(function(t){return o(t,r(e.entities,{subset:["<",">"]}))}))+"--\x3e"}},15966:e=>{"use strict";e.exports={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]}},15842:(e,t,n)=>{"use strict";var r=n(51960),o=n(53404),i=n(24860);function a(e,t){var n=String(t),a=o(n,e.quote)>o(n,e.alternative)?e.alternative:e.quote;return a+i(n,r(e.entities,{subset:["<","&",a]}))+a}e.exports=function(e,t){var n=e.tightDoctype?"":" ",r=["<!"+(e.upperDoctype?"DOCTYPE":"doctype")];return t.name&&(r.push(n,t.name),null!=t.public?r.push(" public",n,a(e,t.public)):null!=t.system&&r.push(" system"),null!=t.system&&r.push(n,a(e,t.system))),r.join("")+">"}},14307:(e,t,n)=>{"use strict";var r=n(51960),o=n(57956),i=n(70521),a=n(93113),s=n(97327),u=n(24860),l=n(53404),c=n(65802),f=n(15966);function p(e,t,n){var o,c,p=i(e.schema,t),d=e.quote;return!p.overloadedBoolean||n!==p.attribute&&""!==n?(p.boolean||p.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&n!=n?"":(c=u(p.attribute,r(e.entities,{subset:f.name["html"===e.schema.space?e.valid:1][e.safe]})),!0===n?c:(n="object"==typeof n&&"length"in n?(p.commaSeparated?s.stringify:a.stringify)(n,{padLeft:!e.tightLists}):String(n),e.collapseEmpty&&!n?c:(e.unquoted&&(o=u(n,r(e.entities,{subset:f.unquoted[e.valid][e.safe],attribute:!0}))),o!==n&&(e.smart&&l(n,d)>l(n,e.alternative)&&(d=e.alternative),o=d+u(n,r(e.entities,{subset:("'"===d?f.single:f.double)["html"===e.schema.space?e.valid:1][e.safe],attribute:!0}))+d),c+(o?"="+o:o))))}e.exports=function(e,t,n,r){var i,a,s,u=e.schema,l="svg"!==u.space&&e.omit,f=[],d="svg"===u.space?e.closeEmpty:e.voids.indexOf(t.tagName.toLowerCase())>-1;return"html"===u.space&&"svg"===t.tagName&&(e.schema=o),i=function(e,t){var n,r,o,i=[],a=-1;for(n in t)null!=t[n]&&(r=p(e,n,t[n]))&&i.push(r);for(;++a<i.length;)o=e.tight?i[a].charAt(i[a].length-1):null,a!==i.length-1&&'"'!==o&&"'"!==o&&(i[a]+=" ");return i.join("")}(e,t.properties),a=c(e,"html"===u.space&&"template"===t.tagName?t.content:t),e.schema=u,a&&(d=!1),!i&&l&&l.opening(t,n,r)||(f.push("<",t.tagName,i?" "+i:""),d&&("svg"===u.space||e.close)&&(s=i.charAt(i.length-1),(!e.tightClose||"/"===s||"svg"===u.space&&s&&'"'!==s&&"'"!==s)&&f.push(" "),f.push("/")),f.push(">")),f.push(a),d||l&&l.closing(t,n,r)||f.push("</"+t.tagName+">"),f.join("")}},35204:(e,t,n)=>{"use strict";var r,o=n(59209),i=n(57956),a=n(25183),s=n(1600),u=n(91878);e.exports=function(e,t){var n=t||{},l=n.quote||'"',c='"'===l?"'":'"';if('"'!==l&&"'"!==l)throw new Error("Invalid quote `"+l+"`, expected `'` or `\"`");return"allowDangerousHTML"in n&&!r&&(r=!0,console.warn("Deprecation warning: `allowDangerousHTML` is a nonstandard option, use `allowDangerousHtml` instead")),u({valid:n.allowParseErrors?0:1,safe:n.allowDangerousCharacters?0:1,schema:"svg"===n.space?i:o,omit:n.omitOptionalTags&&s,quote:l,alternative:c,smart:n.quoteSmart,unquoted:n.preferUnquoted,tight:n.tightAttributes,upperDoctype:n.upperDoctype,tightDoctype:n.tightDoctype,bogusComments:n.bogusComments,tightLists:n.tightCommaSeparatedLists,tightClose:n.tightSelfClosing,collapseEmpty:n.collapseEmptyAttributes,dangerous:n.allowDangerousHtml||n.allowDangerousHTML,voids:n.voids||a.concat(),entities:n.entities||{},close:n.closeSelfClosing,closeEmpty:n.closeEmptyElements},e&&"object"==typeof e&&"length"in e?{type:"root",children:e}:e)}},78639:(e,t,n)=>{"use strict";var r=n(85909),o=n(38115),i=n(51930),a=n(43370),s=n(15254);function u(e,t,n){var r=a.after(n,t,!0);return!r||!i(r)&&!o(r)}function l(e,t,n){var o=a.after(n,t);return!o||r(o,["rp","rt"])}function c(e,t,n){var o=a.after(n,t);return!o||r(o,["td","th"])}e.exports=s({html:function(e,t,n){var r=a.after(n,t);return!r||!i(r)},head:u,body:function(e,t,n){var r=a.after(n,t);return!r||!i(r)},p:function(e,t,n){var o=a.after(n,t);return o?r(o,["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]):!n||!r(n,["a","audio","del","ins","map","noscript","video"])},li:function(e,t,n){var o=a.after(n,t);return!o||r(o,"li")},dt:function(e,t,n){var o=a.after(n,t);return o&&r(o,["dt","dd"])},dd:function(e,t,n){var o=a.after(n,t);return!o||r(o,["dt","dd"])},rt:l,rp:l,optgroup:function(e,t,n){var o=a.after(n,t);return!o||r(o,"optgroup")},option:function(e,t,n){var o=a.after(n,t);return!o||r(o,["option","optgroup"])},menuitem:function(e,t,n){var o=a.after(n,t);return!o||r(o,["menuitem","hr","menu"])},colgroup:u,caption:u,thead:function(e,t,n){var o=a.after(n,t);return o&&r(o,["tbody","tfoot"])},tbody:function(e,t,n){var o=a.after(n,t);return!o||r(o,["tbody","tfoot"])},tfoot:function(e,t,n){return!a.after(n,t)},tr:function(e,t,n){var o=a.after(n,t);return!o||r(o,"tr")},td:c,th:c})},1600:(e,t,n)=>{"use strict";t.opening=n(36014),t.closing=n(78639)},15254:e=>{"use strict";e.exports=function(e){return function(n,r,o){return t.call(e,n.tagName)&&e[n.tagName](n,r,o)}};var t={}.hasOwnProperty},36014:(e,t,n)=>{"use strict";var r=n(85909),o=n(43370),i=n(38115),a=n(51930),s=n(78639),u=n(15254);e.exports=u({html:function(e){var t=o.after(e,-1);return!t||!a(t)},head:function(e){for(var t=e.children,n=[],o=-1;++o<t.length;)if(r(t[o],["title","base"])){if(n.indexOf(t[o].tagName)>-1)return!1;n.push(t[o].tagName)}return t.length},body:function(e){var t=o.after(e,-1,!0);return!t||!a(t)&&!i(t)&&!r(t,["meta","link","script","style","template"])},colgroup:function(e,t,n){var i=o.before(n,t),a=o.after(e,-1,!0);return(!r(i,"colgroup")||!s(i,n.children.indexOf(i),n))&&(a&&r(a,"col"))},tbody:function(e,t,n){var i=o.before(n,t),a=o.after(e,-1);return(!r(i,["thead","tbody"])||!s(i,n.children.indexOf(i),n))&&(a&&r(a,"tr"))}})},51930:(e,t,n)=>{"use strict";var r=n(2547);e.exports=r("comment")},43370:(e,t,n)=>{"use strict";var r=n(67273);function o(e){return function(t,n,o){var i=t&&t.children,a=n+e,s=i&&i[a];if(!o)for(;s&&r(s);)s=i[a+=e];return s}}t.before=o(-1),t.after=o(1)},38115:(e,t,n)=>{"use strict";var r=n(2547),o=n(67273);e.exports=function(e){return i(e)&&o(e.value.charAt(0))};var i=r("text")},91878:(e,t,n)=>{"use strict";e.exports=function(e,t,n,i){if(!t||!t.type)throw new Error("Expected node, not `"+t+"`");if(!o.call(r,t.type))throw new Error("Cannot compile unknown node `"+t.type+"`");return r[t.type](e,t,n,i)};var r={comment:n(11928),doctype:n(15842),element:n(14307),raw:n(29044),root:n(65802),text:n(29514)},o={}.hasOwnProperty},29044:(e,t,n)=>{"use strict";var r=n(29514);e.exports=function(e,t){return e.dangerous?t.value:r(e,t)}},29514:(e,t,n)=>{"use strict";var r=n(51960),o=n(24860);e.exports=function(e,t,n,i){return!i||"script"!==i.tagName&&"style"!==i.tagName?o(t.value,r(e.entities,{subset:["<","&"]})):t.value}},48738:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},33310:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},17532:(e,t,n)=>{"use strict";var r=n(51960),o=n(773);e.exports=function(e){var t=r(e,this.data("settings"));this.Compiler=function(e){return o(e,t)}}},24860:(e,t,n)=>{"use strict";e.exports=n(59676)},14983:(e,t,n)=>{var r,o=n(22017),i={};for(r in e.exports=i,o)i[o[r]]=r},57472:e=>{e.exports=String.fromCharCode},38003:e=>{e.exports={}.hasOwnProperty},34988:e=>{"use strict";e.exports=function(e,t){return e=e.replace(t.subset?function(e){for(var t=[],n=-1;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}},54930:(e,t,n)=>{"use strict";var r=n(51960),o=n(34988),i=n(81586);e.exports=function(e,t){return o(e,r(t,{format:i}))}},95664:(e,t,n)=>{"use strict";var r=n(34988),o=n(81586);e.exports=function(e){return r(e,{escapeOnly:!0,useNamedReferences:!0,format:o})}},59676:(e,t,n)=>{"use strict";var r=n(54930),o=n(95664);e.exports=r,r.escape=o},81586:(e,t,n)=>{e.exports=function(e,t,n){var a,s,u;return(n.useNamedReferences||n.useShortestReferences)&&(a=i(e,t,n.omitOptionalSemicolons,n.attribute)),!n.useShortestReferences&&a||(s=r(e,t,n.omitOptionalSemicolons),n.useShortestReferences&&(u=o(e,t,n.omitOptionalSemicolons)).length<s.length&&(s=u)),a&&(!n.useShortestReferences||a.length<s.length)?a:s};var r=n(19206),o=n(9327),i=n(45906)},9327:(e,t,n)=>{e.exports=function(e,t,n){var o="&#"+String(e);return n&&t&&!/\d/.test(r(t))?o:o+";"};var r=n(57472)},19206:(e,t,n)=>{e.exports=function(e,t,n){var o="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(r(t))?o:o+";"};var r=n(57472)},45906:(e,t,n)=>{e.exports=function(e,t,n,u){var l,c,f=i(e);return a.call(o,f)?(c="&"+(l=o[f]),n&&a.call(r,l)&&-1===s.indexOf(l)&&(!u||t&&61!==t&&/[^\da-z]/i.test(i(t)))?c:c+";"):""};var r=n(93562),o=n(14983),i=n(57472),a=n(38003),s=n(52930)},18835:(e,t,n)=>{"use strict";var r=n(87683),o=n(48738),i=n(49385),a=n(33310),s=n(68776),u=n(21142);e.exports=function e(){var t,n=[],o=s(),E={},C=-1;return T.data=function(e,n){return"string"==typeof e?2===arguments.length?(m("data",t),E[e]=n,T):c.call(E,e)&&E[e]||null:e?(m("data",t),E=e,T):E},T.freeze=y,T.attachers=n,T.use=function(e){var r;if(m("use",t),null==e);else if("function"==typeof e)c.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?u(e):o(e)}return r&&(E.settings=i(E.settings||{},r)),T;function o(e){u(e.plugins),e.settings&&(r=i(r||{},e.settings))}function s(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):o(e)}}function u(e){var t=-1;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function c(e,t){var r=function(e){for(var t=-1;++t<n.length;)if(n[t][0]===e)return n[t]}(e);r?(a(r[1])&&a(t)&&(t=i(!0,r[1],t)),r[1]=t):n.push(l.call(arguments))}},T.parse=function(e){var t,n=u(e);return y(),d("parse",t=T.Parser),p(t,"parse")?new t(String(n),n).parse():t(String(n),n)},T.stringify=function(e,t){var n,r=u(t);return y(),h("stringify",n=T.Compiler),g(e),p(n,"compile")?new n(e,r).compile():n(e,r)},T.run=A,T.runSync=function(e,t){var n,o;return A(e,t,(function(e,t){o=!0,n=t,r(e)})),v("runSync","run",o),n},T.process=b,T.processSync=function(e){var t,n;return y(),d("processSync",T.Parser),h("processSync",T.Compiler),b(t=u(e),(function(e){n=!0,r(e)})),v("processSync","process",n),t},T;function T(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(i(!0,{},E)),t}function y(){var e,r;if(t)return T;for(;++C<n.length;)!1!==(e=n[C])[1]&&(!0===e[1]&&(e[1]=void 0),"function"==typeof(r=e[0].apply(T,e.slice(1)))&&o.use(r));return t=!0,C=1/0,T}function A(e,t,n){if(g(e),y(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(r);function r(r,i){o.run(e,u(t),(function(t,o,a){o=o||e,t?i(t):r?r(o):n(null,o,a)}))}r(null,n)}function b(e,t){if(y(),d("process",T.Parser),h("process",T.Compiler),!t)return new Promise(n);function n(n,r){var o=u(e);f.run(T,{file:o},(function(e){e?r(e):n?n(o):t(null,o)}))}n(null,t)}}().freeze();var l=[].slice,c={}.hasOwnProperty,f=s().use((function(e,t){t.tree=e.parse(t.file)})).use((function(e,t,n){e.run(t.tree,t.file,(function(e,r,o){e?n(e):(t.tree=r,t.file=o,n())}))})).use((function(e,t){var n=e.stringify(t.tree,t.file);null==n||("string"==typeof n||o(n)?("value"in t.file&&(t.file.value=n),t.file.contents=n):t.file.result=n)}));function p(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)return!0;return!1}(e.prototype)||t in e.prototype)}function d(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Parser`")}function h(e,t){if("function"!=typeof t)throw new Error("Cannot `"+e+"` without `Compiler`")}function m(e,t){if(t)throw new Error("Cannot invoke `"+e+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function g(e){if(!e||"string"!=typeof e.type)throw new Error("Expected node, got `"+e+"`")}function v(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}},12244:t=>{"use strict";t.exports=e},53741:e=>{"use strict";e.exports=a},51756:e=>{"use strict";e.exports=o},34106:e=>{"use strict";e.exports=r},78841:e=>{"use strict";e.exports=n},32673:e=>{"use strict";e.exports=t},53327:e=>{"use strict";e.exports=i},22017:e=>{"use strict";e.exports=JSON.parse('{"nbsp":" ","iexcl":"¡","cent":"¢","pound":"£","curren":"¤","yen":"¥","brvbar":"¦","sect":"§","uml":"¨","copy":"©","ordf":"ª","laquo":"«","not":"¬","shy":"­","reg":"®","macr":"¯","deg":"°","plusmn":"±","sup2":"²","sup3":"³","acute":"´","micro":"µ","para":"¶","middot":"·","cedil":"¸","sup1":"¹","ordm":"º","raquo":"»","frac14":"¼","frac12":"½","frac34":"¾","iquest":"¿","Agrave":"À","Aacute":"Á","Acirc":"Â","Atilde":"Ã","Auml":"Ä","Aring":"Å","AElig":"Æ","Ccedil":"Ç","Egrave":"È","Eacute":"É","Ecirc":"Ê","Euml":"Ë","Igrave":"Ì","Iacute":"Í","Icirc":"Î","Iuml":"Ï","ETH":"Ð","Ntilde":"Ñ","Ograve":"Ò","Oacute":"Ó","Ocirc":"Ô","Otilde":"Õ","Ouml":"Ö","times":"×","Oslash":"Ø","Ugrave":"Ù","Uacute":"Ú","Ucirc":"Û","Uuml":"Ü","Yacute":"Ý","THORN":"Þ","szlig":"ß","agrave":"à","aacute":"á","acirc":"â","atilde":"ã","auml":"ä","aring":"å","aelig":"æ","ccedil":"ç","egrave":"è","eacute":"é","ecirc":"ê","euml":"ë","igrave":"ì","iacute":"í","icirc":"î","iuml":"ï","eth":"ð","ntilde":"ñ","ograve":"ò","oacute":"ó","ocirc":"ô","otilde":"õ","ouml":"ö","divide":"÷","oslash":"ø","ugrave":"ù","uacute":"ú","ucirc":"û","uuml":"ü","yacute":"ý","thorn":"þ","yuml":"ÿ","fnof":"ƒ","Alpha":"Α","Beta":"Β","Gamma":"Γ","Delta":"Δ","Epsilon":"Ε","Zeta":"Ζ","Eta":"Η","Theta":"Θ","Iota":"Ι","Kappa":"Κ","Lambda":"Λ","Mu":"Μ","Nu":"Ν","Xi":"Ξ","Omicron":"Ο","Pi":"Π","Rho":"Ρ","Sigma":"Σ","Tau":"Τ","Upsilon":"Υ","Phi":"Φ","Chi":"Χ","Psi":"Ψ","Omega":"Ω","alpha":"α","beta":"β","gamma":"γ","delta":"δ","epsilon":"ε","zeta":"ζ","eta":"η","theta":"θ","iota":"ι","kappa":"κ","lambda":"λ","mu":"μ","nu":"ν","xi":"ξ","omicron":"ο","pi":"π","rho":"ρ","sigmaf":"ς","sigma":"σ","tau":"τ","upsilon":"υ","phi":"φ","chi":"χ","psi":"ψ","omega":"ω","thetasym":"ϑ","upsih":"ϒ","piv":"ϖ","bull":"•","hellip":"…","prime":"","Prime":"″","oline":"‾","frasl":"","weierp":"℘","image":"","real":"","trade":"™","alefsym":"ℵ","larr":"←","uarr":"↑","rarr":"→","darr":"↓","harr":"↔","crarr":"↵","lArr":"⇐","uArr":"⇑","rArr":"⇒","dArr":"⇓","hArr":"⇔","forall":"∀","part":"∂","exist":"∃","empty":"∅","nabla":"∇","isin":"∈","notin":"∉","ni":"∋","prod":"∏","sum":"∑","minus":"","lowast":"","radic":"√","prop":"∝","infin":"∞","ang":"∠","and":"∧","or":"","cap":"∩","cup":"","int":"∫","there4":"∴","sim":"","cong":"≅","asymp":"≈","ne":"≠","equiv":"≡","le":"≤","ge":"≥","sub":"⊂","sup":"⊃","nsub":"⊄","sube":"⊆","supe":"⊇","oplus":"⊕","otimes":"⊗","perp":"⊥","sdot":"⋅","lceil":"⌈","rceil":"⌉","lfloor":"⌊","rfloor":"⌋","lang":"〈","rang":"〉","loz":"◊","spades":"♠","clubs":"♣","hearts":"♥","diams":"♦","quot":"\\"","amp":"&","lt":"<","gt":">","OElig":"Œ","oelig":"œ","Scaron":"Š","scaron":"š","Yuml":"Ÿ","circ":"ˆ","tilde":"˜","ensp":"","emsp":"","thinsp":"","zwnj":"","zwj":"","lrm":"","rlm":"","ndash":"","mdash":"—","lsquo":"","rsquo":"","sbquo":"","ldquo":"“","rdquo":"”","bdquo":"„","dagger":"†","Dagger":"‡","permil":"‰","lsaquo":"","rsaquo":"","euro":"€"}')},93562:e=>{"use strict";e.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},71216:e=>{"use strict";e.exports=JSON.parse('{"0":"<22>","128":"€","130":"","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"","140":"Œ","142":"Ž","145":"","146":"","147":"“","148":"”","149":"•","150":"","151":"—","152":"˜","153":"™","154":"š","155":"","156":"œ","158":"ž","159":"Ÿ"}')},98176:e=>{"use strict";e.exports=JSON.parse('["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]')},25183:e=>{"use strict";e.exports=JSON.parse('["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]')},99026:e=>{"use strict";e.exports=JSON.parse('{"abandonedHeadElementChild":{"reason":"Unexpected metadata element after head","description":"Unexpected element after head. Expected the element before `</head>`","url":false},"abruptClosingOfEmptyComment":{"reason":"Unexpected abruptly closed empty comment","description":"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},"abruptDoctypePublicIdentifier":{"reason":"Unexpected abruptly closed public identifier","description":"Unexpected `>`. Expected a closing `\\"` or `\'` after the public identifier"},"abruptDoctypeSystemIdentifier":{"reason":"Unexpected abruptly closed system identifier","description":"Unexpected `>`. Expected a closing `\\"` or `\'` after the identifier identifier"},"absenceOfDigitsInNumericCharacterReference":{"reason":"Unexpected non-digit at start of numeric character reference","description":"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},"cdataInHtmlContent":{"reason":"Unexpected CDATA section in HTML","description":"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},"characterReferenceOutsideUnicodeRange":{"reason":"Unexpected too big numeric character reference","description":"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},"closingOfElementWithOpenChildElements":{"reason":"Unexpected closing tag with open child elements","description":"Unexpectedly closing tag. Expected other tags to be closed first","url":false},"controlCharacterInInputStream":{"reason":"Unexpected control character","description":"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},"controlCharacterReference":{"reason":"Unexpected control character reference","description":"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},"disallowedContentInNoscriptInHead":{"reason":"Disallowed content inside `<noscript>` in `<head>`","description":"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`","url":false},"duplicateAttribute":{"reason":"Unexpected duplicate attribute","description":"Unexpectedly double attribute. Expected attributes to occur only once"},"endTagWithAttributes":{"reason":"Unexpected attribute on closing tag","description":"Unexpected attribute. Expected `>` instead"},"endTagWithTrailingSolidus":{"reason":"Unexpected slash at end of closing tag","description":"Unexpected `%c-1`. Expected `>` instead"},"endTagWithoutMatchingOpenElement":{"reason":"Unexpected unopened end tag","description":"Unexpected end tag. Expected no end tag or another end tag","url":false},"eofBeforeTagName":{"reason":"Unexpected end of file","description":"Unexpected end of file. Expected tag name instead"},"eofInCdata":{"reason":"Unexpected end of file in CDATA","description":"Unexpected end of file. Expected `]]>` to close the CDATA"},"eofInComment":{"reason":"Unexpected end of file in comment","description":"Unexpected end of file. Expected `--\x3e` to close the comment"},"eofInDoctype":{"reason":"Unexpected end of file in doctype","description":"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},"eofInElementThatCanContainOnlyText":{"reason":"Unexpected end of file in element that can only contain text","description":"Unexpected end of file. Expected text or a closing tag","url":false},"eofInScriptHtmlCommentLikeText":{"reason":"Unexpected end of file in comment inside script","description":"Unexpected end of file. Expected `--\x3e` to close the comment"},"eofInTag":{"reason":"Unexpected end of file in tag","description":"Unexpected end of file. Expected `>` to close the tag"},"incorrectlyClosedComment":{"reason":"Incorrectly closed comment","description":"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},"incorrectlyOpenedComment":{"reason":"Incorrectly opened comment","description":"Unexpected `%c`. Expected `\x3c!--` to open the comment"},"invalidCharacterSequenceAfterDoctypeName":{"reason":"Invalid sequence after doctype name","description":"Unexpected sequence at `%c`. Expected `public` or `system`"},"invalidFirstCharacterOfTagName":{"reason":"Invalid first character in tag name","description":"Unexpected `%c`. Expected an ASCII letter instead"},"misplacedDoctype":{"reason":"Misplaced doctype","description":"Unexpected doctype. Expected doctype before head","url":false},"misplacedStartTagForHeadElement":{"reason":"Misplaced `<head>` start tag","description":"Unexpected start tag `<head>`. Expected `<head>` directly after doctype","url":false},"missingAttributeValue":{"reason":"Missing attribute value","description":"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},"missingDoctype":{"reason":"Missing doctype before other content","description":"Expected a `<!doctype html>` before anything else","url":false},"missingDoctypeName":{"reason":"Missing doctype name","description":"Unexpected doctype end at `%c`. Expected `html` instead"},"missingDoctypePublicIdentifier":{"reason":"Missing public identifier in doctype","description":"Unexpected `%c`. Expected identifier for `public` instead"},"missingDoctypeSystemIdentifier":{"reason":"Missing system identifier in doctype","description":"Unexpected `%c`. Expected identifier for `system` instead (suggested: `\\"about:legacy-compat\\"`)"},"missingEndTagName":{"reason":"Missing name in end tag","description":"Unexpected `%c`. Expected an ASCII letter instead"},"missingQuoteBeforeDoctypePublicIdentifier":{"reason":"Missing quote before public identifier in doctype","description":"Unexpected `%c`. Expected `\\"` or `\'` instead"},"missingQuoteBeforeDoctypeSystemIdentifier":{"reason":"Missing quote before system identifier in doctype","description":"Unexpected `%c`. Expected `\\"` or `\'` instead"},"missingSemicolonAfterCharacterReference":{"reason":"Missing semicolon after character reference","description":"Unexpected `%c`. Expected `;` instead"},"missingWhitespaceAfterDoctypePublicKeyword":{"reason":"Missing whitespace after public identifier in doctype","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceAfterDoctypeSystemKeyword":{"reason":"Missing whitespace after system identifier in doctype","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceBeforeDoctypeName":{"reason":"Missing whitespace before doctype name","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceBetweenAttributes":{"reason":"Missing whitespace between attributes","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers":{"reason":"Missing whitespace between public and system identifiers in doctype","description":"Unexpected `%c`. Expected ASCII whitespace instead"},"nestedComment":{"reason":"Unexpected nested comment","description":"Unexpected `\x3c!--`. Expected `--\x3e`"},"nestedNoscriptInHead":{"reason":"Unexpected nested `<noscript>` in `<head>`","description":"Unexpected `<noscript>`. Expected a closing tag or a meta element","url":false},"nonConformingDoctype":{"reason":"Unexpected non-conforming doctype declaration","description":"Expected `<!doctype html>` or `<!doctype html system \\"about:legacy-compat\\">`","url":false},"nonVoidHtmlElementStartTagWithTrailingSolidus":{"reason":"Unexpected trailing slash on start tag of non-void element","description":"Unexpected `/`. Expected `>` instead"},"noncharacterCharacterReference":{"reason":"Unexpected noncharacter code point referenced by character reference","description":"Unexpected code point. Do not use noncharacters in HTML"},"noncharacterInInputStream":{"reason":"Unexpected noncharacter character","description":"Unexpected code point `%x`. Do not use noncharacters in HTML"},"nullCharacterReference":{"reason":"Unexpected NULL character referenced by character reference","description":"Unexpected code point. Do not use NULL characters in HTML"},"openElementsLeftAfterEof":{"reason":"Unexpected end of file","description":"Unexpected end of file. Expected closing tag instead","url":false},"surrogateCharacterReference":{"reason":"Unexpected surrogate character referenced by character reference","description":"Unexpected code point. Do not use lone surrogate characters in HTML"},"surrogateInInputStream":{"reason":"Unexpected surrogate character","description":"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},"unexpectedCharacterAfterDoctypeSystemIdentifier":{"reason":"Invalid character after system identifier in doctype","description":"Unexpected character at `%c`. Expected `>`"},"unexpectedCharacterInAttributeName":{"reason":"Unexpected character in attribute name","description":"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},"unexpectedCharacterInUnquotedAttributeValue":{"reason":"Unexpected character in unquoted attribute value","description":"Unexpected `%c`. Quote the attribute value to include it"},"unexpectedEqualsSignBeforeAttributeName":{"reason":"Unexpected equals sign before attribute name ","description":"Unexpected `%c`. Add an attribute name before it"},"unexpectedNullCharacter":{"reason":"Unexpected NULL character","description":"Unexpected code point `%x`. Do not use NULL characters in HTML"},"unexpectedQuestionMarkInsteadOfTagName":{"reason":"Unexpected question mark instead of tag name","description":"Unexpected `%c`. Expected an ASCII letter instead"},"unexpectedSolidusInTag":{"reason":"Unexpected slash in tag","description":"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},"unknownNamedCharacterReference":{"reason":"Unexpected unknown named character reference","description":"Unexpected character reference. Expected known named character references"}}')},11653:e=>{"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},26916:e=>{"use strict";e.exports=JSON.parse('{"html":"http://www.w3.org/1999/xhtml","mathml":"http://www.w3.org/1998/Math/MathML","svg":"http://www.w3.org/2000/svg","xlink":"http://www.w3.org/1999/xlink","xml":"http://www.w3.org/XML/1998/namespace","xmlns":"http://www.w3.org/2000/xmlns/"}')},52930:e=>{"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')}},u={};function l(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={id:e,loaded:!1,exports:{}};return s[e].call(n.exports,n,n.exports,l),n.loaded=!0,n.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var c={};return(()=>{"use strict";l.d(c,{DecapCmsWidgetMarkdown:()=>nc});var e=l(12244),t=l.n(e),n=l(32673),r=l.n(n),o=l(78841),i=l.n(o),a=l(34106);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function u(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var f=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,p=u((function(e){return f.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),d=l(51756),h=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},m={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},g=/[A-Z]|^ms/g,v=/_EMO_([^_]+?)_([^]*?)_EMO_/g,E=function(e){return 45===e.charCodeAt(1)},C=function(e){return null!=e&&"boolean"!=typeof e},T=u((function(e){return E(e)?e:e.replace(g,"-$&").toLowerCase()})),y=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(v,(function(e,t,n){return b={name:t,styles:n,next:b},t}))}return 1===m[e]||E(e)||"number"!=typeof t||0===t?t:t+"px"};function A(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return b={name:n.name,styles:n.styles,next:b},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)b={name:r.name,styles:r.styles,next:b},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=A(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":C(a)&&(r+=T(i)+":"+y(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=A(e,t,a);switch(i){case"animation":case"animationName":r+=T(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)C(a[u])&&(r+=T(i)+":"+y(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=b,i=n(e);return b=o,A(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var b,D=/label:\s*([^\s;\n{]+)\s*(;|$)/g,x=!!e.useInsertionEffect&&e.useInsertionEffect,_=x||function(e){return e()},k=(x||e.useLayoutEffect,p),O=function(e){return"theme"!==e},S=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?k:O},w=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},N=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return h(t,n,r),_((function(){return function(e,t,n){h(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},B=function t(n,r){var o,i,a=n.__emotion_real===n,u=a&&n.__emotion_base||n;void 0!==r&&(o=r.label,i=r.target);var l=w(n,r,a),c=l||S(u),f=!c("as");return function(){var p=arguments,h=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&h.push("label:"+o+";"),null==p[0]||void 0===p[0].raw)h.push.apply(h,p);else{h.push(p[0][0]);for(var m=p.length,g=1;g<m;g++)h.push(p[g],p[0][g])}var v=(0,d.withEmotionCache)((function(t,n,r){var o,a,s,p,m=f&&t.as||u,g="",v=[],E=t;if(null==t.theme){for(var C in E={},t)E[C]=t[C];E.theme=e.useContext(d.ThemeContext)}"string"==typeof t.className?(o=n.registered,a=v,s=t.className,p="",s.split(" ").forEach((function(e){void 0!==o[e]?a.push(o[e]+";"):p+=e+" "})),g=p):null!=t.className&&(g=t.className+" ");var T=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";b=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=A(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=A(n,t,e[a]),r&&(o+=i[a]);D.lastIndex=0;for(var s,u="";null!==(s=D.exec(o));)u+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:l,styles:o,next:b}}(h.concat(v),n.registered,E);g+=n.key+"-"+T.name,void 0!==i&&(g+=" "+i);var y=f&&void 0===l?S(m):c,x={};for(var _ in t)f&&"as"===_||y(_)&&(x[_]=t[_]);return x.className=g,x.ref=r,e.createElement(e.Fragment,null,e.createElement(N,{cache:n,serialized:T,isStringTag:"string"==typeof m}),e.createElement(m,x))}));return v.displayName=void 0!==o?o:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",v.defaultProps=n.defaultProps,v.__emotion_real=v,v.__emotion_base=u,v.__emotion_styles=h,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function(){return"."+i}}),v.withComponent=function(e,n){return t(e,s({},r,n,{shouldForwardProp:w(v,n,!0)})).apply(void 0,h)},v}},F=l(53327);function R(e){return"[object Object]"===Object.prototype.toString.call(e)}function P(e){var t,n;return!1!==R(e)&&(void 0===(t=e.constructor)||!1!==R(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function I(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function M(e){return!!e&&!!e[Ae]}function L(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===be}(e)||Array.isArray(e)||!!e[ye]||!!(null===(t=e.constructor)||void 0===t?void 0:t[ye])||G(e)||K(e))}function j(e,t,n){void 0===n&&(n=!1),0===H(e)?(n?Object.keys:De)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function H(e){var t=e[Ae];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:G(e)?2:K(e)?3:0}function U(e,t){return 2===H(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function z(e,t,n){var r=H(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function G(e){return ve&&e instanceof Map}function K(e){return Ee&&e instanceof Set}function W(e){return e.o||e.t}function q(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=xe(e);delete t[Ae];for(var n=De(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function V(e,t){return void 0===t&&(t=!1),$(e)||M(e)||!L(e)||(H(e)>1&&(e.set=e.add=e.clear=e.delete=Y),Object.freeze(e),t&&j(e,(function(e,t){return V(t,!0)}),!0)),e}function Y(){I(2)}function $(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function X(e){var t=_e[e];return t||I(18,e),t}function Q(){return me}function Z(e,t){t&&(X("Patches"),e.u=[],e.s=[],e.v=t)}function J(e){ee(e),e.p.forEach(ne),e.p=null}function ee(e){e===me&&(me=e.l)}function te(e){return me={p:[],l:me,h:e,m:!0,_:0}}function ne(e){var t=e[Ae];0===t.i||1===t.i?t.j():t.g=!0}function re(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||X("ES5").S(t,e,r),r?(n[Ae].P&&(J(t),I(4)),L(e)&&(e=oe(t,e),t.l||ae(t,e)),t.u&&X("Patches").M(n[Ae].t,e,t.u,t.s)):e=oe(t,n,[]),J(t),t.u&&t.v(t.u,t.s),e!==Te?e:void 0}function oe(e,t,n){if($(t))return t;var r=t[Ae];if(!r)return j(t,(function(o,i){return ie(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return ae(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=q(r.k):r.o,i=o,a=!1;3===r.i&&(i=new Set(o),o.clear(),a=!0),j(i,(function(t,i){return ie(e,r,o,t,i,n,a)})),ae(e,o,!1),n&&e.u&&X("Patches").N(r,n,e.u,e.s)}return r.o}function ie(e,t,n,r,o,i,a){if(M(o)){var s=oe(e,o,i&&t&&3!==t.i&&!U(t.R,r)?i.concat(r):void 0);if(z(n,r,s),!M(s))return;e.m=!1}else a&&n.add(o);if(L(o)&&!$(o)){if(!e.h.D&&e._<1)return;oe(e,o),t&&t.A.l||ae(e,o)}}function ae(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&V(t,n)}function se(e,t){var n=e[Ae];return(n?W(n):e)[t]}function ue(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function le(e){e.P||(e.P=!0,e.l&&le(e.l))}function ce(e){e.o||(e.o=q(e.t))}function fe(e,t,n){var r=G(t)?X("MapSet").F(t,n):K(t)?X("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Q(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=ke;n&&(o=[r],i=Oe);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return r.k=u,r.j=s,u}(t,n):X("ES5").J(t,n);return(n?n.A:Q()).p.push(r),r}function pe(e){return M(e)||I(22,e),function e(t){if(!L(t))return t;var n,r=t[Ae],o=H(t);if(r){if(!r.P&&(r.i<4||!X("ES5").K(r)))return r.t;r.I=!0,n=de(t,o),r.I=!1}else n=de(t,o);return j(n,(function(t,o){r&&function(e,t){return 2===H(e)?e.get(t):e[t]}(r.t,t)===o||z(n,t,e(o))})),3===o?new Set(n):n}(e)}function de(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return q(e)}var he,me,ge="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ve="undefined"!=typeof Map,Ee="undefined"!=typeof Set,Ce="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Te=ge?Symbol.for("immer-nothing"):((he={})["immer-nothing"]=!0,he),ye=ge?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=ge?Symbol.for("immer-state"):"__$immer_state",be=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),De="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,xe=Object.getOwnPropertyDescriptors||function(e){var t={};return De(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},_e={},ke={get:function(e,t){if(t===Ae)return e;var n=W(e);if(!U(n,t))return function(e,t,n){var r,o=ue(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!L(r)?r:r===se(e.t,t)?(ce(e),e.o[t]=fe(e.A.h,r,e)):r},has:function(e,t){return t in W(e)},ownKeys:function(e){return Reflect.ownKeys(W(e))},set:function(e,t,n){var r=ue(W(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=se(W(e),t),i=null==o?void 0:o[Ae];if(i&&i.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,o)&&(void 0!==n||U(e.t,t)))return!0;ce(e),le(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==se(e.t,t)||t in e.t?(e.R[t]=!1,ce(e),le(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=W(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){I(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){I(12)}},Oe={};j(ke,(function(e,t){Oe[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Oe.deleteProperty=function(e,t){return Oe.set.call(this,e,t,void 0)},Oe.set=function(e,t,n){return ke.set.call(this,e[0],t,n,e[0])};var Se=function(){function e(e){var t=this;this.O=Ce,this.D=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&I(6),void 0!==r&&"function"!=typeof r&&I(7),L(e)){var s=te(t),u=fe(t,e,void 0),l=!0;try{a=n(u),l=!1}finally{l?J(s):ee(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Z(s,r),re(e,s)}),(function(e){throw J(s),e})):(Z(s,r),re(a,s))}if(!e||"object"!=typeof e){if(void 0===(a=n(e))&&(a=e),a===Te&&(a=void 0),t.D&&V(a,!0),r){var c=[],f=[];X("Patches").M(e,a,c,f),r(c,f)}return a}I(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))};var r,o,i=t.produce(e,n,(function(e,t){r=e,o=t}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(e){return[e,r,o]})):[i,r,o]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){L(e)||I(8),M(e)&&(e=pe(e));var t=te(this),n=fe(this,e,void 0);return n[Ae].C=!0,ee(t),n},t.finishDraft=function(e,t){var n=(e&&e[Ae]).A;return Z(n,t),re(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!Ce&&I(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=X("Patches").$;return M(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),we=new Se,Ne=we.produce,Be=(we.produceWithPatches.bind(we),we.setAutoFreeze.bind(we),we.setUseProxies.bind(we),we.applyPatches.bind(we),we.createDraft.bind(we)),Fe=we.finishDraft.bind(we);function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pe=new WeakMap,Ie=new WeakMap,Me=new WeakMap,Le=new WeakMap,je=new WeakMap,He=new WeakMap,Ue=new WeakMap;function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ke=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of _t.pathRefs(e))It.transform(n,t);for(var r of _t.pointRefs(e))Ht.transform(r,t);for(var o of _t.rangeRefs(e))Kt.transform(o,t);var i,a,s=Pe.get(e)||[],u=Ie.get(e)||new Set,l=e=>{if(e){var t=e.join(",");a.has(t)||(a.add(t),i.push(e))}};if(Pt.operationCanTransformPath(t))for(var c of(i=[],a=new Set,s))l(Pt.transform(c,t));else i=s,a=u;var f=e.getDirtyPaths(t);for(var p of f)l(p);Pe.set(e,i),Ie.set(e,a),vn.transform(e,t),e.operations.push(t),_t.normalize(e,{operation:t}),"set_selection"===t.type&&(e.marks=null),Me.get(e)||(Me.set(e,!0),Promise.resolve().then((()=>{Me.set(e,!1),e.onChange({operation:t}),e.operations=[]})))},addMark:(t,n)=>{var{selection:r,markableVoid:o}=e;if(r){var i=(t,n)=>{if(!Zt.isText(t))return!1;var[r,o]=_t.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},a=Gt.isExpanded(r),s=!1;if(!a){var[u,l]=_t.node(e,r);if(u&&i(u,l)){var[c]=_t.parent(e,l);s=c&&e.markableVoid(c)}}if(a||s)vn.setNodes(e,{[t]:n},{match:i,split:!0,voids:!0});else{var f=Ge(Ge({},_t.marks(e)||{}),{},{[t]:n});e.marks=f,Me.get(e)||e.onChange()}}},deleteBackward:t=>{var{selection:n}=e;n&&Gt.isCollapsed(n)&&vn.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&Gt.isCollapsed(n)&&vn.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&Gt.isExpanded(n)&&vn.delete(e,{reverse:"backward"===t})},getFragment:()=>{var{selection:t}=e;return t?Nt.fragment(e,t):[]},insertBreak:()=>{vn.splitNodes(e,{always:!0})},insertSoftBreak:()=>{vn.splitNodes(e,{always:!0})},insertFragment:t=>{vn.insertFragment(e,t)},insertNode:t=>{vn.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var o=Ge({text:t},r);vn.insertNodes(e,o)}else vn.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!Zt.isText(n))if(Tt.isElement(n)&&0===n.children.length)vn.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var o=!_t.isEditor(n)&&Tt.isElement(n)&&(e.isInline(n)||0===n.children.length||Zt.isText(n.children[0])||e.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var s=Nt.get(e,r);if(!Zt.isText(s)){var u=n.children[a],l=s.children[i-1],c=a===n.children.length-1;(Zt.isText(u)||Tt.isElement(u)&&e.isInline(u))!==o?(vn.removeNodes(e,{at:r.concat(i),voids:!0}),i--):Tt.isElement(u)?e.isInline(u)&&(null!=l&&Zt.isText(l)?c&&(vn.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++):(vn.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++)):null!=l&&Zt.isText(l)&&(Zt.equals(u,l,{loose:!0})?(vn.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):""===l.text?(vn.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):""===u.text&&(vn.removeNodes(e,{at:r.concat(i),voids:!0}),i--))}}},removeMark:t=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!Zt.isText(t))return!1;var[r,o]=_t.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},o=Gt.isExpanded(n),i=!1;if(!o){var[a,s]=_t.node(e,n);if(a&&r(a,s)){var[u]=_t.parent(e,s);i=u&&e.markableVoid(u)}}if(o||i)vn.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var l=Ge({},_t.marks(e)||{});delete l[t],e.marks=l,Me.get(e)||e.onChange()}}},getDirtyPaths:e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return Pt.levels(t);case"insert_node":var{node:n,path:r}=e,o=Pt.levels(r),i=Zt.isText(n)?[]:Array.from(Nt.nodes(n),(e=>{var[,t]=e;return r.concat(t)}));return[...o,...i];case"merge_node":var{path:a}=e;return[...Pt.ancestors(a),Pt.previous(a)];case"move_node":var{path:s,newPath:u}=e;if(Pt.equals(s,u))return[];var l=[],c=[];for(var f of Pt.ancestors(s)){var p=Pt.transform(f,e);l.push(p)}for(var d of Pt.ancestors(u)){var h=Pt.transform(d,e);c.push(h)}var m=c[c.length-1],g=u[u.length-1],v=m.concat(g);return[...l,...c,v];case"remove_node":var{path:E}=e;return[...Pt.ancestors(E)];case"split_node":var{path:C}=e;return[...Pt.levels(C),Pt.next(C)];default:return[]}},shouldNormalize:e=>{var{iteration:t,initialDirtyPathsLength:n}=e,r=42*n;if(t>r)throw new Error("Could not completely normalize the editor after ".concat(r," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0}};return e};function We(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var qe,Ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?Je(e):e,o=qe.None,i=qe.None,a=0,s=null;for(var u of r){var l=u.codePointAt(0);if(!l)break;var c=ft(u,l);if([o,i]=n?[i,c]:[c,o],pt(o,qe.ZWJ)&&pt(i,qe.ExtPict)&&!gt(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(pt(o,qe.RI)&&pt(i,qe.RI)&&!(s=null!==s?!s:!!n||Et(e.substring(0,e.length-a))))break;if(o!==qe.None&&i!==qe.None&&ht(o,i))break;a+=u.length}return a||1},Ye=/\s/,$e=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Xe=/['\u2018\u2019]/,Qe=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},Ze=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Ye.test(t))return!1;if(Xe.test(t)){var o=Ve(n,r),[i,a]=Qe(n,o,r);if(e(i,a,r))return!0}return!$e.test(t)},Je=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(tt(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(et(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},et=e=>e>=55296&&e<=56319,tt=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(qe||(qe={}));var nt=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,rt=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,ot=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,it=/^[\u1100-\u115F\uA960-\uA97C]$/,at=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,st=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,ut=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,lt=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,ct=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,ft=(e,t)=>{var n=qe.Any;return-1!==e.search(nt)&&(n|=qe.Extend),8205===t&&(n|=qe.ZWJ),t>=127462&&t<=127487&&(n|=qe.RI),-1!==e.search(rt)&&(n|=qe.Prepend),-1!==e.search(ot)&&(n|=qe.SpacingMark),-1!==e.search(it)&&(n|=qe.L),-1!==e.search(at)&&(n|=qe.V),-1!==e.search(st)&&(n|=qe.T),-1!==e.search(ut)&&(n|=qe.LV),-1!==e.search(lt)&&(n|=qe.LVT),-1!==e.search(ct)&&(n|=qe.ExtPict),n};function pt(e,t){return 0!=(e&t)}var dt=[[qe.L,qe.L|qe.V|qe.LV|qe.LVT],[qe.LV|qe.V,qe.V|qe.T],[qe.LVT|qe.T,qe.T],[qe.Any,qe.Extend|qe.ZWJ],[qe.Any,qe.SpacingMark],[qe.Prepend,qe.Any],[qe.ZWJ,qe.ExtPict],[qe.RI,qe.RI]];function ht(e,t){return-1===dt.findIndex((n=>pt(e,n[0])&&pt(t,n[1])))}var mt=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,gt=e=>-1!==e.search(mt),vt=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,Et=e=>{var t=e.match(vt);return null!==t&&t[0].length/2%2==1},Ct=e=>P(e)&&Nt.isNodeList(e.children)&&!_t.isEditor(e),Tt={isAncestor:e=>P(e)&&Nt.isNodeList(e.children),isElement:Ct,isElementList:e=>Array.isArray(e)&&e.every((e=>Tt.isElement(e))),isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return Ct(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},yt=["text"],At=["text"];function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xt=new WeakMap,_t={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=_t.path(e,o),s="lowest"===r;for(var[u,l]of _t.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!Zt.isText(u))if(Gt.isRange(o)){if(Pt.isAncestor(l,o.anchor.path)&&Pt.isAncestor(l,o.focus.path))return[u,l]}else if(!Pt.equals(a,l))return[u,l]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:_t.point(e,t,{edge:"end"}),focus:_t.end(e,[])},{distance:i=1}=r,a=0;for(var s of _t.positions(e,Dt(Dt({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=s),a++}return n},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:_t.start(e,[]),focus:_t.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var s of _t.positions(e,Dt(Dt({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=s),a++}return n},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges:(e,t)=>[_t.start(e,t),_t.end(e,t)],end:(e,t)=>_t.point(e,t,{edge:"end"}),first(e,t){var n=_t.path(e,t,{edge:"start"});return _t.node(e,n)},fragment(e,t){var n=_t.range(e,t);return Nt.fragment(e,n)},hasBlocks:(e,t)=>t.children.some((t=>Tt.isElement(t)&&_t.isBlock(e,t))),hasInlines:(e,t)=>t.children.some((t=>Zt.isText(t)||_t.isInline(e,t))),hasTexts:(e,t)=>t.children.every((e=>Zt.isText(e))),insertBreak(e){e.insertBreak()},insertSoftBreak(e){e.insertSoftBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>!e.isInline(t),isEditor(e){var t=xt.get(e);if(void 0!==t)return t;if(!P(e))return!1;var n="function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteBackward&&"function"==typeof e.deleteForward&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertSoftBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isInline&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&"function"==typeof e.getDirtyPaths&&(null===e.marks||P(e.marks))&&(null===e.selection||Gt.isRange(e.selection))&&Nt.isNodeList(e.children)&&Rt.isOperationList(e.operations);return xt.set(e,n),n},isEnd(e,t,n){var r=_t.end(e,n);return jt.equals(t,r)},isEdge:(e,t,n)=>_t.isStart(e,t,n)||_t.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&Zt.isText(r)&&""===r.text&&!e.isVoid(t)},isInline:(e,t)=>e.isInline(t),isNormalizing(e){var t=Le.get(e);return void 0===t||t},isStart(e,t,n){if(0!==t.offset)return!1;var r=_t.start(e,n);return jt.equals(t,r)},isVoid:(e,t)=>e.isVoid(t),last(e,t){var n=_t.path(e,t,{edge:"end"});return _t.node(e,n)},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_t.path(e,t,n);return[Nt.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=_t.path(e,n);for(var[u,l]of Nt.levels(e,s))if(i(u,l)&&(a.push([u,l]),!o&&Tt.isElement(u)&&_t.isVoid(e,u)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(Gt.isExpanded(n)){var[r]=_t.nodes(e,{match:Zt.isText});if(r){var[o]=r;return We(o,yt)}return{}}var{anchor:i}=n,{path:a}=i,[s]=_t.leaf(e,a);if(0===i.offset){var u=_t.previous(e,{at:a,match:Zt.isText}),l=_t.above(e,{match:t=>Tt.isElement(t)&&_t.isVoid(e,t)&&e.markableVoid(t)});if(!l){var c=_t.above(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t)});if(u&&c){var[f,p]=u,[,d]=c;Pt.isAncestor(d,p)&&(s=f)}}}return We(s,At)},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=_t.after(e,i,{voids:r});if(a){var[,s]=_t.last(e,[]),u=[a.path,s];if(Pt.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(Pt.isPath(i)){var[l]=_t.parent(e,i);o=e=>l.children.includes(e)}else o=()=>!0;var[c]=_t.nodes(e,{at:u,match:o,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_t.path(e,t,n);return[Nt.get(e,r),r]},*nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:s}=t;if(s||(s=()=>!0),n){var u,l;if(kt.isSpan(n))u=n[0],l=n[1];else{var c=_t.path(e,n,{edge:"start"}),f=_t.path(e,n,{edge:"end"});u=i?f:c,l=i?c:f}var p,d=Nt.nodes(e,{reverse:i,from:u,to:l,pass:t=>{var[n]=t;return!a&&Tt.isElement(n)&&_t.isVoid(e,n)}}),h=[];for(var[m,g]of d){var v=p&&0===Pt.compare(g,p[1]);if("highest"!==r||!v)if(s(m,g))if("lowest"===r&&v)p=[m,g];else{var E="lowest"===r?p:[m,g];E&&(o?h.push(E):yield E),p=[m,g]}else if(o&&!v&&Zt.isText(m))return}"lowest"===r&&p&&(o?h.push(p):yield p),o&&(yield*h)}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1,operation:r}=t,o=e=>Pe.get(e)||[],i=e=>{var t=o(e).pop(),n=t.join(",");return(e=>Ie.get(e)||new Set)(e).delete(n),t};if(_t.isNormalizing(e)){if(n){var a=Array.from(Nt.nodes(e),(e=>{var[,t]=e;return t})),s=new Set(a.map((e=>e.join(","))));Pe.set(e,a),Ie.set(e,s)}0!==o(e).length&&_t.withoutNormalizing(e,(()=>{for(var t of o(e))if(Nt.has(e,t)){var n=_t.node(e,t),[a,s]=n;Tt.isElement(a)&&0===a.children.length&&e.normalizeNode(n,{operation:r})}for(var u=o(e),l=u.length,c=0;0!==u.length;){if(!e.shouldNormalize({dirtyPaths:u,iteration:c,initialDirtyPathsLength:l,operation:r}))return;var f=i(e);if(Nt.has(e,f)){var p=_t.node(e,f);e.normalizeNode(p,{operation:r})}c++,u=o(e)}}))}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_t.path(e,t,n),o=Pt.parent(r);return _t.node(e,o)},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(Pt.isPath(t))if("start"===o){var[,i]=Nt.first(e,t);t=i}else if("end"===o){var[,a]=Nt.last(e,t);t=a}return Gt.isRange(t)&&(t="start"===o?Gt.start(t):"end"===o?Gt.end(t):Pt.common(t.anchor.path,t.focus.path)),jt.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},hasPath:(e,t)=>Nt.has(e,t),pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return _t.pathRefs(e).delete(o),o.current=null,t}};return _t.pathRefs(e).add(o),o},pathRefs(e){var t=je.get(e);return t||(t=new Set,je.set(e,t)),t},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(Pt.isPath(t)){var o;if("end"===r){var[,i]=Nt.last(e,t);o=i}else{var[,a]=Nt.first(e,t);o=a}var s=Nt.get(e,o);if(!Zt.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?s.text.length:0}}if(Gt.isRange(t)){var[u,l]=Gt.edges(t);return"start"===r?u:l}return t},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return _t.pointRefs(e).delete(o),o.current=null,t}};return _t.pointRefs(e).add(o),o},pointRefs(e){var t=He.get(e);return t||(t=new Set,He.set(e,t)),t},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=_t.range(e,n),[s,u]=Gt.edges(a),l=o?u:s,c=!1,f="",p=0,d=0,h=0;for(var[m,g]of _t.nodes(e,{at:n,reverse:o,voids:i})){if(Tt.isElement(m)){if(!i&&e.isVoid(m)){yield _t.start(e,g);continue}if(e.isInline(m))continue;if(_t.hasInlines(e,m)){var v=Pt.isAncestor(g,u.path)?u:_t.end(e,g),E=Pt.isAncestor(g,s.path)?s:_t.start(e,g);f=_t.string(e,{anchor:E,focus:v},{voids:i}),c=!0}}if(Zt.isText(m)){var C=Pt.equals(g,l.path);for(C?(d=o?l.offset:m.text.length-l.offset,h=l.offset):(d=m.text.length,h=o?d:0),(C||c||"offset"===r)&&(yield{path:g,offset:h},c=!1);;){if(0===p){if(""===f)break;p=T(f,r,o),f=Qe(f,p,o)[1]}if(h=o?h-p:h+p,(d-=p)<0){p=-d;break}p=0,yield{path:g,offset:h}}}}}function T(e,t,n){return"character"===t?Ve(e,n):"word"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0,r=!1;e.length>0;){var o=Ve(e,t),[i,a]=Qe(e,o,t);if(Ze(i,a,t))r=!0,n+=o;else{if(r)break;n+=o}e=a}return n}(e,n):"line"===t||"block"===t?e.length:1}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var a=_t.before(e,i,{voids:r});if(a){var[,s]=_t.first(e,[]),u=[a.path,s];if(Pt.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(Pt.isPath(i)){var[l]=_t.parent(e,i);o=e=>l.children.includes(e)}else o=()=>!0;var[c]=_t.nodes(e,{reverse:!0,at:u,match:o,mode:n,voids:r});return c}}},range:(e,t,n)=>Gt.isRange(t)&&!n?t:{anchor:_t.start(e,t),focus:_t.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return _t.rangeRefs(e).delete(o),o.current=null,t}};return _t.rangeRefs(e).add(o),o},rangeRefs(e){var t=Ue.get(e);return t||(t=new Set,Ue.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){Le.set(e,t)},start:(e,t)=>_t.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=_t.range(e,t),[i,a]=Gt.edges(o),s="";for(var[u,l]of _t.nodes(e,{at:o,match:Zt.isText,voids:r})){var c=u.text;Pt.equals(l,a.path)&&(c=c.slice(0,a.offset)),Pt.equals(l,i.path)&&(c=c.slice(i.offset)),s+=c}return s},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=Gt.edges(t);if(0!==o.offset||0!==i.offset||Gt.isCollapsed(t)||Pt.hasPrevious(i.path))return t;var a=_t.above(e,{at:i,match:t=>Tt.isElement(t)&&_t.isBlock(e,t),voids:r}),s=a?a[1]:[],u={anchor:_t.start(e,o),focus:i},l=!0;for(var[c,f]of _t.nodes(e,{at:u,match:Zt.isText,reverse:!0,voids:r}))if(l)l=!1;else if(""!==c.text||Pt.isBefore(f,s)){i={path:f,offset:c.text.length};break}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _t.above(e,Dt(Dt({},t),{},{match:t=>Tt.isElement(t)&&_t.isVoid(e,t)}))},withoutNormalizing(e,t){var n=_t.isNormalizing(e);_t.setNormalizing(e,!1);try{t()}finally{_t.setNormalizing(e,n)}_t.normalize(e)}},kt={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(Pt.isPath)},Ot=["children"],St=["text"],wt=new WeakMap,Nt={ancestor(e,t){var n=Nt.get(e,t);if(Zt.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(qt.stringify(n)));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of Pt.ancestors(t,n)){var o=[Nt.ancestor(e,r),r];yield o}},child(e,t){if(Zt.isText(e))throw new Error("Cannot get the child of a text node: ".concat(qt.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(qt.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=Nt.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var s=Nt.child(o,a),u=t.concat(a);yield[s,u],a=r?a-1:a+1}},common(e,t,n){var r=Pt.common(t,n);return[Nt.get(e,r),r]},descendant(e,t){var n=Nt.get(e,t);if(_t.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(qt.stringify(n)));return n},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Nt.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Nt.nodes(e,t))Tt.isElement(n)&&(yield[n,r])},extractProps:e=>Tt.isAncestor(e)?We(e,Ot):We(e,St),first(e,t){for(var n=t.slice(),r=Nt.get(e,n);r&&!Zt.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Zt.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(qt.stringify(e)));var n=Ne({children:e.children},(e=>{var[n,r]=Gt.edges(t),o=Nt.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!Gt.includes(t,n)}});for(var[,i]of o){if(!Gt.includes(t,i)){var a=Nt.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(Pt.equals(i,r.path)){var u=Nt.leaf(e,i);u.text=u.text.slice(0,r.offset)}if(Pt.equals(i,n.path)){var l=Nt.leaf(e,i);l.text=l.text.slice(n.offset)}}_t.isEditor(e)&&(e.selection=null)}));return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Zt.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(qt.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Zt.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>Zt.isText(e)||Tt.isElement(e)||_t.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=wt.get(e);if(void 0!==t)return t;var n=e.every((e=>Nt.isNode(e)));return wt.set(e,n),n},last(e,t){for(var n=t.slice(),r=Nt.get(e,n);r&&!Zt.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=Nt.get(e,t);if(!Zt.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(qt.stringify(n)));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of Pt.levels(t,n)){var o=Nt.get(e,r);yield[o,r]}},matches:(e,t)=>Tt.isElement(e)&&Tt.isElementProps(t)&&Tt.matches(e,t)||Zt.isText(e)&&Zt.isTextProps(t)&&Zt.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],u=e;!i||!(r?Pt.isBefore(s,i):Pt.isAfter(s,i));)if(a.has(u)||(yield[u,s]),a.has(u)||Zt.isText(u)||0===u.children.length||null!=n&&!1!==n([u,s])){if(0===s.length)break;if(!r){var l=Pt.next(s);if(Nt.has(e,l)){s=l,u=Nt.get(e,s);continue}}r&&0!==s[s.length-1]?(s=Pt.previous(s),u=Nt.get(e,s)):(s=Pt.parent(s),u=Nt.get(e,s),a.add(u))}else{a.add(u);var c=r?u.children.length-1:0;Pt.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),u=Nt.get(e,s)}},parent(e,t){var n=Pt.parent(t),r=Nt.get(e,n);if(Zt.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>Zt.isText(e)?e.text:e.children.map(Nt.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Nt.nodes(e,t))Zt.isText(n)&&(yield[n,r])}};function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rt={isNodeOperation:e=>Rt.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!P(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Pt.isPath(e.path)&&Nt.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Pt.isPath(e.path);case"merge_node":return"number"==typeof e.position&&Pt.isPath(e.path)&&P(e.properties);case"move_node":return Pt.isPath(e.path)&&Pt.isPath(e.newPath);case"set_node":return Pt.isPath(e.path)&&P(e.properties)&&P(e.newProperties);case"set_selection":return null===e.properties&&Gt.isRange(e.newProperties)||null===e.newProperties&&Gt.isRange(e.properties)||P(e.properties)&&P(e.newProperties);case"split_node":return Pt.isPath(e.path)&&"number"==typeof e.position&&P(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every((e=>Rt.isOperation(e))),isSelectionOperation:e=>Rt.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>Rt.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return Ft(Ft({},e),{},{type:"remove_node"});case"insert_text":return Ft(Ft({},e),{},{type:"remove_text"});case"merge_node":return Ft(Ft({},e),{},{type:"split_node",path:Pt.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Pt.equals(t,n))return e;if(Pt.isSibling(n,t))return Ft(Ft({},e),{},{path:t,newPath:n});var r=Pt.transform(n,e),o=Pt.transform(Pt.next(n),e);return Ft(Ft({},e),{},{path:r,newPath:o});case"remove_node":return Ft(Ft({},e),{},{type:"insert_node"});case"remove_text":return Ft(Ft({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return Ft(Ft({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:u}=e;return Ft(Ft({},e),{},null==s?{properties:u,newProperties:null}:null==u?{properties:null,newProperties:s}:{properties:u,newProperties:s});case"split_node":return Ft(Ft({},e),{},{type:"merge_node",path:Pt.next(e.path)})}}},Pt={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=Pt.levels(e,t);return n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Pt.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return Pt.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Pt.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every(((e,n)=>e===t[n])),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===Pt.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===Pt.compare(e,t),isBefore:(e,t)=>-1===Pt.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===Pt.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===Pt.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===Pt.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===Pt.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&Pt.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!Pt.isAncestor(t,e)&&!Pt.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return null;var r=[...e],{affinity:o="forward"}=n;if(0===e.length)return r;switch(t.type){case"insert_node":var{path:i}=t;(Pt.equals(i,r)||Pt.endsBefore(i,r)||Pt.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Pt.equals(a,r)||Pt.isAncestor(a,r))return null;Pt.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:u}=t;Pt.equals(s,r)||Pt.endsBefore(s,r)?r[s.length-1]-=1:Pt.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=u);break;case"split_node":var{path:l,position:c}=t;if(Pt.equals(l,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else Pt.endsBefore(l,r)?r[l.length-1]+=1:Pt.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:p}=t;if(Pt.equals(f,p))return r;if(Pt.isAncestor(f,r)||Pt.equals(f,r)){var d=p.slice();return Pt.endsBefore(f,p)&&f.length<p.length&&(d[f.length-1]-=1),d.concat(r.slice(f.length))}Pt.isSibling(f,p)&&(Pt.isAncestor(p,r)||Pt.equals(p,r))?Pt.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:Pt.endsBefore(p,r)||Pt.equals(p,r)||Pt.isAncestor(p,r)?(Pt.endsBefore(f,r)&&(r[f.length-1]-=1),r[p.length-1]+=1):Pt.endsBefore(f,r)&&(Pt.equals(p,r)&&(r[p.length-1]+=1),r[f.length-1]-=1)}return r}},It={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Pt.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt={compare(e,t){var n=Pt.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===jt.compare(e,t),isBefore:(e,t)=>-1===jt.compare(e,t),equals:(e,t)=>e.offset===t.offset&&Pt.equals(e.path,t.path),isPoint:e=>P(e)&&"number"==typeof e.offset&&Pt.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ne(e,(e=>{if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=Pt.transform(o,t,n);break;case"insert_text":Pt.equals(t.path,o)&&(t.offset<i||t.offset===i&&"forward"===r)&&(e.offset+=t.text.length);break;case"merge_node":Pt.equals(t.path,o)&&(e.offset+=t.position),e.path=Pt.transform(o,t,n);break;case"remove_text":Pt.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(Pt.equals(t.path,o)||Pt.isAncestor(t.path,o))return null;e.path=Pt.transform(o,t,n);break;case"split_node":if(Pt.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=Pt.transform(o,t,Lt(Lt({},n),{},{affinity:"forward"})))}else e.path=Pt.transform(o,t,n)}}))}},Ht={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=jt.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Ut=["anchor","focus"];function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Gt={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return Gt.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=Gt.edges(e);return t},equals:(e,t)=>jt.equals(e.anchor,t.anchor)&&jt.equals(e.focus,t.focus),includes(e,t){if(Gt.isRange(t)){if(Gt.includes(e,t.anchor)||Gt.includes(e,t.focus))return!0;var[n,r]=Gt.edges(e),[o,i]=Gt.edges(t);return jt.isBefore(n,o)&&jt.isAfter(r,i)}var[a,s]=Gt.edges(e),u=!1,l=!1;return jt.isPoint(t)?(u=jt.compare(t,a)>=0,l=jt.compare(t,s)<=0):(u=Pt.compare(t,a.path)>=0,l=Pt.compare(t,s.path)<=0),u&&l},intersection(e,t){var n=We(e,Ut),[r,o]=Gt.edges(e),[i,a]=Gt.edges(t),s=jt.isBefore(r,i)?i:r,u=jt.isBefore(o,a)?o:a;return jt.isBefore(u,s)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({anchor:s,focus:u},n)},isBackward(e){var{anchor:t,focus:n}=e;return jt.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return jt.equals(t,n)},isExpanded:e=>!Gt.isCollapsed(e),isForward:e=>!Gt.isBackward(e),isRange:e=>P(e)&&jt.isPoint(e.anchor)&&jt.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=Gt.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Ne(e,(e=>{if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=Gt.isCollapsed(e);Gt.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?Gt.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var s=jt.transform(e.anchor,t,{affinity:r}),u=jt.transform(e.focus,t,{affinity:o});if(!s||!u)return null;e.anchor=s,e.focus=u}))}},Kt={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Gt.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Wt=void 0,qt={setScrubber(e){Wt=e},stringify:e=>JSON.stringify(e,Wt)},Vt=(e,t)=>{for(var n in e){var r=e[n],o=t[n];if(P(r)&&P(o)){if(!Vt(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in t)if(void 0===e[a]&&void 0!==t[a])return!1;return!0},Yt=["text"],$t=["anchor","focus"];function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zt={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return We(e,Yt)}return Vt(r?o(e):e,r?o(t):t)},isText:e=>P(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every((e=>Zt.isText(e))),isTextProps:e=>void 0!==e.text,matches(e,t){for(var n in t)if("text"!==n&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[Qt({},e)];for(var r of t){var o=We(r,$t),[i,a]=Gt.edges(r),s=[],u=0,l=i.offset,c=a.offset;for(var f of n){var{length:p}=f.text,d=u;if(u+=p,l<=d&&u<=c)Object.assign(f,o),s.push(f);else if(l!==c&&(l===u||c===d)||l>u||c<d||c===d&&0!==d)s.push(f);else{var h=f,m=void 0,g=void 0;if(c<u){var v=c-d;g=Qt(Qt({},h),{},{text:h.text.slice(v)}),h=Qt(Qt({},h),{},{text:h.text.slice(0,v)})}if(l>d){var E=l-d;m=Qt(Qt({},h),{},{text:h.text.slice(0,E)}),h=Qt(Qt({},h),{},{text:h.text.slice(E)})}Object.assign(h,o),m&&s.push(m),s.push(h),g&&s.push(g)}}n=s}return n}};function Jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function en(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jt(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tn={transform(e,t){e.children=Be(e.children);var n=e.selection&&Be(e.selection);try{n=((e,t,n)=>{switch(n.type){case"insert_node":var{path:r,node:o}=n,i=Nt.parent(e,r),a=r[r.length-1];if(a>i.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(i.children.splice(a,0,o),t)for(var[s,u]of Gt.points(t))t[u]=jt.transform(s,n);break;case"insert_text":var{path:l,offset:c,text:f}=n;if(0===f.length)break;var p=Nt.leaf(e,l),d=p.text.slice(0,c),h=p.text.slice(c);if(p.text=d+f+h,t)for(var[m,g]of Gt.points(t))t[g]=jt.transform(m,n);break;case"merge_node":var{path:v}=n,E=Nt.get(e,v),C=Pt.previous(v),T=Nt.get(e,C),y=Nt.parent(e,v),A=v[v.length-1];if(Zt.isText(E)&&Zt.isText(T))T.text+=E.text;else{if(Zt.isText(E)||Zt.isText(T))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interfaces: ").concat(qt.stringify(E)," ").concat(qt.stringify(T)));T.children.push(...E.children)}if(y.children.splice(A,1),t)for(var[b,D]of Gt.points(t))t[D]=jt.transform(b,n);break;case"move_node":var{path:x,newPath:_}=n;if(Pt.isAncestor(x,_))throw new Error("Cannot move a path [".concat(x,"] to new path [").concat(_,"] because the destination is inside itself."));var k=Nt.get(e,x),O=Nt.parent(e,x),S=x[x.length-1];O.children.splice(S,1);var w=Pt.transform(x,n),N=Nt.get(e,Pt.parent(w)),B=w[w.length-1];if(N.children.splice(B,0,k),t)for(var[F,R]of Gt.points(t))t[R]=jt.transform(F,n);break;case"remove_node":var{path:P}=n,I=P[P.length-1];if(Nt.parent(e,P).children.splice(I,1),t)for(var[M,L]of Gt.points(t)){var j=jt.transform(M,n);if(null!=t&&null!=j)t[L]=j;else{var H=void 0,U=void 0;for(var[z,G]of Nt.texts(e)){if(-1!==Pt.compare(G,P)){U=[z,G];break}H=[z,G]}var K=!1;H&&U&&(K=Pt.equals(U[1],P)?!Pt.hasPrevious(U[1]):Pt.common(H[1],P).length<Pt.common(U[1],P).length),H&&!K?(M.path=H[1],M.offset=H[0].text.length):U?(M.path=U[1],M.offset=0):t=null}}break;case"remove_text":var{path:W,offset:q,text:V}=n;if(0===V.length)break;var Y=Nt.leaf(e,W),$=Y.text.slice(0,q),X=Y.text.slice(q+V.length);if(Y.text=$+X,t)for(var[Q,Z]of Gt.points(t))t[Z]=jt.transform(Q,n);break;case"set_node":var{path:J,properties:ee,newProperties:te}=n;if(0===J.length)throw new Error("Cannot set properties on the root node!");var ne=Nt.get(e,J);for(var re in te){if("children"===re||"text"===re)throw new Error('Cannot set the "'.concat(re,'" property of nodes!'));var oe=te[re];null==oe?delete ne[re]:ne[re]=oe}for(var ie in ee)te.hasOwnProperty(ie)||delete ne[ie];break;case"set_selection":var{newProperties:ae}=n;if(null==ae)t=ae;else{if(null==t){if(!Gt.isRange(ae))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(qt.stringify(ae)," when there is no current selection."));t=en({},ae)}for(var se in ae){var ue=ae[se];if(null==ue){if("anchor"===se||"focus"===se)throw new Error('Cannot remove the "'.concat(se,'" selection property'));delete t[se]}else t[se]=ue}}break;case"split_node":var{path:le,position:ce,properties:fe}=n;if(0===le.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(le,"] because the root node cannot be split."));var pe,de=Nt.get(e,le),he=Nt.parent(e,le),me=le[le.length-1];if(Zt.isText(de)){var ge=de.text.slice(0,ce),ve=de.text.slice(ce);de.text=ge,pe=en(en({},fe),{},{text:ve})}else{var Ee=de.children.slice(0,ce),Ce=de.children.slice(ce);de.children=Ee,pe=en(en({},fe),{},{children:Ce})}if(he.children.splice(me+1,0,pe),t)for(var[Te,ye]of Gt.points(t))t[ye]=jt.transform(Te,n)}return t})(e,n,t)}finally{e.children=Fe(e.children),e.selection=n?M(n)?Fe(n):n:null}}},nn=["text"],rn=["children"];function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var sn={insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_t.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:u}=n;if(Nt.isNode(t)&&(t=[t]),0!==t.length){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?_t.end(e,[]):[0],u=!0),null==u&&(u=!1),Gt.isRange(a))if(r||(a=_t.unhangRange(e,a,{voids:o})),Gt.isCollapsed(a))a=a.anchor;else{var[,c]=Gt.edges(a),f=_t.pointRef(e,c);vn.delete(e,{at:a}),a=f.unref()}if(jt.isPoint(a)){null==s&&(s=Zt.isText(l)?e=>Zt.isText(e):e.isInline(l)?t=>Zt.isText(t)||_t.isInline(e,t):t=>Tt.isElement(t)&&_t.isBlock(e,t));var[p]=_t.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(!p)return;var[,d]=p,h=_t.pathRef(e,d),m=_t.isEnd(e,a,d);vn.splitNodes(e,{at:a,match:s,mode:i,voids:o});var g=h.unref();a=m?Pt.next(g):g}var v=Pt.parent(a),E=a[a.length-1];if(o||!_t.void(e,{at:v})){for(var C of t){var T=v.concat(E);E++,e.apply({type:"insert_node",path:T,node:C}),a=Pt.next(a)}if(a=Pt.previous(a),u){var y=_t.end(e,a);y&&vn.select(e,y)}}}}))},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_t.withoutNormalizing(e,(()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=Pt.isPath(n)?cn(e,n):t=>Tt.isElement(t)&&_t.isBlock(e,t)),n){var a=_t.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,(t=>{var[,n]=t;return _t.pathRef(e,n)}));for(var u of s){var l=u.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=_t.node(e,Pt.parent(l)),[f,p]=c,d=l[l.length-1],{length:h}=f.children;if(1===h){var m=Pt.next(p);vn.moveNodes(e,{at:l,to:m,voids:o}),vn.removeNodes(e,{at:p,voids:o})}else if(0===d)vn.moveNodes(e,{at:l,to:p,voids:o});else if(d===h-1){var g=Pt.next(p);vn.moveNodes(e,{at:l,to:g,voids:o})}else{var v=Pt.next(l),E=Pt.next(p);vn.splitNodes(e,{at:v,voids:o}),vn.moveNodes(e,{at:l,to:E,voids:o})}}}}))},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_t.withoutNormalizing(e,(()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(Pt.isPath(r)){var[s]=_t.parent(e,r);n=e=>s.children.includes(e)}else n=t=>Tt.isElement(t)&&_t.isBlock(e,t);if(!o&&Gt.isRange(r)&&(r=_t.unhangRange(e,r,{voids:i})),Gt.isRange(r))if(Gt.isCollapsed(r))r=r.anchor;else{var[,u]=Gt.edges(r),l=_t.pointRef(e,u);vn.delete(e,{at:r}),r=l.unref(),null==t.at&&vn.select(e,r)}var[c]=_t.nodes(e,{at:r,match:n,voids:i,mode:a}),f=_t.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&f){var[p,d]=c,[h,m]=f;if(0!==d.length&&0!==m.length){var g,v,E=Pt.next(m),C=Pt.common(d,m),T=Pt.isSibling(d,m),y=Array.from(_t.levels(e,{at:d}),(e=>{var[t]=e;return t})).slice(C.length).slice(0,-1),A=_t.above(e,{at:d,mode:"highest",match:t=>y.includes(t)&&un(e,t)}),b=A&&_t.pathRef(e,A[1]);if(Zt.isText(p)&&Zt.isText(h)){var D=We(p,nn);v=h.text.length,g=D}else{if(!Tt.isElement(p)||!Tt.isElement(h))throw new Error("Cannot merge the node at path [".concat(d,"] with the previous sibling because it is not the same kind: ").concat(qt.stringify(p)," ").concat(qt.stringify(h)));D=We(p,rn),v=h.children.length,g=D}T||vn.moveNodes(e,{at:d,to:E,voids:i}),b&&vn.removeNodes(e,{at:b.current,voids:i}),Tt.isElement(h)&&_t.isEmpty(e,h)||Zt.isText(h)&&""===h.text&&0!==m[m.length-1]?vn.removeNodes(e,{at:m,voids:i}):e.apply({type:"merge_node",path:E,position:v,properties:g}),b&&b.unref()}}}}))},moveNodes(e,t){_t.withoutNormalizing(e,(()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=Pt.isPath(r)?cn(e,r):t=>Tt.isElement(t)&&_t.isBlock(e,t));var s=_t.pathRef(e,n),u=_t.nodes(e,{at:r,match:a,mode:o,voids:i}),l=Array.from(u,(t=>{var[,n]=t;return _t.pathRef(e,n)}));for(var c of l){var f=c.unref(),p=s.current;0!==f.length&&e.apply({type:"move_node",path:f,newPath:p}),s.current&&Pt.isSibling(p,f)&&Pt.isAfter(p,f)&&(s.current=Pt.next(s.current))}s.unref()}}))},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_t.withoutNormalizing(e,(()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Pt.isPath(i)?cn(e,i):t=>Tt.isElement(t)&&_t.isBlock(e,t)),!n&&Gt.isRange(i)&&(i=_t.unhangRange(e,i,{voids:r}));var s=_t.nodes(e,{at:i,match:a,mode:o,voids:r}),u=Array.from(s,(t=>{var[,n]=t;return _t.pathRef(e,n)}));for(var l of u){var c=l.unref();if(c){var[f]=_t.node(e,c);e.apply({type:"remove_node",path:c,node:f})}}}}))},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_t.withoutNormalizing(e,(()=>{var{match:r,at:o=e.selection,compare:i,merge:a}=n,{hanging:s=!1,mode:u="lowest",split:l=!1,voids:c=!1}=n;if(o){if(null==r&&(r=Pt.isPath(o)?cn(e,o):t=>Tt.isElement(t)&&_t.isBlock(e,t)),!s&&Gt.isRange(o)&&(o=_t.unhangRange(e,o,{voids:c})),l&&Gt.isRange(o)){if(Gt.isCollapsed(o)&&_t.leaf(e,o.anchor)[0].text.length>0)return;var f=_t.rangeRef(e,o,{affinity:"inward"}),[p,d]=Gt.edges(o),h="lowest"===u?"lowest":"highest",m=_t.isEnd(e,d,d.path);vn.splitNodes(e,{at:d,match:r,mode:h,voids:c,always:!m});var g=_t.isStart(e,p,p.path);vn.splitNodes(e,{at:p,match:r,mode:h,voids:c,always:!g}),o=f.unref(),null==n.at&&vn.select(e,o)}for(var[v,E]of(i||(i=(e,t)=>e!==t),_t.nodes(e,{at:o,match:r,mode:u,voids:c}))){var C={},T={};if(0!==E.length){var y=!1;for(var A in t)"children"!==A&&"text"!==A&&i(t[A],v[A])&&(y=!0,v.hasOwnProperty(A)&&(C[A]=v[A]),a?null!=t[A]&&(T[A]=a(v[A],t[A])):null!=t[A]&&(T[A]=t[A]));y&&e.apply({type:"set_node",path:E,properties:C,newProperties:T})}}}}))},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_t.withoutNormalizing(e,(()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(null==o&&(o=t=>Tt.isElement(t)&&_t.isBlock(e,t)),Gt.isRange(i)&&(i=ln(e,i)),Pt.isPath(i)){var u=i,l=_t.point(e,u),[c]=_t.parent(e,u);o=e=>e===c,a=l.path.length-u.length+1,i=l,s=!0}if(i){var f,p=_t.pointRef(e,i,{affinity:"backward"});try{var[d]=_t.nodes(e,{at:i,match:o,mode:n,voids:r});if(!d)return;var h=_t.void(e,{at:i,mode:"highest"});if(!r&&h){var[m,g]=h;if(Tt.isElement(m)&&e.isInline(m)){var v=_t.after(e,g);if(!v){var E=Pt.next(g);vn.insertNodes(e,{text:""},{at:E,voids:r}),v=_t.point(e,E)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}f=_t.pointRef(e,i);var C=i.path.length-a,[,T]=d,y=i.path.slice(0,C),A=0===a?i.offset:i.path[C]+0;for(var[b,D]of _t.levels(e,{at:y,reverse:!0,voids:r})){var x=!1;if(D.length<T.length||0===D.length||!r&&Tt.isElement(b)&&_t.isVoid(e,b))break;var _=p.current,k=_t.isEnd(e,_,D);if(s||!p||!_t.isEdge(e,_,D)){x=!0;var O=Nt.extractProps(b);e.apply({type:"split_node",path:D,position:A,properties:O})}A=D[D.length-1]+(x||k?1:0)}if(null==t.at){var S=f.current||_t.end(e,[]);vn.select(e,S)}}finally{var w;p.unref(),null===(w=f)||void 0===w||w.unref()}}}))},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;vn.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_t.withoutNormalizing(e,(()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Pt.isPath(i)?cn(e,i):t=>Tt.isElement(t)&&_t.isBlock(e,t)),Pt.isPath(i)&&(i=_t.range(e,i));var s=Gt.isRange(i)?_t.rangeRef(e,i):null,u=_t.nodes(e,{at:i,match:a,mode:n,voids:o}),l=Array.from(u,(t=>{var[,n]=t;return _t.pathRef(e,n)})).reverse(),c=function(t){var n=t.unref(),[i]=_t.node(e,n),a=_t.range(e,n);r&&s&&(a=Gt.intersection(s.current,a)),vn.liftNodes(e,{at:a,match:e=>Tt.isAncestor(i)&&i.children.includes(e),voids:o})};for(var f of l)c(f);s&&s.unref()}}))},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_t.withoutNormalizing(e,(()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(null==a&&(a=Pt.isPath(s)?cn(e,s):e.isInline(t)?t=>Tt.isElement(t)&&_t.isInline(e,t)||Zt.isText(t):t=>Tt.isElement(t)&&_t.isBlock(e,t)),o&&Gt.isRange(s)){var[u,l]=Gt.edges(s),c=_t.rangeRef(e,s,{affinity:"inward"});vn.splitNodes(e,{at:l,match:a,voids:i}),vn.splitNodes(e,{at:u,match:a,voids:i}),s=c.unref(),null==n.at&&vn.select(e,s)}var f=Array.from(_t.nodes(e,{at:s,match:e.isInline(t)?t=>Tt.isElement(t)&&_t.isBlock(e,t):e=>_t.isEditor(e),mode:"lowest",voids:i}));for(var[,p]of f){var d=Gt.isRange(s)?Gt.intersection(s,_t.range(e,p)):s;if(d){var h=Array.from(_t.nodes(e,{at:d,match:a,mode:r,voids:i}));if(h.length>0){var m=function(){var[n]=h,r=h[h.length-1],[,o]=n,[,a]=r;if(0===o.length&&0===a.length)return"continue";var s=Pt.equals(o,a)?Pt.parent(o):Pt.common(o,a),u=_t.range(e,o,a),l=_t.node(e,s),[c]=l,f=s.length+1,p=Pt.next(a.slice(0,f)),d=an(an({},t),{},{children:[]});vn.insertNodes(e,d,{at:p,voids:i}),vn.moveNodes(e,{at:u,match:e=>Tt.isAncestor(c)&&c.children.includes(e),to:p.concat(0),voids:i})}();if("continue"===m)continue}}}}}))}},un=(e,t)=>{if(Tt.isElement(t)){var n=t;return!!_t.isVoid(e,t)||1===n.children.length&&un(e,n.children[0])}return!_t.isEditor(t)},ln=(e,t)=>{if(Gt.isCollapsed(t))return t.anchor;var[,n]=Gt.edges(t),r=_t.pointRef(e,n);return vn.delete(e,{at:t}),r.unref()},cn=(e,t)=>{var[n]=_t.node(e,t);return e=>e===n};function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var dn={collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)vn.select(e,r.anchor);else if("focus"===n)vn.select(e,r.focus);else if("start"===n){var[o]=Gt.edges(r);vn.select(e,o)}else if("end"===n){var[,i]=Gt.edges(r);vn.select(e,i)}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=Gt.isBackward(n)?"focus":"anchor"),"end"===a&&(a=Gt.isBackward(n)?"anchor":"focus");var{anchor:s,focus:u}=n,l={distance:r,unit:o},c={};if(null==a||"anchor"===a){var f=i?_t.before(e,s,l):_t.after(e,s,l);f&&(c.anchor=f)}if(null==a||"focus"===a){var p=i?_t.before(e,u,l):_t.after(e,u,l);p&&(c.focus=p)}vn.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=_t.range(e,t),n)vn.setSelection(e,t);else{if(!Gt.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(qt.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=Gt.isBackward(r)?"focus":"anchor"),"end"===o&&(o=Gt.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;vn.setSelection(e,{["anchor"===o?"anchor":"focus"]:pn(pn({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!jt.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!jt.equals(t.focus,n.focus)||"anchor"!==i&&"focus"!==i&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},hn={delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_t.withoutNormalizing(e,(()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:s=!1}=t;if(a){var u=!1;if(Gt.isRange(a)&&Gt.isCollapsed(a)&&(u=!0,a=a.anchor),jt.isPoint(a)){var l=_t.void(e,{at:a,mode:"highest"});if(!i&&l){var[,c]=l;a=c}else{var f={unit:r,distance:o};a={anchor:a,focus:n?_t.before(e,a,f)||_t.start(e,[]):_t.after(e,a,f)||_t.end(e,[])},s=!0}}if(Pt.isPath(a))vn.removeNodes(e,{at:a,voids:i});else if(!Gt.isCollapsed(a)){if(!s){var[,p]=Gt.edges(a),d=_t.end(e,[]);jt.equals(p,d)||(a=_t.unhangRange(e,a,{voids:i}))}var[h,m]=Gt.edges(a),g=_t.above(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t),at:h,voids:i}),v=_t.above(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t),at:m,voids:i}),E=g&&v&&!Pt.equals(g[1],v[1]),C=Pt.equals(h.path,m.path),T=i?null:_t.void(e,{at:h,mode:"highest"}),y=i?null:_t.void(e,{at:m,mode:"highest"});if(T){var A=_t.before(e,h);A&&g&&Pt.isAncestor(g[1],A.path)&&(h=A)}if(y){var b=_t.after(e,m);b&&v&&Pt.isAncestor(v[1],b.path)&&(m=b)}var D,x=[];for(var _ of _t.nodes(e,{at:a,voids:i})){var[k,O]=_;D&&0===Pt.compare(O,D)||(!i&&Tt.isElement(k)&&_t.isVoid(e,k)||!Pt.isCommon(O,h.path)&&!Pt.isCommon(O,m.path))&&(x.push(_),D=O)}var S=Array.from(x,(t=>{var[,n]=t;return _t.pathRef(e,n)})),w=_t.pointRef(e,h),N=_t.pointRef(e,m),B="";if(!C&&!T){var F=w.current,[R]=_t.leaf(e,F),{path:P}=F,{offset:I}=h,M=R.text.slice(I);M.length>0&&(e.apply({type:"remove_text",path:P,offset:I,text:M}),B=M)}if(S.reverse().map((e=>e.unref())).filter((e=>null!==e)).forEach((t=>vn.removeNodes(e,{at:t,voids:i}))),!y){var L=N.current,[j]=_t.leaf(e,L),{path:H}=L,U=C?h.offset:0,z=j.text.slice(U,m.offset);z.length>0&&(e.apply({type:"remove_text",path:H,offset:U,text:z}),B=z)}!C&&E&&N.current&&w.current&&vn.mergeNodes(e,{at:N.current,hanging:!0,voids:i}),u&&n&&"character"===r&&B.length>1&&B.match(/[\u0E00-\u0E7F]+/)&&vn.insertText(e,B.slice(0,B.length-o));var G=w.unref(),K=N.unref(),W=n?G||K:K||G;null==t.at&&W&&vn.select(e,W)}}}))},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_t.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(Gt.isRange(i))if(r||(i=_t.unhangRange(e,i,{voids:o})),Gt.isCollapsed(i))i=i.anchor;else{var[,a]=Gt.edges(i);if(!o&&_t.void(e,{at:a}))return;var s=_t.pointRef(e,a);vn.delete(e,{at:i}),i=s.unref()}else Pt.isPath(i)&&(i=_t.start(e,i));if(o||!_t.void(e,{at:i})){var u=_t.above(e,{at:i,match:t=>Tt.isElement(t)&&_t.isInline(e,t),mode:"highest",voids:o});if(u){var[,l]=u;_t.isEnd(e,i,l)?i=_t.after(e,l):_t.isStart(e,i,l)&&(i=_t.before(e,l))}var c=_t.above(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t),at:i,voids:o}),[,f]=c,p=_t.isStart(e,i,f),d=_t.isEnd(e,i,f),h=p&&d,m=!p||p&&d,g=!d,[,v]=Nt.first({children:t},[]),[,E]=Nt.last({children:t},[]),C=[],T=t=>{var[n,r]=t;return!(0===r.length||!h&&(m&&Pt.isAncestor(r,v)&&Tt.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)||g&&Pt.isAncestor(r,E)&&Tt.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))};for(var y of Nt.nodes({children:t},{pass:T}))T(y)&&C.push(y);var A=[],b=[],D=[],x=!0,_=!1;for(var[k]of C)Tt.isElement(k)&&!e.isInline(k)?(x=!1,_=!0,b.push(k)):x?A.push(k):D.push(k);var[O]=_t.nodes(e,{at:i,match:t=>Zt.isText(t)||_t.isInline(e,t),mode:"highest",voids:o}),[,S]=O,w=_t.isStart(e,i,S),N=_t.isEnd(e,i,S),B=_t.pathRef(e,d&&!D.length?Pt.next(f):f),F=_t.pathRef(e,N?Pt.next(S):S);vn.splitNodes(e,{at:i,match:t=>_?Tt.isElement(t)&&_t.isBlock(e,t):Zt.isText(t)||_t.isInline(e,t),mode:_?"lowest":"highest",always:_&&(!p||A.length>0)&&(!d||D.length>0),voids:o});var R,P=_t.pathRef(e,!w||w&&N?Pt.next(S):S);if(vn.insertNodes(e,A,{at:P.current,match:t=>Zt.isText(t)||_t.isInline(e,t),mode:"highest",voids:o}),h&&!A.length&&b.length&&!D.length&&vn.delete(e,{at:f,voids:o}),vn.insertNodes(e,b,{at:B.current,match:t=>Tt.isElement(t)&&_t.isBlock(e,t),mode:"lowest",voids:o}),vn.insertNodes(e,D,{at:F.current,match:t=>Zt.isText(t)||_t.isInline(e,t),mode:"highest",voids:o}),!n.at&&(D.length>0&&F.current?R=Pt.previous(F.current):b.length>0&&B.current?R=Pt.previous(B.current):P.current&&(R=Pt.previous(P.current)),R)){var I=_t.end(e,R);vn.select(e,I)}P.unref(),B.unref(),F.unref()}}}))},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_t.withoutNormalizing(e,(()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(Pt.isPath(o)&&(o=_t.range(e,o)),Gt.isRange(o))if(Gt.isCollapsed(o))o=o.anchor;else{var i=Gt.end(o);if(!r&&_t.void(e,{at:i}))return;var a=Gt.start(o),s=_t.pointRef(e,a),u=_t.pointRef(e,i);vn.delete(e,{at:o,voids:r});var l=s.unref(),c=u.unref();o=l||c,vn.setSelection(e,{anchor:o,focus:o})}if(r||!_t.void(e,{at:o})){var{path:f,offset:p}=o;t.length>0&&e.apply({type:"insert_text",path:f,offset:p,text:t})}}}))}};function mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach((function(t){Re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vn=gn(gn(gn(gn({},tn),sn),dn),hn),En=l(93636),Cn=l.n(En),Tn=l(54073),yn=l.n(Tn),An=l(12436),bn=l.n(An);function Dn(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function xn(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function _n(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return xn(n.overflowY,t)||xn(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function kn(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var On=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,u="function"==typeof a?a:function(e){return e!==a};if(!Dn(e))throw new TypeError("Invalid target");for(var l,c,f=document.scrollingElement||document.documentElement,p=[],d=e;Dn(d)&&u(d);){if((d=null==(c=(l=d).parentElement)?l.getRootNode().host||null:c)===f){p.push(d);break}null!=d&&d===document.body&&_n(d)&&!_n(document.documentElement)||null!=d&&_n(d,s)&&p.push(d)}for(var h=n.visualViewport?n.visualViewport.width:innerWidth,m=n.visualViewport?n.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,E=e.getBoundingClientRect(),C=E.height,T=E.width,y=E.top,A=E.right,b=E.bottom,D=E.left,x="start"===o||"nearest"===o?y:"end"===o?b:y+C/2,_="center"===i?D+T/2:"end"===i?A:D,k=[],O=0;O<p.length;O++){var S=p[O],w=S.getBoundingClientRect(),N=w.height,B=w.width,F=w.top,R=w.right,P=w.bottom,I=w.left;if("if-needed"===r&&y>=0&&D>=0&&b<=m&&A<=h&&y>=F&&b<=P&&D>=I&&A<=R)return k;var M=getComputedStyle(S),L=parseInt(M.borderLeftWidth,10),j=parseInt(M.borderTopWidth,10),H=parseInt(M.borderRightWidth,10),U=parseInt(M.borderBottomWidth,10),z=0,G=0,K="offsetWidth"in S?S.offsetWidth-S.clientWidth-L-H:0,W="offsetHeight"in S?S.offsetHeight-S.clientHeight-j-U:0,q="offsetWidth"in S?0===S.offsetWidth?0:B/S.offsetWidth:0,V="offsetHeight"in S?0===S.offsetHeight?0:N/S.offsetHeight:0;if(f===S)z="start"===o?x:"end"===o?x-m:"nearest"===o?kn(v,v+m,m,j,U,v+x,v+x+C,C):x-m/2,G="start"===i?_:"center"===i?_-h/2:"end"===i?_-h:kn(g,g+h,h,L,H,g+_,g+_+T,T),z=Math.max(0,z+v),G=Math.max(0,G+g);else{z="start"===o?x-F-j:"end"===o?x-P+U+W:"nearest"===o?kn(F,P,N,j,U+W,x,x+C,C):x-(F+N/2)+W/2,G="start"===i?_-I-L:"center"===i?_-(I+B/2)+K/2:"end"===i?_-R+H+K:kn(I,R,B,L,H+K,_,_+T,T);var Y=S.scrollLeft,$=S.scrollTop;x+=$-(z=Math.max(0,Math.min($+z/V,S.scrollHeight-N/V+W))),_+=Y-(G=Math.max(0,Math.min(Y+G/q,S.scrollWidth-B/q+K)))}k.push({el:S,top:z,left:G})}return k};function Sn(e){return e===Object(e)&&0!==Object.keys(e).length}var wn,Nn=[],Bn="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(wn||(wn={}));var Fn,Rn=function(e){return Object.freeze(e)},Pn=function(e,t){this.inlineSize=e,this.blockSize=t,Rn(this)},In=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Rn(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Mn=function(e){return e instanceof SVGElement&&"getBBox"in e},Ln=function(e){if(Mn(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},jn=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Hn="undefined"!=typeof window?window:{},Un=new WeakMap,zn=/auto|scroll/,Gn=/^tb|vertical/,Kn=/msie|trident/i.test(Hn.navigator&&Hn.navigator.userAgent),Wn=function(e){return parseFloat(e||"0")},qn=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Pn((n?t:e)||0,(n?e:t)||0)},Vn=Rn({devicePixelContentBoxSize:qn(),borderBoxSize:qn(),contentBoxSize:qn(),contentRect:new In(0,0,0,0)}),Yn=function(e,t){if(void 0===t&&(t=!1),Un.has(e)&&!t)return Un.get(e);if(Ln(e))return Un.set(e,Vn),Vn;var n=getComputedStyle(e),r=Mn(e)&&e.ownerSVGElement&&e.getBBox(),o=!Kn&&"border-box"===n.boxSizing,i=Gn.test(n.writingMode||""),a=!r&&zn.test(n.overflowY||""),s=!r&&zn.test(n.overflowX||""),u=r?0:Wn(n.paddingTop),l=r?0:Wn(n.paddingRight),c=r?0:Wn(n.paddingBottom),f=r?0:Wn(n.paddingLeft),p=r?0:Wn(n.borderTopWidth),d=r?0:Wn(n.borderRightWidth),h=r?0:Wn(n.borderBottomWidth),m=f+l,g=u+c,v=(r?0:Wn(n.borderLeftWidth))+d,E=p+h,C=s?e.offsetHeight-E-e.clientHeight:0,T=a?e.offsetWidth-v-e.clientWidth:0,y=o?m+v:0,A=o?g+E:0,b=r?r.width:Wn(n.width)-y-T,D=r?r.height:Wn(n.height)-A-C,x=b+m+T+v,_=D+g+C+E,k=Rn({devicePixelContentBoxSize:qn(Math.round(b*devicePixelRatio),Math.round(D*devicePixelRatio),i),borderBoxSize:qn(x,_,i),contentBoxSize:qn(b,D,i),contentRect:new In(f,u,b,D)});return Un.set(e,k),k},$n=function(e,t,n){var r=Yn(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case wn.DEVICE_PIXEL_CONTENT_BOX:return a;case wn.BORDER_BOX:return o;default:return i}},Xn=function(e){var t=Yn(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Rn([t.borderBoxSize]),this.contentBoxSize=Rn([t.contentBoxSize]),this.devicePixelContentBoxSize=Rn([t.devicePixelContentBoxSize])},Qn=function(e){if(Ln(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Zn=function(){var e=1/0,t=[];Nn.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new Xn(t.target),o=Qn(t.target);r.push(n),t.lastReportedSize=$n(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},Jn=function(e){Nn.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(Qn(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},er=[],tr=0,nr={attributes:!0,characterData:!0,childList:!0,subtree:!0},rr=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],or=function(e){return void 0===e&&(e=0),Date.now()+e},ir=!1,ar=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!ir){ir=!0;var n,r=or(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(Jn(t);Nn.some((function(e){return e.activeTargets.length>0}));)t=Zn(),Jn(t);return Nn.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Bn}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Bn),window.dispatchEvent(e)),t>0}()}finally{if(ir=!1,e=r-or(),!tr)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!Fn){var t=0,n=document.createTextNode("");new MutationObserver((function(){return er.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Fn=function(){n.textContent="".concat(t?t--:t++)}}er.push(e),Fn()}((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,nr)};document.body?t():Hn.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),rr.forEach((function(t){return Hn.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),rr.forEach((function(t){return Hn.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),sr=function(e){!tr&&e>0&&ar.start(),!(tr+=e)&&ar.stop()},ur=function(){function e(e,t){this.target=e,this.observedBox=t||wn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=$n(this.target,this.observedBox,!0);return e=this.target,Mn(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),lr=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},cr=new WeakMap,fr=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},pr=function(){function e(){}return e.connect=function(e,t){var n=new lr(e,t);cr.set(e,n)},e.observe=function(e,t,n){var r=cr.get(e),o=0===r.observationTargets.length;fr(r.observationTargets,t)<0&&(o&&Nn.push(r),r.observationTargets.push(new ur(t,n&&n.box)),sr(1),ar.schedule())},e.unobserve=function(e,t){var n=cr.get(e),r=fr(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&Nn.splice(Nn.indexOf(n),1),n.observationTargets.splice(r,1),sr(-1))},e.disconnect=function(e){var t=this,n=cr.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),dr=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");pr.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jn(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");pr.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!jn(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");pr.unobserve(this,e)},e.prototype.disconnect=function(){pr.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),hr=l(17249),mr=l(53741),gr=l.n(mr);function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Er(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Cr=0;class Tr{constructor(){this.id="".concat(Cr++)}}var yr=new WeakMap,Ar=new WeakMap,br=new WeakMap,Dr=new WeakMap,xr=new WeakMap,_r=new WeakMap,kr=new WeakMap,Or=new WeakMap,Sr=new WeakMap,wr=new WeakMap,Nr=new WeakMap,Br=new WeakMap,Fr=new WeakMap,Rr=new WeakMap,Pr=new WeakMap,Ir=new WeakMap,Mr=new WeakMap,Lr=new WeakMap,jr=new WeakMap,Hr=new WeakMap,Ur=new WeakMap,zr=Symbol("placeholder"),Gr=Symbol("mark-placeholder"),Kr=globalThis.Text,Wr=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,qr=e=>Vr(e)&&1===e.nodeType,Vr=e=>{var t=Wr(e);return!!t&&e instanceof t.Node},Yr=e=>{var t=e&&e.anchorNode&&Wr(e.anchorNode);return!!t&&e instanceof t.Selection},$r=e=>Vr(e)&&3===e.nodeType,Xr=(e,t,n)=>{for(var r,{childNodes:o}=e,i=o[t],a=t,s=!1,u=!1;(Vr(r=i)&&8===r.nodeType||qr(i)&&0===i.childNodes.length||qr(i)&&"false"===i.getAttribute("contenteditable"))&&(!s||!u);)a>=o.length?(s=!0,a=t-1,n="backward"):a<0?(u=!0,a=t+1,n="forward"):(i=o[a],t=a,a+="forward"===n?1:-1);return[i,t]},Qr=(e,t,n)=>{var[r]=Xr(e,t,n);return r},Zr=e=>{var t="";if($r(e)&&e.nodeValue)return e.nodeValue;if(qr(e)){for(var n of Array.from(e.childNodes))t+=Zr(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},Jr=/data-slate-fragment="(.+?)"/m,eo=(e,t,n)=>{var{target:r}=t;if(qr(r)&&r.matches('[contentEditable="false"]'))return!1;var{document:o}=vo.getWindow(e);if(o.contains(r))return vo.hasDOMNode(e,r,{editable:!0});var i=n.find((e=>{var{addedNodes:t,removedNodes:n}=e;for(var o of t)if(o===r||o.contains(r))return!0;for(var i of n)if(i===r||i.contains(r))return!0}));return!(!i||i===t)&&eo(e,i,n)},to=parseInt(t().version.split(".")[0],10)>=17,no="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ro="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),oo="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),io="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ao="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),so="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),uo="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),lo="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),co=oo&&"undefined"!=typeof navigator&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),fo="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),po="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),ho="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),mo=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),go=(!lo||!co)&&!so&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,vo={isComposing:e=>!!Br.get(e),getWindow(e){var t=br.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey(e,t){var n=Or.get(t);return n||(n=new Tr,Or.set(t,n)),n},findPath(e,t){for(var n=[],r=t;;){var o=Ar.get(r);if(null==o){if(_t.isEditor(r))return n;break}var i=yr.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(qt.stringify(t)))},findDocumentOrShadowRoot(e){var t=vo.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&null!=n.getSelection?n:t.ownerDocument},isFocused:e=>!!Nr.get(e),isReadOnly:e=>!!wr.get(e),blur(e){var t=vo.toDOMNode(e,e),n=vo.findDocumentOrShadowRoot(e);Nr.set(e,!1),n.activeElement===t&&t.blur()},focus(e){var t=vo.toDOMNode(e,e),n=vo.findDocumentOrShadowRoot(e);Nr.set(e,!0),n.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,n=vo.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&vn.deselect(e)},hasDOMNode(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=vo.toDOMNode(e,e);try{n=qr(t)?t:t.parentElement}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return!!n&&!(n.closest("[data-slate-editor]")!==i||o&&!n.isContentEditable&&("boolean"!=typeof n.isContentEditable||n.closest('[contenteditable="false"]')!==i)&&!n.getAttribute("data-slate-zero-width"))},insertData(e,t){e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),setFragmentData(e,t,n){e.setFragmentData(t,n)},toDOMNode(e,t){var n=Sr.get(e),r=_t.isEditor(t)?Dr.get(e):null==n?void 0:n.get(vo.findKey(e,t));if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(qt.stringify(t)));return r},toDOMPoint(e,t){var n,[r]=_t.node(e,t.path),o=vo.toDOMNode(e,r);_t.void(e,{at:t})&&(t={path:t.path,offset:0});for(var i=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),a=0,s=0;s<i.length;s++){var u=i[s],l=u.childNodes[0];if(null!=l&&null!=l.textContent){var{length:c}=l.textContent,f=u.getAttribute("data-slate-length"),p=a+(null==f?c:parseInt(f,10)),d=i[s+1];if(t.offset===p&&null!=d&&d.hasAttribute("data-slate-mark-placeholder")){var h,m=d.childNodes[0];n=[m instanceof Kr?m:d,null!==(h=d.textContent)&&void 0!==h&&h.startsWith("\ufeff")?1:0];break}if(t.offset<=p){n=[l,Math.min(c,Math.max(0,t.offset-a))];break}a=p}}if(!n)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(qt.stringify(t)));return n},toDOMRange(e,t){var{anchor:n,focus:r}=t,o=Gt.isBackward(t),i=vo.toDOMPoint(e,n),a=Gt.isCollapsed(t)?i:vo.toDOMPoint(e,r),s=vo.getWindow(e).document.createRange(),[u,l]=o?a:i,[c,f]=o?i:a,p=!!(qr(u)?u:u.parentElement).getAttribute("data-slate-zero-width"),d=!!(qr(c)?c:c.parentElement).getAttribute("data-slate-zero-width");return s.setStart(u,p?1:l),s.setEnd(c,d?1:f),s},toSlateNode(e,t){var n=qr(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?_r.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:o}=t;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var i,a=vo.toSlateNode(e,t.target),s=vo.findPath(e,a);if(Tt.isElement(a)&&_t.isVoid(e,a)){var u=o.getBoundingClientRect(),l=e.isInline(a)?n-u.left<u.left+u.width-n:r-u.top<u.top+u.height-r,c=_t.point(e,s,{edge:l?"start":"end"}),f=l?_t.before(e,c):_t.after(e,c);if(f)return _t.range(e,f)}var{document:p}=vo.getWindow(e);if(p.caretRangeFromPoint)i=p.caretRangeFromPoint(n,r);else{var d=p.caretPositionFromPoint(n,r);d&&((i=p.createRange()).setStart(d.offsetNode,d.offset),i.setEnd(d.offsetNode,d.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return vo.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},toSlatePoint(e,t,n){var{exactMatch:r,suppressThrow:o}=n,[i,a]=r?t:(e=>{var[t,n]=e;if(qr(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?n-1:n;for([t,o]=Xr(t,o,r?"backward":"forward"),r=o<n;qr(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=Qr(t,i,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),s=i.parentNode,u=null,l=0;if(s){var c,f,p=vo.toDOMNode(e,e),d=s.closest('[data-slate-void="true"]'),h=d&&p.contains(d)?d:null,m=s.closest("[data-slate-leaf]"),g=null;if(m){if(u=m.closest('[data-slate-node="text"]')){var v=vo.getWindow(e).document.createRange();v.setStart(u,0),v.setEnd(i,a);var E=v.cloneContents();[...Array.prototype.slice.call(E.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(E.querySelectorAll("[contenteditable=false]"))].forEach((e=>{oo&&!r&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\ufeff"!==e.textContext?e.textContent.startsWith("\ufeff")&&(e.textContent=e.textContent.slice(1)):e.parentNode.removeChild(e)})),l=E.textContent.length,g=u}}else if(h){for(var C=h.querySelectorAll("[data-slate-leaf]"),T=0;T<C.length;T++){var y=C[T];if(vo.hasDOMNode(e,y)){m=y;break}}m?(u=m.closest('[data-slate-node="text"]'),l=(g=m).textContent.length,g.querySelectorAll("[data-slate-zero-width]").forEach((e=>{l-=e.textContent.length}))):l=1}g&&l===g.textContent.length&&oo&&"z"===g.getAttribute("data-slate-zero-width")&&null!==(c=g.textContent)&&void 0!==c&&c.startsWith("\ufeff")&&(s.hasAttribute("data-slate-zero-width")||io&&null!==(f=g.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&l--}if(oo&&!u&&!r){var A=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(A&&vo.hasDOMNode(e,A,{editable:!0})){var b=vo.toSlateNode(e,A),{path:D,offset:x}=_t.start(e,vo.findPath(e,b));return A.querySelector("[data-slate-leaf]")||(x=a),{path:D,offset:x}}}if(!u){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var _=vo.toSlateNode(e,u);return{path:vo.findPath(e,_),offset:l}},toSlateRange(e,t,n){var r,o,i,a,s,u,{exactMatch:l,suppressThrow:c}=n;if((Yr(t)?t.anchorNode:t.startContainer)&&(Yr(t)?(r=t.anchorNode,o=t.anchorOffset,i=t.focusNode,a=t.focusOffset,s=uo&&(e=>{for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1})(r)?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,o=t.startOffset,i=t.endContainer,a=t.endOffset,s=t.collapsed)),null==r||null==i||null==o||null==a)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));"getAttribute"in i&&"false"===i.getAttribute("contenteditable")&&(i=r,a=(null===(u=r.textContent)||void 0===u?void 0:u.length)||0);var f=vo.toSlatePoint(e,[r,o],{exactMatch:l,suppressThrow:c});if(!f)return null;var p=s?f:vo.toSlatePoint(e,[i,a],{exactMatch:l,suppressThrow:c});if(!p)return null;if(io&&!s&&r!==i){var d=_t.isEnd(e,f,f.path),h=_t.isStart(e,p,p.path);d&&(f=_t.after(e,f)||f),h&&(p=_t.before(e,p)||p)}var m={anchor:f,focus:p};return Gt.isExpanded(m)&&Gt.isForward(m)&&qr(i)&&_t.void(e,{at:m.focus,mode:"highest"})&&(m=_t.unhangRange(e,m,{voids:!0})),m},hasRange(e,t){var{anchor:n,focus:r}=t;return _t.hasPath(e,n.path)&&_t.hasPath(e,r.path)},hasTarget:(e,t)=>Vr(t)&&vo.hasDOMNode(e,t),hasEditableTarget:(e,t)=>Vr(t)&&vo.hasDOMNode(e,t,{editable:!0}),hasSelectableTarget:(e,t)=>vo.hasEditableTarget(e,t)||vo.isTargetInsideNonReadonlyVoid(e,t),isTargetInsideNonReadonlyVoid(e,t){if(wr.get(e))return!1;var n=vo.hasTarget(e,t)&&vo.toSlateNode(e,t);return Tt.isElement(n)&&_t.isVoid(e,n)},androidScheduleFlush(e){var t;null===(t=Pr.get(e))||void 0===t||t()},androidPendingDiffs:e=>Lr.get(e)},Eo=["anchor","focus"],Co=["anchor","focus"],To=(e,t)=>{var n,r,o=Er(e,Eo),i=Er(t,Co);return e[zr]===t[zr]&&(n=o,r=i,Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every((e=>r.hasOwnProperty(e)&&n[e]===r[e])))},yo=mo?e.useLayoutEffect:e.useEffect,Ao=e=>{var{isLast:n,leaf:r,parent:o,text:i}=e,a=ko(),s=vo.findPath(a,i),u=Pt.parent(s),l=!0===r[Gr];return a.isVoid(o)?t().createElement(xo,{length:Nt.string(o).length}):""!==r.text||o.children[o.children.length-1]!==i||a.isInline(o)||""!==_t.string(a,u)?""===r.text?t().createElement(xo,{isMarkPlaceholder:l}):n&&"\n"===r.text.slice(-1)?t().createElement(bo,{isTrailing:!0,text:r.text}):t().createElement(bo,{text:r.text}):t().createElement(xo,{isLineBreak:!0,isMarkPlaceholder:l})},bo=n=>{var{text:r,isTrailing:o=!1}=n,i=(0,e.useRef)(null),a=()=>"".concat(null!=r?r:"").concat(o?"\n":""),[s]=(0,e.useState)(a);return yo((()=>{var e=a();i.current&&i.current.textContent!==e&&(i.current.textContent=e)})),t().createElement(Do,{ref:i},s)},Do=(0,e.memo)((0,e.forwardRef)(((e,n)=>t().createElement("span",{"data-slate-string":!0,ref:n},e.children)))),xo=e=>{var{length:n=0,isLineBreak:r=!1,isMarkPlaceholder:o=!1}=e,i={"data-slate-zero-width":r?"n":"z","data-slate-length":n};return o&&(i["data-slate-mark-placeholder"]=!0),t().createElement("span",Object.assign({},i),oo&&r?null:"\ufeff",r?t().createElement("br",null):null)},_o=(0,e.createContext)(null),ko=()=>{var t=(0,e.useContext)(_o);if(!t)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return t},Oo=n=>{var{leaf:r,isLast:o,text:i,parent:a,renderPlaceholder:s,renderLeaf:u=(e=>t().createElement(wo,Object.assign({},e)))}=n,l=(0,e.useRef)(null),c=(0,e.useRef)(null),f=ko(),p=(0,e.useRef)(null);(0,e.useEffect)((()=>()=>{p.current&&p.current.disconnect()}),[]),(0,e.useEffect)((()=>{var e=null==c?void 0:c.current;if(e?xr.set(f,e):xr.delete(f),p.current)p.current.disconnect(),e&&p.current.observe(e);else if(e){var t=window.ResizeObserver||dr;p.current=new t((()=>{var e=Ur.get(f);null==e||e()})),p.current.observe(e)}if(!e&&l.current){var n=Ur.get(f);null==n||n()}return l.current=c.current,()=>{xr.delete(f)}}),[c,r]);var d=t().createElement(Ao,{isLast:o,leaf:r,parent:a,text:i});if(r[zr]){var h={children:r.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:c}};d=t().createElement(t().Fragment,null,s(h),d)}return u({attributes:{"data-slate-leaf":!0},children:d,leaf:r,text:i})},So=t().memo(Oo,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&Zt.equals(t.leaf,e.leaf)&&t.leaf[zr]===e.leaf[zr])),wo=e=>{var{attributes:n,children:r}=e;return t().createElement("span",Object.assign({},n),r)},No=n=>{for(var{decorations:r,isLast:o,parent:i,renderPlaceholder:a,renderLeaf:s,text:u}=n,l=ko(),c=(0,e.useRef)(null),f=Zt.decorations(u,r),p=vo.findKey(l,u),d=[],h=0;h<f.length;h++){var m=f[h];d.push(t().createElement(So,{isLast:o&&h===f.length-1,key:"".concat(p.id,"-").concat(h),renderPlaceholder:a,leaf:m,text:u,parent:i,renderLeaf:s}))}var g=(0,e.useCallback)((e=>{var t=Sr.get(l);e?(null==t||t.set(p,e),kr.set(u,e),_r.set(e,u)):(null==t||t.delete(p),kr.delete(u),c.current&&_r.delete(c.current)),c.current=e}),[c,l,p,u]);return t().createElement("span",{"data-slate-node":"text",ref:g},d)},Bo=t().memo(No,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&((e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(r.anchor.offset!==o.anchor.offset||r.focus.offset!==o.focus.offset||!To(r,o))return!1}return!0})(t.decorations,e.decorations))),Fo=n=>{var{decorations:r,element:o,renderElement:i=(e=>t().createElement(Po,Object.assign({},e))),renderPlaceholder:a,renderLeaf:s,selection:u}=n,l=ko(),c=Uo(),f=l.isInline(o),p=vo.findKey(l,o),d=(0,e.useCallback)((e=>{var t=Sr.get(l);e?(null==t||t.set(p,e),kr.set(o,e),_r.set(e,o)):(null==t||t.delete(p),kr.delete(o))}),[l,p,o]),h=jo({decorations:r,node:o,renderElement:i,renderPlaceholder:a,renderLeaf:s,selection:u}),m={"data-slate-node":"element",ref:d};if(f&&(m["data-slate-inline"]=!0),!f&&_t.hasInlines(l,o)){var g=Nt.string(o),v=Cn()(g);"rtl"===v&&(m.dir=v)}if(_t.isVoid(l,o)){m["data-slate-void"]=!0,!c&&f&&(m.contentEditable=!1);var E=f?"span":"div",[[C]]=Nt.texts(o);h=t().createElement(E,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},t().createElement(Bo,{renderPlaceholder:a,decorations:[],isLast:!1,parent:o,text:C})),yr.set(C,0),Ar.set(C,o)}return i({attributes:m,children:h,element:o})},Ro=t().memo(Fo,((e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&((e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!Gt.equals(r,o)||!To(r,o))return!1}return!0})(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&Gt.equals(e.selection,t.selection)))),Po=e=>{var{attributes:n,children:r,element:o}=e,i=ko().isInline(o)?"span":"div";return t().createElement(i,Object.assign({},n,{style:{position:"relative"}}),r)},Io=(0,e.createContext)((()=>[])),Mo=(0,e.createContext)(!1),Lo=()=>(0,e.useContext)(Mo),jo=n=>{for(var{decorations:r,node:o,renderElement:i,renderPlaceholder:a,renderLeaf:s,selection:u}=n,l=(0,e.useContext)(Io),c=ko(),f=vo.findPath(c,o),p=[],d=Tt.isElement(o)&&!c.isInline(o)&&_t.hasInlines(c,o),h=0;h<o.children.length;h++){var m=f.concat(h),g=o.children[h],v=vo.findKey(c,g),E=_t.range(c,m),C=u&&Gt.intersection(E,u),T=l([g,m]);for(var y of r){var A=Gt.intersection(y,E);A&&T.push(A)}Tt.isElement(g)?p.push(t().createElement(Mo.Provider,{key:"provider-".concat(v.id),value:!!C},t().createElement(Ro,{decorations:T,element:g,key:v.id,renderElement:i,renderPlaceholder:a,renderLeaf:s,selection:C}))):p.push(t().createElement(Bo,{decorations:T,key:v.id,isLast:d&&h===o.children.length-1,parent:o,renderPlaceholder:a,renderLeaf:s,text:g})),yr.set(g,h),Ar.set(g,o)}return p},Ho=(0,e.createContext)(!1),Uo=()=>(0,e.useContext)(Ho),zo=(0,e.createContext)(null),Go=()=>{var t=(0,e.useContext)(zo);if(!t)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:n}=t;return n},Ko={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},Wo={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},qo={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Vo=e=>{var t=Ko[e],n=Wo[e],r=qo[e],o=t&&(0,hr.TB)(t),i=n&&(0,hr.TB)(n),a=r&&(0,hr.TB)(r);return e=>!(!o||!o(e))||!!(ro&&i&&i(e))||!(ro||!a||!a(e))},Yo={isBold:Vo("bold"),isCompose:Vo("compose"),isMoveBackward:Vo("moveBackward"),isMoveForward:Vo("moveForward"),isDeleteBackward:Vo("deleteBackward"),isDeleteForward:Vo("deleteForward"),isDeleteLineBackward:Vo("deleteLineBackward"),isDeleteLineForward:Vo("deleteLineForward"),isDeleteWordBackward:Vo("deleteWordBackward"),isDeleteWordForward:Vo("deleteWordForward"),isExtendBackward:Vo("extendBackward"),isExtendForward:Vo("extendForward"),isExtendLineBackward:Vo("extendLineBackward"),isExtendLineForward:Vo("extendLineForward"),isItalic:Vo("italic"),isMoveLineBackward:Vo("moveLineBackward"),isMoveLineForward:Vo("moveLineForward"),isMoveWordBackward:Vo("moveWordBackward"),isMoveWordForward:Vo("moveWordForward"),isRedo:Vo("redo"),isSoftBreak:Vo("insertSoftBreak"),isSplitBlock:Vo("splitBlock"),isTransposeCharacter:Vo("transposeCharacter"),isUndo:Vo("undo")},$o={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class Xo extends e.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,$o)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=((e,t)=>{var n=[],r=()=>{n=[]};return{registerMutations:r=>{if(t.current){var o=r.filter((t=>eo(e,t,r)));n.push(...o)}},restoreDOM:function(){n.length>0&&(n.reverse().forEach((e=>{"characterData"!==e.type&&(e.removedNodes.forEach((t=>{e.target.insertBefore(t,e.nextSibling)})),e.addedNodes.forEach((t=>{e.target.removeChild(t)})))})),r())},clear:r}})(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,n,r,o=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();return null!=o&&o.length&&(null===(r=this.manager)||void 0===r||r.registerMutations(o)),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(n=this.manager)||void 0===n||n.restoreDOM(),null}componentDidUpdate(){var e;null===(e=this.manager)||void 0===e||e.clear(),this.observe()}componentWillUnmount(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return this.props.children}}Xo.contextType=_o;var Qo=oo?Xo:e=>{var{children:n}=e;return t().createElement(t().Fragment,null,n)};function Zo(e,t){var{path:n,diff:r}=t;if(!_t.hasPath(e,n))return!1;var o=Nt.get(e,n);if(!Zt.isText(o))return!1;if(r.start!==o.text.length||0===r.text.length)return o.text.slice(r.start,r.start+r.text.length)===r.text;var i=Pt.next(n);if(!_t.hasPath(e,i))return!1;var a=Nt.get(e,i);return Zt.isText(a)&&a.text.startsWith(r.text)}function Jo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce(((e,t)=>e.slice(0,t.start)+t.text+e.slice(t.end)),e)}function ei(e,t){var{start:n,end:r,text:o}=t,i=e.slice(n,r),a=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return n}(i,o),s=function(e,t,n){for(var r=Math.min(e.length,t.length,n),o=0;o<r;o++)if(e.charAt(e.length-o-1)!==t.charAt(t.length-o-1))return o;return r}(i,o,Math.min(i.length-a,o.length-a)),u={start:n+a,end:r-s,text:o.slice(a,o.length-s)};return u.start===u.end&&0===u.text.length?null:u}function ti(e){var{path:t,diff:n}=e;return{anchor:{path:t,offset:n.start},focus:{path:t,offset:n.end}}}function ni(e,t){var{path:n,offset:r}=t;if(!_t.hasPath(e,n))return null;var o=Nt.get(e,n);if(!Zt.isText(o))return null;var i=_t.above(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t),at:n});if(!i)return null;for(;r>o.text.length;){var a=_t.next(e,{at:n,match:Zt.isText});if(!a||!Pt.isDescendant(a[1],i[1]))return null;r-=o.text.length,o=a[0],n=a[1]}return{path:n,offset:r}}function ri(e,t){var n=ni(e,t.anchor);if(!n)return null;if(Gt.isCollapsed(t))return{anchor:n,focus:n};var r=ni(e,t.focus);return r?{anchor:n,focus:r}:null}function oi(e,t,n){var r=Lr.get(e),o=null==r?void 0:r.find((e=>{var{path:n}=e;return Pt.equals(n,t.path)}));if(!o||t.offset<=o.diff.start)return jt.transform(t,n,{affinity:"backward"});var{diff:i}=o;if(t.offset<=i.start+i.text.length){var a={path:t.path,offset:i.start},s=jt.transform(a,n,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-i.start}:null}var u={path:t.path,offset:t.offset-i.text.length+i.end-i.start},l=jt.transform(u,n,{affinity:"backward"});return l?"split_node"===n.type&&Pt.equals(n.path,t.path)&&u.offset<n.position&&i.start<n.position?l:{path:l.path,offset:l.offset+i.text.length-i.end+i.start}:null}function ii(e,t,n){var r=oi(e,t.anchor,n);if(!r)return null;if(Gt.isCollapsed(t))return{anchor:r,focus:r};var o=oi(e,t.focus,n);return o?{anchor:r,focus:o}:null}function ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ui=25,li=200,ci=function(){},fi=e=>"DataTransfer"===(null==e?void 0:e.constructor.name);var pi=["node"];function di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hi={subtree:!0,childList:!0,characterData:!0};function mi(t){var{node:n}=t,r=Er(t,pi);if(!oo)return null;var o,i=ko(),a=(o=(0,e.useRef)(!1),(0,e.useEffect)((()=>(o.current=!0,()=>{o.current=!1})),[]),o.current),[s]=(0,e.useState)((()=>function(e){var{editor:t,scheduleOnDOMSelectionChange:n,onDOMSelectionChange:r}=e,o=!1,i=null,a=null,s=null,u=0,l=!1,c=()=>{var e=Hr.get(t);if(Hr.delete(t),e){var{selection:n}=t,r=ri(t,e);!r||n&&Gt.equals(r,n)||vn.select(t,r)}},f=()=>{if(a&&(clearTimeout(a),a=null),s&&(clearTimeout(s),s=null),g()||m()){o||(o=!0,setTimeout((()=>o=!1))),m()&&(o="action");var e=t.selection&&_t.rangeRef(t,t.selection,{affinity:"forward"});Mr.set(t,t.marks),ci("flush",jr.get(t),Lr.get(t));for(var i,u=g();i=null===(f=Lr.get(t))||void 0===f?void 0:f[0];){var f,p,d=Ir.get(t);void 0!==d&&(Ir.delete(t),t.marks=d),d&&!1===l&&(l=null);var h=ti(i);t.selection&&Gt.equals(t.selection,h)||vn.select(t,h),i.diff.text?_t.insertText(t,i.diff.text):_t.deleteFragment(t),Lr.set(t,null===(p=Lr.get(t))||void 0===p?void 0:p.filter((e=>{var{id:t}=e;return t!==i.id}))),Zo(t,i)||(u=!1,jr.delete(t),Mr.delete(t),o="action",Hr.delete(t),n.cancel(),r.cancel(),null==e||e.unref())}var v=null==e?void 0:e.unref();if(!v||Hr.get(t)||t.selection&&Gt.equals(v,t.selection)||vn.select(t,v),m())(()=>{var e=jr.get(t);if(jr.delete(t),e){if(e.at){var n=jt.isPoint(e.at)?ni(t,e.at):ri(t,e.at);if(!n)return;var r=_t.range(t,n);t.selection&&Gt.equals(t.selection,r)||vn.select(t,n)}e.run()}})();else{u&&n(),n.flush(),r.flush(),c();var E=Mr.get(t);Mr.delete(t),void 0!==E&&(t.marks=E,t.onChange())}}else c()},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=xr.get(t);n&&(g()||e?n.style.display="none":n.style.removeProperty("display"))},d=(e,n)=>{var r,o=null!==(r=Lr.get(t))&&void 0!==r?r:[];Lr.set(t,o);var i=Nt.leaf(t,e),a=o.findIndex((t=>Pt.equals(t.path,e)));if(a<0)return ei(i.text,n)&&o.push({path:e,diff:n,id:u++}),void p();var s=function(e,t,n){var r=Math.min(t.start,n.start),o=Math.max(0,Math.min(t.start+t.text.length,n.end)-n.start),i=Jo(e,t,n),a=Math.max(n.start+n.text.length,t.start+t.text.length+(t.start+t.text.length>n.start?n.text.length:0)-o),s=i.slice(r,a);return ei(e,{start:r,end:Math.max(t.end,n.end-t.text.length+(t.end-t.start)),text:s})}(i.text,o[a].diff,n);if(!s)return o.splice(a,1),void p();o[a]=si(si({},o[a]),{},{diff:s})},h=function(e){var{at:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l=!1,Hr.delete(t),n.cancel(),r.cancel(),m()&&f(),jr.set(t,{at:o,run:e}),s=setTimeout(f)},m=()=>!!jr.get(t),g=()=>{var e;return!(null===(e=Lr.get(t))||void 0===e||!e.length)},v=e=>{Hr.set(t,e),a&&(clearTimeout(a),a=null);var{selection:n}=t;if(e){var r=!n||!Pt.equals(n.anchor.path,e.anchor.path),o=!n||!Pt.equals(n.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(r&&l||o)&&(l=!1),(r||g())&&(a=setTimeout(f,li))}},E=()=>{m()||(s=setTimeout(f))};return{flush:f,scheduleFlush:E,hasPendingDiffs:g,hasPendingAction:m,hasPendingChanges:()=>m()||g(),isFlushing:()=>o,handleUserSelect:v,handleCompositionEnd:e=>{i&&clearTimeout(i),i=setTimeout((()=>{Br.set(t,!1),f()}),ui)},handleCompositionStart:e=>{Br.set(t,!0),i&&(clearTimeout(i),i=null)},handleDOMBeforeInput:e=>{var n;a&&(clearTimeout(a),a=null);var{inputType:r}=e,o=null,i=e.dataTransfer||e.data||void 0;!1!==l&&"insertText"!==r&&"insertCompositionText"!==r&&(l=!1);var[s]=e.getTargetRanges();s&&(o=vo.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var u=vo.getWindow(t).getSelection();if(!o&&u&&(s=u,o=vo.toSlateRange(t,u,{exactMatch:!1,suppressThrow:!0})),o=null!==(n=o)&&void 0!==n?n:t.selection){var c=!0;if(r.startsWith("delete")){if(Gt.isExpanded(o)){var[f,p]=Gt.edges(o);if(Nt.leaf(t,f.path).text.length===f.offset&&0===p.offset){var m=_t.next(t,{at:f.path,match:Zt.isText});m&&Pt.equals(m[1],p.path)&&(o={anchor:p,focus:p})}}var g=r.endsWith("Backward")?"backward":"forward",[C,T]=Gt.edges(o),[y,A]=_t.leaf(t,C.path),b={text:"",start:C.offset,end:T.offset},D=Lr.get(t),x=null==D?void 0:D.find((e=>Pt.equals(e.path,A))),_=x?[x.diff,b]:[b];if(0===Jo(y.text,..._).length&&(c=!1),Gt.isExpanded(o)){if(c&&Pt.equals(o.anchor.path,o.focus.path)){var k={path:o.anchor.path,offset:C.offset},O=_t.range(t,k,k);return v(O),d(o.anchor.path,{text:"",end:T.offset,start:C.offset})}return h((()=>_t.deleteFragment(t,{direction:g})),{at:o})}}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return h((()=>_t.deleteFragment(t)),{at:o});case"deleteContent":case"deleteContentForward":var{anchor:S}=o;if(c&&Gt.isCollapsed(o)){var w=Nt.leaf(t,S.path);if(S.offset<w.text.length)return d(S.path,{text:"",start:S.offset,end:S.offset+1})}return h((()=>_t.deleteForward(t)),{at:o});case"deleteContentBackward":var N,{anchor:B}=o,F=Yr(s)?s.isCollapsed:!(null===(N=s)||void 0===N||!N.collapsed);return c&&F&&Gt.isCollapsed(o)&&B.offset>0?d(B.path,{text:"",start:B.offset-1,end:B.offset}):h((()=>_t.deleteBackward(t)),{at:o});case"deleteEntireSoftLine":return h((()=>{_t.deleteBackward(t,{unit:"line"}),_t.deleteForward(t,{unit:"line"})}),{at:o});case"deleteHardLineBackward":return h((()=>_t.deleteBackward(t,{unit:"block"})),{at:o});case"deleteSoftLineBackward":return h((()=>_t.deleteBackward(t,{unit:"line"})),{at:o});case"deleteHardLineForward":return h((()=>_t.deleteForward(t,{unit:"block"})),{at:o});case"deleteSoftLineForward":return h((()=>_t.deleteForward(t,{unit:"line"})),{at:o});case"deleteWordBackward":return h((()=>_t.deleteBackward(t,{unit:"word"})),{at:o});case"deleteWordForward":return h((()=>_t.deleteForward(t,{unit:"word"})),{at:o});case"insertLineBreak":return h((()=>_t.insertSoftBreak(t)),{at:o});case"insertParagraph":return h((()=>_t.insertBreak(t)),{at:o});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(fi(i))return h((()=>vo.insertData(t,i)),{at:o});var R=null!=i?i:"";if(Ir.get(t)&&(R=R.replace("\ufeff","")),"insertText"===r&&/.*\n.*\n$/.test(R)&&(R=R.slice(0,-1)),R.includes("\n"))return h((()=>{var e=R.split("\n");e.forEach(((n,r)=>{n&&_t.insertText(t,n),r!==e.length-1&&_t.insertSoftBreak(t)}))}),{at:o});if(Pt.equals(o.anchor.path,o.focus.path)){var[P,I]=Gt.edges(o),M={start:P.offset,end:I.offset,text:R};if(R&&l&&"insertCompositionText"===r){var L=l.start+l.text.search(/\S|$/);M.start+M.text.search(/\S|$/)===L+1&&M.end===l.start+l.text.length?(M.start-=1,l=null,E()):l=!1}else l="insertText"===r&&(null===l?M:!(!l||!Gt.isCollapsed(o)||l.end+l.text.length!==P.offset)&&si(si({},l),{},{text:l.text+R}));if(c)return void d(P.path,M)}return h((()=>_t.insertText(t,R)),{at:o})}}},handleKeyDown:e=>{g()||(p(!0),setTimeout(p))},handleDomMutations:e=>{var n;g()||m()||e.some((n=>eo(t,n,e)))&&(null===(n=Ur.get(t))||void 0===n||n())},handleInput:()=>{!m()&&g()||f()}}}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?di(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):di(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({editor:i},r))));return function(t,n,r){var[o]=(0,e.useState)((()=>new MutationObserver(n)));yo((()=>{o.takeRecords()})),(0,e.useEffect)((()=>{if(!t.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return o.observe(t.current,r),()=>o.disconnect()}),[])}(n,s.handleDomMutations,hi),Pr.set(i,s.scheduleFlush),a&&s.flush(),s}var gi=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],vi=["text"];function Ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ci(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ei(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ti=e=>t().createElement(t().Fragment,null,jo(e)),yi=n=>{var r,o,i=(0,e.useCallback)((e=>t().createElement(Ai,Object.assign({},e))),[]),{autoFocus:a,decorate:s=bi,onDOMBeforeInput:u,placeholder:l,readOnly:c=!1,renderElement:f,renderLeaf:p,renderPlaceholder:d=i,scrollSelectionIntoView:h=Di,style:m={},as:g="div",disableDefaultStyles:v=!1}=n,E=Er(n,gi),C=Go(),[T,y]=(0,e.useState)(!1),A=(0,e.useRef)(null),b=(0,e.useRef)([]),{onUserInput:D,receivedUserInput:x}=function(){var t=ko(),n=(0,e.useRef)(!1),r=(0,e.useRef)(0),o=(0,e.useCallback)((()=>{if(!n.current){n.current=!0;var e=vo.getWindow(t);e.cancelAnimationFrame(r.current),r.current=e.requestAnimationFrame((()=>{n.current=!1}))}}),[]);return(0,e.useEffect)((()=>()=>cancelAnimationFrame(r.current)),[]),{receivedUserInput:n,onUserInput:o}}(),[,_]=(0,e.useReducer)((e=>e+1),0);Ur.set(C,_),wr.set(C,c);var k=(0,e.useMemo)((()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1})),[]);(0,e.useEffect)((()=>{A.current&&a&&A.current.focus()}),[a]);var O=(0,e.useCallback)(bn()((()=>{if((oo||!vo.isComposing(C))&&(!k.isUpdatingSelection||null!=w&&w.isFlushing())&&!k.isDraggingInternally){var e=vo.findDocumentOrShadowRoot(C),{activeElement:t}=e,n=vo.toDOMNode(C,C),r=e.getSelection();if(t===n?(k.latestElement=t,Nr.set(C,!0)):Nr.delete(C),!r)return vn.deselect(C);var{anchorNode:o,focusNode:i}=r,a=vo.hasEditableTarget(C,o)||vo.isTargetInsideNonReadonlyVoid(C,o),s=vo.hasEditableTarget(C,i)||vo.isTargetInsideNonReadonlyVoid(C,i);if(a&&s){var u=vo.toSlateRange(C,r,{exactMatch:!1,suppressThrow:!0});u&&(vo.isComposing(C)||null!=w&&w.hasPendingChanges()||null!=w&&w.isFlushing()?null==w||w.handleUserSelect(u):vn.select(C,u))}!c||a&&s||vn.deselect(C)}}),100),[c]),S=(0,e.useMemo)((()=>yn()(O,0)),[O]),w=mi({node:A,onDOMSelectionChange:O,scheduleOnDOMSelectionChange:S});yo((()=>{var e;A.current&&(e=Wr(A.current))?(br.set(C,e),Dr.set(C,A.current),kr.set(C,A.current),_r.set(A.current,C)):kr.delete(C);var{selection:t}=C,n=vo.findDocumentOrShadowRoot(C).getSelection();if(n&&vo.isFocused(C)&&(null==w||!w.hasPendingAction())){var r=e=>{var r="None"!==n.type;if(t||r){var o=Dr.get(C),i=!1;if(o.contains(n.anchorNode)&&o.contains(n.focusNode)&&(i=!0),r&&i&&t&&!e){var a=vo.toSlateRange(C,n,{exactMatch:!0,suppressThrow:!0});if(a&&Gt.equals(a,t)){var s;if(!k.hasMarkPlaceholder)return;var{anchorNode:u}=n;if(null!=u&&null!==(s=u.parentElement)&&void 0!==s&&s.hasAttribute("data-slate-mark-placeholder"))return}}if(!t||vo.hasRange(C,t)){k.isUpdatingSelection=!0;var l=t&&vo.toDOMRange(C,t);return l?(Gt.isBackward(t)?n.setBaseAndExtent(l.endContainer,l.endOffset,l.startContainer,l.startOffset):n.setBaseAndExtent(l.startContainer,l.startOffset,l.endContainer,l.endOffset),h(C,l)):n.removeAllRanges(),l}C.selection=vo.toSlateRange(C,n,{exactMatch:!1,suppressThrow:!0})}},o=r(),i="action"===(null==w?void 0:w.isFlushing());if(oo&&i){var a=null,s=requestAnimationFrame((()=>{if(i){var e=e=>{try{vo.toDOMNode(C,C).focus(),r(e)}catch(e){}};e(),a=setTimeout((()=>{e(!0),k.isUpdatingSelection=!1}))}}));return()=>{cancelAnimationFrame(s),a&&clearTimeout(a)}}setTimeout((()=>{o&&io&&vo.toDOMNode(C,C).focus(),k.isUpdatingSelection=!1}))}}));var N=(0,e.useCallback)((e=>{if(D(),!c&&vo.hasEditableTarget(C,e.target)&&!_i(e,u)){var t;if(w)return w.handleDOMBeforeInput(e);S.flush(),O.flush();var{selection:n}=C,{inputType:r}=e,o=e.dataTransfer||e.data||void 0,i="insertCompositionText"===r||"deleteCompositionText"===r;if(i&&vo.isComposing(C))return;var a=!1;if("insertText"===r&&n&&Gt.isCollapsed(n)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==n.anchor.offset){var s,l;a=!0,C.marks&&(a=!1);var{anchor:f}=n,[p,d]=vo.toDOMPoint(C,f),h=null===(s=p.parentElement)||void 0===s?void 0:s.closest("a"),m=vo.getWindow(C);if(a&&h&&vo.hasDOMNode(C,h)){var g,v=null==m?void 0:m.document.createTreeWalker(h,NodeFilter.SHOW_TEXT).lastChild();v===p&&(null===(g=v.textContent)||void 0===g?void 0:g.length)===d&&(a=!1)}if(a&&p.parentElement&&"pre"===(null==m||null===(l=m.getComputedStyle(p.parentElement))||void 0===l?void 0:l.whiteSpace)){var E=_t.above(C,{at:f.path,match:e=>Tt.isElement(e)&&_t.isBlock(C,e)});E&&Nt.string(E[0]).includes("\t")&&(a=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[T]=e.getTargetRanges();if(T){var A=vo.toSlateRange(C,T,{exactMatch:!1,suppressThrow:!1});if(!n||!Gt.equals(n,A)){a=!1;var x=!i&&C.selection&&_t.rangeRef(C,C.selection);vn.select(C,A),x&&Fr.set(C,x)}}}if(i)return;if(a||e.preventDefault(),n&&Gt.isExpanded(n)&&r.startsWith("delete")){var _=r.endsWith("Backward")?"backward":"forward";return void _t.deleteFragment(C,{direction:_})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":_t.deleteFragment(C);break;case"deleteContent":case"deleteContentForward":_t.deleteForward(C);break;case"deleteContentBackward":_t.deleteBackward(C);break;case"deleteEntireSoftLine":_t.deleteBackward(C,{unit:"line"}),_t.deleteForward(C,{unit:"line"});break;case"deleteHardLineBackward":_t.deleteBackward(C,{unit:"block"});break;case"deleteSoftLineBackward":_t.deleteBackward(C,{unit:"line"});break;case"deleteHardLineForward":_t.deleteForward(C,{unit:"block"});break;case"deleteSoftLineForward":_t.deleteForward(C,{unit:"line"});break;case"deleteWordBackward":_t.deleteBackward(C,{unit:"word"});break;case"deleteWordForward":_t.deleteForward(C,{unit:"word"});break;case"insertLineBreak":_t.insertSoftBreak(C);break;case"insertParagraph":_t.insertBreak(C);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===r&&vo.isComposing(C)&&(y(!1),Br.set(C,!1)),"DataTransfer"===(null==o?void 0:o.constructor.name)?vo.insertData(C,o):"string"==typeof o&&(a?b.current.push((()=>_t.insertText(C,o))):_t.insertText(C,o))}var k=null===(t=Fr.get(C))||void 0===t?void 0:t.unref();Fr.delete(C),!k||C.selection&&Gt.equals(C.selection,k)||vn.select(C,k)}}),[c,u]),B=(0,e.useCallback)((e=>{null==e?(O.cancel(),S.cancel(),Dr.delete(C),kr.delete(C),A.current&&go&&A.current.removeEventListener("beforeinput",N)):go&&e.addEventListener("beforeinput",N),A.current=e}),[A,N,O,S]);yo((()=>{var e=vo.getWindow(C);return e.document.addEventListener("selectionchange",S),()=>{e.document.removeEventListener("selectionchange",S)}}),[S]);var F=s([C,[]]);if(l&&1===C.children.length&&1===Array.from(Nt.texts(C)).length&&""===Nt.string(C)&&!T){var R=_t.start(C,[]);F.push({[zr]:!0,placeholder:l,anchor:R,focus:R})}var{marks:P}=C;if(k.hasMarkPlaceholder=!1,C.selection&&Gt.isCollapsed(C.selection)&&P){var{anchor:I}=C.selection,M=Nt.leaf(C,I.path),L=Er(M,vi);if(!Zt.equals(M,P,{loose:!0})){k.hasMarkPlaceholder=!0;var j=Object.fromEntries(Object.keys(L).map((e=>[e,null])));F.push(Ci(Ci(Ci({[Gr]:!0},j),P),{},{anchor:I,focus:I}))}}(0,e.useEffect)((()=>{setTimeout((()=>{var{selection:e}=C;if(e){var{anchor:t}=e,n=Nt.leaf(C,t.path);if(P&&!Zt.equals(n,P,{loose:!0}))return void Ir.set(C,P)}Ir.delete(C)}))}));var H=null===(r=xr.get(C))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.height;return t().createElement(Ho.Provider,{value:c},t().createElement(Io.Provider,{value:s},t().createElement(Qo,{node:A,receivedUserInput:x},t().createElement(g,Object.assign({role:c?void 0:"textbox","aria-multiline":!c||void 0},E,{spellCheck:!(!go&&mo)&&E.spellCheck,autoCorrect:go||!mo?E.autoCorrect:"false",autoCapitalize:go||!mo?E.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!c,zindex:-1,suppressContentEditableWarning:!0,ref:B,style:Ci(Ci({},v?{}:Ci({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},H?{minHeight:H}:{})),m),onBeforeInput:(0,e.useCallback)((e=>{if(!go&&!c&&!xi(e,E.onBeforeInput)&&vo.hasSelectableTarget(C,e.target)&&(e.preventDefault(),!vo.isComposing(C))){var t=e.data;_t.insertText(C,t)}}),[c]),onInput:(0,e.useCallback)((e=>{if(!xi(e,E.onInput))if(w)w.handleInput();else{for(var t of b.current)t();b.current=[]}}),[]),onBlur:(0,e.useCallback)((e=>{if(!c&&!k.isUpdatingSelection&&vo.hasSelectableTarget(C,e.target)&&!xi(e,E.onBlur)){var t=vo.findDocumentOrShadowRoot(C);if(k.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===vo.toDOMNode(C,C)||qr(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&Vr(n)&&vo.hasDOMNode(C,n)){var r=vo.toSlateNode(C,n);if(Tt.isElement(r)&&!C.isVoid(r))return}if(ao){var o=t.getSelection();null==o||o.removeAllRanges()}Nr.delete(C)}}}}),[c,E.onBlur]),onClick:(0,e.useCallback)((e=>{if(vo.hasTarget(C,e.target)&&!xi(e,E.onClick)&&Vr(e.target)){var t=vo.toSlateNode(C,e.target),n=vo.findPath(C,t);if(!_t.hasPath(C,n)||Nt.get(C,n)!==t)return;if(3===e.detail&&n.length>=1){var r=n;if(!Tt.isElement(t)||!_t.isBlock(C,t)){var o,i=_t.above(C,{match:e=>Tt.isElement(e)&&_t.isBlock(C,e),at:n});r=null!==(o=null==i?void 0:i[1])&&void 0!==o?o:n.slice(0,1)}var a=_t.range(C,r);return void vn.select(C,a)}if(c)return;var s=_t.start(C,n),u=_t.end(C,n),l=_t.void(C,{at:s}),f=_t.void(C,{at:u});if(l&&f&&Pt.equals(l[1],f[1])){var p=_t.range(C,s);vn.select(C,p)}}}),[c,E.onClick]),onCompositionEnd:(0,e.useCallback)((e=>{if(vo.hasSelectableTarget(C,e.target)){if(vo.isComposing(C)&&(y(!1),Br.set(C,!1)),null==w||w.handleCompositionEnd(e),xi(e,E.onCompositionEnd)||oo)return;if(!ao&&!fo&&!no&&!ho&&!po&&e.data){var t=Ir.get(C);Ir.delete(C),void 0!==t&&(Mr.set(C,C.marks),C.marks=t),_t.insertText(C,e.data);var n=Mr.get(C);Mr.delete(C),void 0!==n&&(C.marks=n)}}}),[E.onCompositionEnd]),onCompositionUpdate:(0,e.useCallback)((e=>{vo.hasSelectableTarget(C,e.target)&&!xi(e,E.onCompositionUpdate)&&(vo.isComposing(C)||(y(!0),Br.set(C,!0)))}),[E.onCompositionUpdate]),onCompositionStart:(0,e.useCallback)((e=>{if(vo.hasSelectableTarget(C,e.target)){if(null==w||w.handleCompositionStart(e),xi(e,E.onCompositionStart)||oo)return;y(!0);var{selection:t}=C;if(t){if(Gt.isExpanded(t))return void _t.deleteFragment(C);var n=_t.above(C,{match:e=>Tt.isElement(e)&&_t.isInline(C,e),mode:"highest"});if(n){var[,r]=n;if(_t.isEnd(C,t.anchor,r)){var o=_t.after(C,r);vn.setSelection(C,{anchor:o,focus:o})}}}}}),[E.onCompositionStart]),onCopy:(0,e.useCallback)((e=>{vo.hasSelectableTarget(C,e.target)&&!xi(e,E.onCopy)&&(e.preventDefault(),vo.setFragmentData(C,e.clipboardData,"copy"))}),[E.onCopy]),onCut:(0,e.useCallback)((e=>{if(!c&&vo.hasSelectableTarget(C,e.target)&&!xi(e,E.onCut)){e.preventDefault(),vo.setFragmentData(C,e.clipboardData,"cut");var{selection:t}=C;if(t)if(Gt.isExpanded(t))_t.deleteFragment(C);else{var n=Nt.parent(C,t.anchor.path);_t.isVoid(C,n)&&vn.delete(C)}}}),[c,E.onCut]),onDragOver:(0,e.useCallback)((e=>{if(vo.hasTarget(C,e.target)&&!xi(e,E.onDragOver)){var t=vo.toSlateNode(C,e.target);Tt.isElement(t)&&_t.isVoid(C,t)&&e.preventDefault()}}),[E.onDragOver]),onDragStart:(0,e.useCallback)((e=>{if(!c&&vo.hasTarget(C,e.target)&&!xi(e,E.onDragStart)){var t=vo.toSlateNode(C,e.target),n=vo.findPath(C,t);if(Tt.isElement(t)&&_t.isVoid(C,t)||_t.void(C,{at:n,voids:!0})){var r=_t.range(C,n);vn.select(C,r)}k.isDraggingInternally=!0,vo.setFragmentData(C,e.dataTransfer,"drag")}}),[c,E.onDragStart]),onDrop:(0,e.useCallback)((e=>{if(!c&&vo.hasTarget(C,e.target)&&!xi(e,E.onDrop)){e.preventDefault();var t=C.selection,n=vo.findEventRange(C,e),r=e.dataTransfer;vn.select(C,n),k.isDraggingInternally&&(!t||Gt.equals(t,n)||_t.void(C,{at:n,voids:!0})||vn.delete(C,{at:t})),vo.insertData(C,r),vo.isFocused(C)||vo.focus(C)}k.isDraggingInternally=!1}),[c,E.onDrop]),onDragEnd:(0,e.useCallback)((e=>{!c&&k.isDraggingInternally&&E.onDragEnd&&vo.hasTarget(C,e.target)&&E.onDragEnd(e),k.isDraggingInternally=!1}),[c,E.onDragEnd]),onFocus:(0,e.useCallback)((e=>{if(!c&&!k.isUpdatingSelection&&vo.hasEditableTarget(C,e.target)&&!xi(e,E.onFocus)){var t=vo.toDOMNode(C,C),n=vo.findDocumentOrShadowRoot(C);if(k.latestElement=n.activeElement,io&&e.target!==t)return void t.focus();Nr.set(C,!0)}}),[c,E.onFocus]),onKeyDown:(0,e.useCallback)((e=>{if(!c&&vo.hasEditableTarget(C,e.target)){null==w||w.handleKeyDown(e);var{nativeEvent:t}=e;if(vo.isComposing(C)&&!1===t.isComposing&&(Br.set(C,!1),y(!1)),xi(e,E.onKeyDown)||vo.isComposing(C))return;var{selection:n}=C,r=C.children[null!==n?n.focus.path[0]:0],o="rtl"===Cn()(Nt.string(r));if(Yo.isRedo(t)){e.preventDefault();var i=C;return void("function"==typeof i.redo&&i.redo())}if(Yo.isUndo(t)){e.preventDefault();var a=C;return void("function"==typeof a.undo&&a.undo())}if(Yo.isMoveLineBackward(t))return e.preventDefault(),void vn.move(C,{unit:"line",reverse:!0});if(Yo.isMoveLineForward(t))return e.preventDefault(),void vn.move(C,{unit:"line"});if(Yo.isExtendLineBackward(t))return e.preventDefault(),void vn.move(C,{unit:"line",edge:"focus",reverse:!0});if(Yo.isExtendLineForward(t))return e.preventDefault(),void vn.move(C,{unit:"line",edge:"focus"});if(Yo.isMoveBackward(t))return e.preventDefault(),void(n&&Gt.isCollapsed(n)?vn.move(C,{reverse:!o}):vn.collapse(C,{edge:"start"}));if(Yo.isMoveForward(t))return e.preventDefault(),void(n&&Gt.isCollapsed(n)?vn.move(C,{reverse:o}):vn.collapse(C,{edge:"end"}));if(Yo.isMoveWordBackward(t))return e.preventDefault(),n&&Gt.isExpanded(n)&&vn.collapse(C,{edge:"focus"}),void vn.move(C,{unit:"word",reverse:!o});if(Yo.isMoveWordForward(t))return e.preventDefault(),n&&Gt.isExpanded(n)&&vn.collapse(C,{edge:"focus"}),void vn.move(C,{unit:"word",reverse:o});if(go){if((uo||ao)&&n&&(Yo.isDeleteBackward(t)||Yo.isDeleteForward(t))&&Gt.isCollapsed(n)){var s=Nt.parent(C,n.anchor.path);if(Tt.isElement(s)&&_t.isVoid(C,s)&&(_t.isInline(C,s)||_t.isBlock(C,s)))return e.preventDefault(),void _t.deleteBackward(C,{unit:"block"})}}else{if(Yo.isBold(t)||Yo.isItalic(t)||Yo.isTransposeCharacter(t))return void e.preventDefault();if(Yo.isSoftBreak(t))return e.preventDefault(),void _t.insertSoftBreak(C);if(Yo.isSplitBlock(t))return e.preventDefault(),void _t.insertBreak(C);if(Yo.isDeleteBackward(t))return e.preventDefault(),void(n&&Gt.isExpanded(n)?_t.deleteFragment(C,{direction:"backward"}):_t.deleteBackward(C));if(Yo.isDeleteForward(t))return e.preventDefault(),void(n&&Gt.isExpanded(n)?_t.deleteFragment(C,{direction:"forward"}):_t.deleteForward(C));if(Yo.isDeleteLineBackward(t))return e.preventDefault(),void(n&&Gt.isExpanded(n)?_t.deleteFragment(C,{direction:"backward"}):_t.deleteBackward(C,{unit:"line"}));if(Yo.isDeleteLineForward(t))return e.preventDefault(),void(n&&Gt.isExpanded(n)?_t.deleteFragment(C,{direction:"forward"}):_t.deleteForward(C,{unit:"line"}));if(Yo.isDeleteWordBackward(t))return e.preventDefault(),void(n&&Gt.isExpanded(n)?_t.deleteFragment(C,{direction:"backward"}):_t.deleteBackward(C,{unit:"word"}));if(Yo.isDeleteWordForward(t))return e.preventDefault(),void(n&&Gt.isExpanded(n)?_t.deleteFragment(C,{direction:"forward"}):_t.deleteForward(C,{unit:"word"}))}}}),[c,E.onKeyDown]),onPaste:(0,e.useCallback)((e=>{c||!vo.hasEditableTarget(C,e.target)||xi(e,E.onPaste)||(!go||(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||ao)&&(e.preventDefault(),vo.insertData(C,e.clipboardData))}),[c,E.onPaste])}),t().createElement(Ti,{decorations:F,node:C,renderElement:f,renderPlaceholder:d,renderLeaf:p,selection:C.selection})))))},Ai=e=>{var{attributes:n,children:r}=e;return t().createElement("span",Object.assign({},n),r,oo&&t().createElement("br",null))},bi=()=>[],Di=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&Gt.isCollapsed(e.selection))){var n=t.startContainer.parentElement;n.getBoundingClientRect=t.getBoundingClientRect.bind(t),function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(Sn(t)&&"function"==typeof t.behavior)return t.behavior(n?On(e,t):[]);if(n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:Sn(e)?e:{block:"start",inline:"nearest"}}(t);(function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))})(On(e,r),r.behavior)}}(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},xi=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},_i=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented},ki=(0,e.createContext)(!1),Oi=(0,e.createContext)({}),Si=["editor","children","onChange","value"],wi=n=>{var{editor:r,children:o,onChange:i,value:a}=n,s=Er(n,Si),u=(0,e.useRef)(!1),[l,c]=t().useState((()=>{if(!Nt.isNodeList(a))throw new Error("[Slate] value is invalid! Expected a list of elements but got: ".concat(qt.stringify(a)));if(!_t.isEditor(r))throw new Error("[Slate] editor is invalid! You passed: ".concat(qt.stringify(r)));return r.children=a,Object.assign(r,s),{v:0,editor:r}})),{selectorContext:f,onChange:p}=function(t){var n=(0,e.useRef)([]).current,r=(0,e.useRef)({editor:t}).current,o=(0,e.useCallback)((e=>{r.editor=e,n.forEach((t=>t(e)))}),[]);return{selectorContext:(0,e.useMemo)((()=>({getSlate:()=>r.editor,addEventListener:e=>(n.push(e),()=>{n.splice(n.indexOf(e),1)})})),[n,r]),onChange:o}}(r),d=(0,e.useCallback)((()=>{i&&i(r.children),c((e=>({v:e.v+1,editor:r}))),p(r)}),[i]);(0,e.useEffect)((()=>(Rr.set(r,d),()=>{Rr.set(r,(()=>{})),u.current=!0})),[d]);var[h,m]=(0,e.useState)(vo.isFocused(r));return(0,e.useEffect)((()=>{m(vo.isFocused(r))})),yo((()=>{var e=()=>m(vo.isFocused(r));return to?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})}),[]),t().createElement(Oi.Provider,{value:f},t().createElement(zo.Provider,{value:l},t().createElement(_o.Provider,{value:l.editor},t().createElement(ki.Provider,{value:h},o))))},Ni=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Bi=(e,t,n)=>{var r=vo.toDOMRange(e,t).getBoundingClientRect(),o=vo.toDOMRange(e,n).getBoundingClientRect();return Ni(r,o)&&Ni(o,r)};function Fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ri(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fi(Object(n),!0).forEach((function(t){vr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x-slate-fragment",n=e,{apply:r,onChange:o,deleteBackward:i,addMark:a,removeMark:s}=n;return Sr.set(n,new WeakMap),n.addMark=(e,t)=>{var r,o;null===(r=Pr.get(n))||void 0===r||r(),!Ir.get(n)&&null!==(o=Lr.get(n))&&void 0!==o&&o.length&&Ir.set(n,null),Mr.delete(n),a(e,t)},n.removeMark=e=>{var t;!Ir.get(n)&&null!==(t=Lr.get(n))&&void 0!==t&&t.length&&Ir.set(n,null),Mr.delete(n),s(e)},n.deleteBackward=e=>{if("line"!==e)return i(e);if(n.selection&&Gt.isCollapsed(n.selection)){var t=_t.above(n,{match:e=>Tt.isElement(e)&&_t.isBlock(n,e),at:n.selection});if(t){var[,r]=t,o=_t.range(n,r,n.selection.anchor),a=((e,t)=>{var n=_t.range(e,Gt.end(t)),r=Array.from(_t.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(Bi(e,_t.range(e,r[o]),n))return _t.range(e,r[o],n);if(r.length<2)return _t.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)Bi(e,_t.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return _t.range(e,r[i],n)})(n,o);Gt.isCollapsed(a)||vn.delete(n,{at:a})}}},n.apply=e=>{var t=[],o=Lr.get(n);if(null!=o&&o.length){var i=o.map((t=>function(e,t){var{path:n,diff:r,id:o}=e;switch(t.type){case"insert_text":return!Pt.equals(t.path,n)||t.offset>=r.end?e:t.offset<=r.start?{diff:{start:t.text.length+r.start,end:t.text.length+r.end,text:r.text},id:o,path:n}:{diff:{start:r.start,end:r.end+t.text.length,text:r.text},id:o,path:n};case"remove_text":return!Pt.equals(t.path,n)||t.offset>=r.end?e:t.offset+t.text.length<=r.start?{diff:{start:r.start-t.text.length,end:r.end-t.text.length,text:r.text},id:o,path:n}:{diff:{start:r.start,end:r.end-t.text.length,text:r.text},id:o,path:n};case"split_node":return!Pt.equals(t.path,n)||t.position>=r.end?{diff:r,id:o,path:Pt.transform(n,t,{affinity:"backward"})}:t.position>r.start?{diff:{start:r.start,end:Math.min(t.position,r.end),text:r.text},id:o,path:n}:{diff:{start:r.start-t.position,end:r.end-t.position,text:r.text},id:o,path:Pt.transform(n,t,{affinity:"forward"})};case"merge_node":return Pt.equals(t.path,n)?{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:o,path:Pt.transform(n,t)}:{diff:r,id:o,path:Pt.transform(n,t)}}var i=Pt.transform(n,t);return i?{diff:r,path:i,id:o}:null}(t,e))).filter(Boolean);Lr.set(n,i)}var a=Hr.get(n);a&&Hr.set(n,ii(n,a,e));var s=jr.get(n);if(null!=s&&s.at){var u=jt.isPoint(null==s?void 0:s.at)?oi(n,s.at,e):ii(n,s.at,e);jr.set(n,u?Ri(Ri({},s),{},{at:u}):null)}switch(e.type){case"insert_text":case"remove_text":case"set_node":case"split_node":t.push(...Ii(n,e.path));break;case"set_selection":var l;null===(l=Fr.get(n))||void 0===l||l.unref(),Fr.delete(n);break;case"insert_node":case"remove_node":t.push(...Ii(n,Pt.parent(e.path)));break;case"merge_node":var c=Pt.previous(e.path);t.push(...Ii(n,c));break;case"move_node":var f=Pt.common(Pt.parent(e.path),Pt.parent(e.newPath));t.push(...Ii(n,f))}for(var[p,d]of(r(e),t)){var[h]=_t.node(n,p);Or.set(h,d)}},n.setFragmentData=e=>{var{selection:r}=n;if(r){var[o,i]=Gt.edges(r),a=_t.void(n,{at:o.path}),s=_t.void(n,{at:i.path});if(!Gt.isCollapsed(r)||a){var u=vo.toDOMRange(n,r),l=u.cloneContents(),c=l.childNodes[0];if(l.childNodes.forEach((e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)})),s){var[f]=s,p=u.cloneRange(),d=vo.toDOMNode(n,f);p.setEndAfter(d),l=p.cloneContents()}if(a&&(c=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach((e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),$r(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),l.appendChild(h),c=h}var m=n.getFragment(),g=JSON.stringify(m),v=window.btoa(encodeURIComponent(g));c.setAttribute("data-slate-fragment",v),e.setData("application/".concat(t),v);var E=l.ownerDocument.createElement("div");return E.appendChild(l),E.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(E),e.setData("text/html",E.innerHTML),e.setData("text/plain",Zr(E)),l.ownerDocument.body.removeChild(E),e}}},n.insertData=e=>{n.insertFragmentData(e)||n.insertTextData(e)},n.insertFragmentData=e=>{var r=e.getData("application/".concat(t))||(e=>{var t=e.getData("text/html"),[,n]=t.match(Jr)||[];return n})(e);if(r){var o=decodeURIComponent(window.atob(r)),i=JSON.parse(o);return n.insertFragment(i),!0}return!1},n.insertTextData=e=>{var t=e.getData("text/plain");if(t){var r=t.split(/\r\n|\r|\n/),o=!1;for(var i of r)o&&vn.splitNodes(n,{always:!0}),n.insertText(i),o=!0;return!0}return!1},n.onChange=e=>{gr().unstable_batchedUpdates((()=>{var t=Rr.get(n);t&&t(),o(e)}))},n},Ii=(e,t)=>{var n=[];for(var[r,o]of _t.levels(e,{at:t})){var i=vo.findKey(e,r);n.push([o,i])}return n},Mi=e=>P(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Rt.isOperationList(e.redos[0].operations))&&(0===e.undos.length||Rt.isOperationList(e.undos[0].operations)),Li=(new WeakMap,new WeakMap),ji=new WeakMap,Hi={isHistoryEditor:e=>Mi(e.history)&&_t.isEditor(e),isMerging:e=>ji.get(e),isSaving:e=>Li.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Hi.isMerging(e);ji.set(e,!1),t(),ji.set(e,n)},withoutSaving(e,t){var n=Hi.isSaving(e);Li.set(e,!1),t(),Li.set(e,n)}},Ui=e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];r.selectionBefore&&vn.setSelection(t,r.selectionBefore),Hi.withoutSaving(t,(()=>{_t.withoutNormalizing(t,(()=>{for(var e of r.operations)t.apply(e)}))})),e.redos.pop(),t.writeHistory("undos",r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];Hi.withoutSaving(t,(()=>{_t.withoutNormalizing(t,(()=>{var e=r.operations.map(Rt.inverse).reverse();for(var n of e)t.apply(n);r.selectionBefore&&vn.setSelection(t,r.selectionBefore)}))})),t.writeHistory("redos",r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],s=a&&a.operations[a.operations.length-1],u=Hi.isSaving(t),l=Hi.isMerging(t);if(null==u&&(u=Gi(e)),u){if(null==l&&(l=null!=a&&(0!==r.length||zi(e,s))),a&&l)a.operations.push(e);else{var c={operations:[e],selectionBefore:t.selection};t.writeHistory("undos",c)}for(;i.length>100;)i.shift();o.redos=[]}n(e)},t.writeHistory=(e,n)=>{t.history[e].push(n)},t},zi=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Pt.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Pt.equals(e.path,t.path)),Gi=(e,t)=>"set_selection"!==e.type;const Ki={stickyDistanceBottom:"100px"},Wi=B("div",{target:"ehaqqzm0",label:"EditorControlBar"})("z-index:",F.zIndex.zIndex200,";position:sticky;top:0;margin-bottom:",Ki.stickyDistanceBottom,";"),qi=B("button",{target:"e1ps9s9m0",label:"StyledToolbarButton"})(F.buttons.button,";display:inline-block;padding:6px;border:none;background-color:transparent;font-size:16px;color:",(e=>e.isActive?"#1e2532":"inherit"),";cursor:pointer;&:disabled{cursor:auto;opacity:0.5;}",F.Icon,"{display:block;}");function Vi({type:e,label:t,icon:n,onClick:r,isActive:o,disabled:i}){return(0,d.jsx)(qi,{isActive:o,onClick:t=>r&&r(t,e),title:t,disabled:i},n?(0,d.jsx)(F.Icon,{type:n}):t)}Vi.propTypes={type:r().string,label:r().string.isRequired,icon:r().string,onClick:r().func,isActive:r().bool,disabled:r().bool};const Yi=Vi;function $i(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Xi=B("div",{target:"e11cox783",label:"ToolbarContainer"})("background-color:",F.colors.textFieldBorder,";border-top-right-radius:",F.lengths.borderRadius,";position:relative;display:flex;justify-content:space-between;align-items:center;padding:11px 14px;min-height:58px;transition:background-color ",F.transitions.main,",color ",F.transitions.main,";color:",F.colors.text,";"),Qi=B("div",{target:"e11cox782",label:"ToolbarDropdownWrapper"})({name:"11ffxfj",styles:"display:inline-block;position:relative"}),Zi=B("div",{target:"e11cox781",label:"ToolbarToggle"})({name:"1qi6e7n",styles:"flex-shrink:0;display:flex;align-items:center;font-size:14px;margin:0 10px"}),Ji=Zi.withComponent(F.Toggle,{target:"e11cox784",label:"StyledToggle"}),ea=B("span",{target:"e11cox780",label:"ToolbarToggleLabel"})("display:inline-block;text-align:center;white-space:nowrap;line-height:20px;min-width:",(e=>e.offPosition?"62px":"70px"),";",(e=>e.isActive&&(0,d.css)("font-weight:600;color:",F.colors.active,";;label:ToolbarToggleLabel;")),";");class ta extends t().Component{constructor(...e){super(...e),$i(this,"isVisible",(e=>{const{buttons:t}=this.props;return!a.List.isList(t)||t.includes(e)})),$i(this,"handleBlockClick",((e,t)=>{e&&e.preventDefault(),this.props.onBlockClick(t)})),$i(this,"handleMarkClick",((e,t)=>{e.preventDefault(),this.props.onMarkClick(t)}))}render(){const{onLinkClick:e,onToggleMode:t,rawMode:n,isShowModeToggle:r,plugins:o,disabled:i,onSubmit:s,hasMark:u=(()=>{}),hasInline:l=(()=>{}),hasBlock:c=(()=>{}),hasQuote:f=(()=>{}),hasListItems:p=(()=>{}),editorComponents:h,t:m}=this.props,g=this.isVisible,v=!h||h.size>=1,E=o?o.toList().filter((function({id:e}){return!h||h.includes(e)})):(0,a.List)(),C={"heading-one":m("editor.editorWidgets.headingOptions.headingOne"),"heading-two":m("editor.editorWidgets.headingOptions.headingTwo"),"heading-three":m("editor.editorWidgets.headingOptions.headingThree"),"heading-four":m("editor.editorWidgets.headingOptions.headingFour"),"heading-five":m("editor.editorWidgets.headingOptions.headingFive"),"heading-six":m("editor.editorWidgets.headingOptions.headingSix")};return(0,d.jsx)(Xi,null,(0,d.jsx)("div",null,g("bold")&&(0,d.jsx)(Yi,{type:"bold",label:m("editor.editorWidgets.markdown.bold"),icon:"bold",onClick:this.handleMarkClick,isActive:u("bold"),disabled:i}),g("italic")&&(0,d.jsx)(Yi,{type:"italic",label:m("editor.editorWidgets.markdown.italic"),icon:"italic",onClick:this.handleMarkClick,isActive:u("italic"),disabled:i}),g("code")&&(0,d.jsx)(Yi,{type:"code",label:m("editor.editorWidgets.markdown.code"),icon:"code",onClick:this.handleMarkClick,isActive:u("code"),disabled:i}),g("link")&&(0,d.jsx)(Yi,{type:"link",label:m("editor.editorWidgets.markdown.link"),icon:"link",onClick:e,isActive:l("link"),disabled:i}),Object.keys(C).some(g)&&(0,d.jsx)(Qi,null,(0,d.jsx)(F.Dropdown,{dropdownWidth:"max-content",dropdownTopOverlap:"36px",renderButton:()=>(0,d.jsx)(F.DropdownButton,null,(0,d.jsx)(Yi,{type:"headings",label:m("editor.editorWidgets.markdown.headings"),icon:"hOptions",disabled:i,isActive:!i&&Object.keys(C).some(c)}))},!i&&Object.keys(C).map(((e,t)=>g(e)&&(0,d.jsx)(F.DropdownItem,{key:t,label:C[e],className:c(e)?"active":"",onClick:()=>this.handleBlockClick(null,e)}))))),g("quote")&&(0,d.jsx)(Yi,{type:"quote",label:m("editor.editorWidgets.markdown.quote"),icon:"quote",onClick:this.handleBlockClick,isActive:f("quote"),disabled:i}),g("bulleted-list")&&(0,d.jsx)(Yi,{type:"bulleted-list",label:m("editor.editorWidgets.markdown.bulletedList"),icon:"list-bulleted",onClick:this.handleBlockClick,isActive:p("bulleted-list"),disabled:i}),g("numbered-list")&&(0,d.jsx)(Yi,{type:"numbered-list",label:m("editor.editorWidgets.markdown.numberedList"),icon:"list-numbered",onClick:this.handleBlockClick,isActive:p("numbered-list"),disabled:i}),v&&(0,d.jsx)(Qi,null,(0,d.jsx)(F.Dropdown,{dropdownTopOverlap:"36px",dropdownWidth:"max-content",renderButton:()=>(0,d.jsx)(F.DropdownButton,null,(0,d.jsx)(Yi,{label:m("editor.editorWidgets.markdown.addComponent"),icon:"add-with",onClick:this.handleComponentsMenuToggle,disabled:i}))},E.map(((e,t)=>(0,d.jsx)(F.DropdownItem,{key:t,label:e.label,onClick:()=>s(e)})))))),r&&(0,d.jsx)(Zi,null,(0,d.jsx)(ea,{isActive:!n,offPosition:!0},m("editor.editorWidgets.markdown.richText")),(0,d.jsx)(Ji,{active:n,onChange:t}),(0,d.jsx)(ea,{isActive:n},m("editor.editorWidgets.markdown.markdown"))))}}$i(ta,"propTypes",{buttons:i().list,editorComponents:i().list,onToggleMode:r().func.isRequired,rawMode:r().bool,isShowModeToggle:r().bool.isRequired,plugins:i().map,onSubmit:r().func,onAddAsset:r().func,getAsset:r().func,disabled:r().bool,onMarkClick:r().func,onBlockClick:r().func,onLinkClick:r().func,hasMark:r().func,hasInline:r().func,hasBlock:r().func,t:r().func.isRequired});const na=function(e=""){return{type:"paragraph",children:[{text:e}]}};function ra({minimal:e}){return`\n position: relative;\n overflow: hidden;\n overflow-x: auto;\n min-height: ${e?"auto":F.lengths.richTextEditorMinHeight};\n font-family: ${F.fonts.mono};\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top: 0;\n margin-top: -${Ki.stickyDistanceBottom};\n`}const oa=B("div",{target:"e12tj7710",label:"RawEditorContainer"})({name:"bjn8wh",styles:"position:relative"});function ia(t){const{className:n,field:r,isShowModeToggle:o,t:i,onChange:a}=t,s=(0,e.useMemo)((()=>Pi(Ui(Ke()))),[]),[u,l]=(0,e.useState)(t.value?t.value.split("\n").map((e=>na(e))):[na()]);function c(e){a(e.map((e=>e.children[0].text)).join("\n")),l(e)}return(0,e.useEffect)((()=>{t.pendingFocus&&vo.focus(s)}),[]),(0,d.jsx)(wi,{editor:s,value:u,onChange:c},(0,d.jsx)(oa,null,(0,d.jsx)(Wi,null,(0,d.jsx)(ta,{onToggleMode:function(){t.onMode("rich_text")},buttons:r.get("buttons"),disabled:!0,rawMode:!0,isShowModeToggle:o,t:i})),(0,d.jsx)(d.ClassNames,null,(({css:e,cx:t})=>(0,d.jsx)(yi,{className:t(n,e`
${ra({minimal:r.get("minimal")})}
`),value:u,onChange:c})))))}ia.propTypes={onChange:r().func.isRequired,onMode:r().func.isRequired,className:r().string.isRequired,value:r().string,field:i().map.isRequired,isShowModeToggle:r().bool.isRequired,t:r().func.isRequired};const aa=ia;var sa=l(18149),ua=l.n(sa);function la(){return la=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},la.apply(this,arguments)}function ca(e){return(0,d.jsx)("div",la({css:(0,d.css)("height:32px;cursor:text;position:relative;z-index:",F.zIndex.zIndex1,";margin-top:-16px;;label:InsertionPoint;")},e))}const fa=function({attributes:e,children:t,element:n}){const r=Go(),o=vo.findPath(r,n);function i(e){vn.insertNodes(r,na(),{select:!0,at:e})}const a=0===o[0],s=r.children[o[0]+1],u=o[0]===r.children.length-1||r.isVoid(s);return(0,d.jsx)("div",la({},e,{onClick:function(e){e.stopPropagation()},contentEditable:!1}),a&&(0,d.jsx)(ca,{onClick:function(){i(o)}}),t,u&&(0,d.jsx)(ca,{onClick:function(){i([...o.slice(0,-1),o[o.length-1]+1])}}))};var pa=l(17620),da=l.n(pa);function ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ma(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ha(Object(n),!0).forEach((function(t){ga(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ha(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ga(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var va={name:"1xfnuhy-Shortcode",styles:"margin-top:0;margin-bottom:16px;&:first-of-type{margin-top:0;};label:Shortcode;"};const Ea=function(t){const n=Go(),{element:r,dataKey:o="shortcodeData",children:i}=t,s=zl,u=Kl().get(r.data.shortcode),l=(0,a.fromJS)(da()(u,["id","fromBlock","toBlock","toPreview","pattern","icon"])),[c,f]=(0,e.useState)((0,a.fromJS)(r.data[o]));function p(){const e=vo.findPath(n,r);vn.select(n,e)}const h=vo.findPath(n,r),m=n.selection&&h&&Gt.isRange(n.selection)&&Gt.includes(n.selection,h);return!l.isEmpty()&&(0,d.jsx)("div",{onClick:p,onFocus:p},(0,d.jsx)(s,{css:va,value:c,field:l,onChange:function(e,t,i){const a=vo.findPath(n,r),s={data:ma(ma({},r.data),{},{[o]:t.toJS(),metadata:i})};vn.setNodes(n,s,{at:a}),f(t)},isEditorComponent:!0,onValidateObject:()=>{},isNewEditorComponent:r.data.shortcodeNew,isSelected:m}),i)};function Ca(){return Ca=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ca.apply(this,arguments)}const Ta="16px",ya="\n font-weight: 700;\n line-height: 1;\n",Aa=B("h1",{target:"evlbpgx13",label:"StyledH1"})(ya,";font-size:32px;margin-top:16px;"),ba=B("h2",{target:"evlbpgx12",label:"StyledH2"})(ya,";font-size:24px;margin-top:12px;"),Da=B("h3",{target:"evlbpgx11",label:"StyledH3"})(ya,";font-size:20px;"),xa=B("h4",{target:"evlbpgx10",label:"StyledH4"})(ya,";font-size:18px;margin-top:8px;"),_a=B("h5",{target:"evlbpgx9",label:"StyledH5"})(ya,";font-size:16px;margin-top:8px;"),ka=_a.withComponent("h6",{target:"evlbpgx14",label:"StyledH6"}),Oa=B("p",{target:"evlbpgx8",label:"StyledP"})("margin-bottom:",Ta,";"),Sa=B("blockquote",{target:"evlbpgx7",label:"StyledBlockQuote"})("padding-left:16px;border-left:3px solid ",F.colors.background,";margin-left:0;margin-right:0;margin-bottom:",Ta,";"),wa=B("code",{target:"evlbpgx6",label:"StyledCode"})("background-color:",F.colors.background,";border-radius:",F.lengths.borderRadius,";padding:0 2px;font-size:85%;"),Na=B("ul",{target:"evlbpgx5",label:"StyledUl"})("margin-bottom:",Ta,";padding-left:30px;"),Ba=Na.withComponent("ol",{target:"evlbpgx15",label:"StyledOl"}),Fa=B("li",{target:"evlbpgx4",label:"StyledLi"})({name:"1smjpj0",styles:"&>p:first-of-type{margin-top:8px;}&>p:last-of-type{margin-bottom:8px;}"}),Ra=B("a",{target:"evlbpgx3",label:"StyledA"})({name:"11z7vuy",styles:"text-decoration:underline;font-size:inherit"}),Pa=B("hr",{target:"evlbpgx2",label:"StyledHr"})({name:"1y2p2hw",styles:"border:1px solid;margin-bottom:16px"}),Ia=B("table",{target:"evlbpgx1",label:"StyledTable"})({name:"tkxk5i",styles:"border-collapse:collapse"}),Ma=B("td",{target:"evlbpgx0",label:"StyledTd"})({name:"zsehaa",styles:"border:2px solid black;padding:8px;text-align:left"});function La(e){return(0,d.jsx)("strong",null,e.children)}function ja(e){return(0,d.jsx)("em",null,e.children)}function Ha(e){return(0,d.jsx)("s",null,e.children)}function Ua(e){return(0,d.jsx)(wa,null,e.children)}function za(e){return(0,d.jsx)(Oa,e.attributes,e.children)}function Ga(e){return(0,d.jsx)(Fa,e.attributes,e.children)}function Ka(e){return(0,d.jsx)(Sa,e.attributes,e.children)}function Wa(e){return(0,d.jsx)(Aa,e.attributes,e.children)}function qa(e){return(0,d.jsx)(ba,e.attributes,e.children)}function Va(e){return(0,d.jsx)(Da,e.attributes,e.children)}function Ya(e){return(0,d.jsx)(xa,e.attributes,e.children)}function $a(e){return(0,d.jsx)(_a,e.attributes,e.children)}function Xa(e){return(0,d.jsx)(ka,e.attributes,e.children)}function Qa(e){return(0,d.jsx)(Ia,null,(0,d.jsx)("tbody",e.attributes,e.children))}function Za(e){return(0,d.jsx)("tr",e.attributes,e.children)}function Ja(e){return(0,d.jsx)(Ma,e.attributes,e.children)}function es(e){const t=Lo();return(0,d.jsx)("div",e.attributes,e.children,(0,d.jsx)("div",{contentEditable:!1},(0,d.jsx)(Pa,Ca({},e.attributes,{css:t&&(0,d.css)("box-shadow:0 0 0 2px ",F.colors.active,";border-radius:8px;color:",F.colors.active,";;label:ThematicBreak;")}))))}function ts(e){return(0,d.jsx)(t().Fragment,null,(0,d.jsx)("br",e.attributes),e.children)}function ns(e){return(0,d.jsx)(Na,e.attributes,e.children)}function rs(e){return(0,d.jsx)(Ba,Ca({},e.attributes,{start:1}),e.children)}function os(e){const t=e.url,n=e.title||t;return(0,d.jsx)(Ra,Ca({href:t,title:n},e.attributes),e.children)}function is(e){const{url:t,title:n,alt:r}=e.element.data,o=Lo();return(0,d.jsx)("span",e.attributes,e.children,(0,d.jsx)("img",Ca({src:t,title:n,alt:r},e.attributes,{css:o&&(0,d.css)("box-shadow:0 0 0 2px ",F.colors.active,";;label:Image;")})))}function as({attributes:e,children:t,leaf:n}){return n.bold&&(t=(0,d.jsx)(La,null,t)),n.italic&&(t=(0,d.jsx)(ja,null,t)),n.delete&&(t=(0,d.jsx)(Ha,null,t)),n.code&&(t=(0,d.jsx)(Ua,null,t)),(0,d.jsx)("span",e,t)}function ss(e){const{children:t,element:n,classNameWrapper:r,codeBlockComponent:o}=e,i={textAlign:n.align};switch(n.type){case"bulleted-list":return(0,d.jsx)(ns,null,t);case"quote":return(0,d.jsx)(Ka,null,t);case"heading-one":return(0,d.jsx)(Wa,null,t);case"heading-two":return(0,d.jsx)(qa,null,t);case"heading-three":return(0,d.jsx)(Va,null,t);case"heading-four":return(0,d.jsx)(Ya,null,t);case"heading-five":return(0,d.jsx)($a,null,t);case"heading-six":return(0,d.jsx)(Xa,null,t);case"list-item":return(0,d.jsx)(Ga,null,t);case"numbered-list":return(0,d.jsx)(rs,null,t);case"table":return(0,d.jsx)(Qa,e);case"table-row":return(0,d.jsx)(Za,e);case"table-cell":return(0,d.jsx)(Ja,e);case"thematic-break":return(0,d.jsx)(fa,e,(0,d.jsx)(es,e));case"link":return(0,d.jsx)(os,e);case"image":return(0,d.jsx)(is,e);case"break":return(0,d.jsx)(ts,e);case"shortcode":return"code-block"===n.id&&o?(0,d.jsx)(fa,e,(0,d.jsx)(Ea,Ca({classNameWrapper:r,typeOverload:"code-block"},e))):(0,d.jsx)(fa,e,(0,d.jsx)(Ea,e,t));default:return(0,d.jsx)(za,{style:i},t)}}var us=l(87202);function ls(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cs(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const fs=function(e,t,n){vn.liftNodes(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ls(Object(n),!0).forEach((function(t){cs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ls(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({match:e=>e.type===t||"paragraph"===t&&`${e.type}`.startsWith("heading"),mode:"lowest"},n))},ps=function(e,t,n){return{match:n=>!_t.isEditor(n)&&Tt.isElement(n)&&_t.isBlock(e,n)&&(n.type===t||"heading"===t&&`${n.type}`.startsWith("heading-")||"paragraph"===t&&`${n.type}`.startsWith("heading-")||"block"===t&&!`${n.type}`.startsWith("heading-")&&"paragraph"!==n.type||"list"===t&&`${n.type}`.endsWith("-list"))||"non-default"===t&&"paragraph"!==n.type,mode:n}},ds=function(e,t){return ps(e,t,"lowest")},hs=function(e,t,n){vn.wrapNodes(e,n,ds(e,t))},ms=function(e){return!!e.selection&&_t.above(e,ds(e,"list"))},gs=function(e){_t.withoutNormalizing(e,(()=>{fs(e,"list-item",{split:!0});const t=ms(e),n=function(e){return!!e.selection&&_t.above(e,ds(e,"quote"))}(e);t&&!n||t&&n&&t[1].length>n[1].length?fs(e,"list-item",{split:!0}):function(e,t){vn.unwrapNodes(e,ds(e,t))}(e,"list-item")})),_t.normalize(e,{force:!0})},vs=function(e){if(!e.selection)return!1;const{offset:t,path:n}=Gt.start(e.selection);return 0==t&&n.length>2&&n[n.length-2]>0},Es=function(e){if(!e.selection)return;if(Gt.isExpanded(e.selection)&&vn.delete(e),function(e){if(!e.selection)return!1;const{offset:t,path:n}=Gt.start(e.selection);return 0===t&&n.length>=2&&0===n[n.length-1]&&0===n[n.length-2]}(e))return gs(e);const t=function(e){if(!e.selection)return!1;const[,t]=_t.above(e,ds(e,"paragraph"));return _t.next(e,{at:t})}(e);return t&&`${t[0].type}`.endsWith("-list")?function(e,t){if(!e.selection)return!1;Gt.isExpanded(e.selection)&&vn.delete(e),_t.withoutNormalizing(e,(()=>{vn.splitNodes(e,{always:!0}),vn.setNodes(e,{type:"paragraph"}),hs(e,"paragraph",{type:"list-item"}),hs(e,"list-item",{type:t})})),_t.normalize(e,{force:!0})}(e,t[0].type):vs(e)?function(e){_t.withoutNormalizing(e,(()=>{hs(e,"paragraph",{type:"list-item"}),fs(e,"list-item",{split:!0})})),_t.normalize(e,{force:!0})}(e):void function(e){if(!e.selection)return!1;Gt.isExpanded(e.selection)&&vn.delete(e),_t.withoutNormalizing(e,(()=>{vn.splitNodes(e,{always:!0}),vn.setNodes(e,{type:"paragraph"}),hs(e,"paragraph",{type:"list-item"}),fs(e,"list-item")})),_t.normalize(e,{force:!0})}(e)},Cs=function(e){if(!e.selection)return!1;const[,t]=_t.above(e,{match:e=>"list-item"===e.type,mode:"lowest",at:Gt.start(e.selection)});return!!(t&&t.length>0&&t[t.length-1]>0)||void 0},Ts=function(e,t,n){const[r,o]=n;vn.moveNodes(e,{at:t,to:[...o,r.children.length]})};function ys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function As(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){bs(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bs(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ds(Object(n),!0).forEach((function(t){_s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ds(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _s(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ks=function(e,t){const{selection:n}=e;if(!n)return!1;const[r]=Array.from(_t.nodes(e,{match:n=>Tt.isElement(n)&&_t.isBlock(e,n)&&"paragraph"!==n.type&&(t||!`${n.type}`.startsWith("heading-")),mode:"lowest"}));return!!r&&"list-item"===r[0].type};function Os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ss(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Os(Object(n),!0).forEach((function(t){ws(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Os(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ws(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ns=function(e){_t.withoutNormalizing(e,(()=>{vn.unwrapNodes(e,Ss(Ss({},ds(e,"list")),{},{split:!0})),vn.unwrapNodes(e,ds(e,"list-item"))})),_t.normalize(e)},Bs=function(e){if(e.selection&&Gt.isCollapsed(e.selection)&&0===e.selection.anchor.offset&&ks(e,!0)&&!vs(e))return Cs(e)?function(e){_t.withoutNormalizing(e,(()=>{vn.mergeNodes(e,ds(e,"list-item"))})),_t.normalize(e,{force:!0})}(e):Ns(e),!1},Fs=function(e,t){if(t.isListItem())return(0,us.ZP)("enter",e)?(e.preventDefault(),Es(t),!1):(0,us.ZP)("backspace",e)?!1===Bs(t)?(e.preventDefault(),!1):void 0:(0,us.ZP)("tab",e)?(e.preventDefault(),function(e){if(!e.selection)return;if(!Cs(e))return;const{focus:t,anchor:n}=e.selection,r=t.path.length>n.path.length?n.path.length:t.path.length,o={anchor:{offset:0,path:[...n.path.slice(0,r-2),0,0]},focus:{offset:0,path:[...t.path.slice(0,r-2),0,0]}};_t.withoutNormalizing(e,(()=>{vn.wrapNodes(e,{type:"bulleted-list"},As(As({},ds(e,"list-item")),{},{at:o}));const[,t]=_t.above(e,ds(e,"list")),n=_t.previous(e,{at:t});Ts(e,t,n)})),_t.normalize(e)}(t)):(0,us.ZP)("shift+tab",e)?(e.preventDefault(),function(e){e.selection&&(Array.from(_t.nodes(e,ps(e,"list"))).length<2||(_t.withoutNormalizing(e,(()=>{vn.liftNodes(e,xs(xs({},ds(e,"list-item")),{},{split:!0})),vn.liftNodes(e,xs(xs({},ds(e,"list-item")),{},{split:!0}))})),_t.normalize(e)))}(t)):void 0},Rs=function(e,t){if(!ks(e))return function(e,t){_t.withoutNormalizing(e,(()=>{vn.wrapNodes(e,{type:t});const n=_t.nodes(e,ds(e,"paragraph"));for(const t of n)vn.wrapNodes(e,{type:"list-item"},{at:t[1]})})),_t.normalize(e)}(e,t);const n=ms(e);return n&&n[0].type!==t?function(e,t){_t.withoutNormalizing(e,(()=>{vn.wrapNodes(e,{type:t},ds(e,"list-item")),vn.liftNodes(e,ds(e,t))})),_t.normalize(e,{force:!0})}(e,t):Ns(e)},Ps=function(e,t,n,r){const{selection:o}=e;if(!o)return!1;const[i]=Array.from(_t.nodes(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t)&&"paragraph"!==t.type&&"list-item"!==t.type&&(n||!`${t.type}`.startsWith("heading-"))&&(!r||!`${t.type}`.endsWith("-list")),mode:"lowest"}));return!!i&&(i[0].type===t||`${i[0].type}`.startsWith(`${t}-`||`${i[0].type}`.endsWith(`-${t}`)))},Is=function(e,t=!1){if(0!==e.selection.anchor.offset)return!1;let[n,r]=_t.above(e,ds(e,"non-default"));if(0==r.length)return!1;if(`${n.type}`.startsWith("heading-"))return vn.setNodes(e,{type:"paragraph"}),!1;const o=_t.isBlock(e,n),[i,a]=_t.above(e,ds(e,"block"));if(!o){if(!_t.isStart(e,r,a))return!1;[n,r]=[i,a]}return _t.withoutNormalizing(e,(()=>{vn.unwrapNodes(e,{match:e=>e.type===n.type,split:!0}),t&&vn.mergeNodes(e)})),_t.normalize(e,{force:!0}),!0},Ms=function(e){if(e.selection)return Ps(e,"heading",!0)?function(e){if(function(e){const{selection:t}=e;if(!t)return!1;const n=_t.above(e,ds(e,"paragraph"));return!!n&&_t.isEnd(e,e.selection.focus,n[1])}(e))return function(e){_t.withoutNormalizing(e,(()=>{vn.splitNodes(e,{always:!0}),vn.setNodes(e,{type:"paragraph"})})),_t.normalize(e,{force:!0})}(e),!0}(e):Is(e)},Ls=function(e){if(e.selection&&!function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(_t.nodes(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t)&&`${t.type}`.startsWith("heading-"),mode:"lowest"}));return!!n&&_t.isStart(e,e.selection.focus,n[1])&&!_t.isEmpty(e,n[0])}(e))return function(e,t){const{selection:n}=e;if(!n)return!1;const r=_t.above(e,ds(e,t));return!!r&&_t.isStart(e,e.selection.focus,r[1])}(e,"quote")&&function(e,t){const{selection:n}=e;if(!n)return!1;const[r]=_t.nodes(e,ds(e,"block")),o=_t.previous(e,ds(e,t));return r&&o&&r[0].type===o[0].type}(e,"quote")?(vn.mergeNodes(e,ds(e,"quote")),!0):Is(e,!0)},js=function(e,t){const{selection:n}=e;if(!n)return;const r=t.startsWith("heading-"),o=Ps(e,t,r,Gt.isExpanded(n)),i=function(e){const t=_t.above(e,ds(e,"list"));return t?t[0].type:null}(e);if(r)return void vn.setNodes(e,{type:o?"paragraph":t});const{focus:a,anchor:s}=n;return!o&&i&&a.path[a.path.length-3]!=s.path[s.path.length-3]?function(e,t,n){_t.withoutNormalizing(e,(()=>{vn.wrapNodes(e,{type:n}),vn.wrapNodes(e,{type:t},{match:e=>e.type===n}),vn.liftNodes(e,{match:e=>e.type===t})})),_t.normalize(e,{force:!0})}(e,t,i):o?void vn.unwrapNodes(e,{match:e=>e.type===t}):vn.wrapNodes(e,{type:t})},Hs={"mod+1":"heading-one","mod+2":"heading-two","mod+3":"heading-three","mod+4":"heading-four","mod+5":"heading-five","mod+6":"heading-six"},Us=function(e,t){if(t.selection){for(const n in Hs)if((0,us.ZP)(n,e))return js(t,Hs[n]),e.preventDefault(),!1;if((0,us.ZP)("backspace",e)&&function(e){const{selection:t}=e;if(!t)return!1;if(Gt.isExpanded(t))return!1;const n=_t.previous(e);return n&&"break"==n[0].type}(t)){const[,n]=_t.previous(t);return vn.removeNodes(t,{at:n}),e.preventDefault(),!1}if(function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(_t.nodes(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t)&&"paragraph"!==t.type,mode:"lowest"}));return!!n&&!_t.isEditor(n[0])}(t)){if((0,us.ZP)("enter",e)&&Ms(t))return e.preventDefault(),!1;if((0,us.ZP)("backspace",e)&&Ls(t))return e.preventDefault(),!1}}},zs=function(e,t){const{selection:n}=e;if(!n)return!1;const r=_t.marks(e);return!!r&&!0===r[t]},Gs=function(e,t){zs(e,t)?_t.removeMark(e,t):_t.addMark(e,t,!0)},Ks=function(){return{match:e=>!_t.isEditor(e)&&Tt.isElement(e)&&"link"===e.type}},Ws=function(e){const[t]=_t.nodes(e,Ks());return t},qs=function(e,t){var n,r;const o=Ws(e),i=o?null===(n=o[0])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.url:"",a=window.prompt(t,i);null!=a&&(""!==a?function(e,t){if(Ws(e))return void vn.setNodes(e,{data:{url:t}},Ks());const{selection:n}=e,r=n&&Gt.isCollapsed(n),o={type:"link",data:{url:t},children:r?[{text:t}]:[]};r?vn.insertNodes(e,o):(vn.wrapNodes(e,o,{split:!0}),vn.collapse(e,{edge:"end"}))}(e,a):function(e){vn.unwrapNodes(e,Ks())}(e))},Vs={"mod+b":"bold","mod+i":"italic","mod+u":"underline","mod+`":"code","mod+shift+s":"delete","mod+shift+c":"code"},Ys=function(e,t){if(t.selection){for(const n in Vs)if((0,us.ZP)(n,e))return Gs(t,Vs[n]),e.preventDefault(),!1;return(0,us.ZP)("mod+k",e)?(e.preventDefault(),qs(t)):(0,us.ZP)("shift+enter",e)?(e.preventDefault(),function(e){if(!e.selection)return;const t={path:[...e.selection.focus.path.slice(0,-1),e.selection.focus.path[e.selection.focus.path.length-1]+2],offset:0};return vn.insertNodes(e,{type:"break",children:[{text:""}]}),_t.normalize(e,{force:!0}),vn.select(e,t),!1}(t)):void 0}};var $s=l(1573),Xs=l.n($s),Qs=l(18835),Zs=l.n(Qs),Js=l(73610),eu=l.n(Js),tu=l(98431),nu=l.n(tu),ru=l(48283),ou=l.n(ru),iu=l(32578),au=l.n(iu),su=l(17532),uu=l.n(su),lu=(l(52824),l(62100),l(93352)),cu=l.n(lu),fu=l(16760),pu=l.n(fu),du=l(48090);function hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hu(Object(n),!0).forEach((function(t){gu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gu(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu({plugins:e,getAsset:n,resolveWidget:r}){return function(e){const t=pu()(e.children,o);return mu(mu({},e),{},{children:t})};function o(o){if(!cu()(o,["data","shortcode"]))return o;const{shortcode:i,shortcodeData:a}=o.data,s=function(e,o){const{toPreview:i,widget:a,fields:s}=e;if(i)return i(o,n,s);const u=r(a);return t().createElement(u.preview,{value:o,field:e,getAsset:n})}(e.get(i),a),u="string"==typeof s?s:(0,du.Dq)(s),l=[eu()("html",u)];return mu(mu({},o),{},{children:l})}}function Eu(){return function(e){return e.children=e.children.map((e=>"html"===e.type?eu()("paragraph",[e]):e)),e}}var Cu=l(35676),Tu=l.n(Cu),yu=l(35838),Au=l.n(yu),bu=l(86152),Du=l.n(bu),xu=l(45455),_u=l.n(xu);function ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ou(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ku(Object(n),!0).forEach((function(t){Su(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ku(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Su(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wu={root:"root",paragraph:"paragraph",blockquote:"quote",code:"code-block",listItem:"list-item",table:"table",tableRow:"table-row",tableCell:"table-cell",thematicBreak:"thematic-break",link:"link",image:"image",shortcode:"shortcode"},Nu={strong:"bold",emphasis:"italic",delete:"delete",inlineCode:"code"};function Bu(e){return!!e.text}function Fu({voidCodeBlock:e}={}){return t;function t(e){let n=!["strong","emphasis","delete"].includes(e.type)&&!_u()(e.children)&&Au()(e.children,t).filter((e=>e));return Array.isArray(n)&&(n=function(e){if(e.length<=0)return e;const t=[];let n,r=!1;for(let a=0;a<e.length-1;a++){r||(n=e[a]);const s=e[a+1];Bu(n)&&Bu(s)&&(o=n,i=s,ua()(o.marks,i.marks))?(r=!0,n=Ou(Ou({},n),{},{text:`${n.text}${s.text}`})):(t.push(n),r=!1)}var o,i;return r?t.push(n):t.push(e[e.length-1]),t}(n)),l(e,n||void 0)}function n(e,t){return t?Ou(Ou({},e),{},{children:t}):e}function r(e,t,r={}){Du()(t)||(r=t,t=void 0);const o=_u()(t)?[i("")]:t;return n(Ou({type:e},r),o)}function o(e,t={},r){return n(Ou({type:e},t),_u()(r)?[i("")]:r)}function i(e){const t={};if("string"==typeof e)return Ou(Ou({},t),{},{text:e});const{text:n,marks:r}=e;return u(Ou(Ou({},t),{},{text:n,marks:r}))}function a(e,n){switch(e.type){case"html":case"text":return Ou(Ou({},l(e)),{},{marks:n});case"inlineCode":return Ou(Ou({},l(e)),{},{marks:[...n,{type:"code"}]});case"strong":case"emphasis":case"delete":return s(e,n);case"link":{const t=pu()(e.children,(e=>u(a(e,n))));return l(e,Tu()(t))}default:return t(Ou(Ou({},e),{},{data:Ou(Ou({},e.data),{},{marks:n})}))}}function s(e,t=[]){const n=Nu[e.type],r=n?[...t.filter((({type:e})=>e!==n)),{type:n}]:t;return Au()(e.children,(e=>u(a(e,r))))}function u(e){return e.marks&&e.marks.forEach((t=>{e[t.type]=!0})),e}function l(t,n){switch(t.type){case"paragraph":case"blockquote":case"tableRow":case"tableCell":return r(wu[t.type],n);case"root":{const e=_u()(n)?[r("paragraph")]:n;return r(wu[t.type],e)}case"listItem":{const e=_u()(n)?[r("paragraph")]:n;return r(wu[t.type],e)}case"shortcode":{const e=[i("")],n=Ou(Ou({},t.data),{},{id:t.data.shortcode,shortcodeNew:!0});return r(wu[t.type],e,{data:n})}case"text":case"html":return i(t.value);case"inlineCode":return i({text:t.value,code:!0,marks:[{type:"code"}]});case"strong":case"emphasis":case"delete":return s(t);case"heading":return r(`heading-${{1:"one",2:"two",3:"three",4:"four",5:"five",6:"six"}[t.depth]}`,n);case"code":{const n=Ou(Ou({lang:t.lang},e?{code:t.value}:{}),{},{shortcode:"code-block",shortcodeData:{code:t.value,lang:t.lang}});return r("shortcode",[i(e?"":t.value)],{data:n})}case"list":return r(t.ordered?"numbered-list":"bulleted-list",n,{data:{start:t.start}});case"break":{const{data:e}=t;return o("break",{data:e})}case"thematicBreak":return r(wu[t.type]);case"link":{const{title:e,url:r,data:i}=t,a=Ou(Ou({},i),{},{title:e,url:r});return o(wu[t.type],{data:a},n)}case"image":{const{title:e,url:n,alt:r,data:i}=t,a=Ou(Ou({},i),{},{title:e,alt:r,url:n});return o(wu[t.type],{data:a})}case"table":{const e={align:t.align};return r(wu[t.type],n,{data:e})}}}}var Ru=l(67304),Pu=l.n(Ru),Iu=l(99983),Mu=l.n(Iu);function Lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ju(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lu(Object(n),!0).forEach((function(t){Hu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hu(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uu(){return function(t){const n=Mu()(t);return e.call(null,n,t)};function e(t,n){const r=e.bind(null,t),o=n.children?n.children.map(r):n.children;if(["imageReference","linkReference"].includes(n.type)){const e="imageReference"===n.type?"image":"link",r=t(n.identifier);if(r){const{title:t,url:i}=r;return eu()(e,{title:t,url:i,alt:n.alt},o)}const i=eu()("text","imageReference"===n.type?"![":"["),a=eu()("text","]");return[i,...o||[eu()("text",n.alt)],a]}if("definition"===n.type)return null;const i=Pu()(o,null);return ju(ju({},n),{},{children:Tu()(i)})}}function zu({plugins:e}){const t=this.Parser,n=t.prototype.blockTokenizers,r=t.prototype.blockMethods;n.shortcode=function({plugins:e}){return function(t,n,r){const o=function(e){const t="\n\n";return e.split(t).reduce(((e,t)=>{const{start:n,originalLength:r}=e[e.length-1];return[...e,{line:t.trimEnd(),start:n+r+2,originalLength:t.length}]}),[{start:-2,originalLength:0}]).slice(1).map((({line:e,start:t})=>({line:e,start:t})))}(n),[{plugin:i,match:a}={}]=e.toArray().map((e=>({match:n.match(e.pattern)||Gu({trimmedLines:o,plugin:e}),plugin:e}))).filter((({match:e})=>!!e)).sort(((e,t)=>e.match.index-t.match.index));if(a){if(r)return!0;const e=i.fromBlock(a);try{return t(a[0])({type:"shortcode",data:{shortcode:i.id,shortcodeData:e}})}catch(t){return console.warn(`Sent invalid data to remark. Plugin: ${i.id}. Value: ${a[0]}. Data: ${JSON.stringify(e)}`),!1}}}}({plugins:e}),r.unshift("shortcode")}function Gu({trimmedLines:e,plugin:t}){for(const{line:n,start:r}of e){const e=n.match(t.pattern);if(e)return e.index+=r,e}}var Ku=l(83465),Wu=l.n(Ku),qu=l(85395),Vu=l.n(qu),Yu=l(56974),$u=l.n(Yu);function Xu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xu(Object(n),!0).forEach((function(t){Zu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zu(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ju={htmlOpeningTagEnd:/(?: *\w+=(?:(?:"[^"]*")|(?:'[^']*')))* *>/},el={htmlTags:[/<(?!pre|style|script)[\w]+/,Ju.htmlOpeningTagEnd],preformattedHtmlBlocks:[/<(pre|style|script)/,Ju.htmlOpeningTagEnd,/(.|[\n\r])*?/,/<\/\1>/]},tl=pu()(el,(e=>new RegExp(e.map((e=>e.source)).join("")))),nl=tl.map((e=>`(?:${e.source})`)).join("|"),rl=[/(\*+)[^*]*(\1)/g,/(_)[^_]+(_)\b/g,/(_{2,})[^_]*(\1)/g,/(~+)[^~]*(\1)/g,/(`+)[^`]*(\1)/g,/(\[(?!\^)+)[^\]]*]/g].map((e=>Wu()(al,e))),ol=Vu()(rl);function il(e){return function(e,t,n,r){function o(e,t,n,r=!1){e.push({index:t,text:n,match:r})}const i=function e(t,n,r){const i=t.exec(n),a=$u()(r);if(!i)return r;if(0===i.index)o(r,0,i[0],!0);else if(a)if(i.index===a.index+a.text.length)o(r,i.index,i[0],!0);else{const e=a.index+a.text.length;o(r,e,i.input.slice(e,i.index)),o(r,i.index,i[0],!0)}else o(r,0,i.input.slice(0,i.index)),o(r,i.index,i[0],!0);return e(t,n,r)}(e,n,[]),a=$u()(i);if(!a)return t(n);const s=a.index+a.text.length;return n.length>s&&i.push({index:s,text:n.slice(s)}),i.map((e=>e.match?e.text:t(e.text))).join("")}(new RegExp(nl,"gm"),ol,e)}function al(e,t){return t.replace(e,((e,t,n)=>{const r="string"==typeof n,o=r?e.length-n.length:e.length,i=e.slice(t.length,o);return`${sl(t)}${i}${r?sl(n):""}`}))}function sl(e){let t="";for(const n of e)t+=`\\${n}`;return t}function ul(){return function e(t,n){if(cu()(t.data,"shortcode"))return t;const r=t.children?{children:t.children.map(e)}:{};if(["text","html"].includes(t.type)&&t.value){const e=0===n?il(t.value).replace(/^\s*([-#*>=|]| {4,}|`{3,})/,"$`\\$1"):il(t.value);return Qu(Qu({},t),{},{value:e},r)}return Qu(Qu({},t),r)}}var ll=l(75330),cl=l.n(ll);function fl(){return function e(t){return t.children&&(t.children=t.children.map(((e,t,n)=>{if("break"===e.type){const r={type:"root",children:n.slice(t+1)};return cl()(r).trim()?e:null}return e})).filter((e=>e)).map(e)),t}}function pl(){this.Parser.prototype.inlineTokenizers.text=function(e,t,n){var r,o,i,a,s,u,l,c,f,p=this;if(n)return!0;for(a=(r=p.inlineMethods).length,o=p.inlineTokenizers,i=-1,f=t.length;++i<a;)"text"!==(c=r[i])&&o[c]&&((l=o[c].locator)||e.file.fail("Missing locator: `"+c+"`"),-1!==(u=l.call(p,t,1))&&u<f&&(f=u));e(s=t.slice(0,f))({type:"text",value:s})}}var dl=l(30898),hl=l.n(dl),ml=l(72579),gl=l.n(ml);const vl=["lang","code"],El=["url","title","alt"];function Cl(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(n),!0).forEach((function(t){Al(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Al(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bl={root:"root",paragraph:"paragraph","heading-one":"heading","heading-two":"heading","heading-three":"heading","heading-four":"heading","heading-five":"heading","heading-six":"heading",quote:"blockquote","code-block":"code","numbered-list":"list","bulleted-list":"list","list-item":"listItem",table:"table","table-row":"tableRow","table-cell":"tableCell",break:"break","thematic-break":"thematicBreak",link:"link",image:"image",shortcode:"shortcode"},Dl={bold:"strong",italic:"emphasis",delete:"delete",code:"inlineCode"},xl=["paragraph","quote","heading-one","heading-two","heading-three","heading-four","heading-five","heading-six","bulleted-list","numbered-list","list-item","shortcode","table","table-row","table-cell"],_l=["link","image","break"],kl=/^\s+\S/,Ol=/(?!\S)\s+$/;function Sl(e,{voidCodeBlock:t}){return function e(n){const r=n.children&&n.children[0]&&xl.includes(n.children[0].type)?n.children.map(e).filter((e=>e)):f(n.children);return function(e,n){switch("shortcode"==e.type&&"code-block"==e.data.shortcode&&(e=function(e){return yl(yl({},e),{},{type:"code-block",data:yl(yl({},e.data),e.data.shortcodeData)})}(e)),e.type){case"root":case"paragraph":case"quote":case"list-item":case"table":case"table-row":case"table-cell":return eu()(bl[e.type],n);case"shortcode":{const{data:t}=e;return eu()(bl[e.type],{data:t})}case"heading-one":case"heading-two":case"heading-three":case"heading-four":case"heading-five":case"heading-six":{const t={one:1,two:2,three:3,four:4,five:5,six:6}[e.type.split("-")[1]],r=eu()(bl[e.type],{depth:t},n);return cl()(r)?r:void 0}case"code-block":{var r;const o=gl()(e,"data",{}),{lang:i,code:a}=o,s=Cl(o,vl),u=t?a:null===(r=n[0])||void 0===r?void 0:r.value;return eu()(bl[e.type],{lang:i,data:s},u||"")}case"numbered-list":case"bulleted-list":{const t={ordered:"numbered-list"===e.type,start:gl()(e.data,"start")||1};return eu()(bl[e.type],t,n)}case"thematic-break":return eu()(bl[e.type])}}(n,r)}({type:"root",children:e});function n(e,t){return e.map((e=>{const r=yl({},e);switch(e.type){case"link":{const r=n(e.children,t);return yl(yl({},e),{},{children:r})}case"image":case"break":{const t=da()(e.data,"marks");return yl(yl({},e),{},{data:t})}default:return delete r[t],r.marks=r.marks?r.marks.filter((({type:e})=>e!==t)):[],0===r.marks.length&&delete r.marks,r}}))}function r(e){switch(e.type){case"link":{const t=e.children.map((e=>{const t=yl({},e);return t.marks=e.marks?e.marks.filter((({type:e})=>"code"!==e)):e.marks,delete t.code,t})),n=pu()(t,r);return hl()(...n)}case"break":case"image":return pu()(gl()(e,["data","marks"]),(e=>e.type));default:return o(e)}}function o(e){return Object.keys(Dl).filter((t=>!!e[t]))}function i(e,t){const n=r(t),o=hl()(e,n);return"code"===o[0]?1===n.length?e:[]:o}function a(e){let t=r(e[0])||[];"code"===t[0]&&t.length>1&&(t=[...Pu()("firstGroupMarks","code"),"code"]);let o=1;if(t.length>0)for(;o<e.length;){if(e[o]){const n=i(t,e[o]);if(!(n.length>0))break;t=n}o+=1}const a=t[0],s=e.slice(0,o);return[a,a?n(s,a):s,e.slice(o)]}function s(e,{trailing:t}={}){if(!e.text)return{trimmedNode:e};const n=t?Ol:kl,r=e.text.search(n);if(r>-1){const n=t?r:r+1,o=e.text.slice(0,n),i=e.text.slice(n),a=t?o:i;return{whitespace:t?i:o,trimmedNode:yl(yl({},e),{},{text:a})}}return{trimmedNode:e}}function u(e){const{whitespace:t,trimmedNode:n}=s(e[0]),r=s(e.length>1?$u()(e):n,{trailing:!0}),{whitespace:o,trimmedNode:i}=r,a=function(e,t,n){switch(e.length){case 0:return[];case 1:return[n];case 2:return[t,n];default:return[t,...e.slice(1,-1),n]}}(e,n,i).filter((e=>e));return{leadingWhitespace:t,centerNodes:a,trailingWhitespace:o}}function l(e){return e&&eu()("html",e)}function c(e){return _l.includes(e.type)}function f(e=[]){const t=[];let n=[...e];for(;n.length>0;){const e=n[0];if(c(e)||o(e).length>0){const[r,o,i]=a(n);if("code"===r){const e=o[0];t.push(eu()(Dl[r],e.data,e.text))}else if(!r&&1===o.length&&c(e)){const e=o[0];t.push(p(e,f(e.children)))}else{const{leadingWhitespace:e,trailingWhitespace:a,centerNodes:s}=u(o),c=f(s),p=eu()(Dl[r],c);if(""===cl()(p)){n=i;continue}const d=[l(e),p,l(a)].filter((e=>e));t.push(...d)}n=i}else"break"===e.type?(n=n.slice(1),t.push(p(e))):(n.shift(),t.push(eu()("html",e.text)))}return t}function p(e,t){switch(e.type){case"break":return eu()(bl[e.type]);case"link":{const{title:n,data:r}=e;return eu()(bl[e.type],yl({url:null==r?void 0:r.url,title:n},r),t)}case"image":{const t=gl()(e,"data",{}),{url:n,title:r,alt:o}=t,i=Cl(t,El);return eu()(bl[e.type],{url:n,title:r,alt:o,data:i})}}}}function wl(e,t){const n=Zs()().use(nu(),{fences:!0,commonmark:!0}).use(Nl,{inlineTokenizers:["url"]}).use(zu,{plugins:Kl()}).use(pl).use(Uu).use(t),r=n.parse(e);return n.runSync(r)}function Nl({inlineTokenizers:e}){e&&e.forEach((e=>{delete this.Parser.prototype.inlineTokenizers[e]}))}function Bl(e,{voidCodeBlock:t,remarkPlugins:n=[]}={}){const r=function(e,t){const n=e||eu()("root",[eu()("paragraph",[eu()("text","")])]),r=Zs()().use({settings:{commonmark:!0,fences:!0,listItemIndent:"1",bullet:"*",emphasis:"*",strong:"*",rule:"-"}}).use(ul).use(fl).use(ou()).use((function(){this.Compiler.prototype.visitors.text=e=>e.value})).use(function({plugins:e}){return function(){this.Compiler.prototype.visitors.shortcode=function(t){const{data:n}=t;return e.find((e=>n.shortcode===e.id)).toBlock(n.shortcodeData)}}}({plugins:Kl()})).use(t),o=r.runSync(n),i=r.stringify(o).replace(/\r?/g,"");return Xs()(i)}(Sl(e,{voidCodeBlock:t}),n);return r}const Fl=function(e,t){const n=t.fields.toMap().mapKeys(((e,t)=>t.get("name"))).filter((e=>e.has("default"))).map((e=>e.get("default"))),r={type:"shortcode",id:t.id,data:{shortcode:t.id,shortcodeNew:!0,shortcodeData:n.toJS()},children:[{text:""}]};!function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(_t.nodes(e,{match:t=>Tt.isElement(t)&&_t.isBlock(e,t)&&"paragraph"===t.type,mode:"lowest"}));return!!n&&_t.isEmpty(e,n[0])}(e)?vn.insertNodes(e,r):vn.setNodes(e,r)};function Rl(){return Rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rl.apply(this,arguments)}function Pl({minimal:e}){return`\n position: relative;\n overflow: auto;\n font-family: ${F.fonts.primary};\n min-height: ${e?"auto":F.lengths.richTextEditorMinHeight};\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top: 0;\n margin-top: -${Ki.stickyDistanceBottom};\n padding: 0;\n display: flex;\n flex-direction: column;\n z-index: ${F.zIndex.zIndex100};\n`}const Il=B("div",{target:"ebiot7z0",label:"InsertionPoint"})({name:"ma7xbc",styles:"flex:1 1 auto;cursor:text"});var Ml={name:"j8ayvn-Editor",styles:"position:relative;label:Editor;"};function Ll(t){const{onAddAsset:n,getAsset:r,className:o,field:i,isShowModeToggle:s,t:u,isDisabled:l,getEditorComponents:c,getRemarkPlugins:f,onChange:p}=t,h=(0,e.useMemo)((()=>Pi(Ui(function(e){const{isVoid:t,normalizeNode:n}=e;return e.isVoid=e=>"shortcode"===e.type||t(e),e.normalizeNode=t=>{const[r]=t;_t.isEditor(r)&&0==r.children.length&&vn.insertNodes(e,na()),n(t)},e}(function(e){return void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push(((e,t)=>Us(e,t))),e.toggleBlock=t=>js(e,t),e}(function(e){const{normalizeNode:t}=e;return void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push(((e,t)=>Fs(e,t))),e.toggleList=t=>Rs(e,t),e.isListItem=()=>{const{selection:t}=e;if(!t)return!1;const[n]=Array.from(_t.nodes(e,{at:_t.unhangRange(e,t),match:t=>!_t.isEditor(t)&&Tt.isElement(t)&&_t.isBlock(e,t)&&"paragraph"!==t.type&&!`${t.type}`.startsWith("heading-"),mode:"lowest"}));return!!n&&"list-item"===n[0].type},e.normalizeNode=n=>{t(n);const[r,o]=n;let i=null;if(Tt.isElement(r)||_t.isEditor(r))for(const[t,n]of Nt.children(e,o)){if(`${t.type}`.endsWith("-list")&&t.type===i){vn.mergeNodes(e,{at:n});break}i=t.type}if(Tt.isElement(r)&&`${r.type}`.endsWith("-list")){const t=_t.previous(e,{at:o}),[n,r]=_t.parent(e,o);if(!t&&"list-item"===n.type){const t=_t.previous(e,{at:r});Ts(e,o,t),vn.removeNodes(e,{at:r})}}},e}(function(e){const{isInline:t,isVoid:n}=e;return e.isInline=e=>["link","button","break","image"].includes(e.type)||t(e),e.isVoid=e=>["break","image","thematic-break"].includes(e.type)||n(e),void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push(((e,t)=>Ys(e,t))),e}(Ke()))))))),[]),m=[na()];let g=c();const v=(0,a.fromJS)(g.find((({type:e})=>"code-block"===e)));g=v||g.has("code-block")?g:g.set("code-block",{label:"Code Block",type:"code-block"}),function(e,t){if(e.has("image")){const n=e.get("image"),r=null==n?void 0:n.fields;r&&(n.fields=r.update(r.findIndex((e=>"image"===e.get("widget"))),(e=>(t.has("media_library")&&(e=e.set("media_library",t.get("media_library").mergeDeep(e.get("media_library")))),t.has("media_folder")&&!e.has("media_folder")&&(e=e.set("media_folder",t.get("media_folder"))),t.has("public_folder")&&!e.has("public_folder")&&(e=e.set("public_folder",t.get("public_folder"))),e))))}}(g,i);const[E,C]=(0,e.useState)(t.value?function(e,{voidCodeBlock:t,remarkPlugins:n=[]}={}){const r=wl(e,n);return Zs()().use(Eu).use(Fu,{voidCodeBlock:t}).runSync(r).children}(t.value,{voidCodeBlock:!!v,remarkPlugins:f()}):m),T=(0,e.useCallback)((e=>(0,d.jsx)(ss,Rl({},e,{classNameWrapper:o,codeBlockComponent:v}))),[]),y=(0,e.useCallback)((e=>(0,d.jsx)(as,e)),[]);function A(e){for(const t of h.keyDownHandlers||[])if(!1===t(e,h))break;vo.focus(h)}function b(){vo.focus(h),vn.select(h,{path:[0,0],offset:0}),vn.select(h,_t.end(h,[]))}(0,e.useEffect)((()=>{t.pendingFocus&&vo.focus(h)}),[]);const[D,x]=(0,e.useState)(0);return(0,d.jsx)("div",{css:Ml},(0,d.jsx)(wi,{editor:h,value:E,onChange:function(e){ua()(e,E)||(C((()=>e)),p(Bl(e,{voidCodeBlock:!!v,remarkPlugins:f()}))),x((e=>e+1))}},(0,d.jsx)(Wi,null,(0,d.jsx)(ta,{key:D,onMarkClick:function(e){vo.focus(h),Gs(h,e)},onBlockClick:function(e){vo.focus(h),e.endsWith("-list")?h.toggleList(e):h.toggleBlock(e)},onLinkClick:function(){qs(h,u("editor.editorWidgets.markdown.linkPrompt")),vo.focus(h)},onToggleMode:function(){t.onMode("raw")},plugins:g,onSubmit:function(e){Fl(h,e)},onAddAsset:n,getAsset:r,buttons:i.get("buttons"),editorComponents:i.get("editor_components"),hasMark:function(e){return zs(h,e)},hasInline:function(e){return"link"==e&&!!Ws(h)},hasBlock:function(e){return Ps(h,e)},hasQuote:function(){return Ps(h,"quote")},hasListItems:function(e){return Ps(h,e)},isShowModeToggle:s,t:u,disabled:l})),(0,d.jsx)(d.ClassNames,null,(({css:e,cx:t})=>(0,d.jsx)("div",{className:t(o,e`
${Pl({minimal:i.get("minimal")})}
`)},0!==E.length&&(0,d.jsx)(yi,{className:e`
padding: 16px 20px 0;
`,renderElement:T,renderLeaf:y,onKeyDown:A,autoFocus:!1}),(0,d.jsx)(Il,{onClick:b}))))))}Ll.propTypes={onAddAsset:r().func.isRequired,getAsset:r().func.isRequired,onChange:r().func.isRequired,onMode:r().func.isRequired,className:r().string.isRequired,value:r().string,field:i().map.isRequired,getEditorComponents:r().func.isRequired,getRemarkPlugins:r().func.isRequired,isShowModeToggle:r().bool.isRequired,t:r().func.isRequired};const jl=Ll;function Hl(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ul="cms.md-mode";let zl,Gl=()=>(0,a.Map)();function Kl(){return Gl()}class Wl extends t().Component{constructor(e){var t;super(e),Hl(this,"handleMode",(e=>{this.setState({mode:e,pendingFocus:!0}),localStorage.setItem(Ul,e)})),Hl(this,"processRef",(e=>this.ref=e)),Hl(this,"setFocusReceived",(()=>{this.setState({pendingFocus:!1})})),Hl(this,"getAllowedModes",(()=>this.props.field.get("modes",(0,a.List)(["rich_text","raw"])).toArray())),zl=e.editorControl;const n=null!==(t=localStorage.getItem(Ul))&&void 0!==t?t:"rich_text";Gl=e.getEditorComponents,this.state={mode:-1!==this.getAllowedModes().indexOf(n)?n:this.getAllowedModes()[0],pendingFocus:!1}}render(){const{onChange:e,onAddAsset:t,getAsset:n,value:r,classNameWrapper:o,field:i,getEditorComponents:a,getRemarkPlugins:s,resolveWidget:u,t:l,isDisabled:c}=this.props,{mode:f,pendingFocus:p}=this.state,h=this.getAllowedModes().length>1,m=(0,d.jsx)("div",{className:"cms-editor-visual",ref:this.processRef},(0,d.jsx)(jl,{onChange:e,onAddAsset:t,isShowModeToggle:h,onMode:this.handleMode,getAsset:n,className:o,value:r,field:i,getEditorComponents:a,getRemarkPlugins:s,resolveWidget:u,pendingFocus:p&&this.setFocusReceived,t:l,isDisabled:c})),g=(0,d.jsx)("div",{className:"cms-editor-raw",ref:this.processRef},(0,d.jsx)(aa,{onChange:e,onAddAsset:t,isShowModeToggle:h,onMode:this.handleMode,getAsset:n,className:o,value:r,field:i,pendingFocus:p&&this.setFocusReceived,t:l}));return"rich_text"===f?m:g}}Hl(Wl,"propTypes",{onChange:r().func.isRequired,onAddAsset:r().func.isRequired,getAsset:r().func.isRequired,classNameWrapper:r().string.isRequired,editorControl:r().elementType.isRequired,value:r().string,field:i().map.isRequired,getEditorComponents:r().func,t:r().func.isRequired}),Hl(Wl,"defaultProps",{value:""});var ql,Vl,Yl,$l=l(35368),Xl=l.n($l);class Ql extends t().Component{render(){const{value:e,getAsset:t,resolveWidget:n,field:r,getRemarkPlugins:o}=this.props;if(null===e)return null;const i=function(e,{getAsset:t,resolveWidget:n,remarkPlugins:r=[]}={}){const o=wl(e,r),i=Zs()().use(vu,{plugins:Kl(),getAsset:t,resolveWidget:n}).use(au(),{allowDangerousHTML:!0}).runSync(o);return Zs()().use(uu(),{allowDangerousHtml:!0,allowDangerousCharacters:!0,closeSelfClosing:!0,entities:{useNamedReferences:!0}}).stringify(i)}(e,{getAsset:t,resolveWidget:n},null==o||o()),a=null!=r&&r.get("sanitize_preview",!1)?Xl().sanitize(i):i;return(0,d.jsx)(F.WidgetPreviewContainer,{dangerouslySetInnerHTML:{__html:a}})}}ql=Ql,Vl="propTypes",Yl={getAsset:r().func.isRequired,resolveWidget:r().func.isRequired,value:r().string},Vl=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(Vl),Vl in ql?Object.defineProperty(ql,Vl,{value:Yl,enumerable:!0,configurable:!0,writable:!0}):ql[Vl]=Yl;const Zl=Ql,Jl={properties:{minimal:{type:"boolean"},buttons:{type:"array",items:{type:"string",enum:["bold","italic","code","link","heading-one","heading-two","heading-three","heading-four","heading-five","heading-six","quote","bulleted-list","numbered-list"]}},editor_components:{type:"array",items:{type:"string"}},modes:{type:"array",items:{type:"string",enum:["raw","rich_text"]},minItems:1}}};function ec(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tc(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const nc={Widget:function(e={}){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ec(Object(n),!0).forEach((function(t){tc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ec(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:"markdown",controlComponent:Wl,previewComponent:Zl,schema:Jl},e)},controlComponent:Wl,previewComponent:Ql}})(),c.DecapCmsWidgetMarkdown})()));
//# sourceMappingURL=decap-cms-widget-markdown.js.map