decap-cms-widget-markdown 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/decap-cms-widget-markdown.js +4 -4
- package/dist/decap-cms-widget-markdown.js.LICENSE.txt +1 -1
- package/dist/decap-cms-widget-markdown.js.map +1 -1
- package/dist/esm/MarkdownControl/index.js +14 -2
- package/dist/esm/MarkdownControl/plugins/html/withHtml.js +1 -1
- package/dist/esm/MarkdownControl/plugins/shortcodes/insertShortcode.js +1 -1
- package/dist/esm/MarkdownControl/renderers.js +19 -19
- package/dist/esm/serializers/index.js +19 -3
- package/dist/esm/serializers/remarkRehypeShortcodes.js +26 -3
- package/package.json +4 -3
- package/src/MarkdownControl/index.js +13 -2
- package/src/MarkdownControl/plugins/html/withHtml.js +1 -1
- package/src/MarkdownControl/plugins/shortcodes/insertShortcode.js +1 -2
- package/src/MarkdownControl/renderers.js +1 -1
- package/src/serializers/__tests__/index.spec.js +15 -0
- package/src/serializers/index.js +19 -1
- package/src/serializers/remarkRehypeShortcodes.js +32 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! For license information please see decap-cms-widget-markdown.js.LICENSE.txt */
|
|
2
|
-
!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={61990(e){"use strict";e.exports=function(e){if(e)throw e}},59258(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}},3470(e){"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},70532(e,t){"use strict";t.parse=function(e){for(var t,n=[],r=String(e||""),o=r.indexOf(","),i=0,a=!1;!a;)-1===o&&(o=r.length,a=!0),!(t=r.slice(i,o).trim())&&a||n.push(t),i=o+1,o=r.indexOf(",",i);return n},t.stringify=function(e,t){var n=t||{},r=!1===n.padLeft?"":" ",o=n.padRight?" ":"";return""===e[e.length-1]&&(e=e.concat("")),e.join(o+","+r).trim()}},58632(e,t,n){"use strict";e.exports=function(e,t){var n,i,a,s=t||4,l=[],u=0,c=0,d=-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-(d+a-c+1)%s,l.push(e.slice(u,a),r(" ",n)),d+=a-c+n,u=a+1):d=-1,c=a+1;return l.push(e.slice(u)),l.join("")};var r=n(45069),o=/[\t\n\r]/g},8663(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+"]")},89710(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},l=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,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=l(d,n),d!==(o=l(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},s(d,{name:n,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:n,newValue:o}));return d}},10382(e,t,n){"use strict";var r=n(39106);e.exports=r(["audio","canvas","embed","iframe","img","math","object","picture","svg","video"])},86277(e,t,n){"use strict";var r=n(50019),o=n(72606),i=n(24721),a=n(92712),s=n(32939),l=n(17845),u=n(93227),c=n(59258);e.exports=function(e,t){var n,i=t||{};return i.messages?(n=i,i={}):n=i.file,p(e,{schema:"svg"===i.space?o:r,file:n,verbose:i.verbose,location:!1})};var d={}.hasOwnProperty,f={"#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 p(e,t){var n,s,l,c=t.schema,h=d.call(f,e.nodeName)?f[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]=p(e[r],t);return o}(e.childNodes,t)),s=h(e,n,t),e.sourceCodeLocation&&t.file&&(l=function(e,t,n){var r,o,a,s,l=n.schema,c=n.verbose,d=g(t);if("element"===e.type&&(r=e.children[e.children.length-1],!t.endTag&&r&&r.position&&r.position.end&&(d.end=u(r.position.end)),c)){for(a in s={},o=t.attrs)s[i(l,a).property]=g(o[a]);e.data={position:{opening:g(t.startTag),closing:t.endTag?g(t.endTag):null,properties:s}}}return d}(s,e.sourceCodeLocation,t),l&&(t.location=!0,s.position=l)),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,u,c="svg"===n.schema.space?s:l,d=e.tagName,f=e.attrs,h=f.length,m={},v=-1;++v<h;)m[((r=f[v]).prefix?r.prefix+":":"")+r.name]=r.value;return o=c(d,m,t),"template"===d&&"content"in e&&(a=(i=e.sourceCodeLocation)&&i.startTag&&g(i.startTag).end,u=i&&i.endTag&&g(i.endTag).start,o.content=p(e.content,n),(a||u)&&n.file&&(o.content.position={start:a,end:u})),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}},39138(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)}},39106(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")}},60713(e,t,n){"use strict";var r=n(39106);function o(e,t,n,o,i){var a=null!=o,s=null!=n,l=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 l.call(i,e,n,o)}e.exports=o,o.convert=r},8487(e){"use strict";e.exports=function(e,n){for(var r,o,i,a=e||"",s=n||"div",l={},u=0;u<a.length;)t.lastIndex=u,i=t.exec(a),(r=a.slice(u,i?i.index:a.length))&&(o?"#"===o?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,u+=r.length),i&&(o=i[0],u++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},24697(e,t,n){"use strict";e.exports=n(8065)},24138(e,t,n){"use strict";var r=n(89149);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("")}},75492(e,t,n){"use strict";var r=n(93227),o=n(55609);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"}},86728(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("")]]}},60867(e,t,n){"use strict";var r=n(93227),o=n(59258),i=n(55609);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("")+">"}},989(e,t,n){"use strict";var r=n(93227),o=n(72606),i=n(24721),a=n(53551),s=n(70532),l=n(55609),u=n(59258),c=n(24138),d=n(86728);function f(e,t,n){var o,c,f=i(e.schema,t),p=e.quote;return!f.overloadedBoolean||n!==f.attribute&&""!==n?(f.boolean||f.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&n!=n?"":(c=l(f.attribute,r(e.entities,{subset:d.name["html"===e.schema.space?e.valid:1][e.safe]})),!0===n?c:(n="object"==typeof n&&"length"in n?(f.commaSeparated?s.stringify:a.stringify)(n,{padLeft:!e.tightLists}):String(n),e.collapseEmpty&&!n?c:(e.unquoted&&(o=l(n,r(e.entities,{subset:d.unquoted[e.valid][e.safe],attribute:!0}))),o!==n&&(e.smart&&u(n,p)>u(n,e.alternative)&&(p=e.alternative),o=p+l(n,r(e.entities,{subset:("'"===p?d.single:d.double)["html"===e.schema.space?e.valid:1][e.safe],attribute:!0}))+p),c+(o?"="+o:o))))}e.exports=function(e,t,n,r){var i,a,s,l=e.schema,u="svg"!==l.space&&e.omit,d=[],p="svg"===l.space?e.closeEmpty:e.voids.indexOf(t.tagName.toLowerCase())>-1;return"html"===l.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=f(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"===l.space&&"template"===t.tagName?t.content:t),e.schema=l,a&&(p=!1),!i&&u&&u.opening(t,n,r)||(d.push("<",t.tagName,i?" "+i:""),p&&("svg"===l.space||e.close)&&(s=i.charAt(i.length-1),(!e.tightClose||"/"===s||"svg"===l.space&&s&&'"'!==s&&"'"!==s)&&d.push(" "),d.push("/")),d.push(">")),d.push(a),p||u&&u.closing(t,n,r)||d.push("</"+t.tagName+">"),d.join("")}},8065(e,t,n){"use strict";var r,o=n(50019),i=n(72606),a=n(14169),s=n(26939),l=n(89149);e.exports=function(e,t){var n=t||{},u=n.quote||'"',c='"'===u?"'":'"';if('"'!==u&&"'"!==u)throw new Error("Invalid quote `"+u+"`, expected `'` or `\"`");return"allowDangerousHTML"in n&&!r&&(r=!0,console.warn("Deprecation warning: `allowDangerousHTML` is a nonstandard option, use `allowDangerousHtml` instead")),l({valid:n.allowParseErrors?0:1,safe:n.allowDangerousCharacters?0:1,schema:"svg"===n.space?i:o,omit:n.omitOptionalTags&&s,quote:u,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)}},75732(e,t,n){"use strict";var r=n(60713),o=n(18643),i=n(39573),a=n(72181),s=n(28178);function l(e,t,n){var r=a.after(n,t,!0);return!r||!i(r)&&!o(r)}function u(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:l,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:u,rp:u,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:l,caption:l,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})},26939(e,t,n){"use strict";t.opening=n(34279),t.closing=n(75732)},28178(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},34279(e,t,n){"use strict";var r=n(60713),o=n(72181),i=n(18643),a=n(39573),s=n(75732),l=n(28178);e.exports=l({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"))}})},39573(e,t,n){"use strict";var r=n(44546);e.exports=r("comment")},72181(e,t,n){"use strict";var r=n(6189);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)},18643(e,t,n){"use strict";var r=n(44546),o=n(6189);e.exports=function(e){return i(e)&&o(e.value.charAt(0))};var i=r("text")},89149(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(75492),doctype:n(60867),element:n(989),raw:n(85123),root:n(24138),text:n(55674)},o={}.hasOwnProperty},85123(e,t,n){"use strict";var r=n(55674);e.exports=function(e,t){return e.dangerous?t.value:r(e,t)}},55674(e,t,n){"use strict";var r=n(93227),o=n(55609);e.exports=function(e,t,n,i){return!i||"script"!==i.tagName&&"style"!==i.tagName?o(t.value,r(e.entities,{subset:["<","&"]})):t.value}},96055(e,t,n){"use strict";e.exports=function(e,t){var n,i=t||{},f={};return p.nodeById=f,p.baseFound=!1,p.frozenBaseUrl=null,p.wrapText=!0,p.qNesting=0,p.handlers=i.handlers?s(u,i.handlers):u,p.augment=h,p.document=i.document,p.checked=i.checked||"[x]",p.unchecked=i.unchecked||"[ ]",p.quotes=i.quotes||['"'],a(e,"element",function(e){var t=r(e,"id")&&String(e.properties.id).toUpperCase();t&&!c.call(f,t)&&(f[t]=e)}),o({newlines:!0===i.newlines})(e),n=l(p,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"),d(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 p(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(39138),o=n(56494),i=n(44546),a=n(53325),s=n(93227),l=n(94175),u=n(30737),c=n(92236),d=i(["heading","paragraph","root"])},42524(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(94175)},39972(e){"use strict";e.exports=function(e,t){e.baseFound||(e.frozenBaseUrl=t.properties.href,e.baseFound=!0)}},45706(e,t,n){"use strict";e.exports=function(e,t){return e(t,"blockquote",r(e,t))};var r=n(35468)},47010(e){"use strict";e.exports=function(e,t){return e.wrapText?e(t,"break"):e(t,"text"," ")}},18468(e,t,n){"use strict";e.exports=function(e,t){var n,o,d=t.children,f=-1;if(u(t))for(;++f<d.length;)if(c(d[f])&&r(d[f],"className")){n=d[f].properties.className;break}if(n)for(f=-1;++f<n.length;)if(n[f].slice(0,9)===l){o=n[f].slice(9);break}return e(t,"code",{lang:o||null,meta:null},a(s(e,i(t))))};var r=n(39138),o=n(39106),i=n(90591),a=n(31587),s=n(11276),l="language-",u=o("pre"),c=o("code")},2996(e,t,n){"use strict";e.exports=function(e,t){return e(t,"html","\x3c!--"+r(e,t.value)+"--\x3e")};var r=n(11276)},1582(e,t,n){"use strict";e.exports=function(e,t){return e(t,"delete",r(e,t))};var r=n(42524)},76221(e,t,n){"use strict";e.exports=function(e,t){for(var n,r,i=t.children,c=-1,d=[],f=[],p={titles:[],definitions:[]};++c<i.length;)r=i[c],d=d.concat(a(r)?r.children:r);for(c=-1;++c<d.length;)r=d[c],s(r)?(l(d[c-1])&&(f.push(p),p={titles:[],definitions:[]}),p.titles.push(r)):p.definitions.push(r);for(f.push(p),c=-1,n=[];++c<f.length;)(p=u(e,f[c].titles).concat(u(e,f[c].definitions))).length&&n.push({type:"listItem",spread:p.length>1,checked:null,children:p});if(n.length)return e(t,"list",{ordered:!1,start:null,spread:o(n)},n)};var r=n(39106),o=n(82111),i=n(24170),a=r("div"),s=r("dt"),l=r("dd");function u(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}},40135(e,t,n){"use strict";e.exports=function(e,t){return e(t,"emphasis",r(e,t))};var r=n(42524)},80299(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(42524)},24493(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(44952),o=n(11276)},99476(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(44952)},30737(e,t,n){"use strict";var r=n(42524),o=n(35468),i=n(39972),a=n(45706),s=n(47010),l=n(18468),u=n(2996),c=n(1582),d=n(76221),f=n(40135),p=n(80299),h=n(24493),m=n(99476),g=n(43736),v=n(21041),y=n(65485),E=n(87901),b=n(74201),C=n(54933),T=n(80447),k=n(58026),A=n(84217),x=n(7549),D=n(86950),S=n(23114),_=n(58692),w=n(10561),O=n(41546),N=n(66159),P=n(37576),R=n(18012);function B(){}t.root=A,t.text=O,t.comment=u,t.doctype=B,t.applet=B,t.area=B,t.basefont=B,t.bgsound=B,t.caption=B,t.col=B,t.colgroup=B,t.command=B,t.content=B,t.datalist=B,t.dialog=B,t.element=B,t.embed=B,t.frame=B,t.frameset=B,t.isindex=B,t.keygen=B,t.link=B,t.math=B,t.menu=B,t.menuitem=B,t.meta=B,t.nextid=B,t.noembed=B,t.noframes=B,t.optgroup=B,t.option=B,t.param=B,t.script=B,t.shadow=B,t.source=B,t.spacer=B,t.style=B,t.svg=B,t.template=B,t.title=B,t.track=B,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=y,t.audio=C,t.b=D,t.base=i,t.blockquote=a,t.br=s,t.code=g,t.dir=b,t.dl=d,t.dt=E,t.dd=E,t.del=c,t.em=f,t.h1=p,t.h2=p,t.h3=p,t.h4=p,t.h5=p,t.h6=p,t.hr=P,t.i=f,t.iframe=h,t.img=m,t.image=m,t.input=v,t.kbd=g,t.li=E,t.listing=l,t.mark=f,t.ol=b,t.p=T,t.plaintext=l,t.pre=l,t.q=k,t.s=c,t.samp=g,t.select=x,t.strike=c,t.strong=D,t.summary=T,t.table=w,t.td=S,t.textarea=N,t.th=S,t.tr=_,t.tt=g,t.u=f,t.ul=b,t.var=g,t.video=C,t.wbr=R,t.xmp=l},43736(e,t,n){"use strict";e.exports=function(e,t){return e(t,"inlineCode",o(e,r(t)))};var r=n(90591),o=n(11276)},21041(e,t,n){"use strict";e.exports=function(e,t){var n,r=t.properties,c=r.value||r.placeholder,d=[],f=[],p=-1;if(!r.disabled&&"hidden"!==r.type&&"file"!==r.type){if("checkbox"===r.type||"radio"===r.type)return e(t,"text",l(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&&l(e,r.title)||null,alt:l(e,r.alt||c)}):[];if(c?f=[[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)&&u(e.nodeById[n])&&(f=i(e,e.nodeById[n],r))),f.length){if("password"===r.type&&(f[0]=[o("•",f[0][0].length)]),"url"===r.type||"email"===r.type){for(;++p<f.length;)c=s(e,f[p][0]),d.push(e(t,"link",{title:null,url:l(e,"email"===r.type?"mailto:"+c:c)},[{type:"text",value:l(e,f[p][1]||c)}])),p!==f.length-1&&d.push({type:"text",value:", "});return d}for(;++p<f.length;)d.push(f[p][1]?f[p][1]+" ("+f[p][0]+")":f[p][0]);return e(t,"text",l(e,d.join(", ")))}}};var r=n(39106),o=n(45069),i=n(98156),a=n(92236),s=n(44952),l=n(11276),u=r("datalist")},65485(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(42524),o=n(44952)},87901(e,t,n){"use strict";e.exports=function(e,t){var n,r,l,u,c=t.children[0],d=null;return a(c)&&(r=c.children[0],!s(r)||"checkbox"!==r.properties.type&&"radio"!==r.properties.type||(d=Boolean(r.properties.checked),(u=o(c)).children=c.children.slice(1),(l=o(t)).children=[u].concat(t.children.slice(1)))),e(t,"listItem",{spread:(n=i(e,l||t)).length>1,checked:d},n)};var r=n(39106),o=n(17808),i=n(35468),a=r("p"),s=r("input")},74201(e,t,n){"use strict";e.exports=function(e,t){var n=s(t),r=a(e,t),l=null;return n&&(l=o(t,"start")?t.properties.start:1),e(t,"list",{ordered:n,start:l,spread:i(r)},r)};var r=n(39106),o=n(39138),i=n(82111),a=n(24170),s=r("ol")},54933(e,t,n){"use strict";e.exports=function(e,t){var n,r=a(e,t),d=c(t)&&t.properties.poster,f=t.properties.src,p=-1;if(i({type:"root",children:r},"link",function(){return n=!0,i.EXIT}),n||l.needed(r))return r;for(;!f&&++p<t.children.length;)u(t.children[p])&&(f=t.children[p].properties.src);return d&&(r=[{type:"image",title:null,url:s(e,d),alt:o({children:r})}]),{type:"link",title:t.properties.title||null,url:s(e,f),children:r}};var r=n(39106),o=n(77476),i=n(53325),a=n(42524),s=n(44952),l=n(19630),u=r("source"),c=r("video")},80447(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(42524)},58026(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(42524)},84217(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(42524),o=n(19630)},7549(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(98156),o=n(11276)},86950(e,t,n){"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(42524)},23114(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(42524)},58692(e,t,n){"use strict";e.exports=function(e,t){return e(t,"tableRow",r(e,t))};var r=n(42524)},10561(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):l(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=u(n.children,t);return o}(i(e,t),n))};var r=n(39106),o=n(53325),i=n(42524),a=r("thead"),s=r("tr"),l=r(["th","td"]);function u(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}},41546(e,t,n){"use strict";e.exports=function(e,t){return e(t,"text",r(e,t.value))};var r=n(11276)},66159(e,t,n){"use strict";e.exports=function(e,t){return e(t,"text",o(e,r(t)))};var r=n(90591),o=n(11276)},37576(e){"use strict";e.exports=function(e,t){return e(t,"thematicBreak")}},18012(e){"use strict";e.exports=function(e,t){return e(t,"text","")}},94175(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(42524),o=n(92236),i=n(11276);function a(e,t){return t.value?e(t,"text",i(e,t.value)):r(e,t)}},98156(e,t,n){"use strict";var r=n(39138),o=n(39106),i=n(90591),a=n(11276);e.exports=function(e,t,n){for(var o,s,u,c,d=n||t.properties,f=l(t),p=Math.min(parseInt(d.size,10),0)||(d.multiple?4:1),h=-1,m=[],g=[];++h<f.length;)r(f[h],"selected")&&m.push(f[h]);for(f=(m.length?m:f).slice(0,p),h=-1;++h<f.length;)o=f[h],u=(s=a(e,i(o)))||o.properties.label,c=o.properties.value||s,g.push([c,u===c?null:u]);return g};var s=o("option");function l(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(l(t)));return i}},82111(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}},92236(e){"use strict";e.exports={}.hasOwnProperty},44952(e){"use strict";e.exports=function(e,t){return null==t?"":e.frozenBaseUrl&&"undefined"!=typeof URL?String(new URL(t,e.frozenBaseUrl)):t}},17808(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(92236)},35468(e,t,n){"use strict";e.exports=function(e,t){return o(r(e,t))};var r=n(42524),o=n(19630)},24170(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(42524)},11276(e){"use strict";e.exports=function(e,t){return e.wrapText?t:t.replace(/\r?\n|\r/g," ")}},19630(e,t,n){"use strict";e.exports=a,a.needed=l;var r=n(89710),o=n(91209),i=n(17808);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||!l(t.children)?n.push(t):n=n.concat(u(t));return n}(e),d=[],f=-1;++f<s.length;)r=s[f],o(r)?(i||(i=[]),i.push(r)):(i&&(d=d.concat(t(i)),i=void 0),d=d.concat(a(r)));return i&&(d=d.concat(t(i))),d}function l(e){for(var t,n=-1;++n<e.length;)if(t=e[n],!o(t)||t.children&&l(t.children))return!0}function u(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}},5008(e){e.exports=function(e){return e}},22065(e,t,n){"use strict";e.exports=l;var r=n(44546),o=n(5008),i=!0,a="skip",s=!1;function l(e,t,n,l){var u,c;"function"==typeof t&&"function"!=typeof n&&(l=n,n=t,t=null),c=r(t),u=l?-1:1,function e(r,d,f){var p,h="object"==typeof r&&null!==r?r:{};return"string"==typeof h.type&&(p="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0,m.displayName="node ("+o(h.type+(p?"<"+p+">":""))+")"),m;function m(){var o,p,h=f.concat(r),m=[];if((!t||c(r,d,f[f.length-1]||null))&&(m=function(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[i,e]:[e]}(n(r,f)),m[0]===s))return m;if(r.children&&m[0]!==a)for(p=(l?r.children.length:-1)+u;p>-1&&p<r.children.length;){if((o=e(r.children[p],p,h)())[0]===s)return o;p="number"==typeof o[1]?o[1]:p+u}return m}}(e,null,[])()}l.CONTINUE=i,l.SKIP=a,l.EXIT=s},53325(e,t,n){"use strict";e.exports=s;var r=n(22065),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},90591(e,t,n){"use strict";var r=n(45069),o=n(39106),i=n(30933);e.exports=function(e){var t,n,o,i,a=e.children||[],s=p(e),u=y(e,{}),c=-1;if("text"===e.type||"comment"===e.type)return m(e,{whiteSpace:u,breakBefore:!0,breakAfter:!0});for(t=[];++c<a.length;)t=t.concat(h(a[c],0,e,{whiteSpace:u,breakBefore:c?null:s,breakAfter:c<a.length-1?l(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,l=o("br"),u=o("p"),c=o(["th","td"]),d=o("tr"),f=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}]),p=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=y(e,r),m=e.children||[],g=-1,v=[];if(f(e))return v;for(l(e)||d(e)&&i(n,e,d)?a="\n":u(e)?(o=2,a=2):p(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?l(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=[],l=[],u=0,c=-1;u<i.length;)a.lastIndex=u,r=(n=a.exec(i))?n.index:i.length,s.push(v(i.slice(u,r).replace(/[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]/g,""),t.breakBefore,t.breakAfter)),u=r+1;for(;++c<s.length;)8203===s[c].charCodeAt(s[c].length-1)||c<s.length-1&&8203===s[c+1].charCodeAt(0)?(l.push(s[c]),o=""):s[c]&&(o&&l.push(o),l.push(s[c]),o=" ");return l.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 y(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}}},6189(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},2719(e,t,n){"use strict";var r=n(24721),o=n(66615),i=n(8487),a=n(53551).parse,s=n(70532).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&&l.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)d(a.properties,r,n[r]);return u(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a};function d(t,n,o){var i,l,u;null!=o&&o==o&&(l=(i=r(e,n)).property,"string"==typeof(u=o)&&(i.spaceSeparated?u=a(u):i.commaSeparated?u=s(u):i.commaOrSpaceSeparated&&(u=a(s(u).join(" ")))),"style"===l&&"string"!=typeof o&&(u=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(u)),"className"===l&&t.className&&(u=t.className.concat(u)),t[l]=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,l,u))}};var l={}.hasOwnProperty;function u(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;)u(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}},36512(e,t,n){"use strict";var r=n(50019),o=n(2719)(r,"div");o.displayName="html",e.exports=o},17845(e,t,n){"use strict";e.exports=n(36512)},32939(e,t,n){"use strict";var r=n(72606),o=n(5810),i=n(2719)(r,"g",o);i.displayName="svg",e.exports=i},35615(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}}},37295(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}},10386(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())}},43623(e,t,n){"use strict";var r=n(37295),o=n(15364);e.exports=function(e){return r(e)||o(e)}},15364(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},29816(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}},12567(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 a=e.map(function(e){return function(e,t){var n=t&&t.byKey,a={},s=(e=e.replace("++","+add")).split("+"),c=s.length;for(var d in r)a[r[d]]=!1;var f=!0,p=!1,h=void 0;try{for(var m,g=s[Symbol.iterator]();!(f=(m=g.next()).done);f=!0){var v=m.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var E=u(v),b=r[E];if(v.length>1&&!b&&!o[v]&&!i[E])throw new TypeError('Unknown modifier: "'+v+'"');1!==c&&b||(n?a.key=E:a.which=l(v)),b&&(a[b]=!y||null)}}catch(e){p=!0,h=e}finally{try{!f&&g.return&&g.return()}finally{if(p)throw h}}return a}(e,t)}),s=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?s:s(n)}function l(e){return e=u(e),i[e]||e.toUpperCase().charCodeAt(0)}function u(e){return e=e.toLowerCase(),o[e]||e}t.Ay=s,t.v_=s},51498(e){"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\s/},76627(e){"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\w/},33103(e,t,n){var r=n(94715)(n(78942),"DataView");e.exports=r},25098(e,t,n){var r=n(23305),o=n(39361),i=n(11112),a=n(25276),s=n(57452);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},57553(e,t,n){var r=n(39747),o=n(75962);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},1386(e,t,n){var r=n(12393),o=n(62049),i=n(7144),a=n(7452),s=n(13964);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},528(e,t,n){var r=n(39747),o=n(75962);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},19770(e,t,n){var r=n(94715)(n(78942),"Map");e.exports=r},68250(e,t,n){var r=n(49753),o=n(5681),i=n(80088),a=n(54732),s=n(59068);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},89413(e,t,n){var r=n(94715)(n(78942),"Promise");e.exports=r},64512(e,t,n){var r=n(94715)(n(78942),"Set");e.exports=r},23212(e,t,n){var r=n(68250),o=n(1877),i=n(8006);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},51340(e,t,n){var r=n(1386),o=n(64103),i=n(21779),a=n(34162),s=n(7462),l=n(96638);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},65650(e,t,n){var r=n(78942).Symbol;e.exports=r},31623(e,t,n){var r=n(78942).Uint8Array;e.exports=r},19270(e,t,n){var r=n(94715)(n(78942),"WeakMap");e.exports=r},86912(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)}},79968(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}},79847(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}},59756(e,t,n){var r=n(2478);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},43316(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}},10358(e,t,n){var r=n(26137),o=n(3283),i=n(53142),a=n(75853),s=n(69632),l=n(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&l(e),p=n||c||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},65111(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}},11129(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}},36465(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}},52837(e){e.exports=function(e){return e.split("")}},3422(e,t,n){var r=n(57073),o=n(46285),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)}},97034(e,t,n){var r=n(46285);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},37930(e,t,n){var r=n(39032),o=n(81211);e.exports=function(e,t){return e&&r(t,o(t),e)}},30125(e,t,n){var r=n(39032),o=n(25288);e.exports=function(e,t){return e&&r(t,o(t),e)}},57073(e,t,n){var r=n(72532);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},69334(e,t,n){var r=n(51340),o=n(79968),i=n(3422),a=n(37930),s=n(30125),l=n(17099),u=n(84354),c=n(83546),d=n(24733),f=n(80393),p=n(93650),h=n(28486),m=n(97350),g=n(50424),v=n(75964),y=n(53142),E=n(75853),b=n(37681),C=n(41580),T=n(83943),k=n(81211),A=n(25288),x="[object Arguments]",D="[object Function]",S="[object Object]",_={};_[x]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[S]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[D]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,w,O,N,P){var R,B=1&n,F=2&n,I=4&n;if(w&&(R=N?w(t,O,N,P):w(t)),void 0!==R)return R;if(!C(t))return t;var M=y(t);if(M){if(R=m(t),!B)return u(t,R)}else{var L=h(t),j=L==D||"[object GeneratorFunction]"==L;if(E(t))return l(t,B);if(L==S||L==x||j&&!N){if(R=F||j?{}:v(t),!B)return F?d(t,s(R,t)):c(t,a(R,t))}else{if(!_[L])return N?t:{};R=g(t,L,B)}}P||(P=new r);var H=P.get(t);if(H)return H;P.set(t,R),T(t)?t.forEach(function(r){R.add(e(r,n,w,r,t,P))}):b(t)&&t.forEach(function(r,o){R.set(o,e(r,n,w,o,t,P))});var U=M?void 0:(I?F?p:f:F?A:k)(t);return o(U||t,function(r,o){U&&(r=t[o=r]),i(R,o,e(r,n,w,o,t,P))}),R}},39747(e,t,n){var r=n(41580),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},96576(e,t,n){var r=n(23212),o=n(59756),i=n(43316),a=n(65111),s=n(49460),l=n(65568);e.exports=function(e,t,n,u){var c=-1,d=o,f=!0,p=e.length,h=[],m=t.length;if(!p)return h;n&&(t=a(t,s(n))),u?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++c<p;){var g=e[c],v=null==n?g:n(g);if(g=u||0!==g?g:0,f&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else d(t,v,u)||h.push(g)}return h}},84570(e,t,n){var r=n(47170),o=n(45770)(r);e.exports=o},37250(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}},90313(e,t,n){var r=n(11129),o=n(20714);e.exports=function e(t,n,i,a,s){var l=-1,u=t.length;for(i||(i=o),s||(s=[]);++l<u;){var c=t[l];n>0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},35636(e,t,n){var r=n(86596)();e.exports=r},47170(e,t,n){var r=n(35636),o=n(81211);e.exports=function(e,t){return e&&r(e,t,o)}},57923(e,t,n){var r=n(93526),o=n(66040);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}},48244(e,t,n){var r=n(11129),o=n(53142);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},87379(e,t,n){var r=n(65650),o=n(8870),i=n(29005),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)}},63599(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},43636(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},2478(e,t,n){var r=n(37250),o=n(69454),i=n(97706);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},93854(e,t,n){var r=n(23212),o=n(59756),i=n(43316),a=n(65111),s=n(49460),l=n(65568),u=Math.min;e.exports=function(e,t,n){for(var c=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),m=1/0,g=[];p--;){var v=e[p];p&&t&&(v=a(v,s(t))),m=u(v.length,m),h[p]=!n&&(t||d>=120&&v.length>=120)?new r(p&&v):void 0}v=e[0];var y=-1,E=h[0];e:for(;++y<d&&g.length<m;){var b=v[y],C=t?t(b):b;if(b=n||0!==b?b:0,!(E?l(E,C):c(g,C,n))){for(p=f;--p;){var T=h[p];if(!(T?l(T,C):c(e[p],C,n)))continue e}E&&E.push(C),g.push(b)}}return g}},56027(e,t,n){var r=n(87379),o=n(80547);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},94687(e,t,n){var r=n(90353),o=n(80547);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))}},90353(e,t,n){var r=n(51340),o=n(33934),i=n(88861),a=n(31182),s=n(28486),l=n(53142),u=n(75853),c=n(8666),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),E=l(t),b=y?f:s(e),C=E?f:s(t),T=(b=b==d?p:b)==p,k=(C=C==d?p:C)==p,A=b==C;if(A&&u(e)){if(!u(t))return!1;y=!0,T=!1}if(A&&!T)return v||(v=new r),y||c(e)?o(e,t,n,m,g,v):i(e,t,b,n,m,g,v);if(!(1&n)){var x=T&&h.call(e,"__wrapped__"),D=k&&h.call(t,"__wrapped__");if(x||D){var S=x?e.value():e,_=D?t.value():t;return v||(v=new r),g(S,_,n,m,v)}}return!!A&&(v||(v=new r),a(e,t,n,m,g,v))}},80777(e,t,n){var r=n(28486),o=n(80547);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},38330(e,t,n){var r=n(51340),o=n(94687);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var p=new r;if(i)var h=i(d,f,c,e,t,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},69454(e){e.exports=function(e){return e!=e}},89624(e,t,n){var r=n(93655),o=n(64759),i=n(41580),a=n(64066),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},81935(e,t,n){var r=n(28486),o=n(80547);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},70674(e,t,n){var r=n(87379),o=n(65387),i=n(80547),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)]}},3334(e,t,n){var r=n(36526),o=n(12343),i=n(22053),a=n(53142),s=n(43282);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)}},195(e,t,n){var r=n(84882),o=n(98121),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}},57200(e,t,n){var r=n(41580),o=n(84882),i=n(38546),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}},75962(e){e.exports=function(){}},41393(e,t,n){var r=n(84570),o=n(36529);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}},36526(e,t,n){var r=n(38330),o=n(24367),i=n(23904);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)}}},12343(e,t,n){var r=n(94687),o=n(46123),i=n(27276),a=n(65187),s=n(67267),l=n(23904),u=n(66040);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},12762(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},98880(e,t,n){var r=n(57923);e.exports=function(e){return function(t){return r(t,e)}}},23945(e,t,n){var r=n(22053),o=n(75234),i=n(80796);e.exports=function(e,t){return i(o(e,t,r),e+"")}},4943(e,t,n){var r=n(22053),o=n(46065),i=o?function(e,t){return o.set(e,t),e}:r;e.exports=i},47403(e,t,n){var r=n(82619),o=n(72532),i=n(22053),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},73501(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}},26137(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},52291(e,t,n){var r=n(65650),o=n(65111),i=n(53142),a=n(51187),s=r?r.prototype:void 0,l=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 l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},86403(e,t,n){var r=n(62945),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},49460(e){e.exports=function(e){return function(t){return e(t)}}},81586(e,t,n){var r=n(93526),o=n(98087),i=n(13398),a=n(66040),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=-1,l=(t=r(t,e)).length;if(!l)return!0;for(var u=null==e||"object"!=typeof e&&"function"!=typeof e;++n<l;){var c=t[n];if("string"==typeof c){if("__proto__"===c&&!s.call(e,"__proto__"))return!1;if("constructor"===c&&n+1<l&&"string"==typeof t[n+1]&&"prototype"===t[n+1]){if(u&&0===n)continue;return!1}}}var d=i(e,t);return null==d||delete d[a(o(t))]}},65568(e){e.exports=function(e,t){return e.has(t)}},47648(e,t,n){var r=n(65406);e.exports=function(e){return r(e)?e:[]}},93526(e,t,n){var r=n(53142),o=n(65187),i=n(96493),a=n(95243);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},28931(e,t,n){var r=n(73501);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)}},28774(e,t,n){var r=n(2478);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},58898(e,t,n){var r=n(31623);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},17099(e,t,n){e=n.nmd(e);var r=n(78942),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}},92480(e,t,n){var r=n(58898);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},78340(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},18069(e,t,n){var r=n(65650),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},92264(e,t,n){var r=n(58898);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},4977(e){var t=Math.max;e.exports=function(e,n,r,o){for(var i=-1,a=e.length,s=r.length,l=-1,u=n.length,c=t(a-s,0),d=Array(u+c),f=!o;++l<u;)d[l]=n[l];for(;++i<s;)(f||i<a)&&(d[r[i]]=e[i]);for(;c--;)d[l++]=e[i++];return d}},85755(e){var t=Math.max;e.exports=function(e,n,r,o){for(var i=-1,a=e.length,s=-1,l=r.length,u=-1,c=n.length,d=t(a-l,0),f=Array(d+c),p=!o;++i<d;)f[i]=e[i];for(var h=i;++u<c;)f[h+u]=n[u];for(;++s<l;)(p||i<a)&&(f[h+r[s]]=e[i++]);return f}},84354(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}},39032(e,t,n){var r=n(3422),o=n(57073);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=i?i(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?o(n,u,c):r(n,u,c)}return n}},83546(e,t,n){var r=n(39032),o=n(77979);e.exports=function(e,t){return r(e,o(e),t)}},24733(e,t,n){var r=n(39032),o=n(85832);e.exports=function(e,t){return r(e,o(e),t)}},41950(e,t,n){var r=n(78942)["__core-js_shared__"];e.exports=r},3816(e){e.exports=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}},45770(e,t,n){var r=n(36529);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}}},86596(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 l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},56713(e,t,n){var r=n(64364),o=n(78942);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)}}},64364(e,t,n){var r=n(39747),o=n(41580);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}}},42443(e,t,n){var r=n(86912),o=n(64364),i=n(23504),a=n(34216),s=n(36850),l=n(8813),u=n(78942);e.exports=function(e,t,n){var c=o(e);return function o(){for(var d=arguments.length,f=Array(d),p=d,h=s(o);p--;)f[p]=arguments[p];var m=d<3&&f[0]!==h&&f[d-1]!==h?[]:l(f,h);return(d-=m.length)<n?a(e,t,i,o.placeholder,void 0,f,m,void 0,void 0,n-d):r(this&&this!==u&&this instanceof o?c:e,this,f)}}},51942(e,t,n){var r=n(528),o=n(41439),i=n(65196),a=n(50961),s=n(53142),l=n(46648);e.exports=function(e){return o(function(t){var n=t.length,o=n,u=r.prototype.thru;for(e&&t.reverse();o--;){var c=t[o];if("function"!=typeof c)throw new TypeError("Expected a function");if(u&&!d&&"wrapper"==a(c))var d=new r([],!0)}for(o=d?o:n;++o<n;){c=t[o];var f=a(c),p="wrapper"==f?i(c):void 0;d=p&&l(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?d[a(p[0])].apply(d,p[3]):1==c.length&&l(c)?d[f]():d.thru(c)}return function(){var e=arguments,r=e[0];if(d&&1==e.length&&s(r))return d.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}})}},23504(e,t,n){var r=n(4977),o=n(85755),i=n(3816),a=n(64364),s=n(34216),l=n(36850),u=n(26591),c=n(8813),d=n(78942);e.exports=function e(t,n,f,p,h,m,g,v,y,E){var b=128&n,C=1&n,T=2&n,k=24&n,A=512&n,x=T?void 0:a(t);return function D(){for(var S=arguments.length,_=Array(S),w=S;w--;)_[w]=arguments[w];if(k)var O=l(D),N=i(_,O);if(p&&(_=r(_,p,h,k)),m&&(_=o(_,m,g,k)),S-=N,k&&S<E){var P=c(_,O);return s(t,n,e,D.placeholder,f,_,P,v,y,E-S)}var R=C?f:this,B=T?R[t]:t;return S=_.length,v?_=u(_,v):A&&S>1&&_.reverse(),b&&y<S&&(_.length=y),this&&this!==d&&this instanceof D&&(B=x||a(B)),B.apply(R,_)}}},56341(e,t,n){var r=n(86912),o=n(64364),i=n(78942);e.exports=function(e,t,n,a){var s=1&t,l=o(e);return function t(){for(var o=-1,u=arguments.length,c=-1,d=a.length,f=Array(d+u),p=this&&this!==i&&this instanceof t?l:e;++c<d;)f[c]=a[c];for(;u--;)f[c++]=arguments[++o];return r(p,s?n:this,f)}}},34216(e,t,n){var r=n(46648),o=n(65512),i=n(5620);e.exports=function(e,t,n,a,s,l,u,c,d,f){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var h=[e,t,s,p?l:void 0,p?u:void 0,p?void 0:l,p?void 0:u,c,d,f],m=n.apply(void 0,h);return r(e)&&o(m,h),m.placeholder=a,i(m,e,t)}},58638(e,t,n){var r=n(4943),o=n(56713),i=n(42443),a=n(23504),s=n(56341),l=n(65196),u=n(47028),c=n(65512),d=n(5620),f=n(67642),p=Math.max;e.exports=function(e,t,n,h,m,g,v,y){var E=2&t;if(!E&&"function"!=typeof e)throw new TypeError("Expected a function");var b=h?h.length:0;if(b||(t&=-97,h=m=void 0),v=void 0===v?v:p(f(v),0),y=void 0===y?y:f(y),b-=m?m.length:0,64&t){var C=h,T=m;h=m=void 0}var k=E?void 0:l(e),A=[e,t,n,h,m,C,T,g,v,y];if(k&&u(A,k),e=A[0],t=A[1],n=A[2],h=A[3],m=A[4],!(y=A[9]=void 0===A[9]?E?0:e.length:p(A[9]-b,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?i(e,t,y):32!=t&&33!=t||m.length?a.apply(void 0,A):s(e,t,n,h);else var x=o(e,t,n);return d((k?r:c)(x,A),e,t)}},29259(e,t,n){var r=n(48360);e.exports=function(e){return r(e)?void 0:e}},72532(e,t,n){var r=n(94715),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},33934(e,t,n){var r=n(23212),o=n(36465),i=n(65568);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<c;){var v=e[h],y=t[h];if(a)var E=u?a(y,v,h,t,e,l):a(v,y,h,e,t,l);if(void 0!==E){if(E)continue;m=!1;break}if(g){if(!o(t,function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)})){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},88861(e,t,n){var r=n(65650),o=n(31623),i=n(46285),a=n(33934),s=n(95894),l=n(49828),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,f){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||!d(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 p=s;case"[object Set]":var h=1&r;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var g=a(p(e),p(t),r,u,d,f);return f.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},31182(e,t,n){var r=n(80393),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var f=u[d];if(!(l?f in t:o.call(t,f)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<c;){var v=e[f=u[d]],y=t[f];if(i)var E=l?i(y,v,f,t,e,s):i(v,y,f,e,t,s);if(!(void 0===E?v===y||a(v,y,n,i,s):E)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var b=e.constructor,C=t.constructor;b==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof C&&C instanceof C||(m=!1)}return s.delete(e),s.delete(t),m}},41439(e,t,n){var r=n(75857),o=n(75234),i=n(80796);e.exports=function(e){return i(o(e,void 0,r),e+"")}},74967(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},80393(e,t,n){var r=n(48244),o=n(77979),i=n(81211);e.exports=function(e){return r(e,i,o)}},93650(e,t,n){var r=n(48244),o=n(85832),i=n(25288);e.exports=function(e){return r(e,i,o)}},65196(e,t,n){var r=n(46065),o=n(79071),i=r?function(e){return r.get(e)}:o;e.exports=i},50961(e,t,n){var r=n(83476),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}},36850(e){e.exports=function(e){return e.placeholder}},44700(e,t,n){var r=n(79067);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},24367(e,t,n){var r=n(67267),o=n(81211);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}},94715(e,t,n){var r=n(89624),o=n(20155);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},74784(e,t,n){var r=n(3766)(Object.getPrototypeOf,Object);e.exports=r},8870(e,t,n){var r=n(65650),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}},77979(e,t,n){var r=n(79847),o=n(99306),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},85832(e,t,n){var r=n(11129),o=n(74784),i=n(77979),a=n(99306),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},28486(e,t,n){var r=n(33103),o=n(19770),i=n(89413),a=n(64512),s=n(19270),l=n(87379),u=n(64066),c="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(i),y=u(a),E=u(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=h||o&&b(new o)!=c||i&&b(i.resolve())!=d||a&&b(new a)!=f||s&&b(new s)!=p)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return c;case v:return d;case y:return f;case E:return p}return t}),e.exports=b},20155(e){e.exports=function(e,t){return null==e?void 0:e[t]}},98788(e){var t=/\{\n\/\* \[wrapped with (.+)\] \*/,n=/,? & /;e.exports=function(e){var r=e.match(t);return r?r[1].split(n):[]}},85899(e,t,n){var r=n(93526),o=n(3283),i=n(53142),a=n(69632),s=n(65387),l=n(66040);e.exports=function(e,t,n){for(var u=-1,c=(t=r(t,e)).length,d=!1;++u<c;){var f=l(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(i(e)||o(e))}},83417(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},23305(e,t,n){var r=n(94497);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},39361(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},11112(e,t,n){var r=n(94497),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}},25276(e,t,n){var r=n(94497),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},57452(e,t,n){var r=n(94497);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}},97350(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}},50424(e,t,n){var r=n(58898),o=n(92480),i=n(78340),a=n(18069),s=n(92264);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+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 l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},75964(e,t,n){var r=n(39747),o=n(74784),i=n(84882);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},49141(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")}},20714(e,t,n){var r=n(65650),o=n(3283),i=n(53142),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},69632(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}},65187(e,t,n){var r=n(53142),o=n(51187),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)}},79067(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},46648(e,t,n){var r=n(57553),o=n(65196),i=n(50961),a=n(93321);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]}},64759(e,t,n){var r,o=n(41950),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},84882(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},67267(e,t,n){var r=n(41580);e.exports=function(e){return e==e&&!r(e)}},12393(e){e.exports=function(){this.__data__=[],this.size=0}},62049(e,t,n){var r=n(97034),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))}},7144(e,t,n){var r=n(97034);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7452(e,t,n){var r=n(97034);e.exports=function(e){return r(this.__data__,e)>-1}},13964(e,t,n){var r=n(97034);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}},49753(e,t,n){var r=n(25098),o=n(1386),i=n(19770);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},5681(e,t,n){var r=n(44700);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},80088(e,t,n){var r=n(44700);e.exports=function(e){return r(this,e).get(e)}},54732(e,t,n){var r=n(44700);e.exports=function(e){return r(this,e).has(e)}},59068(e,t,n){var r=n(44700);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}},95894(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},23904(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},76853(e,t,n){var r=n(69011);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},47028(e,t,n){var r=n(4977),o=n(85755),i=n(8813),a="__lodash_placeholder__",s=Math.min;e.exports=function(e,t){var n=e[1],l=t[1],u=n|l,c=u<131,d=128==l&&8==n||128==l&&256==n&&e[7].length<=t[8]||384==l&&t[7].length<=t[8]&&8==n;if(!c&&!d)return e;1&l&&(e[2]=t[2],u|=1&n?0:4);var f=t[3];if(f){var p=e[3];e[3]=p?r(p,f,t[4]):f,e[4]=p?i(e[3],a):t[4]}return(f=t[5])&&(p=e[5],e[5]=p?o(p,f,t[6]):f,e[6]=p?i(e[5],a):t[6]),(f=t[7])&&(e[7]=f),128&l&&(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]=u,e}},46065(e,t,n){var r=n(19270),o=r&&new r;e.exports=o},94497(e,t,n){var r=n(94715)(Object,"create");e.exports=r},98121(e,t,n){var r=n(3766)(Object.keys,Object);e.exports=r},38546(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2306(e,t,n){e=n.nmd(e);var r=n(74967),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},29005(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766(e){e.exports=function(e,t){return function(n){return e(t(n))}}},75234(e,t,n){var r=n(86912),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),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},13398(e,t,n){var r=n(57923),o=n(73501);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},83476(e){e.exports={}},26591(e,t,n){var r=n(84354),o=n(69632),i=Math.min;e.exports=function(e,t){for(var n=e.length,a=i(t.length,n),s=r(e);a--;){var l=t[a];e[a]=o(l,n)?s[l]:void 0}return e}},8813(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}},78942(e,t,n){var r=n(74967),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},1877(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006(e){e.exports=function(e){return this.__data__.has(e)}},65512(e,t,n){var r=n(4943),o=n(3316)(r);e.exports=o},49828(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},80796(e,t,n){var r=n(47403),o=n(3316)(r);e.exports=o},5620(e,t,n){var r=n(98788),o=n(49141),i=n(80796),a=n(60033);e.exports=function(e,t,n){var s=t+"";return i(e,o(s,a(r(s),n)))}},3316(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)}}},64103(e,t,n){var r=n(1386);e.exports=function(){this.__data__=new r,this.size=0}},21779(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},34162(e){e.exports=function(e){return this.__data__.get(e)}},7462(e){e.exports=function(e){return this.__data__.has(e)}},96638(e,t,n){var r=n(1386),o=n(19770),i=n(68250);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}},97706(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}},82237(e,t,n){var r=n(52837),o=n(83417),i=n(92013);e.exports=function(e){return o(e)?i(e):r(e)}},96493(e,t,n){var r=n(76853),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},66040(e,t,n){var r=n(51187);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},64066(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""}},62945(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},92013(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]",l="(?:"+r+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",c=u+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+u+l+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+c,"g");e.exports=function(e){return e.match(f)||[]}},60033(e,t,n){var r=n(79968),o=n(59756),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()}},63410(e,t,n){var r=n(57553),o=n(528),i=n(84354);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}},82619(e){e.exports=function(e){return function(){return e}}},12784(e,t,n){var r=n(41580),o=n(94495),i=n(6131),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,d,f,p,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=u;return l=u=void 0,h=t,d=e.apply(r,n)}function E(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=c}function b(){var e=o();if(E(e))return C(e);f=setTimeout(b,function(e){var n=t-(e-p);return g?s(n,c-(e-h)):n}(e))}function C(e){return f=void 0,v&&l?y(e):(l=u=void 0,d)}function T(){var e=o(),n=E(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(b,t),m?y(e):d}(p);if(g)return clearTimeout(f),f=setTimeout(b,t),y(p)}return void 0===f&&(f=setTimeout(b,t)),d}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),T.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=u=f=void 0},T.flush=function(){return void 0===f?d:C(o())},T}},46285(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},66652(e,t,n){var r=n(90313),o=n(40105);e.exports=function(e,t){return r(o(e,t),1)}},75857(e,t,n){var r=n(90313);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},62879(e,t,n){var r=n(51942)();e.exports=r},46123(e,t,n){var r=n(57923);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},52103(e,t,n){var r=n(63599),o=n(85899);e.exports=function(e,t){return null!=e&&o(e,t,r)}},27276(e,t,n){var r=n(43636),o=n(85899);e.exports=function(e,t){return null!=e&&o(e,t,r)}},22053(e){e.exports=function(e){return e}},58150(e,t,n){var r=n(65111),o=n(93854),i=n(23945),a=n(47648),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},3283(e,t,n){var r=n(56027),o=n(80547),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},53142(e){var t=Array.isArray;e.exports=t},36529(e,t,n){var r=n(93655),o=n(65387);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},65406(e,t,n){var r=n(36529),o=n(80547);e.exports=function(e){return o(e)&&r(e)}},75853(e,t,n){e=n.nmd(e);var r=n(78942),o=n(34772),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3514(e,t,n){var r=n(195),o=n(28486),i=n(3283),a=n(53142),s=n(36529),l=n(75853),u=n(84882),c=n(8666),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},46343(e,t,n){var r=n(94687);e.exports=function(e,t){return r(e,t)}},93655(e,t,n){var r=n(87379),o=n(41580);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}},65387(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},37681(e,t,n){var r=n(80777),o=n(49460),i=n(2306),a=i&&i.isMap,s=a?o(a):r;e.exports=s},41580(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},80547(e){e.exports=function(e){return null!=e&&"object"==typeof e}},48360(e,t,n){var r=n(87379),o=n(74784),i=n(80547),a=Function.prototype,s=Object.prototype,l=a.toString,u=s.hasOwnProperty,c=l.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=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},83943(e,t,n){var r=n(81935),o=n(49460),i=n(2306),a=i&&i.isSet,s=a?o(a):r;e.exports=s},51187(e,t,n){var r=n(87379),o=n(80547);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},8666(e,t,n){var r=n(70674),o=n(49460),i=n(2306),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},81211(e,t,n){var r=n(10358),o=n(195),i=n(36529);e.exports=function(e){return i(e)?r(e):o(e)}},25288(e,t,n){var r=n(10358),o=n(57200),i=n(36529);e.exports=function(e){return i(e)?r(e,!0):o(e)}},98087(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},40105(e,t,n){var r=n(65111),o=n(3334),i=n(41393),a=n(53142);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},69011(e,t,n){var r=n(68250);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},79071(e){e.exports=function(){}},94495(e,t,n){var r=n(78942);e.exports=function(){return r.Date.now()}},3326(e,t,n){var r=n(65111),o=n(69334),i=n(81586),a=n(93526),s=n(39032),l=n(29259),u=n(41439),c=n(93650),d=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=o(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n});e.exports=d},50578(e,t,n){var r=n(23945),o=n(58638),i=n(36850),a=n(8813),s=r(function(e,t){var n=a(t,i(s));return o(e,32,void 0,t,n)});s.placeholder={},e.exports=s},43282(e,t,n){var r=n(12762),o=n(98880),i=n(65187),a=n(66040);e.exports=function(e){return i(e)?r(a(e)):o(e)}},99306(e){e.exports=function(){return[]}},34772(e){e.exports=function(){return!1}},97331(e,t,n){var r=n(12784),o=n(41580);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})}},43301(e,t,n){var r=n(6131),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},67642(e,t,n){var r=n(43301);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},6131(e,t,n){var r=n(86403),o=n(41580),i=n(51187),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=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||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},95243(e,t,n){var r=n(52291);e.exports=function(e){return null==e?"":r(e)}},17426(e,t,n){var r=n(52291),o=n(28931),i=n(28774),a=n(82237),s=n(95243),l=n(62945);e.exports=function(e,t,n){if((e=s(e))&&(n||void 0===t))return e.slice(0,l(e)+1);if(!e||!(t=r(t)))return e;var u=a(e),c=i(u,a(t))+1;return o(u,0,c).join("")}},30795(e,t,n){var r=n(96576),o=n(23945),i=n(65406),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},93321(e,t,n){var r=n(57553),o=n(528),i=n(75962),a=n(53142),s=n(80547),l=n(63410),u=Object.prototype.hasOwnProperty;function c(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof o)return e;if(u.call(e,"__wrapped__"))return l(e)}return new o(e)}c.prototype=i.prototype,c.prototype.constructor=c,e.exports=c},59281(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}},23126(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},72420(e,t,n){"use strict";var r=n(45552);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}},59107(e,t,n){"use strict";var r=n(45552);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()}},91209(e,t,n){"use strict";var r=n(44546)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);r.displayName="isPhrasing",e.exports=r},77476(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},59444(e){"use strict";var t={};function n(e,r,o){var i,a,s,l,u,c="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),u=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+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(l=e.charCodeAt(i+1))>=56320&&l<=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},61513(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),l=1;l<arguments.length;l++){for(var u in i=Object(arguments[l]))n.call(i,u)&&(s[u]=i[u]);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}},24721(e,t,n){"use strict";var r=n(66615),o=n(3061),i=n(62733),a="data";e.exports=function(e,t){var n=r(t),f=t,p=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)?f=function(e){var t=e.slice(5).replace(l,d);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);return l.test(t)?e:("-"!==(t=t.replace(u,c)).charAt(0)&&(t="-"+t),a+t)}(t),p=o),new p(f,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},50019(e,t,n){"use strict";var r=n(27341),o=n(84344),i=n(26505),a=n(30218),s=n(50311),l=n(15175);e.exports=r([i,o,a,s,l])},50311(e,t,n){"use strict";var r=n(51496),o=n(18481),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}})},15175(e,t,n){"use strict";var r=n(51496),o=n(18481),i=n(41652),a=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,d=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:d,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:u,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:c,coords:u|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:d,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:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,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:u,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,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:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})},4514(e,t,n){"use strict";var r=n(51496),o=n(18481),i=n(5621),a=r.boolean,s=r.number,l=r.spaceSeparated,u=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:l,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:u,g2:u,glyphName:u,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:l,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}})},41652(e,t,n){"use strict";var r=n(5621);e.exports=function(e,t){return r(e,t.toLowerCase())}},5621(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},18481(e,t,n){"use strict";var r=n(66615),o=n(99750),i=n(3061);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,d={},f={};for(t in u)n=new i(t,c(l,t),u[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,f[r(t)]=t,f[r(n.attribute)]=t;return new o(d,f,a)}},3061(e,t,n){"use strict";var r=n(62733),o=n(51496);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 u,c=-1;for(l(this,"space",s),r.call(this,e,t);++c<a;)l(this,u=i[c],(n&o[u])===o[u])}function l(e,t,n){n&&(e[t]=n)}},62733(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},27341(e,t,n){"use strict";var r=n(93227),o=n(99750);e.exports=function(e){for(var t,n,i=e.length,a=[],s=[],l=-1;++l<i;)t=e[l],a.push(t.property),s.push(t.normal),n=t.space;return new o(r.apply(null,a),r.apply(null,s),n)}},99750(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={}},51496(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()},84344(e,t,n){"use strict";var r=n(18481);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}})},26505(e,t,n){"use strict";var r=n(18481);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},30218(e,t,n){"use strict";var r=n(18481),o=n(41652);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o,properties:{xmlns:null,xmlnsXLink:null}})},66615(e){"use strict";e.exports=function(e){return e.toLowerCase()}},72606(e,t,n){"use strict";var r=n(27341),o=n(84344),i=n(26505),a=n(30218),s=n(50311),l=n(4514);e.exports=r([i,o,a,s,l])},87552(e,t,n){"use strict";var r=n(44119),o=n(89545);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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 a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),E=Symbol.for("react.activity"),b=Symbol.for("react.legacy_hidden"),C=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),k=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=k&&e[k]||e["@@iterator"])?e:null}var x=Array.isArray;function D(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var i=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=i=461845907*(65535&(i=(i=3432918353*(65535&i)+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(i=0,n){case 3:i^=(255&e.charCodeAt(t+2))<<16;case 2:i^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(i=(i=3432918353*(65535&(i^=255&e.charCodeAt(t)))+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var S=Object.assign,_=Object.prototype.hasOwnProperty,w=RegExp("^[: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]*$"),O={},N={};function P(e){return!!_.call(N,e)||!_.call(O,e)&&(w.test(e)?N[e]=!0:(O[e]=!0,!1))}var R=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),B=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),F=/["'&<>]/;function I(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=F.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var M=/([A-Z])/g,L=/^ms-/,j=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function H(e){return j.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var U=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},W=z.d;z.d={f:W.f,r:W.r,D:function(e){var t=hn||null;if(t){var n,r,o=t.resumableState,i=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=i.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(Ve,Ye)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(i.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(fe(n=[],{href:e,rel:"dns-prefetch"}),i.preconnects.add(n))),ur(t)}else W.D(e)},C:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var i,a,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(a=(r=o.headers)&&0<r.remainingCapacity)&&(a="<"+(""+e).replace(Ve,Ye)+">; rel=preconnect","string"==typeof t&&(a+='; crossorigin="'+(""+t).replace(Xe,Qe)+'"'),i=a,a=0<=(r.remainingCapacity-=i.length+2)),a?(o.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=i):(fe(s=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(s));ur(n)}}else W.C(e,t)},L:function(e,t,n){var r=hn||null;if(r){var o=r.resumableState,i=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var u,c=a?a+"\n"+(s||""):e;if(o.imageResources.hasOwnProperty(c))return;o.imageResources[c]=K,(o=i.headers)&&0<o.remainingCapacity&&"string"!=typeof a&&"high"===l&&(u=$e(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(i.resets.image[c]=K,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=u):(fe(o=[],S({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?i.highImagePreloads.add(o):(i.bulkPreloads.add(o),i.preloads.images.set(c,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;fe(a=[],S({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?K:[n.crossOrigin,n.integrity],i.preloads.stylesheets.set(e,a),i.bulkPreloads.add(a);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;a=[],i.preloads.scripts.set(e,a),i.bulkPreloads.add(a),fe(a,S({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?K:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((a=o.unknownResources[t]).hasOwnProperty(e))return}else a={},o.unknownResources[t]=a;a[e]=K,(o=i.headers)&&0<o.remainingCapacity&&"font"===t&&(c=$e(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(i.resets.font[e]=K,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=c):"font"===(fe(o=[],e=S({rel:"preload",href:e,as:t},n)),t)?i.fontPreloads.add(o):i.bulkPreloads.add(o)}ur(r)}}else W.L(e,t,n)},m:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=t&&"string"==typeof t.as?t.as:"script";if("script"===i){if(r.moduleScriptResources.hasOwnProperty(e))return;i=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?K:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,i)}else{if(r.moduleUnknownResources.hasOwnProperty(i)){var a=r.unknownResources[i];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[i]=a;i=[],a[e]=K}fe(i,S({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),ur(n)}}else W.m(e,t)},X:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==i&&(r.scriptResources[e]=null,t=S({src:e,async:!0},t),i&&(2===i.length&&qe(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),ve(e,t),ur(n))}}else W.X(e,t)},S:function(e,t,n){var r=hn||null;if(r){var o=r.resumableState,i=r.renderState;if(e){t=t||"default";var a=i.styles.get(t),s=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==s&&(o.styleResources[e]=null,a||(a={precedence:I(t),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,a)),t={state:0,props:S({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&qe(t.props,s),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),a.sheets.set(e,t),ur(r))}}else W.S(e,t,n)},M:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==i&&(r.moduleScriptResources[e]=null,t=S({src:e,type:"module",async:!0},t),i&&(2===i.length&&qe(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),ve(e,t),ur(n))}}else W.M(e,t)}};var K=[],q=null,$=/(<\/|<)(s)(cript)/gi;function V(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function Y(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function X(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return Y(2,null,1|r,null);case"select":return Y(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return Y(4,null,r,null);case"picture":return Y(2,null,2|r,null);case"math":return Y(5,null,r,null);case"foreignObject":return Y(2,null,r,null);case"table":return Y(6,null,r,null);case"thead":case"tbody":case"tfoot":return Y(7,null,r,null);case"colgroup":return Y(9,null,r,null);case"tr":return Y(8,null,r,null);case"head":if(2>e.insertionMode)return Y(3,null,r,null);break;case"html":if(0===e.insertionMode)return Y(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?Y(2,null,r,null):e.tagScope!==r?Y(e.insertionMode,e.selectedValue,r,null):e}function Q(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function J(e,t){return 32&t.tagScope&&(e.instructions|=128),Y(t.insertionMode,t.selectedValue,12|t.tagScope,Q(t.viewTransition))}function Z(e,t){e=Q(t.viewTransition);var n=16|t.tagScope;return null!==e&&"none"!==e.share&&(n|=64),Y(t.insertionMode,t.selectedValue,n,e)}var ee=new Map;function te(e,t){if("object"!=typeof t)throw Error(i(62));var n,r=!0;for(n in t)if(_.call(t,n)){var o=t[n];if(null!=o&&"boolean"!=typeof o&&""!==o){if(0===n.indexOf("--")){var a=I(n);o=I((""+o).trim())}else void 0===(a=ee.get(n))&&(a=I(n.replace(M,"-$1").toLowerCase().replace(L,"-ms-")),ee.set(n,a)),o="number"==typeof o?0===o||R.has(n)?""+o:o+"px":I((""+o).trim());r?(r=!1,e.push(' style="',a,":",o)):e.push(";",a,":",o)}}r||e.push('"')}function ne(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function re(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',I(n),'"')}var oe=I("javascript:throw new Error('React form unexpectedly submitted.')");function ie(e,t){this.push('<input type="hidden"'),ae(e),re(this,"name",t),re(this,"value",e),this.push("/>")}function ae(e){if("string"!=typeof e)throw Error(i(480))}function se(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach(ae)}return r}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function le(e,t,n,r,o,i,a,s){var l=null;if("function"==typeof r){var u=se(t,r);null!==u?(s=u.name,r=u.action||"",o=u.encType,i=u.method,a=u.target,l=u.data):(e.push(" ","formAction",'="',oe,'"'),a=i=o=r=s=null,de(t,n))}return null!=s&&ue(e,"name",s),null!=r&&ue(e,"formAction",r),null!=o&&ue(e,"formEncType",o),null!=i&&ue(e,"formMethod",i),null!=a&&ue(e,"formTarget",a),l}function ue(e,t,n){switch(t){case"className":re(e,"class",n);break;case"tabIndex":re(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":re(e,t,n);break;case"style":te(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=H(""+n),e.push(" ",t,'="',I(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ne(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=H(""+n),e.push(" ","xlink:href",'="',I(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',I(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',I(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',I(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',I(n),'"');break;case"xlinkActuate":re(e,"xlink:actuate",n);break;case"xlinkArcrole":re(e,"xlink:arcrole",n);break;case"xlinkRole":re(e,"xlink:role",n);break;case"xlinkShow":re(e,"xlink:show",n);break;case"xlinkTitle":re(e,"xlink:title",n);break;case"xlinkType":re(e,"xlink:type",n);break;case"xmlBase":re(e,"xml:base",n);break;case"xmlLang":re(e,"xml:lang",n);break;case"xmlSpace":re(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&P(t=B.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',I(n),'"')}}}function ce(e,t,n){if(null!=t){if(null!=n)throw Error(i(60));if("object"!=typeof t||!("__html"in t))throw Error(i(61));null!=(t=t.__html)&&e.push(""+t)}}function de(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Ge(r,e),r.push(">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")):r.unshift(t.startInlineScript,">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")}}function fe(e,t){for(var n in e.push(Te("link")),t)if(_.call(t,n)){var r=t[n];if(null!=r)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:ue(e,n,r)}}return e.push("/>"),null}var pe=/(<\/|<)(s)(tyle)/gi;function he(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function me(e,t,n){for(var r in e.push(Te(n)),t)if(_.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,n));default:ue(e,r,o)}}return e.push("/>"),null}function ge(e,t){e.push(Te("title"));var n,r=null,o=null;for(n in t)if(_.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,n,i)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(I(""+t)),ce(e,o,r),e.push(Ae("title")),null}function ve(e,t){e.push(Te("script"));var n,r=null,o=null;for(n in t)if(_.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,n,i)}}return e.push(">"),ce(e,o,r),"string"==typeof r&&e.push((""+r).replace($,V)),e.push(Ae("script")),null}function ye(e,t,n){e.push(Te(n));var r,o=n=null;for(r in t)if(_.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,r,i)}}return e.push(">"),ce(e,o,n),n}function Ee(e,t,n){e.push(Te(n));var r,o=n=null;for(r in t)if(_.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,r,i)}}return e.push(">"),ce(e,o,n),"string"==typeof n?(e.push(I(n)),null):n}var be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ce=new Map;function Te(e){var t=Ce.get(e);if(void 0===t){if(!be.test(e))throw Error(i(65,e));t="<"+e,Ce.set(e,t)}return t}var ke=new Map;function Ae(e){var t=ke.get(e);return void 0===t&&(t="</"+e+">",ke.set(e,t)),t}function xe(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function De(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function Se(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(i(395));return e.push(t.boundaryPrefix),t=n.toString(16),e.push(t),e.push('"></template>')}var _e=/[<\u2028\u2029]/g;function we(e){return JSON.stringify(e).replace(_e,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 Oe=/[&><\u2028\u2029]/g;function Ne(e){return JSON.stringify(e).replace(Oe,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts 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 Pe=!1,Re=!0;function Be(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(q.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Re=this.push("</style>"),Pe=!0,t.length=0,n.length=0}}function Fe(e){return 2!==e.state&&(Pe=!0)}function Ie(e,t,n){return Pe=!1,Re=!0,q=n,t.styles.forEach(Be,e),q=null,t.stylesheets.forEach(Fe),Pe&&(n.stylesToHoist=!0),Re}function Me(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Le=[];function je(e){fe(Le,e.props);for(var t=0;t<Le.length;t++)this.push(Le[t]);Le.length=0,e.state=2}function He(e){var t=0<e.sheets.size;e.sheets.forEach(je,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(q.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Ue(e){if(0===e.state){e.state=1;var t=e.props;for(fe(Le,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Le.length;e++)this.push(Le[e]);Le.length=0}}function ze(e){e.sheets.forEach(Ue,this),e.sheets.clear()}function Ge(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(' id="',I("_"+t.idPrefix+"R_"),'"'))}function We(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=H(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!P(t))return;t=""+n}e.push(","),r=Ne(r),e.push(r),e.push(","),r=Ne(t),e.push(r)}function Ke(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function qe(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function $e(e,t,n){for(var r in t="<"+(e=(""+e).replace(Ve,Ye))+'>; rel=preload; as="'+(t=(""+t).replace(Xe,Qe))+'"',n)_.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(Xe,Qe)+'"');return t}var Ve=/[<>\r\n]/g;function Ye(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer 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 Xe=/["';,\r\n]/g;function Qe(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer 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 Je(e){this.styles.add(e)}function Ze(e){this.stylesheets.add(e)}function et(e,t){t.styles.forEach(Je,e),t.stylesheets.forEach(Ze,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function tt(e,t,n,r){return n.generateStaticMarkup?(e.push(I(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(I(t)),e=!0),e)}function nt(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var rt=Function.prototype.bind,ot=Symbol.for("react.client.reference");function it(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===ot?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList";case E:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case f:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case p:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case g:return null!==(t=e.displayName||null)?t:it(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return it(e(t))}catch(e){}}return null}var at={},st=null;function lt(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(i(401))}else{if(null===n)throw Error(i(401));lt(e,n)}t.context._currentValue2=t.value}}function ut(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ut(e)}function ct(e){var t=e.parent;null!==t&&ct(t),e.context._currentValue2=e.value}function dt(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(i(402));e.depth===t.depth?lt(e,t):dt(e,t)}function ft(e,t){var n=t.parent;if(null===n)throw Error(i(402));e.depth===n.depth?lt(e,n):ft(e,n),t.context._currentValue2=t.value}function pt(e){var t=st;t!==e&&(null===t?ct(e):null===e?ut(t):t.depth===e.depth?lt(t,e):t.depth>e.depth?dt(t,e):ft(t,e),st=e)}var ht={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(){}},mt={id:1,overflow:""};function gt(e,t,n){var r=e.id;e=e.overflow;var o=32-vt(r)-1;r&=~(1<<o),n+=1;var i=32-vt(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-vt(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var vt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(yt(e)/Et|0)|0},yt=Math.log,Et=Math.LN2;function bt(){}var Ct=Error(i(460)),Tt=null;function kt(){if(null===Tt)throw Error(i(459));var e=Tt;return Tt=null,e}var At="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},xt=null,Dt=null,St=null,_t=null,wt=null,Ot=null,Nt=!1,Pt=!1,Rt=0,Bt=0,Ft=-1,It=0,Mt=null,Lt=null,jt=0;function Ht(){if(null===xt)throw Error(i(321));return xt}function Ut(){if(0<jt)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function zt(){return null===Ot?null===wt?(Nt=!1,wt=Ot=Ut()):(Nt=!0,Ot=wt):null===Ot.next?(Nt=!1,Ot=Ot.next=Ut()):(Nt=!0,Ot=Ot.next),Ot}function Gt(){var e=Mt;return Mt=null,e}function Wt(){_t=St=Dt=xt=null,Pt=!1,wt=null,jt=0,Ot=Lt=null}function Kt(e,t){return"function"==typeof t?t(e):t}function qt(e,t,n){if(xt=Ht(),Ot=zt(),Nt){var r=Ot.queue;if(t=r.dispatch,null!==Lt&&void 0!==(n=Lt.get(r))){Lt.delete(r),r=Ot.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ot.memoizedState=r,[r,t]}return[Ot.memoizedState,t]}return e=e===Kt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ot.memoizedState=e,e=(e=Ot.queue={last:null,dispatch:null}).dispatch=Vt.bind(null,xt,e),[Ot.memoizedState,e]}function $t(e,t){if(xt=Ht(),t=void 0===t?null:t,null!==(Ot=zt())){var n=Ot.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(!At(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ot.memoizedState=[e,t],e}function Vt(e,t,n){if(25<=jt)throw Error(i(301));if(e===xt)if(Pt=!0,e={action:n,next:null},null===Lt&&(Lt=new Map),void 0===(n=Lt.get(t)))Lt.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Yt(){throw Error(i(440))}function Xt(){throw Error(i(394))}function Qt(){throw Error(i(479))}function Jt(e,t,n){Ht();var r=Bt++,o=St;if("function"==typeof e.$$FORM_ACTION){var i=null,a=_t;o=o.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof s){var l=o[1];s.call(e,o[2],o[3])&&l===(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0))&&(Ft=r,t=o[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===i&&(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",i)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function Zt(e){var t=It;return It+=1,null===Mt&&(Mt=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(bt,bt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(bt,bt):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Tt=t,Ct}}(Mt,e,t)}function en(){throw Error(i(393))}var tn,nn,rn={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Zt(e);if(e.$$typeof===f)return e._currentValue2}throw Error(i(438,String(e)))},useContext:function(e){return Ht(),e._currentValue2},useMemo:$t,useReducer:qt,useRef:function(e){xt=Ht();var t=(Ot=zt()).memoizedState;return null===t?(e={current:e},Ot.memoizedState=e):t},useState:function(e){return qt(Kt,e)},useInsertionEffect:bt,useLayoutEffect:bt,useCallback:function(e,t){return $t(function(){return e},t)},useImperativeHandle:bt,useEffect:bt,useDebugValue:bt,useDeferredValue:function(e,t){return Ht(),void 0!==t?t:e},useTransition:function(){return Ht(),[!1,Xt]},useId:function(){var e=Dt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-vt(e)-1)).toString(32)+t;var n=on;if(null===n)throw Error(i(404));return t=Rt++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(i(407));return n()},useOptimistic:function(e){return Ht(),[e,Qt]},useActionState:Jt,useFormState:Jt,useHostTransitionStatus:function(){return Ht(),G},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=C;return t},useCacheRefresh:function(){return en},useEffectEvent:function(){return Yt}},on=null,an={getCacheForType:function(){throw Error(i(248))},cacheSignal:function(){throw Error(i(248))}};function sn(e){if(void 0===tn)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tn=t&&t[1]||"",nn=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tn+e+nn}var ln=!1;function un(e,t){if(!e||ln)return"";ln=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{ln=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?sn(n):""}function cn(e){if("string"==typeof e)return sn(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?un(e,!0):un(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case p:return un(e.render,!1);case g:return un(e.type,!1);case v:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(e){return sn("Lazy")}return cn(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?sn(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case m:return sn("SuspenseList");case h:return sn("Suspense")}return""}function dn(e,t){return 500<t.byteSize&&null===t.contentPreamble}function fn(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),(t=rt.apply(console.error,e))()}else console.error(e);return null}function pn(e,t,n,r,o,i,a,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?fn:o,this.onPostpone=void 0===u?bt:u,this.onAllReady=void 0===i?bt:i,this.onShellReady=void 0===a?bt:a,this.onShellError=void 0===s?bt:s,this.onFatalError=void 0===l?bt:l,this.formState=void 0===c?null:c}var hn=null;function mn(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Qn(e))}function gn(e,t,n,r,o){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:Ke(),fallbackState:Ke(),contentPreamble:r,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&et(n.contentState,e)),n}function vn(e,t,n,r,o,i,a,s,l,u,c,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return mn(e,m)},blockedBoundary:o,blockedSegment:i,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:f,row:p,componentStack:h,thenableState:t};return l.add(m),m}function yn(e,t,n,r,o,i,a,s,l,u,c,d,f,p){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return mn(e,h)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(h),h}function En(e,t,n,r,o,i){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function bn(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===a&&(e.componentStack={parent:e.componentStack,type:t.type})}function Cn(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Tn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=cn(r.type),r=r.parent}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function kn(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function An(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function xn(e,t){Dn(e,t.next,t.hoistables)}function Dn(e,t,n){for(;null!==t;){null!==n&&(et(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var o=0;o<r.length;o++){var i=r[o];null!==n&&et(i.contentState,n),Xn(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Sn(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,o=0;o<n.length;o++){var i=n[o];if(1!==i.pendingTasks||i.parentFlushed||dn(0,i)){r=!1;break}}r&&Dn(e,t,t.hoistables)}}function _n(e){var t={pendingTasks:1,boundaries:null,hoistables:Ke(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function wn(e,t,n,r,o){var i=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<n;c++){var d="backwards"!==o&&"unstable_legacy-backwards"!==o?c:n-1-c,f=r[d];t.row=l=_n(l),t.treeContext=gt(a,n,d);var p=u[d];"number"==typeof p?(Rn(e,t,p,f,d),delete u[d]):zn(e,t,f,d),0===--l.pendingTasks&&xn(e,l)}else for(u=0;u<n;u++)d=r[c="backwards"!==o&&"unstable_legacy-backwards"!==o?u:n-1-u],t.row=l=_n(l),t.treeContext=gt(a,n,c),zn(e,t,d,c),0===--l.pendingTasks&&xn(e,l)}else if("backwards"!==o&&"unstable_legacy-backwards"!==o)for(o=0;o<n;o++)u=r[o],t.row=l=_n(l),t.treeContext=gt(a,n,o),zn(e,t,u,o),0===--l.pendingTasks&&xn(e,l);else{for(u=(o=t.blockedSegment).children.length,c=o.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=l=_n(l),t.treeContext=gt(a,n,d),p=En(0,c,null,t.formatContext,0!==d||o.lastPushedText,!0),o.children.splice(u,0,p),t.blockedSegment=p;try{zn(e,t,f,d),nt(p.chunks,e.renderState,p.lastPushedText,p.textEmbedded),p.status=1,0===--l.pendingTasks&&xn(e,l)}catch(t){throw p.status=12===e.status?3:4,t}}t.blockedSegment=o,o.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=i}function On(e,t,n,r,o,i){var a=t.thenableState;for(t.thenableState=null,xt={},Dt=t,St=e,_t=n,Bt=Rt=0,Ft=-1,It=0,Mt=a,e=r(o,i);Pt;)Pt=!1,Bt=Rt=0,Ft=-1,It=0,jt+=1,Ot=null,e=r(o,i);return Wt(),e}function Nn(e,t,n,r,o,i,a){var s=!1;if(0!==i&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<i;u++)u===a?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=gt(n,1,0),zn(e,t,r,-1),t.treeContext=n):s?zn(e,t,r,-1):Bn(e,t,r,-1),t.keyPath=i}function Pn(e,t,n,o,a,s){if("function"==typeof o)if(o.prototype&&o.prototype.isReactComponent){var C=a;if("ref"in a)for(var k in C={},a)"ref"!==k&&(C[k]=a[k]);var D=o.defaultProps;if(D)for(var w in C===a&&(C=S({},C,a)),D)void 0===C[w]&&(C[w]=D[w]);a=C,C=at,"object"==typeof(D=o.contextType)&&null!==D&&(C=D._currentValue2);var O=void 0!==(C=new o(a,C)).state?C.state:null;if(C.updater=ht,C.props=a,C.state=O,D={queue:[],replace:!1},C._reactInternals=D,s=o.contextType,C.context="object"==typeof s&&null!==s?s._currentValue2:at,"function"==typeof(s=o.getDerivedStateFromProps)&&(O=null==(s=s(a,O))?O:S({},O,s),C.state=O),"function"!=typeof o.getDerivedStateFromProps&&"function"!=typeof C.getSnapshotBeforeUpdate&&("function"==typeof C.UNSAFE_componentWillMount||"function"==typeof C.componentWillMount))if(o=C.state,"function"==typeof C.componentWillMount&&C.componentWillMount(),"function"==typeof C.UNSAFE_componentWillMount&&C.UNSAFE_componentWillMount(),o!==C.state&&ht.enqueueReplaceState(C,C.state,null),null!==D.queue&&0<D.queue.length)if(o=D.queue,s=D.replace,D.queue=null,D.replace=!1,s&&1===o.length)C.state=o[0];else{for(D=s?o[0]:C.state,O=!0,s=s?1:0;s<o.length;s++)null!=(w="function"==typeof(w=o[s])?w.call(C,D,a,void 0):w)&&(O?(O=!1,D=S({},D,w)):S(D,w));C.state=D}else D.queue=null;if(o=C.render(),12===e.status)throw null;a=t.keyPath,t.keyPath=n,Bn(e,t,o,-1),t.keyPath=a}else{if(o=On(e,t,n,o,a,void 0),12===e.status)throw null;Nn(e,t,n,o,0!==Rt,Bt,Ft)}else{if("string"!=typeof o){switch(o){case b:case u:case c:case l:return o=t.keyPath,t.keyPath=n,Bn(e,t,a.children,-1),void(t.keyPath=o);case E:return void(null===(o=t.blockedSegment)?"hidden"!==a.mode&&(o=t.keyPath,t.keyPath=n,zn(e,t,a.children,-1),t.keyPath=o):"hidden"!==a.mode&&(e.renderState.generateStaticMarkup||o.chunks.push("\x3c!--&--\x3e"),o.lastPushedText=!1,C=t.keyPath,t.keyPath=n,zn(e,t,a.children,-1),t.keyPath=C,e.renderState.generateStaticMarkup||o.chunks.push("\x3c!--/&--\x3e"),o.lastPushedText=!1));case m:e:{if(o=a.children,"forwards"===(a=a.revealOrder)||"backwards"===a||"unstable_legacy-backwards"===a){if(x(o)){wn(e,t,n,o,a);break e}if((C=A(o))&&(C=C.call(o))){if(!(D=C.next()).done){do{D=C.next()}while(!D.done);wn(e,t,n,o,a)}break e}}"together"===a?(a=t.keyPath,C=t.row,(D=t.row=_n(null)).boundaries=[],D.together=!0,t.keyPath=n,Bn(e,t,o,-1),0===--D.pendingTasks&&xn(e,D),t.keyPath=a,t.row=C,null!==C&&0<D.pendingTasks&&(C.pendingTasks++,D.next=C)):(a=t.keyPath,t.keyPath=n,Bn(e,t,o,-1),t.keyPath=a)}return;case T:case y:throw Error(i(343));case h:e:if(null!==t.replay){o=t.keyPath,C=t.formatContext,D=t.row,t.keyPath=n,t.formatContext=Z(e.resumableState,C),t.row=null,n=a.children;try{zn(e,t,n,-1)}finally{t.keyPath=o,t.formatContext=C,t.row=D}}else{o=t.keyPath,s=t.formatContext;var N=t.row,R=t.blockedBoundary;w=t.blockedPreamble;var B=t.hoistableState;k=t.blockedSegment;var F=a.fallback;a=a.children;var M=new Set,L=gn(e,t.row,M,null,null);null!==e.trackedPostpones&&(L.trackedContentKeyPath=n);var j=En(0,k.chunks.length,L,t.formatContext,!1,!1);k.children.push(j),k.lastPushedText=!1;var U=En(0,0,null,t.formatContext,!1,!1);if(U.parentFlushed=!0,null!==e.trackedPostpones){C=t.componentStack,O=[(D=[n[0],"Suspense Fallback",n[2]])[1],D[2],[],null],e.trackedPostpones.workingMap.set(D,O),L.trackedFallbackNode=O,t.blockedSegment=j,t.blockedPreamble=L.fallbackPreamble,t.keyPath=D,t.formatContext=J(e.resumableState,s),t.componentStack=Cn(C),j.status=6;try{zn(e,t,F,-1),nt(j.chunks,e.renderState,j.lastPushedText,j.textEmbedded),j.status=1}catch(t){throw j.status=12===e.status?3:4,t}finally{t.blockedSegment=k,t.blockedPreamble=w,t.keyPath=o,t.formatContext=s}bn(t=vn(e,null,a,-1,L,U,L.contentPreamble,L.contentState,t.abortSet,n,Z(e.resumableState,t.formatContext),t.context,t.treeContext,null,C)),e.pingedTasks.push(t)}else{t.blockedBoundary=L,t.blockedPreamble=L.contentPreamble,t.hoistableState=L.contentState,t.blockedSegment=U,t.keyPath=n,t.formatContext=Z(e.resumableState,s),t.row=null,U.status=6;try{if(zn(e,t,a,-1),nt(U.chunks,e.renderState,U.lastPushedText,U.textEmbedded),U.status=1,Yn(L,U),0===L.pendingTasks&&0===L.status){if(L.status=1,!dn(0,L)){null!==N&&0===--N.pendingTasks&&xn(e,N),0===e.pendingRootTasks&&t.blockedPreamble&&er(e);break e}}else null!==N&&N.together&&Sn(e,N)}catch(n){L.status=4,12===e.status?(U.status=3,C=e.fatalError):(U.status=4,C=n),O=kn(e,C,D=Tn(t.componentStack)),L.errorDigest=O,jn(e,L)}finally{t.blockedBoundary=R,t.blockedPreamble=w,t.hoistableState=B,t.blockedSegment=k,t.keyPath=o,t.formatContext=s,t.row=N}bn(t=vn(e,null,F,-1,R,j,L.fallbackPreamble,L.fallbackState,M,[n[0],"Suspense Fallback",n[2]],J(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Cn(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof o&&null!==o)switch(o.$$typeof){case p:if("ref"in a)for(F in C={},a)"ref"!==F&&(C[F]=a[F]);else C=a;return void Nn(e,t,n,o=On(e,t,n,o.render,C,s),0!==Rt,Bt,Ft);case g:return void Pn(e,t,n,o.type,a,s);case f:if(D=a.children,C=t.keyPath,a=a.value,O=o._currentValue2,o._currentValue2=a,st=o={parent:s=st,depth:null===s?0:s.depth+1,context:o,parentValue:O,value:a},t.context=o,t.keyPath=n,Bn(e,t,D,-1),null===(e=st))throw Error(i(403));return e.context._currentValue2=e.parentValue,e=st=e.parent,t.context=e,void(t.keyPath=C);case d:return o=(a=a.children)(o._context._currentValue2),a=t.keyPath,t.keyPath=n,Bn(e,t,o,-1),void(t.keyPath=a);case v:if(o=(C=o._init)(o._payload),12===e.status)throw null;return void Pn(e,t,n,o,a,s)}throw Error(i(130,null==o?o:typeof o,""))}if(null===(C=t.blockedSegment))C=a.children,D=t.formatContext,O=t.keyPath,t.formatContext=X(D,o,a),t.keyPath=n,zn(e,t,C,-1),t.formatContext=D,t.keyPath=O;else{if(O=function(e,t,n,o,a,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(Te("a"));var d,f=null,p=null;for(d in n)if(_.call(n,d)){var h=n[d];if(null!=h)switch(d){case"children":f=h;break;case"dangerouslySetInnerHTML":p=h;break;case"href":""===h?re(e,"href",""):ue(e,d,h);break;default:ue(e,d,h)}}if(e.push(">"),ce(e,p,f),"string"==typeof f){e.push(I(f));var m=null}else m=f;return m;case"select":e.push(Te("select"));var g,v=null,y=null;for(g in n)if(_.call(n,g)){var E=n[g];if(null!=E)switch(g){case"children":v=E;break;case"dangerouslySetInnerHTML":y=E;break;case"defaultValue":case"value":break;default:ue(e,g,E)}}return e.push(">"),ce(e,y,v),v;case"option":var b=u.selectedValue;e.push(Te("option"));var C,T=null,k=null,A=null,D=null;for(C in n)if(_.call(n,C)){var w=n[C];if(null!=w)switch(C){case"children":T=w;break;case"selected":A=w;break;case"dangerouslySetInnerHTML":D=w;break;case"value":k=w;default:ue(e,C,w)}}if(null!=b){var O=null!==k?""+k:function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(T);if(x(b)){for(var N=0;N<b.length;N++)if(""+b[N]===O){e.push(' selected=""');break}}else""+b===O&&e.push(' selected=""')}else A&&e.push(' selected=""');return e.push(">"),ce(e,D,T),T;case"textarea":e.push(Te("textarea"));var R,B=null,F=null,M=null;for(R in n)if(_.call(n,R)){var L=n[R];if(null!=L)switch(R){case"children":M=L;break;case"value":B=L;break;case"defaultValue":F=L;break;case"dangerouslySetInnerHTML":throw Error(i(91));default:ue(e,R,L)}}if(null===B&&null!==F&&(B=F),e.push(">"),null!=M){if(null!=B)throw Error(i(92));if(x(M)){if(1<M.length)throw Error(i(93));B=""+M[0]}B=""+M}return"string"==typeof B&&"\n"===B[0]&&e.push("\n"),null!==B&&e.push(I(""+B)),null;case"input":e.push(Te("input"));var j,U=null,z=null,G=null,W=null,q=null,$=null,V=null,Y=null,X=null;for(j in n)if(_.call(n,j)){var Q=n[j];if(null!=Q)switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"input"));case"name":U=Q;break;case"formAction":z=Q;break;case"formEncType":G=Q;break;case"formMethod":W=Q;break;case"formTarget":q=Q;break;case"defaultChecked":X=Q;break;case"defaultValue":V=Q;break;case"checked":Y=Q;break;case"value":$=Q;break;default:ue(e,j,Q)}}var J=le(e,o,a,z,G,W,q,U);return null!==Y?ne(e,"checked",Y):null!==X&&ne(e,"checked",X),null!==$?ue(e,"value",$):null!==V&&ue(e,"value",V),e.push("/>"),null!=J&&J.forEach(ie,e),null;case"button":e.push(Te("button"));var Z,ee=null,ae=null,be=null,Ce=null,ke=null,xe=null,De=null;for(Z in n)if(_.call(n,Z)){var Se=n[Z];if(null!=Se)switch(Z){case"children":ee=Se;break;case"dangerouslySetInnerHTML":ae=Se;break;case"name":be=Se;break;case"formAction":Ce=Se;break;case"formEncType":ke=Se;break;case"formMethod":xe=Se;break;case"formTarget":De=Se;break;default:ue(e,Z,Se)}}var _e=le(e,o,a,Ce,ke,xe,De,be);if(e.push(">"),null!=_e&&_e.forEach(ie,e),ce(e,ae,ee),"string"==typeof ee){e.push(I(ee));var we=null}else we=ee;return we;case"form":e.push(Te("form"));var Oe,Ne=null,Pe=null,Re=null,Be=null,Fe=null,Ie=null;for(Oe in n)if(_.call(n,Oe)){var Me=n[Oe];if(null!=Me)switch(Oe){case"children":Ne=Me;break;case"dangerouslySetInnerHTML":Pe=Me;break;case"action":Re=Me;break;case"encType":Be=Me;break;case"method":Fe=Me;break;case"target":Ie=Me;break;default:ue(e,Oe,Me)}}var Le=null,je=null;if("function"==typeof Re){var He=se(o,Re);null!==He?(Re=He.action||"",Be=He.encType,Fe=He.method,Ie=He.target,Le=He.data,je=He.name):(e.push(" ","action",'="',oe,'"'),Ie=Fe=Be=Re=null,de(o,a))}if(null!=Re&&ue(e,"action",Re),null!=Be&&ue(e,"encType",Be),null!=Fe&&ue(e,"method",Fe),null!=Ie&&ue(e,"target",Ie),e.push(">"),null!==je&&(e.push('<input type="hidden"'),re(e,"name",je),e.push("/>"),null!=Le&&Le.forEach(ie,e)),ce(e,Pe,Ne),"string"==typeof Ne){e.push(I(Ne));var Ue=null}else Ue=Ne;return Ue;case"menuitem":for(var ze in e.push(Te("menuitem")),n)if(_.call(n,ze)){var Ge=n[ze];if(null!=Ge)switch(ze){case"children":case"dangerouslySetInnerHTML":throw Error(i(400));default:ue(e,ze,Ge)}}return e.push(">"),null;case"object":e.push(Te("object"));var We,Ke=null,Ve=null;for(We in n)if(_.call(n,We)){var Ye=n[We];if(null!=Ye)switch(We){case"children":Ke=Ye;break;case"dangerouslySetInnerHTML":Ve=Ye;break;case"data":var Xe=H(""+Ye);if(""===Xe)break;e.push(" ","data",'="',I(Xe),'"');break;default:ue(e,We,Ye)}}if(e.push(">"),ce(e,Ve,Ke),"string"==typeof Ke){e.push(I(Ke));var Qe=null}else Qe=Ke;return Qe;case"title":var Je=1&u.tagScope,Ze=4&u.tagScope;if(4===u.insertionMode||Je||null!=n.itemProp)var et=ge(e,n);else Ze?et=null:(ge(a.hoistableChunks,n),et=void 0);return et;case"link":var tt=1&u.tagScope,nt=4&u.tagScope,rt=n.rel,ot=n.href,it=n.precedence;if(4===u.insertionMode||tt||null!=n.itemProp||"string"!=typeof rt||"string"!=typeof ot||""===ot){fe(e,n);var at=null}else if("stylesheet"===n.rel)if("string"!=typeof it||null!=n.disabled||n.onLoad||n.onError)at=fe(e,n);else{var st=a.styles.get(it),lt=o.styleResources.hasOwnProperty(ot)?o.styleResources[ot]:void 0;if(null!==lt){o.styleResources[ot]=null,st||(st={precedence:I(it),rules:[],hrefs:[],sheets:new Map},a.styles.set(it,st));var ut={state:0,props:S({},n,{"data-precedence":n.precedence,precedence:null})};if(lt){2===lt.length&&qe(ut.props,lt);var ct=a.preloads.stylesheets.get(ot);ct&&0<ct.length?ct.length=0:ut.state=1}st.sheets.set(ot,ut),l&&l.stylesheets.add(ut)}else if(st){var dt=st.sheets.get(ot);dt&&l&&l.stylesheets.add(dt)}c&&e.push("\x3c!-- --\x3e"),at=null}else n.onLoad||n.onError?at=fe(e,n):(c&&e.push("\x3c!-- --\x3e"),at=nt?null:fe(a.hoistableChunks,n));return at;case"script":var ft=1&u.tagScope,pt=n.async;if("string"!=typeof n.src||!n.src||!pt||"function"==typeof pt||"symbol"==typeof pt||n.onLoad||n.onError||4===u.insertionMode||ft||null!=n.itemProp)var ht=ve(e,n);else{var mt=n.src;if("module"===n.type)var gt=o.moduleScriptResources,vt=a.preloads.moduleScripts;else gt=o.scriptResources,vt=a.preloads.scripts;var yt=gt.hasOwnProperty(mt)?gt[mt]:void 0;if(null!==yt){gt[mt]=null;var Et=n;if(yt){2===yt.length&&qe(Et=S({},n),yt);var bt=vt.get(mt);bt&&(bt.length=0)}var Ct=[];a.scripts.add(Ct),ve(Ct,Et)}c&&e.push("\x3c!-- --\x3e"),ht=null}return ht;case"style":var Tt=1&u.tagScope,kt=n.precedence,At=n.href,xt=n.nonce;if(4===u.insertionMode||Tt||null!=n.itemProp||"string"!=typeof kt||"string"!=typeof At||""===At){e.push(Te("style"));var Dt,St=null,_t=null;for(Dt in n)if(_.call(n,Dt)){var wt=n[Dt];if(null!=wt)switch(Dt){case"children":St=wt;break;case"dangerouslySetInnerHTML":_t=wt;break;default:ue(e,Dt,wt)}}e.push(">");var Ot=Array.isArray(St)?2>St.length?St[0]:null:St;"function"!=typeof Ot&&"symbol"!=typeof Ot&&null!=Ot&&e.push((""+Ot).replace(pe,he)),ce(e,_t,St),e.push(Ae("style"));var Nt=null}else{var Pt=a.styles.get(kt);if(null!==(o.styleResources.hasOwnProperty(At)?o.styleResources[At]:void 0)){o.styleResources[At]=null,Pt||(Pt={precedence:I(kt),rules:[],hrefs:[],sheets:new Map},a.styles.set(kt,Pt));var Rt=a.nonce.style;if(!Rt||Rt===xt){Pt.hrefs.push(I(At));var Bt,Ft=Pt.rules,It=null,Mt=null;for(Bt in n)if(_.call(n,Bt)){var Lt=n[Bt];if(null!=Lt)switch(Bt){case"children":It=Lt;break;case"dangerouslySetInnerHTML":Mt=Lt}}var jt=Array.isArray(It)?2>It.length?It[0]:null:It;"function"!=typeof jt&&"symbol"!=typeof jt&&null!=jt&&Ft.push((""+jt).replace(pe,he)),ce(Ft,Mt,It)}}Pt&&l&&l.styles.add(Pt),c&&e.push("\x3c!-- --\x3e"),Nt=void 0}return Nt;case"meta":var Ht=1&u.tagScope,Ut=4&u.tagScope;if(4===u.insertionMode||Ht||null!=n.itemProp)var zt=me(e,n,"meta");else c&&e.push("\x3c!-- --\x3e"),zt=Ut?null:"string"==typeof n.charSet?me(a.charsetChunks,n,"meta"):"viewport"===n.name?me(a.viewportChunks,n,"meta"):me(a.hoistableChunks,n,"meta");return zt;case"listing":case"pre":e.push(Te(t));var Gt,Wt=null,Kt=null;for(Gt in n)if(_.call(n,Gt)){var qt=n[Gt];if(null!=qt)switch(Gt){case"children":Wt=qt;break;case"dangerouslySetInnerHTML":Kt=qt;break;default:ue(e,Gt,qt)}}if(e.push(">"),null!=Kt){if(null!=Wt)throw Error(i(60));if("object"!=typeof Kt||!("__html"in Kt))throw Error(i(61));var $t=Kt.__html;null!=$t&&("string"==typeof $t&&0<$t.length&&"\n"===$t[0]?e.push("\n",$t):e.push(""+$t))}return"string"==typeof Wt&&"\n"===Wt[0]&&e.push("\n"),Wt;case"img":var Vt=3&u.tagScope,Yt=n.src,Xt=n.srcSet;if(!("lazy"===n.loading||!Yt&&!Xt||"string"!=typeof Yt&&null!=Yt||"string"!=typeof Xt&&null!=Xt||"low"===n.fetchPriority||Vt)&&("string"!=typeof Yt||":"!==Yt[4]||"d"!==Yt[0]&&"D"!==Yt[0]||"a"!==Yt[1]&&"A"!==Yt[1]||"t"!==Yt[2]&&"T"!==Yt[2]||"a"!==Yt[3]&&"A"!==Yt[3])&&("string"!=typeof Xt||":"!==Xt[4]||"d"!==Xt[0]&&"D"!==Xt[0]||"a"!==Xt[1]&&"A"!==Xt[1]||"t"!==Xt[2]&&"T"!==Xt[2]||"a"!==Xt[3]&&"A"!==Xt[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var Qt="string"==typeof n.sizes?n.sizes:void 0,Jt=Xt?Xt+"\n"+(Qt||""):Yt,Zt=a.preloads.images,en=Zt.get(Jt);if(en)("high"===n.fetchPriority||10>a.highImagePreloads.size)&&(Zt.delete(Jt),a.highImagePreloads.add(en));else if(!o.imageResources.hasOwnProperty(Jt)){o.imageResources[Jt]=K;var tn,nn=n.crossOrigin,rn="string"==typeof nn?"use-credentials"===nn?nn:"":void 0,on=a.headers;on&&0<on.remainingCapacity&&"string"!=typeof n.srcSet&&("high"===n.fetchPriority||500>on.highImagePreloads.length)&&(tn=$e(Yt,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:rn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(on.remainingCapacity-=tn.length+2))?(a.resets.image[Jt]=K,on.highImagePreloads&&(on.highImagePreloads+=", "),on.highImagePreloads+=tn):(fe(en=[],{rel:"preload",as:"image",href:Xt?void 0:Yt,imageSrcSet:Xt,imageSizes:Qt,crossOrigin:rn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),"high"===n.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(en):(a.bulkPreloads.add(en),Zt.set(Jt,en)))}}return me(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return me(e,n,t);case"head":if(2>u.insertionMode){var an=s||a.preamble;if(an.headChunks)throw Error(i(545,"`<head>`"));null!==s&&e.push("\x3c!--head--\x3e"),an.headChunks=[];var sn=ye(an.headChunks,n,"head")}else sn=Ee(e,n,"head");return sn;case"body":if(2>u.insertionMode){var ln=s||a.preamble;if(ln.bodyChunks)throw Error(i(545,"`<body>`"));null!==s&&e.push("\x3c!--body--\x3e"),ln.bodyChunks=[];var un=ye(ln.bodyChunks,n,"body")}else un=Ee(e,n,"body");return un;case"html":if(0===u.insertionMode){var cn=s||a.preamble;if(cn.htmlChunks)throw Error(i(545,"`<html>`"));null!==s&&e.push("\x3c!--html--\x3e"),cn.htmlChunks=[""];var dn=ye(cn.htmlChunks,n,"html")}else dn=Ee(e,n,"html");return dn;default:if(-1!==t.indexOf("-")){e.push(Te(t));var fn,pn=null,hn=null;for(fn in n)if(_.call(n,fn)){var mn=n[fn];if(null!=mn){var gn=fn;switch(fn){case"children":pn=mn;break;case"dangerouslySetInnerHTML":hn=mn;break;case"style":te(e,mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(P(fn)&&"function"!=typeof mn&&"symbol"!=typeof mn&&!1!==mn){if(!0===mn)mn="";else if("object"==typeof mn)continue;e.push(" ",gn,'="',I(mn),'"')}}}}return e.push(">"),ce(e,hn,pn),pn}}return Ee(e,n,t)}(C.chunks,o,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,C.lastPushedText),C.lastPushedText=!1,D=t.formatContext,s=t.keyPath,t.keyPath=n,3===(t.formatContext=X(D,o,a)).insertionMode){n=En(0,0,null,t.formatContext,!1,!1),C.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,zn(e,t,O,-1),nt(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=C}}else zn(e,t,O,-1);t.formatContext=D,t.keyPath=s;e:{switch(t=C.chunks,e=e.resumableState,o){case"title":case"style":case"script":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 e;case"body":if(1>=D.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===D.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=D.insertionMode)break e}t.push(Ae(o))}C.lastPushedText=!1}}}function Rn(e,t,n,r,o){var i=t.replay,a=t.blockedBoundary,s=En(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,zn(e,t,r,o),s.status=1,null===a?e.completedRootSegment=s:(Yn(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=i,t.blockedSegment=null}}function Bn(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Rn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,bn(t),Fn(e,t),t.componentStack=n)}function Fn(e,t){var n=t.node,r=t.childIndex;if(null!==n){if("object"==typeof n){switch(n.$$typeof){case a:var o=n.type,l=n.key,u=n.props,c=void 0!==(n=u.ref)?n:null,d=it(o),p=null==l?-1===r?0:r:l;if(l=[t.keyPath,d,p],null!==t.replay)e:{var m=t.replay;for(r=m.nodes,n=0;n<r.length;n++){var g=r[n];if(p===g[1]){if(4===g.length){if(null!==d&&d!==g[0])throw Error(i(490,g[0],d));var y=g[2];d=g[3],p=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(Pn(e,t,l,o,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(i){if("object"==typeof i&&null!==i&&(i===Ct||"function"==typeof i.then))throw t.node===p?t.replay=m:r.splice(n,1),i;t.replay.pendingTasks--,u=Tn(t.componentStack),Wn(l=e,e=t.blockedBoundary,y,d,o=i,u=kn(l,o,u))}t.replay=m}else{if(o!==h)throw Error(i(490,"Suspense",it(o)||"Unknown"));t:{m=void 0,o=g[5],c=g[2],d=g[3],p=null===g[4]?[]:g[4][2],g=null===g[4]?null:g[4][3];var E=t.keyPath,b=t.formatContext,C=t.row,T=t.replay,k=t.blockedBoundary,D=t.hoistableState,S=u.children,_=u.fallback,w=new Set;(u=gn(e,t.row,w,null,null)).parentFlushed=!0,u.rootSegmentID=o,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=Z(e.resumableState,b),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(zn(e,t,S,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(n){u.status=4,m=kn(e,n,y=Tn(t.componentStack)),u.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=k,t.hoistableState=D,t.replay=T,t.keyPath=E,t.formatContext=b,t.row=C}bn(y=yn(e,null,{nodes:p,slots:g,pendingTasks:0},_,-1,k,u.fallbackState,w,[l[0],"Suspense Fallback",l[2]],J(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Cn(t.componentStack))),e.pingedTasks.push(y)}}r.splice(n,1);break e}}}else Pn(e,t,l,o,u,c);return;case s:throw Error(i(257));case v:if(n=(y=n._init)(n._payload),12===e.status)throw null;return void Bn(e,t,n,r)}if(x(n))return void In(e,t,n,r);if((y=A(n))&&(y=y.call(n))){if(!(n=y.next()).done){u=[];do{u.push(n.value),n=y.next()}while(!n.done);In(e,t,u,r)}return}if("function"==typeof n.then)return t.thenableState=null,Bn(e,t,Zt(n),r);if(n.$$typeof===f)return Bn(e,t,n._currentValue2,r);throw r=Object.prototype.toString.call(n),Error(i(31,"[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r))}"string"==typeof n?null!==(r=t.blockedSegment)&&(r.lastPushedText=tt(r.chunks,n,e.renderState,r.lastPushedText)):"number"!=typeof n&&"bigint"!=typeof n||null!==(r=t.blockedSegment)&&(r.lastPushedText=tt(r.chunks,""+n,e.renderState,r.lastPushedText))}}function In(e,t,n,r){var o=t.keyPath;if(-1===r||(t.keyPath=[t.keyPath,"Fragment",r],null===t.replay)){if(a=t.treeContext,s=n.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(r=0;r<s;r++)u=n[r],t.treeContext=gt(a,s,r),"number"==typeof(c=l[r])?(Rn(e,t,c,u,r),delete l[r]):zn(e,t,u,r);return t.treeContext=a,void(t.keyPath=o)}for(l=0;l<s;l++)r=n[l],t.treeContext=gt(a,s,l),zn(e,t,r,l);t.treeContext=a,t.keyPath=o}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(In(e,t,n,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===Ct||"function"==typeof o.then))throw o;t.replay.pendingTasks--,n=Tn(t.componentStack);var c=t.blockedBoundary;Wn(e,c,r,u,o,n=kn(e,o,n))}t.replay=a,s.splice(l,1);break}}t.keyPath=o}}function Mn(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,null===(e=n.trackedContentKeyPath))throw Error(i(486));var r=n.trackedFallbackNode,o=t.workingMap.get(e);return void 0===o?(n=[e[1],e[2],[],null,r,n.rootSegmentID],t.workingMap.set(e,n),fr(n,e[0],t),n):(o[4]=r,o[5]=n.rootSegmentID,o)}function Ln(e,t,n,r){r.status=5;var o=n.keyPath,a=n.blockedBoundary;if(null===a)r.id=e.nextSegmentId++,t.rootSlots=r.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=Mn(e,t,a);if(a.trackedContentKeyPath===o&&-1===n.childIndex)return-1===r.id&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=r.id)}if(-1===r.id&&(r.id=r.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===n.childIndex)null===o?t.rootSlots=r.id:void 0===(n=t.workingMap.get(o))?fr(n=[o[1],o[2],[],r.id],o[0],t):n[3]=r.id;else{if(null===o){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(i(491))}else if(void 0===(s=(a=t.workingMap).get(o)))e={},s=[o[1],o[2],[],e],a.set(o,s),fr(s,o[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(i(491));e[n.childIndex]=r.id}}}function jn(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Hn(e,t,n){return yn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Un(e,t,n){var r=t.blockedSegment,o=En(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,vn(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function zn(e,t,n,r){var o=t.formatContext,i=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return Bn(e,t,n,r)}catch(c){if(Wt(),n=c===Ct?kt():c,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Hn(e,t,r=c===Ct?Gt():null).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void pt(i);if("Maximum call stack size exceeded"===n.message)return n=Hn(e,t,n=c===Ct?Gt():null),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void pt(i)}}}else{var c=u.children.length,d=u.chunks.length;try{return Bn(e,t,n,r)}catch(r){if(Wt(),u.children.length=c,u.chunks.length=d,n=r===Ct?kt():r,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return u=n,e=Un(e,t,n=r===Ct?Gt():null).ping,u.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void pt(i);if("Maximum call stack size exceeded"===n.message)return u=Un(e,t,u=r===Ct?Gt():null),e.pingedTasks.push(u),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void pt(i)}}}throw t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,pt(i),n}function Gn(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,Xn(this,t,e.row,n))}function Wn(e,t,n,r,o,a){for(var s=0;s<n.length;s++){var l=n[s];if(4===l.length)Wn(e,t,l[2],l[3],o,a);else{l=l[5];var u=e,c=a,d=gn(u,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=c,d.parentFlushed&&u.clientRenderedBoundaries.push(d)}}if(n.length=0,null!==r){if(null===t)throw Error(i(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof r)for(var f in r)delete r[f]}}function Kn(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=Tn(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==o?(r=t.trackedPostpones,kn(t,n,i),Ln(t,r,e,o),Xn(t,null,e.row,o)):(kn(t,n,i),An(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(o=kn(t,n,i),Wn(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,0===t.pendingRootTasks&&$n(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==o)return kn(t,n,i),Ln(t,a,e,o),r.fallbackAbortableTasks.forEach(function(e){return Kn(e,t,n)}),r.fallbackAbortableTasks.clear(),Xn(t,r,e.row,o);r.status=4,o=kn(t,n,i),r.status=4,r.errorDigest=o,jn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(o=r.row)&&0===--o.pendingTasks&&xn(t,o),r.fallbackAbortableTasks.forEach(function(e){return Kn(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&xn(t,e),t.allPendingTasks--,0===t.allPendingTasks&&Vn(t)}function qn(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var i=o.preconnects;if(o.fontPreloads&&(i&&(i+=", "),i+=o.fontPreloads),o.highImagePreloads&&(i&&(i+=", "),i+=o.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<o.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),u=l.next();0<o.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,f=d.href,p=c.props,h=$e(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=K,i&&(i+=", "),i+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:K}}r(i?{Link:i}:{})}}}catch(t){kn(e,t,{})}}function $n(e){null===e.trackedPostpones&&qn(e,!0),null===e.trackedPostpones&&er(e),e.onShellError=bt,(e=e.onShellReady)()}function Vn(e){qn(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),er(e),(e=e.onAllReady)()}function Yn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||Yn(e,n)}else e.completedSegments.push(t)}function Xn(e,t,n,r){if(null!==n&&(0===--n.pendingTasks?xn(e,n):n.together&&Sn(e,n)),e.allPendingTasks--,null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(i(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&$n(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&(1===r.status||3===r.status)&&Yn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(n=t.row)&&et(n.hoistables,t.contentState),dn(0,t)||(t.fallbackAbortableTasks.forEach(Gn,e),t.fallbackAbortableTasks.clear(),null!==n&&0===--n.pendingTasks&&xn(e,n)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&er(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){n=e.trackedPostpones;var o=t.next;if(null!==o&&null!==(r=o.boundaries))for(o.boundaries=null,o=0;o<r.length;o++){var a=r[o];Mn(e,n,a),Xn(e,a,null,null)}}0===--t.pendingTasks&&xn(e,t)}}else null===r||!r.parentFlushed||1!==r.status&&3!==r.status||(Yn(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&Sn(e,t);0===e.allPendingTasks&&Vn(e)}function Qn(e){if(14!==e.status&&13!==e.status){var t=st,n=U.H;U.H=rn;var r=U.A;U.A=an;var o=hn;hn=e;var a=on;on=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var f=c;if(0!==u.replay.pendingTasks){pt(u.context);try{if("number"==typeof u.replay.slots?Rn(f,u,u.replay.slots,u.node,u.childIndex):Fn(f,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(i(488));u.replay.pendingTasks--,u.abortSet.delete(u),Xn(f,u.blockedBoundary,u.row,null)}catch(e){Wt();var p=e===Ct?kt():e;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=u.ping;p.then(h,h),u.thenableState=e===Ct?Gt():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var m=Tn(u.componentStack);c=void 0;var g=f,v=u.blockedBoundary,y=12===f.status?f.fatalError:p;Wn(g,v,u.replay.nodes,u.replay.slots,y,c=kn(g,y,m)),f.pendingRootTasks--,0===f.pendingRootTasks&&$n(f),f.allPendingTasks--,0===f.allPendingTasks&&Vn(f)}}}}else if(f=void 0,0===(g=d).status){g.status=6,pt(u.context);var E=g.children.length,b=g.chunks.length;try{Fn(c,u),nt(g.chunks,c.renderState,g.lastPushedText,g.textEmbedded),u.abortSet.delete(u),g.status=1,Xn(c,u.blockedBoundary,u.row,g)}catch(e){Wt(),g.children.length=E,g.chunks.length=b;var C=e===Ct?kt():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var T=c.trackedPostpones,k=Tn(u.componentStack);u.abortSet.delete(u),kn(c,C,k),Ln(c,T,u,g),Xn(c,u.blockedBoundary,u.row,g)}else if("object"==typeof C&&null!==C&&"function"==typeof C.then){g.status=0,u.thenableState=e===Ct?Gt():null;var A=u.ping;C.then(A,A)}else{var x=Tn(u.componentStack);u.abortSet.delete(u),g.status=4;var D=u.blockedBoundary,S=u.row;if(null!==S&&0===--S.pendingTasks&&xn(c,S),c.allPendingTasks--,f=kn(c,C,x),null===D)An(c,C);else if(D.pendingTasks--,4!==D.status){D.status=4,D.errorDigest=f,jn(c,D);var _=D.row;null!==_&&0===--_.pendingTasks&&xn(c,_),D.parentFlushed&&c.clientRenderedBoundaries.push(D),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==D.contentPreamble&&er(c)}0===c.allPendingTasks&&Vn(c)}}}}l.splice(0,s),null!==e.destination&&lr(e,e.destination)}catch(t){kn(e,t,{}),An(e,t)}finally{on=a,U.H=n,U.A=r,n===rn&&pt(t),hn=o}}}function Jn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Zn(e,t.children[o],n)||r;return r}function Zn(e,t,n){var r=t.boundary;if(null===r)return Jn(e,t,n);var o=r.contentPreamble,a=r.fallbackPreamble;if(null===o||null===a)return!1;switch(r.status){case 1:if(xe(e.renderState,o),e.byteSize+=r.byteSize,!(t=r.completedSegments[0]))throw Error(i(391));return Jn(e,t,n);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return xe(e.renderState,a),Jn(e,t,n);default:return!0}}function er(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=Zn(e,e.completedRootSegment,t),o=e.renderState.preamble;!1===r||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function tr(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var o=!0,a=n.chunks,s=0;n=n.children;for(var l=0;l<n.length;l++){for(o=n[l];s<o.index;s++)t.push(a[s]);o=rr(e,t,o,r)}for(;s<a.length-1;s++)t.push(a[s]);return s<a.length&&(o=t.push(a[s])),o;case 3:return!0;default:throw Error(i(390))}}var nr=0;function rr(e,t,n,r){var o=n.boundary;if(null===o)return tr(e,t,n,r);if(o.parentFlushed=!0,4===o.status){var a=o.row;return null!==a&&0===--a.pendingTasks&&xn(e,a),e.renderState.generateStaticMarkup||(o=o.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),o&&(t.push(' data-dgst="'),o=I(o),t.push(o),t.push('"')),t.push("></template>")),tr(e,t,n,r),!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}if(1!==o.status)return 0===o.status&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),Se(t,e.renderState,o.rootSegmentID),r&&et(r,o.fallbackState),tr(e,t,n,r),t.push("\x3c!--/$--\x3e");if(!sr&&dn(0,o)&&nr+o.byteSize>e.progressiveChunkSize)return o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),Se(t,e.renderState,o.rootSegmentID),tr(e,t,n,r),t.push("\x3c!--/$--\x3e");if(nr+=o.byteSize,r&&et(r,o.contentState),null!==(n=o.row)&&dn(0,o)&&0===--n.pendingTasks&&xn(e,n),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=o.completedSegments).length)throw Error(i(391));return rr(e,t,n[0],r),!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function or(e,t,n,r){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4: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 5: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 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(i(397))}}(t,e.renderState,n.parentFormatContext,n.id),rr(e,t,n,r),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(i(397))}}(t,n.parentFormatContext)}function ir(e,t,n){nr=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)ar(e,t,n,r[o]);r.length=0,null!==(r=n.row)&&dn(0,n)&&0===--r.pendingTasks&&xn(e,r),Ie(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,o=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),a?(!(4&r.instructions)&&(r.instructions|=4,t.push('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),!(2&r.instructions)&&(r.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),8&r.instructions?t.push('$RR("'):(r.instructions|=8,t.push('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'))):(!(2&r.instructions)&&(r.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),t.push('$RC("')),r=o.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(r),a?(t.push('",'),function(e,t){e.push("[");var n="[";t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(n),t=Ne(""+t.props.href),e.push(t),e.push("]"),n=",[";else{e.push(n);var r=t.props["data-precedence"],o=t.props,a=H(""+t.props.href);for(var s in a=Ne(a),e.push(a),r=""+r,e.push(","),r=Ne(r),e.push(r),o)if(_.call(o,s)&&null!=(r=o[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:We(e,s,r)}e.push("]"),n=",[",t.state=3}}),e.push("]")}(t,n)):t.push('"'),n=t.push(")<\/script>"),De(t,e)&&n}function ar(e,t,n,r){if(2===r.status)return!0;var o=n.contentState,a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(i(392));return or(e,t,r,o)}return a===n.rootSegmentID?or(e,t,r,o):(or(e,t,r,o),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),1&n.instructions?t.push('$RS("'):(n.instructions|=1,t.push('$RS=function(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),a=a.toString(16),t.push(a),t.push('","'),t.push(e.placeholderPrefix),t.push(a),t=t.push('")<\/script>'))}var sr=!1;function lr(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;nr=e.byteSize;var i,a=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(i=0;i<u.length;i++)t.push(u[i]);if(c)for(i=0;i<c.length;i++)t.push(c[i]);else{var d=Te("head");t.push(d),t.push(">")}}else if(c)for(i=0;i<c.length;i++)t.push(c[i]);var f=s.charsetChunks;for(i=0;i<f.length;i++)t.push(f[i]);f.length=0,s.preconnects.forEach(Me,t),s.preconnects.clear();var p=s.viewportChunks;for(i=0;i<p.length;i++)t.push(p[i]);p.length=0,s.fontPreloads.forEach(Me,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Me,t),s.highImagePreloads.clear(),q=s,s.styles.forEach(He,t),q=null;var h=s.importMapChunks;for(i=0;i<h.length;i++)t.push(h[i]);h.length=0,s.bootstrapScripts.forEach(Me,t),s.scripts.forEach(Me,t),s.scripts.clear(),s.bulkPreloads.forEach(Me,t),s.bulkPreloads.clear(),a.instructions|=32;var m=s.hoistableChunks;for(i=0;i<m.length;i++)t.push(m[i]);for(a=m.length=0;a<o.length;a++){var g=o[a];for(s=0;s<g.length;s++)rr(e,t,g[s],null)}var v=e.renderState.preamble,y=v.headChunks;if(v.htmlChunks||y){var E=Ae("head");t.push(E)}var b=v.bodyChunks;if(b)for(o=0;o<b.length;o++)t.push(b[o]);rr(e,t,r,null),e.completedRootSegment=null;var C=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var T=e.resumableState;if(!(64&T.instructions)){if(T.instructions|=64,t.push(C.startInlineScript),!(32&T.instructions)){T.instructions|=32;var k="_"+T.idPrefix+"R_";t.push(' id="');var A=I(k);t.push(A),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}De(t,C)}var x=e.renderState;r=0;var D=x.viewportChunks;for(r=0;r<D.length;r++)t.push(D[r]);D.length=0,x.preconnects.forEach(Me,t),x.preconnects.clear(),x.fontPreloads.forEach(Me,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(Me,t),x.highImagePreloads.clear(),x.styles.forEach(ze,t),x.scripts.forEach(Me,t),x.scripts.clear(),x.bulkPreloads.forEach(Me,t),x.bulkPreloads.clear();var S=x.hoistableChunks;for(r=0;r<S.length;r++)t.push(S[r]);S.length=0;var _=e.clientRenderedBoundaries;for(n=0;n<_.length;n++){var w=_[n];x=t;var O=e.resumableState,N=e.renderState,P=w.rootSegmentID,R=w.errorDigest;x.push(N.startInlineScript),x.push(">"),4&O.instructions?x.push('$RX("'):(O.instructions|=4,x.push('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),x.push(N.boundaryPrefix);var B=P.toString(16);if(x.push(B),x.push('"'),R){x.push(",");var F=we(R||"");x.push(F)}var M=x.push(")<\/script>");if(!M)return e.destination=null,n++,void _.splice(0,n)}_.splice(0,n);var L=e.completedBoundaries;for(n=0;n<L.length;n++)if(!ir(e,t,L[n]))return e.destination=null,n++,void L.splice(0,n);L.splice(0,n),sr=!0;var j=e.partialBoundaries;for(n=0;n<j.length;n++){var H=j[n];e:{_=e,w=t,nr=H.byteSize;var U=H.completedSegments;for(M=0;M<U.length;M++)if(!ar(_,w,H,U[M])){M++,U.splice(0,M);var z=!1;break e}U.splice(0,M);var G=H.row;null!==G&&G.together&&1===H.pendingTasks&&(1===G.pendingTasks?Dn(_,G,G.hoistables):G.pendingTasks--),z=Ie(w,H.contentState,_.renderState)}if(!z)return e.destination=null,n++,void j.splice(0,n)}j.splice(0,n),sr=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!ir(e,t,W[n]))return e.destination=null,n++,void W.splice(0,n);W.splice(0,n)}}finally{sr=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(j=Ae("body"),t.push(j)),n.hasHtml&&(n=Ae("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function ur(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?lr(e,t):e.flushScheduled=!1}}function cr(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{lr(e,t)}catch(t){kn(e,t,{}),An(e,t)}}}function dr(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=void 0===t?Error(i(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(i(530)):t;e.fatalError=r,n.forEach(function(t){return Kn(t,e,r)}),n.clear()}null!==e.destination&&lr(e,e.destination)}catch(t){kn(e,t,{}),An(e,t)}}function fr(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,o=r.get(t);void 0===o&&(o=[t[1],t[2],[],null],r.set(t,o),fr(o,t[0],n)),o[2].push(e)}}function pr(){}function hr(e,t,n,r){var o,a=!1,s=null,l="",u=!1;if(e=function(e,t,n,r,o,i){return(n=En(t=new pn(t,n,r,1/0,i,void 0,function(){u=!0},void 0,void 0,void 0,void 0),0,null,r,!1,!1)).parentFlushed=!0,bn(e=vn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,mt,null,null)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(o=t?t.identifierPrefix:void 0)?"":o,nextFormID:0,streamingFormat:0,bootstrapScriptContent:undefined,bootstrapScripts:undefined,bootstrapModules:undefined,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],o=e.bootstrapScriptContent,i=e.bootstrapScripts,a=e.bootstrapModules;void 0!==o&&(r.push("<script"),Ge(r,e),r.push(">",(""+o).replace($,V),"<\/script>")),o=n+"P:";var s=n+"S:";n+="B:";var l=new Set,u=new Set,c=new Set,d=new Map,f=new Set,p=new Set,h=new Set,m={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==i)for(var g=0;g<i.length;g++){var v,y=i[g],E=void 0,b=void 0,C={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof y?C.href=v=y:(C.href=v=y.src,C.integrity=b="string"==typeof y.integrity?y.integrity:void 0,C.crossOrigin=E="string"==typeof y||null==y.crossOrigin?void 0:"use-credentials"===y.crossOrigin?"use-credentials":"");var T=v;(y=e).scriptResources[T]=null,y.moduleScriptResources[T]=null,fe(y=[],C),f.add(y),r.push('<script src="',I(v),'"'),"string"==typeof b&&r.push(' integrity="',I(b),'"'),"string"==typeof E&&r.push(' crossorigin="',I(E),'"'),Ge(r,e),r.push(' async=""><\/script>')}if(void 0!==a)for(i=0;i<a.length;i++)E=v=void 0,b={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(C=a[i])?b.href=g=C:(b.href=g=C.src,b.integrity=E="string"==typeof C.integrity?C.integrity:void 0,b.crossOrigin=v="string"==typeof C||null==C.crossOrigin?void 0:"use-credentials"===C.crossOrigin?"use-credentials":""),y=g,(C=e).scriptResources[y]=null,C.moduleScriptResources[y]=null,fe(C=[],b),f.add(C),r.push('<script type="module" src="',I(g),'"'),"string"==typeof E&&r.push(' integrity="',I(E),'"'),"string"==typeof v&&r.push(' crossorigin="',I(v),'"'),Ge(r,e),r.push(' async=""><\/script>');return{placeholderPrefix:o,segmentPrefix:s,boundaryPrefix:n,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:u,highImagePreloads:c,styles:d,bootstrapScripts:f,scripts:p,bulkPreloads:h,preloads:m,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}(t,n),Y(0,null,0,null),0,pr),e.flushScheduled=null!==e.destination,Qn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&qn(e,0===e.pendingRootTasks),dr(e,r),cr(e,{push:function(e){return null!==e&&(l+=e),!0},destroy:function(e){a=!0,s=e}}),a&&s!==r)throw s;if(!u)throw Error(i(426));return l}t.renderToStaticMarkup=function(e,t){return hr(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.renderToString=function(e,t){return hr(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="19.2.3"},64920(e,t,n){"use strict";var r=n(44119),o=n(89545);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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 a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),E=Symbol.for("react.activity"),b=Symbol.for("react.legacy_hidden"),C=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),k=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=k&&e[k]||e["@@iterator"])?e:null}var x=Array.isArray;function D(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var i=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=i=461845907*(65535&(i=(i=3432918353*(65535&i)+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(i=0,n){case 3:i^=(255&e.charCodeAt(t+2))<<16;case 2:i^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(i=(i=3432918353*(65535&(i^=255&e.charCodeAt(t)))+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var S=new MessageChannel,_=[];function w(e){_.push(e),S.port2.postMessage(null)}function O(e){setTimeout(function(){throw e})}S.port1.onmessage=function(){var e=_.shift();e&&e()};var N=Promise,P="function"==typeof queueMicrotask?queueMicrotask:function(e){N.resolve(null).then(e).catch(O)},R=null,B=0;function F(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<B&&(e.enqueue(new Uint8Array(R.buffer,0,B)),R=new Uint8Array(2048),B=0),e.enqueue(t);else{var n=R.length-B;n<t.byteLength&&(0===n?e.enqueue(R):(R.set(t.subarray(0,n),B),e.enqueue(R),t=t.subarray(n)),R=new Uint8Array(2048),B=0),R.set(t,B),B+=t.byteLength}}function I(e,t){return F(e,t),!0}function M(e){R&&0<B&&(e.enqueue(new Uint8Array(R.buffer,0,B)),R=null,B=0)}var L=new TextEncoder;function j(e){return L.encode(e)}function H(e){return L.encode(e)}function U(e){return e.byteLength}function z(e,t){"function"==typeof e.error?e.error(t):e.close()}var G=Object.assign,W=Object.prototype.hasOwnProperty,K=RegExp("^[: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]*$"),q={},$={};function V(e){return!!W.call($,e)||!W.call(q,e)&&(K.test(e)?$[e]=!0:(q[e]=!0,!1))}var Y=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),X=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Q=/["'&<>]/;function J(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=Q.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var Z=/([A-Z])/g,ee=/^ms-/,te=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ne(e){return te.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var re=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},ae=oe.d;oe.d={f:ae.f,r:ae.r,D:function(e){var t=So||null;if(t){var n,r,o=t.resumableState,i=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=i.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(ar,sr)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(i.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(it(n=[],{href:e,rel:"dns-prefetch"}),i.preconnects.add(n))),Ai(t)}else ae.D(e)},C:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var i,a,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(a=(r=o.headers)&&0<r.remainingCapacity)&&(a="<"+(""+e).replace(ar,sr)+">; rel=preconnect","string"==typeof t&&(a+='; crossorigin="'+(""+t).replace(lr,ur)+'"'),i=a,a=0<=(r.remainingCapacity-=i.length+2)),a?(o.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=i):(it(s=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(s));Ai(n)}}else ae.C(e,t)},L:function(e,t,n){var r=So||null;if(r){var o=r.resumableState,i=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var u,c=a?a+"\n"+(s||""):e;if(o.imageResources.hasOwnProperty(c))return;o.imageResources[c]=se,(o=i.headers)&&0<o.remainingCapacity&&"string"!=typeof a&&"high"===l&&(u=ir(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(i.resets.image[c]=se,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=u):(it(o=[],G({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?i.highImagePreloads.add(o):(i.bulkPreloads.add(o),i.preloads.images.set(c,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;it(a=[],G({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?se:[n.crossOrigin,n.integrity],i.preloads.stylesheets.set(e,a),i.bulkPreloads.add(a);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;a=[],i.preloads.scripts.set(e,a),i.bulkPreloads.add(a),it(a,G({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?se:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((a=o.unknownResources[t]).hasOwnProperty(e))return}else a={},o.unknownResources[t]=a;a[e]=se,(o=i.headers)&&0<o.remainingCapacity&&"font"===t&&(c=ir(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(i.resets.font[e]=se,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=c):"font"===(it(o=[],e=G({rel:"preload",href:e,as:t},n)),t)?i.fontPreloads.add(o):i.bulkPreloads.add(o)}Ai(r)}}else ae.L(e,t,n)},m:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=t&&"string"==typeof t.as?t.as:"script";if("script"===i){if(r.moduleScriptResources.hasOwnProperty(e))return;i=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?se:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,i)}else{if(r.moduleUnknownResources.hasOwnProperty(i)){var a=r.unknownResources[i];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[i]=a;i=[],a[e]=se}it(i,G({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),Ai(n)}}else ae.m(e,t)},X:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==i&&(r.scriptResources[e]=null,t=G({src:e,async:!0},t),i&&(2===i.length&&or(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pt(e,t),Ai(n))}}else ae.X(e,t)},S:function(e,t,n){var r=So||null;if(r){var o=r.resumableState,i=r.renderState;if(e){t=t||"default";var a=i.styles.get(t),s=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==s&&(o.styleResources[e]=null,a||(a={precedence:j(J(t)),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,a)),t={state:0,props:G({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&or(t.props,s),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),a.sheets.set(e,t),Ai(r))}}else ae.S(e,t,n)},M:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==i&&(r.moduleScriptResources[e]=null,t=G({src:e,type:"module",async:!0},t),i&&(2===i.length&&or(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pt(e,t),Ai(n))}}else ae.M(e,t)}};var se=[],le=null;H('"></template>');var ue=H("<script"),ce=H("<\/script>"),de=H('<script src="'),fe=H('<script type="module" src="'),pe=H(' nonce="'),he=H(' integrity="'),me=H(' crossorigin="'),ge=H(' async=""><\/script>'),ve=H("<style"),ye=/(<\/|<)(s)(cript)/gi;function Ee(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var be=H('<script type="importmap">'),Ce=H("<\/script>");function Te(e,t,n,r,o,i){var a=void 0===(n="string"==typeof t?t:t&&t.script)?ue:H('<script nonce="'+J(n)+'"'),s="string"==typeof t?void 0:t&&t.style,l=void 0===s?ve:H('<style nonce="'+J(s)+'"'),u=e.idPrefix,c=[],d=e.bootstrapScriptContent,f=e.bootstrapScripts,p=e.bootstrapModules;if(void 0!==d&&(c.push(a),Qn(c,e),c.push(Qe,j((""+d).replace(ye,Ee)),ce)),d=[],void 0!==r&&(d.push(be),d.push(j((""+JSON.stringify(r)).replace(ye,Ee))),d.push(Ce)),r=o?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof i?i:2e3)}:null,o={placeholderPrefix:H(u+"P:"),segmentPrefix:H(u+"S:"),boundaryPrefix:H(u+"B:"),startInlineScript:a,startInlineStyle:l,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:c,importMapChunks:d,onHeaders:o,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},void 0!==f)for(r=0;r<f.length;r++)s=a=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof(u=f[r])?l.href=i=u:(l.href=i=u.src,l.integrity=s="string"==typeof u.integrity?u.integrity:void 0,l.crossOrigin=a="string"==typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":""),d=i,(u=e).scriptResources[d]=null,u.moduleScriptResources[d]=null,it(u=[],l),o.bootstrapScripts.add(u),c.push(de,j(J(i)),He),n&&c.push(pe,j(J(n)),He),"string"==typeof s&&c.push(he,j(J(s)),He),"string"==typeof a&&c.push(me,j(J(a)),He),Qn(c,e),c.push(ge);if(void 0!==p)for(t=0;t<p.length;t++)i=r=void 0,a={rel:"modulepreload",fetchPriority:"low",nonce:n},"string"==typeof(s=p[t])?a.href=f=s:(a.href=f=s.src,a.integrity=i="string"==typeof s.integrity?s.integrity:void 0,a.crossOrigin=r="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),l=f,(s=e).scriptResources[l]=null,s.moduleScriptResources[l]=null,it(s=[],a),o.bootstrapScripts.add(s),c.push(fe,j(J(f)),He),n&&c.push(pe,j(J(n)),He),"string"==typeof i&&c.push(he,j(J(i)),He),"string"==typeof r&&c.push(me,j(J(r)),He),Qn(c,e),c.push(ge);return o}function ke(e,t,n,r,o){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Ae(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function xe(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function De(e){return xe("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0,null)}function Se(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return xe(2,null,1|r,null);case"select":return xe(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return xe(4,null,r,null);case"picture":return xe(2,null,2|r,null);case"math":return xe(5,null,r,null);case"foreignObject":return xe(2,null,r,null);case"table":return xe(6,null,r,null);case"thead":case"tbody":case"tfoot":return xe(7,null,r,null);case"colgroup":return xe(9,null,r,null);case"tr":return xe(8,null,r,null);case"head":if(2>e.insertionMode)return xe(3,null,r,null);break;case"html":if(0===e.insertionMode)return xe(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?xe(2,null,r,null):e.tagScope!==r?xe(e.insertionMode,e.selectedValue,r,null):e}function _e(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function we(e,t){return 32&t.tagScope&&(e.instructions|=128),xe(t.insertionMode,t.selectedValue,12|t.tagScope,_e(t.viewTransition))}function Oe(e,t){e=_e(t.viewTransition);var n=16|t.tagScope;return null!==e&&"none"!==e.share&&(n|=64),xe(t.insertionMode,t.selectedValue,n,e)}var Ne=H("\x3c!-- --\x3e");function Pe(e,t,n,r){return""===t?r:(r&&e.push(Ne),e.push(j(J(t))),!0)}var Re=new Map,Be=H(' style="'),Fe=H(":"),Ie=H(";");function Me(e,t){if("object"!=typeof t)throw Error(i(62));var n,r=!0;for(n in t)if(W.call(t,n)){var o=t[n];if(null!=o&&"boolean"!=typeof o&&""!==o){if(0===n.indexOf("--")){var a=j(J(n));o=j(J((""+o).trim()))}else void 0===(a=Re.get(n))&&(a=H(J(n.replace(Z,"-$1").toLowerCase().replace(ee,"-ms-"))),Re.set(n,a)),o="number"==typeof o?0===o||Y.has(n)?j(""+o):j(o+"px"):j(J((""+o).trim()));r?(r=!1,e.push(Be,a,Fe,o)):e.push(Ie,a,Fe,o)}}r||e.push(He)}var Le=H(" "),je=H('="'),He=H('"'),Ue=H('=""');function ze(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),Ue)}function Ge(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(Le,j(t),je,j(J(n)),He)}var We=H(J("javascript:throw new Error('React form unexpectedly submitted.')")),Ke=H('<input type="hidden"');function qe(e,t){this.push(Ke),$e(e),Ge(this,"name",t),Ge(this,"value",e),this.push(Je)}function $e(e){if("string"!=typeof e)throw Error(i(480))}function Ve(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach($e)}return r}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function Ye(e,t,n,r,o,i,a,s){var l=null;if("function"==typeof r){var u=Ve(t,r);null!==u?(s=u.name,r=u.action||"",o=u.encType,i=u.method,a=u.target,l=u.data):(e.push(Le,j("formAction"),je,We,He),a=i=o=r=s=null,nt(t,n))}return null!=s&&Xe(e,"name",s),null!=r&&Xe(e,"formAction",r),null!=o&&Xe(e,"formEncType",o),null!=i&&Xe(e,"formMethod",i),null!=a&&Xe(e,"formTarget",a),l}function Xe(e,t,n){switch(t){case"className":Ge(e,"class",n);break;case"tabIndex":Ge(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Ge(e,t,n);break;case"style":Me(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ne(""+n),e.push(Le,j(t),je,j(J(n)),He);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ze(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ne(""+n),e.push(Le,j("xlink:href"),je,j(J(n)),He);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),je,j(J(n)),He);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),Ue);break;case"capture":case"download":!0===n?e.push(Le,j(t),Ue):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),je,j(J(n)),He);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(Le,j(t),je,j(J(n)),He);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(Le,j(t),je,j(J(n)),He);break;case"xlinkActuate":Ge(e,"xlink:actuate",n);break;case"xlinkArcrole":Ge(e,"xlink:arcrole",n);break;case"xlinkRole":Ge(e,"xlink:role",n);break;case"xlinkShow":Ge(e,"xlink:show",n);break;case"xlinkTitle":Ge(e,"xlink:title",n);break;case"xlinkType":Ge(e,"xlink:type",n);break;case"xmlBase":Ge(e,"xml:base",n);break;case"xmlLang":Ge(e,"xml:lang",n);break;case"xmlSpace":Ge(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&V(t=X.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(Le,j(t),je,j(J(n)),He)}}}var Qe=H(">"),Je=H("/>");function Ze(e,t,n){if(null!=t){if(null!=n)throw Error(i(60));if("object"!=typeof t||!("__html"in t))throw Error(i(61));null!=(t=t.__html)&&e.push(j(""+t))}}var et=H(' selected=""'),tt=H('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function nt(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Qn(r,e),r.push(Qe,tt,ce)):r.unshift(t.startInlineScript,Qe,tt,ce)}}var rt=H("\x3c!--F!--\x3e"),ot=H("\x3c!--F--\x3e");function it(e,t){for(var n in e.push(Et("link")),t)if(W.call(t,n)){var r=t[n];if(null!=r)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:Xe(e,n,r)}}return e.push(Je),null}var at=/(<\/|<)(s)(tyle)/gi;function st(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function lt(e,t,n){for(var r in e.push(Et(n)),t)if(W.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,n));default:Xe(e,r,o)}}return e.push(Je),null}function ut(e,t){e.push(Et("title"));var n,r=null,o=null;for(n in t)if(W.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,n,i)}}return e.push(Qe),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(j(J(""+t))),Ze(e,o,r),e.push(Tt("title")),null}var ct=H("\x3c!--head--\x3e"),dt=H("\x3c!--body--\x3e"),ft=H("\x3c!--html--\x3e");function pt(e,t){e.push(Et("script"));var n,r=null,o=null;for(n in t)if(W.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,n,i)}}return e.push(Qe),Ze(e,o,r),"string"==typeof r&&e.push(j((""+r).replace(ye,Ee))),e.push(Tt("script")),null}function ht(e,t,n){e.push(Et(n));var r,o=n=null;for(r in t)if(W.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,r,i)}}return e.push(Qe),Ze(e,o,n),n}function mt(e,t,n){e.push(Et(n));var r,o=n=null;for(r in t)if(W.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,r,i)}}return e.push(Qe),Ze(e,o,n),"string"==typeof n?(e.push(j(J(n))),null):n}var gt=H("\n"),vt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt=new Map;function Et(e){var t=yt.get(e);if(void 0===t){if(!vt.test(e))throw Error(i(65,e));t=H("<"+e),yt.set(e,t)}return t}var bt=H("<!DOCTYPE html>");var Ct=new Map;function Tt(e){var t=Ct.get(e);return void 0===t&&(t=H("</"+e+">"),Ct.set(e,t)),t}function kt(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function At(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)F(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,I(e,n))}var xt=H("requestAnimationFrame(function(){$RT=performance.now()});"),Dt=H('<template id="'),St=H('"></template>'),_t=H("\x3c!--&--\x3e"),wt=H("\x3c!--/&--\x3e"),Ot=H("\x3c!--$--\x3e"),Nt=H('\x3c!--$?--\x3e<template id="'),Pt=H('"></template>'),Rt=H("\x3c!--$!--\x3e"),Bt=H("\x3c!--/$--\x3e"),Ft=H("<template"),It=H('"'),Mt=H(' data-dgst="');H(' data-msg="'),H(' data-stck="'),H(' data-cstck="');var Lt=H("></template>");function jt(e,t,n){if(F(e,Nt),null===n)throw Error(i(395));return F(e,t.boundaryPrefix),F(e,j(n.toString(16))),I(e,Pt)}var Ht=H('<div hidden id="'),Ut=H('">'),zt=H("</div>"),Gt=H('<svg aria-hidden="true" style="display:none" id="'),Wt=H('">'),Kt=H("</svg>"),qt=H('<math aria-hidden="true" style="display:none" id="'),$t=H('">'),Vt=H("</math>"),Yt=H('<table hidden id="'),Xt=H('">'),Qt=H("</table>"),Jt=H('<table hidden><tbody id="'),Zt=H('">'),en=H("</tbody></table>"),tn=H('<table hidden><tr id="'),nn=H('">'),rn=H("</tr></table>"),on=H('<table hidden><colgroup id="'),an=H('">'),sn=H("</colgroup></table>"),ln=H('$RS=function(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("'),un=H('$RS("'),cn=H('","'),dn=H('")<\/script>');H('<template data-rsi="" data-sid="'),H('" data-pid="');var fn=H('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};');j('$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);');var pn=H('$RC("'),hn=H('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),mn=H('$RR("'),gn=H('","'),vn=H('",'),yn=H('"'),En=H(")<\/script>");H('<template data-rci="" data-bid="'),H('<template data-rri="" data-bid="'),H('" data-sid="'),H('" data-sty="');var bn=H('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),Cn=H('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),Tn=H('$RX("'),kn=H('"'),An=H(","),xn=H(")<\/script>");H('<template data-rxi="" data-bid="'),H('" data-dgst="'),H('" data-msg="'),H('" data-stck="'),H('" data-cstck="');var Dn=/[<\u2028\u2029]/g;function Sn(e){return JSON.stringify(e).replace(Dn,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 _n=/[&><\u2028\u2029]/g;function wn(e){return JSON.stringify(e).replace(_n,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts 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 On=H(' media="not all" data-precedence="'),Nn=H('" data-href="'),Pn=H('">'),Rn=H("</style>"),Bn=!1,Fn=!0;function In(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(F(this,le.startInlineStyle),F(this,On),F(this,e.precedence),F(this,Nn);r<n.length-1;r++)F(this,n[r]),F(this,Wn);for(F(this,n[r]),F(this,Pn),r=0;r<t.length;r++)F(this,t[r]);Fn=I(this,Rn),Bn=!0,t.length=0,n.length=0}}function Mn(e){return 2!==e.state&&(Bn=!0)}function Ln(e,t,n){return Bn=!1,Fn=!0,le=n,t.styles.forEach(In,e),le=null,t.stylesheets.forEach(Mn),Bn&&(n.stylesToHoist=!0),Fn}function jn(e){for(var t=0;t<e.length;t++)F(this,e[t]);e.length=0}var Hn=[];function Un(e){it(Hn,e.props);for(var t=0;t<Hn.length;t++)F(this,Hn[t]);Hn.length=0,e.state=2}var zn=H(' data-precedence="'),Gn=H('" data-href="'),Wn=H(" "),Kn=H('">'),qn=H("</style>");function $n(e){var t=0<e.sheets.size;e.sheets.forEach(Un,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(F(this,le.startInlineStyle),F(this,zn),F(this,e.precedence),e=0,r.length){for(F(this,Gn);e<r.length-1;e++)F(this,r[e]),F(this,Wn);F(this,r[e])}for(F(this,Kn),e=0;e<n.length;e++)F(this,n[e]);F(this,qn),n.length=0,r.length=0}}function Vn(e){if(0===e.state){e.state=1;var t=e.props;for(it(Hn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Hn.length;e++)F(this,Hn[e]);Hn.length=0}}function Yn(e){e.sheets.forEach(Vn,this),e.sheets.clear()}H('<link rel="expect" href="#'),H('" blocking="render"/>');var Xn=H(' id="');function Qn(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(Xn,j(J("_"+t.idPrefix+"R_")),He))}var Jn=H("["),Zn=H(",["),er=H(","),tr=H("]");function nr(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=ne(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!V(t))return;t=""+n}F(e,er),F(e,j(wn(r))),F(e,er),F(e,j(wn(t)))}function rr(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function or(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function ir(e,t,n){for(var r in t="<"+(e=(""+e).replace(ar,sr))+'>; rel=preload; as="'+(t=(""+t).replace(lr,ur))+'"',n)W.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(lr,ur)+'"');return t}var ar=/[<>\r\n]/g;function sr(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer 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 lr=/["';,\r\n]/g;function ur(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer 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 cr(e){this.styles.add(e)}function dr(e){this.stylesheets.add(e)}function fr(e,t){t.styles.forEach(cr,e),t.stylesheets.forEach(dr,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function pr(e){return 0<e.stylesheets.size||e.suspenseyImages}var hr=Function.prototype.bind,mr=Symbol.for("react.client.reference");function gr(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===mr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList";case E:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case f:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case p:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case g:return null!==(t=e.displayName||null)?t:gr(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return gr(e(t))}catch(e){}}return null}var vr={},yr=null;function Er(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(i(401))}else{if(null===n)throw Error(i(401));Er(e,n)}t.context._currentValue=t.value}}function br(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&br(e)}function Cr(e){var t=e.parent;null!==t&&Cr(t),e.context._currentValue=e.value}function Tr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(i(402));e.depth===t.depth?Er(e,t):Tr(e,t)}function kr(e,t){var n=t.parent;if(null===n)throw Error(i(402));e.depth===n.depth?Er(e,n):kr(e,n),t.context._currentValue=t.value}function Ar(e){var t=yr;t!==e&&(null===t?Cr(e):null===e?br(t):t.depth===e.depth?Er(t,e):t.depth>e.depth?Tr(t,e):kr(t,e),yr=e)}var xr={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(){}},Dr={id:1,overflow:""};function Sr(e,t,n){var r=e.id;e=e.overflow;var o=32-_r(r)-1;r&=~(1<<o),n+=1;var i=32-_r(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-_r(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var _r=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(wr(e)/Or|0)|0},wr=Math.log,Or=Math.LN2;function Nr(){}var Pr=Error(i(460)),Rr=null;function Br(){if(null===Rr)throw Error(i(459));var e=Rr;return Rr=null,e}var Fr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ir=null,Mr=null,Lr=null,jr=null,Hr=null,Ur=null,zr=!1,Gr=!1,Wr=0,Kr=0,qr=-1,$r=0,Vr=null,Yr=null,Xr=0;function Qr(){if(null===Ir)throw Error(i(321));return Ir}function Jr(){if(0<Xr)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function Zr(){return null===Ur?null===Hr?(zr=!1,Hr=Ur=Jr()):(zr=!0,Ur=Hr):null===Ur.next?(zr=!1,Ur=Ur.next=Jr()):(zr=!0,Ur=Ur.next),Ur}function eo(){var e=Vr;return Vr=null,e}function to(){jr=Lr=Mr=Ir=null,Gr=!1,Hr=null,Xr=0,Ur=Yr=null}function no(e,t){return"function"==typeof t?t(e):t}function ro(e,t,n){if(Ir=Qr(),Ur=Zr(),zr){var r=Ur.queue;if(t=r.dispatch,null!==Yr&&void 0!==(n=Yr.get(r))){Yr.delete(r),r=Ur.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ur.memoizedState=r,[r,t]}return[Ur.memoizedState,t]}return e=e===no?"function"==typeof t?t():t:void 0!==n?n(t):t,Ur.memoizedState=e,e=(e=Ur.queue={last:null,dispatch:null}).dispatch=io.bind(null,Ir,e),[Ur.memoizedState,e]}function oo(e,t){if(Ir=Qr(),t=void 0===t?null:t,null!==(Ur=Zr())){var n=Ur.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(!Fr(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ur.memoizedState=[e,t],e}function io(e,t,n){if(25<=Xr)throw Error(i(301));if(e===Ir)if(Gr=!0,e={action:n,next:null},null===Yr&&(Yr=new Map),void 0===(n=Yr.get(t)))Yr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function ao(){throw Error(i(440))}function so(){throw Error(i(394))}function lo(){throw Error(i(479))}function uo(e,t,n){Qr();var r=Kr++,o=Lr;if("function"==typeof e.$$FORM_ACTION){var i=null,a=jr;o=o.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof s){var l=o[1];s.call(e,o[2],o[3])&&l===(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0))&&(qr=r,t=o[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===i&&(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",i)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function co(e){var t=$r;return $r+=1,null===Vr&&(Vr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Nr,Nr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(Nr,Nr):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Rr=t,Pr}}(Vr,e,t)}function fo(){throw Error(i(393))}var po,ho,mo={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return co(e);if(e.$$typeof===f)return e._currentValue}throw Error(i(438,String(e)))},useContext:function(e){return Qr(),e._currentValue},useMemo:oo,useReducer:ro,useRef:function(e){Ir=Qr();var t=(Ur=Zr()).memoizedState;return null===t?(e={current:e},Ur.memoizedState=e):t},useState:function(e){return ro(no,e)},useInsertionEffect:Nr,useLayoutEffect:Nr,useCallback:function(e,t){return oo(function(){return e},t)},useImperativeHandle:Nr,useEffect:Nr,useDebugValue:Nr,useDeferredValue:function(e,t){return Qr(),void 0!==t?t:e},useTransition:function(){return Qr(),[!1,so]},useId:function(){var e=Mr.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-_r(e)-1)).toString(32)+t;var n=go;if(null===n)throw Error(i(404));return t=Wr++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(i(407));return n()},useOptimistic:function(e){return Qr(),[e,lo]},useActionState:uo,useFormState:uo,useHostTransitionStatus:function(){return Qr(),ie},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=C;return t},useCacheRefresh:function(){return fo},useEffectEvent:function(){return ao}},go=null,vo={getCacheForType:function(){throw Error(i(248))},cacheSignal:function(){throw Error(i(248))}};function yo(e){if(void 0===po)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);po=t&&t[1]||"",ho=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+po+e+ho}var Eo=!1;function bo(e,t){if(!e||Eo)return"";Eo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{Eo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?yo(n):""}function Co(e){if("string"==typeof e)return yo(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?bo(e,!0):bo(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case p:return bo(e.render,!1);case g:return bo(e.type,!1);case v:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(e){return yo("Lazy")}return Co(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?yo(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case m:return yo("SuspenseList");case h:return yo("Suspense")}return""}function To(e,t){return(500<t.byteSize||pr(t.contentState))&&null===t.contentPreamble}function ko(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=hr.apply(console.error,e))()}else console.error(e);return null}function Ao(e,t,n,r,o,i,a,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?ko:o,this.onPostpone=void 0===u?Nr:u,this.onAllReady=void 0===i?Nr:i,this.onShellReady=void 0===a?Nr:a,this.onShellError=void 0===s?Nr:s,this.onFatalError=void 0===l?Nr:l,this.formState=void 0===c?null:c}function xo(e,t,n,r,o,i,a,s,l,u,c,d){return(n=Po(t=new Ao(t,n,r,o,i,a,s,l,u,c,d),0,null,r,!1,!1)).parentFlushed=!0,Ro(e=Oo(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Dr,null,null)),t.pingedTasks.push(e),t}function Do(e,t,n,r,o,i,a,s,l){return(n=new Ao(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,o,i,a,s,l,null)).nextSegmentId=t.nextSegmentId,"number"==typeof t.replaySlots?((r=Po(0,0,null,t.rootFormatContext,!1,!1)).parentFlushed=!0,Ro(e=Oo(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,Dr,null,null)),n.pingedTasks.push(e),n):(Ro(e=No(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,Dr,null,null)),n.pingedTasks.push(e),n)}var So=null;function _o(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?P(function(){return di(e)}):w(function(){return di(e)}))}function wo(e,t,n,r,o){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:rr(),fallbackState:rr(),contentPreamble:r,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&fr(n.contentState,e)),n}function Oo(e,t,n,r,o,i,a,s,l,u,c,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return _o(e,m)},blockedBoundary:o,blockedSegment:i,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:f,row:p,componentStack:h,thenableState:t};return l.add(m),m}function No(e,t,n,r,o,i,a,s,l,u,c,d,f,p){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return _o(e,h)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(h),h}function Po(e,t,n,r,o,i){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function Ro(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===a&&(e.componentStack={parent:e.componentStack,type:t.type})}function Bo(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Fo(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=Co(r.type),r=r.parent}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function Io(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function Mo(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,z(e.destination,t)):(e.status=13,e.fatalError=t)}function Lo(e,t){jo(e,t.next,t.hoistables)}function jo(e,t,n){for(;null!==t;){null!==n&&(fr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var o=0;o<r.length;o++){var i=r[o];null!==n&&fr(i.contentState,n),ci(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Ho(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,o=0;o<n.length;o++){var i=n[o];if(1!==i.pendingTasks||i.parentFlushed||To(0,i)){r=!1;break}}r&&jo(e,t,t.hoistables)}}function Uo(e){var t={pendingTasks:1,boundaries:null,hoistables:rr(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function zo(e,t,n,r,o){var i=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<n;c++){var d="backwards"!==o&&"unstable_legacy-backwards"!==o?c:n-1-c,f=r[d];t.row=l=Uo(l),t.treeContext=Sr(a,n,d);var p=u[d];"number"==typeof p?(qo(e,t,p,f,d),delete u[d]):ti(e,t,f,d),0===--l.pendingTasks&&Lo(e,l)}else for(u=0;u<n;u++)d=r[c="backwards"!==o&&"unstable_legacy-backwards"!==o?u:n-1-u],t.row=l=Uo(l),t.treeContext=Sr(a,n,c),ti(e,t,d,c),0===--l.pendingTasks&&Lo(e,l)}else if("backwards"!==o&&"unstable_legacy-backwards"!==o)for(o=0;o<n;o++)u=r[o],t.row=l=Uo(l),t.treeContext=Sr(a,n,o),ti(e,t,u,o),0===--l.pendingTasks&&Lo(e,l);else{for(u=(o=t.blockedSegment).children.length,c=o.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=l=Uo(l),t.treeContext=Sr(a,n,d),p=Po(0,c,null,t.formatContext,0!==d||o.lastPushedText,!0),o.children.splice(u,0,p),t.blockedSegment=p;try{ti(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Ne),p.status=1,ui(e,t.blockedBoundary,p),0===--l.pendingTasks&&Lo(e,l)}catch(t){throw p.status=12===e.status?3:4,t}}t.blockedSegment=o,o.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=i}function Go(e,t,n,r,o,i){var a=t.thenableState;for(t.thenableState=null,Ir={},Mr=t,Lr=e,jr=n,Kr=Wr=0,qr=-1,$r=0,Vr=a,e=r(o,i);Gr;)Gr=!1,Kr=Wr=0,qr=-1,$r=0,Xr+=1,Ur=null,e=r(o,i);return to(),e}function Wo(e,t,n,r,o,i,a){var s=!1;if(0!==i&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<i;u++)u===a?l.push(rt):l.push(ot)}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=Sr(n,1,0),ti(e,t,r,-1),t.treeContext=n):s?ti(e,t,r,-1):$o(e,t,r,-1),t.keyPath=i}function Ko(e,t,n,o,a,s){if("function"==typeof o)if(o.prototype&&o.prototype.isReactComponent){var C=a;if("ref"in a)for(var k in C={},a)"ref"!==k&&(C[k]=a[k]);var D=o.defaultProps;if(D)for(var S in C===a&&(C=G({},C,a)),D)void 0===C[S]&&(C[S]=D[S]);a=C,C=vr,"object"==typeof(D=o.contextType)&&null!==D&&(C=D._currentValue);var _=void 0!==(C=new o(a,C)).state?C.state:null;if(C.updater=xr,C.props=a,C.state=_,D={queue:[],replace:!1},C._reactInternals=D,s=o.contextType,C.context="object"==typeof s&&null!==s?s._currentValue:vr,"function"==typeof(s=o.getDerivedStateFromProps)&&(_=null==(s=s(a,_))?_:G({},_,s),C.state=_),"function"!=typeof o.getDerivedStateFromProps&&"function"!=typeof C.getSnapshotBeforeUpdate&&("function"==typeof C.UNSAFE_componentWillMount||"function"==typeof C.componentWillMount))if(o=C.state,"function"==typeof C.componentWillMount&&C.componentWillMount(),"function"==typeof C.UNSAFE_componentWillMount&&C.UNSAFE_componentWillMount(),o!==C.state&&xr.enqueueReplaceState(C,C.state,null),null!==D.queue&&0<D.queue.length)if(o=D.queue,s=D.replace,D.queue=null,D.replace=!1,s&&1===o.length)C.state=o[0];else{for(D=s?o[0]:C.state,_=!0,s=s?1:0;s<o.length;s++)null!=(S="function"==typeof(S=o[s])?S.call(C,D,a,void 0):S)&&(_?(_=!1,D=G({},D,S)):G(D,S));C.state=D}else D.queue=null;if(o=C.render(),12===e.status)throw null;a=t.keyPath,t.keyPath=n,$o(e,t,o,-1),t.keyPath=a}else{if(o=Go(e,t,n,o,a,void 0),12===e.status)throw null;Wo(e,t,n,o,0!==Wr,Kr,qr)}else{if("string"!=typeof o){switch(o){case b:case u:case c:case l:return o=t.keyPath,t.keyPath=n,$o(e,t,a.children,-1),void(t.keyPath=o);case E:return void(null===(o=t.blockedSegment)?"hidden"!==a.mode&&(o=t.keyPath,t.keyPath=n,ti(e,t,a.children,-1),t.keyPath=o):"hidden"!==a.mode&&(o.chunks.push(_t),o.lastPushedText=!1,C=t.keyPath,t.keyPath=n,ti(e,t,a.children,-1),t.keyPath=C,o.chunks.push(wt),o.lastPushedText=!1));case m:e:{if(o=a.children,"forwards"===(a=a.revealOrder)||"backwards"===a||"unstable_legacy-backwards"===a){if(x(o)){zo(e,t,n,o,a);break e}if((C=A(o))&&(C=C.call(o))){if(!(D=C.next()).done){do{D=C.next()}while(!D.done);zo(e,t,n,o,a)}break e}}"together"===a?(a=t.keyPath,C=t.row,(D=t.row=Uo(null)).boundaries=[],D.together=!0,t.keyPath=n,$o(e,t,o,-1),0===--D.pendingTasks&&Lo(e,D),t.keyPath=a,t.row=C,null!==C&&0<D.pendingTasks&&(C.pendingTasks++,D.next=C)):(a=t.keyPath,t.keyPath=n,$o(e,t,o,-1),t.keyPath=a)}return;case T:case y:throw Error(i(343));case h:e:if(null!==t.replay){o=t.keyPath,C=t.formatContext,D=t.row,t.keyPath=n,t.formatContext=Oe(e.resumableState,C),t.row=null,n=a.children;try{ti(e,t,n,-1)}finally{t.keyPath=o,t.formatContext=C,t.row=D}}else{o=t.keyPath,s=t.formatContext;var w=t.row;S=t.blockedBoundary,k=t.blockedPreamble;var O=t.hoistableState,N=t.blockedSegment,P=a.fallback;a=a.children;var R=new Set,B=2>t.formatContext.insertionMode?wo(e,t.row,R,{htmlChunks:null,headChunks:null,bodyChunks:null},{htmlChunks:null,headChunks:null,bodyChunks:null}):wo(e,t.row,R,null,null);null!==e.trackedPostpones&&(B.trackedContentKeyPath=n);var F=Po(0,N.chunks.length,B,t.formatContext,!1,!1);N.children.push(F),N.lastPushedText=!1;var I=Po(0,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,null!==e.trackedPostpones){C=t.componentStack,_=[(D=[n[0],"Suspense Fallback",n[2]])[1],D[2],[],null],e.trackedPostpones.workingMap.set(D,_),B.trackedFallbackNode=_,t.blockedSegment=F,t.blockedPreamble=B.fallbackPreamble,t.keyPath=D,t.formatContext=we(e.resumableState,s),t.componentStack=Bo(C),F.status=6;try{ti(e,t,P,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Ne),F.status=1,ui(e,S,F)}catch(t){throw F.status=12===e.status?3:4,t}finally{t.blockedSegment=N,t.blockedPreamble=k,t.keyPath=o,t.formatContext=s}Ro(t=Oo(e,null,a,-1,B,I,B.contentPreamble,B.contentState,t.abortSet,n,Oe(e.resumableState,t.formatContext),t.context,t.treeContext,null,C)),e.pingedTasks.push(t)}else{t.blockedBoundary=B,t.blockedPreamble=B.contentPreamble,t.hoistableState=B.contentState,t.blockedSegment=I,t.keyPath=n,t.formatContext=Oe(e.resumableState,s),t.row=null,I.status=6;try{if(ti(e,t,a,-1),I.lastPushedText&&I.textEmbedded&&I.chunks.push(Ne),I.status=1,ui(e,B,I),li(B,I),0===B.pendingTasks&&0===B.status){if(B.status=1,!To(0,B)){null!==w&&0===--w.pendingTasks&&Lo(e,w),0===e.pendingRootTasks&&t.blockedPreamble&&hi(e);break e}}else null!==w&&w.together&&Ho(e,w)}catch(n){B.status=4,12===e.status?(I.status=3,C=e.fatalError):(I.status=4,C=n),_=Io(e,C,D=Fo(t.componentStack)),B.errorDigest=_,Jo(e,B)}finally{t.blockedBoundary=S,t.blockedPreamble=k,t.hoistableState=O,t.blockedSegment=N,t.keyPath=o,t.formatContext=s,t.row=w}Ro(t=Oo(e,null,P,-1,S,F,B.fallbackPreamble,B.fallbackState,R,[n[0],"Suspense Fallback",n[2]],we(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Bo(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof o&&null!==o)switch(o.$$typeof){case p:if("ref"in a)for(N in C={},a)"ref"!==N&&(C[N]=a[N]);else C=a;return void Wo(e,t,n,o=Go(e,t,n,o.render,C,s),0!==Wr,Kr,qr);case g:return void Ko(e,t,n,o.type,a,s);case f:if(D=a.children,C=t.keyPath,a=a.value,_=o._currentValue,o._currentValue=a,yr=o={parent:s=yr,depth:null===s?0:s.depth+1,context:o,parentValue:_,value:a},t.context=o,t.keyPath=n,$o(e,t,D,-1),null===(e=yr))throw Error(i(403));return e.context._currentValue=e.parentValue,e=yr=e.parent,t.context=e,void(t.keyPath=C);case d:return o=(a=a.children)(o._context._currentValue),a=t.keyPath,t.keyPath=n,$o(e,t,o,-1),void(t.keyPath=a);case v:if(o=(C=o._init)(o._payload),12===e.status)throw null;return void Ko(e,t,n,o,a,s)}throw Error(i(130,null==o?o:typeof o,""))}if(null===(C=t.blockedSegment))C=a.children,D=t.formatContext,_=t.keyPath,t.formatContext=Se(D,o,a),t.keyPath=n,ti(e,t,C,-1),t.formatContext=D,t.keyPath=_;else{if(_=function(e,t,n,o,a,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(Et("a"));var d,f=null,p=null;for(d in n)if(W.call(n,d)){var h=n[d];if(null!=h)switch(d){case"children":f=h;break;case"dangerouslySetInnerHTML":p=h;break;case"href":""===h?Ge(e,"href",""):Xe(e,d,h);break;default:Xe(e,d,h)}}if(e.push(Qe),Ze(e,p,f),"string"==typeof f){e.push(j(J(f)));var m=null}else m=f;return m;case"select":e.push(Et("select"));var g,v=null,y=null;for(g in n)if(W.call(n,g)){var E=n[g];if(null!=E)switch(g){case"children":v=E;break;case"dangerouslySetInnerHTML":y=E;break;case"defaultValue":case"value":break;default:Xe(e,g,E)}}return e.push(Qe),Ze(e,y,v),v;case"option":var b=u.selectedValue;e.push(Et("option"));var C,T=null,k=null,A=null,D=null;for(C in n)if(W.call(n,C)){var S=n[C];if(null!=S)switch(C){case"children":T=S;break;case"selected":A=S;break;case"dangerouslySetInnerHTML":D=S;break;case"value":k=S;default:Xe(e,C,S)}}if(null!=b){var _=null!==k?""+k:function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(T);if(x(b)){for(var w=0;w<b.length;w++)if(""+b[w]===_){e.push(et);break}}else""+b===_&&e.push(et)}else A&&e.push(et);return e.push(Qe),Ze(e,D,T),T;case"textarea":e.push(Et("textarea"));var O,N=null,P=null,R=null;for(O in n)if(W.call(n,O)){var B=n[O];if(null!=B)switch(O){case"children":R=B;break;case"value":N=B;break;case"defaultValue":P=B;break;case"dangerouslySetInnerHTML":throw Error(i(91));default:Xe(e,O,B)}}if(null===N&&null!==P&&(N=P),e.push(Qe),null!=R){if(null!=N)throw Error(i(92));if(x(R)){if(1<R.length)throw Error(i(93));N=""+R[0]}N=""+R}return"string"==typeof N&&"\n"===N[0]&&e.push(gt),null!==N&&e.push(j(J(""+N))),null;case"input":e.push(Et("input"));var F,I=null,M=null,L=null,H=null,U=null,z=null,K=null,q=null,$=null;for(F in n)if(W.call(n,F)){var Y=n[F];if(null!=Y)switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"input"));case"name":I=Y;break;case"formAction":M=Y;break;case"formEncType":L=Y;break;case"formMethod":H=Y;break;case"formTarget":U=Y;break;case"defaultChecked":$=Y;break;case"defaultValue":K=Y;break;case"checked":q=Y;break;case"value":z=Y;break;default:Xe(e,F,Y)}}var X=Ye(e,o,a,M,L,H,U,I);return null!==q?ze(e,"checked",q):null!==$&&ze(e,"checked",$),null!==z?Xe(e,"value",z):null!==K&&Xe(e,"value",K),e.push(Je),null!=X&&X.forEach(qe,e),null;case"button":e.push(Et("button"));var Q,Z=null,ee=null,te=null,re=null,oe=null,ie=null,ae=null;for(Q in n)if(W.call(n,Q)){var le=n[Q];if(null!=le)switch(Q){case"children":Z=le;break;case"dangerouslySetInnerHTML":ee=le;break;case"name":te=le;break;case"formAction":re=le;break;case"formEncType":oe=le;break;case"formMethod":ie=le;break;case"formTarget":ae=le;break;default:Xe(e,Q,le)}}var ue=Ye(e,o,a,re,oe,ie,ae,te);if(e.push(Qe),null!=ue&&ue.forEach(qe,e),Ze(e,ee,Z),"string"==typeof Z){e.push(j(J(Z)));var ce=null}else ce=Z;return ce;case"form":e.push(Et("form"));var de,fe=null,pe=null,he=null,me=null,ge=null,ve=null;for(de in n)if(W.call(n,de)){var ye=n[de];if(null!=ye)switch(de){case"children":fe=ye;break;case"dangerouslySetInnerHTML":pe=ye;break;case"action":he=ye;break;case"encType":me=ye;break;case"method":ge=ye;break;case"target":ve=ye;break;default:Xe(e,de,ye)}}var Ee=null,be=null;if("function"==typeof he){var Ce=Ve(o,he);null!==Ce?(he=Ce.action||"",me=Ce.encType,ge=Ce.method,ve=Ce.target,Ee=Ce.data,be=Ce.name):(e.push(Le,j("action"),je,We,He),ve=ge=me=he=null,nt(o,a))}if(null!=he&&Xe(e,"action",he),null!=me&&Xe(e,"encType",me),null!=ge&&Xe(e,"method",ge),null!=ve&&Xe(e,"target",ve),e.push(Qe),null!==be&&(e.push(Ke),Ge(e,"name",be),e.push(Je),null!=Ee&&Ee.forEach(qe,e)),Ze(e,pe,fe),"string"==typeof fe){e.push(j(J(fe)));var Te=null}else Te=fe;return Te;case"menuitem":for(var ke in e.push(Et("menuitem")),n)if(W.call(n,ke)){var Ae=n[ke];if(null!=Ae)switch(ke){case"children":case"dangerouslySetInnerHTML":throw Error(i(400));default:Xe(e,ke,Ae)}}return e.push(Qe),null;case"object":e.push(Et("object"));var xe,De=null,Se=null;for(xe in n)if(W.call(n,xe)){var _e=n[xe];if(null!=_e)switch(xe){case"children":De=_e;break;case"dangerouslySetInnerHTML":Se=_e;break;case"data":var we=ne(""+_e);if(""===we)break;e.push(Le,j("data"),je,j(J(we)),He);break;default:Xe(e,xe,_e)}}if(e.push(Qe),Ze(e,Se,De),"string"==typeof De){e.push(j(J(De)));var Oe=null}else Oe=De;return Oe;case"title":var Pe=1&u.tagScope,Re=4&u.tagScope;if(4===u.insertionMode||Pe||null!=n.itemProp)var Be=ut(e,n);else Re?Be=null:(ut(a.hoistableChunks,n),Be=void 0);return Be;case"link":var Fe=1&u.tagScope,Ie=4&u.tagScope,Ue=n.rel,$e=n.href,tt=n.precedence;if(4===u.insertionMode||Fe||null!=n.itemProp||"string"!=typeof Ue||"string"!=typeof $e||""===$e){it(e,n);var rt=null}else if("stylesheet"===n.rel)if("string"!=typeof tt||null!=n.disabled||n.onLoad||n.onError)rt=it(e,n);else{var ot=a.styles.get(tt),vt=o.styleResources.hasOwnProperty($e)?o.styleResources[$e]:void 0;if(null!==vt){o.styleResources[$e]=null,ot||(ot={precedence:j(J(tt)),rules:[],hrefs:[],sheets:new Map},a.styles.set(tt,ot));var yt={state:0,props:G({},n,{"data-precedence":n.precedence,precedence:null})};if(vt){2===vt.length&&or(yt.props,vt);var Ct=a.preloads.stylesheets.get($e);Ct&&0<Ct.length?Ct.length=0:yt.state=1}ot.sheets.set($e,yt),l&&l.stylesheets.add(yt)}else if(ot){var kt=ot.sheets.get($e);kt&&l&&l.stylesheets.add(kt)}c&&e.push(Ne),rt=null}else n.onLoad||n.onError?rt=it(e,n):(c&&e.push(Ne),rt=Ie?null:it(a.hoistableChunks,n));return rt;case"script":var At=1&u.tagScope,xt=n.async;if("string"!=typeof n.src||!n.src||!xt||"function"==typeof xt||"symbol"==typeof xt||n.onLoad||n.onError||4===u.insertionMode||At||null!=n.itemProp)var Dt=pt(e,n);else{var St=n.src;if("module"===n.type)var _t=o.moduleScriptResources,wt=a.preloads.moduleScripts;else _t=o.scriptResources,wt=a.preloads.scripts;var Ot=_t.hasOwnProperty(St)?_t[St]:void 0;if(null!==Ot){_t[St]=null;var Nt=n;if(Ot){2===Ot.length&&or(Nt=G({},n),Ot);var Pt=wt.get(St);Pt&&(Pt.length=0)}var Rt=[];a.scripts.add(Rt),pt(Rt,Nt)}c&&e.push(Ne),Dt=null}return Dt;case"style":var Bt=1&u.tagScope,Ft=n.precedence,It=n.href,Mt=n.nonce;if(4===u.insertionMode||Bt||null!=n.itemProp||"string"!=typeof Ft||"string"!=typeof It||""===It){e.push(Et("style"));var Lt,jt=null,Ht=null;for(Lt in n)if(W.call(n,Lt)){var Ut=n[Lt];if(null!=Ut)switch(Lt){case"children":jt=Ut;break;case"dangerouslySetInnerHTML":Ht=Ut;break;default:Xe(e,Lt,Ut)}}e.push(Qe);var zt=Array.isArray(jt)?2>jt.length?jt[0]:null:jt;"function"!=typeof zt&&"symbol"!=typeof zt&&null!=zt&&e.push(j((""+zt).replace(at,st))),Ze(e,Ht,jt),e.push(Tt("style"));var Gt=null}else{var Wt=a.styles.get(Ft);if(null!==(o.styleResources.hasOwnProperty(It)?o.styleResources[It]:void 0)){o.styleResources[It]=null,Wt||(Wt={precedence:j(J(Ft)),rules:[],hrefs:[],sheets:new Map},a.styles.set(Ft,Wt));var Kt=a.nonce.style;if(!Kt||Kt===Mt){Wt.hrefs.push(j(J(It)));var qt,$t=Wt.rules,Vt=null,Yt=null;for(qt in n)if(W.call(n,qt)){var Xt=n[qt];if(null!=Xt)switch(qt){case"children":Vt=Xt;break;case"dangerouslySetInnerHTML":Yt=Xt}}var Qt=Array.isArray(Vt)?2>Vt.length?Vt[0]:null:Vt;"function"!=typeof Qt&&"symbol"!=typeof Qt&&null!=Qt&&$t.push(j((""+Qt).replace(at,st))),Ze($t,Yt,Vt)}}Wt&&l&&l.styles.add(Wt),c&&e.push(Ne),Gt=void 0}return Gt;case"meta":var Jt=1&u.tagScope,Zt=4&u.tagScope;if(4===u.insertionMode||Jt||null!=n.itemProp)var en=lt(e,n,"meta");else c&&e.push(Ne),en=Zt?null:"string"==typeof n.charSet?lt(a.charsetChunks,n,"meta"):"viewport"===n.name?lt(a.viewportChunks,n,"meta"):lt(a.hoistableChunks,n,"meta");return en;case"listing":case"pre":e.push(Et(t));var tn,nn=null,rn=null;for(tn in n)if(W.call(n,tn)){var on=n[tn];if(null!=on)switch(tn){case"children":nn=on;break;case"dangerouslySetInnerHTML":rn=on;break;default:Xe(e,tn,on)}}if(e.push(Qe),null!=rn){if(null!=nn)throw Error(i(60));if("object"!=typeof rn||!("__html"in rn))throw Error(i(61));var an=rn.__html;null!=an&&("string"==typeof an&&0<an.length&&"\n"===an[0]?e.push(gt,j(an)):e.push(j(""+an)))}return"string"==typeof nn&&"\n"===nn[0]&&e.push(gt),nn;case"img":var sn=3&u.tagScope,ln=n.src,un=n.srcSet;if(!("lazy"===n.loading||!ln&&!un||"string"!=typeof ln&&null!=ln||"string"!=typeof un&&null!=un||"low"===n.fetchPriority||sn)&&("string"!=typeof ln||":"!==ln[4]||"d"!==ln[0]&&"D"!==ln[0]||"a"!==ln[1]&&"A"!==ln[1]||"t"!==ln[2]&&"T"!==ln[2]||"a"!==ln[3]&&"A"!==ln[3])&&("string"!=typeof un||":"!==un[4]||"d"!==un[0]&&"D"!==un[0]||"a"!==un[1]&&"A"!==un[1]||"t"!==un[2]&&"T"!==un[2]||"a"!==un[3]&&"A"!==un[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var cn="string"==typeof n.sizes?n.sizes:void 0,dn=un?un+"\n"+(cn||""):ln,fn=a.preloads.images,pn=fn.get(dn);if(pn)("high"===n.fetchPriority||10>a.highImagePreloads.size)&&(fn.delete(dn),a.highImagePreloads.add(pn));else if(!o.imageResources.hasOwnProperty(dn)){o.imageResources[dn]=se;var hn,mn=n.crossOrigin,gn="string"==typeof mn?"use-credentials"===mn?mn:"":void 0,vn=a.headers;vn&&0<vn.remainingCapacity&&"string"!=typeof n.srcSet&&("high"===n.fetchPriority||500>vn.highImagePreloads.length)&&(hn=ir(ln,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:gn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(vn.remainingCapacity-=hn.length+2))?(a.resets.image[dn]=se,vn.highImagePreloads&&(vn.highImagePreloads+=", "),vn.highImagePreloads+=hn):(it(pn=[],{rel:"preload",as:"image",href:un?void 0:ln,imageSrcSet:un,imageSizes:cn,crossOrigin:gn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),"high"===n.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(pn):(a.bulkPreloads.add(pn),fn.set(dn,pn)))}}return lt(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return lt(e,n,t);case"head":if(2>u.insertionMode){var yn=s||a.preamble;if(yn.headChunks)throw Error(i(545,"`<head>`"));null!==s&&e.push(ct),yn.headChunks=[];var En=ht(yn.headChunks,n,"head")}else En=mt(e,n,"head");return En;case"body":if(2>u.insertionMode){var bn=s||a.preamble;if(bn.bodyChunks)throw Error(i(545,"`<body>`"));null!==s&&e.push(dt),bn.bodyChunks=[];var Cn=ht(bn.bodyChunks,n,"body")}else Cn=mt(e,n,"body");return Cn;case"html":if(0===u.insertionMode){var Tn=s||a.preamble;if(Tn.htmlChunks)throw Error(i(545,"`<html>`"));null!==s&&e.push(ft),Tn.htmlChunks=[bt];var kn=ht(Tn.htmlChunks,n,"html")}else kn=mt(e,n,"html");return kn;default:if(-1!==t.indexOf("-")){e.push(Et(t));var An,xn=null,Dn=null;for(An in n)if(W.call(n,An)){var Sn=n[An];if(null!=Sn){var _n=An;switch(An){case"children":xn=Sn;break;case"dangerouslySetInnerHTML":Dn=Sn;break;case"style":Me(e,Sn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":_n="class";default:if(V(An)&&"function"!=typeof Sn&&"symbol"!=typeof Sn&&!1!==Sn){if(!0===Sn)Sn="";else if("object"==typeof Sn)continue;e.push(Le,j(_n),je,j(J(Sn)),He)}}}}return e.push(Qe),Ze(e,Dn,xn),xn}}return mt(e,n,t)}(C.chunks,o,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,C.lastPushedText),C.lastPushedText=!1,D=t.formatContext,s=t.keyPath,t.keyPath=n,3===(t.formatContext=Se(D,o,a)).insertionMode){n=Po(0,0,null,t.formatContext,!1,!1),C.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,ti(e,t,_,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Ne),n.status=1,ui(e,t.blockedBoundary,n)}finally{t.blockedSegment=C}}else ti(e,t,_,-1);t.formatContext=D,t.keyPath=s;e:{switch(t=C.chunks,e=e.resumableState,o){case"title":case"style":case"script":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 e;case"body":if(1>=D.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===D.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=D.insertionMode)break e}t.push(Tt(o))}C.lastPushedText=!1}}}function qo(e,t,n,r,o){var i=t.replay,a=t.blockedBoundary,s=Po(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ti(e,t,r,o),s.status=1,ui(e,a,s),null===a?e.completedRootSegment=s:(li(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=i,t.blockedSegment=null}}function $o(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?qo(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Ro(t),Vo(e,t),t.componentStack=n)}function Vo(e,t){var n=t.node,r=t.childIndex;if(null!==n){if("object"==typeof n){switch(n.$$typeof){case a:var o=n.type,l=n.key,u=n.props,c=void 0!==(n=u.ref)?n:null,d=gr(o),p=null==l?-1===r?0:r:l;if(l=[t.keyPath,d,p],null!==t.replay)e:{var m=t.replay;for(r=m.nodes,n=0;n<r.length;n++){var g=r[n];if(p===g[1]){if(4===g.length){if(null!==d&&d!==g[0])throw Error(i(490,g[0],d));var y=g[2];d=g[3],p=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(Ko(e,t,l,o,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(i){if("object"==typeof i&&null!==i&&(i===Pr||"function"==typeof i.then))throw t.node===p?t.replay=m:r.splice(n,1),i;t.replay.pendingTasks--,u=Fo(t.componentStack),ri(l=e,e=t.blockedBoundary,y,d,o=i,u=Io(l,o,u))}t.replay=m}else{if(o!==h)throw Error(i(490,"Suspense",gr(o)||"Unknown"));t:{m=void 0,o=g[5],c=g[2],d=g[3],p=null===g[4]?[]:g[4][2],g=null===g[4]?null:g[4][3];var E=t.keyPath,b=t.formatContext,C=t.row,T=t.replay,k=t.blockedBoundary,D=t.hoistableState,S=u.children,_=u.fallback,w=new Set;(u=2>t.formatContext.insertionMode?wo(e,t.row,w,Ae(),Ae()):wo(e,t.row,w,null,null)).parentFlushed=!0,u.rootSegmentID=o,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=Oe(e.resumableState,b),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(ti(e,t,S,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(n){u.status=4,m=Io(e,n,y=Fo(t.componentStack)),u.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=k,t.hoistableState=D,t.replay=T,t.keyPath=E,t.formatContext=b,t.row=C}Ro(y=No(e,null,{nodes:p,slots:g,pendingTasks:0},_,-1,k,u.fallbackState,w,[l[0],"Suspense Fallback",l[2]],we(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Bo(t.componentStack))),e.pingedTasks.push(y)}}r.splice(n,1);break e}}}else Ko(e,t,l,o,u,c);return;case s:throw Error(i(257));case v:if(n=(y=n._init)(n._payload),12===e.status)throw null;return void $o(e,t,n,r)}if(x(n))return void Yo(e,t,n,r);if((y=A(n))&&(y=y.call(n))){if(!(n=y.next()).done){u=[];do{u.push(n.value),n=y.next()}while(!n.done);Yo(e,t,u,r)}return}if("function"==typeof n.then)return t.thenableState=null,$o(e,t,co(n),r);if(n.$$typeof===f)return $o(e,t,n._currentValue,r);throw r=Object.prototype.toString.call(n),Error(i(31,"[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r))}"string"==typeof n?null!==(r=t.blockedSegment)&&(r.lastPushedText=Pe(r.chunks,n,e.renderState,r.lastPushedText)):"number"!=typeof n&&"bigint"!=typeof n||null!==(r=t.blockedSegment)&&(r.lastPushedText=Pe(r.chunks,""+n,e.renderState,r.lastPushedText))}}function Yo(e,t,n,r){var o=t.keyPath;if(-1===r||(t.keyPath=[t.keyPath,"Fragment",r],null===t.replay)){if(a=t.treeContext,s=n.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(r=0;r<s;r++)u=n[r],t.treeContext=Sr(a,s,r),"number"==typeof(c=l[r])?(qo(e,t,c,u,r),delete l[r]):ti(e,t,u,r);return t.treeContext=a,void(t.keyPath=o)}for(l=0;l<s;l++)r=n[l],t.treeContext=Sr(a,s,l),ti(e,t,r,l);t.treeContext=a,t.keyPath=o}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(Yo(e,t,n,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===Pr||"function"==typeof o.then))throw o;t.replay.pendingTasks--,n=Fo(t.componentStack);var c=t.blockedBoundary;ri(e,c,r,u,o,n=Io(e,o,n))}t.replay=a,s.splice(l,1);break}}t.keyPath=o}}function Xo(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,null===(e=n.trackedContentKeyPath))throw Error(i(486));var r=n.trackedFallbackNode,o=t.workingMap.get(e);return void 0===o?(n=[e[1],e[2],[],null,r,n.rootSegmentID],t.workingMap.set(e,n),Si(n,e[0],t),n):(o[4]=r,o[5]=n.rootSegmentID,o)}function Qo(e,t,n,r){r.status=5;var o=n.keyPath,a=n.blockedBoundary;if(null===a)r.id=e.nextSegmentId++,t.rootSlots=r.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=Xo(e,t,a);if(a.trackedContentKeyPath===o&&-1===n.childIndex)return-1===r.id&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=r.id)}if(-1===r.id&&(r.id=r.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===n.childIndex)null===o?t.rootSlots=r.id:void 0===(n=t.workingMap.get(o))?Si(n=[o[1],o[2],[],r.id],o[0],t):n[3]=r.id;else{if(null===o){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(i(491))}else if(void 0===(s=(a=t.workingMap).get(o)))e={},s=[o[1],o[2],[],e],a.set(o,s),Si(s,o[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(i(491));e[n.childIndex]=r.id}}}function Jo(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Zo(e,t,n){return No(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ei(e,t,n){var r=t.blockedSegment,o=Po(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,Oo(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ti(e,t,n,r){var o=t.formatContext,i=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return $o(e,t,n,r)}catch(c){if(to(),n=c===Pr?Br():c,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Zo(e,t,r=c===Pr?eo():null).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void Ar(i);if("Maximum call stack size exceeded"===n.message)return n=Zo(e,t,n=c===Pr?eo():null),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void Ar(i)}}}else{var c=u.children.length,d=u.chunks.length;try{return $o(e,t,n,r)}catch(r){if(to(),u.children.length=c,u.chunks.length=d,n=r===Pr?Br():r,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return u=n,e=ei(e,t,n=r===Pr?eo():null).ping,u.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Ar(i);if("Maximum call stack size exceeded"===n.message)return u=ei(e,t,u=r===Pr?eo():null),e.pingedTasks.push(u),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Ar(i)}}}throw t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,Ar(i),n}function ni(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,ci(this,t,e.row,n))}function ri(e,t,n,r,o,a){for(var s=0;s<n.length;s++){var l=n[s];if(4===l.length)ri(e,t,l[2],l[3],o,a);else{l=l[5];var u=e,c=a,d=wo(u,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=c,d.parentFlushed&&u.clientRenderedBoundaries.push(d)}}if(n.length=0,null!==r){if(null===t)throw Error(i(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof r)for(var f in r)delete r[f]}}function oi(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=Fo(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==o?(r=t.trackedPostpones,Io(t,n,i),Qo(t,r,e,o),ci(t,null,e.row,o)):(Io(t,n,i),Mo(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(o=Io(t,n,i),ri(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,0===t.pendingRootTasks&&ai(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==o)return Io(t,n,i),Qo(t,a,e,o),r.fallbackAbortableTasks.forEach(function(e){return oi(e,t,n)}),r.fallbackAbortableTasks.clear(),ci(t,r,e.row,o);r.status=4,o=Io(t,n,i),r.status=4,r.errorDigest=o,Jo(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(o=r.row)&&0===--o.pendingTasks&&Lo(t,o),r.fallbackAbortableTasks.forEach(function(e){return oi(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&Lo(t,e),t.allPendingTasks--,0===t.allPendingTasks&&si(t)}function ii(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var i=o.preconnects;if(o.fontPreloads&&(i&&(i+=", "),i+=o.fontPreloads),o.highImagePreloads&&(i&&(i+=", "),i+=o.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<o.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),u=l.next();0<o.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,f=d.href,p=c.props,h=ir(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=se,i&&(i+=", "),i+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:se}}r(i?{Link:i}:{})}}}catch(t){Io(e,t,{})}}function ai(e){null===e.trackedPostpones&&ii(e,!0),null===e.trackedPostpones&&hi(e),e.onShellError=Nr,(e=e.onShellReady)()}function si(e){ii(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),hi(e),(e=e.onAllReady)()}function li(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||li(e,n)}else e.completedSegments.push(t)}function ui(e,t,n){if(null!==U){n=n.chunks;for(var r=0,o=0;o<n.length;o++)r+=n[o].byteLength;null===t?e.byteSize+=r:t.byteSize+=r}}function ci(e,t,n,r){if(null!==n&&(0===--n.pendingTasks?Lo(e,n):n.together&&Ho(e,n)),e.allPendingTasks--,null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(i(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&ai(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&(1===r.status||3===r.status)&&li(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(n=t.row)&&fr(n.hoistables,t.contentState),To(0,t)||(t.fallbackAbortableTasks.forEach(ni,e),t.fallbackAbortableTasks.clear(),null!==n&&0===--n.pendingTasks&&Lo(e,n)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&hi(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){n=e.trackedPostpones;var o=t.next;if(null!==o&&null!==(r=o.boundaries))for(o.boundaries=null,o=0;o<r.length;o++){var a=r[o];Xo(e,n,a),ci(e,a,null,null)}}0===--t.pendingTasks&&Lo(e,t)}}else null===r||!r.parentFlushed||1!==r.status&&3!==r.status||(li(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&Ho(e,t);0===e.allPendingTasks&&si(e)}function di(e){if(14!==e.status&&13!==e.status){var t=yr,n=re.H;re.H=mo;var r=re.A;re.A=vo;var o=So;So=e;var a=go;go=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var f=c;if(0!==u.replay.pendingTasks){Ar(u.context);try{if("number"==typeof u.replay.slots?qo(f,u,u.replay.slots,u.node,u.childIndex):Vo(f,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(i(488));u.replay.pendingTasks--,u.abortSet.delete(u),ci(f,u.blockedBoundary,u.row,null)}catch(e){to();var p=e===Pr?Br():e;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=u.ping;p.then(h,h),u.thenableState=e===Pr?eo():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var m=Fo(u.componentStack);c=void 0;var g=f,v=u.blockedBoundary,y=12===f.status?f.fatalError:p;ri(g,v,u.replay.nodes,u.replay.slots,y,c=Io(g,y,m)),f.pendingRootTasks--,0===f.pendingRootTasks&&ai(f),f.allPendingTasks--,0===f.allPendingTasks&&si(f)}}}}else if(f=void 0,0===(g=d).status){g.status=6,Ar(u.context);var E=g.children.length,b=g.chunks.length;try{Vo(c,u),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Ne),u.abortSet.delete(u),g.status=1,ui(c,u.blockedBoundary,g),ci(c,u.blockedBoundary,u.row,g)}catch(e){to(),g.children.length=E,g.chunks.length=b;var C=e===Pr?Br():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var T=c.trackedPostpones,k=Fo(u.componentStack);u.abortSet.delete(u),Io(c,C,k),Qo(c,T,u,g),ci(c,u.blockedBoundary,u.row,g)}else if("object"==typeof C&&null!==C&&"function"==typeof C.then){g.status=0,u.thenableState=e===Pr?eo():null;var A=u.ping;C.then(A,A)}else{var x=Fo(u.componentStack);u.abortSet.delete(u),g.status=4;var D=u.blockedBoundary,S=u.row;if(null!==S&&0===--S.pendingTasks&&Lo(c,S),c.allPendingTasks--,f=Io(c,C,x),null===D)Mo(c,C);else if(D.pendingTasks--,4!==D.status){D.status=4,D.errorDigest=f,Jo(c,D);var _=D.row;null!==_&&0===--_.pendingTasks&&Lo(c,_),D.parentFlushed&&c.clientRenderedBoundaries.push(D),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==D.contentPreamble&&hi(c)}0===c.allPendingTasks&&si(c)}}}}l.splice(0,s),null!==e.destination&&Ti(e,e.destination)}catch(t){Io(e,t,{}),Mo(e,t)}finally{go=a,re.H=n,re.A=r,n===mo&&Ar(t),So=o}}}function fi(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=pi(e,t.children[o],n)||r;return r}function pi(e,t,n){var r=t.boundary;if(null===r)return fi(e,t,n);var o=r.contentPreamble,a=r.fallbackPreamble;if(null===o||null===a)return!1;switch(r.status){case 1:if(kt(e.renderState,o),e.byteSize+=r.byteSize,!(t=r.completedSegments[0]))throw Error(i(391));return fi(e,t,n);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return kt(e.renderState,a),fi(e,t,n);default:return!0}}function hi(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=pi(e,e.completedRootSegment,t),o=e.renderState.preamble;!1===r||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function mi(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,F(t,Dt),F(t,e.placeholderPrefix),F(t,e=j(r.toString(16))),I(t,St);case 1:n.status=2;var o=!0,a=n.chunks,s=0;n=n.children;for(var l=0;l<n.length;l++){for(o=n[l];s<o.index;s++)F(t,a[s]);o=vi(e,t,o,r)}for(;s<a.length-1;s++)F(t,a[s]);return s<a.length&&(o=I(t,a[s])),o;case 3:return!0;default:throw Error(i(390))}}var gi=0;function vi(e,t,n,r){var o=n.boundary;if(null===o)return mi(e,t,n,r);if(o.parentFlushed=!0,4===o.status){var a=o.row;null!==a&&0===--a.pendingTasks&&Lo(e,a),o=o.errorDigest,I(t,Rt),F(t,Ft),o&&(F(t,Mt),F(t,j(J(o))),F(t,It)),I(t,Lt),mi(e,t,n,r)}else if(1!==o.status)0===o.status&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),jt(t,e.renderState,o.rootSegmentID),r&&fr(r,o.fallbackState),mi(e,t,n,r);else if(!Ci&&To(0,o)&&(gi+o.byteSize>e.progressiveChunkSize||pr(o.contentState)))o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),jt(t,e.renderState,o.rootSegmentID),mi(e,t,n,r);else{if(gi+=o.byteSize,r&&fr(r,o.contentState),null!==(n=o.row)&&To(0,o)&&0===--n.pendingTasks&&Lo(e,n),I(t,Ot),1!==(n=o.completedSegments).length)throw Error(i(391));vi(e,t,n[0],r)}return I(t,Bt)}function yi(e,t,n,r){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return F(e,Ht),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Ut);case 4:return F(e,Gt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Wt);case 5:return F(e,qt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,$t);case 6:return F(e,Yt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Xt);case 7:return F(e,Jt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Zt);case 8:return F(e,tn),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,nn);case 9:return F(e,on),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,an);default:throw Error(i(397))}}(t,e.renderState,n.parentFormatContext,n.id),vi(e,t,n,r),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return I(e,zt);case 4:return I(e,Kt);case 5:return I(e,Vt);case 6:return I(e,Qt);case 7:return I(e,en);case 8:return I(e,rn);case 9:return I(e,sn);default:throw Error(i(397))}}(t,n.parentFormatContext)}function Ei(e,t,n){gi=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)bi(e,t,n,r[o]);r.length=0,null!==(r=n.row)&&To(0,n)&&0===--r.pendingTasks&&Lo(e,r),Ln(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,o=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,F(t,e.startInlineScript),F(t,Qe),a?(!(4&r.instructions)&&(r.instructions|=4,F(t,bn)),!(2&r.instructions)&&(r.instructions|=2,F(t,fn)),8&r.instructions?F(t,mn):(r.instructions|=8,F(t,hn))):(!(2&r.instructions)&&(r.instructions|=2,F(t,fn)),F(t,pn)),r=j(o.toString(16)),F(t,e.boundaryPrefix),F(t,r),F(t,gn),F(t,e.segmentPrefix),F(t,r),a?(F(t,vn),function(e,t){F(e,Jn);var n=Jn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)F(e,n),F(e,j(wn(""+t.props.href))),F(e,tr),n=Zn;else{F(e,n);var r=t.props["data-precedence"],o=t.props,a=ne(""+t.props.href);for(var s in F(e,j(wn(a))),r=""+r,F(e,er),F(e,j(wn(r))),o)if(W.call(o,s)&&null!=(r=o[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:nr(e,s,r)}F(e,tr),n=Zn,t.state=3}}),F(e,tr)}(t,n)):F(t,yn),n=I(t,En),At(t,e)&&n}function bi(e,t,n,r){if(2===r.status)return!0;var o=n.contentState,a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(i(392));return yi(e,t,r,o)}return a===n.rootSegmentID?yi(e,t,r,o):(yi(e,t,r,o),n=e.resumableState,F(t,(e=e.renderState).startInlineScript),F(t,Qe),1&n.instructions?F(t,un):(n.instructions|=1,F(t,ln)),F(t,e.segmentPrefix),F(t,a=j(a.toString(16))),F(t,cn),F(t,e.placeholderPrefix),F(t,a),t=I(t,dn))}var Ci=!1;function Ti(e,t){R=new Uint8Array(2048),B=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;gi=e.byteSize;var i,a=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(i=0;i<u.length;i++)F(t,u[i]);if(c)for(i=0;i<c.length;i++)F(t,c[i]);else F(t,Et("head")),F(t,Qe)}else if(c)for(i=0;i<c.length;i++)F(t,c[i]);var d=s.charsetChunks;for(i=0;i<d.length;i++)F(t,d[i]);d.length=0,s.preconnects.forEach(jn,t),s.preconnects.clear();var f=s.viewportChunks;for(i=0;i<f.length;i++)F(t,f[i]);f.length=0,s.fontPreloads.forEach(jn,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(jn,t),s.highImagePreloads.clear(),le=s,s.styles.forEach($n,t),le=null;var p=s.importMapChunks;for(i=0;i<p.length;i++)F(t,p[i]);p.length=0,s.bootstrapScripts.forEach(jn,t),s.scripts.forEach(jn,t),s.scripts.clear(),s.bulkPreloads.forEach(jn,t),s.bulkPreloads.clear(),u||c||(a.instructions|=32);var h=s.hoistableChunks;for(i=0;i<h.length;i++)F(t,h[i]);for(a=h.length=0;a<o.length;a++){var m=o[a];for(s=0;s<m.length;s++)vi(e,t,m[s],null)}var g=e.renderState.preamble,v=g.headChunks;(g.htmlChunks||v)&&F(t,Tt("head"));var y=g.bodyChunks;if(y)for(o=0;o<y.length;o++)F(t,y[o]);vi(e,t,r,null),e.completedRootSegment=null;var E=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var b=e.resumableState;if(!(64&b.instructions)){if(b.instructions|=64,F(t,E.startInlineScript),!(32&b.instructions)){b.instructions|=32;var C="_"+b.idPrefix+"R_";F(t,Xn),F(t,j(J(C))),F(t,He)}F(t,Qe),F(t,xt),I(t,ce)}}At(t,E)}var T=e.renderState;r=0;var k=T.viewportChunks;for(r=0;r<k.length;r++)F(t,k[r]);k.length=0,T.preconnects.forEach(jn,t),T.preconnects.clear(),T.fontPreloads.forEach(jn,t),T.fontPreloads.clear(),T.highImagePreloads.forEach(jn,t),T.highImagePreloads.clear(),T.styles.forEach(Yn,t),T.scripts.forEach(jn,t),T.scripts.clear(),T.bulkPreloads.forEach(jn,t),T.bulkPreloads.clear();var A=T.hoistableChunks;for(r=0;r<A.length;r++)F(t,A[r]);A.length=0;var x=e.clientRenderedBoundaries;for(n=0;n<x.length;n++){var D=x[n];T=t;var S=e.resumableState,_=e.renderState,w=D.rootSegmentID,O=D.errorDigest;F(T,_.startInlineScript),F(T,Qe),4&S.instructions?F(T,Tn):(S.instructions|=4,F(T,Cn)),F(T,_.boundaryPrefix),F(T,j(w.toString(16))),F(T,kn),O&&(F(T,An),F(T,j(Sn(O||""))));var N=I(T,xn);if(!N)return e.destination=null,n++,void x.splice(0,n)}x.splice(0,n);var P=e.completedBoundaries;for(n=0;n<P.length;n++)if(!Ei(e,t,P[n]))return e.destination=null,n++,void P.splice(0,n);P.splice(0,n),M(t),R=new Uint8Array(2048),B=0,Ci=!0;var L=e.partialBoundaries;for(n=0;n<L.length;n++){var H=L[n];e:{x=e,D=t,gi=H.byteSize;var U=H.completedSegments;for(N=0;N<U.length;N++)if(!bi(x,D,H,U[N])){N++,U.splice(0,N);var z=!1;break e}U.splice(0,N);var G=H.row;null!==G&&G.together&&1===H.pendingTasks&&(1===G.pendingTasks?jo(x,G,G.hoistables):G.pendingTasks--),z=Ln(D,H.contentState,x.renderState)}if(!z)return e.destination=null,n++,void L.splice(0,n)}L.splice(0,n),Ci=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!Ei(e,t,W[n]))return e.destination=null,n++,void W.splice(0,n);W.splice(0,n)}}finally{Ci=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&F(t,Tt("body")),n.hasHtml&&F(t,Tt("html")),M(t),e.status=14,t.close(),e.destination=null):M(t)}}function ki(e){e.flushScheduled=null!==e.destination,P(function(){return di(e)}),w(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&ii(e,0===e.pendingRootTasks)})}function Ai(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,w(function(){var t=e.destination;t?Ti(e,t):e.flushScheduled=!1}))}function xi(e,t){if(13===e.status)e.status=14,z(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Ti(e,t)}catch(t){Io(e,t,{}),Mo(e,t)}}}function Di(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=void 0===t?Error(i(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(i(530)):t;e.fatalError=r,n.forEach(function(t){return oi(t,e,r)}),n.clear()}null!==e.destination&&Ti(e,e.destination)}catch(t){Io(e,t,{}),Mo(e,t)}}function Si(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,o=r.get(t);void 0===o&&(o=[t[1],t[2],[],null],r.set(t,o),Si(o,t[0],n)),o[2].push(e)}}function _i(e){var t=e.trackedPostpones;if(null===t||0===t.rootNodes.length&&null===t.rootSlots)return e.trackedPostpones=null;if(null===e.completedRootSegment||5!==e.completedRootSegment.status&&null!==e.completedPreambleSegments){var n=e.nextSegmentId,r=t.rootSlots,o=e.resumableState;o.bootstrapScriptContent=void 0,o.bootstrapScripts=void 0,o.bootstrapModules=void 0}else{n=0,r=-1,o=e.resumableState;var i=e.renderState;o.nextFormID=0,o.hasBody=!1,o.hasHtml=!1,o.unknownResources={font:i.resets.font},o.dnsResources=i.resets.dns,o.connectResources=i.resets.connect,o.imageResources=i.resets.image,o.styleResources=i.resets.style,o.scriptResources={},o.moduleUnknownResources={},o.moduleScriptResources={},o.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function wi(){var e=r.version;if("19.2.3"!==e)throw Error(i(527,e,"19.2.3"))}wi(),wi(),t.prerender=function(e,t){return new Promise(function(n,r){var o,i=t?t.onHeaders:void 0;i&&(o=function(e){i(new Headers(e))});var a=ke(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=function(e,t,r,o,i,a,l,u,c,d,f){return(e=xo(e,t,r,o,i,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){xi(s,e)},cancel:function(e){s.destination=null,Di(s,e)}},{highWaterMark:0});e={postponed:_i(s),prelude:e},n(e)},void 0,void 0,d,f,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,a,Te(a,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,o,t?t.maxHeadersLength:void 0),De(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,0,0,0,r,t?t.onPostpone:void 0);if(t&&t.signal){var l=t.signal;if(l.aborted)Di(s,l.reason);else{var u=function(){Di(s,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}}ki(s)})},t.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,i,a,s=new Promise(function(e,t){i=e,o=t}),l=t?t.onHeaders:void 0;l&&(a=function(e){l(new Headers(e))});var u=ke(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),c=xo(e,u,Te(u,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),De(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){xi(c,e)},cancel:function(e){c.destination=null,Di(c,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),r(e)},o,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Di(c,d.reason);else{var f=function(){Di(c,d.reason),d.removeEventListener("abort",f)};d.addEventListener("abort",f)}}ki(c)})},t.resume=function(e,t,n){return new Promise(function(r,o){var i,a,s=new Promise(function(e,t){a=e,i=t}),l=Do(e,t,Te(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){xi(l,e)},cancel:function(e){l.destination=null,Di(l,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),o(e)},i,n?n.onPostpone:void 0);if(n&&n.signal){var u=n.signal;if(u.aborted)Di(l,u.reason);else{var c=function(){Di(l,u.reason),u.removeEventListener("abort",c)};u.addEventListener("abort",c)}}ki(l)})},t.resumeAndPrerender=function(e,t,n){return new Promise(function(r,o){var i=function(e,t,n,o,a,s,l,u,c){return(e=Do(e,t,n,o,function(){var e=new ReadableStream({type:"bytes",pull:function(e){xi(i,e)},cancel:function(e){i.destination=null,Di(i,e)}},{highWaterMark:0});e={postponed:_i(i),prelude:e},r(e)},void 0,void 0,u,c)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,t,Te(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,0,0,0,o,n?n.onPostpone:void 0);if(n&&n.signal){var a=n.signal;if(a.aborted)Di(i,a.reason);else{var s=function(){Di(i,a.reason),a.removeEventListener("abort",s)};a.addEventListener("abort",s)}}ki(i)})},t.version="19.2.3"},40931(e,t,n){"use strict";var r,o;r=n(87552),o=n(64920),r.version,t.F0=r.renderToString,r.renderToStaticMarkup,o.renderToReadableStream,o.resume},24543(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"]},58727(e){e.exports=["button","input","select","textarea"]},56494(e,t,n){"use strict";var r=n(60713),o=n(10382),i=n(44546),a=n(6189),s=n(24543),l=n(58727),u=n(11387);e.exports=function(e){var t,n=(t=(e||{}).newlines?T:k,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"]),d=i(["element","root"]),f=i(["root"]),p=i(["element"]),h=i(["text"]);function m(e,t){var n;if(d(e))return n=Object.assign({},t),(f(e)||E(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),y(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&&C(n.charAt(0))&&r++,r!==o&&C(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&&!b(r)&&(o=g(r.children,-1)),"boolean"==typeof o)return o;return n}function v(e){if(p(e)){if(y(e))return!1;if(E(e))return!0}else if(h(e)){if(!a(e))return!1}else if(!c(e))return!1}function y(e){return o(e)||r(e,l)}function E(e){return r(e,s)}function b(e){var t=e.properties||{};return c(e)||r(e,u)||t.hidden}function C(e){return" "===e||"\n"===e}function T(e){var t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function k(){return" "}},11387(e){e.exports=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"]},99233(e,t,n){"use strict";var r=n(86277),o=n(98835),i=n(93227),a=n(78841),s={2:!0,1:!1,0:null};function l(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 u=t.fragment?"parseFragment":"parse",c=t.emitParseErrors?function(n){var r,o,u=n.code,c=u.replace(/-[a-z]/g,l),d=t[c],f=null==d||d,p="number"==typeof f?f:f?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,y)}function v(t,r){var o=r?-parseInt(r,10):0,i=e.charAt(n.startOffset+o);return"`"===i?"` ` `":i}function y(){return"0x"+e.charCodeAt(n.startOffset).toString(16).toUpperCase()}p&&(r=a[c]||{reason:"",description:""},(o=i.message(g(r.reason),{start:h,end:m})).source="parse-error",o.ruleId=u,o.fatal=s[p],o.note=g(r.description),o.url=!1===r.url?null:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+u)}:null,d=new o({sourceCodeLocationInfo:n,onParseError:c,scriptingEnabled:!1});return r(d[u](e),{space:t.space,file:i,verbose:t.verbose})}}},92859(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n(86028),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"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],u=l.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 d(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(d(n,e))return r.QUIRKS;if(e=null===t?l:u,d(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}},39624(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"}},36941(e,t,n){"use strict";const r=n(3197),o=n(86028),i=o.TAG_NAMES,a=o.NAMESPACES,s=o.ATTRS,l={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"},u={"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"},d={[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))||d[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=l[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=u[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))}},86028(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}}},13702(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="�",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}},77499(e,t,n){"use strict";const r=n(19572);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)}}}}},63345(e,t,n){"use strict";const r=n(77499),o=n(48721),i=n(68422),a=n(19572);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)}}}}},46625(e,t,n){"use strict";const r=n(77499),o=n(91851),i=n(19572);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))}}},48721(e,t,n){"use strict";const r=n(77499),o=n(46625),i=n(19572);e.exports=class extends r{constructor(e,t){super(e,t);const n=i.install(e.preprocessor,o,t);this.posTracker=n.posTracker}}},7123(e,t,n){"use strict";const r=n(19572);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)}}}}},42872(e,t,n){"use strict";const r=n(19572),o=n(3197),i=n(68422),a=n(7123),s=n(86028).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],l=this.treeAdapter.getNodeSourceCodeLocation(s);l?(l.endLine=n.location.endLine,l.endCol=n.location.endCol,l.endOffset=n.location.endOffset):this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}},68422(e,t,n){"use strict";const r=n(19572),o=n(3197),i=n(91851);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}}},91851(e,t,n){"use strict";const r=n(19572);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}}}}},47634(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,l=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===o&&this.treeAdapter.getNamespaceURI(s)===i&&l.length===r&&n.push({idx:e,attrs:l})}}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},98835(e,t,n){"use strict";const r=n(3197),o=n(92603),i=n(47634),a=n(42872),s=n(63345),l=n(19572),u=n(70870),c=n(18210),d=n(92859),f=n(36941),p=n(39624),h=n(13702),m=n(86028),g=m.TAG_NAMES,v=m.NAMESPACES,y=m.ATTRS,E={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:u},b="hidden",C="INITIAL_MODE",T="BEFORE_HTML_MODE",k="BEFORE_HEAD_MODE",A="IN_HEAD_MODE",x="IN_HEAD_NO_SCRIPT_MODE",D="AFTER_HEAD_MODE",S="IN_BODY_MODE",_="TEXT_MODE",w="IN_TABLE_MODE",O="IN_TABLE_TEXT_MODE",N="IN_CAPTION_MODE",P="IN_COLUMN_GROUP_MODE",R="IN_TABLE_BODY_MODE",B="IN_ROW_MODE",F="IN_CELL_MODE",I="IN_SELECT_MODE",M="IN_SELECT_IN_TABLE_MODE",L="IN_TEMPLATE_MODE",j="AFTER_BODY_MODE",H="IN_FRAMESET_MODE",U="AFTER_FRAMESET_MODE",z="AFTER_AFTER_BODY_MODE",G="AFTER_AFTER_FRAMESET_MODE",W={[g.TR]:B,[g.TBODY]:R,[g.THEAD]:R,[g.TFOOT]:R,[g.CAPTION]:N,[g.COLGROUP]:P,[g.TABLE]:w,[g.BODY]:S,[g.FRAMESET]:H},K={[g.CAPTION]:w,[g.COLGROUP]:w,[g.TBODY]:w,[g.TFOOT]:w,[g.THEAD]:w,[g.COL]:P,[g.TR]:R,[g.TD]:B,[g.TH]:B},q={[C]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ae,[r.WHITESPACE_CHARACTER_TOKEN]:ee,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?m.DOCUMENT_MODE.QUIRKS:d.getDocumentMode(t);d.isConforming(t)||e._err(p.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T},[r.START_TAG_TOKEN]:ae,[r.END_TAG_TOKEN]:ae,[r.EOF_TOKEN]:ae},[T]:{[r.CHARACTER_TOKEN]:se,[r.NULL_CHARACTER_TOKEN]:se,[r.WHITESPACE_CHARACTER_TOKEN]:ee,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?(e._insertElement(t,v.HTML),e.insertionMode=k):se(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||se(e,t)},[r.EOF_TOKEN]:se},[k]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ee,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.HEAD?(e._insertElement(t,v.HTML),e.headElement=e.openElements.current,e.insertionMode=A):le(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?le(e,t):e._err(p.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:le},[A]:{[r.CHARACTER_TOKEN]:de,[r.NULL_CHARACTER_TOKEN]:de,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:ue,[r.END_TAG_TOKEN]:ce,[r.EOF_TOKEN]:de},[x]:{[r.CHARACTER_TOKEN]:fe,[r.NULL_CHARACTER_TOKEN]:fe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?ue(e,t):n===g.NOSCRIPT?e._err(p.nestedNoscriptInHead):fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=A):n===g.BR?fe(e,t):e._err(p.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:fe},[D]:{[r.CHARACTER_TOKEN]:pe,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(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=H):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(p.abandonedHeadElementChild),e.openElements.push(e.headElement),ue(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(p.misplacedStartTagForHeadElement):pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?pe(e,t):n===g.TEMPLATE?ce(e,t):e._err(p.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:pe},[S]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:De,[r.END_TAG_TOKEN]:Oe,[r.EOF_TOKEN]:Ne},[_]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:oe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ee,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:ee,[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(p.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[w]:{[r.CHARACTER_TOKEN]:Pe,[r.NULL_CHARACTER_TOKEN]:Pe,[r.WHITESPACE_CHARACTER_TOKEN]:Pe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:Re,[r.END_TAG_TOKEN]:Be,[r.EOF_TOKEN]:Ne},[O]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:Ie,[r.DOCTYPE_TOKEN]:Ie,[r.START_TAG_TOKEN]:Ie,[r.END_TAG_TOKEN]:Ie,[r.EOF_TOKEN]:Ie},[N]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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=w,e._processToken(t)):De(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=w,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&&Oe(e,t)},[r.EOF_TOKEN]:Ne},[P]:{[r.CHARACTER_TOKEN]:Me,[r.NULL_CHARACTER_TOKEN]:Me,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.COL?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.TEMPLATE?ue(e,t):Me(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=w):n===g.TEMPLATE?ce(e,t):n!==g.COL&&Me(e,t)},[r.EOF_TOKEN]:Ne},[R]:{[r.CHARACTER_TOKEN]:Pe,[r.NULL_CHARACTER_TOKEN]:Pe,[r.WHITESPACE_CHARACTER_TOKEN]:Pe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,v.HTML),e.insertionMode=B):n===g.TH||n===g.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(g.TR),e.insertionMode=B,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=w,e._processToken(t)):Re(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=w):n===g.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=w,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)&&Be(e,t)},[r.EOF_TOKEN]:Ne},[B]:{[r.CHARACTER_TOKEN]:Pe,[r.NULL_CHARACTER_TOKEN]:Pe,[r.WHITESPACE_CHARACTER_TOKEN]:Pe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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=F,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=R,e._processToken(t)):Re(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=R):n===g.TABLE?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R,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=R,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH)&&Be(e,t)},[r.EOF_TOKEN]:Ne},[F]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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)):De(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=B):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&&Oe(e,t)},[r.EOF_TOKEN]:Ne},[I]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:Le,[r.END_TAG_TOKEN]:je,[r.EOF_TOKEN]:Ne},[M]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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)):Le(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)):je(e,t)},[r.EOF_TOKEN]:Ne},[L]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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)ue(e,t);else{const r=K[n]||S;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.TEMPLATE&&ce(e,t)},[r.EOF_TOKEN]:He},[j]:{[r.CHARACTER_TOKEN]:Ue,[r.NULL_CHARACTER_TOKEN]:Ue,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?De(e,t):Ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=z):Ue(e,t)},[r.EOF_TOKEN]:ie},[H]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.FRAMESET?e._insertElement(t,v.HTML):n===g.FRAME?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&ue(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=U))},[r.EOF_TOKEN]:ie},[U]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.NOFRAMES&&ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML&&(e.insertionMode=G)},[r.EOF_TOKEN]:ie},[z]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:re,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?De(e,t):ze(e,t)},[r.END_TAG_TOKEN]:ze,[r.EOF_TOKEN]:ie},[G]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:re,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.NOFRAMES&&ue(e,t)},[r.END_TAG_TOKEN]:ee,[r.EOF_TOKEN]:ie}};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):we(e,t),n}function V(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 Y(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>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=X(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function X(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 Q(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 J(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 Z(e,t){let n;for(let r=0;r<8&&(n=$(e,t),n);r++){const t=V(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=Y(e,t,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),Q(e,o,r),J(e,t,n)}}function ee(){}function te(e){e._err(p.misplacedDoctype)}function ne(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function re(e,t){e._appendCommentNode(t,e.document)}function oe(e,t){e._insertCharacters(t)}function ie(e){e.stopped=!0}function ae(e,t){e._err(p.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,m.DOCUMENT_MODE.QUIRKS),e.insertionMode=T,e._processToken(t)}function se(e,t){e._insertFakeRootElement(),e.insertionMode=k,e._processToken(t)}function le(e,t){e._insertFakeElement(g.HEAD),e.headElement=e.openElements.current,e.insertionMode=A,e._processToken(t)}function ue(e,t){const n=t.tagName;n===g.HTML?De(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=x):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=L,e._pushTmplInsertionMode(L)):n===g.HEAD?e._err(p.misplacedStartTagForHeadElement):de(e,t)}function ce(e,t){const n=t.tagName;n===g.HEAD?(e.openElements.pop(),e.insertionMode=D):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(p.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(p.endTagWithoutMatchingOpenElement)}function de(e,t){e.openElements.pop(),e.insertionMode=D,e._processToken(t)}function fe(e,t){const n=t.type===r.EOF_TOKEN?p.openElementsLeftAfterEof:p.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=A,e._processToken(t)}function pe(e,t){e._insertFakeElement(g.BODY),e.insertionMode=S,e._processToken(t)}function he(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function me(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ge(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function ve(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ye(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ee(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function be(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ce(e,t){e._appendElement(t,v.HTML),t.ackSelfClosing=!0}function Te(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function ke(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function Ae(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,v.HTML)}function xe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function De(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?ye(e,t):n===g.P?ge(e,t):n===g.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(Z(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):xe(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?ge(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?ye(e,t):n===g.BR?be(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?Ae(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&&xe(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?ge(e,t):n===g.PRE?ve(e,t):n===g.BIG?ye(e,t):n===g.IMG||n===g.WBR?be(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(),f.adjustTokenSVGAttrs(t),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.SVG):e._insertElement(t,v.SVG),t.ackSelfClosing=!0}(e,t):n===g.RTC?Ae(e,t):n!==g.COL&&xe(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?ue(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?ge(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?ye(e,t):n===g.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(Z(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===g.AREA?be(e,t):n===g.MATH?function(e,t){e._reconstructActiveFormattingElements(),f.adjustTokenMathMLAttrs(t),f.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&&xe(e,t);break;case 5:n===g.STYLE||n===g.TITLE?ue(e,t):n===g.ASIDE?ge(e,t):n===g.SMALL?ye(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=w}(e,t):n===g.EMBED?be(e,t):n===g.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML);const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===b||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===g.PARAM||n===g.TRACK?Ce(e,t):n===g.IMAGE?function(e,t){t.tagName=g.IMG,be(e,t)}(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&xe(e,t);break;case 6:n===g.SCRIPT?ue(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?ge(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?ye(e,t):n===g.APPLET||n===g.OBJECT?Ee(e,t):n===g.KEYGEN?be(e,t):n===g.SOURCE?Ce(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===w||e.insertionMode===N||e.insertionMode===R||e.insertionMode===B||e.insertionMode===F?e.insertionMode=M:e.insertionMode=I}(e,t):n===g.OPTION?ke(e,t):xe(e,t);break;case 7:n===g.BGSOUND?ue(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?ge(e,t):n===g.LISTING?ve(e,t):n===g.MARQUEE?Ee(e,t):n===g.NOEMBED?Te(e,t):n!==g.CAPTION&&xe(e,t);break;case 8:n===g.BASEFONT?ue(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=H)}(e,t):n===g.FIELDSET?ge(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=_}(e,t):n===g.TEMPLATE?ue(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?Te(e,t):xe(e,t):n===g.OPTGROUP?ke(e,t):n!==g.COLGROUP&&xe(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):xe(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?ge(e,t):xe(e,t);break;default:xe(e,t)}}function Se(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function _e(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function we(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 Oe(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?Z(e,t):n===g.P?function(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}(e):we(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?Z(e,t):we(e,t);break;case 3:n===g.BIG?Z(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?Se(e,t):we(e,t);break;case 4:n===g.BODY?function(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j)}(e):n===g.HTML?function(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j,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?Z(e,t):n===g.MAIN||n===g.MENU?Se(e,t):we(e,t);break;case 5:n===g.ASIDE?Se(e,t):n===g.SMALL?Z(e,t):we(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?_e(e,t):n===g.STRIKE||n===g.STRONG?Z(e,t):we(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?_e(e,t):we(e,t);break;case 8:n===g.FIELDSET?Se(e,t):n===g.TEMPLATE?ce(e,t):we(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Se(e,t):we(e,t);break;default:we(e,t)}}function Ne(e,t){e.tmplInsertionModeStackTop>-1?He(e,t):e.stopped=!0}function Pe(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=O,e._processToken(t)):Fe(e,t)}function Re(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=R,e._processToken(t)}(e,t):Fe(e,t);break;case 3:n===g.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=P,e._processToken(t)}(e,t):Fe(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):Fe(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?ue(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=R}(e,t):n===g.INPUT?function(e,t){const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===b?e._appendElement(t,v.HTML):Fe(e,t),t.ackSelfClosing=!0}(e,t):Fe(e,t);break;case 6:n===g.SCRIPT?ue(e,t):Fe(e,t);break;case 7:n===g.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,v.HTML),e.insertionMode=N}(e,t):Fe(e,t);break;case 8:n===g.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=P}(e,t):n===g.TEMPLATE?ue(e,t):Fe(e,t);break;default:Fe(e,t)}}function Be(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?ce(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&&Fe(e,t)}function Fe(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Ie(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Fe(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Me(e,t){e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=w,e._processToken(t))}function Le(e,t){const n=t.tagName;n===g.HTML?De(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||ue(e,t)}function je(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&&ce(e,t)}function He(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 Ue(e,t){e.insertionMode=S,e._processToken(t)}function ze(e,t){e.insertionMode=S,e._processToken(t)}e.exports=class{constructor(e){this.options=c(E,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&l.install(this,a),this.options.onParseError&&l.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(L),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=C,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=_}switchToPlaintextParsing(){this.insertionMode=_,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){q[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){q[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?oe(this,e):e.type===r.COMMENT_TOKEN?ne(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(f.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?f.adjustTokenMathMLAttrs(t):r===v.SVG&&(f.adjustTokenSVGTagName(t),f.adjustTokenSVGAttrs(t)),f.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(p.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return f.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=B}_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=W[r];if(o){this.insertionMode=o;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=F;break}if(!t&&r===g.HEAD){this.insertionMode=A;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?D:k;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=M)}this.insertionMode=I}_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]}}},92603(e,t,n){"use strict";const r=n(86028),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 l(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(l(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(l(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||l(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||l(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()}}},3197(e,t,n){"use strict";const r=n(39450),o=n(13702),i=n(78643),a=n(39624),s=o.CODE_POINTS,l=o.CODE_POINT_SEQUENCES,u={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",d="RCDATA_STATE",f="RAWTEXT_STATE",p="SCRIPT_DATA_STATE",h="PLAINTEXT_STATE",m="TAG_OPEN_STATE",g="END_TAG_OPEN_STATE",v="TAG_NAME_STATE",y="RCDATA_LESS_THAN_SIGN_STATE",E="RCDATA_END_TAG_OPEN_STATE",b="RCDATA_END_TAG_NAME_STATE",C="RAWTEXT_LESS_THAN_SIGN_STATE",T="RAWTEXT_END_TAG_OPEN_STATE",k="RAWTEXT_END_TAG_NAME_STATE",A="SCRIPT_DATA_LESS_THAN_SIGN_STATE",x="SCRIPT_DATA_END_TAG_OPEN_STATE",D="SCRIPT_DATA_END_TAG_NAME_STATE",S="SCRIPT_DATA_ESCAPE_START_STATE",_="SCRIPT_DATA_ESCAPE_START_DASH_STATE",w="SCRIPT_DATA_ESCAPED_STATE",O="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",P="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",R="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",B="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",F="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",W="BEFORE_ATTRIBUTE_VALUE_STATE",K="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",q="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",$="ATTRIBUTE_VALUE_UNQUOTED_STATE",V="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",Y="SELF_CLOSING_START_TAG_STATE",X="BOGUS_COMMENT_STATE",Q="MARKUP_DECLARATION_OPEN_STATE",J="COMMENT_START_STATE",Z="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",le="DOCTYPE_STATE",ue="BEFORE_DOCTYPE_NAME_STATE",ce="DOCTYPE_NAME_STATE",de="AFTER_DOCTYPE_NAME_STATE",fe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",pe="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",ye="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Ee="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",be="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Ce="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Te="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ke="BOGUS_DOCTYPE_STATE",Ae="CDATA_SECTION_STATE",xe="CDATA_SECTION_BRACKET_STATE",De="CDATA_SECTION_END_STATE",Se="CHARACTER_REFERENCE_STATE",_e="NAMED_CHARACTER_REFERENCE_STATE",we="AMBIGUOS_AMPERSAND_STATE",Oe="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Pe="DECIMAL_CHARACTER_REFERENCE_START_STATE",Re="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Be="DECIMAL_CHARACTER_REFERENCE_STATE",Fe="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 We(e){return e+32}function Ke(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(We(e))}function $e(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 Ve{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:Ve.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,l=0,u=t;for(;l<i;l++){if(l>0&&(u=this._consume(),r++),u===s.EOF){o=!1;break}if(a=e[l],u!==a&&(n||u!==We(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==l.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:Ve.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Ve.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Ve.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:Ve.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:Ve.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===Ve.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===Ve.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===Ve.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=Ve.CHARACTER_TOKEN;Ie(e)?t=Ve.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=Ve.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,Ke(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken(Ve.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=$e(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?$e(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===K||this.returnState===q||this.returnState===$}_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+=Ke(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=Se):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitCodePoint(e)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[d](e){this.preprocessor.dropParsedChunk(),e===s.AMPERSAND?(this.returnState=d,this.state=Se):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)}[f](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=C: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=A: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=Y: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+=Ke(e)}[y](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=E):(this._emitChars("<"),this._reconsumeInState(d))}[E](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(b)):(this._emitChars("</"),this._reconsumeInState(d))}[b](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this.state=c,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(d)}}[C](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=T):(this._emitChars("<"),this._reconsumeInState(f))}[T](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(k)):(this._emitChars("</"),this._reconsumeInState(f))}[k](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(f)}}[A](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=x):e===s.EXCLAMATION_MARK?(this.state=S,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(p))}[x](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(D)):(this._emitChars("</"),this._reconsumeInState(p))}[D](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}[S](e){e===s.HYPHEN_MINUS?(this.state=_,this._emitChars("-")):this._reconsumeInState(p)}[_](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):this._reconsumeInState(p)}[w](e){e===s.HYPHEN_MINUS?(this.state=O,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=P:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[O](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=P:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=w,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=w,this._emitCodePoint(e))}[N](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?this.state=P:e===s.GREATER_THAN_SIGN?(this.state=p,this._emitChars(">")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=w,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=w,this._emitCodePoint(e))}[P](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=R):He(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(F)):(this._emitChars("<"),this._reconsumeInState(w))}[R](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(B)):(this._emitChars("</"),this._reconsumeInState(w))}[B](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(w)}}[F](e){Ie(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?I:w,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(We(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(w)}[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=p,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()?w:I,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(We(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(W):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+=Ke(e)):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.name+=o.REPLACEMENT_CHARACTER):this.currentAttr.name+=Ke(e)}[G](e){Ie(e)||(e===s.SOLIDUS?this.state=Y:e===s.EQUALS_SIGN?this.state=W:e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(z)))}[W](e){Ie(e)||(e===s.QUOTATION_MARK?this.state=K:e===s.APOSTROPHE?this.state=q:e===s.GREATER_THAN_SIGN?(this._err(a.missingAttributeValue),this.state=c,this._emitCurrentToken()):this._reconsumeInState($))}[K](e){e===s.QUOTATION_MARK?this.state=V:e===s.AMPERSAND?(this.returnState=K,this.state=Se):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+=Ke(e)}[q](e){e===s.APOSTROPHE?this.state=V:e===s.AMPERSAND?(this.returnState=q,this.state=Se):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+=Ke(e)}[$](e){Ie(e)?this._leaveAttrValue(U):e===s.AMPERSAND?(this.returnState=$,this.state=Se):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+=Ke(e)):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ke(e)}[V](e){Ie(e)?this._leaveAttrValue(U):e===s.SOLIDUS?this._leaveAttrValue(Y):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))}[Y](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+=Ke(e)}[Q](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=J):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=le:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Ae:(this._err(a.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=X):this._ensureHibernation()||(this._err(a.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(X))}[J](e){e===s.HYPHEN_MINUS?this.state=Z:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=c,this._emitCurrentToken()):this._reconsumeInState(ee)}[Z](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+=Ke(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))}[le](e){Ie(e)?this.state=ue:e===s.GREATER_THAN_SIGN?this._reconsumeInState(ue):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(ue))}[ue](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(Ke(e)),this.state=ce))}[ce](e){Ie(e)?this.state=de: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+=Ke(e)}[de](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(l.PUBLIC_STRING,e,!1)?this.state=fe:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=ye:this._ensureHibernation()||(this._err(a.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(ke)))}[fe](e){Ie(e)?this.state=pe: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(ke))}[pe](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(ke)))}[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+=Ke(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+=Ke(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=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Ce):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(ke))}[ve](e){Ie(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=c):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ce):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(ke)))}[ye](e){Ie(e)?this.state=Ee:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Ce):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(ke))}[Ee](e){Ie(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ce):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(ke)))}[be](e){e===s.QUOTATION_MARK?this.state=Te: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+=Ke(e)}[Ce](e){e===s.APOSTROPHE?this.state=Te: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+=Ke(e)}[Te](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(ke)))}[ke](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())}[Ae](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=De:(this._emitChars("]"),this._reconsumeInState(Ae))}[De](e){e===s.GREATER_THAN_SIGN?this.state=c:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Ae))}[Se](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Oe):Ue(e)?this._reconsumeInState(_e):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[_e](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=we}[we](e){Ue(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Ke(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(a.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Oe](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Ne):this._reconsumeInState(Pe)}[Ne](e){!function(e){return Me(e)||ze(e)||Ge(e)}(e)?(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Re)}[Pe](e){Me(e)?this._reconsumeInState(Be):(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Re](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=Fe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Fe))}[Be](e){Me(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Fe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Fe))}[Fe](){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=u[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Ve.CHARACTER_TOKEN="CHARACTER_TOKEN",Ve.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ve.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ve.START_TAG_TOKEN="START_TAG_TOKEN",Ve.END_TAG_TOKEN="END_TAG_TOKEN",Ve.COMMENT_TOKEN="COMMENT_TOKEN",Ve.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ve.EOF_TOKEN="EOF_TOKEN",Ve.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ve.MODE={DATA:c,RCDATA:d,RAWTEXT:f,SCRIPT_DATA:p,PLAINTEXT:h},Ve.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=Ve},78643(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])},39450(e,t,n){"use strict";const r=n(13702),o=n(39624),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--}}},70870(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n(86028);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}},18210(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))}},19572(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},12530(e,t,n){"use strict";var r=n(96055);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)}},86291(e,t,n){"use strict";var r=n(93227),o=n(24697);e.exports=function(e){var t=r(e,this.data("settings"));this.Compiler=function(e){return o(e,t)}}},38474(e,t,n){"use strict";var r=n(53553),o=n(93227),i=n(48093);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},48093(e,t,n){"use strict";var r=n(93227),o=n(65990);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(68266),a.options=n(67554),a.setOptions=n(30681),a.compile=n(78844),a.visit=n(91385),a.all=n(55246),a.block=n(45984),a.visitOrderedItems=n(82965),a.visitUnorderedItems=n(57792),a.visitors={root:n(96890),text:n(95821),heading:n(84266),paragraph:n(70854),blockquote:n(26781),list:n(40526),listItem:n(8292),inlineCode:n(74777),code:n(18591),html:n(60227),thematicBreak:n(32043),strong:n(36209),emphasis:n(66712),break:n(76891),delete:n(65329),link:n(97910),linkReference:n(63214),imageReference:n(34289),definition:n(6307),image:n(7905),footnote:n(63166),footnoteReference:n(26550),footnoteDefinition:n(5138),table:n(21712),tableCell:n(26157)}},67554(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:"_"}},78663(e,t,n){"use strict";var r=n(15364),o=n(10386),i=n(51498),a=n(23126),s=n(30838);e.exports=function(e){return function(t,n,S){var _,w,O,N,P,R,B=this,F=e.gfm,I=e.commonmark,M=e.pedantic,L=I?[h,")"]:[h],j=S&&S.children,H=j&&j.indexOf(n),U=j&&j[H-1],z=j&&j[H+1],G=t.length,W=a(e),K=-1,q=[],$=q;for(_=U?x(U)&&k.test(U.value):!S||"root"===S.type||"paragraph"===S.type;++K<G;){if(R=!1,"\n"===(w=t.charAt(K)))_=!0;else if(w===v||"`"===w||w===p||w===b&&t.charAt(K+1)===g||w===g||"<"===w||w===d&&s(t.slice(K))>0||"]"===w&&B.inLink||F&&w===E&&t.charAt(K+1)===E||F&&"|"===w&&(B.inTable||A(t,K))||w===y&&K>0&&K<G-1&&(M||!o(t.charAt(K-1))||!o(t.charAt(K+1)))||F&&!B.inLink&&w===m&&D(q.join("")))R=!0;else if(_)if(">"===w||"#"===w||w===p||"-"===w||"+"===w)R=!0;else if(r(w)){for(P=K+1;P<G&&r(t.charAt(P));)P++;-1!==L.indexOf(t.charAt(P))&&((z=t.charAt(P+1))&&z!==c&&z!==l&&z!==u||(q.push(t.slice(K,P)),K=P,w=t.charAt(K),R=!0))}_&&!i(w)&&(_=!1),q.push(R?V(w):w)}if(j&&x(n)){if(U&&U.referenceType===T){for(K=-1,G=$.length;++K<G;)if((w=$[K])!==c&&w!==l){w!==f&&w!==m||($[K]=V(w));break}x(z)&&K===G&&z.value.charAt(0)===f&&$.push(v)}F&&!B.inLink&&x(U)&&t.charAt(0)===m&&D(U.value.slice(-6))&&($[0]=V(m)),x(z)&&t.charAt(G-1)===d&&0!==s(d+z.value)&&($[$.length-1]=V(d)),z&&"link"===z.type&&t.charAt(G-1)===b&&($[$.length-1]=V(b)),F&&x(z)&&t.charAt(G-1)===E&&z.value.charAt(0)===E&&$.splice($.length-1,0,v),O=x(U)&&o(U.value.slice(-1)),N=x(z)&&o(z.value.charAt(0)),1===G?t!==y||!M&&O&&N||$.unshift(v):(t.charAt(0)!==y||!M&&O&&o(t.charAt(1))||$.unshift(v),t.charAt(G-1)!==y||!M&&N&&o(t.charAt(G-2))||$.splice($.length-1,0,v))}return $.join("");function V(e){return-1===W.indexOf(e)?C[e]:v+e}}};var l="\t",u="\n",c=" ",d="&",f="(",p="*",h=".",m=":",g="[",v="\\",y="_",E="~",b="!",C={"<":"<",":":":","&":"&","|":"|","~":"~"},T="shortcut",k=/\n\s*$/;function A(e,t){var n,r=e.lastIndexOf(u,t),o=e.indexOf(u,t);for(o=-1===o?e.length:o;++r<o;)if((n=e.charAt(r))!==m&&"-"!==n&&n!==c&&"|"!==n)return!1;return!0}function x(e){return e&&"text"===e.type}function D(e){var t=e.slice(-6).toLowerCase();return"mailto"===t||"https"===t.slice(-5)||"http"===t.slice(-4)}},55246(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}},45984(e){"use strict";e.exports=function(e){for(var r,o,i=this.options,a=i.fences,s=i.commonmark?"\n\n\x3c!----\x3e\n\n":n,l=[],u=e.children,c=u.length,d=-1;++d<c;)r=o,o=u[d],r&&("list"===r.type&&("list"===o.type&&r.ordered===o.ordered||"code"===o.type&&!o.lang&&!a)?l.push(s):l.push(t)),l.push(this.visit(o,e));return l.join("")};var t="\n\n",n="\n\n\n"},78844(e,t,n){"use strict";var r=n(72420);e.exports=function(){return this.visit(r(this.tree,this.options.commonmark))}},91385(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)}},82965(e){"use strict";e.exports=function(e){var n,r=this,o=r.visitors.listItem,i=r.options.incrementListMarker,a=[],s=e.start,l=e.children,u=l.length,c=-1;for(s=null==s?1:s;++c<u;)n=(i?s+c:s)+".",a[c]=o.call(r,l[c],e,c,n);return a.join(e.spread?t:"\n")};var t="\n\n"},57792(e){"use strict";e.exports=function(e){for(var n=this,r=n.options.bullet,o=n.visitors.listItem,i=e.children,a=i.length,s=-1,l=[];++s<a;)l[s]=o.call(n,i[s],e,s,r);return l.join(e.spread?t:"\n")};var t="\n\n"},30681(e,t,n){"use strict";var r=n(93227),o=n(88665),i=n(67554),a=n(78663),s=n(24889);e.exports=function(e){var t,n,d=this,f=d.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)u[typeof i[n]](e,n,f[n],l[n]);return(t=e.ruleRepetition)&&t<3&&c(t,"options.ruleRepetition"),d.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)),d.escape=a(e),d.options=e,d};var l={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}},u={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+"`")}},27204(e,t,n){"use strict";var r=n(30838);e.exports=function(e,t){for(var n,i=e.length,a=t.length,s=[],l=0,u=0;u<i;){for(n=u;u<i&&!o.test(e.charAt(u));)u+=1;for(s.push(e.slice(n,u));l<a&&!o.test(t.charAt(l));)l+=1;for(n=l;l<a&&o.test(t.charAt(l));)"&"===t.charAt(l)&&(l+=r(t.slice(l))),l+=1;for(s.push(t.slice(n,l));u<i&&o.test(e.charAt(u));)u+=1}return s.join("")};var o=/[-!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~_]/},56193(e){"use strict";e.exports=function(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}},36085(e,t,n){"use strict";var r=n(59258);e.exports=function(e,t){return t||0===e.length||o.test(e)||r(e,"(")!==r(e,")")?"<"+e+">":e};var o=/\s/},68266(e,t,n){"use strict";var r=n(24889);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()})}},30838(e,t,n){"use strict";var r=n(36763);e.exports=function(e){var t;return"&"!==e.charAt(0)?0:(t=e.split("&",2).join("&")).length-r(t).length}},24889(e){"use strict";e.exports=function(e){return e}},98605(e){"use strict";e.exports=function(e){var t=e.referenceType;return"shortcut"===t?"":"["+("collapsed"===t?"":e.label||e.identifier)+"]"}},67626(e,t,n){"use strict";var r=n(45069);e.exports=function(e,t){for(var n=e.split("\n"),o=n.length,i=r(" ",4*t);o--;)0!==n[o].length&&(n[o]=i+n[o]);return n.join("\n")}},26781(e){"use strict";e.exports=function(e){for(var t,n=this.block(e).split("\n"),r=[],o=n.length,i=-1;++i<o;)t=n[i],r[i]=(t?" ":"")+t;return">"+r.join("\n>")}},76891(e){"use strict";e.exports=function(){return this.options.commonmark?t:" \n"};var t="\\\n"},18591(e,t,n){"use strict";var r=n(59281),o=n(45069),i=n(67626);e.exports=function(e,t){var n,a=this,s=e.value,l=a.options,u=l.fence,c=e.lang||"";return c&&e.meta&&(c+=" "+e.meta),(c=a.encode(a.escape(c,e)))||l.fences||!s?(n=o(u,Math.max(r(s,u)+1,3)))+c+"\n"+s+"\n"+n:(t&&"listItem"===t.type&&"tab"!==l.listItemIndent&&l.pedantic&&a.file.fail("Cannot indent code properly. See https://git.io/fxKR8",e.position),i(s,1))}},6307(e,t,n){"use strict";var r=n(36085),o=n(56193);e.exports=function(e){var t=r(e.url);return e.title&&(t+=" "+o(e.title)),"["+(e.label||e.identifier)+"]: "+t}},65329(e){"use strict";e.exports=function(e){return t+this.all(e).join("")+t};var t="~~"},66712(e){"use strict";e.exports=function(e){var t=this.options.emphasis,n=this.all(e).join("");return this.options.pedantic&&"_"===t&&-1!==n.indexOf(t)&&(t="*"),t+n+t}},5138(e,t,n){"use strict";var r=n(45069)(" ",4);e.exports=function(e){var t=this.all(e).join("\n\n"+r);return"[^"+(e.label||e.identifier)+"]: "+t}},26550(e){"use strict";e.exports=function(e){return"[^"+(e.label||e.identifier)+"]"}},63166(e){"use strict";e.exports=function(e){return"[^"+this.all(e).join("")+"]"}},84266(e,t,n){"use strict";var r=n(45069);e.exports=function(e){var t,n=this,o=e.depth,i=n.options.setext,a=n.options.closeAtx,s=n.all(e).join("");return i&&o<3?s+"\n"+r(1===o?"=":"-",s.length):(t=r("#",e.depth))+" "+s+(a?" "+t:"")}},60227(e){"use strict";e.exports=function(e){return e.value}},34289(e,t,n){"use strict";var r=n(98605);e.exports=function(e){return"!["+(this.encode(e.alt,e)||"")+"]"+r(e)}},7905(e,t,n){"use strict";var r=n(36085),o=n(56193);e.exports=function(e){var t=this,n=r(t.encode(e.url||"",e)),i=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return i(),e.title&&(n+=" "+o(t.encode(e.title,e))),""}},74777(e,t,n){"use strict";var r=n(59281),o=n(45069);e.exports=function(e){var t=e.value,n=o(i,r(t,i)+1),a=n,s=n;return t.charAt(0)===i&&(a+=" "),t.charAt(t.length-1)===i&&(s=" "+s),a+t+s};var i="`"},63214(e,t,n){"use strict";var r=n(27204),o=n(98605);e.exports=function(e){var t=this,n=e.referenceType,i=t.enterLinkReference(t,e),a=t.all(e).join("");return i(),("shortcut"===n||"collapsed"===n)&&(a=r(a,e.label||e.identifier)),"["+a+"]"+o(e)}},97910(e,t,n){"use strict";var r=n(36085),o=n(56193);e.exports=function(e){var t=this,n=t.encode(e.url||"",e),a=t.enterLink(),s=t.encode(t.escape(e.url||"",e)),l=t.all(e).join("");return a(),null==e.title&&i.test(n)&&s===l?r(t.encode(e.url),!0):(n=r(n),e.title&&(n+=" "+o(t.encode(t.escape(e.title,e),e))),"["+l+"]("+n+")")};var i=/^[a-z][a-z+.-]+:\/?/i},8292(e,t,n){"use strict";var r=n(45069),o=n(67626);e.exports=function(e,t,n,u){for(var c,d,f,p=this,h=p.options.listItemIndent,m=u||p.options.bullet,g=null==e.spread||e.spread,v=e.checked,y=e.children,E=y.length,b=[],C=-1;++C<E;)b[C]=p.visit(y[C],e);return c=b.join(g?l:i),"boolean"==typeof v&&(c="["+(v?"x":a)+"]"+a+c),"1"===h||"mixed"===h&&-1===c.indexOf(i)?(d=m.length+1,f=a):(d=4*s((m.length+1)/4),f=r(a,d-m.length)),c?m+f+o(c,d/4).slice(d):m};var i="\n",a=" ",s=Math.ceil,l=i+i},40526(e){"use strict";e.exports=function(e){return(e.ordered?this.visitOrderedItems:this.visitUnorderedItems).call(this,e)}},70854(e){"use strict";e.exports=function(e){return this.all(e).join("")}},96890(e){"use strict";e.exports=function(e){return this.block(e)+"\n"}},36209(e,t,n){"use strict";var r=n(45069);e.exports=function(e){var t=r(this.options.strong,2);return t+this.all(e).join("")+t}},26157(e){"use strict";e.exports=function(e){return this.all(e).join("")}},21712(e,t,n){"use strict";var r=n(97162);e.exports=function(e){for(var t,n,a=this,s=a.options,l=s.looseTable,u=s.spacedTable,c=s.paddedTable,d=s.stringLength,f=e.children,p=f.length,h=a.enterTable(),m=[];p--;)m[p]=a.all(f[p]);return h(),l?(t="",n=""):u?(t=i+o,n=o+i):(t=i,n=i),r(m,{align:e.align,pad:c,start:t,end:n,stringLength:d,delimiter:u?" | ":i})};var o=" ",i="|"},95821(e){"use strict";e.exports=function(e,t){return this.encode(this.escape(e.value,e,t),e)}},32043(e,t,n){"use strict";var r=n(45069);e.exports=function(){var e=this.options,t=r(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(" "):t}},97162(e){"use strict";e.exports=function(e,n){var s,l,u,c,d,f,p,h,m,g,v,y,E=n||{},b=E.delimiter,C=E.start,T=E.end,k=E.align,A=E.stringLength||o,x=0,D=-1,S=e.length,_=[];for(k=k?k.concat():[],null==b&&(b=" | "),null==C&&(C="| "),null==T&&(T=" |");++D<S;)for(f=-1,(c=e[D]).length>x&&(x=c.length);++f<x;)p=c[f]?a(c[f]):null,_[f]||(_[f]=3),p>_[f]&&(_[f]=p);for("string"==typeof k&&(k=i(x,k).split("")),f=-1;++f<x;)"string"==typeof(s=k[f])&&(s=s.charAt(0).toLowerCase()),"l"!==s&&"r"!==s&&"c"!==s&&"."!==s&&(s=""),k[f]=s;for(D=-1,u=[];++D<S;){for(c=e[D],f=-1,d=[];++f<x;)m=r(m=c[f]),"."===k[f]?(p=a(m),h=_[f]+(t.test(m)?0:1)-(A(m)-p),d[f]=m+i(h-1)):d[f]=m;u[D]=d}for(_=[],D=-1;++D<S;)for(d=u[D],f=-1;++f<x;)m=d[f],_[f]||(_[f]=3),(h=A(m))>_[f]&&(_[f]=h);for(D=-1;++D<S;){if(d=u[D],f=-1,!1!==E.pad)for(;++f<x;)m=d[f],g=i(p=_[f]-(A(m)||0)),"r"===k[f]||"."===k[f]?m=g+m:"c"===k[f]?((p/=2)%1==0?(v=p,y=p):(v=p+.5,y=p-.5),m=i(v)+m+i(y)):m+=g,d[f]=m;u[D]=d.join(b)}if(!1!==E.rule){for(f=-1,l=[];++f<x;)g=!1===E.pad?(g=A(r(m=e[0][f])))>3?g:3:_[f],m="r"===(s=k[f])||""===s?"-":":",m+=i(g-2,"-"),m+="l"!==s&&""!==s?":":"-",l[f]=m;u.splice(1,0,l.join(b))}return C+u.join(T+"\n"+C)+T};var t=/\./,n=/\.[^.]*$/;function r(e){return null==e?"":String(e)}function o(e){return String(e).length}function i(e,t){return new Array(e+1).join(t||" ")}function a(e){var t=n.exec(e);return t?t.index+1:e.length}},40131(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)}},36763(e,t,n){"use strict";var r=n(80414),o=n(61492),i=n(15364),a=n(29816),s=n(43623),l=n(40131);e.exports=function(e,t){var n,i,a={};for(i in t||(t={}),f)n=t[i],a[i]=null==n?f[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,f,C,T,k,A,x,D,S,_,w,O,N,P,R,B,F,I=t.additional,M=t.nonTerminated,L=t.text,j=t.reference,H=t.warning,U=t.textContext,z=t.referenceContext,G=t.warningContext,W=t.position,K=t.indent||[],q=e.length,$=0,V=-1,Y=W.column||1,X=W.line||1,Q="",J=[];for("string"==typeof I&&(I=I.charCodeAt(0)),P=Z(),A=H?function(e,t){var n=Z();n.column+=t,n.offset+=t,H.call(G,y[e],n,e)}:d,$--,q++;++$<q;)if(10===C&&(Y=K[V]||1),38===(C=e.charCodeAt($))){if(9===(k=e.charCodeAt($+1))||10===k||12===k||32===k||38===k||60===k||k!=k||I&&k===I){Q+=c(C),Y++;continue}for(_=w=$+1,F=w,35===k?(F=++_,88===(k=e.charCodeAt(F))||120===k?(O=h,F=++_):O=m):O=p,n="",S="",f="",N=v[O],F--;++F<q&&N(k=e.charCodeAt(F));)f+=c(k),O===p&&u.call(r,f)&&(n=f,S=r[f]);(a=59===e.charCodeAt(F))&&(F++,(i=O===p&&l(f))&&(n=f,S=i)),B=1+F-w,(a||M)&&(f?O===p?(a&&!S?A(5,1):(n!==f&&(B=1+(F=_+n.length)-_,a=!1),a||(x=n?1:3,t.attribute?61===(k=e.charCodeAt(F))?(A(x,B),S=null):s(k)?S=null:A(x,B):A(x,B))),T=S):(a||A(2,B),E(T=parseInt(f,g[O]))?(A(7,B),T=c(65533)):T in o?(A(6,B),T=o[T]):(D="",b(T)&&A(6,B),T>65535&&(D+=c((T-=65536)>>>10|55296),T=56320|1023&T),T=D+c(T))):O!==p&&A(4,B)),T?(ee(),P=Z(),$=F-1,Y+=F-w+1,J.push(T),(R=Z()).offset++,j&&j.call(z,T,{start:P,end:R},e.slice(w-1,F)),P=R):(f=e.slice(w-1,F),Q+=f,Y+=f.length,$=F-1)}else 10===C&&(X++,V++,Y=0),C==C?(Q+=c(C),Y++):ee();return J.join("");function Z(){return{line:X,column:Y,offset:$+(W.offset||0)}}function ee(){Q&&(J.push(Q),L&&L.call(U,Q,{start:P,end:Z()}),Q="")}}(e,a)};var u={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var v={};v[p]=s,v[m]=i,v[h]=a;var y={};function E(e){return e>=55296&&e<=57343||e>1114111}function b(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},88665(e,t,n){"use strict";var r=n(64822),o=n(80414),i=n(29816),a=n(43623),s=n(56278);e.exports=p,p.escape=function(e){return p(e,{escapeOnly:!0,useNamedReferences:!0})};var l={}.hasOwnProperty,u=function(){var e,t={};for(e in r)t[r[e]]=e;return t}(),c=g(['"',"'","<",">","&","`"]),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;function p(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(d,function(e,t,n){return m(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),a)}).replace(f,function(e,t,r){return h(e,r.charAt(t+1),n)})}function h(e,t,n){var r,i,c=n.useShortestReferences,d=n.omitOptionalSemicolons;return(c||n.useNamedReferences)&&l.call(u,e)&&(r=function(e,t,n,r){var i="&"+e;return n&&l.call(o,e)&&-1===s.indexOf(e)&&(!r||t&&"="!==t&&!a(t))?i:i+";"}(u[e],t,d,n.attribute)),!c&&r||(i=m(e.charCodeAt(0),t,d)),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")}},45069(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)}},53551(e,t){"use strict";t.parse=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)},t.stringify=function(e){return e.join(" ").trim()};var n=/[ \t\n\r\f]+/g},65990(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}}}},55609(e,t,n){"use strict";e.exports=n(59969)},25388(e,t,n){var r,o=n(64822),i={};for(r in e.exports=i,o)i[o[r]]=r},58799(e){e.exports=String.fromCharCode},87169(e){e.exports={}.hasOwnProperty},13942(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)}}},19423(e,t,n){"use strict";var r=n(93227),o=n(13942),i=n(26427);e.exports=function(e,t){return o(e,r(t,{format:i}))}},4070(e,t,n){"use strict";var r=n(13942),o=n(26427);e.exports=function(e){return r(e,{escapeOnly:!0,useNamedReferences:!0,format:o})}},59969(e,t,n){"use strict";var r=n(19423),o=n(4070);e.exports=r,r.escape=o},26427(e,t,n){e.exports=function(e,t,n){var a,s,l;return(n.useNamedReferences||n.useShortestReferences)&&(a=i(e,t,n.omitOptionalSemicolons,n.attribute)),!n.useShortestReferences&&a||(s=r(e,t,n.omitOptionalSemicolons),n.useShortestReferences&&(l=o(e,t,n.omitOptionalSemicolons)).length<s.length&&(s=l)),a&&(!n.useShortestReferences||a.length<s.length)?a:s};var r=n(54875),o=n(57407),i=n(16125)},57407(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(58799)},54875(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(58799)},16125(e,t,n){e.exports=function(e,t,n,l){var u,c,d=i(e);return a.call(o,d)?(c="&"+(u=o[d]),n&&a.call(r,u)&&-1===s.indexOf(u)&&(!l||t&&61!==t&&/[^\da-z]/i.test(i(t)))?c:c+";"):""};var r=n(80414),o=n(25388),i=n(58799),a=n(87169),s=n(90849)},48800(e){"use strict";e.exports=function(e){return String(e).replace(t,"\n")};var t=/[ \t]*\n+[ \t]*/g},31587(e){"use strict";e.exports=function(e){return String(e).replace(/\n+$/,"")}},53098(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*$/,"")}},88207(e,t,n){"use strict";var r=n(43719);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 l=e[++t],u=o.call(arguments,0).slice(1),c=n.length,d=-1;if(s)i(s);else{for(;++d<c;)null!==u[d]&&void 0!==u[d]||(u[d]=n[d]);n=u,l?r(l,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}},43719(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)}}},53553(e,t,n){"use strict";var r=n(93227),o=n(35615);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)}}},22244(e,t,n){"use strict";var r=n(61990),o=n(16325),i=n(89710),a=n(89953),s=n(88207),l=n(81778);e.exports=function e(){var t,n=[],o=s(),y={},E=-1;return b.data=function(e,n){return"string"==typeof e?2===arguments.length?(m("data",t),y[e]=n,b):c.call(y,e)&&y[e]||null:e?(m("data",t),y=e,b):y},b.freeze=C,b.attachers=n,b.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?l(e):o(e)}return r&&(y.settings=i(y.settings||{},r)),b;function o(e){l(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 l(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(u.call(arguments))}},b.parse=function(e){var t,n=l(e);return C(),p("parse",t=b.Parser),f(t,"parse")?new t(String(n),n).parse():t(String(n),n)},b.stringify=function(e,t){var n,r=l(t);return C(),h("stringify",n=b.Compiler),g(e),f(n,"compile")?new n(e,r).compile():n(e,r)},b.run=T,b.runSync=function(e,t){var n,o;return T(e,t,function(e,t){o=!0,n=t,r(e)}),v("runSync","run",o),n},b.process=k,b.processSync=function(e){var t,n;return C(),p("processSync",b.Parser),h("processSync",b.Compiler),k(t=l(e),function(e){n=!0,r(e)}),v("processSync","process",n),t},b;function b(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(i(!0,{},y)),t}function C(){var e,r;if(t)return b;for(;++E<n.length;)!1!==(e=n[E])[1]&&(!0===e[1]&&(e[1]=void 0),"function"==typeof(r=e[0].apply(b,e.slice(1)))&&o.use(r));return t=!0,E=1/0,b}function T(e,t,n){if(g(e),C(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(r);function r(r,i){o.run(e,l(t),function(t,o,a){o=o||e,t?i(t):r?r(o):n(null,o,a)})}r(null,n)}function k(e,t){if(C(),p("process",b.Parser),h("process",b.Compiler),!t)return new Promise(n);function n(n,r){var o=l(e);d.run(b,{file:o},function(e){e?r(e):n?n(o):t(null,o)})}n(null,t)}}().freeze();var u=[].slice,c={}.hasOwnProperty,d=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 f(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 p(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")}},16325(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},89953(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}},53933(e,t,n){"use strict";var r=n(61513);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}},30933(e,t,n){"use strict";var r=n(44546);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}},80226(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)}},44546(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")}},19802(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},69395(e,t,n){"use strict";var r=n(45552);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}},28866(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):"":""}},20276(e,t,n){"use strict";e.exports=s;var r=n(88776),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,u,c){var d,f=[];return(t&&!s(r,u,c[c.length-1]||null)||(f=l(n(r,c)))[0]!==a)&&r.children&&f[0]!==i?(d=l(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))),d[0]===a?d:f):f}(e,null,[])}function l(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},88776(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},45552(e,t,n){"use strict";e.exports=s;var r=n(20276),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},4742(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)}}},81778(e,t,n){"use strict";e.exports=n(27910)},46331(e,t,n){"use strict";var r=n(71411),o=n(87256),i=n(24351);e.exports=l;var a={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function l(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 l))return new l(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 u(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 d(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(l.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(l.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){d(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(l.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(l.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(u(e,"extname"),d(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(l.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},27910(e,t,n){"use strict";var r=n(75848),o=n(46331);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}},71411(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,l=-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 l<0&&(i=!0,l=r+1);return l<0?"":e.slice(s,l)}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&&(l=r):(a=-1,l=o));return s===l?l=o:l<0&&(l=e.length),e.slice(s,l)},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,l=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!==l&&(l=1):i>-1&&(l=-1);else if(t){a=o+1;break}return i<0||s<0||0===l||1===l&&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,l=-1;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-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=l,s=0;continue}}else if(o.length){o="",i=0,a=l,s=0;continue}t&&(o=o.length?o+"/..":"..",i=2)}else o.length?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,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="/"},87256(e,t){"use strict";t.cwd=function(){return"/"}},24351(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},75848(e,t,n){"use strict";var r=n(28866);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},93227(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},75410(e,t,n){"use strict";e.exports=n(54438)},35333(e,t,n){"use strict";e.exports=function(e,t){for(var n,i,a=t.children||[],s=a.length,l=[],u=-1;++u<s;)(n=o(e,a[u],t))&&(u&&"break"===a[u-1].type&&(n.value&&(n.value=r.left(n.value)),(i=n.children&&n.children[0])&&i.value&&(i.value=r.left(i.value))),l=l.concat(n));return l};var r=n(53098),o=n(6238)},92891(e,t,n){"use strict";e.exports=function(e){var t,n,a,s,l=e.footnotes,u=l.length,c=-1,d=[];if(!u)return null;for(;++c<u;)s=(a=(t=l[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),d[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:d})],!0))};var r=n(32921),o=n(13232),i=n(79740)},887(e,t,n){"use strict";e.exports=function(e,t){return e(t,"blockquote",r(o(e,t),!0))};var r=n(79740),o=n(35333)},82753(e,t,n){"use strict";e.exports=function(e,t){return[e(t,"br"),r("text","\n")]};var r=n(53933)},84773(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(58632),o=n(53933)},48783(e,t,n){"use strict";e.exports=function(e,t){return e(t,"del",r(e,t))};var r=n(35333)},56758(e,t,n){"use strict";e.exports=function(e,t){return e(t,"em",r(e,t))};var r=n(35333)},29628(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(53933)},4352(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(29628)},37340(e,t,n){"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,r(e,t))};var r=n(35333)},88913(e,t,n){"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,r("raw",t.value)):null};var r=n(53933)},96683(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(59444),o=n(66962)},69655(e,t,n){"use strict";var r=n(59444);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)}},88850(e,t,n){"use strict";function r(){return null}e.exports={blockquote:n(887),break:n(82753),code:n(84773),delete:n(48783),emphasis:n(56758),footnoteReference:n(29628),footnote:n(4352),heading:n(37340),html:n(88913),imageReference:n(96683),image:n(69655),inlineCode:n(99107),linkReference:n(53976),link:n(39092),listItem:n(68554),list:n(13232),paragraph:n(25804),root:n(15172),strong:n(69379),table:n(86454),text:n(58115),thematicBreak:n(32921),toml:r,yaml:r,definition:r,footnoteDefinition:r}},99107(e,t,n){"use strict";e.exports=function(e,t){return e(t,"code",[o("text",r(t.value))])};var r=n(3470),o=n(53933)},53976(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(59444),o=n(66962),i=n(35333)},39092(e,t,n){"use strict";var r=n(59444),o=n(35333);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))}},68554(e,t,n){"use strict";e.exports=function(e,t,n){var s,l,u,c,d,f=t.children[0],p=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=p;else for(s=[],c=p.length,u=-1;++u<c;)"p"===(d=p[u]).tagName?s=s.concat(d.children):s.push(d);return"boolean"==typeof t.checked&&(!h||f&&"paragraph"===f.type||s.unshift(e(null,"p",[])),0!==(l=h?s[0].children:s).length&&l.unshift(r("text"," ")),l.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(53933),o=n(79740),i=n(35333);function a(e){var t=e.spread;return null==t?e.children.length>1:t}},13232(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(79740),o=n(35333)},25804(e,t,n){"use strict";e.exports=function(e,t){return e(t,"p",r(e,t))};var r=n(35333)},15172(e,t,n){"use strict";e.exports=function(e,t){return e.augment(t,r("root",o(i(e,t))))};var r=n(53933),o=n(79740),i=n(35333)},69379(e,t,n){"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(35333)},86454(e,t,n){"use strict";e.exports=function(e,t){for(var n,a,s,l,u,c=t.children,d=c.length,f=t.align,p=f.length,h=[];d--;){for(a=c[d].children,l=0===d?"th":"td",n=p,s=[];n--;)u=a[n],s[n]=e(u,l,{align:f[n]},u?i(e,u):[]);h[d]=e(c[d],"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(19802),o=n(79740),i=n(35333)},58115(e,t,n){"use strict";e.exports=function(e,t){return e.augment(t,r("text",o(t.value)))};var r=n(53933),o=n(48800)},32921(e){"use strict";e.exports=function(e,t){return e(t,"hr")}},54438(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=l(e,n),c.footnotes=[],c.augment=u,c.handlers=r(d,n.handlers||{}),i(e,"footnoteDefinition",function(e){c.footnotes.push(e)}),c;function u(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={}),u(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),f=u(n,e),p=c(n);return f&&f.children&&p&&(f.children=f.children.concat(o("text","\n"),p)),f};var r=n(93227),o=n(53933),i=n(45552),a=n(19802),s=n(80226),l=n(59107),u=n(6238),c=n(92891),d=n(88850)},6238(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(53933),o=n(35333),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))}},66962(e,t,n){"use strict";e.exports=function(e,t){var n,i,a,s=t.referenceType,l="]";return"collapsed"===s?l+="[]":"full"===s&&(l+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type?r("text","!["+t.alt+l):((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+=l:n.push(r("text",l)),n)};var r=n(53933),o=n(35333)},79740(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(53933)},4360(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)}},19632(e,t,n){"use strict";var r=n(80414),o=n(61492),i=n(15364),a=n(29816),s=n(43623),l=n(4360);e.exports=function(e,t){var n,i,a={};for(i in t||(t={}),f)n=t[i],a[i]=null==n?f[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,f,C,T,k,A,x,D,S,_,w,O,N,P,R,B,F,I=t.additional,M=t.nonTerminated,L=t.text,j=t.reference,H=t.warning,U=t.textContext,z=t.referenceContext,G=t.warningContext,W=t.position,K=t.indent||[],q=e.length,$=0,V=-1,Y=W.column||1,X=W.line||1,Q="",J=[];for("string"==typeof I&&(I=I.charCodeAt(0)),P=Z(),A=H?function(e,t){var n=Z();n.column+=t,n.offset+=t,H.call(G,y[e],n,e)}:d,$--,q++;++$<q;)if(10===C&&(Y=K[V]||1),38===(C=e.charCodeAt($))){if(9===(k=e.charCodeAt($+1))||10===k||12===k||32===k||38===k||60===k||k!=k||I&&k===I){Q+=c(C),Y++;continue}for(_=w=$+1,F=w,35===k?(F=++_,88===(k=e.charCodeAt(F))||120===k?(O=h,F=++_):O=m):O=p,n="",S="",f="",N=v[O],F--;++F<q&&N(k=e.charCodeAt(F));)f+=c(k),O===p&&u.call(r,f)&&(n=f,S=r[f]);(a=59===e.charCodeAt(F))&&(F++,(i=O===p&&l(f))&&(n=f,S=i)),B=1+F-w,(a||M)&&(f?O===p?(a&&!S?A(5,1):(n!==f&&(B=1+(F=_+n.length)-_,a=!1),a||(x=n?1:3,t.attribute?61===(k=e.charCodeAt(F))?(A(x,B),S=null):s(k)?S=null:A(x,B):A(x,B))),T=S):(a||A(2,B),E(T=parseInt(f,g[O]))?(A(7,B),T=c(65533)):T in o?(A(6,B),T=o[T]):(D="",b(T)&&A(6,B),T>65535&&(D+=c((T-=65536)>>>10|55296),T=56320|1023&T),T=D+c(T))):O!==p&&A(4,B)),T?(ee(),P=Z(),$=F-1,Y+=F-w+1,J.push(T),(R=Z()).offset++,j&&j.call(z,T,{start:P,end:R},e.slice(w-1,F)),P=R):(f=e.slice(w-1,F),Q+=f,Y+=f.length,$=F-1)}else 10===C&&(X++,V++,Y=0),C==C?(Q+=c(C),Y++):ee();return J.join("");function Z(){return{line:X,column:Y,offset:$+(W.offset||0)}}function ee(){Q&&(J.push(Q),L&&L.call(U,Q,{start:P,end:Z()}),Q="")}}(e,a)};var u={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var v={};v[p]=s,v[m]=i,v[h]=a;var y={};function E(e){return e>=55296&&e<=57343||e>1114111}function b(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},85815(e,t,n){"use strict";var r=n(53553),o=n(93227),i=n(22376);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},46898(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"]},92617(e,t,n){"use strict";var r=n(93227),o=n(19632);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)}}},6881(e,t,n){"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(46898)}},59345(e){"use strict";e.exports=function(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}},43235(e){"use strict";e.exports=function(e,t){return e.indexOf("`",t)}},13087(e){"use strict";e.exports=function(e,t){return e.indexOf("~~",t)}},7142(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}},14379(e){"use strict";e.exports=function(e,t){return e.indexOf("\\",t)}},65348(e){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r||n<r?n:r}},95347(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}},73042(e){"use strict";e.exports=function(e,t){return e.indexOf("<",t)}},1859(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:"]},12544(e,t,n){"use strict";var r=n(93227),o=n(69395);e.exports=function(){var e,t=this,n=String(t.file),a={line:1,column:1,offset:0},s=r(a);return 65279===(n=n.replace(i,"\n")).charCodeAt(0)&&(n=n.slice(1),s.column++,s.offset++),e={type:"root",children:t.tokenizeBlock(n,s),position:{start:a,end:t.eof||r(a)}},t.options.position||o(e,!0),e};var i=/\r\n|\r/g},22376(e,t,n){"use strict";var r=n(93227),o=n(65990),i=n(4742),a=n(83375),s=n(92617),l=n(11010);function u(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=u;var c=u.prototype;function d(e){var t,n=[];for(t in e)n.push(t);return n}c.setOptions=n(17356),c.parse=n(12544),c.options=n(6881),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(85377),indentedCode:n(30310),fencedCode:n(61034),blockquote:n(84938),atxHeading:n(31701),thematicBreak:n(77576),list:n(3001),setextHeading:n(28031),html:n(42680),footnote:n(19531),definition:n(70016),table:n(71617),paragraph:n(78335)},c.inlineTokenizers={escape:n(28502),autoLink:n(6535),url:n(19704),html:n(89568),link:n(20461),reference:n(18956),strong:n(29222),emphasis:n(54279),deletion:n(77070),code:n(97632),break:n(91522),text:n(16394)},c.blockMethods=d(c.blockTokenizers),c.inlineMethods=d(c.inlineTokenizers),c.tokenizeBlock=l("block"),c.tokenizeInline=l("inline"),c.tokenizeFactory=l},17356(e,t,n){"use strict";var r=n(93227),o=n(23126),i=n(6881);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}},6535(e,t,n){"use strict";var r=n(51498),o=n(19632),i=n(73042);e.exports=s,s.locator=i,s.notInLink=!0;var a="mailto:";function s(e,t,n){var i,s,l,u,c,d=this,f="",p=t.length,h=0,m="",g=!1,v="";if("<"===t.charAt(0)){for(h++,f="<";h<p&&(i=t.charAt(h),!(r(i)||">"===i||"@"===i||":"===i&&"/"===t.charAt(h+1)));)m+=i,h++;if(m){if(v+=m,m="",v+=i=t.charAt(h),h++,"@"===i)g=!0;else{if(":"!==i||"/"!==t.charAt(h+1))return;v+="/",h++}for(;h<p&&(i=t.charAt(h),!r(i)&&">"!==i);)m+=i,h++;if(i=t.charAt(h),m&&">"===i)return!!n||(l=v+=m,f+=v+i,(s=e.now()).column++,s.offset++,g&&(v.slice(0,7).toLowerCase()===a?(l=l.substr(7),s.column+=7,s.offset+=7):v=a+v),u=d.inlineTokenizers,d.inlineTokenizers={text:u.text},c=d.enterLink(),l=d.tokenizeInline(l,s),d.inlineTokenizers=u,c(),e(f)({type:"link",title:null,url:o(v,{nonTerminated:!1}),children:l}))}}}},84938(e,t,n){"use strict";var r=n(53098),o=n(14767);e.exports=function(e,t,n){for(var i,a,s,l,u,c,d,f,p,h=this,m=h.offset,g=h.blockTokenizers,v=h.interruptBlockquote,y=e.now(),E=y.line,b=t.length,C=[],T=[],k=[],A=0;A<b&&(" "===(a=t.charAt(A))||"\t"===a);)A++;if(">"===t.charAt(A)){if(n)return!0;for(A=0;A<b;){for(d=A,f=!1,-1===(l=t.indexOf("\n",A))&&(l=b);A<b&&(" "===(a=t.charAt(A))||"\t"===a);)A++;if(">"===t.charAt(A)?(A++,f=!0," "===t.charAt(A)&&A++):A=d,u=t.slice(A,l),!f&&!r(u)){A=d;break}if(!f&&(s=t.slice(A),o(v,g,h,[e,s,!0])))break;c=d===A?u:t.slice(d,l),k.push(A-d),C.push(c),T.push(u),A=l+1}for(A=-1,b=k.length,i=e(C.join("\n"));++A<b;)m[E]=(m[E]||0)+k[A],E++;return p=h.enterBlock(),T=h.tokenizeBlock(T.join("\n"),y),p(),i({type:"blockquote",children:T})}}},91522(e,t,n){"use strict";var r=n(59345);function o(e,t,n){for(var r,o=t.length,i=-1,a="";++i<o;){if("\n"===(r=t.charAt(i))){if(i<2)return;return!!n||e(a+=r)({type:"break"})}if(" "!==r)return;a+=r}}e.exports=o,o.locator=r},61034(e,t,n){"use strict";var r=n(31587);e.exports=function(e,t,n){var s,l,u,c,d,f,p,h,m,g,v,y,E,b=this,C=b.options.gfm,T=t.length+1,k=0,A="";if(C){for(;k<T&&((u=t.charAt(k))===a||u===i);)A+=u,k++;if(y=k,"~"===(u=t.charAt(k))||"`"===u){for(k++,l=u,s=1,A+=u;k<T&&(u=t.charAt(k))===l;)A+=u,s++,k++;if(!(s<3)){for(;k<T&&((u=t.charAt(k))===a||u===i);)A+=u,k++;for(c="",p="";k<T&&(u=t.charAt(k))!==o&&"~"!==u&&"`"!==u;)u===a||u===i?p+=u:(c+=p+u,p=""),k++;if(!(u=t.charAt(k))||u===o){if(n)return!0;for((E=e.now()).column+=A.length,E.offset+=A.length,A+=c,c=b.decode.raw(b.unescape(c),E),p&&(A+=p),p="",g="",v="",h="",m="";k<T;)if(h+=g,m+=v,g="",v="",(u=t.charAt(k))===o){for(h?(g+=u,v+=u):A+=u,p="",k++;k<T&&(u=t.charAt(k))===a;)p+=u,k++;if(g+=p,v+=p.slice(y),!(p.length>=4)){for(p="";k<T&&(u=t.charAt(k))===l;)p+=u,k++;if(g+=p,v+=p,!(p.length<s)){for(p="";k<T&&((u=t.charAt(k))===a||u===i);)g+=u,v+=u,k++;if(!u||u===o)break}}}else h+=u,v+=u,k++;for(A+=h+g,k=-1,T=c.length;++k<T;)if((u=c.charAt(k))===a||u===i)d||(d=c.slice(0,k));else if(d){f=c.slice(k);break}return e(A)({type:"code",lang:d||c||null,meta:f||null,value:r(m)})}}}}};var o="\n",i="\t",a=" "},30310(e,t,n){"use strict";var r=n(45069),o=n(31587);e.exports=function(e,t,n){for(var r,a,s,l=-1,u=t.length,c="",d="",f="",p="";++l<u;)if(r=t.charAt(l),s)if(s=!1,c+=f,d+=p,f="",p="","\n"===r)f=r,p=r;else for(c+=r,d+=r;++l<u;){if(!(r=t.charAt(l))||"\n"===r){p=r,f=r;break}c+=r,d+=r}else if(" "===r&&t.charAt(l+1)===r&&t.charAt(l+2)===r&&t.charAt(l+3)===r)f+=i,l+=3,s=!0;else if("\t"===r)f+=r,s=!0;else{for(a="";"\t"===r||" "===r;)a+=r,r=t.charAt(++l);if("\n"!==r)break;f+=a+r,p+=r}if(d)return!!n||e(c)({type:"code",lang:null,meta:null,value:o(d)})};var i=r(" ",4)},97632(e,t,n){"use strict";var r=n(51498),o=n(43235);e.exports=a,a.locator=o;var i="`";function a(e,t,n){for(var o,a,s,l,u,c,d,f,p=t.length,h=0,m="",g="";h<p&&t.charAt(h)===i;)m+=i,h++;if(m){for(u=m,l=h,m="",f=t.charAt(h),s=0;h<p;){if(c=f,f=t.charAt(h+1),c===i?(s++,g+=c):(s=0,m+=c),s&&f!==i){if(s===l){u+=m+g,d=!0;break}m+=g,g=""}h++}if(!d){if(l%2!=0)return;m=""}if(n)return!0;for(o="",a="",p=m.length,h=-1;++h<p;)c=m.charAt(h),r(c)?a+=c:(a&&(o&&(o+=a),a=""),o+=c);return e(u)({type:"inlineCode",value:o})}}},70016(e,t,n){"use strict";var r=n(51498),o=n(19712);e.exports=u,u.notInList=!0,u.notInBlock=!0;var i="\n",a="\t",s=" ",l="]";function u(e,t,n){for(var r,u,f,p,h,m,g,v,y=this,E=y.options.commonmark,b=0,C=t.length,T="";b<C&&((p=t.charAt(b))===s||p===a);)T+=p,b++;if("["===(p=t.charAt(b))){for(b++,T+=p,f="";b<C&&(p=t.charAt(b))!==l;)"\\"===p&&(f+=p,b++,p=t.charAt(b)),f+=p,b++;if(f&&t.charAt(b)===l&&":"===t.charAt(b+1)){for(m=f,b=(T+=f+l+":").length,f="";b<C&&((p=t.charAt(b))===a||p===s||p===i);)T+=p,b++;if(f="",r=T,"<"===(p=t.charAt(b))){for(b++;b<C&&c(p=t.charAt(b));)f+=p,b++;if((p=t.charAt(b))===c.delimiter)T+="<"+f+p,b++;else{if(E)return;b-=f.length+1,f=""}}if(!f){for(;b<C&&d(p=t.charAt(b));)f+=p,b++;T+=f}if(f){for(g=f,f="";b<C&&((p=t.charAt(b))===a||p===s||p===i);)f+=p,b++;if(h=null,'"'===(p=t.charAt(b))?h='"':"'"===p?h="'":"("===p&&(h=")"),h){if(!f)return;for(b=(T+=f+p).length,f="";b<C&&(p=t.charAt(b))!==h;){if(p===i){if(b++,(p=t.charAt(b))===i||p===h)return;f+=i}f+=p,b++}if((p=t.charAt(b))!==h)return;u=T,T+=f+p,b++,v=f,f=""}else f="",b=T.length;for(;b<C&&((p=t.charAt(b))===a||p===s);)T+=p,b++;return(p=t.charAt(b))&&p!==i?void 0:!!n||(r=e(r).test().end,g=y.decode.raw(y.unescape(g),r,{nonTerminated:!1}),v&&(u=e(u).test().end,v=y.decode.raw(y.unescape(v),u)),e(T)({type:"definition",identifier:o(m),label:m,title:v||null,url:g}))}}}}function c(e){return">"!==e&&"["!==e&&e!==l}function d(e){return"["!==e&&e!==l&&!r(e)}c.delimiter=">"},77070(e,t,n){"use strict";var r=n(51498),o=n(13087);e.exports=a,a.locator=o;var i="~";function a(e,t,n){var o,a,s,l="",u="",c="",d="";if(this.options.gfm&&t.charAt(0)===i&&t.charAt(1)===i&&!r(t.charAt(2)))for(o=1,a=t.length,(s=e.now()).column+=2,s.offset+=2;++o<a;){if(!((l=t.charAt(o))!==i||u!==i||c&&r(c)))return!!n||e("~~"+d+"~~")({type:"delete",children:this.tokenizeInline(d,s)});d+=u,c=u,u=l}}},54279(e,t,n){"use strict";var r=n(53098),o=n(76627),i=n(51498),a=n(7142);function s(e,t,n){var a,s,l,u,c,d,f,p=0,h=t.charAt(p);if(!("*"!==h&&"_"!==h||(s=this.options.pedantic,c=h,l=h,d=t.length,p++,u="",h="",s&&i(t.charAt(p)))))for(;p<d;){if(f=h,!((h=t.charAt(p))!==l||s&&i(f))){if((h=t.charAt(++p))!==l){if(!r(u)||f===l)return;if(!s&&"_"===l&&o(h)){u+=l;continue}return!!n||((a=e.now()).column++,a.offset++,e(c+u+l)({type:"emphasis",children:this.tokenizeInline(u,a)}))}u+=l}s||"\\"!==h||(u+=h,h=t.charAt(++p)),u+=h,p++}}e.exports=s,s.locator=a},28502(e,t,n){"use strict";var r=n(14379);function o(e,t,n){var r,o;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==this.escape.indexOf(r)))return!!n||(o="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(o))}e.exports=o,o.locator=r},19531(e,t,n){"use strict";var r=n(51498),o=n(19712);e.exports=a,a.notInList=!0,a.notInBlock=!0;var i=/^( {4}|\t)?/gm;function a(e,t,n){var a,s,l,u,c,d,f,p,h,m,g,v,y=this,E=y.offset;if(y.options.footnotes){for(a=0,s=t.length,l="",u=e.now(),c=u.line;a<s&&(h=t.charAt(a),r(h));)l+=h,a++;if("["===t.charAt(a)&&"^"===t.charAt(a+1)){for(a=(l+="[^").length,f="";a<s&&"]"!==(h=t.charAt(a));)"\\"===h&&(f+=h,a++,h=t.charAt(a)),f+=h,a++;if(f&&"]"===t.charAt(a)&&":"===t.charAt(a+1)){if(n)return!0;for(m=f,a=(l+=f+"]:").length;a<s&&("\t"===(h=t.charAt(a))||" "===h);)l+=h,a++;for(u.column+=l.length,u.offset+=l.length,f="",d="",p="";a<s;){if("\n"===(h=t.charAt(a))){for(p=h,a++;a<s&&"\n"===(h=t.charAt(a));)p+=h,a++;for(f+=p,p="";a<s&&" "===(h=t.charAt(a));)p+=h,a++;if(0===p.length)break;f+=p}f&&(d+=f,f=""),d+=h,a++}return l+=d,d=d.replace(i,function(e){return E[c]=(E[c]||0)+e.length,c++,""}),g=e(l),v=y.enterBlock(),d=y.tokenizeBlock(d,u),v(),g({type:"footnoteDefinition",identifier:o(m),label:m,children:d})}}}}},31701(e){"use strict";e.exports=function(e,o,i){for(var a,s,l,u=this.options.pedantic,c=o.length+1,d=-1,f=e.now(),p="",h="";++d<c;){if((a=o.charAt(d))!==n&&a!==t){d--;break}p+=a}for(l=0;++d<=c;){if((a=o.charAt(d))!==r){d--;break}p+=a,l++}if(!(l>6)&&l&&(u||o.charAt(d+1)!==r)){for(c=o.length+1,s="";++d<c;){if((a=o.charAt(d))!==n&&a!==t){d--;break}s+=a}if(u||0!==s.length||!a||"\n"===a){if(i)return!0;for(p+=s,s="",h="";++d<c&&(a=o.charAt(d))&&"\n"!==a;)if(a===n||a===t||a===r){for(;a===n||a===t;)s+=a,a=o.charAt(++d);if(u||!h||s||a!==r){for(;a===r;)s+=a,a=o.charAt(++d);for(;a===n||a===t;)s+=a,a=o.charAt(++d);d--}else h+=a}else h+=s+a,s="";return f.column+=p.length,f.offset+=p.length,e(p+=h+s)({type:"heading",depth:l,children:this.tokenizeInline(h,f)})}}};var t="\t",n=" ",r="#"},28031(e){"use strict";e.exports=function(e,t,n){for(var r,o,i,a,s,l=e.now(),u=t.length,c=-1,d="";++c<u;){if(" "!==(i=t.charAt(c))||c>=3){c--;break}d+=i}for(r="",o="";++c<u;){if("\n"===(i=t.charAt(c))){c--;break}" "===i||"\t"===i?o+=i:(r+=o+i,o="")}if(l.column+=d.length,l.offset+=d.length,d+=r+o,i=t.charAt(++c),a=t.charAt(++c),"\n"===i&&("="===a||"-"===a)){for(d+=i,o=a,s="="===a?1:2;++c<u;){if((i=t.charAt(c))!==a){if("\n"!==i)return;c--;break}o+=i}return!!n||e(d+o)({type:"heading",depth:s,children:this.tokenizeInline(r,l)})}}},42680(e,t,n){"use strict";var r=n(65143).X;e.exports=function(e,t,n){for(var r,g,v,y,E,b,C,T=this.options.blocks.join("|"),k=new RegExp("^</?("+T+")(?=(\\s|/?>|$))","i"),A=t.length,x=0,D=[[o,i,!0],[a,s,!0],[l,u,!0],[c,d,!0],[f,p,!0],[k,h,!0],[m,h,!1]];x<A&&("\t"===(y=t.charAt(x))||" "===y);)x++;if("<"===t.charAt(x)){for(r=-1===(r=t.indexOf("\n",x+1))?A:r,g=t.slice(x,r),v=-1,E=D.length;++v<E;)if(D[v][0].test(g)){b=D[v];break}if(b){if(n)return b[2];if(x=r,!b[1].test(g))for(;x<A;){if(r=-1===(r=t.indexOf("\n",x+1))?A:r,g=t.slice(x+1,r),b[1].test(g)){g&&(x=r);break}x=r}return e(C=t.slice(0,x))({type:"html",value:C})}}};var o=/^<(script|pre|style)(?=(\s|>|$))/i,i=/<\/(script|pre|style)>/i,a=/^<!--/,s=/-->/,l=/^<\?/,u=/\?>/,c=/^<![A-Za-z]/,d=/>/,f=/^<!\[CDATA\[/,p=/\]\]>/,h=/^$/,m=new RegExp(r.source+"\\s*$")},89568(e,t,n){"use strict";var r=n(37295),o=n(73042),i=n(65143).T;e.exports=l,l.locator=o;var a=/^<a /i,s=/^<\/a>/i;function l(e,t,n){var o,l,u=this,c=t.length;if(!("<"!==t.charAt(0)||c<3)&&(o=t.charAt(1),(r(o)||"?"===o||"!"===o||"/"===o)&&(l=t.match(i))))return!!n||(l=l[0],!u.inLink&&a.test(l)?u.inLink=!0:u.inLink&&s.test(l)&&(u.inLink=!1),e(l)({type:"html",value:l}))}},20461(e,t,n){"use strict";var r=n(51498),o=n(65348);e.exports=l,l.locator=o;var i="(",a=")",s="\\";function l(e,t,n){var o,l,u,c,d,f,p,h,m,g,v,y,E,b,C,T,k,A,x=this,D="",S=0,_=t.charAt(0),w=x.options.pedantic,O=x.options.commonmark,N=x.options.gfm;if("!"===_&&(h=!0,D=_,_=t.charAt(++S)),"["===_&&(h||!x.inLink)){for(D+=_,b="",S++,v=t.length,E=0,(T=e.now()).column+=S,T.offset+=S;S<v;){if(f=_=t.charAt(S),"`"===_){for(l=1;"`"===t.charAt(S+1);)f+=_,S++,l++;u?l>=u&&(u=0):u=l}else if(_===s)S++,f+=t.charAt(S);else if(u&&!N||"["!==_){if((!u||N)&&"]"===_){if(!E){if(!w)for(;S<v&&(_=t.charAt(S+1),r(_));)f+=_,S++;if(t.charAt(S+1)!==i)return;f+=i,o=!0,S++;break}E--}}else E++;b+=f,f="",S++}if(o){for(m=b,D+=b+f,S++;S<v&&(_=t.charAt(S),r(_));)D+=_,S++;if(b="",c=D,"<"===(_=t.charAt(S))){for(S++,c+="<";S<v&&">"!==(_=t.charAt(S));){if(O&&"\n"===_)return;b+=_,S++}if(">"!==t.charAt(S))return;D+="<"+b+">",C=b,S++}else{for(_=null,f="";S<v&&(_=t.charAt(S),!f||!('"'===_||"'"===_||O&&_===i));){if(r(_)){if(!w)break;f+=_}else{if(_===i)E++;else if(_===a){if(0===E)break;E--}b+=f,f="",_===s&&(b+=s,_=t.charAt(++S)),b+=_}S++}C=b,S=(D+=b).length}for(b="";S<v&&(_=t.charAt(S),r(_));)b+=_,S++;if(_=t.charAt(S),D+=b,b&&('"'===_||"'"===_||O&&_===i))if(S++,b="",g=_===i?a:_,d=D+=_,O){for(;S<v&&(_=t.charAt(S))!==g;)_===s&&(b+=s,_=t.charAt(++S)),S++,b+=_;if((_=t.charAt(S))!==g)return;for(y=b,D+=b+_,S++;S<v&&(_=t.charAt(S),r(_));)D+=_,S++}else for(f="";S<v;){if((_=t.charAt(S))===g)p&&(b+=g+f,f=""),p=!0;else if(p){if(_===a){D+=b+g+f,y=b;break}r(_)?f+=_:(b+=g+f+_,f="",p=!1)}else b+=_;S++}if(t.charAt(S)===a)return!!n||(D+=a,C=x.decode.raw(x.unescape(C),e(c).test().end,{nonTerminated:!1}),y&&(d=e(d).test().end,y=x.decode.raw(x.unescape(y),d)),A={type:h?"image":"link",title:y||null,url:C},h?A.alt=x.decode.raw(x.unescape(m),T)||null:(k=x.enterLink(),A.children=x.tokenizeInline(m,T),k()),e(D)(A))}}}},3001(e,t,n){"use strict";var r=n(53098),o=n(45069),i=n(15364),a=n(45130),s=n(5252),l=n(14767);e.exports=function(e,t,n){for(var o,a,s,f,p,h,m,g,y,E,b,C,T,k,A,x,D,S,_,w,O,N,P=this,R=P.options.commonmark,B=P.options.pedantic,F=P.blockTokenizers,I=P.interruptList,M=0,L=t.length,j=null,H=0,U=!1;M<L;){if((s=t.charAt(M))===d)H+=4-H%4;else{if(s!==u)break;H++}M++}if(!(H>=4)){if("*"===(s=t.charAt(M))||"+"===s||"-"===s)f=s,a=!1;else{for(a=!0,o="";M<L&&(s=t.charAt(M),i(s));)o+=s,M++;if(s=t.charAt(M),!o||!("."===s||R&&")"===s))return;j=parseInt(o,10),f=s}if((s=t.charAt(++M))===u||s===d||!(B||s!==c&&""!==s)){if(n)return!0;for(M=0,T=[],k=[],A=[];M<L;){for(h=M,m=!1,N=!1,-1===(p=t.indexOf(c,M))&&(p=L),O=M+4,H=0;M<L;){if((s=t.charAt(M))===d)H+=4-H%4;else{if(s!==u)break;H++}M++}if(H>=4&&(N=!0),x&&H>=x.indent&&(N=!0),s=t.charAt(M),g=null,!N){if("*"===s||"+"===s||"-"===s)g=s,M++,H++;else{for(o="";M<L&&(s=t.charAt(M),i(s));)o+=s,M++;s=t.charAt(M),M++,o&&("."===s||R&&")"===s)&&(g=s,H+=o.length+1)}if(g)if((s=t.charAt(M))===d)H+=4-H%4,M++;else if(s===u){for(O=M+4;M<O&&t.charAt(M)===u;)M++,H++;M===O&&t.charAt(M)===u&&(M-=3,H-=3)}else s!==c&&""!==s&&(g=null)}if(g){if(!B&&f!==g)break;m=!0}else R||N||t.charAt(h)!==u?R&&x&&(N=H>=x.indent||H>4):N=!0,m=!1,M=h;if(E=t.slice(h,p),y=h===M?E:t.slice(M,p),("*"===g||"_"===g||"-"===g)&&F.thematicBreak.call(P,e,E,!0))break;if(b=C,C=!m&&!r(y).length,N&&x)x.value=x.value.concat(A,E),k=k.concat(A,E),A=[];else if(m)0!==A.length&&(U=!0,x.value.push(""),x.trail=A.concat()),x={value:[E],indent:H,trail:[]},T.push(x),k=k.concat(A,E),A=[];else if(C){if(b&&!R)break;A.push(E)}else{if(b)break;if(l(I,F,P,[e,E,!0]))break;x.value=x.value.concat(A,E),k=k.concat(A,E),A=[]}M=p+1}for(_=e(k.join(c)).reset({type:"list",ordered:a,start:j,spread:U,children:[]}),D=P.enterList(),S=P.enterBlock(),M=-1,L=T.length;++M<L;)x=T[M].value.join(c),w=e.now(),e(x)(v(P,x,w),_),x=T[M].trail.join(c),M!==L-1&&(x+=c),e(x);return D(),S(),_}}};var u=" ",c="\n",d="\t",f=/\n\n(?!\s*$)/,p=/^\[([ \t]|x|X)][ \t]/,h=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,m=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,g=/^( {1,4}|\t)?/gm;function v(e,t,n){var r,o,i=e.offset,a=null;return t=(e.options.pedantic?y:E).apply(null,arguments),e.options.gfm&&(r=t.match(p))&&(o=r[0].length,a="x"===r[1].toLowerCase(),i[n.line]+=o,t=t.slice(o)),{type:"listItem",spread:f.test(t),checked:a,children:e.tokenizeBlock(t,n)}}function y(e,t,n){var r=e.offset,o=n.line;return t=t.replace(m,i),o=n.line,t.replace(g,i);function i(e){return r[o]=(r[o]||0)+e.length,o++,""}}function E(e,t,n){var r,i,l,d,f,p,m,g=e.offset,v=n.line;for(d=(t=t.replace(h,function(e,t,n,a,s){return i=t+n+a,l=s,Number(n)<10&&i.length%2==1&&(n=u+n),(r=t+o(u,n.length)+a)+l})).split(c),(f=s(t,a(r).indent).split(c))[0]=l,g[v]=(g[v]||0)+i.length,v++,p=0,m=d.length;++p<m;)g[v]=(g[v]||0)+d[p].length-f[p].length,v++;return f.join(c)}},85377(e,t,n){"use strict";var r=n(51498);e.exports=function(e,t,n){var o,i,a,s,l=t.charAt(0);if("\n"===l){if(n)return!0;for(s=1,o=t.length,i=l,a="";s<o&&(l=t.charAt(s),r(l));)a+=l,"\n"===l&&(i+=a,a=""),s++;e(i)}}},78335(e,t,n){"use strict";var r=n(53098),o=n(15364),i=n(31587),a=n(14767);e.exports=function(e,t,n){for(var l,u,c,d,f,p=this,h=p.options,m=h.commonmark,g=h.gfm,v=p.blockTokenizers,y=p.interruptParagraph,E=t.indexOf(s),b=t.length;E<b;){if(-1===E){E=b;break}if(t.charAt(E+1)===s)break;if(m){for(d=0,l=E+1;l<b;){if("\t"===(c=t.charAt(l))){d=4;break}if(" "!==c)break;d++,l++}if(d>=4&&c!==s){E=t.indexOf(s,E+1);continue}}if(u=t.slice(E+1),a(y,v,p,[e,u,!0]))break;if(v.list.call(p,e,u,!0)&&(p.inList||m||g&&!o(r.left(u).charAt(0))))break;if(l=E,-1!==(E=t.indexOf(s,E+1))&&""===r(t.slice(l,E))){E=l;break}}return u=t.slice(0,E),""===r(u)?(e(u),null):!!n||(f=e.now(),e(u=i(u))({type:"paragraph",children:p.tokenizeInline(u,f)}))};var s="\n"},18956(e,t,n){"use strict";var r=n(51498),o=n(65348),i=n(19712);e.exports=p,p.locator=o;var a="link",s="image",l="footnote",u="full",c="[",d="\\",f="]";function p(e,t,n){var o,p,h,m,g,v,y,E,b=this,C=b.options.commonmark,T=t.charAt(0),k=0,A=t.length,x="",D="",S=a,_="shortcut";if("!"===T&&(S=s,D=T,T=t.charAt(++k)),T===c){if(k++,D+=T,v="",b.options.footnotes&&"^"===t.charAt(k)){if(S===s)return;D+="^",k++,S=l}for(E=0;k<A;){if((T=t.charAt(k))===c)y=!0,E++;else if(T===f){if(!E)break;E--}T===d&&(v+=d,T=t.charAt(++k)),v+=T,k++}if(x=v,o=v,(T=t.charAt(k))===f){if(k++,x+=T,v="",!C)for(;k<A&&(T=t.charAt(k),r(T));)v+=T,k++;if(T=t.charAt(k),S!==l&&T===c){for(p="",v+=T,k++;k<A&&(T=t.charAt(k))!==c&&T!==f;)T===d&&(p+=d,T=t.charAt(++k)),p+=T,k++;(T=t.charAt(k))===f?(_=p?u:"collapsed",v+=p+T,k++):p="",x+=v,v=""}else{if(!o)return;p=o}if(_===u||!y)return x=D+x,S===a&&b.inLink?null:!!n||(S===l&&-1!==o.indexOf(" ")?e(x)({type:l,children:this.tokenizeInline(o,e.now())}):((h=e.now()).column+=D.length,h.offset+=D.length,m={type:S+"Reference",identifier:i(p=_===u?p:o),label:p},S!==a&&S!==s||(m.referenceType=_),S===a?(g=b.enterLink(),m.children=b.tokenizeInline(o,h),g()):S===s&&(m.alt=b.decode.raw(b.unescape(o),h)||null),e(x)(m)))}}}},29222(e,t,n){"use strict";var r=n(53098),o=n(51498),i=n(95347);function a(e,t,n){var i,a,s,l,u,c,d,f=0,p=t.charAt(f);if(!("*"!==p&&"_"!==p||t.charAt(++f)!==p||(a=this.options.pedantic,u=(s=p)+s,c=t.length,f++,l="",p="",a&&o(t.charAt(f)))))for(;f<c;){if(d=p,!((p=t.charAt(f))!==s||t.charAt(f+1)!==s||a&&o(d))&&(p=t.charAt(f+2))!==s){if(!r(l))return;return!!n||((i=e.now()).column+=2,i.offset+=2,e(u+l+u)({type:"strong",children:this.tokenizeInline(l,i)}))}a||"\\"!==p||(l+=p,p=t.charAt(++f)),l+=p,f++}}e.exports=a,a.locator=i},71617(e,t,n){"use strict";var r=n(51498);e.exports=function(e,t,n){var a,s,l,u,c,d,f,p,h,m,g,v,y,E,b,C,T,k,A,x,D,S,_,w;if(this.options.gfm){for(a=0,k=0,d=t.length+1,f=[];a<d;){if(S=t.indexOf(o,a),_=t.indexOf("|",a+1),-1===S&&(S=t.length),-1===_||_>S){if(k<2)return;break}f.push(t.slice(a,S)),k++,a=S+1}for(u=f.join(o),a=0,d=(s=f.splice(1,1)[0]||[]).length,k--,l=!1,g=[];a<d;){if("|"===(h=s.charAt(a))){if(m=null,!1===l){if(!1===w)return}else g.push(l),l=!1;w=!1}else if("-"===h)m=!0,l=l||null;else if(":"===h)l=l===i?"center":m&&null===l?"right":i;else if(!r(h))return;a++}if(!1!==l&&g.push(l),!(g.length<1)){if(n)return!0;for(T=-1,x=[],D=e(u).reset({type:"table",align:g,children:x});++T<k;){for(A=f[T],c={type:"tableRow",children:[]},T&&e(o),e(A).reset(c,D),d=A.length+1,a=0,p="",v="",y=!0,E=null,b=null;a<d;)if("\t"!==(h=A.charAt(a))&&" "!==h){if(""===h||"|"===h)if(y)e(h);else{if(h&&b){p+=h,a++;continue}!v&&!h||y||(u=v,p.length>1&&(h?(u+=p.slice(0,p.length-1),p=p.charAt(p.length-1)):(u+=p,p="")),C=e.now(),e(u)({type:"tableCell",children:this.tokenizeInline(v,C)},c)),e(p+h),p="",v=""}else if(p&&(v+=p,p=""),v+=h,"\\"===h&&a!==d-2&&(v+=A.charAt(a+1),a++),"`"===h){for(E=1;A.charAt(a+1)===h;)v+=h,a++,E++;b?E>=b&&(b=0):b=E}y=!1,a++}else v?p+=h:e(h),a++;T||e(o+s)}return D}}};var o="\n",i="left"},16394(e){"use strict";e.exports=function(e,t,n){var r,o,i,a,s,l,u,c,d,f,p=this;if(n)return!0;for(a=(r=p.inlineMethods).length,o=p.inlineTokenizers,i=-1,d=t.length;++i<a;)"text"!==(c=r[i])&&o[c]&&((u=o[c].locator)||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(p,t,1))&&l<d&&(d=l));s=t.slice(0,d),f=e.now(),p.decode(s,f,function(t,n,r){e(r||t)({type:"text",value:t})})}},77576(e){"use strict";e.exports=function(e,t,n){for(var r,o,i,a,s=-1,l=t.length+1,u="";++s<l&&("\t"===(r=t.charAt(s))||" "===r);)u+=r;if("*"===r||"-"===r||"_"===r)for(o=r,u+=r,i=1,a="";++s<l;)if((r=t.charAt(s))===o)i++,u+=a+o,a="";else{if(" "!==r)return i>=3&&(!r||"\n"===r)?(u+=a,!!n||e(u)({type:"thematicBreak"})):void 0;a+=r}}},19704(e,t,n){"use strict";var r=n(19632),o=n(51498),i=n(1859);e.exports=u,u.locator=i,u.notInLink=!0;var a="mailto:",s=["http://","https://",a],l=s.length;function u(e,t,n){var i,u,c,d,f,p,h,m,g,v,y,E,b,C=this;if(C.options.gfm){for(i="",d=-1;++d<l;)if(p=s[d],(h=t.slice(0,p.length)).toLowerCase()===p){i=h;break}if(i){for(d=i.length,m=t.length,g="",v=0;d<m&&(c=t.charAt(d),!o(c)&&"<"!==c)&&("."!==c&&","!==c&&":"!==c&&";"!==c&&'"'!==c&&"'"!==c&&")"!==c&&"]"!==c||(y=t.charAt(d+1))&&!o(y))&&("("!==c&&"["!==c||v++,")"!==c&&"]"!==c||!(--v<0));)g+=c,d++;if(g){if(u=i+=g,p===a){if(-1===(f=g.indexOf("@"))||f===m-1)return;u=u.substr(7)}return!!n||(b=C.enterLink(),E=C.inlineTokenizers,C.inlineTokenizers={text:E.text},u=C.tokenizeInline(u,e.now()),C.inlineTokenizers=E,b(),e(i)({type:"link",title:null,url:r(i,{nonTerminated:!1}),children:u}))}}}}},11010(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,l,u,c,d=this,f=d.offset,p=[],h=d[e+"Methods"],m=d[e+"Tokenizers"],g=i.line,v=i.column;if(!o)return p;for(C.now=E,C.file=d.file,y("");o;){for(a=-1,s=h.length,u=!1;++a<s&&(!(l=m[h[a]])||l.onlyAtStart&&!d.atStart||l.notInList&&d.inList||l.notInBlock&&d.inBlock||l.notInLink&&d.inLink||(c=o.length,l.apply(d,[C,o]),!(u=c!==o.length))););u||d.file.fail(new Error("Infinite loop"),C.now())}return d.eof=E(),p;function y(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 f&&(-1!==t?v+=f[g]:v<=f[g]&&(v=f[g]+1))}function E(){var e={line:g,column:v};return e.offset=d.toOffset(e),e}function b(e){this.start=e,this.end=E()}function C(e){var i,a=function(){var e=[],t=g+1;return function(){for(var n=g+1;t<n;)e.push((f[t]||0)+1),t++;return e}}(),s=(i=E(),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 b(r),n&&t&&n.indent){if(o=n.indent,a<s){for(;++a<s;)o.push((f[a]||0)+1);o.push(i.column)}t=o.concat(t)}return e.position.indent=t||[],e}),l=E();return function(e){o.substring(0,e.length)!==e&&d.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),E())}(e),u.reset=c,c.test=h,u.test=h,o=o.substring(e.length),y(e),a=a(),u;function u(e,o){return s(function(e,o){var i=o?o.children:p,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(d,a,e)),e!==a&&i.push(e),d.atStart&&0!==p.length&&d.exitStart(),e}(s(e),o),a)}function c(){var t=u.apply(null,arguments);return g=l.line,v=l.column,o=e+o,t}function h(){var t=s({});return g=l.line,v=l.column,o=e+o,t.position}}}}},83375(e){"use strict";e.exports=function(e,n){return function(r){for(var o,i=0,a=r.indexOf(t),s=e[n],l=[];-1!==a;)l.push(r.slice(i,a)),i=a+1,(o=r.charAt(i))&&-1!==s.indexOf(o)||l.push(t),a=r.indexOf(t,i+1);return l.push(r.slice(i)),l.join("")}};var t="\\"},45130(e){"use strict";e.exports=function(e){for(var t,n=0,r=0,o=e.charAt(n),i={};"\t"===o||" "===o;)r+=t="\t"===o?4:1,t>1&&(r=Math.floor(r/t)*t),i[r]=n,o=e.charAt(++n);return{indent:r,stops:i}}},65143(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.X=new RegExp("^(?:"+n+"|"+r+")"),t.T=new RegExp("^(?:"+n+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},14767(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}},19712(e,t,n){"use strict";var r=n(3470);e.exports=function(e){return r(e).toLowerCase()}},5252(e,t,n){"use strict";var r=n(53098),o=n(45069),i=n(45130);e.exports=function(e,t){var n,a,s,l,u=e.split("\n"),c=u.length+1,d=1/0,f=[];for(u.unshift(o(" ",t)+"!");c--;)if(a=i(u[c]),f[c]=a.stops,0!==r(u[c]).length){if(!a.indent){d=1/0;break}a.indent>0&&a.indent<d&&(d=a.indent)}if(d!==1/0)for(c=u.length;c--;){for(s=f[c],n=d;n&&!(n in s);)n--;l=0!==r(u[c]).length&&d&&n!==d?"\t":"",u[c]=l+u[c].slice(n in s?s[n]+1:0)}return u.shift(),u.join("\n")}},13025(e,t,n){"use strict";var r=n(75410);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)}},44119(t){"use strict";t.exports=e},89545(e){"use strict";e.exports=a},48110(e){"use strict";e.exports=o},2522(e){"use strict";e.exports=r},18630(e){"use strict";e.exports=n},17434(e){"use strict";e.exports=t},86171(e){"use strict";e.exports=i},64822(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":"€"}')},80414(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":"ÿ"}')},61492(e){"use strict";e.exports=JSON.parse('{"0":"�","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":"Ÿ"}')},5810(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"]')},14169(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"]')},78841(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"}}')},56278(e){"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},90849(e){"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},92712(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/"}')}},l={};function u(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,loaded:!1,exports:{}};return s[e](n,n.exports,u),n.loaded=!0,n.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var c={};return(()=>{"use strict";u.d(c,{DecapCmsWidgetMarkdown:()=>Od});var e=u(44119),t=u.n(e),n=u(17434),r=u.n(n),o=u(18630),i=u.n(o),a=u(2522);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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}var l=u(48110),d={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,scale: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};function f(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var p=/[A-Z]|^ms/g,h=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},g=function(e){return null!=e&&"boolean"!=typeof e},v=f(function(e){return m(e)?e:e.replace(p,"-$&").toLowerCase()}),y=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(h,function(e,t,n){return b={name:t,styles:n,next:b},t})}return 1===d[e]||m(e)||"number"!=typeof t||0===t?t:t+"px"};function E(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return b={name:o.name,styles:o.styles,next:b},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)b={name:a.name,styles:a.styles,next:b},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=E(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":g(s)&&(r+=v(i)+":"+y(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=E(e,t,a);switch(i){case"animation":case"animationName":r+=v(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)g(a[u])&&(r+=v(i)+":"+y(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=b,l=n(e);return b=s,E(e,t,l)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var b,C=/label:\s*([^\s;{]+)\s*(;|$)/g,T=!!e.useInsertionEffect&&e.useInsertionEffect,k=T||function(e){return e()};T||e.useLayoutEffect;var A=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},x=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,D=f(function(e){return x.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),S=function(e){return"theme"!==e},_=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?D:S},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},O=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return A(t,n,r),k(function(){return function(e,t,n){A(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},N=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 c=w(n,r,a),d=c||_(u),f=!d("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{var m=p[0];h.push(m[0]);for(var g=p.length,v=1;v<g;v++)h.push(p[v],m[v])}var y=(0,l.withEmotionCache)(function(t,n,r){var o,a,s,p,m=f&&t.as||u,g="",v=[],y=t;if(null==t.theme){for(var T in y={},t)y[T]=t[T];y.theme=e.useContext(l.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]+";"):e&&(p+=e+" ")}),g=p):null!=t.className&&(g=t.className+" ");var k=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+=E(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=E(n,t,e[a]),r&&(o+=i[a]);C.lastIndex=0;for(var s,l="";null!==(s=C.exec(o));)l+="-"+s[1];var u=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)+l;return{name:u,styles:o,next:b}}(h.concat(v),n.registered,y);g+=n.key+"-"+k.name,void 0!==i&&(g+=" "+i);var A=f&&void 0===c?_(m):d,x={};for(var D in t)f&&"as"===D||A(D)&&(x[D]=t[D]);return x.className=g,r&&(x.ref=r),e.createElement(e.Fragment,null,e.createElement(O,{cache:n,serialized:k,isStringTag:"string"==typeof m}),e.createElement(m,x))});return y.displayName=void 0!==o?o:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",y.defaultProps=n.defaultProps,y.__emotion_real=y,y.__emotion_base=u,y.__emotion_styles=h,y.__emotion_forwardProp=c,Object.defineProperty(y,"toString",{value:function(){return"."+i}}),y.withComponent=function(e,n){return t(e,s({},r,n,{shouldForwardProp:w(y,n,!0)})).apply(void 0,h)},y}},P=u(86171),R=Symbol.for("immer-nothing"),B=Symbol.for("immer-draftable"),F=Symbol.for("immer-state");function I(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var M=Object.getPrototypeOf;function L(e){return!!e&&!!e[F]}function j(e){return!!e&&(z(e)||Array.isArray(e)||!!e[B]||!!e.constructor?.[B]||$(e)||V(e))}var H=Object.prototype.constructor.toString(),U=new WeakMap;function z(e){if(!e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if("function"!=typeof n)return!1;let r=U.get(n);return void 0===r&&(r=Function.toString.call(n),U.set(n,r)),r===H}function G(e,t,n=!0){0===W(e)?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function W(e){const t=e[F];return t?t.type_:Array.isArray(e)?1:$(e)?2:V(e)?3:0}function K(e,t){return 2===W(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function q(e,t,n){const r=W(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function $(e){return e instanceof Map}function V(e){return e instanceof Set}function Y(e){return e.copy_||e.base_}function X(e,t){if($(e))return new Map(e);if(V(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=z(e);if(!0===t||"class_only"===t&&!n){const t=Object.getOwnPropertyDescriptors(e);delete t[F];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const 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(M(e),t)}{const t=M(e);if(null!==t&&n)return{...e};const r=Object.create(t);return Object.assign(r,e)}}function Q(e,t=!1){return Z(e)||L(e)||!j(e)||(W(e)>1&&Object.defineProperties(e,{set:J,add:J,clear:J,delete:J}),Object.freeze(e),t&&Object.values(e).forEach(e=>Q(e,!0))),e}var J={value:function(){I(2)}};function Z(e){return null===e||"object"!=typeof e||Object.isFrozen(e)}var ee,te={};function ne(e){const t=te[e];return t||I(0),t}function re(){return ee}function oe(e,t){t&&(ne("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ie(e){ae(e),e.drafts_.forEach(le),e.drafts_=null}function ae(e){e===ee&&(ee=e.parent_)}function se(e){return ee={drafts_:[],parent_:ee,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function le(e){const t=e[F];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function ue(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[F].modified_&&(ie(t),I(4)),j(e)&&(e=ce(t,e),t.parent_||fe(t,e)),t.patches_&&ne("Patches").generateReplacementPatches_(n[F].base_,e,t.patches_,t.inversePatches_)):e=ce(t,n,[]),ie(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==R?e:void 0}function ce(e,t,n){if(Z(t))return t;const r=e.immer_.shouldUseStrictIteration(),o=t[F];if(!o)return G(t,(r,i)=>de(e,o,t,r,i,n),r),t;if(o.scope_!==e)return t;if(!o.modified_)return fe(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const t=o.copy_;let i=t,a=!1;3===o.type_&&(i=new Set(t),t.clear(),a=!0),G(i,(r,i)=>de(e,o,t,r,i,n,a),r),fe(e,t,!1),n&&e.patches_&&ne("Patches").generatePatches_(o,n,e.patches_,e.inversePatches_)}return o.copy_}function de(e,t,n,r,o,i,a){if(null==o)return;if("object"!=typeof o&&!a)return;const s=Z(o);if(!s||a){if(L(o)){const a=ce(e,o,i&&t&&3!==t.type_&&!K(t.assigned_,r)?i.concat(r):void 0);if(q(n,r,a),!L(a))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(j(o)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;if(t&&t.base_&&t.base_[r]===o&&s)return;ce(e,o),t&&t.scope_.parent_||"symbol"==typeof r||!($(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))||fe(e,o)}}}function fe(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Q(t,n)}var pe={get(e,t){if(t===F)return e;const n=Y(e);if(!K(n,t))return function(e,t,n){const r=ge(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!j(r)?r:r===me(e.base_,t)?(ye(e),e.copy_[t]=Ee(r,e)):r},has:(e,t)=>t in Y(e),ownKeys:e=>Reflect.ownKeys(Y(e)),set(e,t,n){const r=ge(Y(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=me(Y(e),t),a=r?.[F];if(a&&a.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((o=n)===(i=r)?0!==o||1/o==1/i:o!=o&&i!=i)&&(void 0!==n||K(e.base_,t)))return!0;ye(e),ve(e)}var o,i;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==me(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,ye(e),ve(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=Y(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){I(11)},getPrototypeOf:e=>M(e.base_),setPrototypeOf(){I(12)}},he={};function me(e,t){const n=e[F];return(n?Y(n):e)[t]}function ge(e,t){if(!(t in e))return;let n=M(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=M(n)}}function ve(e){e.modified_||(e.modified_=!0,e.parent_&&ve(e.parent_))}function ye(e){e.copy_||(e.copy_=X(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function Ee(e,t){const n=$(e)?ne("MapSet").proxyMap_(e,t):V(e)?ne("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:re(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=pe;n&&(o=[r],i=he);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return r.draft_=s,r.revoke_=a,s}(e,t);return(t?t.scope_:re()).drafts_.push(n),n}function be(e){if(!j(e)||Z(e))return e;const t=e[F];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=X(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=X(e,!0);return G(n,(e,t)=>{q(n,e,be(t))},r),t&&(t.finalized_=!1),n}G(pe,(e,t)=>{he[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),he.deleteProperty=function(e,t){return he.set.call(this,e,t,void 0)},he.set=function(e,t,n){return pe.set.call(this,e[0],t,n,e[0])};var Ce=(new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){const n=t;t=e;const r=this;return function(e=n,...o){return r.produce(e,e=>t.call(this,e,...o))}}let r;if("function"!=typeof t&&I(6),void 0!==n&&"function"!=typeof n&&I(7),j(e)){const o=se(this),i=Ee(e,void 0);let a=!0;try{r=t(i),a=!1}finally{a?ie(o):ae(o)}return oe(o,n),ue(r,o)}if(!e||"object"!=typeof e){if(r=t(e),void 0===r&&(r=e),r===R&&(r=void 0),this.autoFreeze_&&Q(r,!0),n){const t=[],o=[];ne("Patches").generateReplacementPatches_(e,r,t,o),n(t,o)}return r}I(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"==typeof e?.useStrictIteration&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;j(e)||I(8),L(e)&&(L(t=e)||I(10),e=be(t));const n=se(this),r=Ee(e,void 0);return r[F].isManual_=!0,ae(n),r}finishDraft(e,t){const n=e&&e[F];n&&n.isManual_||I(9);const{scope_:r}=n;return oe(r,t),ue(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=ne("Patches").applyPatches_;return L(e)?r(e,t):this.produce(e,e=>r(e,t))}}).produce,Te={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Pe.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},ke={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=ct.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Ae={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Qe.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},xe=new WeakMap,De=new WeakMap,Se=new WeakMap,_e=new WeakMap,we=new WeakMap,Oe=new WeakMap,Ne=new WeakMap,Pe={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=Pe.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 Pe.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return Pe.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 Pe.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===Pe.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===Pe.compare(e,t),isBefore:(e,t)=>-1===Pe.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===Pe.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===Pe.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===Pe.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===Pe.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]&&Pe.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(!Pe.isAncestor(t,e)&&!Pe.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;(Pe.equals(i,r)||Pe.endsBefore(i,r)||Pe.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Pe.equals(a,r)||Pe.isAncestor(a,r))return null;Pe.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;Pe.equals(s,r)||Pe.endsBefore(s,r)?r[s.length-1]-=1:Pe.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break;case"split_node":var{path:u,position:c}=t;if(Pe.equals(u,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else Pe.endsBefore(u,r)?r[u.length-1]+=1:Pe.isAncestor(u,r)&&e[u.length]>=c&&(r[u.length-1]+=1,r[u.length]-=c);break;case"move_node":var{path:d,newPath:f}=t;if(Pe.equals(d,f))return r;if(Pe.isAncestor(d,r)||Pe.equals(d,r)){var p=f.slice();return Pe.endsBefore(d,f)&&d.length<f.length&&(p[d.length-1]-=1),p.concat(r.slice(d.length))}Pe.isSibling(d,f)&&(Pe.isAncestor(f,r)||Pe.equals(f,r))?Pe.endsBefore(d,r)?r[d.length-1]-=1:r[d.length-1]+=1:Pe.endsBefore(f,r)||Pe.equals(f,r)||Pe.isAncestor(f,r)?(Pe.endsBefore(d,r)&&(r[d.length-1]-=1),r[f.length-1]+=1):Pe.endsBefore(d,r)&&(Pe.equals(f,r)&&(r[f.length-1]+=1),r[d.length-1]-=1)}return r}};function Re(e){return Re="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},Re(e)}function Be(e,t,n){return(t=function(e){var t=function(e){if("object"!==Re(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Re(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Re(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(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 Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Me=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return[...e.slice(0,t),...r,...e.slice(t)]},Le=function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return[...e.slice(0,t),...o,...e.slice(t+n)]},je=Le,He=(e,t,n)=>{if(0===t.length)throw new Error("Cannot modify the editor");for(var r=nt.get(e,t),o=t.slice(),i=n(r);o.length>1;){var a=o.pop(),s=nt.get(e,o);i=Ie(Ie({},s),{},{children:Le(s.children,a,1,i)})}var l=o.pop();e.children=Le(e.children,l,1,i)},Ue=(e,t,n)=>{0===t.length?e.children=n(e.children):He(e,t,e=>{if(yt.isText(e))throw new Error("Cannot get the element at path [".concat(t,"] because it refers to a leaf node: ").concat(ft.stringify(e)));return Ie(Ie({},e),{},{children:n(e.children)})})},ze=(e,t,n)=>He(e,t,e=>{if(!yt.isText(e))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ft.stringify(e)));return n(e)}),Ge={transform(e,t){var n=!1;switch(t.type){case"insert_node":var{path:r,node:o}=t;Ue(e,Pe.parent(r),e=>{var t=r[r.length-1];if(t>e.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));return Me(e,t,o)}),n=!0;break;case"insert_text":var{path:i,offset:a,text:s}=t;if(0===s.length)break;ze(e,i,e=>{var t=e.text.slice(0,a),n=e.text.slice(a);return Ie(Ie({},e),{},{text:t+s+n})}),n=!0;break;case"merge_node":var{path:l}=t,u=l[l.length-1],c=Pe.previous(l),d=c[c.length-1];Ue(e,Pe.parent(l),e=>{var t,n=e[u],r=e[d];if(yt.isText(n)&&yt.isText(r))t=Ie(Ie({},r),{},{text:r.text+n.text});else{if(yt.isText(n)||yt.isText(r))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(l,"] to nodes of different interfaces: ").concat(ft.stringify(n)," ").concat(ft.stringify(r)));t=Ie(Ie({},r),{},{children:r.children.concat(n.children)})}return Le(e,d,2,t)}),n=!0;break;case"move_node":var{path:f,newPath:p}=t,h=f[f.length-1];if(Pe.isAncestor(f,p))throw new Error("Cannot move a path [".concat(f,"] to new path [").concat(p,"] because the destination is inside itself."));var m=nt.get(e,f);Ue(e,Pe.parent(f),e=>je(e,h,1));var g=Pe.transform(f,t),v=g[g.length-1];Ue(e,Pe.parent(g),e=>Me(e,v,m)),n=!0;break;case"remove_node":var{path:y}=t,E=y[y.length-1];if(Ue(e,Pe.parent(y),e=>je(e,E,1)),e.selection){var b=Ie({},e.selection);for(var[C,T]of Qe.points(b)){var k=ct.transform(C,t);if(null!=b&&null!=k)b[T]=k;else{var A=void 0,x=void 0;for(var[D,S]of nt.texts(e)){if(-1!==Pe.compare(S,y)){x=[D,S];break}A=[D,S]}var _=!1;A&&x&&(_=!Pe.isSibling(A[1],y)&&(!!Pe.equals(x[1],y)||Pe.common(A[1],y).length<Pe.common(x[1],y).length)),A&&!_?b[T]={path:A[1],offset:A[0].text.length}:x?b[T]={path:x[1],offset:0}:b=null}}b&&Qe.equals(b,e.selection)||(e.selection=b)}break;case"remove_text":var{path:w,offset:O,text:N}=t;if(0===N.length)break;ze(e,w,e=>{var t=e.text.slice(0,O),n=e.text.slice(O+N.length);return Ie(Ie({},e),{},{text:t+n})}),n=!0;break;case"set_node":var{path:P,properties:R,newProperties:B}=t;if(0===P.length)throw new Error("Cannot set properties on the root node!");He(e,P,e=>{var t=Ie({},e);for(var n in B){if("children"===n||"text"===n)throw new Error('Cannot set the "'.concat(n,'" property of nodes!'));var r=B[n];null==r?delete t[n]:t[n]=r}for(var o in R)B.hasOwnProperty(o)||delete t[o];return t});break;case"set_selection":var{newProperties:F}=t;if(null==F){e.selection=null;break}if(null==e.selection){if(!Qe.isRange(F))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(ft.stringify(F)," when there is no current selection."));e.selection=Ie({},F);break}var I=Ie({},e.selection);for(var M in F){var L=F[M];if(null==L){if("anchor"===M||"focus"===M)throw new Error('Cannot remove the "'.concat(M,'" selection property'));delete I[M]}else I[M]=L}e.selection=I;break;case"split_node":var{path:j,position:H,properties:U}=t,z=j[j.length-1];if(0===j.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(j,"] because the root node cannot be split."));Ue(e,Pe.parent(j),e=>{var t,n,r=e[z];if(yt.isText(r)){var o=r.text.slice(0,H),i=r.text.slice(H);t=Ie(Ie({},r),{},{text:o}),n=Ie(Ie({},U),{},{text:i})}else{var a=r.children.slice(0,H),s=r.children.slice(H);t=Ie(Ie({},r),{},{children:a}),n=Ie(Ie({},U),{},{children:s})}return Le(e,z,1,t,n)}),n=!0}if(n&&e.selection){var G=Ie({},e.selection);for(var[W,K]of Qe.points(G))G[K]=ct.transform(W,t);Qe.equals(G,e.selection)||(e.selection=G)}}},We={insertNodes(e,t,n){e.insertNodes(t,n)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,n){e.setNodes(t,n)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,n){e.unsetNodes(t,n)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,n){e.wrapNodes(t,n)}},Ke={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,n){e.setPoint(t,n)},setSelection(e,t){e.setSelection(t)}},qe=e=>"object"==typeof e&&null!==e,$e=(e,t)=>{for(var n in e){var r=e[n],o=t[n];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(qe(r)&&qe(o)){if(!$e(r,o))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};function Ve(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 Ye=["anchor","focus"];function Xe(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 Qe={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return Qe.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=Qe.edges(e);return t},equals:(e,t)=>ct.equals(e.anchor,t.anchor)&&ct.equals(e.focus,t.focus),surrounds(e,t){var n=Qe.intersection(e,t);return!!n&&Qe.equals(n,t)},includes(e,t){if(Qe.isRange(t)){if(Qe.includes(e,t.anchor)||Qe.includes(e,t.focus))return!0;var[n,r]=Qe.edges(e),[o,i]=Qe.edges(t);return ct.isBefore(n,o)&&ct.isAfter(r,i)}var[a,s]=Qe.edges(e),l=!1,u=!1;return ct.isPoint(t)?(l=ct.compare(t,a)>=0,u=ct.compare(t,s)<=0):(l=Pe.compare(t,a.path)>=0,u=Pe.compare(t,s.path)<=0),l&&u},intersection(e,t){var n=Ve(e,Ye),[r,o]=Qe.edges(e),[i,a]=Qe.edges(t),s=ct.isBefore(r,i)?i:r,l=ct.isBefore(o,a)?o:a;return ct.isBefore(l,s)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({anchor:s,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return ct.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return ct.equals(t,n)},isExpanded:e=>!Qe.isCollapsed(e),isForward:e=>!Qe.isBackward(e),isRange:e=>qe(e)&&ct.isPoint(e.anchor)&&ct.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=Qe.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=Qe.isCollapsed(e);Qe.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?Qe.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var s=ct.transform(e.anchor,t,{affinity:r}),l=ct.transform(e.focus,t,{affinity:o});return s&&l?{anchor:s,focus:l}:null}},Je=function(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!qe(e)&&"function"!=typeof e.apply&&(t?nt.isNodeList(e.children):Array.isArray(e.children))},Ze={isAncestor(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qe(e)&&nt.isNodeList(e.children,{deep:t})},isElement:Je,isElementList(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)&&e.every(e=>Ze.isElement(e,{deep:t}))},isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return Je(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},et=["children"],tt=["text"],nt={ancestor(e,t){var n=nt.get(e,t);if(yt.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(ft.stringify(n)));return n},ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of Pe.ancestors(t,n)){var o=[nt.ancestor(e,r),r];yield o}}()},child(e,t){if(yt.isText(e))throw new Error("Cannot get the child of a text node: ".concat(ft.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(ft.stringify(e)));return n},children(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var{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),l=t.concat(a);yield[s,l],a=r?a-1:a+1}}()},common(e,t,n){var r=Pe.common(t,n);return[nt.get(e,r),r]},descendant(e,t){var n=nt.get(e,t);if(at.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(ft.stringify(n)));return n},descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){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]:{};return function*(){for(var[n,r]of nt.nodes(e,t))Ze.isElement(n)&&(yield[n,r])}()},extractProps:e=>Ze.isAncestor(e)?Ve(e,et):Ve(e,tt),first(e,t){for(var n=t.slice(),r=nt.get(e,n);r&&!yt.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){var n=Ce({children:e.children},e=>{var[n,r]=Qe.edges(t),o=nt.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!Qe.includes(t,n)}});for(var[,i]of o){if(!Qe.includes(t,i)){var a=nt.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(Pe.equals(i,r.path)){var l=nt.leaf(e,i);l.text=l.text.slice(0,r.offset)}if(Pe.equals(i,n.path)){var u=nt.leaf(e,i);u.text=u.text.slice(n.offset)}}at.isEditor(e)&&(e.selection=null)});return n.children},get(e,t){var n=nt.getIf(e,t);if(void 0===n)throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(ft.stringify(e)));return n},getIf(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(yt.isText(n)||!n.children[o])return;n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(yt.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return yt.isText(e)||Ze.isElement(e,{deep:t})||at.isEditor(e,{deep:t})},isNodeList(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)&&e.every(e=>nt.isNode(e,{deep:t}))},last(e,t){for(var n=t.slice(),r=nt.get(e,n);r&&!yt.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(!yt.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ft.stringify(n)));return n},levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of Pe.levels(t,n)){var o=nt.get(e,r);yield[o,r]}}()},matches:(e,t)=>Ze.isElement(e)&&Ze.isElementProps(t)&&Ze.matches(e,t)||yt.isText(e)&&yt.isTextProps(t)&&yt.matches(e,t),nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!i||!(r?Pe.isBefore(s,i):Pe.isAfter(s,i));)if(a.has(l)||(yield[l,s]),a.has(l)||yt.isText(l)||0===l.children.length||null!=n&&!1!==n([l,s])){if(0===s.length)break;if(!r){var u=Pe.next(s);if(nt.has(e,u)){s=u,l=nt.get(e,s);continue}}r&&0!==s[s.length-1]?(s=Pe.previous(s),l=nt.get(e,s)):(s=Pe.parent(s),l=nt.get(e,s),a.add(l))}else{a.add(l);var c=r?l.children.length-1:0;Pe.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),l=nt.get(e,s)}}()},parent(e,t){var n=Pe.parent(t),r=nt.get(e,n);if(yt.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=>yt.isText(e)?e.text:e.children.map(nt.string).join(""),texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of nt.nodes(e,t))yt.isText(n)&&(yield[n,r])}()}};function rt(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 ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var it={isNodeOperation:e=>it.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!qe(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Pe.isPath(e.path)&&nt.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Pe.isPath(e.path);case"merge_node":return"number"==typeof e.position&&Pe.isPath(e.path)&&qe(e.properties);case"move_node":return Pe.isPath(e.path)&&Pe.isPath(e.newPath);case"set_node":return Pe.isPath(e.path)&&qe(e.properties)&&qe(e.newProperties);case"set_selection":return null===e.properties&&Qe.isRange(e.newProperties)||null===e.newProperties&&Qe.isRange(e.properties)||qe(e.properties)&&qe(e.newProperties);case"split_node":return Pe.isPath(e.path)&&"number"==typeof e.position&&qe(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(e=>it.isOperation(e)),isSelectionOperation:e=>it.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>it.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return ot(ot({},e),{},{type:"remove_node"});case"insert_text":return ot(ot({},e),{},{type:"remove_text"});case"merge_node":return ot(ot({},e),{},{type:"split_node",path:Pe.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Pe.equals(t,n))return e;if(Pe.isSibling(n,t))return ot(ot({},e),{},{path:t,newPath:n});var r=Pe.transform(n,e),o=Pe.transform(Pe.next(n),e);return ot(ot({},e),{},{path:r,newPath:o});case"remove_node":return ot(ot({},e),{},{type:"insert_node"});case"remove_text":return ot(ot({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return ot(ot({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;return ot(ot({},e),{},null==s?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:s}:{properties:l,newProperties:s});case"split_node":return ot(ot({},e),{},{type:"merge_node",path:Pe.next(e.path)})}}},at={above:(e,t)=>e.above(t),addMark(e,t,n){e.addMark(t,n)},after:(e,t,n)=>e.after(t,n),before:(e,t,n)=>e.before(t,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,t){e.deleteFragment(t)},edges:(e,t)=>e.edges(t),elementReadOnly(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.elementReadOnly(t)},end:(e,t)=>e.end(t),first:(e,t)=>e.first(t),fragment:(e,t)=>e.fragment(t),hasBlocks:(e,t)=>e.hasBlocks(t),hasInlines:(e,t)=>e.hasInlines(t),hasPath:(e,t)=>e.hasPath(t),hasTexts:(e,t)=>e.hasTexts(t),insertBreak(e){e.insertBreak()},insertFragment(e,t,n){e.insertFragment(t,n)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>e.isBlock(t),isEdge:(e,t,n)=>e.isEdge(t,n),isEditor:e=>function(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!qe(e)&&("function"==typeof e.addMark&&"function"==typeof e.apply&&"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.isElementReadOnly&&"function"==typeof e.isInline&&"function"==typeof e.isSelectable&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&"function"==typeof e.getDirtyPaths&&(null===e.marks||qe(e.marks))&&(null===e.selection||Qe.isRange(e.selection))&&(!t||nt.isNodeList(e.children))&&it.isOperationList(e.operations))}(e),isElementReadOnly:(e,t)=>e.isElementReadOnly(t),isEmpty:(e,t)=>e.isEmpty(t),isEnd:(e,t,n)=>e.isEnd(t,n),isInline:(e,t)=>e.isInline(t),isNormalizing:e=>e.isNormalizing(),isSelectable:(e,t)=>e.isSelectable(t),isStart:(e,t,n)=>e.isStart(t,n),isVoid:(e,t)=>e.isVoid(t),last:(e,t)=>e.last(t),leaf:(e,t,n)=>e.leaf(t,n),levels:(e,t)=>e.levels(t),marks:e=>e.getMarks(),next:(e,t)=>e.next(t),node:(e,t,n)=>e.node(t,n),nodes:(e,t)=>e.nodes(t),normalize(e,t){e.normalize(t)},parent:(e,t,n)=>e.parent(t,n),path:(e,t,n)=>e.path(t,n),pathRef:(e,t,n)=>e.pathRef(t,n),pathRefs:e=>e.pathRefs(),point:(e,t,n)=>e.point(t,n),pointRef:(e,t,n)=>e.pointRef(t,n),pointRefs:e=>e.pointRefs(),positions:(e,t)=>e.positions(t),previous:(e,t)=>e.previous(t),range:(e,t,n)=>e.range(t,n),rangeRef:(e,t,n)=>e.rangeRef(t,n),rangeRefs:e=>e.rangeRefs(),removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start:(e,t)=>e.start(t),string:(e,t,n)=>e.string(t,n),unhangRange:(e,t,n)=>e.unhangRange(t,n),void:(e,t)=>e.void(t),withoutNormalizing(e,t){e.withoutNormalizing(t)},shouldMergeNodesRemovePrevNode:(e,t,n)=>e.shouldMergeNodesRemovePrevNode(t,n)},st=e=>Array.isArray(e)&&2===e.length&&e.every(Pe.isPath);function lt(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 ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ct={compare(e,t){var n=Pe.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===ct.compare(e,t),isBefore:(e,t)=>-1===ct.compare(e,t),equals:(e,t)=>e.offset===t.offset&&Pe.equals(e.path,t.path),isPoint:e=>qe(e)&&"number"==typeof e.offset&&Pe.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":o=Pe.transform(o,t,n);break;case"insert_text":Pe.equals(t.path,o)&&(t.offset<i||t.offset===i&&"forward"===r)&&(i+=t.text.length);break;case"merge_node":Pe.equals(t.path,o)&&(i+=t.position),o=Pe.transform(o,t,n);break;case"remove_text":Pe.equals(t.path,o)&&t.offset<=i&&(i-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(Pe.equals(t.path,o)||Pe.isAncestor(t.path,o))return null;o=Pe.transform(o,t,n);break;case"split_node":if(Pe.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(i-=t.position,o=Pe.transform(o,t,ut(ut({},n),{},{affinity:"forward"})))}else o=Pe.transform(o,t,n);break;default:return e}return{path:o,offset:i}}},dt=void 0,ft={setScrubber(e){dt=e},stringify:e=>JSON.stringify(e,dt)},pt=["text"],ht=["anchor","focus","merge"];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 gt(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){Be(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 vt,yt={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return Ve(e,pt)}return $e(r?o(e):e,r?o(t):t)},isText:e=>qe(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>yt.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=[{leaf:gt({},e)}];for(var r of t){var{anchor:o,focus:i,merge:a}=r,s=Ve(r,ht),[l,u]=Qe.edges(r),c=[],d=0,f=l.offset,p=u.offset,h=null!=a?a:Object.assign;for(var{leaf:m}of n){var{length:g}=m.text,v=d;if(d+=g,f<=v&&d<=p)h(m,s),c.push({leaf:m});else if(f!==p&&(f===d||p===v)||f>d||p<v||p===v&&0!==v)c.push({leaf:m});else{var y=m,E=void 0,b=void 0;if(p<d){var C=p-v;b={leaf:gt(gt({},y),{},{text:y.text.slice(C)})},y=gt(gt({},y),{},{text:y.text.slice(0,C)})}if(f>v){var T=f-v;E={leaf:gt(gt({},y),{},{text:y.text.slice(0,T)})},y=gt(gt({},y),{},{text:y.text.slice(T)})}h(y,s),E&&c.push(E),c.push({leaf:y}),b&&c.push(b)}}n=c}if(n.length>1){var k=0;for(var[A,x]of n.entries()){var D=k,S=D+x.leaf.text.length,_={start:D,end:S};0===A&&(_.isFirst=!0),A===n.length-1&&(_.isLast=!0),x.position=_,k=S}}return n}},Et=e=>e.selection?e.selection:e.children.length>0?at.end(e,[]):[0],bt=(e,t)=>{var[n]=at.node(e,t);return e=>e===n},Ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?St(e):e,o=vt.None,i=vt.None,a=0,s=null;for(var l of r){var u=l.codePointAt(0);if(!u)break;var c=jt(l,u);if([o,i]=n?[i,c]:[c,o],Ht(o,vt.ZWJ)&&Ht(i,vt.ExtPict)&&!Wt(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(Ht(o,vt.RI)&&Ht(i,vt.RI)&&!(s=null!==s?!s:!!n||qt(e.substring(0,e.length-a))))break;if(o!==vt.None&&i!==vt.None&&zt(o,i))break;a+=l.length}return a||1},Tt=/\s/,kt=/[\u002B\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]/,At=/['\u2018\u2019]/,xt=(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)]},Dt=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Tt.test(t))return!1;if(At.test(t)){var o=Ct(n,r),[i,a]=xt(n,o,r);if(e(i,a,r))return!0}return!kt.test(t)},St=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(wt(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(_t(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},_t=e=>e>=55296&&e<=56319,wt=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"}(vt||(vt={}));var Ot=/^(?:[\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\u0898-\u089F\u08CA-\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\u0C3C\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-\u0ECE\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\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\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-\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\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\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\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\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\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,Nt=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,Pt=/^(?:[\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])$/,Rt=/^[\u1100-\u115F\uA960-\uA97C]$/,Bt=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,Ft=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,It=/^[\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]$/,Mt=/^[\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]$/,Lt=/^(?:[\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])$/,jt=(e,t)=>{var n=vt.Any;return-1!==e.search(Ot)&&(n|=vt.Extend),8205===t&&(n|=vt.ZWJ),t>=127462&&t<=127487&&(n|=vt.RI),-1!==e.search(Nt)&&(n|=vt.Prepend),-1!==e.search(Pt)&&(n|=vt.SpacingMark),-1!==e.search(Rt)&&(n|=vt.L),-1!==e.search(Bt)&&(n|=vt.V),-1!==e.search(Ft)&&(n|=vt.T),-1!==e.search(It)&&(n|=vt.LV),-1!==e.search(Mt)&&(n|=vt.LVT),-1!==e.search(Lt)&&(n|=vt.ExtPict),n};function Ht(e,t){return 0!==(e&t)}var Ut=[[vt.L,vt.L|vt.V|vt.LV|vt.LVT],[vt.LV|vt.V,vt.V|vt.T],[vt.LVT|vt.T,vt.T],[vt.Any,vt.Extend|vt.ZWJ],[vt.Any,vt.SpacingMark],[vt.Prepend,vt.Any],[vt.ZWJ,vt.ExtPict],[vt.RI,vt.RI]];function zt(e,t){return-1===Ut.findIndex(n=>Ht(e,n[0])&&Ht(t,n[1]))}var Gt=/(?:[\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\u0898-\u089F\u08CA-\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\u0C3C\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-\u0ECE\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\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\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-\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\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\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\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\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\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Wt=e=>-1!==e.search(Gt),Kt=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,qt=e=>{var t=e.match(Kt);return null!==t&&t[0].length/2%2==1},$t={delete(e,t){e.delete(t)},insertFragment(e,t,n){e.insertFragment(t,n)},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=Et(e)}=n;if(Pe.isPath(o)&&(o=at.range(e,o)),Qe.isRange(o))if(Qe.isCollapsed(o))o=o.anchor;else{var i=Qe.end(o);if(!r&&at.void(e,{at:i}))return;var a=Qe.start(o),s=at.pointRef(e,a),l=at.pointRef(e,i);Xt.delete(e,{at:o,voids:r});var u=s.unref(),c=l.unref();o=u||c,Xt.setSelection(e,{anchor:o,focus:o})}if(!(!r&&at.void(e,{at:o})||at.elementReadOnly(e,{at:o}))){var{path:d,offset:f}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:f,text:t})}})}};function Vt(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 Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Xt=Yt(Yt(Yt(Yt({},Ge),We),Ke),$t),Qt=new WeakMap;function Jt(e,t,n){var r,o,i=xe.get(e)||[],a=De.get(e)||new Set,s=e=>{if(e){var t=e.join(",");o.has(t)||(o.add(t),r.push(e))}};if(n)for(var l of(r=[],o=new Set,i))s(n(l));else r=i,o=a;for(var u of t)s(u);xe.set(e,r),De.set(e,o)}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}function en(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){Be(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}function tn(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 nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rn(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 on(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function an(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 sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?an(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):an(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ln(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 un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cn(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 dn=["text"],fn=["text"];function pn(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 hn(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 mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var gn=["text"],vn=["children"],yn=(e,t)=>{if(Ze.isElement(t)){var n=t;return!!at.isVoid(e,t)||1===n.children.length&&yn(e,n.children[0])}return!at.isEditor(t)};function En(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 bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cn=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{for(var n of at.pathRefs(e))Te.transform(n,t);for(var r of at.pointRefs(e))ke.transform(r,t);for(var o of at.rangeRefs(e))Ae.transform(o,t);if(!(e=>Qt.get(e)||!1)(e)){var i=Pe.operationCanTransformPath(t)?e=>Pe.transform(e,t):void 0;Jt(e,e.getDirtyPaths(t),i)}Xt.transform(e,t),e.operations.push(t),at.normalize(e,{operation:t}),"set_selection"===t.type&&(e.marks=null),Se.get(e)||(Se.set(e,!0),Promise.resolve().then(()=>{Se.set(e,!1),e.onChange({operation:t}),e.operations=[]}))})(e,...n)},addMark:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var{selection:r}=e;if(r){var o=(t,n)=>{if(!yt.isText(t))return!1;var[r,o]=at.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},i=Qe.isExpanded(r),a=!1;if(!i){var[s,l]=at.node(e,r);if(s&&o(s,l)){var[u]=at.parent(e,l);a=u&&e.markableVoid(u)}}if(i||a)Xt.setNodes(e,{[t]:n},{match:o,split:!0,voids:!0});else{var c=en(en({},at.marks(e)||{}),{},{[t]:n});e.marks=c,Se.get(e)||e.onChange()}}})(e,...n)},deleteBackward:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;n&&Qe.isCollapsed(n)&&Xt.delete(e,{unit:t,reverse:!0})})(e,...n)},deleteForward:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;n&&Qe.isCollapsed(n)&&Xt.delete(e,{unit:t})})(e,...n)},deleteFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var{direction:t="forward"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e;n&&Qe.isExpanded(n)&&Xt.delete(e,{reverse:"backward"===t})}(e,...n)},getFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var{selection:t}=e;return t?nt.fragment(e,t):[]})(e,...n)},insertBreak:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{Xt.splitNodes(e,{always:!0})})(e,...n)},insertSoftBreak:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{Xt.splitNodes(e,{always:!0})})(e,...n)},insertFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=Et(e),batchDirty:a=!0}=n;if(t.length){if(Qe.isRange(i))if(r||(i=at.unhangRange(e,i,{voids:o})),Qe.isCollapsed(i))i=i.anchor;else{var[,s]=Qe.edges(i);if(!o&&at.void(e,{at:s}))return;var l=at.pointRef(e,s);Xt.delete(e,{at:i}),i=l.unref()}else Pe.isPath(i)&&(i=at.start(e,i));if(o||!at.void(e,{at:i})){var u=at.above(e,{at:i,match:t=>Ze.isElement(t)&&at.isInline(e,t),mode:"highest",voids:o});if(u){var[,c]=u;at.isEnd(e,i,c)?i=at.after(e,c):at.isStart(e,i,c)&&(i=at.before(e,c))}var d=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:i,voids:o}),[,f]=d,p=at.isStart(e,i,f),h=at.isEnd(e,i,f),m=p&&h,[,g]=nt.first({children:t},[]),[,v]=nt.last({children:t},[]),y=t=>{var[n,r]=t;return!(0===r.length||!m&&(!p&&Pe.isAncestor(r,g)&&Ze.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)||!h&&Pe.isAncestor(r,v)&&Ze.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))},E=!0,b=[],C=[],T=[];for(var k of nt.nodes({children:t},{pass:y})){var[A,x]=k;E&&Ze.isElement(A)&&!e.isInline(A)&&!Pe.isAncestor(x,g)&&(E=!1),y(k)&&(Ze.isElement(A)&&!e.isInline(A)?(E=!1,C.push(A)):E?b.push(A):T.push(A))}var[D]=at.nodes(e,{at:i,match:t=>yt.isText(t)||at.isInline(e,t),mode:"highest",voids:o}),[,S]=D,_=at.isStart(e,i,S),w=at.isEnd(e,i,S),O=at.pathRef(e,h&&!T.length?Pe.next(f):f),N=at.pathRef(e,w?Pe.next(S):S),P=T.length>0;Xt.splitNodes(e,{at:i,match:t=>P?Ze.isElement(t)&&at.isBlock(e,t):yt.isText(t)||at.isInline(e,t),mode:P?"lowest":"highest",always:P&&(!p||b.length>0)&&(!h||T.length>0),voids:o});var R,B=at.pathRef(e,!_||_&&w?Pe.next(S):S);if(Xt.insertNodes(e,b,{at:B.current,match:t=>yt.isText(t)||at.isInline(e,t),mode:"highest",voids:o,batchDirty:a}),m&&!b.length&&C.length&&!T.length&&Xt.delete(e,{at:f,voids:o}),Xt.insertNodes(e,C,{at:O.current,match:t=>Ze.isElement(t)&&at.isBlock(e,t),mode:"lowest",voids:o,batchDirty:a}),Xt.insertNodes(e,T,{at:N.current,match:t=>yt.isText(t)||at.isInline(e,t),mode:"highest",voids:o,batchDirty:a}),!n.at&&(T.length>0&&N.current?R=Pe.previous(N.current):C.length>0&&O.current?R=Pe.previous(O.current):B.current&&(R=Pe.previous(B.current)),R)){var F=at.end(e,R);Xt.select(e,F)}B.unref(),O.unref(),N.unref()}}})}(e,...n)},insertNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{Xt.insertNodes(e,t,n)})(e,...n)},insertText:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r,marks:o}=e;if(r){if(o){var i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({text:t},o);Xt.insertNodes(e,i,{at:n.at,voids:n.voids})}else Xt.insertText(e,t,n);e.marks=null}}(e,...n)},normalizeNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var[r,o]=t;if(!yt.isText(r))if(Ze.isElement(r)&&0===r.children.length)Xt.insertNodes(e,{text:""},{at:o.concat(0),voids:!0});else for(var i=!at.isEditor(r)&&Ze.isElement(r)&&(e.isInline(r)||0===r.children.length||yt.isText(r.children[0])||e.isInline(r.children[0])),a=0,s=0;s<r.children.length;s++,a++){var l=nt.get(e,o);if(!yt.isText(l)){var u=l.children[a],c=l.children[a-1],d=s===r.children.length-1,f=yt.isText(u)||Ze.isElement(u)&&e.isInline(u);f!==i?(f?null!=n&&n.fallbackElement?Xt.wrapNodes(e,n.fallbackElement(),{at:o.concat(a),voids:!0}):Xt.removeNodes(e,{at:o.concat(a),voids:!0}):Xt.unwrapNodes(e,{at:o.concat(a),voids:!0}),a--):Ze.isElement(u)?e.isInline(u)&&(null!=c&&yt.isText(c)?d&&(Xt.insertNodes(e,{text:""},{at:o.concat(a+1),voids:!0}),a++):(Xt.insertNodes(e,{text:""},{at:o.concat(a),voids:!0}),a++)):(yt.isText(u)||"children"in u||(u.children=[]),null!=c&&yt.isText(c)&&(yt.equals(u,c,{loose:!0})?(Xt.mergeNodes(e,{at:o.concat(a),voids:!0}),a--):""===c.text?(Xt.removeNodes(e,{at:o.concat(a-1),voids:!0}),a--):""===u.text&&(Xt.removeNodes(e,{at:o.concat(a),voids:!0}),a--)))}}})(e,...n)},removeMark:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!yt.isText(t))return!1;var[r,o]=at.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},o=Qe.isExpanded(n),i=!1;if(!o){var[a,s]=at.node(e,n);if(a&&r(a,s)){var[l]=at.parent(e,s);i=l&&e.markableVoid(l)}}if(o||i)Xt.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},at.marks(e)||{});delete u[t],e.marks=u,Se.get(e)||e.onChange()}}})(e,...n)},getDirtyPaths:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:n}=t;return Pe.levels(n);case"insert_node":var{node:r,path:o}=t,i=Pe.levels(o),a=yt.isText(r)?[]:Array.from(nt.nodes(r),e=>{var[,t]=e;return o.concat(t)});return[...i,...a];case"merge_node":var{path:s}=t;return[...Pe.ancestors(s),Pe.previous(s)];case"move_node":var{path:l,newPath:u}=t;if(Pe.equals(l,u))return[];var c=[],d=[];for(var f of Pe.ancestors(l)){var p=Pe.transform(f,t);c.push(p)}for(var h of Pe.ancestors(u)){var m=Pe.transform(h,t);d.push(m)}var g=d[d.length-1],v=u[u.length-1],y=g.concat(v);return[...c,...d,y];case"remove_node":var{path:E}=t;return[...Pe.ancestors(E)];case"split_node":var{path:b}=t;return[...Pe.levels(b),Pe.next(b)];default:return[]}})(e,...n)},shouldNormalize:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{iteration:n,initialDirtyPathsLength:r}=t,o=42*r;if(n>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0})(e,...n)},above:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=at.path(e,o);if(!Qe.isRange(o)||Pe.equals(o.focus.path,o.anchor.path)){if(0===a.length)return;a=Pe.parent(a)}var s="lowest"===r,[l]=at.levels(e,{at:a,voids:n,match:i,reverse:s});return l}}(e,...n)},after:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:at.point(e,t,{edge:"end"}),focus:at.end(e,[])},{distance:i=1}=r,a=0;for(var s of at.positions(e,nn(nn({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=s),a++}return n}(e,...n)},before:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:at.start(e,[]),focus:at.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var s of at.positions(e,on(on({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=s),a++}return n}(e,...n)},collapse:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)Xt.select(e,r.anchor);else if("focus"===n)Xt.select(e,r.focus);else if("start"===n){var[o]=Qe.edges(r);Xt.select(e,o)}else if("end"===n){var[,i]=Qe.edges(r);Xt.select(e,i)}}(e,...n)},delete:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.withoutNormalizing(e,()=>{var n,r,{reverse:o=!1,unit:i="character",distance:a=1,voids:s=!1}=t,{at:l=e.selection,hanging:u=!1}=t;if(l){var c=!1;if(Qe.isRange(l)&&Qe.isCollapsed(l)&&(c=!0,l=l.anchor),ct.isPoint(l)){var d=at.void(e,{at:l,mode:"highest"});if(!s&&d){var[,f]=d;l=f}else{var p={unit:i,distance:a};l={anchor:l,focus:o?at.before(e,l,p)||at.start(e,[]):at.after(e,l,p)||at.end(e,[])},u=!0}}if(Pe.isPath(l))Xt.removeNodes(e,{at:l,voids:s});else if(!Qe.isCollapsed(l)){if(!u){var[,h]=Qe.edges(l),m=at.end(e,[]);ct.equals(h,m)||(l=at.unhangRange(e,l,{voids:s}))}var[g,v]=Qe.edges(l),y=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:g,voids:s}),E=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:v,voids:s}),b=y&&E&&!Pe.equals(y[1],E[1]),C=Pe.equals(g.path,v.path),T=s?null:null!==(n=at.void(e,{at:g,mode:"highest"}))&&void 0!==n?n:at.elementReadOnly(e,{at:g,mode:"highest"}),k=s?null:null!==(r=at.void(e,{at:v,mode:"highest"}))&&void 0!==r?r:at.elementReadOnly(e,{at:v,mode:"highest"});if(T){var A=at.before(e,g);A&&y&&Pe.isAncestor(y[1],A.path)&&(g=A)}if(k){var x=at.after(e,v);x&&E&&Pe.isAncestor(E[1],x.path)&&(v=x)}var D,S=[];for(var _ of at.nodes(e,{at:l,voids:s})){var[w,O]=_;D&&0===Pe.compare(O,D)||(!s&&Ze.isElement(w)&&(at.isVoid(e,w)||at.isElementReadOnly(e,w))||!Pe.isCommon(O,g.path)&&!Pe.isCommon(O,v.path))&&(S.push(_),D=O)}var N=Array.from(S,t=>{var[,n]=t;return at.pathRef(e,n)}),P=at.pointRef(e,g),R=at.pointRef(e,v),B="";if(!C&&!T){var F=P.current,[I]=at.leaf(e,F),{path:M}=F,{offset:L}=g,j=I.text.slice(L);j.length>0&&(e.apply({type:"remove_text",path:M,offset:L,text:j}),B=j)}if(N.reverse().map(e=>e.unref()).filter(e=>null!==e).forEach(t=>Xt.removeNodes(e,{at:t,voids:s})),!k){var H=R.current,[U]=at.leaf(e,H),{path:z}=H,G=C?g.offset:0,W=U.text.slice(G,v.offset);W.length>0&&(e.apply({type:"remove_text",path:z,offset:G,text:W}),B=W)}!C&&b&&R.current&&P.current&&Xt.mergeNodes(e,{at:R.current,hanging:!0,voids:s}),c&&o&&"character"===i&&B.length>1&&B.match(/[\u0980-\u09FF\u0E00-\u0E7F\u1000-\u109F\u0900-\u097F\u1780-\u17FF\u0D00-\u0D7F\u0B00-\u0B7F\u0A00-\u0A7F\u0B80-\u0BFF\u0C00-\u0C7F]+/)&&Xt.insertText(e,B.slice(0,B.length-a));var K=P.unref(),q=R.unref(),$=o?K||q:q||K;null==t.at&&$&&Xt.select(e,$)}}})}(e,...n)},deselect:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})})(e,...n)},edges:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>[at.start(e,t),at.end(e,t)])(e,...n)},elementReadOnly:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return at.above(e,sn(sn({},t),{},{match:t=>Ze.isElement(t)&&at.isElementReadOnly(e,t)}))}(e,...n)},end:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>at.point(e,t,{edge:"end"}))(e,...n)},first:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.path(e,t,{edge:"start"});return at.node(e,n)})(e,...n)},fragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.range(e,t);return nt.fragment(e,n)})(e,...n)},getMarks:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var{marks:t,selection:n}=e;if(!n)return null;var{anchor:r,focus:o}=n;if(t)return t;if(Qe.isExpanded(n)){if(Qe.isBackward(n)&&([o,r]=[r,o]),at.isEnd(e,r,r.path)){var i=at.after(e,r);i&&(r=i)}var[a]=at.nodes(e,{match:yt.isText,at:{anchor:r,focus:o}});if(a){var[s]=a;return Ve(s,dn)}return{}}var{path:l}=r,[u]=at.leaf(e,l);if(0===r.offset){var c=at.previous(e,{at:l,match:yt.isText}),d=at.above(e,{match:t=>Ze.isElement(t)&&at.isVoid(e,t)&&e.markableVoid(t)});if(!d){var f=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)});if(c&&f){var[p,h]=c,[,m]=f;Pe.isAncestor(m,h)&&(u=p)}}}return Ve(u,fn)}(e,...n)},hasBlocks:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.some(t=>Ze.isElement(t)&&at.isBlock(e,t)))(e,...n)},hasInlines:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.some(t=>yt.isText(t)||at.isInline(e,t)))(e,...n)},hasPath:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>nt.has(e,t))(e,...n)},hasTexts:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.every(e=>yt.isText(e)))(e,...n)},insertNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest",batchDirty:a=!0}=n,{at:s,match:l,select:u}=n;if(nt.isNode(t)&&(t=[t]),0!==t.length){var[c]=t;if(s||(s=Et(e),!1!==u&&(u=!0)),null==u&&(u=!1),Qe.isRange(s))if(r||(s=at.unhangRange(e,s,{voids:o})),Qe.isCollapsed(s))s=s.anchor;else{var[,d]=Qe.edges(s),f=at.pointRef(e,d);Xt.delete(e,{at:s}),s=f.unref()}if(ct.isPoint(s)){null==l&&(l=yt.isText(c)?e=>yt.isText(e):e.isInline(c)?t=>yt.isText(t)||at.isInline(e,t):t=>Ze.isElement(t)&&at.isBlock(e,t));var[p]=at.nodes(e,{at:s.path,match:l,mode:i,voids:o});if(!p)return;var[,h]=p,m=at.pathRef(e,h),g=at.isEnd(e,s,h);Xt.splitNodes(e,{at:s,match:l,mode:i,voids:o});var v=m.unref();s=g?Pe.next(v):v}var y=Pe.parent(s),E=s[s.length-1];if(o||!at.void(e,{at:y})){if(a){var b=[],C=Pe.levels(y);((e,t,n)=>{var r=Qt.get(e)||!1;Qt.set(e,!0);try{t(),n()}finally{Qt.set(e,r)}})(e,()=>{var n=function(){var t=y.concat(E);E++;var n={type:"insert_node",path:t,node:r};e.apply(n),s=Pe.next(s),b.push(n),yt.isText(r)?C.push(t):C.push(...Array.from(nt.nodes(r),e=>{var[,n]=e;return t.concat(n)}))};for(var r of t)n()},()=>{Jt(e,C,e=>{var t=e;for(var n of b)if(Pe.operationCanTransformPath(n)&&!(t=Pe.transform(t,n)))return null;return t})})}else for(var T of t){var k=y.concat(E);E++,e.apply({type:"insert_node",path:k,node:T}),s=Pe.next(s)}if(s=Pe.previous(s),u){var A=at.end(e,s);A&&Xt.select(e,A)}}}})}(e,...n)},isBlock:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>!e.isInline(t))(e,...n)},isEdge:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>at.isStart(e,t,n)||at.isEnd(e,t,n))(e,...n)},isEmpty:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&yt.isText(r)&&""===r.text&&!e.isVoid(t)})(e,...n)},isEnd:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var r=at.end(e,n);return ct.equals(t,r)})(e,...n)},isNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=_e.get(e);return void 0===t||t})(e,...n)},isStart:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{if(0!==t.offset)return!1;var r=at.start(e,n);return ct.equals(t,r)})(e,...n)},last:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.path(e,t,{edge:"end"});return at.node(e,n)})(e,...n)},leaf:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=at.path(e,t,n);return[nt.leaf(e,r),r]}(e,...n)},levels:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=at.path(e,n);for(var[l,u]of nt.levels(e,s))if(i(l,u)&&(a.push([l,u]),!o&&Ze.isElement(l)&&at.isVoid(e,l)))break;r&&a.reverse(),yield*a}}()}(e,...n)},liftNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=Pe.isPath(n)?bt(e,n):t=>Ze.isElement(t)&&at.isBlock(e,t)),n){var a=at.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,t=>{var[,n]=t;return at.pathRef(e,n)});for(var l of s){var u=l.unref();if(u.length<2)throw new Error("Cannot lift node at a path [".concat(u,"] because it has a depth of less than `2`."));var c=at.node(e,Pe.parent(u)),[d,f]=c,p=u[u.length-1],{length:h}=d.children;if(1===h){var m=Pe.next(f);Xt.moveNodes(e,{at:u,to:m,voids:o}),Xt.removeNodes(e,{at:f,voids:o})}else if(0===p)Xt.moveNodes(e,{at:u,to:f,voids:o});else if(p===h-1){var g=Pe.next(f);Xt.moveNodes(e,{at:u,to:g,voids:o})}else{var v=Pe.next(u),y=Pe.next(f);Xt.splitNodes(e,{at:v,voids:o}),Xt.moveNodes(e,{at:u,to:y,voids:o})}}}})}(e,...n)},mergeNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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(Pe.isPath(r)){var[s]=at.parent(e,r);n=e=>s.children.includes(e)}else n=t=>Ze.isElement(t)&&at.isBlock(e,t);if(!o&&Qe.isRange(r)&&(r=at.unhangRange(e,r,{voids:i})),Qe.isRange(r))if(Qe.isCollapsed(r))r=r.anchor;else{var[,l]=Qe.edges(r),u=at.pointRef(e,l);Xt.delete(e,{at:r}),r=u.unref(),null==t.at&&Xt.select(e,r)}var[c]=at.nodes(e,{at:r,match:n,voids:i,mode:a}),d=at.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&d){var[f,p]=c,[h,m]=d;if(0!==p.length&&0!==m.length){var g,v,y=Pe.next(m),E=Pe.common(p,m),b=Pe.isSibling(p,m),C=Array.from(at.levels(e,{at:p}),e=>{var[t]=e;return t}).slice(E.length).slice(0,-1),T=at.above(e,{at:p,mode:"highest",match:t=>C.includes(t)&&yn(e,t)}),k=T&&at.pathRef(e,T[1]);if(yt.isText(f)&&yt.isText(h)){var A=Ve(f,gn);v=h.text.length,g=A}else{if(!Ze.isElement(f)||!Ze.isElement(h))throw new Error("Cannot merge the node at path [".concat(p,"] with the previous sibling because it is not the same kind: ").concat(ft.stringify(f)," ").concat(ft.stringify(h)));A=Ve(f,vn),v=h.children.length,g=A}b||Xt.moveNodes(e,{at:p,to:y,voids:i}),k&&Xt.removeNodes(e,{at:k.current,voids:i}),at.shouldMergeNodesRemovePrevNode(e,d,c)?Xt.removeNodes(e,{at:m,voids:i}):e.apply({type:"merge_node",path:y,position:v,properties:g}),k&&k.unref()}}}})}(e,...n)},move:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=Qe.isBackward(n)?"focus":"anchor"),"end"===a&&(a=Qe.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,u={distance:r,unit:o},c={};if(null==a||"anchor"===a){var d=i?at.before(e,s,u):at.after(e,s,u);d&&(c.anchor=d)}if(null==a||"focus"===a){var f=i?at.before(e,l,u):at.after(e,l,u);f&&(c.focus=f)}Xt.setSelection(e,c)}}(e,...n)},moveNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{at.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=Pe.isPath(r)?bt(e,r):t=>Ze.isElement(t)&&at.isBlock(e,t));var s=at.pathRef(e,n),l=at.nodes(e,{at:r,match:a,mode:o,voids:i}),u=Array.from(l,t=>{var[,n]=t;return at.pathRef(e,n)});for(var c of u){var d=c.unref(),f=s.current;0!==d.length&&e.apply({type:"move_node",path:d,newPath:f}),s.current&&Pe.isSibling(f,d)&&Pe.isAfter(f,d)&&(s.current=Pe.next(s.current))}s.unref()}})})(e,...n)},next:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=at.after(e,i,{voids:r});if(a){var[,s]=at.last(e,[]),l=[a.path,s];if(Pe.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(Pe.isPath(i)){var[u]=at.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=at.nodes(e,{at:l,match:o,mode:n,voids:r});return c}}}(e,...n)},node:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=at.path(e,t,n);return[nt.get(e,r),r]}(e,...n)},nodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1,pass:s}=t,{match:l}=t;if(l||(l=()=>!0),n){var u,c;if(st(n))u=n[0],c=n[1];else{var d=at.path(e,n,{edge:"start"}),f=at.path(e,n,{edge:"end"});u=i?f:d,c=i?d:f}var p,h=nt.nodes(e,{reverse:i,from:u,to:c,pass:t=>{var[n,r]=t;return!(!s||!s([n,r]))||!!Ze.isElement(n)&&!(a||!at.isVoid(e,n)&&!at.isElementReadOnly(e,n))}}),m=[];for(var[g,v]of h){var y=p&&0===Pe.compare(v,p[1]);if("highest"!==r||!y)if(l(g,v))if("lowest"===r&&y)p=[g,v];else{var E="lowest"===r?p:[g,v];E&&(o?m.push(E):yield E),p=[g,v]}else if(o&&!y&&yt.isText(g))return}"lowest"===r&&p&&(o?m.push(p):yield p),o&&(yield*m)}}()}(e,...n)},normalize:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1,operation:r}=t,o=e=>xe.get(e)||[],i=e=>{var t=o(e).pop(),n=t.join(",");return(e=>De.get(e)||new Set)(e).delete(n),t};if(at.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(",")));xe.set(e,a),De.set(e,s)}0!==o(e).length&&at.withoutNormalizing(e,()=>{for(var t of o(e))if(nt.has(e,t)){var n=at.node(e,t),[a,s]=n;Ze.isElement(a)&&0===a.children.length&&e.normalizeNode(n,{operation:r})}for(var l=o(e),u=l.length,c=0;0!==l.length;){if(!e.shouldNormalize({dirtyPaths:l,iteration:c,initialDirtyPathsLength:u,operation:r}))return;var d=i(e);if(nt.has(e,d)){var f=at.node(e,d);e.normalizeNode(f,{operation:r})}c++,l=o(e)}})}}(e,...n)},parent:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=at.path(e,t,n),o=Pe.parent(r);return at.node(e,o)}(e,...n)},path:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(Pe.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 Qe.isRange(t)&&(t="start"===o?Qe.start(t):"end"===o?Qe.end(t):Pe.common(t.anchor.path,t.focus.path)),ct.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t}(e,...n)},pathRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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 at.pathRefs(e).delete(o),o.current=null,t}};return at.pathRefs(e).add(o),o}(e,...n)},pathRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=we.get(e);return t||(t=new Set,we.set(e,t)),t})(e,...n)},point:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(Pe.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(!yt.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(Qe.isRange(t)){var[l,u]=Qe.edges(t);return"start"===r?l:u}return t}(e,...n)},pointRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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 at.pointRefs(e).delete(o),o.current=null,t}};return at.pointRefs(e).add(o),o}(e,...n)},pointRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=Oe.get(e);return t||(t=new Set,Oe.set(e,t)),t})(e,...n)},positions:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=at.range(e,n),[s,l]=Qe.edges(a),u=o?l:s,c=!1,d="",f=0,p=0,h=0,m=[],g=function*(t){var n=m.some(e=>Pe.isAncestor(e,t));function*a(e){n||(yield e)}if(Ze.isElement(v)){if(!e.isSelectable(v)){if(m.push(t),o)return Pe.hasPrevious(t)&&(yield*a(at.end(e,Pe.previous(t)))),0;var g=Pe.next(t);return at.hasPath(e,g)&&(yield*a(at.start(e,g))),0}if(!i&&(e.isVoid(v)||e.isElementReadOnly(v)))return yield*a(at.start(e,t)),0;if(e.isInline(v))return 0;if(at.hasInlines(e,v)){var y=Pe.isAncestor(t,l.path)?l:at.end(e,t),b=Pe.isAncestor(t,s.path)?s:at.start(e,t);d=at.string(e,{anchor:b,focus:y},{voids:i}),c=!0}}if(yt.isText(v)){var C=Pe.equals(t,u.path);for(C?(p=o?u.offset:v.text.length-u.offset,h=u.offset):(p=v.text.length,h=o?p:0),(C||c||"offset"===r)&&(yield*a({path:t,offset:h}),c=!1);;){if(0===f){if(""===d)break;f=E(d,r,o),d=xt(d,f,o)[1]}if(h=o?h-f:h+f,(p-=f)<0){f=-p;break}f=0,yield*a({path:t,offset:h})}}};for(var[v,y]of at.nodes(e,{at:n,reverse:o,voids:i}))yield*g(y)}function E(e,t,n){return"character"===t?Ct(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=Ct(e,t),[i,a]=xt(e,o,t);if(Dt(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}}()}(e,...n)},previous:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=at.before(e,i,{voids:r});if(a){var[,s]=at.first(e,[]),l=[a.path,s];if(Pe.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(Pe.isPath(i)){var[u]=at.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=at.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return c}}}(e,...n)},range:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>Qe.isRange(t)&&!n?t:{anchor:at.start(e,t),focus:at.end(e,n||t)})(e,...n)},rangeRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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 at.rangeRefs(e).delete(o),o.current=null,t}};return at.rangeRefs(e).add(o),o}(e,...n)},rangeRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=Ne.get(e);return t||(t=new Set,Ne.set(e,t)),t})(e,...n)},removeNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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=Pe.isPath(i)?bt(e,i):t=>Ze.isElement(t)&&at.isBlock(e,t)),!n&&Qe.isRange(i)&&(i=at.unhangRange(e,i,{voids:r}));var s=at.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,t=>{var[,n]=t;return at.pathRef(e,n)});for(var u of l){var c=u.unref();if(c){var[d]=at.node(e,c);e.apply({type:"remove_node",path:c,node:d})}}}})}(e,...n)},select:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;if(t=at.range(e,t),n)Xt.setSelection(e,t);else{if(!Qe.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(ft.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}})(e,...n)},setNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection,compare:i,merge:a}=n,{hanging:s=!1,mode:l="lowest",split:u=!1,voids:c=!1}=n;if(o){if(null==r&&(r=Pe.isPath(o)?bt(e,o):t=>Ze.isElement(t)&&at.isBlock(e,t)),!s&&Qe.isRange(o)&&(o=at.unhangRange(e,o,{voids:c})),u&&Qe.isRange(o)){if(Qe.isCollapsed(o)&&at.leaf(e,o.anchor)[0].text.length>0)return;var d=at.rangeRef(e,o,{affinity:"inward"}),[f,p]=Qe.edges(o),h="lowest"===l?"lowest":"highest",m=at.isEnd(e,p,p.path);Xt.splitNodes(e,{at:p,match:r,mode:h,voids:c,always:!m});var g=at.isStart(e,f,f.path);Xt.splitNodes(e,{at:f,match:r,mode:h,voids:c,always:!g}),o=d.unref(),null==n.at&&Xt.select(e,o)}for(var[v,y]of(i||(i=(e,t)=>e!==t),at.nodes(e,{at:o,match:r,mode:l,voids:c}))){var E={},b={};if(0!==y.length){var C=!1;for(var T in t)"children"!==T&&"text"!==T&&i(t[T],v[T])&&(C=!0,v.hasOwnProperty(T)&&(E[T]=v[T]),a?null!=t[T]&&(b[T]=a(v[T],t[T])):null!=t[T]&&(b[T]=t[T]));C&&e.apply({type:"set_node",path:y,properties:E,newProperties:b})}}}})}(e,...n)},setNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{_e.set(e,t)})(e,...n)},setPoint:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=Qe.isBackward(r)?"focus":"anchor"),"end"===o&&(o=Qe.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;Xt.setSelection(e,{["anchor"===o?"anchor":"focus"]:mn(mn({},s),t)})}}(e,...n)},setSelection:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!ct.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!ct.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})}})(e,...n)},splitNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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=>Ze.isElement(t)&&at.isBlock(e,t)),Qe.isRange(i)&&(i=((e,t)=>{if(Qe.isCollapsed(t))return t.anchor;var[,n]=Qe.edges(t),r=at.pointRef(e,n);return Xt.delete(e,{at:t}),r.unref()})(e,i)),Pe.isPath(i)){var l=i,u=at.point(e,l),[c]=at.parent(e,l);o=e=>e===c,a=u.path.length-l.length+1,i=u,s=!0}if(i){var d,f=at.pointRef(e,i,{affinity:"backward"});try{var[p]=at.nodes(e,{at:i,match:o,mode:n,voids:r});if(!p)return;var h=at.void(e,{at:i,mode:"highest"});if(!r&&h){var[m,g]=h;if(Ze.isElement(m)&&e.isInline(m)){var v=at.after(e,g);if(!v){var y=Pe.next(g);Xt.insertNodes(e,{text:""},{at:y,voids:r}),v=at.point(e,y)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}d=at.pointRef(e,i);var E=i.path.length-a,[,b]=p,C=i.path.slice(0,E),T=0===a?i.offset:i.path[E]+0;for(var[k,A]of at.levels(e,{at:C,reverse:!0,voids:r})){var x=!1;if(A.length<b.length||0===A.length||!r&&Ze.isElement(k)&&at.isVoid(e,k))break;var D=f.current,S=at.isEnd(e,D,A);if(s||!f||!at.isEdge(e,D,A)){x=!0;var _=nt.extractProps(k);e.apply({type:"split_node",path:A,position:T,properties:_})}T=A[A.length-1]+(x||S?1:0)}if(null==t.at){var w=d.current||at.end(e,[]);Xt.select(e,w)}}finally{var O;f.unref(),null===(O=d)||void 0===O||O.unref()}}})}(e,...n)},start:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>at.point(e,t,{edge:"start"}))(e,...n)},string:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=at.range(e,t),[i,a]=Qe.edges(o),s="";for(var[l,u]of at.nodes(e,{at:o,match:yt.isText,voids:r})){var c=l.text;Pe.equals(u,a.path)&&(c=c.slice(0,a.offset)),Pe.equals(u,i.path)&&(c=c.slice(i.offset)),s+=c}return s}(e,...n)},unhangRange:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=Qe.edges(t);if(0!==o.offset||0!==i.offset||Qe.isCollapsed(t)||Pe.hasPrevious(i.path))return t;var a=at.above(e,{at:i,match:t=>Ze.isElement(t)&&at.isBlock(e,t),voids:r}),s=a?a[1]:[],l={anchor:at.start(e,o),focus:i},u=!0;for(var[c,d]of at.nodes(e,{at:l,match:yt.isText,reverse:!0,voids:r}))if(u)u=!1;else if(""!==c.text||Pe.isBefore(d,s)){i={path:d,offset:c.text.length};break}return{anchor:o,focus:i}}(e,...n)},unsetNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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;Xt.setNodes(e,r,n)}(e,...n)},unwrapNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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=Pe.isPath(i)?bt(e,i):t=>Ze.isElement(t)&&at.isBlock(e,t)),Pe.isPath(i)&&(i=at.range(e,i));var s=Qe.isRange(i)?at.rangeRef(e,i):null,l=at.nodes(e,{at:i,match:a,mode:n,voids:o}),u=Array.from(l,t=>{var[,n]=t;return at.pathRef(e,n)}).reverse(),c=function(){var t=d.unref(),[n]=at.node(e,t),i=at.range(e,t);r&&s&&(i=Qe.intersection(s.current,i)),Xt.liftNodes(e,{at:i,match:e=>Ze.isAncestor(n)&&n.children.includes(e),voids:o})};for(var d of u)c();s&&s.unref()}})}(e,...n)},void:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return at.above(e,un(un({},t),{},{match:t=>Ze.isElement(t)&&at.isVoid(e,t)}))}(e,...n)},withoutNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.isNormalizing(e);at.setNormalizing(e,!1);try{t()}finally{at.setNormalizing(e,n)}at.normalize(e)})(e,...n)},wrapNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.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=Pe.isPath(s)?bt(e,s):e.isInline(t)?t=>Ze.isElement(t)&&at.isInline(e,t)||yt.isText(t):t=>Ze.isElement(t)&&at.isBlock(e,t)),o&&Qe.isRange(s)){var[l,u]=Qe.edges(s),c=at.rangeRef(e,s,{affinity:"inward"}),d=t=>{var n=at.above(e,{at:t,match:t=>Ze.isElement(t)&&at.isBlock(e,t)});return n&&at.isEdge(e,t,n[1])};Xt.splitNodes(e,{at:u,match:a,voids:i,always:!d(u)}),Xt.splitNodes(e,{at:l,match:a,voids:i,always:!d(l)}),s=c.unref(),null==n.at&&Xt.select(e,s)}var f=Array.from(at.nodes(e,{at:s,match:e.isInline(t)?t=>Ze.isElement(t)&&at.isBlock(e,t):e=>at.isEditor(e),mode:"lowest",voids:i})),p=function(){var n=Qe.isRange(s)?Qe.intersection(s,at.range(e,h)):s;if(!n)return 0;var o=Array.from(at.nodes(e,{at:n,match:a,mode:r,voids:i}));if(o.length>0){var[l]=o,u=o[o.length-1],[,c]=l,[,d]=u;if(0===c.length&&0===d.length)return 0;var f=Pe.equals(c,d)?Pe.parent(c):Pe.common(c,d),p=at.range(e,c,d),m=at.node(e,f),[g]=m,v=f.length+1,y=Pe.next(d.slice(0,v)),E=bn(bn({},t),{},{children:[]});Xt.insertNodes(e,E,{at:y,voids:i}),Xt.moveNodes(e,{at:p,match:e=>Ze.isAncestor(g)&&g.children.includes(e),to:y.concat(0),voids:i})}};for(var[,h]of f)p()}})}(e,...n)},shouldMergeNodesRemovePrevNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var[n,r]=t;return Ze.isElement(n)&&at.isEmpty(e,n)||yt.isText(n)&&""===n.text&&0!==r[r.length-1]})(e,...n)}};return e},Tn=u(8663),kn=u.n(Tn),An=u(12784),xn=u.n(An),Dn=u(97331),Sn=u.n(Dn);const _n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,wn=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,On=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return wn(n.overflowY,t)||wn(n.overflowX,t)||(e=>{const t=(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},Nn=(e,t,n,r,o,i,a,s)=>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,Pn=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},Rn=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!_n(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let h=e;for(;_n(h)&&d(h);){if(h=Pn(h),h===f){p.push(h);break}null!=h&&h===document.body&&On(h)&&!On(document.documentElement)||null!=h&&On(h,c)&&p.push(h)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:v,scrollY:y}=window,{height:E,width:b,top:C,right:T,bottom:k,left:A}=e.getBoundingClientRect(),{top:x,right:D,bottom:S,left:_}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let w="start"===s||"nearest"===s?C-x:"end"===s?k+S:C+E/2-x+S,O="center"===l?A+b/2-_+D:"end"===l?T+D:A-_;const N=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:o,right:i,bottom:u,left:c}=t.getBoundingClientRect();if("if-needed"===a&&C>=0&&A>=0&&k<=g&&T<=m&&(t===f&&!On(t)||C>=o&&k<=u&&A>=c&&T<=i))return N;const d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),x=parseInt(d.borderTopWidth,10),D=parseInt(d.borderRightWidth,10),S=parseInt(d.borderBottomWidth,10);let _=0,P=0;const R="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-D:0,B="offsetHeight"in t?t.offsetHeight-t.clientHeight-x-S:0,F="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,I="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)_="start"===s?w:"end"===s?w-g:"nearest"===s?Nn(y,y+g,g,x,S,y+w,y+w+E,E):w-g/2,P="start"===l?O:"center"===l?O-m/2:"end"===l?O-m:Nn(v,v+m,m,h,D,v+O,v+O+b,b),_=Math.max(0,_+y),P=Math.max(0,P+v);else{_="start"===s?w-o-x:"end"===s?w-u+S+B:"nearest"===s?Nn(o,u,n,x,S+B,w,w+E,E):w-(o+n/2)+B/2,P="start"===l?O-c-h:"center"===l?O-(c+r/2)+R/2:"end"===l?O-i+D+R:Nn(c,i,r,h,D+R,O,O+b,b);const{scrollLeft:e,scrollTop:a}=t;_=0===I?0:Math.max(0,Math.min(a+_/I,t.scrollHeight-n/I+B)),P=0===F?0:Math.max(0,Math.min(e+P/F,t.scrollWidth-r/F+R)),w+=a-_,O+=e-P}N.push({el:t,top:_,left:P})}return N};var Bn,Fn,In=u(12567),Mn=globalThis.Node,Ln=(globalThis.Element,globalThis.Text),jn=(globalThis.Range,globalThis.Selection,globalThis.StaticRange,e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null),Hn=e=>zn(e)&&8===e.nodeType,Un=e=>zn(e)&&1===e.nodeType,zn=e=>{var t=jn(e);return!!t&&e instanceof t.Node},Gn=e=>{var t=e&&e.anchorNode&&jn(e.anchorNode);return!!t&&e instanceof t.Selection},Wn=e=>zn(e)&&3===e.nodeType,Kn=(e,t,n)=>{for(var{childNodes:r}=e,o=r[t],i=t,a=!1,s=!1;(Hn(o)||Un(o)&&0===o.childNodes.length||Un(o)&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);)i>=r.length?(a=!0,i=t-1,n="backward"):i<0?(s=!0,i=t+1,n="forward"):(o=r[i],t=i,i+="forward"===n?1:-1);return[o,t]},qn=(e,t,n)=>{var[r]=Kn(e,t,n);return r},$n=e=>{var t="";if(Wn(e)&&e.nodeValue)return e.nodeValue;if(Un(e)){for(var n of Array.from(e.childNodes))t+=$n(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},Vn=/data-slate-fragment="(.+?)"/m,Yn=e=>null!=e.getSelection?e.getSelection():document.getSelection(),Xn=(e,t,n)=>{var{target:r}=t;if(Un(r)&&r.matches('[contentEditable="false"]'))return!1;var{document:o}=Hr.getWindow(e);if(o.contains(r))return Hr.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)&&Xn(e,i,n)},Qn=(e,t)=>Boolean(e.compareDocumentPosition(t)&Mn.DOCUMENT_POSITION_PRECEDING),Jn="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Zn="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),er="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),tr="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),nr="undefined"!=typeof navigator&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),rr="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),or="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),ir="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ar=er&&"undefined"!=typeof navigator&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),sr="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),lr="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),ur="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent)&&(!or||ir),cr=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement);"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&/Version\/(\d+)/.test(navigator.userAgent)&&null!==(Bn=navigator.userAgent.match(/Version\/(\d+)/))&&void 0!==Bn&&Bn[1]&&parseInt(null===(Fn=navigator.userAgent.match(/Version\/(\d+)/))||void 0===Fn?void 0:Fn[1],10);var dr=(!ir||!ar)&&!rr&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges;function fr(e){return fr="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},fr(e)}function pr(e,t,n){return(t=function(e){var t=function(e){if("object"!==fr(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==fr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===fr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hr=0;class mr{constructor(){pr(this,"id",void 0),this.id="".concat(hr++)}}var gr=new WeakMap,vr=new WeakMap,yr=new WeakMap,Er=new WeakMap,br=new WeakMap,Cr=new WeakMap,Tr=new WeakMap,kr=new WeakMap,Ar=new WeakMap,xr=new WeakMap,Dr=new WeakMap,Sr=new WeakMap,_r=new WeakMap,wr=new WeakMap,Or=new WeakMap,Nr=new WeakMap,Pr=new WeakMap,Rr=new WeakMap,Br=new WeakMap,Fr=new WeakMap,Ir=new WeakMap,Mr=new WeakMap,Lr=Symbol("placeholder"),jr=Symbol("mark-placeholder"),Hr={androidPendingDiffs:e=>Br.get(e),androidScheduleFlush:e=>{var t;null===(t=Nr.get(e))||void 0===t||t()},blur:e=>{var t=Hr.toDOMNode(e,e),n=Hr.findDocumentOrShadowRoot(e);Sr.set(e,!1),n.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,n=Hr.findDocumentOrShadowRoot(e),r=Yn(n);r&&r.rangeCount>0&&r.removeAllRanges(),t&&Xt.deselect(e)},findDocumentOrShadowRoot:e=>{var t=Hr.toDOMNode(e,e),n=t.getRootNode();return n instanceof Document||n instanceof ShadowRoot?n:t.ownerDocument},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=Hr.toSlateNode(e,t.target),s=Hr.findPath(e,a);if(Ze.isElement(a)&&at.isVoid(e,a)){var l=o.getBoundingClientRect(),u=e.isInline(a)?n-l.left<l.left+l.width-n:r-l.top<l.top+l.height-r,c=at.point(e,s,{edge:u?"start":"end"}),d=u?at.before(e,c):at.after(e,c);if(d)return at.range(e,d)}var{document:f}=Hr.getWindow(e);if(f.caretRangeFromPoint)i=f.caretRangeFromPoint(n,r);else{var p=f.caretPositionFromPoint(n,r);p&&((i=f.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return Hr.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},findKey:(e,t)=>{var n=Ar.get(t);return n||(n=new mr,Ar.set(t,n)),n},findPath:(e,t)=>{for(var n=[],r=t;;){var o=yr.get(r);if(null==o){if(at.isEditor(r))return n;break}var i=vr.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(ft.stringify(t)))},focus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{retries:5};if(!Sr.get(e)&&br.get(e)){if(t.retries<=0)throw new Error("Could not set focus, editor seems stuck with pending operations");if(e.operations.length>0)setTimeout(()=>{Hr.focus(e,{retries:t.retries-1})},10);else{var n=Hr.toDOMNode(e,e),r=Hr.findDocumentOrShadowRoot(e);if(r.activeElement!==n){if(e.selection&&r instanceof Document){var o=Yn(r),i=Hr.toDOMRange(e,e.selection);null==o||o.removeAllRanges(),null==o||o.addRange(i)}e.selection||Xt.select(e,at.start(e,[])),Sr.set(e,!0),n.focus({preventScroll:!0})}}}},getWindow:e=>{var t=Er.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=Hr.toDOMNode(e,e);try{n=Un(t)?t:t.parentElement}catch(e){if(e instanceof Error&&!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"))},hasEditableTarget:(e,t)=>zn(t)&&Hr.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>{var{anchor:n,focus:r}=t;return at.hasPath(e,n.path)&&at.hasPath(e,r.path)},hasSelectableTarget:(e,t)=>Hr.hasEditableTarget(e,t)||Hr.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>zn(t)&&Hr.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!_r.get(e),isFocused:e=>!!Sr.get(e),isReadOnly:e=>!!Dr.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(Dr.get(e))return!1;var n=Hr.hasTarget(e,t)&&Hr.toSlateNode(e,t);return Ze.isElement(n)&&at.isVoid(e,n)},setFragmentData:(e,t,n)=>e.setFragmentData(t,n),toDOMNode:(e,t)=>{var n=xr.get(e),r=at.isEditor(t)?br.get(e):null==n?void 0:n.get(Hr.findKey(e,t));if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(ft.stringify(t)));return r},toDOMPoint:(e,t)=>{var n,[r]=at.node(e,t.path),o=Hr.toDOMNode(e,r);at.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 l=i[s],u=l.childNodes[0];if(null!=u&&null!=u.textContent){var{length:c}=u.textContent,d=l.getAttribute("data-slate-length"),f=a+(null==d?c:parseInt(d,10)),p=i[s+1];if(t.offset===f&&null!=p&&p.hasAttribute("data-slate-mark-placeholder")){var h,m=p.childNodes[0];n=[m instanceof Ln?m:p,null!==(h=p.textContent)&&void 0!==h&&h.startsWith("\ufeff")?1:0];break}if(t.offset<=f){n=[u,Math.min(c,Math.max(0,t.offset-a))];break}a=f}}if(!n)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(ft.stringify(t)));return n},toDOMRange:(e,t)=>{var{anchor:n,focus:r}=t,o=Qe.isBackward(t),i=Hr.toDOMPoint(e,n),a=Qe.isCollapsed(t)?i:Hr.toDOMPoint(e,r),s=Hr.getWindow(e).document.createRange(),[l,u]=o?a:i,[c,d]=o?i:a,f=!!(Un(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),p=!!(Un(c)?c:c.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,f?1:u),s.setEnd(c,p?1:d),s},toSlateNode:(e,t)=>{var n=Un(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Tr.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},toSlatePoint:(e,t,n)=>{var{exactMatch:r,suppressThrow:o,searchDirection:i}=n,[a,s]=r?t:(e=>{var[t,n]=e;if(Un(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?n-1:n;for([t,o]=Kn(t,o,r?"backward":"forward"),r=o<n;Un(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=qn(t,i,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),l=a.parentNode,u=null,c=0;if(l){var d,f,p=Hr.toDOMNode(e,e),h=l.closest('[data-slate-void="true"]'),m=h&&p.contains(h)?h:null,g=l.closest('[contenteditable="false"]'),v=g&&p.contains(g)?g:null,y=l.closest("[data-slate-leaf]"),E=null;if(y){if(u=y.closest('[data-slate-node="text"]')){var b=Hr.getWindow(e).document.createRange();b.setStart(u,0),b.setEnd(a,s);var C=b.cloneContents();[...Array.prototype.slice.call(C.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(C.querySelectorAll("[contenteditable=false]"))].forEach(e=>{er&&!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)}),c=C.textContent.length,E=u}}else if(m){for(var T=m.querySelectorAll("[data-slate-leaf]"),k=0;k<T.length;k++){var A=T[k];if(Hr.hasDOMNode(e,A)){y=A;break}}y?(u=y.closest('[data-slate-node="text"]'),c=(E=y).textContent.length,E.querySelectorAll("[data-slate-zero-width]").forEach(e=>{c-=e.textContent.length})):c=1}else if(v){var x,D,S=e=>e?e.querySelectorAll("[data-slate-leaf]:not(:scope [data-slate-editor] [data-slate-leaf])"):[],_=v.closest('[data-slate-node="element"]');"backward"!==i&&i||(y=null!==(x=[...S(null==_?void 0:_.previousElementSibling),...S(_)].findLast(e=>Qn(v,e)))&&void 0!==x?x:null),"forward"!==i&&i||(y=null!==(D=[...S(_),...S(null==_?void 0:_.nextElementSibling)].find(e=>((e,t)=>Boolean(e.compareDocumentPosition(t)&Mn.DOCUMENT_POSITION_FOLLOWING))(v,e)))&&void 0!==D?D:null),y&&(u=y.closest('[data-slate-node="text"]'),E=y,"forward"===i?c=0:(c=E.textContent.length,E.querySelectorAll("[data-slate-zero-width]").forEach(e=>{c-=e.textContent.length})))}E&&c===E.textContent.length&&er&&"z"===E.getAttribute("data-slate-zero-width")&&null!==(d=E.textContent)&&void 0!==d&&d.startsWith("\ufeff")&&(l.hasAttribute("data-slate-zero-width")||tr&&null!==(f=E.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&c--}if(er&&!u&&!r){var w=l.hasAttribute("data-slate-node")?l:l.closest("[data-slate-node]");if(w&&Hr.hasDOMNode(e,w,{editable:!0})){var O=Hr.toSlateNode(e,w),{path:N,offset:P}=at.start(e,Hr.findPath(e,O));return w.querySelector("[data-slate-leaf]")||(P=s),{path:N,offset:P}}}if(!u){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var R=Hr.toSlateNode(e,u);return{path:Hr.findPath(e,R),offset:c}},toSlateRange:(e,t,n)=>{var r,o,i,a,s,l,{exactMatch:u,suppressThrow:c}=n;if(Gn(t)?t.anchorNode:t.startContainer)if(Gn(t)){if(tr&&t.rangeCount>1){a=t.focusNode;var d=t.getRangeAt(0),f=t.getRangeAt(t.rangeCount-1);if(a instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&f.startContainer instanceof HTMLTableRowElement){function C(e){return e.childElementCount>0?C(e.children[0]):e}var p=d.startContainer,h=f.startContainer,m=C(p.children[d.startOffset]),g=C(h.children[f.startOffset]);s=0,o=g.childNodes.length>0?g.childNodes[0]:g,a=m.childNodes.length>0?m.childNodes[0]:m,i=g instanceof HTMLElement?g.innerHTML.length:0}else d.startContainer===a?(o=f.endContainer,i=f.endOffset,s=d.startOffset):(o=d.startContainer,i=d.endOffset,s=f.startOffset)}else o=t.anchorNode,i=t.anchorOffset,a=t.focusNode,s=t.focusOffset;l=or&&(e=>{for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1})(o)||tr?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed}else o=t.startContainer,i=t.startOffset,a=t.endContainer,s=t.endOffset,l=t.collapsed;if(null==o||null==a||null==i||null==s)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));tr&&null!==(r=a.textContent)&&void 0!==r&&r.endsWith("\n\n")&&s===a.textContent.length&&s--;var v=Hr.toSlatePoint(e,[o,i],{exactMatch:u,suppressThrow:c});if(!v)return null;var y=Qn(o,a)||o===a&&s<i,E=l?v:Hr.toSlatePoint(e,[a,s],{exactMatch:u,suppressThrow:c,searchDirection:y?"forward":"backward"});if(!E)return null;var b={anchor:v,focus:E};return Qe.isExpanded(b)&&Qe.isForward(b)&&Un(a)&&at.void(e,{at:b.focus,mode:"highest"})&&(b=at.unhangRange(e,b,{voids:!0})),b}};function Ur(e,t){var{path:n,diff:r}=t;if(!at.hasPath(e,n))return!1;var o=nt.get(e,n);if(!yt.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=Pe.next(n);if(!at.hasPath(e,i))return!1;var a=nt.get(e,i);return yt.isText(a)&&a.text.startsWith(r.text)}function zr(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 Gr(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)),l={start:n+a,end:r-s,text:o.slice(a,o.length-s)};return l.start===l.end&&0===l.text.length?null:l}function Wr(e){var{path:t,diff:n}=e;return{anchor:{path:t,offset:n.start},focus:{path:t,offset:n.end}}}function Kr(e,t){var{path:n,offset:r}=t;if(!at.hasPath(e,n))return null;var o=nt.get(e,n);if(!yt.isText(o))return null;var i=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:n});if(!i)return null;for(;r>o.text.length;){var a=at.next(e,{at:n,match:yt.isText});if(!a||!Pe.isDescendant(a[1],i[1]))return null;r-=o.text.length,o=a[0],n=a[1]}return{path:n,offset:r}}function qr(e,t){var n=Kr(e,t.anchor);if(!n)return null;if(Qe.isCollapsed(t))return{anchor:n,focus:n};var r=Kr(e,t.focus);return r?{anchor:n,focus:r}:null}function $r(e,t,n){var r=Br.get(e),o=null==r?void 0:r.find(e=>{var{path:n}=e;return Pe.equals(n,t.path)});if(!o||t.offset<=o.diff.start)return ct.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=ct.transform(a,n,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-i.start}:null}var l={path:t.path,offset:t.offset-i.text.length+i.end-i.start},u=ct.transform(l,n,{affinity:"backward"});return u?"split_node"===n.type&&Pe.equals(n.path,t.path)&&l.offset<n.position&&i.start<n.position?u:{path:u.path,offset:u.offset+i.text.length-i.end+i.start}:null}function Vr(e,t,n){var r=$r(e,t.anchor,n);if(!r)return null;if(Qe.isCollapsed(t))return{anchor:r,focus:r};var o=$r(e,t.focus,n);return o?{anchor:r,focus:o}:null}var Yr=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Xr=(e,t,n)=>{var r=Hr.toDOMRange(e,t).getBoundingClientRect(),o=Hr.toDOMRange(e,n).getBoundingClientRect();return Yr(r,o)&&Yr(o,r)};function Qr(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 Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(n),!0).forEach(function(t){pr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Zr=(e,t)=>{var n=[];for(var[r,o]of at.levels(e,{at:t})){var i=Hr.findKey(e,r);n.push([o,i])}return n},eo={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"},to={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"},no={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},ro=e=>{var t=eo[e],n=to[e],r=no[e],o=t&&(0,In.v_)(t),i=n&&(0,In.v_)(n),a=r&&(0,In.v_)(r);return e=>!(!o||!o(e))||!!(Zn&&i&&i(e))||!(Zn||!a||!a(e))},oo={isBold:ro("bold"),isCompose:ro("compose"),isMoveBackward:ro("moveBackward"),isMoveForward:ro("moveForward"),isDeleteBackward:ro("deleteBackward"),isDeleteForward:ro("deleteForward"),isDeleteLineBackward:ro("deleteLineBackward"),isDeleteLineForward:ro("deleteLineForward"),isDeleteWordBackward:ro("deleteWordBackward"),isDeleteWordForward:ro("deleteWordForward"),isExtendBackward:ro("extendBackward"),isExtendForward:ro("extendForward"),isExtendLineBackward:ro("extendLineBackward"),isExtendLineForward:ro("extendLineForward"),isItalic:ro("italic"),isMoveLineBackward:ro("moveLineBackward"),isMoveLineForward:ro("moveLineForward"),isMoveWordBackward:ro("moveWordBackward"),isMoveWordForward:ro("moveWordForward"),isRedo:ro("redo"),isSoftBreak:ro("insertSoftBreak"),isSplitBlock:ro("splitBlock"),isTransposeCharacter:ro("transposeCharacter"),isUndo:ro("undo")};function io(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 ao=["anchor","focus"],so=["anchor","focus"];function lo(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 uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach(function(t){pr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var co,fo=(e,t)=>{var n,r,o=io(e,ao),i=io(t,so);return e[Lr]===t[Lr]&&(n=o,r=i,Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every(e=>r.hasOwnProperty(e)&&n[e]===r[e]))},po=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!Qe.equals(r,o)||!fo(r,o))return!1}return!0},ho=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;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||!fo(r,o))return!1}return!0},mo=[],go=function(){return mo.some(function(e){return e.activeTargets.length>0})},vo="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"}(co||(co={}));var yo,Eo=function(e){return Object.freeze(e)},bo=function(e,t){this.inlineSize=e,this.blockSize=t,Eo(this)},Co=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,Eo(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}(),To=function(e){return e instanceof SVGElement&&"getBBox"in e},ko=function(e){if(To(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)},Ao=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)},xo="undefined"!=typeof window?window:{},Do=new WeakMap,So=/auto|scroll/,_o=/^tb|vertical/,wo=/msie|trident/i.test(xo.navigator&&xo.navigator.userAgent),Oo=function(e){return parseFloat(e||"0")},No=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new bo((n?t:e)||0,(n?e:t)||0)},Po=Eo({devicePixelContentBoxSize:No(),borderBoxSize:No(),contentBoxSize:No(),contentRect:new Co(0,0,0,0)}),Ro=function(e,t){if(void 0===t&&(t=!1),Do.has(e)&&!t)return Do.get(e);if(ko(e))return Do.set(e,Po),Po;var n=getComputedStyle(e),r=To(e)&&e.ownerSVGElement&&e.getBBox(),o=!wo&&"border-box"===n.boxSizing,i=_o.test(n.writingMode||""),a=!r&&So.test(n.overflowY||""),s=!r&&So.test(n.overflowX||""),l=r?0:Oo(n.paddingTop),u=r?0:Oo(n.paddingRight),c=r?0:Oo(n.paddingBottom),d=r?0:Oo(n.paddingLeft),f=r?0:Oo(n.borderTopWidth),p=r?0:Oo(n.borderRightWidth),h=r?0:Oo(n.borderBottomWidth),m=d+u,g=l+c,v=(r?0:Oo(n.borderLeftWidth))+p,y=f+h,E=s?e.offsetHeight-y-e.clientHeight:0,b=a?e.offsetWidth-v-e.clientWidth:0,C=o?m+v:0,T=o?g+y:0,k=r?r.width:Oo(n.width)-C-b,A=r?r.height:Oo(n.height)-T-E,x=k+m+b+v,D=A+g+E+y,S=Eo({devicePixelContentBoxSize:No(Math.round(k*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:No(x,D,i),contentBoxSize:No(k,A,i),contentRect:new Co(d,l,k,A)});return Do.set(e,S),S},Bo=function(e,t,n){var r=Ro(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case co.DEVICE_PIXEL_CONTENT_BOX:return a;case co.BORDER_BOX:return o;default:return i}},Fo=function(e){var t=Ro(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Eo([t.borderBoxSize]),this.contentBoxSize=Eo([t.contentBoxSize]),this.devicePixelContentBoxSize=Eo([t.devicePixelContentBoxSize])},Io=function(e){if(ko(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Mo=function(){var e=1/0,t=[];mo.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new Fo(t.target),o=Io(t.target);r.push(n),t.lastReportedSize=Bo(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},Lo=function(e){mo.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(Io(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},jo=[],Ho=0,Uo={attributes:!0,characterData:!0,childList:!0,subtree:!0},zo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Go=function(e){return void 0===e&&(e=0),Date.now()+e},Wo=!1,Ko=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),!Wo){Wo=!0;var n,r=Go(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(Lo(t);go();)t=Mo(),Lo(t);return mo.some(function(e){return e.skippedTargets.length>0})&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:vo}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=vo),window.dispatchEvent(e)),t>0}()}finally{if(Wo=!1,e=r-Go(),!Ho)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!yo){var t=0,n=document.createTextNode("");new MutationObserver(function(){return jo.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),yo=function(){n.textContent="".concat(t?t--:t++)}}jo.push(e),yo()}(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,Uo)};document.body?t():xo.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),zo.forEach(function(t){return xo.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),zo.forEach(function(t){return xo.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),qo=function(e){!Ho&&e>0&&Ko.start(),!(Ho+=e)&&Ko.stop()},$o=function(){function e(e,t){this.target=e,this.observedBox=t||co.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Bo(this.target,this.observedBox,!0);return e=this.target,To(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}(),Vo=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Yo=new WeakMap,Xo=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Qo=function(){function e(){}return e.connect=function(e,t){var n=new Vo(e,t);Yo.set(e,n)},e.observe=function(e,t,n){var r=Yo.get(e),o=0===r.observationTargets.length;Xo(r.observationTargets,t)<0&&(o&&mo.push(r),r.observationTargets.push(new $o(t,n&&n.box)),qo(1),Ko.schedule())},e.unobserve=function(e,t){var n=Yo.get(e),r=Xo(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&mo.splice(mo.indexOf(n),1),n.observationTargets.splice(r,1),qo(-1))},e.disconnect=function(e){var t=this,n=Yo.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Jo=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.");Qo.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(!Ao(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Qo.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(!Ao(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Qo.unobserve(this,e)},e.prototype.disconnect=function(){Qo.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Zo=u(89545),ei=u.n(Zo);function ti(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 ni(e){return ni="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},ni(e)}function ri(e,t,n){return(t=function(e){var t=function(e){if("object"!==ni(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ni(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oi=(0,e.createContext)(null),ii=()=>{var t=(0,e.useContext)(oi);if(!t)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return t},ai=Hr;function si(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 li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?si(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ui=cr?e.useLayoutEffect:e.useEffect,ci=["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 fi={subtree:!0,childList:!0,characterData:!0},pi=er?t=>{var{node:n}=t,r=ti(t,ci);if(!er)return null;var o,i=ii(),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,l=0,u=!1,c=()=>{var e=Ir.get(t);if(Ir.delete(t),e){var{selection:n}=t,r=qr(t,e);!r||n&&Qe.equals(r,n)||Xt.select(t,r)}},d=()=>{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&&at.rangeRef(t,t.selection,{affinity:"forward"});Rr.set(t,t.marks),Fr.get(t),Br.get(t);for(var i,l=g();i=null===(d=Br.get(t))||void 0===d?void 0:d[0];){var d,f,p=Pr.get(t);void 0!==p&&(Pr.delete(t),t.marks=p),p&&!1===u&&(u=null);var h=Wr(i);t.selection&&Qe.equals(t.selection,h)||Xt.select(t,h),i.diff.text?at.insertText(t,i.diff.text):at.deleteFragment(t),Br.set(t,null===(f=Br.get(t))||void 0===f?void 0:f.filter(e=>{var{id:t}=e;return t!==i.id})),Ur(t,i)||(l=!1,Fr.delete(t),Rr.delete(t),o="action",Ir.delete(t),n.cancel(),r.cancel(),null==e||e.unref())}var v=null==e?void 0:e.unref();if(!v||Ir.get(t)||t.selection&&Qe.equals(v,t.selection)||Xt.select(t,v),m())(()=>{var e=Fr.get(t);if(Fr.delete(t),e){if(e.at){var n=ct.isPoint(e.at)?Kr(t,e.at):qr(t,e.at);if(!n)return;var r=at.range(t,n);t.selection&&Qe.equals(t.selection,r)||Xt.select(t,n)}e.run()}})();else{l&&n(),n.flush(),r.flush(),c();var y=Rr.get(t);Rr.delete(t),void 0!==y&&(t.marks=y,t.onChange())}}else c()},f=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=Cr.get(t);n&&(g()||e?n.style.display="none":n.style.removeProperty("display"))},p=(e,n)=>{var r,o=null!==(r=Br.get(t))&&void 0!==r?r:[];Br.set(t,o);var i=nt.leaf(t,e),a=o.findIndex(t=>Pe.equals(t.path,e));if(a<0)return Gr(i.text,n)&&o.push({path:e,diff:n,id:l++}),void f();var s,u,c,d,p,h,m,g,v=(s=i.text,u=o[a].diff,c=n,d=Math.min(u.start,c.start),p=Math.max(0,Math.min(u.start+u.text.length,c.end)-c.start),h=zr(s,u,c),m=Math.max(c.start+c.text.length,u.start+u.text.length+(u.start+u.text.length>c.start?c.text.length:0)-p),g=h.slice(d,m),Gr(s,{start:d,end:Math.max(u.end,c.end-u.text.length+(u.end-u.start)),text:g}));if(!v)return o.splice(a,1),void f();o[a]=li(li({},o[a]),{},{diff:v})},h=function(e){var{at:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u=!1,Ir.delete(t),n.cancel(),r.cancel(),m()&&d(),Fr.set(t,{at:o,run:e}),s=setTimeout(d)},m=()=>!!Fr.get(t),g=()=>{var e;return!(null===(e=Br.get(t))||void 0===e||!e.length)},v=e=>{Ir.set(t,e),a&&(clearTimeout(a),a=null);var{selection:n}=t;if(e){var r=!n||!Pe.equals(n.anchor.path,e.anchor.path),o=!n||!Pe.equals(n.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(r&&u||o)&&(u=!1),(r||g())&&(a=setTimeout(d,200))}},y=()=>{m()||(s=setTimeout(d))};return{flush:d,scheduleFlush:y,hasPendingDiffs:g,hasPendingAction:m,hasPendingChanges:()=>m()||g(),isFlushing:()=>o,handleUserSelect:v,handleCompositionEnd:e=>{i&&clearTimeout(i),i=setTimeout(()=>{_r.set(t,!1),d()},25)},handleCompositionStart:e=>{_r.set(t,!0),i&&(clearTimeout(i),i=null)},handleDOMBeforeInput:e=>{var n;if(a&&(clearTimeout(a),a=null),!gr.get(t)){var{inputType:r}=e,o=null,i=e.dataTransfer||e.data||void 0;!1!==u&&"insertText"!==r&&"insertCompositionText"!==r&&(u=!1);var[s]=e.getTargetRanges();s&&(o=ai.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var l=ai.getWindow(t).getSelection();if(!o&&l&&(s=l,o=ai.toSlateRange(t,l,{exactMatch:!1,suppressThrow:!0})),o=null!==(n=o)&&void 0!==n?n:t.selection){var c,d=!0;if(r.startsWith("delete")){var f=r.endsWith("Backward")?"backward":"forward",[m,g]=Qe.edges(o),[E,b]=at.leaf(t,m.path);if(Qe.isExpanded(o)&&E.text.length===m.offset&&0===g.offset){var C=at.next(t,{at:m.path,match:yt.isText});C&&Pe.equals(C[1],g.path)&&("backward"===f?(o={anchor:g,focus:g},m=g,[E,b]=C):(o={anchor:m,focus:m},g=m))}var T={text:"",start:m.offset,end:g.offset},k=Br.get(t),A=null==k?void 0:k.find(e=>Pe.equals(e.path,b)),x=A?[A.diff,T]:[T];if(0===zr(E.text,...x).length&&(d=!1),Qe.isExpanded(o)){if(d&&Pe.equals(o.anchor.path,o.focus.path)){var D={path:o.anchor.path,offset:m.offset},S=at.range(t,D,D);return v(S),p(o.anchor.path,{text:"",end:g.offset,start:m.offset})}return h(()=>at.deleteFragment(t,{direction:f}),{at:o})}}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return h(()=>at.deleteFragment(t),{at:o});case"deleteContent":case"deleteContentForward":var{anchor:_}=o;if(d&&Qe.isCollapsed(o)){var w=nt.leaf(t,_.path);if(_.offset<w.text.length)return p(_.path,{text:"",start:_.offset,end:_.offset+1})}return h(()=>at.deleteForward(t),{at:o});case"deleteContentBackward":var O,{anchor:N}=o,P=Gn(s)?s.isCollapsed:!(null===(O=s)||void 0===O||!O.collapsed);return d&&P&&Qe.isCollapsed(o)&&N.offset>0?p(N.path,{text:"",start:N.offset-1,end:N.offset}):h(()=>at.deleteBackward(t),{at:o});case"deleteEntireSoftLine":return h(()=>{at.deleteBackward(t,{unit:"line"}),at.deleteForward(t,{unit:"line"})},{at:o});case"deleteHardLineBackward":return h(()=>at.deleteBackward(t,{unit:"block"}),{at:o});case"deleteSoftLineBackward":return h(()=>at.deleteBackward(t,{unit:"line"}),{at:o});case"deleteHardLineForward":return h(()=>at.deleteForward(t,{unit:"block"}),{at:o});case"deleteSoftLineForward":return h(()=>at.deleteForward(t,{unit:"line"}),{at:o});case"deleteWordBackward":return h(()=>at.deleteBackward(t,{unit:"word"}),{at:o});case"deleteWordForward":return h(()=>at.deleteForward(t,{unit:"word"}),{at:o});case"insertLineBreak":return h(()=>at.insertSoftBreak(t),{at:o});case"insertParagraph":return h(()=>at.insertBreak(t),{at:o});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("DataTransfer"===(null==(c=i)?void 0:c.constructor.name))return h(()=>ai.insertData(t,i),{at:o});var R=null!=i?i:"";if(Pr.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&&at.insertText(t,n),r!==e.length-1&&at.insertSoftBreak(t)})},{at:o});if(Pe.equals(o.anchor.path,o.focus.path)){var[B,F]=Qe.edges(o),I={start:B.offset,end:F.offset,text:R};if(R&&u&&"insertCompositionText"===r){var M=u.start+u.text.search(/\S|$/);I.start+I.text.search(/\S|$/)===M+1&&I.end===u.start+u.text.length?(I.start-=1,u=null,y()):u=!1}else u="insertText"===r&&(null===u?I:!(!u||!Qe.isCollapsed(o)||u.end+u.text.length!==B.offset)&&li(li({},u),{},{text:u.text+R}));if(d){var L=t.selection;if(p(B.path,I),L){var j={path:B.path,offset:B.offset+R.length};h(()=>{Xt.select(t,{anchor:j,focus:j})},{at:j})}return}}return h(()=>at.insertText(t,R),{at:o})}}}},handleKeyDown:e=>{g()||(f(!0),setTimeout(f))},handleDomMutations:e=>{var n;g()||m()||e.some(n=>Xn(t,n,e))&&(null===(n=Mr.get(t))||void 0===n||n())},handleInput:()=>{!m()&&g()||d()}}}(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){ri(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));ui(()=>{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()},[o,t,r])}(n,s.handleDomMutations,fi),Nr.set(i,s.scheduleFlush),a&&s.flush(),s}:()=>null;function hi(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 mi=e=>{var{isLast:n,leaf:r,parent:o,text:i}=e,a=ii(),s=ai.findPath(a,i),l=Pe.parent(s),u=Boolean(r[jr]);return a.isVoid(o)?t().createElement(yi,{length:nt.string(o).length}):""!==r.text||o.children[o.children.length-1]!==i||a.isInline(o)||""!==at.string(a,l)?""===r.text?t().createElement(yi,{isMarkPlaceholder:u}):n&&"\n"===r.text.slice(-1)?t().createElement(gi,{isTrailing:!0,text:r.text}):t().createElement(gi,{text:r.text}):t().createElement(yi,{isLineBreak:!0,isMarkPlaceholder:u})},gi=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 ui(()=>{var e=a();i.current&&i.current.textContent!==e&&(i.current.textContent=e)}),t().createElement(vi,{ref:i},s)},vi=(0,e.memo)((0,e.forwardRef)((e,n)=>t().createElement("span",{"data-slate-string":!0,ref:n},e.children))),yi=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",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hi(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},i),er&&r?null:"\ufeff",r?t().createElement("br",null):null)};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 bi(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){ri(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 Ci=er?300:0;function Ti(e){e.current&&(clearTimeout(e.current),e.current=null)}var ki=e=>t().createElement(Di,bi({},e)),Ai=n=>{var{leaf:r,isLast:o,text:i,parent:a,renderPlaceholder:s,renderLeaf:l=ki,leafPosition:u}=n,c=ii(),d=(0,e.useRef)(null),f=(0,e.useRef)(null),[p,h]=(0,e.useState)(!1),m=(0,e.useRef)(null),g=(0,e.useCallback)(e=>{if(function(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}(d,null==e),null==e){var t;Cr.delete(c),null===(t=r.onPlaceholderResize)||void 0===t||t.call(r,null)}else{if(Cr.set(c,e),!d.current){var n=window.ResizeObserver||Jo;d.current=new n(()=>{var t;null===(t=r.onPlaceholderResize)||void 0===t||t.call(r,e)})}d.current.observe(e),f.current=e}},[f,r,c]),v=t().createElement(mi,{isLast:o,leaf:r,parent:a,text:i}),y=Boolean(r[Lr]);if((0,e.useEffect)(()=>(y?m.current||(m.current=setTimeout(()=>{h(!0),m.current=null},Ci)):(Ti(m),h(!1)),()=>Ti(m)),[y,h]),y&&p){var E={children:r.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:nr?"inherit":void 0},contentEditable:!1,ref:g}};v=t().createElement(t().Fragment,null,v,s(E))}return l({attributes:{"data-slate-leaf":!0},children:v,leaf:r,text:i,leafPosition:u})},xi=t().memo(Ai,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&yt.equals(t.leaf,e.leaf)&&t.leaf[Lr]===e.leaf[Lr]),Di=e=>{var{attributes:n,children:r}=e;return t().createElement("span",bi({},n),r)};function Si(t,n){var r,[,o]=(0,e.useReducer)(e=>e+1,0),i=(0,e.useRef)(),a=(0,e.useRef)(()=>null),s=(0,e.useRef)(null);try{if(t!==a.current||i.current){var l=t();r=n(s.current,l)?s.current:l}else r=s.current}catch(e){throw i.current&&e instanceof Error&&(e.message+="\nThe error may be correlated with this previous error:\n".concat(i.current.stack,"\n\n")),e}return a.current=t,s.current=r,i.current=void 0,[r,(0,e.useCallback)(()=>{try{var e=a.current();if(n(s.current,e))return;s.current=e}catch(e){e instanceof Error?i.current=e:i.current=new Error(String(e))}o()},[])]}var _i=(0,e.createContext)({}),wi=(t,n)=>{var r=ii(),{decorate:o,addEventListener:i}=(0,e.useContext)(_i),a=yt.isText(t)?ho:po,[s,l]=Si(()=>{var e=ai.findPath(r,t);return o([t,e])},a);return ui(()=>{var e=i(l);return l(),e},[i,l]),(0,e.useMemo)(()=>[...s,...n],[s,n])};function Oi(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 Ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Pi=e=>t().createElement(Fi,Ni({},e)),Ri=n=>{for(var{decorations:r,isLast:o,parent:i,renderPlaceholder:a,renderLeaf:s,renderText:l=Pi,text:u}=n,c=ii(),d=(0,e.useRef)(null),f=wi(u,r),p=yt.decorations(u,f),h=ai.findKey(c,u),m=[],g=0;g<p.length;g++){var{leaf:v,position:y}=p[g];m.push(t().createElement(xi,{isLast:o&&g===p.length-1,key:"".concat(h.id,"-").concat(g),renderPlaceholder:a,leaf:v,leafPosition:y,text:u,parent:i,renderLeaf:s}))}var E=(0,e.useCallback)(e=>{var t=xr.get(c);e?(null==t||t.set(h,e),kr.set(u,e),Tr.set(e,u)):(null==t||t.delete(h),kr.delete(u),d.current&&Tr.delete(d.current)),d.current=e},[d,c,h,u]);return l({text:u,children:m,attributes:{"data-slate-node":"text",ref:E}})},Bi=t().memo(Ri,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderText===e.renderText&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&ho(t.decorations,e.decorations)),Fi=e=>{var{attributes:n,children:r}=e;return t().createElement("span",Ni({},n),r)};function Ii(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 Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Li=e=>t().createElement(Ui,Mi({},e)),ji=n=>{var{decorations:r,element:o,renderElement:i=Li,renderChunk:a,renderPlaceholder:s,renderLeaf:l,renderText:u}=n,c=ii(),d=ta(),f=c.isInline(o),p=wi(o,r),h=ai.findKey(c,o),m=(0,e.useCallback)(e=>{var t=xr.get(c);e?(null==t||t.set(h,e),kr.set(o,e),Tr.set(e,o)):(null==t||t.delete(h),kr.delete(o))},[c,h,o]),g=Ji({decorations:p,node:o,renderElement:i,renderChunk:a,renderPlaceholder:s,renderLeaf:l,renderText:u}),v={"data-slate-node":"element",ref:m};if(f&&(v["data-slate-inline"]=!0),!f&&at.hasInlines(c,o)){var y=nt.string(o),E=kn()(y);"rtl"===E&&(v.dir=E)}if(at.isVoid(c,o)){v["data-slate-void"]=!0,!d&&f&&(v.contentEditable=!1);var b=f?"span":"div",[[C]]=nt.texts(o);g=t().createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},t().createElement(Bi,{renderPlaceholder:s,decorations:[],isLast:!1,parent:o,text:C})),vr.set(C,0),yr.set(C,o)}return i({attributes:v,children:g,element:o})},Hi=t().memo(ji,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderChunk===t.renderChunk&&e.renderText===t.renderText&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&po(e.decorations,t.decorations)),Ui=e=>{var{attributes:n,children:r,element:o}=e,i=ii().isInline(o)?"span":"div";return t().createElement(i,Mi(Mi({},n),{},{style:{position:"relative"}}),r)};class zi{constructor(e,t){var{chunkSize:n,debug:r}=t;ri(this,"root",void 0),ri(this,"chunkSize",void 0),ri(this,"debug",void 0),ri(this,"reachedEnd",void 0),ri(this,"pointerChunk",void 0),ri(this,"pointerIndex",void 0),ri(this,"pointerIndexStack",void 0),ri(this,"cachedPointerNode",void 0),this.root=e,this.chunkSize=n,this.debug=null!=r&&r,this.pointerChunk=e,this.pointerIndex=-1,this.pointerIndexStack=[],this.reachedEnd=!1,this.validateState()}readLeaf(){if(this.reachedEnd)return null;for(;;){if(this.pointerIndex+1<this.pointerSiblings.length){this.pointerIndex++,this.cachedPointerNode=void 0;break}if("root"===this.pointerChunk.type)return this.reachedEnd=!0,null;this.exitChunk()}return this.validateState(),this.enterChunkUntilLeaf(!1),this.pointerNode}returnToPreviousLeaf(){if(this.reachedEnd)return this.reachedEnd=!1,void this.enterChunkUntilLeaf(!0);for(;;){if(this.pointerIndex>=1){this.pointerIndex--,this.cachedPointerNode=void 0;break}if("root"===this.pointerChunk.type)return void(this.pointerIndex=-1);this.exitChunk()}this.validateState(),this.enterChunkUntilLeaf(!0)}insertBefore(e){this.returnToPreviousLeaf(),this.insertAfter(e),this.readLeaf()}insertAfter(e){if(0!==e.length){for(var t=0,n=0;"chunk"===this.pointerChunk.type&&this.pointerIndex===this.pointerSiblings.length-1;){var r=this.chunkSize-this.pointerSiblings.length,o=Math.min(r,e.length);if(o>0){var i=e.splice(0,o);this.rawInsertAfter(i,t)}this.exitChunk(),t++}if(0!==e.length){var a=this.savePointer(),s=null;if(this.readLeaf())for(;"chunk"===this.pointerChunk.type&&0===this.pointerIndex;){var l=this.chunkSize-this.pointerSiblings.length,u=Math.min(l,e.length);if(u>0){var c=e.splice(-u,u);this.pointerIndex=-1,this.cachedPointerNode=void 0,this.rawInsertAfter(c,n),s||(s=this.savePointer())}this.exitChunk(),n++}this.restorePointer(a);var d=Math.max(t,n);this.rawInsertAfter(e,d),s&&this.restorePointer(s),this.validateState()}}}remove(){this.pointerSiblings.splice(this.pointerIndex--,1),this.cachedPointerNode=void 0,0===this.pointerSiblings.length&&"chunk"===this.pointerChunk.type?(this.exitChunk(),this.remove()):this.invalidateChunk(),this.validateState()}invalidateChunk(){for(var e=this.pointerChunk;"chunk"===e.type;e=e.parent)this.root.modifiedChunks.add(e)}get atStart(){return"root"===this.pointerChunk.type&&-1===this.pointerIndex}get pointerSiblings(){return this.pointerChunk.children}getPointerNode(){return this.reachedEnd||-1===this.pointerIndex?null:this.pointerSiblings[this.pointerIndex]}get pointerNode(){if(void 0!==this.cachedPointerNode)return this.cachedPointerNode;var e=this.getPointerNode();return this.cachedPointerNode=e,e}getChunkPath(e){for(var t=[],n=e;"chunk"===n.type;n=n.parent){var r=n.parent.children.indexOf(n);if(-1===r)return null;t.unshift(r)}return t}savePointer(){if(this.atStart)return"start";if(!this.pointerNode)throw new Error("Cannot save pointer when pointerNode is null");return{chunk:this.pointerChunk,node:this.pointerNode}}restorePointer(e){if("start"===e)return this.pointerChunk=this.root,this.pointerIndex=-1,this.pointerIndexStack=[],this.reachedEnd=!1,void(this.cachedPointerNode=void 0);var{chunk:t,node:n}=e,r=t.children.indexOf(n);if(-1===r)throw new Error("Cannot restore point because saved node is no longer in saved chunk");var o=this.getChunkPath(t);if(!o)throw new Error("Cannot restore point because saved chunk is no longer connected to root");this.pointerChunk=t,this.pointerIndex=r,this.pointerIndexStack=o,this.reachedEnd=!1,this.cachedPointerNode=n,this.validateState()}enterChunk(e){var t;if("chunk"!==(null===(t=this.pointerNode)||void 0===t?void 0:t.type))throw new Error("Cannot enter non-chunk");if(this.pointerIndexStack.push(this.pointerIndex),this.pointerChunk=this.pointerNode,this.pointerIndex=e?this.pointerSiblings.length-1:0,this.cachedPointerNode=void 0,this.validateState(),0===this.pointerChunk.children.length)throw new Error("Cannot enter empty chunk")}enterChunkUntilLeaf(e){for(;"chunk"===(null===(t=this.pointerNode)||void 0===t?void 0:t.type);){var t;this.enterChunk(e)}}exitChunk(){if("root"===this.pointerChunk.type)throw new Error("Cannot exit root");var e=this.pointerChunk;this.pointerChunk=e.parent,this.pointerIndex=this.pointerIndexStack.pop(),this.cachedPointerNode=void 0,this.validateState()}rawInsertAfter(e,t){if(0!==e.length){for(var n=(e,t,r)=>{if(1===r)return e;for(var o=[],i=0;i<this.chunkSize;i++){var a=e.slice(i*r,(i+1)*r);if(0===a.length)break;var s={type:"chunk",key:new mr,parent:t,children:[]};s.children=n(a,s,r/this.chunkSize),o.push(s)}return o},r=this.pointerSiblings.length+e.length,o=0,i=this.chunkSize;i<r;i*=this.chunkSize)o++;var a=Math.max(o,t),s=Math.pow(this.chunkSize,a),l=n(e,this.pointerChunk,s);this.pointerSiblings.splice(this.pointerIndex+1,0,...l),this.pointerIndex+=l.length,this.cachedPointerNode=void 0,this.invalidateChunk(),this.validateState()}}validateState(){if(this.debug){var e=t=>{if("chunk"===t.type){var{parent:n,children:r}=t;if(!n.children.includes(t))throw new Error("Debug: Chunk ".concat(t.key.id," has an incorrect parent property"));r.forEach(e)}};if(this.root.children.forEach(e),void 0!==this.cachedPointerNode&&this.cachedPointerNode!==this.getPointerNode())throw new Error("Debug: The cached pointer is incorrect and has not been invalidated");var t=this.getChunkPath(this.pointerChunk);if(!t)throw new Error("Debug: The pointer chunk is not connected to the root");if(!Pe.equals(this.pointerIndexStack,t))throw new Error("Debug: The cached index stack [".concat(this.pointerIndexStack.join(", "),"] does not match the path of the pointer chunk [").concat(t.join(", "),"]"))}}}class Gi{constructor(e,t){ri(this,"editor",void 0),ri(this,"children",void 0),ri(this,"cachedKeys",void 0),ri(this,"pointerIndex",void 0),this.editor=e,this.children=t,this.cachedKeys=new Array(t.length),this.pointerIndex=0}read(e){if(1===e)return[this.children[this.pointerIndex++]];var t=this.remaining(e);return this.pointerIndex+=e,t}remaining(e){return void 0===e?this.children.slice(this.pointerIndex):this.children.slice(this.pointerIndex,this.pointerIndex+e)}get reachedEnd(){return this.pointerIndex>=this.children.length}lookAhead(e,t){var n=this.children.indexOf(e,this.pointerIndex);if(n>-1)return n-this.pointerIndex;for(var r=this.pointerIndex;r<this.children.length;r++){var o=this.children[r];if(this.findKey(o,r)===t)return r-this.pointerIndex}return-1}toChunkLeaves(e,t){return e.map((e,n)=>({type:"leaf",node:e,key:this.findKey(e,t+n),index:t+n}))}findKey(e,t){var n=this.cachedKeys[t];if(n)return n;var r=ai.findKey(this.editor,e);return this.cachedKeys[t]=r,r}}function Wi(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 Ki=new WeakMap,qi=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ai.findKey(e,t),o=Ki.get(r);return o||(o={type:"root",movedNodeKeys:new Set,modifiedChunks:new Set,children:[]},Ki.set(r,o)),n.reconcile&&((e,t)=>{var{chunkTree:n,children:r,chunkSize:o,rerenderChildren:i=[],onInsert:a,onUpdate:s,onIndexChange:l,debug:u}=t;n.modifiedChunks.clear();for(var c,d=new zi(n,{chunkSize:o,debug:u}),f=new Gi(e,r),p=function(){var e=f.lookAhead(c.node,c.key),t=e>0&&n.movedNodeKeys.has(c.key);if(-1===e||t)return d.remove(),1;var r=f.pointerIndex,o=f.read(e+1),u=o.pop();if(o.length){var p=f.toChunkLeaves(o,r);d.insertBefore(p),o.forEach((e,t)=>{null==a||a(e,r+t)})}var h=f.pointerIndex-1;c.node!==u&&(c.node=u,d.invalidateChunk(),null==s||s(u,h)),c.index!==h&&(c.index=h,null==l||l(u,h)),i.includes(h)&&d.invalidateChunk()};c=d.readLeaf();)p();if(!f.reachedEnd){var h=f.remaining(),m=f.toChunkLeaves(h,f.pointerIndex);d.returnToPreviousLeaf(),d.insertAfter(m),h.forEach((e,t)=>{null==a||a(e,f.pointerIndex+t)})}n.movedNodeKeys.clear()})(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wi(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({chunkTree:o,children:t.children},n.reconcile)),o},$i=e=>{var{children:t}=e;return t},Vi=n=>{var{root:r,ancestor:o,renderElement:i,renderChunk:a=$i}=n;return o.children.map(n=>{if("chunk"===n.type){var s=n.key.id,l=a({highest:o===r,lowest:n.children.some(e=>"leaf"===e.type),attributes:{"data-slate-chunk":!0},children:t().createElement(Xi,{root:r,ancestor:n,renderElement:i,renderChunk:a})});return t().createElement(e.Fragment,{key:s},l)}var u=n.node;return i(u,n.index,n.key)})},Yi=Vi,Xi=t().memo(Vi,(e,t)=>e.root===t.root&&e.renderElement===t.renderElement&&e.renderChunk===t.renderChunk&&!t.root.modifiedChunks.has(t.ancestor)),Qi=(0,e.createContext)(null),Ji=n=>{var{decorations:r,node:o,renderElement:i,renderChunk:a,renderPlaceholder:s,renderText:l,renderLeaf:u}=n,c=ii();gr.set(c,!1);var d=!at.isEditor(o)&&Ze.isElement(o)&&!c.isInline(o)&&at.hasInlines(c,o)?null:c.getChunkSize(o),f=!!d,{decorationsByChild:p,childrenToRedecorate:h}=Zi(c,o,r);f||o.children.forEach((e,t)=>{vr.set(e,t),yr.set(e,o)});var m=(0,e.useCallback)((e,n,r)=>{var o=null!=r?r:ai.findKey(c,e);return t().createElement(Qi.Provider,{key:"provider-".concat(o.id),value:e},t().createElement(Hi,{decorations:p[n],element:e,key:o.id,renderElement:i,renderChunk:a,renderPlaceholder:s,renderLeaf:u,renderText:l}))},[c,p,i,a,s,u,l]);if(!f)return o.children.map((e,n)=>yt.isText(e)?((e,n)=>{var r=ai.findKey(c,e);return t().createElement(Bi,{decorations:p[n],key:r.id,isLast:n===o.children.length-1,parent:o,renderPlaceholder:s,renderLeaf:u,renderText:l,text:e})})(e,n):m(e,n));var g=qi(c,o,{reconcile:{chunkSize:d,rerenderChildren:h,onInsert:(e,t)=>{vr.set(e,t),yr.set(e,o)},onUpdate:(e,t)=>{vr.set(e,t),yr.set(e,o)},onIndexChange:(e,t)=>{vr.set(e,t)}}});return t().createElement(Yi,{root:g,ancestor:g,renderElement:m,renderChunk:a})},Zi=(t,n,r)=>{var o=((e,t,n)=>{var r=Array.from(t.children,()=>[]);if(0===n.length)return r;var o=Hr.findPath(e,t),i=o.length,a=at.range(e,o),s=new Array(t.children.length),l=t=>{var n=s[t];if(n)return n;var r=at.range(e,[...o,t]);return s[t]=r,r};for(var u of n){var c=Qe.intersection(a,u);if(c)for(var[d,f]=Qe.edges(c),p=d.path[i],h=f.path[i],m=p;m<=h;m++){var g=r[m];if(g){var v=l(m),y=Qe.intersection(v,u);y&&g.push(uo(uo({},u),y))}}}return r})(t,n,r),i=(0,e.useRef)(o).current,a=[];i.length=o.length;for(var s=0;s<o.length;s++){var l,u=o[s],c=null!==(l=i[s])&&void 0!==l?l:null;po(c,u)||(i[s]=u,a.push(s))}return{decorationsByChild:i,childrenToRedecorate:a}},ea=(0,e.createContext)(!1),ta=()=>(0,e.useContext)(ea),na=(0,e.createContext)({}),ra=(e,t)=>e===t;var oa=()=>{var{addEventListener:t}=(0,e.useContext)(na),[,n]=(0,e.useReducer)(e=>e+1,0);if(!t)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");return ui(()=>t(n),[t]),ii()};new WeakMap;var ia={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class aa extends e.Component{constructor(){super(...arguments),ri(this,"context",null),ri(this,"manager",null),ri(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,ia)}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=>Xn(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}}ri(aa,"contextType",oi);var sa=er?aa:e=>{var{children:n}=e;return t().createElement(t().Fragment,null,n)},la=(0,e.createContext)(!1),ua=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderChunk","renderLeaf","renderText","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],ca=["text"];function da(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 fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var pa=e=>t().createElement(t().Fragment,null,Ji(e)),ha=(0,e.forwardRef)((n,r)=>{var o=(0,e.useCallback)(e=>t().createElement(ma,fa({},e)),[]),{autoFocus:i,decorate:a=ga,onDOMBeforeInput:s,placeholder:l,readOnly:u=!1,renderElement:c,renderChunk:d,renderLeaf:f,renderText:p,renderPlaceholder:h=o,scrollSelectionIntoView:m=va,style:g={},as:v="div",disableDefaultStyles:y=!1}=n,E=ti(n,ua),b=oa(),[C,T]=(0,e.useState)(!1),k=(0,e.useRef)(null),A=(0,e.useRef)([]),[x,D]=(0,e.useState)(),S=(0,e.useRef)(!1),{onUserInput:_,receivedUserInput:w}=function(){var t=ii(),n=(0,e.useRef)(!1),r=(0,e.useRef)(0),o=(0,e.useCallback)(()=>{if(!n.current){n.current=!0;var e=ai.getWindow(t);e.cancelAnimationFrame(r.current),r.current=e.requestAnimationFrame(()=>{n.current=!1})}},[t]);return(0,e.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:n,onUserInput:o}}(),[,O]=(0,e.useReducer)(e=>e+1,0);Mr.set(b,O),Dr.set(b,u);var N=(0,e.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,e.useEffect)(()=>{k.current&&i&&k.current.focus()},[i]);var P=(0,e.useRef)(),R=(0,e.useMemo)(()=>Sn()(()=>{if(gr.get(b))R();else{var e=ai.toDOMNode(b,b).getRootNode();if(!S.current&&nr&&e instanceof ShadowRoot){S.current=!0;var t=(()=>{for(var e=document.activeElement;null!==(t=e)&&void 0!==t&&t.shadowRoot&&null!==(n=e.shadowRoot)&&void 0!==n&&n.activeElement;){var t,n,r;e=null===(r=e)||void 0===r||null===(r=r.shadowRoot)||void 0===r?void 0:r.activeElement}return e})();return t?document.execCommand("indent"):Xt.deselect(b),void(S.current=!1)}var n=P.current;if((er||!ai.isComposing(b))&&(!N.isUpdatingSelection||null!=n&&n.isFlushing())&&!N.isDraggingInternally){var r=ai.findDocumentOrShadowRoot(b),{activeElement:o}=r,i=ai.toDOMNode(b,b),a=Yn(r);if(o===i?(N.latestElement=o,Sr.set(b,!0)):Sr.delete(b),!a)return Xt.deselect(b);var{anchorNode:s,focusNode:l}=a,c=ai.hasEditableTarget(b,s)||ai.isTargetInsideNonReadonlyVoid(b,s),d=ai.hasTarget(b,l);if(c&&d){var f=ai.toSlateRange(b,a,{exactMatch:!1,suppressThrow:!0});f&&(ai.isComposing(b)||null!=n&&n.hasPendingChanges()||null!=n&&n.isFlushing()?null==n||n.handleUserSelect(f):Xt.select(b,f))}!u||c&&d||Xt.deselect(b)}}},100),[b,u,N]),B=(0,e.useMemo)(()=>xn()(R,0),[R]);P.current=pi({node:k,onDOMSelectionChange:R,scheduleOnDOMSelectionChange:B}),ui(()=>{var e,t,n;k.current&&(n=jn(k.current))?(Er.set(b,n),br.set(b,k.current),kr.set(b,k.current),Tr.set(k.current,b)):kr.delete(b);var{selection:r}=b,o=ai.findDocumentOrShadowRoot(b),i=Yn(o);if(i&&ai.isFocused(b)&&(null===(e=P.current)||void 0===e||!e.hasPendingAction())){var a=e=>{var t="None"!==i.type;if(r||t){var n,o=i.focusNode;if(tr&&i.rangeCount>1){var a=i.getRangeAt(0),s=i.getRangeAt(i.rangeCount-1);n=a.startContainer===o?s.endContainer:a.startContainer}else n=i.anchorNode;var l=br.get(b),u=!1;if(l.contains(n)&&l.contains(o)&&(u=!0),t&&u&&r&&!e){var c=ai.toSlateRange(b,i,{exactMatch:!0,suppressThrow:!0});if(c&&Qe.equals(c,r)){var d;if(!N.hasMarkPlaceholder)return;if(null!==(d=n)&&void 0!==d&&null!==(d=d.parentElement)&&void 0!==d&&d.hasAttribute("data-slate-mark-placeholder"))return}}if(!r||ai.hasRange(b,r)){N.isUpdatingSelection=!0;var f=null;try{f=r&&ai.toDOMRange(b,r)}catch(e){}return f?(ai.isComposing(b)&&!er?i.collapseToEnd():Qe.isBackward(r)?i.setBaseAndExtent(f.endContainer,f.endOffset,f.startContainer,f.startOffset):i.setBaseAndExtent(f.startContainer,f.startOffset,f.endContainer,f.endOffset),m(b,f)):i.removeAllRanges(),f}b.selection=ai.toSlateRange(b,i,{exactMatch:!1,suppressThrow:!0})}};i.rangeCount<=1&&a();var s="action"===(null===(t=P.current)||void 0===t?void 0:t.isFlushing());if(er&&s){var l=null,u=requestAnimationFrame(()=>{if(s){var e=e=>{try{ai.toDOMNode(b,b).focus(),a(e)}catch(e){}};e(),l=setTimeout(()=>{e(!0),N.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(u),l&&clearTimeout(l)}}setTimeout(()=>{N.isUpdatingSelection=!1})}});var F=(0,e.useCallback)(e=>{Ca(b,e);var t=ai.toDOMNode(b,b).getRootNode();if(null!=S&&S.current&&nr&&t instanceof ShadowRoot){var n=e.getTargetRanges()[0],r=new window.Range;r.setStart(n.startContainer,n.startOffset),r.setEnd(n.endContainer,n.endOffset);var o=ai.toSlateRange(b,r,{exactMatch:!1,suppressThrow:!1});return Xt.select(b,o),e.preventDefault(),void e.stopImmediatePropagation()}if(_(),!u&&ai.hasEditableTarget(b,e.target)&&!ba(e,s)){var i;if(P.current)return P.current.handleDOMBeforeInput(e);B.flush(),R.flush();var{selection:a}=b,{inputType:l}=e,c=e.dataTransfer||e.data||void 0,d="insertCompositionText"===l||"deleteCompositionText"===l;if(d&&ai.isComposing(b))return;var f=!1;if("insertText"===l&&a&&Qe.isCollapsed(a)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==a.anchor.offset&&(f=!0,b.marks&&(f=!1),!gr.get(b))){var p,h,{anchor:m}=a,[g,v]=ai.toDOMPoint(b,m),y=null===(p=g.parentElement)||void 0===p?void 0:p.closest("a"),E=ai.getWindow(b);if(f&&y&&ai.hasDOMNode(b,y)){var C,k=null==E?void 0:E.document.createTreeWalker(y,NodeFilter.SHOW_TEXT).lastChild();k===g&&(null===(C=k.textContent)||void 0===C?void 0:C.length)===v&&(f=!1)}if(f&&g.parentElement&&"pre"===(null==E||null===(h=E.getComputedStyle(g.parentElement))||void 0===h?void 0:h.whiteSpace)){var x=at.above(b,{at:m.path,match:e=>Ze.isElement(e)&&at.isBlock(b,e)});x&&nt.string(x[0]).includes("\t")&&(f=!1)}}if((!l.startsWith("delete")||l.startsWith("deleteBy"))&&!gr.get(b)){var[D]=e.getTargetRanges();if(D){var w=ai.toSlateRange(b,D,{exactMatch:!1,suppressThrow:!1});if(!a||!Qe.equals(a,w)){f=!1;var O=!d&&b.selection&&at.rangeRef(b,b.selection);Xt.select(b,w),O&&wr.set(b,O)}}}if(d)return;if(f||e.preventDefault(),a&&Qe.isExpanded(a)&&l.startsWith("delete")){var N=l.endsWith("Backward")?"backward":"forward";return void at.deleteFragment(b,{direction:N})}switch(l){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":at.deleteFragment(b);break;case"deleteContent":case"deleteContentForward":at.deleteForward(b);break;case"deleteContentBackward":at.deleteBackward(b);break;case"deleteEntireSoftLine":at.deleteBackward(b,{unit:"line"}),at.deleteForward(b,{unit:"line"});break;case"deleteHardLineBackward":at.deleteBackward(b,{unit:"block"});break;case"deleteSoftLineBackward":at.deleteBackward(b,{unit:"line"});break;case"deleteHardLineForward":at.deleteForward(b,{unit:"block"});break;case"deleteSoftLineForward":at.deleteForward(b,{unit:"line"});break;case"deleteWordBackward":at.deleteBackward(b,{unit:"word"});break;case"deleteWordForward":at.deleteForward(b,{unit:"word"});break;case"insertLineBreak":at.insertSoftBreak(b);break;case"insertParagraph":at.insertBreak(b);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===l&&ai.isComposing(b)&&(T(!1),_r.set(b,!1)),"DataTransfer"===(null==c?void 0:c.constructor.name)?ai.insertData(b,c):"string"==typeof c&&(f?A.current.push(()=>at.insertText(b,c)):at.insertText(b,c))}var F=null===(i=wr.get(b))||void 0===i?void 0:i.unref();wr.delete(b),!F||b.selection&&Qe.equals(b.selection,F)||Xt.select(b,F)}},[b,R,_,s,u,B]),I=(0,e.useCallback)(e=>{null==e?(R.cancel(),B.cancel(),br.delete(b),kr.delete(b),k.current&&dr&&k.current.removeEventListener("beforeinput",F)):dr&&e.addEventListener("beforeinput",F),k.current=e,"function"==typeof r?r(e):r&&(r.current=e)},[R,B,b,F,r]);ui(()=>{var e=ai.getWindow(b),t=e=>{var{target:t}=e,n=t instanceof HTMLElement?t:null,r=null==n?void 0:n.tagName;"INPUT"!==r&&"TEXTAREA"!==r&&B()};e.document.addEventListener("selectionchange",t);var n=()=>{N.isDraggingInternally=!1};return e.document.addEventListener("dragend",n),e.document.addEventListener("drop",n),()=>{e.document.removeEventListener("selectionchange",t),e.document.removeEventListener("dragend",n),e.document.removeEventListener("drop",n)}},[B,N]);var M=a([b,[]]),L=(t=>{var n=(0,e.useRef)(new Set),r=(0,e.useRef)(t);ui(()=>{r.current=t,n.current.forEach(e=>e())},[t]);var o=(0,e.useCallback)(e=>r.current(e),[]),i=(0,e.useCallback)(e=>(n.current.add(e),()=>{n.current.delete(e)}),[]);return(0,e.useMemo)(()=>({decorate:o,addEventListener:i}),[o,i])})(a),j=l&&1===b.children.length&&1===Array.from(nt.texts(b)).length&&""===nt.string(b)&&!C,H=(0,e.useCallback)(e=>{var t;D(e&&j?null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.height:void 0)},[j]);if(j){var U=at.start(b,[]);M.push({[Lr]:!0,placeholder:l,onPlaceholderResize:H,anchor:U,focus:U})}var{marks:z}=b;if(N.hasMarkPlaceholder=!1,b.selection&&Qe.isCollapsed(b.selection)&&z){var{anchor:G}=b.selection,W=nt.leaf(b,G.path),K=ti(W,ca);if(!yt.equals(W,z,{loose:!0})){N.hasMarkPlaceholder=!0;var q=Object.fromEntries(Object.keys(K).map(e=>[e,null]));M.push(fa(fa(fa({[jr]:!0},q),z),{},{anchor:G,focus:G}))}}return(0,e.useEffect)(()=>{setTimeout(()=>{var{selection:e}=b;if(e){var{anchor:t}=e,n=nt.leaf(b,t.path);if(z&&!yt.equals(n,z,{loose:!0}))return void Pr.set(b,z)}Pr.delete(b)})}),function(){var{flushDeferred:t}=(0,e.useContext)(na);ui(t)}(),t().createElement(ea.Provider,{value:u},t().createElement(la.Provider,{value:C},t().createElement(_i.Provider,{value:L},t().createElement(sa,{node:k,receivedUserInput:w},t().createElement(v,fa(fa({role:u?void 0:"textbox","aria-multiline":!u||void 0},E),{},{spellCheck:!(!dr&&cr)&&E.spellCheck,autoCorrect:dr||!cr?E.autoCorrect:"false",autoCapitalize:dr||!cr?E.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!u,zindex:-1,suppressContentEditableWarning:!0,ref:I,style:fa(fa({},y?{}:fa({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},x?{minHeight:x}:{})),g),onBeforeInput:(0,e.useCallback)(e=>{if(!dr&&!u&&!ya(e,E.onBeforeInput)&&ai.hasSelectableTarget(b,e.target)&&(e.preventDefault(),!ai.isComposing(b))){var t=e.data;at.insertText(b,t)}},[E.onBeforeInput,b,u]),onInput:(0,e.useCallback)(e=>{if(!ya(e,E.onInput))if(P.current)P.current.handleInput();else{for(var t of A.current)t();A.current=[],ai.isFocused(b)||Ca(b,e.nativeEvent)}},[E.onInput,b]),onBlur:(0,e.useCallback)(e=>{if(!u&&!N.isUpdatingSelection&&ai.hasSelectableTarget(b,e.target)&&!ya(e,E.onBlur)){var t=ai.findDocumentOrShadowRoot(b);if(N.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===ai.toDOMNode(b,b)||Un(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&zn(n)&&ai.hasDOMNode(b,n)){var r=ai.toSlateNode(b,n);if(Ze.isElement(r)&&!b.isVoid(r))return}if(nr){var o=Yn(t);null==o||o.removeAllRanges()}Sr.delete(b)}}}},[u,N.isUpdatingSelection,N.latestElement,b,E.onBlur]),onClick:(0,e.useCallback)(e=>{if(ai.hasTarget(b,e.target)&&!ya(e,E.onClick)&&zn(e.target)){var t=ai.toSlateNode(b,e.target),n=ai.findPath(b,t);if(!at.hasPath(b,n)||nt.get(b,n)!==t)return;if(3===e.detail&&n.length>=1){var r=n;if(!Ze.isElement(t)||!at.isBlock(b,t)){var o,i=at.above(b,{match:e=>Ze.isElement(e)&&at.isBlock(b,e),at:n});r=null!==(o=null==i?void 0:i[1])&&void 0!==o?o:n.slice(0,1)}var a=at.range(b,r);return void Xt.select(b,a)}if(u)return;var s=at.start(b,n),l=at.end(b,n),c=at.void(b,{at:s}),d=at.void(b,{at:l});if(c&&d&&Pe.equals(c[1],d[1])){var f=at.range(b,s);Xt.select(b,f)}}},[b,E.onClick,u]),onCompositionEnd:(0,e.useCallback)(e=>{if(ai.hasSelectableTarget(b,e.target)){var t;if(ai.isComposing(b)&&Promise.resolve().then(()=>{T(!1),_r.set(b,!1)}),null===(t=P.current)||void 0===t||t.handleCompositionEnd(e),ya(e,E.onCompositionEnd)||er)return;if(!nr&&!sr&&!Jn&&!ur&&!lr&&e.data){var n=Pr.get(b);Pr.delete(b),void 0!==n&&(Rr.set(b,b.marks),b.marks=n),at.insertText(b,e.data);var r=Rr.get(b);Rr.delete(b),void 0!==r&&(b.marks=r)}}},[E.onCompositionEnd,b]),onCompositionUpdate:(0,e.useCallback)(e=>{ai.hasSelectableTarget(b,e.target)&&!ya(e,E.onCompositionUpdate)&&(ai.isComposing(b)||(T(!0),_r.set(b,!0)))},[E.onCompositionUpdate,b]),onCompositionStart:(0,e.useCallback)(e=>{if(ai.hasSelectableTarget(b,e.target)){var t;if(null===(t=P.current)||void 0===t||t.handleCompositionStart(e),ya(e,E.onCompositionStart)||er)return;T(!0);var{selection:n}=b;if(n&&Qe.isExpanded(n))return void at.deleteFragment(b)}},[E.onCompositionStart,b]),onCopy:(0,e.useCallback)(e=>{!ai.hasSelectableTarget(b,e.target)||ya(e,E.onCopy)||Ea(e)||(e.preventDefault(),ai.setFragmentData(b,e.clipboardData,"copy"))},[E.onCopy,b]),onCut:(0,e.useCallback)(e=>{if(!u&&ai.hasSelectableTarget(b,e.target)&&!ya(e,E.onCut)&&!Ea(e)){e.preventDefault(),ai.setFragmentData(b,e.clipboardData,"cut");var{selection:t}=b;if(t)if(Qe.isExpanded(t))at.deleteFragment(b);else{var n=nt.parent(b,t.anchor.path);at.isVoid(b,n)&&Xt.delete(b)}}},[u,b,E.onCut]),onDragOver:(0,e.useCallback)(e=>{if(ai.hasTarget(b,e.target)&&!ya(e,E.onDragOver)){var t=ai.toSlateNode(b,e.target);Ze.isElement(t)&&at.isVoid(b,t)&&e.preventDefault()}},[E.onDragOver,b]),onDragStart:(0,e.useCallback)(e=>{if(!u&&ai.hasTarget(b,e.target)&&!ya(e,E.onDragStart)){var t=ai.toSlateNode(b,e.target),n=ai.findPath(b,t);if(Ze.isElement(t)&&at.isVoid(b,t)||at.void(b,{at:n,voids:!0})){var r=at.range(b,n);Xt.select(b,r)}N.isDraggingInternally=!0,ai.setFragmentData(b,e.dataTransfer,"drag")}},[u,b,E.onDragStart,N]),onDrop:(0,e.useCallback)(e=>{if(!u&&ai.hasTarget(b,e.target)&&!ya(e,E.onDrop)){e.preventDefault();var t=b.selection,n=ai.findEventRange(b,e),r=e.dataTransfer;Xt.select(b,n),N.isDraggingInternally&&(!t||Qe.equals(t,n)||at.void(b,{at:n,voids:!0})||Xt.delete(b,{at:t})),ai.insertData(b,r),ai.isFocused(b)||ai.focus(b)}},[u,b,E.onDrop,N]),onDragEnd:(0,e.useCallback)(e=>{!u&&N.isDraggingInternally&&E.onDragEnd&&ai.hasTarget(b,e.target)&&E.onDragEnd(e)},[u,N,E,b]),onFocus:(0,e.useCallback)(e=>{if(!u&&!N.isUpdatingSelection&&ai.hasEditableTarget(b,e.target)&&!ya(e,E.onFocus)){var t=ai.toDOMNode(b,b),n=ai.findDocumentOrShadowRoot(b);if(N.latestElement=n.activeElement,tr&&e.target!==t)return void t.focus();Sr.set(b,!0)}},[u,N,b,E.onFocus]),onKeyDown:(0,e.useCallback)(e=>{if(!u&&ai.hasEditableTarget(b,e.target)){var t;null===(t=P.current)||void 0===t||t.handleKeyDown(e);var{nativeEvent:n}=e;if(ai.isComposing(b)&&!1===n.isComposing&&(_r.set(b,!1),T(!1)),ya(e,E.onKeyDown)||ai.isComposing(b))return;var{selection:r}=b,o=b.children[null!==r?r.focus.path[0]:0],i="rtl"===kn()(nt.string(o));if(oo.isRedo(n)){e.preventDefault();var a=b;return void("function"==typeof a.redo&&a.redo())}if(oo.isUndo(n)){e.preventDefault();var s=b;return void("function"==typeof s.undo&&s.undo())}if(oo.isMoveLineBackward(n))return e.preventDefault(),void Xt.move(b,{unit:"line",reverse:!0});if(oo.isMoveLineForward(n))return e.preventDefault(),void Xt.move(b,{unit:"line"});if(oo.isExtendLineBackward(n))return e.preventDefault(),void Xt.move(b,{unit:"line",edge:"focus",reverse:!0});if(oo.isExtendLineForward(n))return e.preventDefault(),void Xt.move(b,{unit:"line",edge:"focus"});if(oo.isMoveBackward(n))return e.preventDefault(),void(r&&Qe.isCollapsed(r)?Xt.move(b,{reverse:!i}):Xt.collapse(b,{edge:i?"end":"start"}));if(oo.isMoveForward(n))return e.preventDefault(),void(r&&Qe.isCollapsed(r)?Xt.move(b,{reverse:i}):Xt.collapse(b,{edge:i?"start":"end"}));if(oo.isMoveWordBackward(n))return e.preventDefault(),r&&Qe.isExpanded(r)&&Xt.collapse(b,{edge:"focus"}),void Xt.move(b,{unit:"word",reverse:!i});if(oo.isMoveWordForward(n))return e.preventDefault(),r&&Qe.isExpanded(r)&&Xt.collapse(b,{edge:"focus"}),void Xt.move(b,{unit:"word",reverse:i});if(dr){if((or||nr)&&r&&(oo.isDeleteBackward(n)||oo.isDeleteForward(n))&&Qe.isCollapsed(r)){var l=nt.parent(b,r.anchor.path);if(Ze.isElement(l)&&at.isVoid(b,l)&&(at.isInline(b,l)||at.isBlock(b,l)))return e.preventDefault(),void at.deleteBackward(b,{unit:"block"})}}else{if(oo.isBold(n)||oo.isItalic(n)||oo.isTransposeCharacter(n))return void e.preventDefault();if(oo.isSoftBreak(n))return e.preventDefault(),void at.insertSoftBreak(b);if(oo.isSplitBlock(n))return e.preventDefault(),void at.insertBreak(b);if(oo.isDeleteBackward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"backward"}):at.deleteBackward(b));if(oo.isDeleteForward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"forward"}):at.deleteForward(b));if(oo.isDeleteLineBackward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"backward"}):at.deleteBackward(b,{unit:"line"}));if(oo.isDeleteLineForward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"forward"}):at.deleteForward(b,{unit:"line"}));if(oo.isDeleteWordBackward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"backward"}):at.deleteBackward(b,{unit:"word"}));if(oo.isDeleteWordForward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"forward"}):at.deleteForward(b,{unit:"word"}))}}},[u,b,E.onKeyDown]),onPaste:(0,e.useCallback)(e=>{u||!ai.hasEditableTarget(b,e.target)||ya(e,E.onPaste)||(!dr||(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||nr)&&(e.preventDefault(),ai.insertData(b,e.clipboardData))},[u,b,E.onPaste])}),t().createElement(pa,{decorations:M,node:b,renderElement:c,renderChunk:d,renderPlaceholder:h,renderLeaf:f,renderText:p}))))))}),ma=e=>{var{attributes:n,children:r}=e;return t().createElement("span",fa({},n),r,er&&t().createElement("br",null))},ga=()=>[],va=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&Qe.isCollapsed(e.selection))){var n=t.startContainer.parentElement,r=t.getBoundingClientRect();if(0===r.width&&0===r.height&&0===r.x&&0===r.y){var o=n.getBoundingClientRect();if(o.width>0||o.height>0)return}n.getBoundingClientRect=t.getBoundingClientRect.bind(t),function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(Rn(e,t));const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of Rn(e,(e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"})(t))){const e=i-n.top+n.bottom,t=a-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},ya=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},Ea=e=>zn(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),ba=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented},Ca=(e,t)=>{var n=e;"historyUndo"!==t.inputType||"function"!=typeof n.undo?"historyRedo"!==t.inputType||"function"!=typeof n.redo||n.redo():n.undo()},Ta=(0,e.createContext)(!1),ka=parseInt(t().version.split(".")[0],10),Aa=["editor","children","onChange","onSelectionChange","onValueChange","initialValue"],xa=n=>{var{editor:r,children:o,onChange:i,onSelectionChange:a,onValueChange:s,initialValue:l}=n,u=ti(n,Aa);t().useState(()=>{if(!nt.isNodeList(l))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ft.stringify(l)));if(!at.isEditor(r))throw new Error("[Slate] editor is invalid! You passed: ".concat(ft.stringify(r)));r.children=l,Object.assign(r,u)});var{selectorContext:c,onChange:d}=function(){var t=(0,e.useRef)(new Set),n=(0,e.useRef)(new Set),r=(0,e.useCallback)(()=>{t.current.forEach(e=>e())},[]),o=(0,e.useCallback)(()=>{n.current.forEach(e=>e()),n.current.clear()},[]),i=(0,e.useCallback)(function(e){var{deferred:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r?()=>n.current.add(e):e;return t.current.add(o),()=>{t.current.delete(o)}},[]);return{selectorContext:(0,e.useMemo)(()=>({addEventListener:i,flushDeferred:o}),[i,o]),onChange:r}}(),f=(0,e.useCallback)(e=>{var t;i&&i(r.children),"set_selection"===(null==e||null===(t=e.operation)||void 0===t?void 0:t.type)?null==a||a(r.selection):null==s||s(r.children),d()},[r,d,i,a,s]);(0,e.useEffect)(()=>(Or.set(r,f),()=>{Or.set(r,()=>{})}),[r,f]);var[p,h]=(0,e.useState)(ai.isFocused(r));return(0,e.useEffect)(()=>{h(ai.isFocused(r))},[r]),ui(()=>{var e=()=>h(ai.isFocused(r));return ka>=17?(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(na.Provider,{value:c},t().createElement(oi.Provider,{value:r},t().createElement(Ta.Provider,{value:p},o)))},Da=()=>{var t=(0,e.useContext)(Qi);return!!t&&function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ra,{deferred:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,e.useContext)(na);if(!o)throw new Error("The `useSlateSelector` hook must be used inside the <Slate> component's context.");var{addEventListener:i}=o,a=ii(),s=(0,e.useCallback)(()=>t(a),[a,t]),[l,u]=Si(s,n);return ui(()=>{var e=i(u,{deferred:r});return u(),e},[i,u,r]),l}((0,e.useCallback)(e=>{if(!e.selection)return!1;var n=ai.findPath(e,t),r=at.range(e,n);return!!Qe.intersection(r,e.selection)},[t]),void 0,{deferred:!0})},Sa=function(e){var t=e;t=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 xr.set(n,new WeakMap),n.addMark=(e,t)=>{var r,o;null===(r=Nr.get(n))||void 0===r||r(),!Pr.get(n)&&null!==(o=Br.get(n))&&void 0!==o&&o.length&&Pr.set(n,null),Rr.delete(n),a(e,t)},n.removeMark=e=>{var t;!Pr.get(n)&&null!==(t=Br.get(n))&&void 0!==t&&t.length&&Pr.set(n,null),Rr.delete(n),s(e)},n.deleteBackward=e=>{if("line"!==e)return i(e);if(n.selection&&Qe.isCollapsed(n.selection)){var t=at.above(n,{match:e=>Ze.isElement(e)&&at.isBlock(n,e),at:n.selection});if(t){var[,r]=t,o=at.range(n,r,n.selection.anchor),a=((e,t)=>{var n=at.range(e,Qe.end(t)),r=Array.from(at.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(Xr(e,at.range(e,r[o]),n))return at.range(e,r[o],n);if(r.length<2)return at.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)Xr(e,at.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return at.range(e,r[o],n)})(n,o);Qe.isCollapsed(a)||Xt.delete(n,{at:a})}}},n.apply=t=>{var o=[],i=[],a=Br.get(n);if(null!=a&&a.length){var s=a.map(e=>function(e,t){var{path:n,diff:r,id:o}=e;switch(t.type){case"insert_text":return!Pe.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!Pe.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!Pe.equals(t.path,n)||t.position>=r.end?{diff:r,id:o,path:Pe.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:Pe.transform(n,t,{affinity:"forward"})};case"merge_node":return Pe.equals(t.path,n)?{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:o,path:Pe.transform(n,t)}:{diff:r,id:o,path:Pe.transform(n,t)}}var i=Pe.transform(n,t);return i?{diff:r,path:i,id:o}:null}(e,t)).filter(Boolean);Br.set(n,s)}var l=Ir.get(n);l&&Ir.set(n,Vr(n,l,t));var u=Fr.get(n);if(null!=u&&u.at){var c=ct.isPoint(null==u?void 0:u.at)?$r(n,u.at,t):Vr(n,u.at,t);Fr.set(n,c?Jr(Jr({},u),{},{at:c}):null)}switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":o.push(...Zr(n,t.path));break;case"set_selection":var d;null===(d=wr.get(n))||void 0===d||d.unref(),wr.delete(n);break;case"insert_node":case"remove_node":o.push(...Zr(n,Pe.parent(t.path)));break;case"merge_node":var f=Pe.previous(t.path);o.push(...Zr(n,f));break;case"move_node":var p,h=Pe.common(Pe.parent(t.path),Pe.parent(t.newPath));o.push(...Zr(n,h)),Pe.isBefore(t.path,t.newPath)?(o.push(...Zr(n,Pe.parent(t.path))),p=t.newPath):(o.push(...Zr(n,Pe.parent(t.newPath))),p=t.path);var m=nt.get(e,Pe.parent(p)),g=Hr.findKey(n,m),v=at.pathRef(n,Pe.parent(p));i.push([v,g])}switch(r(t),t.type){case"insert_node":case"remove_node":case"merge_node":case"move_node":case"split_node":case"insert_text":case"remove_text":case"set_selection":gr.set(n,!0)}for(var[y,E]of o){var[b]=at.node(n,y);Ar.set(b,E)}for(var[C,T]of i){if(C.current){var[k]=at.node(n,C.current);Ar.set(k,T)}C.unref()}},n.setFragmentData=e=>{var{selection:r}=n;if(r){var[o,i]=Qe.edges(r),a=at.void(n,{at:o.path}),s=at.void(n,{at:i.path});if(!Qe.isCollapsed(r)||a){var l=Hr.toDOMRange(n,r),u=l.cloneContents(),c=u.childNodes[0];if(u.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)}),s){var[d]=s,f=l.cloneRange(),p=Hr.toDOMNode(n,d);f.setEndAfter(p),u=f.cloneContents()}if(a&&(c=u.querySelector("[data-slate-spacer]")),Array.from(u.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),Wn(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),u.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 y=u.ownerDocument.createElement("div");return y.appendChild(u),y.setAttribute("hidden","true"),u.ownerDocument.body.appendChild(y),e.setData("text/html",y.innerHTML),e.setData("text/plain",$n(y)),u.ownerDocument.body.removeChild(y),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(Vn)||[];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&&Xt.splitNodes(n,{always:!0}),n.insertText(i),o=!0;return!0}return!1},n.onChange=e=>{var t=Or.get(n);t&&t(e),o(e)},n}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x-slate-fragment");var{onChange:n,apply:r,insertText:o}=t;return t.getChunkSize=()=>null,er&&(t.insertText=(e,n)=>(Ir.delete(t),o(e,n))),t.onChange=e=>{(ka<18?ei().unstable_batchedUpdates:e=>e())(()=>{n(e)})},t.apply=e=>{if("move_node"===e.type){var n=nt.parent(t,e.path);if(t.getChunkSize(n)){var o=nt.get(t,e.path),i=qi(t,n),a=ai.findKey(t,o);i.movedNodeKeys.add(a)}}r(e)},t};function _a(e){return"[object Object]"===Object.prototype.toString.call(e)}function wa(e){var t,n;return!1!==_a(e)&&(void 0===(t=e.constructor)||!1!==_a(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}var Oa=e=>wa(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||it.isOperationList(e.redos[0].operations))&&(0===e.undos.length||it.isOperationList(e.undos[0].operations)),Na=(new WeakMap,new WeakMap),Pa=new WeakMap,Ra=new WeakMap,Ba={isHistoryEditor:e=>Oa(e.history)&&at.isEditor(e),isMerging:e=>Pa.get(e),isSplittingOnce:e=>Ra.get(e),setSplittingOnce(e,t){Ra.set(e,t)},isSaving:e=>Na.get(e),redo(e){e.redo()},undo(e){e.undo()},withMerging(e,t){var n=Ba.isMerging(e);Pa.set(e,!0),t(),Pa.set(e,n)},withNewBatch(e,t){var n=Ba.isMerging(e);Pa.set(e,!0),Ra.set(e,!0),t(),Pa.set(e,n),Ra.delete(e)},withoutMerging(e,t){var n=Ba.isMerging(e);Pa.set(e,!1),t(),Pa.set(e,n)},withoutSaving(e,t){var n=Ba.isSaving(e);Na.set(e,!1);try{t()}finally{Na.set(e,n)}}},Fa=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&&Xt.setSelection(t,r.selectionBefore),Ba.withoutSaving(t,()=>{at.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];Ba.withoutSaving(t,()=>{at.withoutNormalizing(t,()=>{var e=r.operations.map(it.inverse).reverse();for(var n of e)t.apply(n);r.selectionBefore&&Xt.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],l=Ba.isSaving(t),u=Ba.isMerging(t);if(null==l&&(l=Ma(e)),l){if(null==u&&(u=null!=a&&(0!==r.length||Ia(e,s))),Ba.isSplittingOnce(t)&&(u=!1,Ba.setSplittingOnce(t,void 0)),a&&u)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},Ia=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Pe.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Pe.equals(e.path,t.path)),Ma=(e,t)=>"set_selection"!==e.type;const La="100px",ja=N("div",{target:"ehaqqzm0",label:"EditorControlBar"})("z-index:",P.zIndex.zIndex200,";position:sticky;top:0;margin-bottom:",La,";"),Ha=N("button",{target:"e1ps9s9m0",label:"StyledToolbarButton"})(P.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;}",P.Icon,"{display:block;}");function Ua({type:e,label:t,icon:n,onClick:r,isActive:o,disabled:i}){return(0,l.jsx)(Ha,{isActive:o,onClick:t=>r&&r(t,e),title:t,disabled:i},n?(0,l.jsx)(P.Icon,{type:n}):t)}Ua.propTypes={type:r().string,label:r().string.isRequired,icon:r().string,onClick:r().func,isActive:r().bool,disabled:r().bool};const za=Ua,Ga=N("div",{target:"e11cox783",label:"ToolbarContainer"})("background-color:",P.colors.textFieldBorder,";border-top-right-radius:",P.lengths.borderRadius,";position:relative;display:flex;justify-content:space-between;align-items:center;padding:11px 14px;min-height:58px;transition:background-color ",P.transitions.main,",color ",P.transitions.main,";color:",P.colors.text,";"),Wa=N("div",{target:"e11cox782",label:"ToolbarDropdownWrapper"})({name:"11ffxfj",styles:"display:inline-block;position:relative"}),Ka=N("div",{target:"e11cox781",label:"ToolbarToggle"})({name:"1qi6e7n",styles:"flex-shrink:0;display:flex;align-items:center;font-size:14px;margin:0 10px"}),qa=Ka.withComponent(P.Toggle,{target:"e11cox784",label:"StyledToggle"}),$a=N("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,l.css)("font-weight:600;color:",P.colors.active,";;label:ToolbarToggleLabel;"),";");class Va extends t().Component{static 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};componentDidMount(){r().checkPropTypes(Va.propTypes,this.props,"prop","Toolbar")}isVisible=e=>{const{buttons:t}=this.props;return!a.List.isList(t)||t.includes(e)};handleBlockClick=(e,t)=>{e&&e.preventDefault(),this.props.onBlockClick(t)};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:c=()=>{},hasBlock:d=()=>{},hasQuote:f=()=>{},hasListItems:p=()=>{},editorComponents:h,t:m}=this.props,g=this.isVisible,v=!h||h.size>=1,y=o?o.toList().sortBy(e=>e.label):(0,a.List)(),E=h?h.map(e=>o.get(e)).filter(e=>!!e):y,b={"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,l.jsx)(Ga,null,(0,l.jsx)("div",null,g("bold")&&(0,l.jsx)(za,{type:"bold",label:m("editor.editorWidgets.markdown.bold"),icon:"bold",onClick:this.handleMarkClick,isActive:u("bold"),disabled:i}),g("italic")&&(0,l.jsx)(za,{type:"italic",label:m("editor.editorWidgets.markdown.italic"),icon:"italic",onClick:this.handleMarkClick,isActive:u("italic"),disabled:i}),g("strikethrough")&&(0,l.jsx)(za,{type:"strikethrough",label:m("editor.editorWidgets.markdown.strikethrough"),icon:"strikethrough",onClick:this.handleMarkClick,isActive:u("delete"),disabled:i}),g("code")&&(0,l.jsx)(za,{type:"code",label:m("editor.editorWidgets.markdown.code"),icon:"code",onClick:this.handleMarkClick,isActive:u("code"),disabled:i}),g("link")&&(0,l.jsx)(za,{type:"link",label:m("editor.editorWidgets.markdown.link"),icon:"link",onClick:e,isActive:c("link"),disabled:i}),Object.keys(b).some(g)&&(0,l.jsx)(Wa,null,(0,l.jsx)(P.Dropdown,{dropdownWidth:"max-content",dropdownTopOverlap:"36px",renderButton:()=>(0,l.jsx)(P.DropdownButton,null,(0,l.jsx)(za,{type:"headings",label:m("editor.editorWidgets.markdown.headings"),icon:"hOptions",disabled:i,isActive:!i&&Object.keys(b).some(d)}))},!i&&Object.keys(b).map((e,t)=>g(e)&&(0,l.jsx)(P.DropdownItem,{key:t,label:b[e],className:d(e)?"active":"",onClick:()=>this.handleBlockClick(null,e)})))),g("quote")&&(0,l.jsx)(za,{type:"quote",label:m("editor.editorWidgets.markdown.quote"),icon:"quote",onClick:this.handleBlockClick,isActive:f("quote"),disabled:i}),g("bulleted-list")&&(0,l.jsx)(za,{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,l.jsx)(za,{type:"numbered-list",label:m("editor.editorWidgets.markdown.numberedList"),icon:"list-numbered",onClick:this.handleBlockClick,isActive:p("numbered-list"),disabled:i}),v&&(0,l.jsx)(Wa,null,(0,l.jsx)(P.Dropdown,{dropdownTopOverlap:"36px",dropdownWidth:"max-content",renderButton:()=>(0,l.jsx)(P.DropdownButton,null,(0,l.jsx)(za,{label:m("editor.editorWidgets.markdown.addComponent"),icon:"add-with",onClick:this.handleComponentsMenuToggle,disabled:i}))},E.map((e,t)=>(0,l.jsx)(P.DropdownItem,{key:t,label:e.label,onClick:()=>s(e)}))))),r&&(0,l.jsx)(Ka,null,(0,l.jsx)($a,{isActive:!n,offPosition:!0},m("editor.editorWidgets.markdown.richText")),(0,l.jsx)(qa,{active:n,onChange:t,"aria-label":m(n?"editor.editorWidgets.markdown.toggleMode.rich":"editor.editorWidgets.markdown.toggleMode.markdown")}),(0,l.jsx)($a,{isActive:n},m("editor.editorWidgets.markdown.markdown"))))}}const Ya=function(e=""){return{type:"paragraph",children:[{text:e}]}};function Xa({minimal:e}){return`\n position: relative;\n overflow: hidden;\n overflow-x: auto;\n min-height: ${e?"auto":P.lengths.richTextEditorMinHeight};\n font-family: ${P.fonts.mono};\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top: 0;\n margin-top: -${La};\n`}const Qa=N("div",{target:"e12tj7710",label:"RawEditorContainer"})({name:"bjn8wh",styles:"position:relative"});function Ja(t){const{className:n,field:r,isShowModeToggle:o,t:i,onChange:a}=t,s=(0,e.useMemo)(()=>Sa(Fa(Cn())),[]),[u,c]=(0,e.useState)(t.value?t.value.split("\n").map(e=>Ya(e)):[Ya()]);function d(e){a(e.map(e=>e.children[0].text).join("\n")),c(e)}return(0,e.useEffect)(()=>{t.pendingFocus&&(ai.focus(s),t.pendingFocus())},[t.pendingFocus]),(0,l.jsx)(xa,{editor:s,value:u,initialValue:u,onChange:d},(0,l.jsx)(Qa,null,(0,l.jsx)(ja,null,(0,l.jsx)(Va,{onToggleMode:function(){t.onMode("rich_text")},buttons:r.get("buttons"),disabled:!0,rawMode:!0,isShowModeToggle:o,t:i})),(0,l.jsx)(l.ClassNames,null,({css:e,cx:t})=>(0,l.jsx)(ha,{className:t(n,e`
|
|
2
|
+
!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={61990(e){"use strict";e.exports=function(e){if(e)throw e}},59258(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}},3470(e){"use strict";e.exports=function(e){return String(e).replace(/\s+/g," ")}},70532(e,t){"use strict";t.parse=function(e){for(var t,n=[],r=String(e||""),o=r.indexOf(","),i=0,a=!1;!a;)-1===o&&(o=r.length,a=!0),!(t=r.slice(i,o).trim())&&a||n.push(t),i=o+1,o=r.indexOf(",",i);return n},t.stringify=function(e,t){var n=t||{},r=!1===n.padLeft?"":" ",o=n.padRight?" ":"";return""===e[e.length-1]&&(e=e.concat("")),e.join(o+","+r).trim()}},58632(e,t,n){"use strict";e.exports=function(e,t){var n,i,a,s=t||4,l=[],u=0,c=0,d=-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-(d+a-c+1)%s,l.push(e.slice(u,a),r(" ",n)),d+=a-c+n,u=a+1):d=-1,c=a+1;return l.push(e.slice(u)),l.join("")};var r=n(45069),o=/[\t\n\r]/g},8663(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+"]")},89710(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},l=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,u,c,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=l(d,n),d!==(o=l(t,n))&&(h&&o&&(a(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&a(r)?r:{},s(d,{name:n,newValue:e(h,c,o)})):void 0!==o&&s(d,{name:n,newValue:o}));return d}},10382(e,t,n){"use strict";var r=n(39106);e.exports=r(["audio","canvas","embed","iframe","img","math","object","picture","svg","video"])},86277(e,t,n){"use strict";var r=n(50019),o=n(72606),i=n(24721),a=n(92712),s=n(32939),l=n(17845),u=n(93227),c=n(59258);e.exports=function(e,t){var n,i=t||{};return i.messages?(n=i,i={}):n=i.file,p(e,{schema:"svg"===i.space?o:r,file:n,verbose:i.verbose,location:!1})};var d={}.hasOwnProperty,f={"#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 p(e,t){var n,s,l,c=t.schema,h=d.call(f,e.nodeName)?f[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]=p(e[r],t);return o}(e.childNodes,t)),s=h(e,n,t),e.sourceCodeLocation&&t.file&&(l=function(e,t,n){var r,o,a,s,l=n.schema,c=n.verbose,d=g(t);if("element"===e.type&&(r=e.children[e.children.length-1],!t.endTag&&r&&r.position&&r.position.end&&(d.end=u(r.position.end)),c)){for(a in s={},o=t.attrs)s[i(l,a).property]=g(o[a]);e.data={position:{opening:g(t.startTag),closing:t.endTag?g(t.endTag):null,properties:s}}}return d}(s,e.sourceCodeLocation,t),l&&(t.location=!0,s.position=l)),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,u,c="svg"===n.schema.space?s:l,d=e.tagName,f=e.attrs,h=f.length,m={},v=-1;++v<h;)m[((r=f[v]).prefix?r.prefix+":":"")+r.name]=r.value;return o=c(d,m,t),"template"===d&&"content"in e&&(a=(i=e.sourceCodeLocation)&&i.startTag&&g(i.startTag).end,u=i&&i.endTag&&g(i.endTag).start,o.content=p(e.content,n),(a||u)&&n.file&&(o.content.position={start:a,end:u})),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}},39138(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)}},4501(e){"use strict";e.exports=function(e){return e&&"comment"===e.type&&t.test(e.value)};var t=/^\[if[ \t\f\n\r]+[^\]]+]|<!\[endif]$/},39106(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")}},60713(e,t,n){"use strict";var r=n(39106);function o(e,t,n,o,i){var a=null!=o,s=null!=n,l=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 l.call(i,e,n,o)}e.exports=o,o.convert=r},8487(e){"use strict";e.exports=function(e,n){for(var r,o,i,a=e||"",s=n||"div",l={},u=0;u<a.length;)t.lastIndex=u,i=t.exec(a),(r=a.slice(u,i?i.index:a.length))&&(o?"#"===o?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,u+=r.length),i&&(o=i[0],u++);return{type:"element",tagName:s,properties:l,children:[]}};var t=/[#.]/g},24697(e,t,n){"use strict";e.exports=n(8065)},24138(e,t,n){"use strict";var r=n(89149);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("")}},75492(e,t,n){"use strict";var r=n(93227),o=n(55609);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"}},86728(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("")]]}},60867(e,t,n){"use strict";var r=n(93227),o=n(59258),i=n(55609);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("")+">"}},989(e,t,n){"use strict";var r=n(93227),o=n(72606),i=n(24721),a=n(53551),s=n(70532),l=n(55609),u=n(59258),c=n(24138),d=n(86728);function f(e,t,n){var o,c,f=i(e.schema,t),p=e.quote;return!f.overloadedBoolean||n!==f.attribute&&""!==n?(f.boolean||f.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&n!=n?"":(c=l(f.attribute,r(e.entities,{subset:d.name["html"===e.schema.space?e.valid:1][e.safe]})),!0===n?c:(n="object"==typeof n&&"length"in n?(f.commaSeparated?s.stringify:a.stringify)(n,{padLeft:!e.tightLists}):String(n),e.collapseEmpty&&!n?c:(e.unquoted&&(o=l(n,r(e.entities,{subset:d.unquoted[e.valid][e.safe],attribute:!0}))),o!==n&&(e.smart&&u(n,p)>u(n,e.alternative)&&(p=e.alternative),o=p+l(n,r(e.entities,{subset:("'"===p?d.single:d.double)["html"===e.schema.space?e.valid:1][e.safe],attribute:!0}))+p),c+(o?"="+o:o))))}e.exports=function(e,t,n,r){var i,a,s,l=e.schema,u="svg"!==l.space&&e.omit,d=[],p="svg"===l.space?e.closeEmpty:e.voids.indexOf(t.tagName.toLowerCase())>-1;return"html"===l.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=f(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"===l.space&&"template"===t.tagName?t.content:t),e.schema=l,a&&(p=!1),!i&&u&&u.opening(t,n,r)||(d.push("<",t.tagName,i?" "+i:""),p&&("svg"===l.space||e.close)&&(s=i.charAt(i.length-1),(!e.tightClose||"/"===s||"svg"===l.space&&s&&'"'!==s&&"'"!==s)&&d.push(" "),d.push("/")),d.push(">")),d.push(a),p||u&&u.closing(t,n,r)||d.push("</"+t.tagName+">"),d.join("")}},8065(e,t,n){"use strict";var r,o=n(50019),i=n(72606),a=n(14169),s=n(26939),l=n(89149);e.exports=function(e,t){var n=t||{},u=n.quote||'"',c='"'===u?"'":'"';if('"'!==u&&"'"!==u)throw new Error("Invalid quote `"+u+"`, expected `'` or `\"`");return"allowDangerousHTML"in n&&!r&&(r=!0,console.warn("Deprecation warning: `allowDangerousHTML` is a nonstandard option, use `allowDangerousHtml` instead")),l({valid:n.allowParseErrors?0:1,safe:n.allowDangerousCharacters?0:1,schema:"svg"===n.space?i:o,omit:n.omitOptionalTags&&s,quote:u,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)}},75732(e,t,n){"use strict";var r=n(60713),o=n(18643),i=n(39573),a=n(72181),s=n(28178);function l(e,t,n){var r=a.after(n,t,!0);return!r||!i(r)&&!o(r)}function u(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:l,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:u,rp:u,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:l,caption:l,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})},26939(e,t,n){"use strict";t.opening=n(34279),t.closing=n(75732)},28178(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},34279(e,t,n){"use strict";var r=n(60713),o=n(72181),i=n(18643),a=n(39573),s=n(75732),l=n(28178);e.exports=l({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"))}})},39573(e,t,n){"use strict";var r=n(44546);e.exports=r("comment")},72181(e,t,n){"use strict";var r=n(6189);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)},18643(e,t,n){"use strict";var r=n(44546),o=n(6189);e.exports=function(e){return i(e)&&o(e.value.charAt(0))};var i=r("text")},89149(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(75492),doctype:n(60867),element:n(989),raw:n(85123),root:n(24138),text:n(55674)},o={}.hasOwnProperty},85123(e,t,n){"use strict";var r=n(55674);e.exports=function(e,t){return e.dangerous?t.value:r(e,t)}},55674(e,t,n){"use strict";var r=n(93227),o=n(55609);e.exports=function(e,t,n,i){return!i||"script"!==i.tagName&&"style"!==i.tagName?o(t.value,r(e.entities,{subset:["<","&"]})):t.value}},96055(e,t,n){"use strict";e.exports=function(e,t){var n,i=t||{},f={};return p.nodeById=f,p.baseFound=!1,p.frozenBaseUrl=null,p.wrapText=!0,p.qNesting=0,p.handlers=i.handlers?s(u,i.handlers):u,p.augment=h,p.document=i.document,p.checked=i.checked||"[x]",p.unchecked=i.unchecked||"[ ]",p.quotes=i.quotes||['"'],a(e,"element",function(e){var t=r(e,"id")&&String(e.properties.id).toUpperCase();t&&!c.call(f,t)&&(f[t]=e)}),o({newlines:!0===i.newlines})(e),n=l(p,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"),d(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 p(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(39138),o=n(56494),i=n(44546),a=n(53325),s=n(93227),l=n(94175),u=n(30737),c=n(92236),d=i(["heading","paragraph","root"])},42524(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(94175)},39972(e){"use strict";e.exports=function(e,t){e.baseFound||(e.frozenBaseUrl=t.properties.href,e.baseFound=!0)}},45706(e,t,n){"use strict";e.exports=function(e,t){return e(t,"blockquote",r(e,t))};var r=n(35468)},47010(e){"use strict";e.exports=function(e,t){return e.wrapText?e(t,"break"):e(t,"text"," ")}},18468(e,t,n){"use strict";e.exports=function(e,t){var n,o,d=t.children,f=-1;if(u(t))for(;++f<d.length;)if(c(d[f])&&r(d[f],"className")){n=d[f].properties.className;break}if(n)for(f=-1;++f<n.length;)if(n[f].slice(0,9)===l){o=n[f].slice(9);break}return e(t,"code",{lang:o||null,meta:null},a(s(e,i(t))))};var r=n(39138),o=n(39106),i=n(90591),a=n(31587),s=n(11276),l="language-",u=o("pre"),c=o("code")},2996(e,t,n){"use strict";e.exports=function(e,t){return e(t,"html","\x3c!--"+r(e,t.value)+"--\x3e")};var r=n(11276)},1582(e,t,n){"use strict";e.exports=function(e,t){return e(t,"delete",r(e,t))};var r=n(42524)},76221(e,t,n){"use strict";e.exports=function(e,t){for(var n,r,i=t.children,c=-1,d=[],f=[],p={titles:[],definitions:[]};++c<i.length;)r=i[c],d=d.concat(a(r)?r.children:r);for(c=-1;++c<d.length;)r=d[c],s(r)?(l(d[c-1])&&(f.push(p),p={titles:[],definitions:[]}),p.titles.push(r)):p.definitions.push(r);for(f.push(p),c=-1,n=[];++c<f.length;)(p=u(e,f[c].titles).concat(u(e,f[c].definitions))).length&&n.push({type:"listItem",spread:p.length>1,checked:null,children:p});if(n.length)return e(t,"list",{ordered:!1,start:null,spread:o(n)},n)};var r=n(39106),o=n(82111),i=n(24170),a=r("div"),s=r("dt"),l=r("dd");function u(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}},40135(e,t,n){"use strict";e.exports=function(e,t){return e(t,"emphasis",r(e,t))};var r=n(42524)},80299(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(42524)},24493(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(44952),o=n(11276)},99476(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(44952)},30737(e,t,n){"use strict";var r=n(42524),o=n(35468),i=n(39972),a=n(45706),s=n(47010),l=n(18468),u=n(2996),c=n(1582),d=n(76221),f=n(40135),p=n(80299),h=n(24493),m=n(99476),g=n(43736),v=n(21041),y=n(65485),E=n(87901),b=n(74201),C=n(54933),T=n(80447),k=n(58026),A=n(84217),x=n(7549),D=n(86950),S=n(23114),_=n(58692),w=n(10561),O=n(41546),N=n(66159),P=n(37576),R=n(18012);function B(){}t.root=A,t.text=O,t.comment=u,t.doctype=B,t.applet=B,t.area=B,t.basefont=B,t.bgsound=B,t.caption=B,t.col=B,t.colgroup=B,t.command=B,t.content=B,t.datalist=B,t.dialog=B,t.element=B,t.embed=B,t.frame=B,t.frameset=B,t.isindex=B,t.keygen=B,t.link=B,t.math=B,t.menu=B,t.menuitem=B,t.meta=B,t.nextid=B,t.noembed=B,t.noframes=B,t.optgroup=B,t.option=B,t.param=B,t.script=B,t.shadow=B,t.source=B,t.spacer=B,t.style=B,t.svg=B,t.template=B,t.title=B,t.track=B,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=y,t.audio=C,t.b=D,t.base=i,t.blockquote=a,t.br=s,t.code=g,t.dir=b,t.dl=d,t.dt=E,t.dd=E,t.del=c,t.em=f,t.h1=p,t.h2=p,t.h3=p,t.h4=p,t.h5=p,t.h6=p,t.hr=P,t.i=f,t.iframe=h,t.img=m,t.image=m,t.input=v,t.kbd=g,t.li=E,t.listing=l,t.mark=f,t.ol=b,t.p=T,t.plaintext=l,t.pre=l,t.q=k,t.s=c,t.samp=g,t.select=x,t.strike=c,t.strong=D,t.summary=T,t.table=w,t.td=S,t.textarea=N,t.th=S,t.tr=_,t.tt=g,t.u=f,t.ul=b,t.var=g,t.video=C,t.wbr=R,t.xmp=l},43736(e,t,n){"use strict";e.exports=function(e,t){return e(t,"inlineCode",o(e,r(t)))};var r=n(90591),o=n(11276)},21041(e,t,n){"use strict";e.exports=function(e,t){var n,r=t.properties,c=r.value||r.placeholder,d=[],f=[],p=-1;if(!r.disabled&&"hidden"!==r.type&&"file"!==r.type){if("checkbox"===r.type||"radio"===r.type)return e(t,"text",l(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&&l(e,r.title)||null,alt:l(e,r.alt||c)}):[];if(c?f=[[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)&&u(e.nodeById[n])&&(f=i(e,e.nodeById[n],r))),f.length){if("password"===r.type&&(f[0]=[o("•",f[0][0].length)]),"url"===r.type||"email"===r.type){for(;++p<f.length;)c=s(e,f[p][0]),d.push(e(t,"link",{title:null,url:l(e,"email"===r.type?"mailto:"+c:c)},[{type:"text",value:l(e,f[p][1]||c)}])),p!==f.length-1&&d.push({type:"text",value:", "});return d}for(;++p<f.length;)d.push(f[p][1]?f[p][1]+" ("+f[p][0]+")":f[p][0]);return e(t,"text",l(e,d.join(", ")))}}};var r=n(39106),o=n(45069),i=n(98156),a=n(92236),s=n(44952),l=n(11276),u=r("datalist")},65485(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(42524),o=n(44952)},87901(e,t,n){"use strict";e.exports=function(e,t){var n,r,l,u,c=t.children[0],d=null;return a(c)&&(r=c.children[0],!s(r)||"checkbox"!==r.properties.type&&"radio"!==r.properties.type||(d=Boolean(r.properties.checked),(u=o(c)).children=c.children.slice(1),(l=o(t)).children=[u].concat(t.children.slice(1)))),e(t,"listItem",{spread:(n=i(e,l||t)).length>1,checked:d},n)};var r=n(39106),o=n(17808),i=n(35468),a=r("p"),s=r("input")},74201(e,t,n){"use strict";e.exports=function(e,t){var n=s(t),r=a(e,t),l=null;return n&&(l=o(t,"start")?t.properties.start:1),e(t,"list",{ordered:n,start:l,spread:i(r)},r)};var r=n(39106),o=n(39138),i=n(82111),a=n(24170),s=r("ol")},54933(e,t,n){"use strict";e.exports=function(e,t){var n,r=a(e,t),d=c(t)&&t.properties.poster,f=t.properties.src,p=-1;if(i({type:"root",children:r},"link",function(){return n=!0,i.EXIT}),n||l.needed(r))return r;for(;!f&&++p<t.children.length;)u(t.children[p])&&(f=t.children[p].properties.src);return d&&(r=[{type:"image",title:null,url:s(e,d),alt:o({children:r})}]),{type:"link",title:t.properties.title||null,url:s(e,f),children:r}};var r=n(39106),o=n(77476),i=n(53325),a=n(42524),s=n(44952),l=n(19630),u=r("source"),c=r("video")},80447(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(42524)},58026(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(42524)},84217(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(42524),o=n(19630)},7549(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(98156),o=n(11276)},86950(e,t,n){"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(42524)},23114(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(42524)},58692(e,t,n){"use strict";e.exports=function(e,t){return e(t,"tableRow",r(e,t))};var r=n(42524)},10561(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):l(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=u(n.children,t);return o}(i(e,t),n))};var r=n(39106),o=n(53325),i=n(42524),a=r("thead"),s=r("tr"),l=r(["th","td"]);function u(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}},41546(e,t,n){"use strict";e.exports=function(e,t){return e(t,"text",r(e,t.value))};var r=n(11276)},66159(e,t,n){"use strict";e.exports=function(e,t){return e(t,"text",o(e,r(t)))};var r=n(90591),o=n(11276)},37576(e){"use strict";e.exports=function(e,t){return e(t,"thematicBreak")}},18012(e){"use strict";e.exports=function(e,t){return e(t,"text","")}},94175(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(42524),o=n(92236),i=n(11276);function a(e,t){return t.value?e(t,"text",i(e,t.value)):r(e,t)}},98156(e,t,n){"use strict";var r=n(39138),o=n(39106),i=n(90591),a=n(11276);e.exports=function(e,t,n){for(var o,s,u,c,d=n||t.properties,f=l(t),p=Math.min(parseInt(d.size,10),0)||(d.multiple?4:1),h=-1,m=[],g=[];++h<f.length;)r(f[h],"selected")&&m.push(f[h]);for(f=(m.length?m:f).slice(0,p),h=-1;++h<f.length;)o=f[h],u=(s=a(e,i(o)))||o.properties.label,c=o.properties.value||s,g.push([c,u===c?null:u]);return g};var s=o("option");function l(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(l(t)));return i}},82111(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}},92236(e){"use strict";e.exports={}.hasOwnProperty},44952(e){"use strict";e.exports=function(e,t){return null==t?"":e.frozenBaseUrl&&"undefined"!=typeof URL?String(new URL(t,e.frozenBaseUrl)):t}},17808(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(92236)},35468(e,t,n){"use strict";e.exports=function(e,t){return o(r(e,t))};var r=n(42524),o=n(19630)},24170(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(42524)},11276(e){"use strict";e.exports=function(e,t){return e.wrapText?t:t.replace(/\r?\n|\r/g," ")}},19630(e,t,n){"use strict";e.exports=a,a.needed=l;var r=n(89710),o=n(91209),i=n(17808);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||!l(t.children)?n.push(t):n=n.concat(u(t));return n}(e),d=[],f=-1;++f<s.length;)r=s[f],o(r)?(i||(i=[]),i.push(r)):(i&&(d=d.concat(t(i)),i=void 0),d=d.concat(a(r)));return i&&(d=d.concat(t(i))),d}function l(e){for(var t,n=-1;++n<e.length;)if(t=e[n],!o(t)||t.children&&l(t.children))return!0}function u(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}},5008(e){e.exports=function(e){return e}},22065(e,t,n){"use strict";e.exports=l;var r=n(44546),o=n(5008),i=!0,a="skip",s=!1;function l(e,t,n,l){var u,c;"function"==typeof t&&"function"!=typeof n&&(l=n,n=t,t=null),c=r(t),u=l?-1:1,function e(r,d,f){var p,h="object"==typeof r&&null!==r?r:{};return"string"==typeof h.type&&(p="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0,m.displayName="node ("+o(h.type+(p?"<"+p+">":""))+")"),m;function m(){var o,p,h=f.concat(r),m=[];if((!t||c(r,d,f[f.length-1]||null))&&(m=function(e){return null!==e&&"object"==typeof e&&"length"in e?e:"number"==typeof e?[i,e]:[e]}(n(r,f)),m[0]===s))return m;if(r.children&&m[0]!==a)for(p=(l?r.children.length:-1)+u;p>-1&&p<r.children.length;){if((o=e(r.children[p],p,h)())[0]===s)return o;p="number"==typeof o[1]?o[1]:p+u}return m}}(e,null,[])()}l.CONTINUE=i,l.SKIP=a,l.EXIT=s},53325(e,t,n){"use strict";e.exports=s;var r=n(22065),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},90591(e,t,n){"use strict";var r=n(45069),o=n(39106),i=n(30933);e.exports=function(e){var t,n,o,i,a=e.children||[],s=p(e),u=y(e,{}),c=-1;if("text"===e.type||"comment"===e.type)return m(e,{whiteSpace:u,breakBefore:!0,breakAfter:!0});for(t=[];++c<a.length;)t=t.concat(h(a[c],0,e,{whiteSpace:u,breakBefore:c?null:s,breakAfter:c<a.length-1?l(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,l=o("br"),u=o("p"),c=o(["th","td"]),d=o("tr"),f=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}]),p=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=y(e,r),m=e.children||[],g=-1,v=[];if(f(e))return v;for(l(e)||d(e)&&i(n,e,d)?a="\n":u(e)?(o=2,a=2):p(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?l(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=[],l=[],u=0,c=-1;u<i.length;)a.lastIndex=u,r=(n=a.exec(i))?n.index:i.length,s.push(v(i.slice(u,r).replace(/[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]/g,""),t.breakBefore,t.breakAfter)),u=r+1;for(;++c<s.length;)8203===s[c].charCodeAt(s[c].length-1)||c<s.length-1&&8203===s[c+1].charCodeAt(0)?(l.push(s[c]),o=""):s[c]&&(o&&l.push(o),l.push(s[c]),o=" ");return l.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 y(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}}},6189(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},2719(e,t,n){"use strict";var r=n(24721),o=n(66615),i=n(8487),a=n(53551).parse,s=n(70532).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&&l.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)d(a.properties,r,n[r]);return u(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a};function d(t,n,o){var i,l,u;null!=o&&o==o&&(l=(i=r(e,n)).property,"string"==typeof(u=o)&&(i.spaceSeparated?u=a(u):i.commaSeparated?u=s(u):i.commaOrSpaceSeparated&&(u=a(s(u).join(" ")))),"style"===l&&"string"!=typeof o&&(u=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(u)),"className"===l&&t.className&&(u=t.className.concat(u)),t[l]=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,l,u))}};var l={}.hasOwnProperty;function u(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;)u(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}},36512(e,t,n){"use strict";var r=n(50019),o=n(2719)(r,"div");o.displayName="html",e.exports=o},17845(e,t,n){"use strict";e.exports=n(36512)},32939(e,t,n){"use strict";var r=n(72606),o=n(5810),i=n(2719)(r,"g",o);i.displayName="svg",e.exports=i},35615(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}}},37295(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}},10386(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())}},43623(e,t,n){"use strict";var r=n(37295),o=n(15364);e.exports=function(e){return r(e)||o(e)}},15364(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},29816(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}},12567(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 a=e.map(function(e){return function(e,t){var n=t&&t.byKey,a={},s=(e=e.replace("++","+add")).split("+"),c=s.length;for(var d in r)a[r[d]]=!1;var f=!0,p=!1,h=void 0;try{for(var m,g=s[Symbol.iterator]();!(f=(m=g.next()).done);f=!0){var v=m.value,y=v.endsWith("?")&&v.length>1;y&&(v=v.slice(0,-1));var E=u(v),b=r[E];if(v.length>1&&!b&&!o[v]&&!i[E])throw new TypeError('Unknown modifier: "'+v+'"');1!==c&&b||(n?a.key=E:a.which=l(v)),b&&(a[b]=!y||null)}}catch(e){p=!0,h=e}finally{try{!f&&g.return&&g.return()}finally{if(p)throw h}}return a}(e,t)}),s=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?s:s(n)}function l(e){return e=u(e),i[e]||e.toUpperCase().charCodeAt(0)}function u(e){return e=e.toLowerCase(),o[e]||e}t.Ay=s,t.v_=s},51498(e){"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\s/},76627(e){"use strict";e.exports=function(e){return n.test("number"==typeof e?t(e):e.charAt(0))};var t=String.fromCharCode,n=/\w/},33103(e,t,n){var r=n(94715)(n(78942),"DataView");e.exports=r},25098(e,t,n){var r=n(23305),o=n(39361),i=n(11112),a=n(25276),s=n(57452);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},57553(e,t,n){var r=n(39747),o=n(75962);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},1386(e,t,n){var r=n(12393),o=n(62049),i=n(7144),a=n(7452),s=n(13964);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},528(e,t,n){var r=n(39747),o=n(75962);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},19770(e,t,n){var r=n(94715)(n(78942),"Map");e.exports=r},68250(e,t,n){var r=n(49753),o=n(5681),i=n(80088),a=n(54732),s=n(59068);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},89413(e,t,n){var r=n(94715)(n(78942),"Promise");e.exports=r},64512(e,t,n){var r=n(94715)(n(78942),"Set");e.exports=r},23212(e,t,n){var r=n(68250),o=n(1877),i=n(8006);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},51340(e,t,n){var r=n(1386),o=n(64103),i=n(21779),a=n(34162),s=n(7462),l=n(96638);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},65650(e,t,n){var r=n(78942).Symbol;e.exports=r},31623(e,t,n){var r=n(78942).Uint8Array;e.exports=r},19270(e,t,n){var r=n(94715)(n(78942),"WeakMap");e.exports=r},86912(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)}},79968(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}},79847(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}},59756(e,t,n){var r=n(2478);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},43316(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}},10358(e,t,n){var r=n(26137),o=n(3283),i=n(53142),a=n(75853),s=n(69632),l=n(8666),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&l(e),p=n||c||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!u.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},65111(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}},11129(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}},36465(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}},52837(e){e.exports=function(e){return e.split("")}},3422(e,t,n){var r=n(57073),o=n(46285),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)}},97034(e,t,n){var r=n(46285);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},37930(e,t,n){var r=n(39032),o=n(81211);e.exports=function(e,t){return e&&r(t,o(t),e)}},30125(e,t,n){var r=n(39032),o=n(25288);e.exports=function(e,t){return e&&r(t,o(t),e)}},57073(e,t,n){var r=n(72532);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},69334(e,t,n){var r=n(51340),o=n(79968),i=n(3422),a=n(37930),s=n(30125),l=n(17099),u=n(84354),c=n(83546),d=n(24733),f=n(80393),p=n(93650),h=n(28486),m=n(97350),g=n(50424),v=n(75964),y=n(53142),E=n(75853),b=n(37681),C=n(41580),T=n(83943),k=n(81211),A=n(25288),x="[object Arguments]",D="[object Function]",S="[object Object]",_={};_[x]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[S]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[D]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,w,O,N,P){var R,B=1&n,F=2&n,I=4&n;if(w&&(R=N?w(t,O,N,P):w(t)),void 0!==R)return R;if(!C(t))return t;var M=y(t);if(M){if(R=m(t),!B)return u(t,R)}else{var L=h(t),j=L==D||"[object GeneratorFunction]"==L;if(E(t))return l(t,B);if(L==S||L==x||j&&!N){if(R=F||j?{}:v(t),!B)return F?d(t,s(R,t)):c(t,a(R,t))}else{if(!_[L])return N?t:{};R=g(t,L,B)}}P||(P=new r);var H=P.get(t);if(H)return H;P.set(t,R),T(t)?t.forEach(function(r){R.add(e(r,n,w,r,t,P))}):b(t)&&t.forEach(function(r,o){R.set(o,e(r,n,w,o,t,P))});var U=M?void 0:(I?F?p:f:F?A:k)(t);return o(U||t,function(r,o){U&&(r=t[o=r]),i(R,o,e(r,n,w,o,t,P))}),R}},39747(e,t,n){var r=n(41580),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},96576(e,t,n){var r=n(23212),o=n(59756),i=n(43316),a=n(65111),s=n(49460),l=n(65568);e.exports=function(e,t,n,u){var c=-1,d=o,f=!0,p=e.length,h=[],m=t.length;if(!p)return h;n&&(t=a(t,s(n))),u?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++c<p;){var g=e[c],v=null==n?g:n(g);if(g=u||0!==g?g:0,f&&v==v){for(var y=m;y--;)if(t[y]===v)continue e;h.push(g)}else d(t,v,u)||h.push(g)}return h}},84570(e,t,n){var r=n(47170),o=n(45770)(r);e.exports=o},37250(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}},90313(e,t,n){var r=n(11129),o=n(20714);e.exports=function e(t,n,i,a,s){var l=-1,u=t.length;for(i||(i=o),s||(s=[]);++l<u;){var c=t[l];n>0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},35636(e,t,n){var r=n(86596)();e.exports=r},47170(e,t,n){var r=n(35636),o=n(81211);e.exports=function(e,t){return e&&r(e,t,o)}},57923(e,t,n){var r=n(93526),o=n(66040);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}},48244(e,t,n){var r=n(11129),o=n(53142);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},87379(e,t,n){var r=n(65650),o=n(8870),i=n(29005),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)}},63599(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},43636(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},2478(e,t,n){var r=n(37250),o=n(69454),i=n(97706);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},93854(e,t,n){var r=n(23212),o=n(59756),i=n(43316),a=n(65111),s=n(49460),l=n(65568),u=Math.min;e.exports=function(e,t,n){for(var c=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),m=1/0,g=[];p--;){var v=e[p];p&&t&&(v=a(v,s(t))),m=u(v.length,m),h[p]=!n&&(t||d>=120&&v.length>=120)?new r(p&&v):void 0}v=e[0];var y=-1,E=h[0];e:for(;++y<d&&g.length<m;){var b=v[y],C=t?t(b):b;if(b=n||0!==b?b:0,!(E?l(E,C):c(g,C,n))){for(p=f;--p;){var T=h[p];if(!(T?l(T,C):c(e[p],C,n)))continue e}E&&E.push(C),g.push(b)}}return g}},56027(e,t,n){var r=n(87379),o=n(80547);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},94687(e,t,n){var r=n(90353),o=n(80547);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))}},90353(e,t,n){var r=n(51340),o=n(33934),i=n(88861),a=n(31182),s=n(28486),l=n(53142),u=n(75853),c=n(8666),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var y=l(e),E=l(t),b=y?f:s(e),C=E?f:s(t),T=(b=b==d?p:b)==p,k=(C=C==d?p:C)==p,A=b==C;if(A&&u(e)){if(!u(t))return!1;y=!0,T=!1}if(A&&!T)return v||(v=new r),y||c(e)?o(e,t,n,m,g,v):i(e,t,b,n,m,g,v);if(!(1&n)){var x=T&&h.call(e,"__wrapped__"),D=k&&h.call(t,"__wrapped__");if(x||D){var S=x?e.value():e,_=D?t.value():t;return v||(v=new r),g(S,_,n,m,v)}}return!!A&&(v||(v=new r),a(e,t,n,m,g,v))}},80777(e,t,n){var r=n(28486),o=n(80547);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},38330(e,t,n){var r=n(51340),o=n(94687);e.exports=function(e,t,n,i){var a=n.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],d=e[c],f=u[1];if(l&&u[2]){if(void 0===d&&!(c in e))return!1}else{var p=new r;if(i)var h=i(d,f,c,e,t,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},69454(e){e.exports=function(e){return e!=e}},89624(e,t,n){var r=n(93655),o=n(64759),i=n(41580),a=n(64066),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},81935(e,t,n){var r=n(28486),o=n(80547);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},70674(e,t,n){var r=n(87379),o=n(65387),i=n(80547),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)]}},3334(e,t,n){var r=n(36526),o=n(12343),i=n(22053),a=n(53142),s=n(43282);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)}},195(e,t,n){var r=n(84882),o=n(98121),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}},57200(e,t,n){var r=n(41580),o=n(84882),i=n(38546),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}},75962(e){e.exports=function(){}},41393(e,t,n){var r=n(84570),o=n(36529);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}},36526(e,t,n){var r=n(38330),o=n(24367),i=n(23904);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)}}},12343(e,t,n){var r=n(94687),o=n(46123),i=n(27276),a=n(65187),s=n(67267),l=n(23904),u=n(66040);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},12762(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},98880(e,t,n){var r=n(57923);e.exports=function(e){return function(t){return r(t,e)}}},23945(e,t,n){var r=n(22053),o=n(75234),i=n(80796);e.exports=function(e,t){return i(o(e,t,r),e+"")}},4943(e,t,n){var r=n(22053),o=n(46065),i=o?function(e,t){return o.set(e,t),e}:r;e.exports=i},47403(e,t,n){var r=n(82619),o=n(72532),i=n(22053),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},73501(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}},26137(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},52291(e,t,n){var r=n(65650),o=n(65111),i=n(53142),a=n(51187),s=r?r.prototype:void 0,l=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 l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},86403(e,t,n){var r=n(62945),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},49460(e){e.exports=function(e){return function(t){return e(t)}}},81586(e,t,n){var r=n(93526),o=n(98087),i=n(13398),a=n(66040),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=-1,l=(t=r(t,e)).length;if(!l)return!0;for(var u=null==e||"object"!=typeof e&&"function"!=typeof e;++n<l;){var c=t[n];if("string"==typeof c){if("__proto__"===c&&!s.call(e,"__proto__"))return!1;if("constructor"===c&&n+1<l&&"string"==typeof t[n+1]&&"prototype"===t[n+1]){if(u&&0===n)continue;return!1}}}var d=i(e,t);return null==d||delete d[a(o(t))]}},65568(e){e.exports=function(e,t){return e.has(t)}},47648(e,t,n){var r=n(65406);e.exports=function(e){return r(e)?e:[]}},93526(e,t,n){var r=n(53142),o=n(65187),i=n(96493),a=n(95243);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},28931(e,t,n){var r=n(73501);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)}},28774(e,t,n){var r=n(2478);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},58898(e,t,n){var r=n(31623);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},17099(e,t,n){e=n.nmd(e);var r=n(78942),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}},92480(e,t,n){var r=n(58898);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},78340(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},18069(e,t,n){var r=n(65650),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},92264(e,t,n){var r=n(58898);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},4977(e){var t=Math.max;e.exports=function(e,n,r,o){for(var i=-1,a=e.length,s=r.length,l=-1,u=n.length,c=t(a-s,0),d=Array(u+c),f=!o;++l<u;)d[l]=n[l];for(;++i<s;)(f||i<a)&&(d[r[i]]=e[i]);for(;c--;)d[l++]=e[i++];return d}},85755(e){var t=Math.max;e.exports=function(e,n,r,o){for(var i=-1,a=e.length,s=-1,l=r.length,u=-1,c=n.length,d=t(a-l,0),f=Array(d+c),p=!o;++i<d;)f[i]=e[i];for(var h=i;++u<c;)f[h+u]=n[u];for(;++s<l;)(p||i<a)&&(f[h+r[s]]=e[i++]);return f}},84354(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}},39032(e,t,n){var r=n(3422),o=n(57073);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=i?i(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?o(n,u,c):r(n,u,c)}return n}},83546(e,t,n){var r=n(39032),o=n(77979);e.exports=function(e,t){return r(e,o(e),t)}},24733(e,t,n){var r=n(39032),o=n(85832);e.exports=function(e,t){return r(e,o(e),t)}},41950(e,t,n){var r=n(78942)["__core-js_shared__"];e.exports=r},3816(e){e.exports=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}},45770(e,t,n){var r=n(36529);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}}},86596(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 l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},56713(e,t,n){var r=n(64364),o=n(78942);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)}}},64364(e,t,n){var r=n(39747),o=n(41580);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}}},42443(e,t,n){var r=n(86912),o=n(64364),i=n(23504),a=n(34216),s=n(36850),l=n(8813),u=n(78942);e.exports=function(e,t,n){var c=o(e);return function o(){for(var d=arguments.length,f=Array(d),p=d,h=s(o);p--;)f[p]=arguments[p];var m=d<3&&f[0]!==h&&f[d-1]!==h?[]:l(f,h);return(d-=m.length)<n?a(e,t,i,o.placeholder,void 0,f,m,void 0,void 0,n-d):r(this&&this!==u&&this instanceof o?c:e,this,f)}}},51942(e,t,n){var r=n(528),o=n(41439),i=n(65196),a=n(50961),s=n(53142),l=n(46648);e.exports=function(e){return o(function(t){var n=t.length,o=n,u=r.prototype.thru;for(e&&t.reverse();o--;){var c=t[o];if("function"!=typeof c)throw new TypeError("Expected a function");if(u&&!d&&"wrapper"==a(c))var d=new r([],!0)}for(o=d?o:n;++o<n;){c=t[o];var f=a(c),p="wrapper"==f?i(c):void 0;d=p&&l(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?d[a(p[0])].apply(d,p[3]):1==c.length&&l(c)?d[f]():d.thru(c)}return function(){var e=arguments,r=e[0];if(d&&1==e.length&&s(r))return d.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}})}},23504(e,t,n){var r=n(4977),o=n(85755),i=n(3816),a=n(64364),s=n(34216),l=n(36850),u=n(26591),c=n(8813),d=n(78942);e.exports=function e(t,n,f,p,h,m,g,v,y,E){var b=128&n,C=1&n,T=2&n,k=24&n,A=512&n,x=T?void 0:a(t);return function D(){for(var S=arguments.length,_=Array(S),w=S;w--;)_[w]=arguments[w];if(k)var O=l(D),N=i(_,O);if(p&&(_=r(_,p,h,k)),m&&(_=o(_,m,g,k)),S-=N,k&&S<E){var P=c(_,O);return s(t,n,e,D.placeholder,f,_,P,v,y,E-S)}var R=C?f:this,B=T?R[t]:t;return S=_.length,v?_=u(_,v):A&&S>1&&_.reverse(),b&&y<S&&(_.length=y),this&&this!==d&&this instanceof D&&(B=x||a(B)),B.apply(R,_)}}},56341(e,t,n){var r=n(86912),o=n(64364),i=n(78942);e.exports=function(e,t,n,a){var s=1&t,l=o(e);return function t(){for(var o=-1,u=arguments.length,c=-1,d=a.length,f=Array(d+u),p=this&&this!==i&&this instanceof t?l:e;++c<d;)f[c]=a[c];for(;u--;)f[c++]=arguments[++o];return r(p,s?n:this,f)}}},34216(e,t,n){var r=n(46648),o=n(65512),i=n(5620);e.exports=function(e,t,n,a,s,l,u,c,d,f){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var h=[e,t,s,p?l:void 0,p?u:void 0,p?void 0:l,p?void 0:u,c,d,f],m=n.apply(void 0,h);return r(e)&&o(m,h),m.placeholder=a,i(m,e,t)}},58638(e,t,n){var r=n(4943),o=n(56713),i=n(42443),a=n(23504),s=n(56341),l=n(65196),u=n(47028),c=n(65512),d=n(5620),f=n(67642),p=Math.max;e.exports=function(e,t,n,h,m,g,v,y){var E=2&t;if(!E&&"function"!=typeof e)throw new TypeError("Expected a function");var b=h?h.length:0;if(b||(t&=-97,h=m=void 0),v=void 0===v?v:p(f(v),0),y=void 0===y?y:f(y),b-=m?m.length:0,64&t){var C=h,T=m;h=m=void 0}var k=E?void 0:l(e),A=[e,t,n,h,m,C,T,g,v,y];if(k&&u(A,k),e=A[0],t=A[1],n=A[2],h=A[3],m=A[4],!(y=A[9]=void 0===A[9]?E?0:e.length:p(A[9]-b,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?i(e,t,y):32!=t&&33!=t||m.length?a.apply(void 0,A):s(e,t,n,h);else var x=o(e,t,n);return d((k?r:c)(x,A),e,t)}},29259(e,t,n){var r=n(48360);e.exports=function(e){return r(e)?void 0:e}},72532(e,t,n){var r=n(94715),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},33934(e,t,n){var r=n(23212),o=n(36465),i=n(65568);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<c;){var v=e[h],y=t[h];if(a)var E=u?a(y,v,h,t,e,l):a(v,y,h,e,t,l);if(void 0!==E){if(E)continue;m=!1;break}if(g){if(!o(t,function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)})){m=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},88861(e,t,n){var r=n(65650),o=n(31623),i=n(46285),a=n(33934),s=n(95894),l=n(49828),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,f){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||!d(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 p=s;case"[object Set]":var h=1&r;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var g=a(p(e),p(t),r,u,d,f);return f.delete(e),g;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},31182(e,t,n){var r=n(80393),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var d=c;d--;){var f=u[d];if(!(l?f in t:o.call(t,f)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<c;){var v=e[f=u[d]],y=t[f];if(i)var E=l?i(y,v,f,t,e,s):i(v,y,f,e,t,s);if(!(void 0===E?v===y||a(v,y,n,i,s):E)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var b=e.constructor,C=t.constructor;b==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof C&&C instanceof C||(m=!1)}return s.delete(e),s.delete(t),m}},41439(e,t,n){var r=n(75857),o=n(75234),i=n(80796);e.exports=function(e){return i(o(e,void 0,r),e+"")}},74967(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},80393(e,t,n){var r=n(48244),o=n(77979),i=n(81211);e.exports=function(e){return r(e,i,o)}},93650(e,t,n){var r=n(48244),o=n(85832),i=n(25288);e.exports=function(e){return r(e,i,o)}},65196(e,t,n){var r=n(46065),o=n(79071),i=r?function(e){return r.get(e)}:o;e.exports=i},50961(e,t,n){var r=n(83476),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}},36850(e){e.exports=function(e){return e.placeholder}},44700(e,t,n){var r=n(79067);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},24367(e,t,n){var r=n(67267),o=n(81211);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}},94715(e,t,n){var r=n(89624),o=n(20155);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},74784(e,t,n){var r=n(3766)(Object.getPrototypeOf,Object);e.exports=r},8870(e,t,n){var r=n(65650),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}},77979(e,t,n){var r=n(79847),o=n(99306),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},85832(e,t,n){var r=n(11129),o=n(74784),i=n(77979),a=n(99306),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},28486(e,t,n){var r=n(33103),o=n(19770),i=n(89413),a=n(64512),s=n(19270),l=n(87379),u=n(64066),c="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),g=u(o),v=u(i),y=u(a),E=u(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=h||o&&b(new o)!=c||i&&b(i.resolve())!=d||a&&b(new a)!=f||s&&b(new s)!=p)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case g:return c;case v:return d;case y:return f;case E:return p}return t}),e.exports=b},20155(e){e.exports=function(e,t){return null==e?void 0:e[t]}},98788(e){var t=/\{\n\/\* \[wrapped with (.+)\] \*/,n=/,? & /;e.exports=function(e){var r=e.match(t);return r?r[1].split(n):[]}},85899(e,t,n){var r=n(93526),o=n(3283),i=n(53142),a=n(69632),s=n(65387),l=n(66040);e.exports=function(e,t,n){for(var u=-1,c=(t=r(t,e)).length,d=!1;++u<c;){var f=l(t[u]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++u!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(i(e)||o(e))}},83417(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},23305(e,t,n){var r=n(94497);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},39361(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},11112(e,t,n){var r=n(94497),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}},25276(e,t,n){var r=n(94497),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},57452(e,t,n){var r=n(94497);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}},97350(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}},50424(e,t,n){var r=n(58898),o=n(92480),i=n(78340),a=n(18069),s=n(92264);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+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 l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},75964(e,t,n){var r=n(39747),o=n(74784),i=n(84882);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},49141(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")}},20714(e,t,n){var r=n(65650),o=n(3283),i=n(53142),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},69632(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}},65187(e,t,n){var r=n(53142),o=n(51187),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)}},79067(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},46648(e,t,n){var r=n(57553),o=n(65196),i=n(50961),a=n(93321);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]}},64759(e,t,n){var r,o=n(41950),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},84882(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},67267(e,t,n){var r=n(41580);e.exports=function(e){return e==e&&!r(e)}},12393(e){e.exports=function(){this.__data__=[],this.size=0}},62049(e,t,n){var r=n(97034),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))}},7144(e,t,n){var r=n(97034);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7452(e,t,n){var r=n(97034);e.exports=function(e){return r(this.__data__,e)>-1}},13964(e,t,n){var r=n(97034);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}},49753(e,t,n){var r=n(25098),o=n(1386),i=n(19770);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},5681(e,t,n){var r=n(44700);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},80088(e,t,n){var r=n(44700);e.exports=function(e){return r(this,e).get(e)}},54732(e,t,n){var r=n(44700);e.exports=function(e){return r(this,e).has(e)}},59068(e,t,n){var r=n(44700);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}},95894(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},23904(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},76853(e,t,n){var r=n(69011);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},47028(e,t,n){var r=n(4977),o=n(85755),i=n(8813),a="__lodash_placeholder__",s=Math.min;e.exports=function(e,t){var n=e[1],l=t[1],u=n|l,c=u<131,d=128==l&&8==n||128==l&&256==n&&e[7].length<=t[8]||384==l&&t[7].length<=t[8]&&8==n;if(!c&&!d)return e;1&l&&(e[2]=t[2],u|=1&n?0:4);var f=t[3];if(f){var p=e[3];e[3]=p?r(p,f,t[4]):f,e[4]=p?i(e[3],a):t[4]}return(f=t[5])&&(p=e[5],e[5]=p?o(p,f,t[6]):f,e[6]=p?i(e[5],a):t[6]),(f=t[7])&&(e[7]=f),128&l&&(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]=u,e}},46065(e,t,n){var r=n(19270),o=r&&new r;e.exports=o},94497(e,t,n){var r=n(94715)(Object,"create");e.exports=r},98121(e,t,n){var r=n(3766)(Object.keys,Object);e.exports=r},38546(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},2306(e,t,n){e=n.nmd(e);var r=n(74967),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},29005(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3766(e){e.exports=function(e,t){return function(n){return e(t(n))}}},75234(e,t,n){var r=n(86912),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),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},13398(e,t,n){var r=n(57923),o=n(73501);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},83476(e){e.exports={}},26591(e,t,n){var r=n(84354),o=n(69632),i=Math.min;e.exports=function(e,t){for(var n=e.length,a=i(t.length,n),s=r(e);a--;){var l=t[a];e[a]=o(l,n)?s[l]:void 0}return e}},8813(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}},78942(e,t,n){var r=n(74967),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},1877(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},8006(e){e.exports=function(e){return this.__data__.has(e)}},65512(e,t,n){var r=n(4943),o=n(3316)(r);e.exports=o},49828(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},80796(e,t,n){var r=n(47403),o=n(3316)(r);e.exports=o},5620(e,t,n){var r=n(98788),o=n(49141),i=n(80796),a=n(60033);e.exports=function(e,t,n){var s=t+"";return i(e,o(s,a(r(s),n)))}},3316(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)}}},64103(e,t,n){var r=n(1386);e.exports=function(){this.__data__=new r,this.size=0}},21779(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},34162(e){e.exports=function(e){return this.__data__.get(e)}},7462(e){e.exports=function(e){return this.__data__.has(e)}},96638(e,t,n){var r=n(1386),o=n(19770),i=n(68250);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}},97706(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}},82237(e,t,n){var r=n(52837),o=n(83417),i=n(92013);e.exports=function(e){return o(e)?i(e):r(e)}},96493(e,t,n){var r=n(76853),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},66040(e,t,n){var r=n(51187);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},64066(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""}},62945(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},92013(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]",l="(?:"+r+"|"+o+")?",u="[\\ufe0e\\ufe0f]?",c=u+l+"(?:\\u200d(?:"+[i,a,s].join("|")+")"+u+l+")*",d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+c,"g");e.exports=function(e){return e.match(f)||[]}},60033(e,t,n){var r=n(79968),o=n(59756),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()}},63410(e,t,n){var r=n(57553),o=n(528),i=n(84354);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}},82619(e){e.exports=function(e){return function(){return e}}},12784(e,t,n){var r=n(41580),o=n(94495),i=n(6131),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,u,c,d,f,p,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=u;return l=u=void 0,h=t,d=e.apply(r,n)}function E(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=c}function b(){var e=o();if(E(e))return C(e);f=setTimeout(b,function(e){var n=t-(e-p);return g?s(n,c-(e-h)):n}(e))}function C(e){return f=void 0,v&&l?y(e):(l=u=void 0,d)}function T(){var e=o(),n=E(e);if(l=arguments,u=this,p=e,n){if(void 0===f)return function(e){return h=e,f=setTimeout(b,t),m?y(e):d}(p);if(g)return clearTimeout(f),f=setTimeout(b,t),y(p)}return void 0===f&&(f=setTimeout(b,t)),d}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),T.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=u=f=void 0},T.flush=function(){return void 0===f?d:C(o())},T}},46285(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},66652(e,t,n){var r=n(90313),o=n(40105);e.exports=function(e,t){return r(o(e,t),1)}},75857(e,t,n){var r=n(90313);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},62879(e,t,n){var r=n(51942)();e.exports=r},46123(e,t,n){var r=n(57923);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},52103(e,t,n){var r=n(63599),o=n(85899);e.exports=function(e,t){return null!=e&&o(e,t,r)}},27276(e,t,n){var r=n(43636),o=n(85899);e.exports=function(e,t){return null!=e&&o(e,t,r)}},22053(e){e.exports=function(e){return e}},58150(e,t,n){var r=n(65111),o=n(93854),i=n(23945),a=n(47648),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},3283(e,t,n){var r=n(56027),o=n(80547),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},53142(e){var t=Array.isArray;e.exports=t},36529(e,t,n){var r=n(93655),o=n(65387);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},65406(e,t,n){var r=n(36529),o=n(80547);e.exports=function(e){return o(e)&&r(e)}},75853(e,t,n){e=n.nmd(e);var r=n(78942),o=n(34772),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3514(e,t,n){var r=n(195),o=n(28486),i=n(3283),a=n(53142),s=n(36529),l=n(75853),u=n(84882),c=n(8666),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},46343(e,t,n){var r=n(94687);e.exports=function(e,t){return r(e,t)}},93655(e,t,n){var r=n(87379),o=n(41580);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}},65387(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},37681(e,t,n){var r=n(80777),o=n(49460),i=n(2306),a=i&&i.isMap,s=a?o(a):r;e.exports=s},41580(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},80547(e){e.exports=function(e){return null!=e&&"object"==typeof e}},48360(e,t,n){var r=n(87379),o=n(74784),i=n(80547),a=Function.prototype,s=Object.prototype,l=a.toString,u=s.hasOwnProperty,c=l.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=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},83943(e,t,n){var r=n(81935),o=n(49460),i=n(2306),a=i&&i.isSet,s=a?o(a):r;e.exports=s},51187(e,t,n){var r=n(87379),o=n(80547);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},8666(e,t,n){var r=n(70674),o=n(49460),i=n(2306),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},81211(e,t,n){var r=n(10358),o=n(195),i=n(36529);e.exports=function(e){return i(e)?r(e):o(e)}},25288(e,t,n){var r=n(10358),o=n(57200),i=n(36529);e.exports=function(e){return i(e)?r(e,!0):o(e)}},98087(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},40105(e,t,n){var r=n(65111),o=n(3334),i=n(41393),a=n(53142);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},69011(e,t,n){var r=n(68250);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},79071(e){e.exports=function(){}},94495(e,t,n){var r=n(78942);e.exports=function(){return r.Date.now()}},3326(e,t,n){var r=n(65111),o=n(69334),i=n(81586),a=n(93526),s=n(39032),l=n(29259),u=n(41439),c=n(93650),d=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=o(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n});e.exports=d},50578(e,t,n){var r=n(23945),o=n(58638),i=n(36850),a=n(8813),s=r(function(e,t){var n=a(t,i(s));return o(e,32,void 0,t,n)});s.placeholder={},e.exports=s},43282(e,t,n){var r=n(12762),o=n(98880),i=n(65187),a=n(66040);e.exports=function(e){return i(e)?r(a(e)):o(e)}},99306(e){e.exports=function(){return[]}},34772(e){e.exports=function(){return!1}},97331(e,t,n){var r=n(12784),o=n(41580);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})}},43301(e,t,n){var r=n(6131),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},67642(e,t,n){var r=n(43301);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},6131(e,t,n){var r=n(86403),o=n(41580),i=n(51187),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=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||l.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},95243(e,t,n){var r=n(52291);e.exports=function(e){return null==e?"":r(e)}},17426(e,t,n){var r=n(52291),o=n(28931),i=n(28774),a=n(82237),s=n(95243),l=n(62945);e.exports=function(e,t,n){if((e=s(e))&&(n||void 0===t))return e.slice(0,l(e)+1);if(!e||!(t=r(t)))return e;var u=a(e),c=i(u,a(t))+1;return o(u,0,c).join("")}},30795(e,t,n){var r=n(96576),o=n(23945),i=n(65406),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},93321(e,t,n){var r=n(57553),o=n(528),i=n(75962),a=n(53142),s=n(80547),l=n(63410),u=Object.prototype.hasOwnProperty;function c(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof o)return e;if(u.call(e,"__wrapped__"))return l(e)}return new o(e)}c.prototype=i.prototype,c.prototype.constructor=c,e.exports=c},59281(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}},23126(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},72420(e,t,n){"use strict";var r=n(45552);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}},59107(e,t,n){"use strict";var r=n(45552);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()}},91209(e,t,n){"use strict";var r=n(44546)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);r.displayName="isPhrasing",e.exports=r},77476(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},59444(e){"use strict";var t={};function n(e,r,o){var i,a,s,l,u,c="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),u=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+=u[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(l=e.charCodeAt(i+1))>=56320&&l<=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},61513(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),l=1;l<arguments.length;l++){for(var u in i=Object(arguments[l]))n.call(i,u)&&(s[u]=i[u]);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}},24721(e,t,n){"use strict";var r=n(66615),o=n(3061),i=n(62733),a="data";e.exports=function(e,t){var n=r(t),f=t,p=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)?f=function(e){var t=e.slice(5).replace(l,d);return a+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);return l.test(t)?e:("-"!==(t=t.replace(u,c)).charAt(0)&&(t="-"+t),a+t)}(t),p=o),new p(f,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},50019(e,t,n){"use strict";var r=n(27341),o=n(84344),i=n(26505),a=n(30218),s=n(50311),l=n(15175);e.exports=r([i,o,a,s,l])},50311(e,t,n){"use strict";var r=n(51496),o=n(18481),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}})},15175(e,t,n){"use strict";var r=n(51496),o=n(18481),i=n(41652),a=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,d=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:d,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:u,colSpan:null,content:null,contentEditable:l,controls:a,controlsList:c,coords:u|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:u,hidden:a,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:d,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:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,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:u,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:a,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,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:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:a,noHref:a,noShade:a,noWrap:a,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:a,disableRemotePlayback:a,prefix:null,property:null,results:u,security:null,unselectable:null}})},4514(e,t,n){"use strict";var r=n(51496),o=n(18481),i=n(5621),a=r.boolean,s=r.number,l=r.spaceSeparated,u=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:l,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:u,g2:u,glyphName:u,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:l,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}})},41652(e,t,n){"use strict";var r=n(5621);e.exports=function(e,t){return r(e,t.toLowerCase())}},5621(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},18481(e,t,n){"use strict";var r=n(66615),o=n(99750),i=n(3061);e.exports=function(e){var t,n,a=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,d={},f={};for(t in u)n=new i(t,c(l,t),u[t],a),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,f[r(t)]=t,f[r(n.attribute)]=t;return new o(d,f,a)}},3061(e,t,n){"use strict";var r=n(62733),o=n(51496);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 u,c=-1;for(l(this,"space",s),r.call(this,e,t);++c<a;)l(this,u=i[c],(n&o[u])===o[u])}function l(e,t,n){n&&(e[t]=n)}},62733(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},27341(e,t,n){"use strict";var r=n(93227),o=n(99750);e.exports=function(e){for(var t,n,i=e.length,a=[],s=[],l=-1;++l<i;)t=e[l],a.push(t.property),s.push(t.normal),n=t.space;return new o(r.apply(null,a),r.apply(null,s),n)}},99750(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={}},51496(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()},84344(e,t,n){"use strict";var r=n(18481);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}})},26505(e,t,n){"use strict";var r=n(18481);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},30218(e,t,n){"use strict";var r=n(18481),o=n(41652);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:o,properties:{xmlns:null,xmlnsXLink:null}})},66615(e){"use strict";e.exports=function(e){return e.toLowerCase()}},72606(e,t,n){"use strict";var r=n(27341),o=n(84344),i=n(26505),a=n(30218),s=n(50311),l=n(4514);e.exports=r([i,o,a,s,l])},87552(e,t,n){"use strict";var r=n(44119),o=n(89545);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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 a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),E=Symbol.for("react.activity"),b=Symbol.for("react.legacy_hidden"),C=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),k=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=k&&e[k]||e["@@iterator"])?e:null}var x=Array.isArray;function D(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var i=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=i=461845907*(65535&(i=(i=3432918353*(65535&i)+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(i=0,n){case 3:i^=(255&e.charCodeAt(t+2))<<16;case 2:i^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(i=(i=3432918353*(65535&(i^=255&e.charCodeAt(t)))+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var S=Object.assign,_=Object.prototype.hasOwnProperty,w=RegExp("^[: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]*$"),O={},N={};function P(e){return!!_.call(N,e)||!_.call(O,e)&&(w.test(e)?N[e]=!0:(O[e]=!0,!1))}var R=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),B=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),F=/["'&<>]/;function I(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=F.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var M=/([A-Z])/g,L=/^ms-/,j=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function H(e){return j.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var U=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},W=z.d;z.d={f:W.f,r:W.r,D:function(e){var t=hn||null;if(t){var n,r,o=t.resumableState,i=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=i.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(Ve,Ye)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(i.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(fe(n=[],{href:e,rel:"dns-prefetch"}),i.preconnects.add(n))),ur(t)}else W.D(e)},C:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var i,a,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(a=(r=o.headers)&&0<r.remainingCapacity)&&(a="<"+(""+e).replace(Ve,Ye)+">; rel=preconnect","string"==typeof t&&(a+='; crossorigin="'+(""+t).replace(Xe,Qe)+'"'),i=a,a=0<=(r.remainingCapacity-=i.length+2)),a?(o.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=i):(fe(s=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(s));ur(n)}}else W.C(e,t)},L:function(e,t,n){var r=hn||null;if(r){var o=r.resumableState,i=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var u,c=a?a+"\n"+(s||""):e;if(o.imageResources.hasOwnProperty(c))return;o.imageResources[c]=K,(o=i.headers)&&0<o.remainingCapacity&&"string"!=typeof a&&"high"===l&&(u=$e(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(i.resets.image[c]=K,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=u):(fe(o=[],S({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?i.highImagePreloads.add(o):(i.bulkPreloads.add(o),i.preloads.images.set(c,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;fe(a=[],S({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?K:[n.crossOrigin,n.integrity],i.preloads.stylesheets.set(e,a),i.bulkPreloads.add(a);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;a=[],i.preloads.scripts.set(e,a),i.bulkPreloads.add(a),fe(a,S({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?K:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((a=o.unknownResources[t]).hasOwnProperty(e))return}else a={},o.unknownResources[t]=a;a[e]=K,(o=i.headers)&&0<o.remainingCapacity&&"font"===t&&(c=$e(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(i.resets.font[e]=K,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=c):"font"===(fe(o=[],e=S({rel:"preload",href:e,as:t},n)),t)?i.fontPreloads.add(o):i.bulkPreloads.add(o)}ur(r)}}else W.L(e,t,n)},m:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=t&&"string"==typeof t.as?t.as:"script";if("script"===i){if(r.moduleScriptResources.hasOwnProperty(e))return;i=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?K:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,i)}else{if(r.moduleUnknownResources.hasOwnProperty(i)){var a=r.unknownResources[i];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[i]=a;i=[],a[e]=K}fe(i,S({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),ur(n)}}else W.m(e,t)},X:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==i&&(r.scriptResources[e]=null,t=S({src:e,async:!0},t),i&&(2===i.length&&qe(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),ve(e,t),ur(n))}}else W.X(e,t)},S:function(e,t,n){var r=hn||null;if(r){var o=r.resumableState,i=r.renderState;if(e){t=t||"default";var a=i.styles.get(t),s=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==s&&(o.styleResources[e]=null,a||(a={precedence:I(t),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,a)),t={state:0,props:S({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&qe(t.props,s),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),a.sheets.set(e,t),ur(r))}}else W.S(e,t,n)},M:function(e,t){var n=hn||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==i&&(r.moduleScriptResources[e]=null,t=S({src:e,type:"module",async:!0},t),i&&(2===i.length&&qe(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),ve(e,t),ur(n))}}else W.M(e,t)}};var K=[],q=null,$=/(<\/|<)(s)(cript)/gi;function V(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function Y(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function X(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return Y(2,null,1|r,null);case"select":return Y(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return Y(4,null,r,null);case"picture":return Y(2,null,2|r,null);case"math":return Y(5,null,r,null);case"foreignObject":return Y(2,null,r,null);case"table":return Y(6,null,r,null);case"thead":case"tbody":case"tfoot":return Y(7,null,r,null);case"colgroup":return Y(9,null,r,null);case"tr":return Y(8,null,r,null);case"head":if(2>e.insertionMode)return Y(3,null,r,null);break;case"html":if(0===e.insertionMode)return Y(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?Y(2,null,r,null):e.tagScope!==r?Y(e.insertionMode,e.selectedValue,r,null):e}function Q(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function J(e,t){return 32&t.tagScope&&(e.instructions|=128),Y(t.insertionMode,t.selectedValue,12|t.tagScope,Q(t.viewTransition))}function Z(e,t){e=Q(t.viewTransition);var n=16|t.tagScope;return null!==e&&"none"!==e.share&&(n|=64),Y(t.insertionMode,t.selectedValue,n,e)}var ee=new Map;function te(e,t){if("object"!=typeof t)throw Error(i(62));var n,r=!0;for(n in t)if(_.call(t,n)){var o=t[n];if(null!=o&&"boolean"!=typeof o&&""!==o){if(0===n.indexOf("--")){var a=I(n);o=I((""+o).trim())}else void 0===(a=ee.get(n))&&(a=I(n.replace(M,"-$1").toLowerCase().replace(L,"-ms-")),ee.set(n,a)),o="number"==typeof o?0===o||R.has(n)?""+o:o+"px":I((""+o).trim());r?(r=!1,e.push(' style="',a,":",o)):e.push(";",a,":",o)}}r||e.push('"')}function ne(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function re(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',I(n),'"')}var oe=I("javascript:throw new Error('React form unexpectedly submitted.')");function ie(e,t){this.push('<input type="hidden"'),ae(e),re(this,"name",t),re(this,"value",e),this.push("/>")}function ae(e){if("string"!=typeof e)throw Error(i(480))}function se(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach(ae)}return r}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function le(e,t,n,r,o,i,a,s){var l=null;if("function"==typeof r){var u=se(t,r);null!==u?(s=u.name,r=u.action||"",o=u.encType,i=u.method,a=u.target,l=u.data):(e.push(" ","formAction",'="',oe,'"'),a=i=o=r=s=null,de(t,n))}return null!=s&&ue(e,"name",s),null!=r&&ue(e,"formAction",r),null!=o&&ue(e,"formEncType",o),null!=i&&ue(e,"formMethod",i),null!=a&&ue(e,"formTarget",a),l}function ue(e,t,n){switch(t){case"className":re(e,"class",n);break;case"tabIndex":re(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":re(e,t,n);break;case"style":te(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=H(""+n),e.push(" ",t,'="',I(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ne(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=H(""+n),e.push(" ","xlink:href",'="',I(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',I(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',I(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',I(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',I(n),'"');break;case"xlinkActuate":re(e,"xlink:actuate",n);break;case"xlinkArcrole":re(e,"xlink:arcrole",n);break;case"xlinkRole":re(e,"xlink:role",n);break;case"xlinkShow":re(e,"xlink:show",n);break;case"xlinkTitle":re(e,"xlink:title",n);break;case"xlinkType":re(e,"xlink:type",n);break;case"xmlBase":re(e,"xml:base",n);break;case"xmlLang":re(e,"xml:lang",n);break;case"xmlSpace":re(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&P(t=B.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',I(n),'"')}}}function ce(e,t,n){if(null!=t){if(null!=n)throw Error(i(60));if("object"!=typeof t||!("__html"in t))throw Error(i(61));null!=(t=t.__html)&&e.push(""+t)}}function de(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Ge(r,e),r.push(">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")):r.unshift(t.startInlineScript,">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")}}function fe(e,t){for(var n in e.push(Te("link")),t)if(_.call(t,n)){var r=t[n];if(null!=r)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:ue(e,n,r)}}return e.push("/>"),null}var pe=/(<\/|<)(s)(tyle)/gi;function he(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function me(e,t,n){for(var r in e.push(Te(n)),t)if(_.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,n));default:ue(e,r,o)}}return e.push("/>"),null}function ge(e,t){e.push(Te("title"));var n,r=null,o=null;for(n in t)if(_.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,n,i)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(I(""+t)),ce(e,o,r),e.push(Ae("title")),null}function ve(e,t){e.push(Te("script"));var n,r=null,o=null;for(n in t)if(_.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,n,i)}}return e.push(">"),ce(e,o,r),"string"==typeof r&&e.push((""+r).replace($,V)),e.push(Ae("script")),null}function ye(e,t,n){e.push(Te(n));var r,o=n=null;for(r in t)if(_.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,r,i)}}return e.push(">"),ce(e,o,n),n}function Ee(e,t,n){e.push(Te(n));var r,o=n=null;for(r in t)if(_.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:ue(e,r,i)}}return e.push(">"),ce(e,o,n),"string"==typeof n?(e.push(I(n)),null):n}var be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ce=new Map;function Te(e){var t=Ce.get(e);if(void 0===t){if(!be.test(e))throw Error(i(65,e));t="<"+e,Ce.set(e,t)}return t}var ke=new Map;function Ae(e){var t=ke.get(e);return void 0===t&&(t="</"+e+">",ke.set(e,t)),t}function xe(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function De(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function Se(e,t,n){if(e.push('\x3c!--$?--\x3e<template id="'),null===n)throw Error(i(395));return e.push(t.boundaryPrefix),t=n.toString(16),e.push(t),e.push('"></template>')}var _e=/[<\u2028\u2029]/g;function we(e){return JSON.stringify(e).replace(_e,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 Oe=/[&><\u2028\u2029]/g;function Ne(e){return JSON.stringify(e).replace(Oe,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts 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 Pe=!1,Re=!0;function Be(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(q.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Re=this.push("</style>"),Pe=!0,t.length=0,n.length=0}}function Fe(e){return 2!==e.state&&(Pe=!0)}function Ie(e,t,n){return Pe=!1,Re=!0,q=n,t.styles.forEach(Be,e),q=null,t.stylesheets.forEach(Fe),Pe&&(n.stylesToHoist=!0),Re}function Me(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var Le=[];function je(e){fe(Le,e.props);for(var t=0;t<Le.length;t++)this.push(Le[t]);Le.length=0,e.state=2}function He(e){var t=0<e.sheets.size;e.sheets.forEach(je,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(q.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Ue(e){if(0===e.state){e.state=1;var t=e.props;for(fe(Le,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Le.length;e++)this.push(Le[e]);Le.length=0}}function ze(e){e.sheets.forEach(Ue,this),e.sheets.clear()}function Ge(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(' id="',I("_"+t.idPrefix+"R_"),'"'))}function We(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=H(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!P(t))return;t=""+n}e.push(","),r=Ne(r),e.push(r),e.push(","),r=Ne(t),e.push(r)}function Ke(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function qe(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function $e(e,t,n){for(var r in t="<"+(e=(""+e).replace(Ve,Ye))+'>; rel=preload; as="'+(t=(""+t).replace(Xe,Qe))+'"',n)_.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(Xe,Qe)+'"');return t}var Ve=/[<>\r\n]/g;function Ye(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer 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 Xe=/["';,\r\n]/g;function Qe(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer 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 Je(e){this.styles.add(e)}function Ze(e){this.stylesheets.add(e)}function et(e,t){t.styles.forEach(Je,e),t.stylesheets.forEach(Ze,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function tt(e,t,n,r){return n.generateStaticMarkup?(e.push(I(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(I(t)),e=!0),e)}function nt(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var rt=Function.prototype.bind,ot=Symbol.for("react.client.reference");function it(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===ot?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList";case E:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case f:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case p:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case g:return null!==(t=e.displayName||null)?t:it(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return it(e(t))}catch(e){}}return null}var at={},st=null;function lt(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(i(401))}else{if(null===n)throw Error(i(401));lt(e,n)}t.context._currentValue2=t.value}}function ut(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ut(e)}function ct(e){var t=e.parent;null!==t&&ct(t),e.context._currentValue2=e.value}function dt(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(i(402));e.depth===t.depth?lt(e,t):dt(e,t)}function ft(e,t){var n=t.parent;if(null===n)throw Error(i(402));e.depth===n.depth?lt(e,n):ft(e,n),t.context._currentValue2=t.value}function pt(e){var t=st;t!==e&&(null===t?ct(e):null===e?ut(t):t.depth===e.depth?lt(t,e):t.depth>e.depth?dt(t,e):ft(t,e),st=e)}var ht={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(){}},mt={id:1,overflow:""};function gt(e,t,n){var r=e.id;e=e.overflow;var o=32-vt(r)-1;r&=~(1<<o),n+=1;var i=32-vt(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-vt(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var vt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(yt(e)/Et|0)|0},yt=Math.log,Et=Math.LN2;function bt(){}var Ct=Error(i(460)),Tt=null;function kt(){if(null===Tt)throw Error(i(459));var e=Tt;return Tt=null,e}var At="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},xt=null,Dt=null,St=null,_t=null,wt=null,Ot=null,Nt=!1,Pt=!1,Rt=0,Bt=0,Ft=-1,It=0,Mt=null,Lt=null,jt=0;function Ht(){if(null===xt)throw Error(i(321));return xt}function Ut(){if(0<jt)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function zt(){return null===Ot?null===wt?(Nt=!1,wt=Ot=Ut()):(Nt=!0,Ot=wt):null===Ot.next?(Nt=!1,Ot=Ot.next=Ut()):(Nt=!0,Ot=Ot.next),Ot}function Gt(){var e=Mt;return Mt=null,e}function Wt(){_t=St=Dt=xt=null,Pt=!1,wt=null,jt=0,Ot=Lt=null}function Kt(e,t){return"function"==typeof t?t(e):t}function qt(e,t,n){if(xt=Ht(),Ot=zt(),Nt){var r=Ot.queue;if(t=r.dispatch,null!==Lt&&void 0!==(n=Lt.get(r))){Lt.delete(r),r=Ot.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ot.memoizedState=r,[r,t]}return[Ot.memoizedState,t]}return e=e===Kt?"function"==typeof t?t():t:void 0!==n?n(t):t,Ot.memoizedState=e,e=(e=Ot.queue={last:null,dispatch:null}).dispatch=Vt.bind(null,xt,e),[Ot.memoizedState,e]}function $t(e,t){if(xt=Ht(),t=void 0===t?null:t,null!==(Ot=zt())){var n=Ot.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(!At(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ot.memoizedState=[e,t],e}function Vt(e,t,n){if(25<=jt)throw Error(i(301));if(e===xt)if(Pt=!0,e={action:n,next:null},null===Lt&&(Lt=new Map),void 0===(n=Lt.get(t)))Lt.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Yt(){throw Error(i(440))}function Xt(){throw Error(i(394))}function Qt(){throw Error(i(479))}function Jt(e,t,n){Ht();var r=Bt++,o=St;if("function"==typeof e.$$FORM_ACTION){var i=null,a=_t;o=o.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof s){var l=o[1];s.call(e,o[2],o[3])&&l===(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0))&&(Ft=r,t=o[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===i&&(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",i)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function Zt(e){var t=It;return It+=1,null===Mt&&(Mt=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(bt,bt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(bt,bt):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Tt=t,Ct}}(Mt,e,t)}function en(){throw Error(i(393))}var tn,nn,rn={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Zt(e);if(e.$$typeof===f)return e._currentValue2}throw Error(i(438,String(e)))},useContext:function(e){return Ht(),e._currentValue2},useMemo:$t,useReducer:qt,useRef:function(e){xt=Ht();var t=(Ot=zt()).memoizedState;return null===t?(e={current:e},Ot.memoizedState=e):t},useState:function(e){return qt(Kt,e)},useInsertionEffect:bt,useLayoutEffect:bt,useCallback:function(e,t){return $t(function(){return e},t)},useImperativeHandle:bt,useEffect:bt,useDebugValue:bt,useDeferredValue:function(e,t){return Ht(),void 0!==t?t:e},useTransition:function(){return Ht(),[!1,Xt]},useId:function(){var e=Dt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-vt(e)-1)).toString(32)+t;var n=on;if(null===n)throw Error(i(404));return t=Rt++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(i(407));return n()},useOptimistic:function(e){return Ht(),[e,Qt]},useActionState:Jt,useFormState:Jt,useHostTransitionStatus:function(){return Ht(),G},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=C;return t},useCacheRefresh:function(){return en},useEffectEvent:function(){return Yt}},on=null,an={getCacheForType:function(){throw Error(i(248))},cacheSignal:function(){throw Error(i(248))}};function sn(e){if(void 0===tn)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tn=t&&t[1]||"",nn=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tn+e+nn}var ln=!1;function un(e,t){if(!e||ln)return"";ln=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{ln=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?sn(n):""}function cn(e){if("string"==typeof e)return sn(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?un(e,!0):un(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case p:return un(e.render,!1);case g:return un(e.type,!1);case v:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(e){return sn("Lazy")}return cn(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?sn(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case m:return sn("SuspenseList");case h:return sn("Suspense")}return""}function dn(e,t){return 500<t.byteSize&&null===t.contentPreamble}function fn(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),(t=rt.apply(console.error,e))()}else console.error(e);return null}function pn(e,t,n,r,o,i,a,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?fn:o,this.onPostpone=void 0===u?bt:u,this.onAllReady=void 0===i?bt:i,this.onShellReady=void 0===a?bt:a,this.onShellError=void 0===s?bt:s,this.onFatalError=void 0===l?bt:l,this.formState=void 0===c?null:c}var hn=null;function mn(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Qn(e))}function gn(e,t,n,r,o){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:Ke(),fallbackState:Ke(),contentPreamble:r,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&et(n.contentState,e)),n}function vn(e,t,n,r,o,i,a,s,l,u,c,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return mn(e,m)},blockedBoundary:o,blockedSegment:i,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:f,row:p,componentStack:h,thenableState:t};return l.add(m),m}function yn(e,t,n,r,o,i,a,s,l,u,c,d,f,p){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return mn(e,h)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(h),h}function En(e,t,n,r,o,i){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function bn(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===a&&(e.componentStack={parent:e.componentStack,type:t.type})}function Cn(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Tn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=cn(r.type),r=r.parent}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function kn(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function An(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function xn(e,t){Dn(e,t.next,t.hoistables)}function Dn(e,t,n){for(;null!==t;){null!==n&&(et(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var o=0;o<r.length;o++){var i=r[o];null!==n&&et(i.contentState,n),Xn(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Sn(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,o=0;o<n.length;o++){var i=n[o];if(1!==i.pendingTasks||i.parentFlushed||dn(0,i)){r=!1;break}}r&&Dn(e,t,t.hoistables)}}function _n(e){var t={pendingTasks:1,boundaries:null,hoistables:Ke(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function wn(e,t,n,r,o){var i=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<n;c++){var d="backwards"!==o&&"unstable_legacy-backwards"!==o?c:n-1-c,f=r[d];t.row=l=_n(l),t.treeContext=gt(a,n,d);var p=u[d];"number"==typeof p?(Rn(e,t,p,f,d),delete u[d]):zn(e,t,f,d),0===--l.pendingTasks&&xn(e,l)}else for(u=0;u<n;u++)d=r[c="backwards"!==o&&"unstable_legacy-backwards"!==o?u:n-1-u],t.row=l=_n(l),t.treeContext=gt(a,n,c),zn(e,t,d,c),0===--l.pendingTasks&&xn(e,l)}else if("backwards"!==o&&"unstable_legacy-backwards"!==o)for(o=0;o<n;o++)u=r[o],t.row=l=_n(l),t.treeContext=gt(a,n,o),zn(e,t,u,o),0===--l.pendingTasks&&xn(e,l);else{for(u=(o=t.blockedSegment).children.length,c=o.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=l=_n(l),t.treeContext=gt(a,n,d),p=En(0,c,null,t.formatContext,0!==d||o.lastPushedText,!0),o.children.splice(u,0,p),t.blockedSegment=p;try{zn(e,t,f,d),nt(p.chunks,e.renderState,p.lastPushedText,p.textEmbedded),p.status=1,0===--l.pendingTasks&&xn(e,l)}catch(t){throw p.status=12===e.status?3:4,t}}t.blockedSegment=o,o.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=i}function On(e,t,n,r,o,i){var a=t.thenableState;for(t.thenableState=null,xt={},Dt=t,St=e,_t=n,Bt=Rt=0,Ft=-1,It=0,Mt=a,e=r(o,i);Pt;)Pt=!1,Bt=Rt=0,Ft=-1,It=0,jt+=1,Ot=null,e=r(o,i);return Wt(),e}function Nn(e,t,n,r,o,i,a){var s=!1;if(0!==i&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<i;u++)u===a?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=gt(n,1,0),zn(e,t,r,-1),t.treeContext=n):s?zn(e,t,r,-1):Bn(e,t,r,-1),t.keyPath=i}function Pn(e,t,n,o,a,s){if("function"==typeof o)if(o.prototype&&o.prototype.isReactComponent){var C=a;if("ref"in a)for(var k in C={},a)"ref"!==k&&(C[k]=a[k]);var D=o.defaultProps;if(D)for(var w in C===a&&(C=S({},C,a)),D)void 0===C[w]&&(C[w]=D[w]);a=C,C=at,"object"==typeof(D=o.contextType)&&null!==D&&(C=D._currentValue2);var O=void 0!==(C=new o(a,C)).state?C.state:null;if(C.updater=ht,C.props=a,C.state=O,D={queue:[],replace:!1},C._reactInternals=D,s=o.contextType,C.context="object"==typeof s&&null!==s?s._currentValue2:at,"function"==typeof(s=o.getDerivedStateFromProps)&&(O=null==(s=s(a,O))?O:S({},O,s),C.state=O),"function"!=typeof o.getDerivedStateFromProps&&"function"!=typeof C.getSnapshotBeforeUpdate&&("function"==typeof C.UNSAFE_componentWillMount||"function"==typeof C.componentWillMount))if(o=C.state,"function"==typeof C.componentWillMount&&C.componentWillMount(),"function"==typeof C.UNSAFE_componentWillMount&&C.UNSAFE_componentWillMount(),o!==C.state&&ht.enqueueReplaceState(C,C.state,null),null!==D.queue&&0<D.queue.length)if(o=D.queue,s=D.replace,D.queue=null,D.replace=!1,s&&1===o.length)C.state=o[0];else{for(D=s?o[0]:C.state,O=!0,s=s?1:0;s<o.length;s++)null!=(w="function"==typeof(w=o[s])?w.call(C,D,a,void 0):w)&&(O?(O=!1,D=S({},D,w)):S(D,w));C.state=D}else D.queue=null;if(o=C.render(),12===e.status)throw null;a=t.keyPath,t.keyPath=n,Bn(e,t,o,-1),t.keyPath=a}else{if(o=On(e,t,n,o,a,void 0),12===e.status)throw null;Nn(e,t,n,o,0!==Rt,Bt,Ft)}else{if("string"!=typeof o){switch(o){case b:case u:case c:case l:return o=t.keyPath,t.keyPath=n,Bn(e,t,a.children,-1),void(t.keyPath=o);case E:return void(null===(o=t.blockedSegment)?"hidden"!==a.mode&&(o=t.keyPath,t.keyPath=n,zn(e,t,a.children,-1),t.keyPath=o):"hidden"!==a.mode&&(e.renderState.generateStaticMarkup||o.chunks.push("\x3c!--&--\x3e"),o.lastPushedText=!1,C=t.keyPath,t.keyPath=n,zn(e,t,a.children,-1),t.keyPath=C,e.renderState.generateStaticMarkup||o.chunks.push("\x3c!--/&--\x3e"),o.lastPushedText=!1));case m:e:{if(o=a.children,"forwards"===(a=a.revealOrder)||"backwards"===a||"unstable_legacy-backwards"===a){if(x(o)){wn(e,t,n,o,a);break e}if((C=A(o))&&(C=C.call(o))){if(!(D=C.next()).done){do{D=C.next()}while(!D.done);wn(e,t,n,o,a)}break e}}"together"===a?(a=t.keyPath,C=t.row,(D=t.row=_n(null)).boundaries=[],D.together=!0,t.keyPath=n,Bn(e,t,o,-1),0===--D.pendingTasks&&xn(e,D),t.keyPath=a,t.row=C,null!==C&&0<D.pendingTasks&&(C.pendingTasks++,D.next=C)):(a=t.keyPath,t.keyPath=n,Bn(e,t,o,-1),t.keyPath=a)}return;case T:case y:throw Error(i(343));case h:e:if(null!==t.replay){o=t.keyPath,C=t.formatContext,D=t.row,t.keyPath=n,t.formatContext=Z(e.resumableState,C),t.row=null,n=a.children;try{zn(e,t,n,-1)}finally{t.keyPath=o,t.formatContext=C,t.row=D}}else{o=t.keyPath,s=t.formatContext;var N=t.row,R=t.blockedBoundary;w=t.blockedPreamble;var B=t.hoistableState;k=t.blockedSegment;var F=a.fallback;a=a.children;var M=new Set,L=gn(e,t.row,M,null,null);null!==e.trackedPostpones&&(L.trackedContentKeyPath=n);var j=En(0,k.chunks.length,L,t.formatContext,!1,!1);k.children.push(j),k.lastPushedText=!1;var U=En(0,0,null,t.formatContext,!1,!1);if(U.parentFlushed=!0,null!==e.trackedPostpones){C=t.componentStack,O=[(D=[n[0],"Suspense Fallback",n[2]])[1],D[2],[],null],e.trackedPostpones.workingMap.set(D,O),L.trackedFallbackNode=O,t.blockedSegment=j,t.blockedPreamble=L.fallbackPreamble,t.keyPath=D,t.formatContext=J(e.resumableState,s),t.componentStack=Cn(C),j.status=6;try{zn(e,t,F,-1),nt(j.chunks,e.renderState,j.lastPushedText,j.textEmbedded),j.status=1}catch(t){throw j.status=12===e.status?3:4,t}finally{t.blockedSegment=k,t.blockedPreamble=w,t.keyPath=o,t.formatContext=s}bn(t=vn(e,null,a,-1,L,U,L.contentPreamble,L.contentState,t.abortSet,n,Z(e.resumableState,t.formatContext),t.context,t.treeContext,null,C)),e.pingedTasks.push(t)}else{t.blockedBoundary=L,t.blockedPreamble=L.contentPreamble,t.hoistableState=L.contentState,t.blockedSegment=U,t.keyPath=n,t.formatContext=Z(e.resumableState,s),t.row=null,U.status=6;try{if(zn(e,t,a,-1),nt(U.chunks,e.renderState,U.lastPushedText,U.textEmbedded),U.status=1,Yn(L,U),0===L.pendingTasks&&0===L.status){if(L.status=1,!dn(0,L)){null!==N&&0===--N.pendingTasks&&xn(e,N),0===e.pendingRootTasks&&t.blockedPreamble&&er(e);break e}}else null!==N&&N.together&&Sn(e,N)}catch(n){L.status=4,12===e.status?(U.status=3,C=e.fatalError):(U.status=4,C=n),O=kn(e,C,D=Tn(t.componentStack)),L.errorDigest=O,jn(e,L)}finally{t.blockedBoundary=R,t.blockedPreamble=w,t.hoistableState=B,t.blockedSegment=k,t.keyPath=o,t.formatContext=s,t.row=N}bn(t=vn(e,null,F,-1,R,j,L.fallbackPreamble,L.fallbackState,M,[n[0],"Suspense Fallback",n[2]],J(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Cn(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof o&&null!==o)switch(o.$$typeof){case p:if("ref"in a)for(F in C={},a)"ref"!==F&&(C[F]=a[F]);else C=a;return void Nn(e,t,n,o=On(e,t,n,o.render,C,s),0!==Rt,Bt,Ft);case g:return void Pn(e,t,n,o.type,a,s);case f:if(D=a.children,C=t.keyPath,a=a.value,O=o._currentValue2,o._currentValue2=a,st=o={parent:s=st,depth:null===s?0:s.depth+1,context:o,parentValue:O,value:a},t.context=o,t.keyPath=n,Bn(e,t,D,-1),null===(e=st))throw Error(i(403));return e.context._currentValue2=e.parentValue,e=st=e.parent,t.context=e,void(t.keyPath=C);case d:return o=(a=a.children)(o._context._currentValue2),a=t.keyPath,t.keyPath=n,Bn(e,t,o,-1),void(t.keyPath=a);case v:if(o=(C=o._init)(o._payload),12===e.status)throw null;return void Pn(e,t,n,o,a,s)}throw Error(i(130,null==o?o:typeof o,""))}if(null===(C=t.blockedSegment))C=a.children,D=t.formatContext,O=t.keyPath,t.formatContext=X(D,o,a),t.keyPath=n,zn(e,t,C,-1),t.formatContext=D,t.keyPath=O;else{if(O=function(e,t,n,o,a,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(Te("a"));var d,f=null,p=null;for(d in n)if(_.call(n,d)){var h=n[d];if(null!=h)switch(d){case"children":f=h;break;case"dangerouslySetInnerHTML":p=h;break;case"href":""===h?re(e,"href",""):ue(e,d,h);break;default:ue(e,d,h)}}if(e.push(">"),ce(e,p,f),"string"==typeof f){e.push(I(f));var m=null}else m=f;return m;case"select":e.push(Te("select"));var g,v=null,y=null;for(g in n)if(_.call(n,g)){var E=n[g];if(null!=E)switch(g){case"children":v=E;break;case"dangerouslySetInnerHTML":y=E;break;case"defaultValue":case"value":break;default:ue(e,g,E)}}return e.push(">"),ce(e,y,v),v;case"option":var b=u.selectedValue;e.push(Te("option"));var C,T=null,k=null,A=null,D=null;for(C in n)if(_.call(n,C)){var w=n[C];if(null!=w)switch(C){case"children":T=w;break;case"selected":A=w;break;case"dangerouslySetInnerHTML":D=w;break;case"value":k=w;default:ue(e,C,w)}}if(null!=b){var O=null!==k?""+k:function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(T);if(x(b)){for(var N=0;N<b.length;N++)if(""+b[N]===O){e.push(' selected=""');break}}else""+b===O&&e.push(' selected=""')}else A&&e.push(' selected=""');return e.push(">"),ce(e,D,T),T;case"textarea":e.push(Te("textarea"));var R,B=null,F=null,M=null;for(R in n)if(_.call(n,R)){var L=n[R];if(null!=L)switch(R){case"children":M=L;break;case"value":B=L;break;case"defaultValue":F=L;break;case"dangerouslySetInnerHTML":throw Error(i(91));default:ue(e,R,L)}}if(null===B&&null!==F&&(B=F),e.push(">"),null!=M){if(null!=B)throw Error(i(92));if(x(M)){if(1<M.length)throw Error(i(93));B=""+M[0]}B=""+M}return"string"==typeof B&&"\n"===B[0]&&e.push("\n"),null!==B&&e.push(I(""+B)),null;case"input":e.push(Te("input"));var j,U=null,z=null,G=null,W=null,q=null,$=null,V=null,Y=null,X=null;for(j in n)if(_.call(n,j)){var Q=n[j];if(null!=Q)switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"input"));case"name":U=Q;break;case"formAction":z=Q;break;case"formEncType":G=Q;break;case"formMethod":W=Q;break;case"formTarget":q=Q;break;case"defaultChecked":X=Q;break;case"defaultValue":V=Q;break;case"checked":Y=Q;break;case"value":$=Q;break;default:ue(e,j,Q)}}var J=le(e,o,a,z,G,W,q,U);return null!==Y?ne(e,"checked",Y):null!==X&&ne(e,"checked",X),null!==$?ue(e,"value",$):null!==V&&ue(e,"value",V),e.push("/>"),null!=J&&J.forEach(ie,e),null;case"button":e.push(Te("button"));var Z,ee=null,ae=null,be=null,Ce=null,ke=null,xe=null,De=null;for(Z in n)if(_.call(n,Z)){var Se=n[Z];if(null!=Se)switch(Z){case"children":ee=Se;break;case"dangerouslySetInnerHTML":ae=Se;break;case"name":be=Se;break;case"formAction":Ce=Se;break;case"formEncType":ke=Se;break;case"formMethod":xe=Se;break;case"formTarget":De=Se;break;default:ue(e,Z,Se)}}var _e=le(e,o,a,Ce,ke,xe,De,be);if(e.push(">"),null!=_e&&_e.forEach(ie,e),ce(e,ae,ee),"string"==typeof ee){e.push(I(ee));var we=null}else we=ee;return we;case"form":e.push(Te("form"));var Oe,Ne=null,Pe=null,Re=null,Be=null,Fe=null,Ie=null;for(Oe in n)if(_.call(n,Oe)){var Me=n[Oe];if(null!=Me)switch(Oe){case"children":Ne=Me;break;case"dangerouslySetInnerHTML":Pe=Me;break;case"action":Re=Me;break;case"encType":Be=Me;break;case"method":Fe=Me;break;case"target":Ie=Me;break;default:ue(e,Oe,Me)}}var Le=null,je=null;if("function"==typeof Re){var He=se(o,Re);null!==He?(Re=He.action||"",Be=He.encType,Fe=He.method,Ie=He.target,Le=He.data,je=He.name):(e.push(" ","action",'="',oe,'"'),Ie=Fe=Be=Re=null,de(o,a))}if(null!=Re&&ue(e,"action",Re),null!=Be&&ue(e,"encType",Be),null!=Fe&&ue(e,"method",Fe),null!=Ie&&ue(e,"target",Ie),e.push(">"),null!==je&&(e.push('<input type="hidden"'),re(e,"name",je),e.push("/>"),null!=Le&&Le.forEach(ie,e)),ce(e,Pe,Ne),"string"==typeof Ne){e.push(I(Ne));var Ue=null}else Ue=Ne;return Ue;case"menuitem":for(var ze in e.push(Te("menuitem")),n)if(_.call(n,ze)){var Ge=n[ze];if(null!=Ge)switch(ze){case"children":case"dangerouslySetInnerHTML":throw Error(i(400));default:ue(e,ze,Ge)}}return e.push(">"),null;case"object":e.push(Te("object"));var We,Ke=null,Ve=null;for(We in n)if(_.call(n,We)){var Ye=n[We];if(null!=Ye)switch(We){case"children":Ke=Ye;break;case"dangerouslySetInnerHTML":Ve=Ye;break;case"data":var Xe=H(""+Ye);if(""===Xe)break;e.push(" ","data",'="',I(Xe),'"');break;default:ue(e,We,Ye)}}if(e.push(">"),ce(e,Ve,Ke),"string"==typeof Ke){e.push(I(Ke));var Qe=null}else Qe=Ke;return Qe;case"title":var Je=1&u.tagScope,Ze=4&u.tagScope;if(4===u.insertionMode||Je||null!=n.itemProp)var et=ge(e,n);else Ze?et=null:(ge(a.hoistableChunks,n),et=void 0);return et;case"link":var tt=1&u.tagScope,nt=4&u.tagScope,rt=n.rel,ot=n.href,it=n.precedence;if(4===u.insertionMode||tt||null!=n.itemProp||"string"!=typeof rt||"string"!=typeof ot||""===ot){fe(e,n);var at=null}else if("stylesheet"===n.rel)if("string"!=typeof it||null!=n.disabled||n.onLoad||n.onError)at=fe(e,n);else{var st=a.styles.get(it),lt=o.styleResources.hasOwnProperty(ot)?o.styleResources[ot]:void 0;if(null!==lt){o.styleResources[ot]=null,st||(st={precedence:I(it),rules:[],hrefs:[],sheets:new Map},a.styles.set(it,st));var ut={state:0,props:S({},n,{"data-precedence":n.precedence,precedence:null})};if(lt){2===lt.length&&qe(ut.props,lt);var ct=a.preloads.stylesheets.get(ot);ct&&0<ct.length?ct.length=0:ut.state=1}st.sheets.set(ot,ut),l&&l.stylesheets.add(ut)}else if(st){var dt=st.sheets.get(ot);dt&&l&&l.stylesheets.add(dt)}c&&e.push("\x3c!-- --\x3e"),at=null}else n.onLoad||n.onError?at=fe(e,n):(c&&e.push("\x3c!-- --\x3e"),at=nt?null:fe(a.hoistableChunks,n));return at;case"script":var ft=1&u.tagScope,pt=n.async;if("string"!=typeof n.src||!n.src||!pt||"function"==typeof pt||"symbol"==typeof pt||n.onLoad||n.onError||4===u.insertionMode||ft||null!=n.itemProp)var ht=ve(e,n);else{var mt=n.src;if("module"===n.type)var gt=o.moduleScriptResources,vt=a.preloads.moduleScripts;else gt=o.scriptResources,vt=a.preloads.scripts;var yt=gt.hasOwnProperty(mt)?gt[mt]:void 0;if(null!==yt){gt[mt]=null;var Et=n;if(yt){2===yt.length&&qe(Et=S({},n),yt);var bt=vt.get(mt);bt&&(bt.length=0)}var Ct=[];a.scripts.add(Ct),ve(Ct,Et)}c&&e.push("\x3c!-- --\x3e"),ht=null}return ht;case"style":var Tt=1&u.tagScope,kt=n.precedence,At=n.href,xt=n.nonce;if(4===u.insertionMode||Tt||null!=n.itemProp||"string"!=typeof kt||"string"!=typeof At||""===At){e.push(Te("style"));var Dt,St=null,_t=null;for(Dt in n)if(_.call(n,Dt)){var wt=n[Dt];if(null!=wt)switch(Dt){case"children":St=wt;break;case"dangerouslySetInnerHTML":_t=wt;break;default:ue(e,Dt,wt)}}e.push(">");var Ot=Array.isArray(St)?2>St.length?St[0]:null:St;"function"!=typeof Ot&&"symbol"!=typeof Ot&&null!=Ot&&e.push((""+Ot).replace(pe,he)),ce(e,_t,St),e.push(Ae("style"));var Nt=null}else{var Pt=a.styles.get(kt);if(null!==(o.styleResources.hasOwnProperty(At)?o.styleResources[At]:void 0)){o.styleResources[At]=null,Pt||(Pt={precedence:I(kt),rules:[],hrefs:[],sheets:new Map},a.styles.set(kt,Pt));var Rt=a.nonce.style;if(!Rt||Rt===xt){Pt.hrefs.push(I(At));var Bt,Ft=Pt.rules,It=null,Mt=null;for(Bt in n)if(_.call(n,Bt)){var Lt=n[Bt];if(null!=Lt)switch(Bt){case"children":It=Lt;break;case"dangerouslySetInnerHTML":Mt=Lt}}var jt=Array.isArray(It)?2>It.length?It[0]:null:It;"function"!=typeof jt&&"symbol"!=typeof jt&&null!=jt&&Ft.push((""+jt).replace(pe,he)),ce(Ft,Mt,It)}}Pt&&l&&l.styles.add(Pt),c&&e.push("\x3c!-- --\x3e"),Nt=void 0}return Nt;case"meta":var Ht=1&u.tagScope,Ut=4&u.tagScope;if(4===u.insertionMode||Ht||null!=n.itemProp)var zt=me(e,n,"meta");else c&&e.push("\x3c!-- --\x3e"),zt=Ut?null:"string"==typeof n.charSet?me(a.charsetChunks,n,"meta"):"viewport"===n.name?me(a.viewportChunks,n,"meta"):me(a.hoistableChunks,n,"meta");return zt;case"listing":case"pre":e.push(Te(t));var Gt,Wt=null,Kt=null;for(Gt in n)if(_.call(n,Gt)){var qt=n[Gt];if(null!=qt)switch(Gt){case"children":Wt=qt;break;case"dangerouslySetInnerHTML":Kt=qt;break;default:ue(e,Gt,qt)}}if(e.push(">"),null!=Kt){if(null!=Wt)throw Error(i(60));if("object"!=typeof Kt||!("__html"in Kt))throw Error(i(61));var $t=Kt.__html;null!=$t&&("string"==typeof $t&&0<$t.length&&"\n"===$t[0]?e.push("\n",$t):e.push(""+$t))}return"string"==typeof Wt&&"\n"===Wt[0]&&e.push("\n"),Wt;case"img":var Vt=3&u.tagScope,Yt=n.src,Xt=n.srcSet;if(!("lazy"===n.loading||!Yt&&!Xt||"string"!=typeof Yt&&null!=Yt||"string"!=typeof Xt&&null!=Xt||"low"===n.fetchPriority||Vt)&&("string"!=typeof Yt||":"!==Yt[4]||"d"!==Yt[0]&&"D"!==Yt[0]||"a"!==Yt[1]&&"A"!==Yt[1]||"t"!==Yt[2]&&"T"!==Yt[2]||"a"!==Yt[3]&&"A"!==Yt[3])&&("string"!=typeof Xt||":"!==Xt[4]||"d"!==Xt[0]&&"D"!==Xt[0]||"a"!==Xt[1]&&"A"!==Xt[1]||"t"!==Xt[2]&&"T"!==Xt[2]||"a"!==Xt[3]&&"A"!==Xt[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var Qt="string"==typeof n.sizes?n.sizes:void 0,Jt=Xt?Xt+"\n"+(Qt||""):Yt,Zt=a.preloads.images,en=Zt.get(Jt);if(en)("high"===n.fetchPriority||10>a.highImagePreloads.size)&&(Zt.delete(Jt),a.highImagePreloads.add(en));else if(!o.imageResources.hasOwnProperty(Jt)){o.imageResources[Jt]=K;var tn,nn=n.crossOrigin,rn="string"==typeof nn?"use-credentials"===nn?nn:"":void 0,on=a.headers;on&&0<on.remainingCapacity&&"string"!=typeof n.srcSet&&("high"===n.fetchPriority||500>on.highImagePreloads.length)&&(tn=$e(Yt,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:rn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(on.remainingCapacity-=tn.length+2))?(a.resets.image[Jt]=K,on.highImagePreloads&&(on.highImagePreloads+=", "),on.highImagePreloads+=tn):(fe(en=[],{rel:"preload",as:"image",href:Xt?void 0:Yt,imageSrcSet:Xt,imageSizes:Qt,crossOrigin:rn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),"high"===n.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(en):(a.bulkPreloads.add(en),Zt.set(Jt,en)))}}return me(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return me(e,n,t);case"head":if(2>u.insertionMode){var an=s||a.preamble;if(an.headChunks)throw Error(i(545,"`<head>`"));null!==s&&e.push("\x3c!--head--\x3e"),an.headChunks=[];var sn=ye(an.headChunks,n,"head")}else sn=Ee(e,n,"head");return sn;case"body":if(2>u.insertionMode){var ln=s||a.preamble;if(ln.bodyChunks)throw Error(i(545,"`<body>`"));null!==s&&e.push("\x3c!--body--\x3e"),ln.bodyChunks=[];var un=ye(ln.bodyChunks,n,"body")}else un=Ee(e,n,"body");return un;case"html":if(0===u.insertionMode){var cn=s||a.preamble;if(cn.htmlChunks)throw Error(i(545,"`<html>`"));null!==s&&e.push("\x3c!--html--\x3e"),cn.htmlChunks=[""];var dn=ye(cn.htmlChunks,n,"html")}else dn=Ee(e,n,"html");return dn;default:if(-1!==t.indexOf("-")){e.push(Te(t));var fn,pn=null,hn=null;for(fn in n)if(_.call(n,fn)){var mn=n[fn];if(null!=mn){var gn=fn;switch(fn){case"children":pn=mn;break;case"dangerouslySetInnerHTML":hn=mn;break;case"style":te(e,mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(P(fn)&&"function"!=typeof mn&&"symbol"!=typeof mn&&!1!==mn){if(!0===mn)mn="";else if("object"==typeof mn)continue;e.push(" ",gn,'="',I(mn),'"')}}}}return e.push(">"),ce(e,hn,pn),pn}}return Ee(e,n,t)}(C.chunks,o,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,C.lastPushedText),C.lastPushedText=!1,D=t.formatContext,s=t.keyPath,t.keyPath=n,3===(t.formatContext=X(D,o,a)).insertionMode){n=En(0,0,null,t.formatContext,!1,!1),C.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,zn(e,t,O,-1),nt(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=C}}else zn(e,t,O,-1);t.formatContext=D,t.keyPath=s;e:{switch(t=C.chunks,e=e.resumableState,o){case"title":case"style":case"script":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 e;case"body":if(1>=D.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===D.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=D.insertionMode)break e}t.push(Ae(o))}C.lastPushedText=!1}}}function Rn(e,t,n,r,o){var i=t.replay,a=t.blockedBoundary,s=En(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,zn(e,t,r,o),s.status=1,null===a?e.completedRootSegment=s:(Yn(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=i,t.blockedSegment=null}}function Bn(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Rn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,bn(t),Fn(e,t),t.componentStack=n)}function Fn(e,t){var n=t.node,r=t.childIndex;if(null!==n){if("object"==typeof n){switch(n.$$typeof){case a:var o=n.type,l=n.key,u=n.props,c=void 0!==(n=u.ref)?n:null,d=it(o),p=null==l?-1===r?0:r:l;if(l=[t.keyPath,d,p],null!==t.replay)e:{var m=t.replay;for(r=m.nodes,n=0;n<r.length;n++){var g=r[n];if(p===g[1]){if(4===g.length){if(null!==d&&d!==g[0])throw Error(i(490,g[0],d));var y=g[2];d=g[3],p=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(Pn(e,t,l,o,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(i){if("object"==typeof i&&null!==i&&(i===Ct||"function"==typeof i.then))throw t.node===p?t.replay=m:r.splice(n,1),i;t.replay.pendingTasks--,u=Tn(t.componentStack),Wn(l=e,e=t.blockedBoundary,y,d,o=i,u=kn(l,o,u))}t.replay=m}else{if(o!==h)throw Error(i(490,"Suspense",it(o)||"Unknown"));t:{m=void 0,o=g[5],c=g[2],d=g[3],p=null===g[4]?[]:g[4][2],g=null===g[4]?null:g[4][3];var E=t.keyPath,b=t.formatContext,C=t.row,T=t.replay,k=t.blockedBoundary,D=t.hoistableState,S=u.children,_=u.fallback,w=new Set;(u=gn(e,t.row,w,null,null)).parentFlushed=!0,u.rootSegmentID=o,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=Z(e.resumableState,b),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(zn(e,t,S,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(n){u.status=4,m=kn(e,n,y=Tn(t.componentStack)),u.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=k,t.hoistableState=D,t.replay=T,t.keyPath=E,t.formatContext=b,t.row=C}bn(y=yn(e,null,{nodes:p,slots:g,pendingTasks:0},_,-1,k,u.fallbackState,w,[l[0],"Suspense Fallback",l[2]],J(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Cn(t.componentStack))),e.pingedTasks.push(y)}}r.splice(n,1);break e}}}else Pn(e,t,l,o,u,c);return;case s:throw Error(i(257));case v:if(n=(y=n._init)(n._payload),12===e.status)throw null;return void Bn(e,t,n,r)}if(x(n))return void In(e,t,n,r);if((y=A(n))&&(y=y.call(n))){if(!(n=y.next()).done){u=[];do{u.push(n.value),n=y.next()}while(!n.done);In(e,t,u,r)}return}if("function"==typeof n.then)return t.thenableState=null,Bn(e,t,Zt(n),r);if(n.$$typeof===f)return Bn(e,t,n._currentValue2,r);throw r=Object.prototype.toString.call(n),Error(i(31,"[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r))}"string"==typeof n?null!==(r=t.blockedSegment)&&(r.lastPushedText=tt(r.chunks,n,e.renderState,r.lastPushedText)):"number"!=typeof n&&"bigint"!=typeof n||null!==(r=t.blockedSegment)&&(r.lastPushedText=tt(r.chunks,""+n,e.renderState,r.lastPushedText))}}function In(e,t,n,r){var o=t.keyPath;if(-1===r||(t.keyPath=[t.keyPath,"Fragment",r],null===t.replay)){if(a=t.treeContext,s=n.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(r=0;r<s;r++)u=n[r],t.treeContext=gt(a,s,r),"number"==typeof(c=l[r])?(Rn(e,t,c,u,r),delete l[r]):zn(e,t,u,r);return t.treeContext=a,void(t.keyPath=o)}for(l=0;l<s;l++)r=n[l],t.treeContext=gt(a,s,l),zn(e,t,r,l);t.treeContext=a,t.keyPath=o}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(In(e,t,n,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===Ct||"function"==typeof o.then))throw o;t.replay.pendingTasks--,n=Tn(t.componentStack);var c=t.blockedBoundary;Wn(e,c,r,u,o,n=kn(e,o,n))}t.replay=a,s.splice(l,1);break}}t.keyPath=o}}function Mn(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,null===(e=n.trackedContentKeyPath))throw Error(i(486));var r=n.trackedFallbackNode,o=t.workingMap.get(e);return void 0===o?(n=[e[1],e[2],[],null,r,n.rootSegmentID],t.workingMap.set(e,n),fr(n,e[0],t),n):(o[4]=r,o[5]=n.rootSegmentID,o)}function Ln(e,t,n,r){r.status=5;var o=n.keyPath,a=n.blockedBoundary;if(null===a)r.id=e.nextSegmentId++,t.rootSlots=r.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=Mn(e,t,a);if(a.trackedContentKeyPath===o&&-1===n.childIndex)return-1===r.id&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=r.id)}if(-1===r.id&&(r.id=r.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===n.childIndex)null===o?t.rootSlots=r.id:void 0===(n=t.workingMap.get(o))?fr(n=[o[1],o[2],[],r.id],o[0],t):n[3]=r.id;else{if(null===o){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(i(491))}else if(void 0===(s=(a=t.workingMap).get(o)))e={},s=[o[1],o[2],[],e],a.set(o,s),fr(s,o[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(i(491));e[n.childIndex]=r.id}}}function jn(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Hn(e,t,n){return yn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Un(e,t,n){var r=t.blockedSegment,o=En(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,vn(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function zn(e,t,n,r){var o=t.formatContext,i=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return Bn(e,t,n,r)}catch(c){if(Wt(),n=c===Ct?kt():c,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Hn(e,t,r=c===Ct?Gt():null).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void pt(i);if("Maximum call stack size exceeded"===n.message)return n=Hn(e,t,n=c===Ct?Gt():null),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void pt(i)}}}else{var c=u.children.length,d=u.chunks.length;try{return Bn(e,t,n,r)}catch(r){if(Wt(),u.children.length=c,u.chunks.length=d,n=r===Ct?kt():r,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return u=n,e=Un(e,t,n=r===Ct?Gt():null).ping,u.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void pt(i);if("Maximum call stack size exceeded"===n.message)return u=Un(e,t,u=r===Ct?Gt():null),e.pingedTasks.push(u),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void pt(i)}}}throw t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,pt(i),n}function Gn(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,Xn(this,t,e.row,n))}function Wn(e,t,n,r,o,a){for(var s=0;s<n.length;s++){var l=n[s];if(4===l.length)Wn(e,t,l[2],l[3],o,a);else{l=l[5];var u=e,c=a,d=gn(u,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=c,d.parentFlushed&&u.clientRenderedBoundaries.push(d)}}if(n.length=0,null!==r){if(null===t)throw Error(i(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof r)for(var f in r)delete r[f]}}function Kn(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=Tn(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==o?(r=t.trackedPostpones,kn(t,n,i),Ln(t,r,e,o),Xn(t,null,e.row,o)):(kn(t,n,i),An(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(o=kn(t,n,i),Wn(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,0===t.pendingRootTasks&&$n(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==o)return kn(t,n,i),Ln(t,a,e,o),r.fallbackAbortableTasks.forEach(function(e){return Kn(e,t,n)}),r.fallbackAbortableTasks.clear(),Xn(t,r,e.row,o);r.status=4,o=kn(t,n,i),r.status=4,r.errorDigest=o,jn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(o=r.row)&&0===--o.pendingTasks&&xn(t,o),r.fallbackAbortableTasks.forEach(function(e){return Kn(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&xn(t,e),t.allPendingTasks--,0===t.allPendingTasks&&Vn(t)}function qn(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var i=o.preconnects;if(o.fontPreloads&&(i&&(i+=", "),i+=o.fontPreloads),o.highImagePreloads&&(i&&(i+=", "),i+=o.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<o.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),u=l.next();0<o.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,f=d.href,p=c.props,h=$e(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=K,i&&(i+=", "),i+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:K}}r(i?{Link:i}:{})}}}catch(t){kn(e,t,{})}}function $n(e){null===e.trackedPostpones&&qn(e,!0),null===e.trackedPostpones&&er(e),e.onShellError=bt,(e=e.onShellReady)()}function Vn(e){qn(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),er(e),(e=e.onAllReady)()}function Yn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||Yn(e,n)}else e.completedSegments.push(t)}function Xn(e,t,n,r){if(null!==n&&(0===--n.pendingTasks?xn(e,n):n.together&&Sn(e,n)),e.allPendingTasks--,null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(i(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&$n(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&(1===r.status||3===r.status)&&Yn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(n=t.row)&&et(n.hoistables,t.contentState),dn(0,t)||(t.fallbackAbortableTasks.forEach(Gn,e),t.fallbackAbortableTasks.clear(),null!==n&&0===--n.pendingTasks&&xn(e,n)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&er(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){n=e.trackedPostpones;var o=t.next;if(null!==o&&null!==(r=o.boundaries))for(o.boundaries=null,o=0;o<r.length;o++){var a=r[o];Mn(e,n,a),Xn(e,a,null,null)}}0===--t.pendingTasks&&xn(e,t)}}else null===r||!r.parentFlushed||1!==r.status&&3!==r.status||(Yn(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&Sn(e,t);0===e.allPendingTasks&&Vn(e)}function Qn(e){if(14!==e.status&&13!==e.status){var t=st,n=U.H;U.H=rn;var r=U.A;U.A=an;var o=hn;hn=e;var a=on;on=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var f=c;if(0!==u.replay.pendingTasks){pt(u.context);try{if("number"==typeof u.replay.slots?Rn(f,u,u.replay.slots,u.node,u.childIndex):Fn(f,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(i(488));u.replay.pendingTasks--,u.abortSet.delete(u),Xn(f,u.blockedBoundary,u.row,null)}catch(e){Wt();var p=e===Ct?kt():e;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=u.ping;p.then(h,h),u.thenableState=e===Ct?Gt():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var m=Tn(u.componentStack);c=void 0;var g=f,v=u.blockedBoundary,y=12===f.status?f.fatalError:p;Wn(g,v,u.replay.nodes,u.replay.slots,y,c=kn(g,y,m)),f.pendingRootTasks--,0===f.pendingRootTasks&&$n(f),f.allPendingTasks--,0===f.allPendingTasks&&Vn(f)}}}}else if(f=void 0,0===(g=d).status){g.status=6,pt(u.context);var E=g.children.length,b=g.chunks.length;try{Fn(c,u),nt(g.chunks,c.renderState,g.lastPushedText,g.textEmbedded),u.abortSet.delete(u),g.status=1,Xn(c,u.blockedBoundary,u.row,g)}catch(e){Wt(),g.children.length=E,g.chunks.length=b;var C=e===Ct?kt():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var T=c.trackedPostpones,k=Tn(u.componentStack);u.abortSet.delete(u),kn(c,C,k),Ln(c,T,u,g),Xn(c,u.blockedBoundary,u.row,g)}else if("object"==typeof C&&null!==C&&"function"==typeof C.then){g.status=0,u.thenableState=e===Ct?Gt():null;var A=u.ping;C.then(A,A)}else{var x=Tn(u.componentStack);u.abortSet.delete(u),g.status=4;var D=u.blockedBoundary,S=u.row;if(null!==S&&0===--S.pendingTasks&&xn(c,S),c.allPendingTasks--,f=kn(c,C,x),null===D)An(c,C);else if(D.pendingTasks--,4!==D.status){D.status=4,D.errorDigest=f,jn(c,D);var _=D.row;null!==_&&0===--_.pendingTasks&&xn(c,_),D.parentFlushed&&c.clientRenderedBoundaries.push(D),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==D.contentPreamble&&er(c)}0===c.allPendingTasks&&Vn(c)}}}}l.splice(0,s),null!==e.destination&&lr(e,e.destination)}catch(t){kn(e,t,{}),An(e,t)}finally{on=a,U.H=n,U.A=r,n===rn&&pt(t),hn=o}}}function Jn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=Zn(e,t.children[o],n)||r;return r}function Zn(e,t,n){var r=t.boundary;if(null===r)return Jn(e,t,n);var o=r.contentPreamble,a=r.fallbackPreamble;if(null===o||null===a)return!1;switch(r.status){case 1:if(xe(e.renderState,o),e.byteSize+=r.byteSize,!(t=r.completedSegments[0]))throw Error(i(391));return Jn(e,t,n);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return xe(e.renderState,a),Jn(e,t,n);default:return!0}}function er(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=Zn(e,e.completedRootSegment,t),o=e.renderState.preamble;!1===r||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function tr(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push('"></template>');case 1:n.status=2;var o=!0,a=n.chunks,s=0;n=n.children;for(var l=0;l<n.length;l++){for(o=n[l];s<o.index;s++)t.push(a[s]);o=rr(e,t,o,r)}for(;s<a.length-1;s++)t.push(a[s]);return s<a.length&&(o=t.push(a[s])),o;case 3:return!0;default:throw Error(i(390))}}var nr=0;function rr(e,t,n,r){var o=n.boundary;if(null===o)return tr(e,t,n,r);if(o.parentFlushed=!0,4===o.status){var a=o.row;return null!==a&&0===--a.pendingTasks&&xn(e,a),e.renderState.generateStaticMarkup||(o=o.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),o&&(t.push(' data-dgst="'),o=I(o),t.push(o),t.push('"')),t.push("></template>")),tr(e,t,n,r),!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}if(1!==o.status)return 0===o.status&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),Se(t,e.renderState,o.rootSegmentID),r&&et(r,o.fallbackState),tr(e,t,n,r),t.push("\x3c!--/$--\x3e");if(!sr&&dn(0,o)&&nr+o.byteSize>e.progressiveChunkSize)return o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),Se(t,e.renderState,o.rootSegmentID),tr(e,t,n,r),t.push("\x3c!--/$--\x3e");if(nr+=o.byteSize,r&&et(r,o.contentState),null!==(n=o.row)&&dn(0,o)&&0===--n.pendingTasks&&xn(e,n),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(n=o.completedSegments).length)throw Error(i(391));return rr(e,t,n[0],r),!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function or(e,t,n,r){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 4: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 5: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 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push('">');default:throw Error(i(397))}}(t,e.renderState,n.parentFormatContext,n.id),rr(e,t,n,r),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(i(397))}}(t,n.parentFormatContext)}function ir(e,t,n){nr=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)ar(e,t,n,r[o]);r.length=0,null!==(r=n.row)&&dn(0,n)&&0===--r.pendingTasks&&xn(e,r),Ie(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,o=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),a?(!(4&r.instructions)&&(r.instructions|=4,t.push('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),!(2&r.instructions)&&(r.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),8&r.instructions?t.push('$RR("'):(r.instructions|=8,t.push('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'))):(!(2&r.instructions)&&(r.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),t.push('$RC("')),r=o.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push('","'),t.push(e.segmentPrefix),t.push(r),a?(t.push('",'),function(e,t){e.push("[");var n="[";t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(n),t=Ne(""+t.props.href),e.push(t),e.push("]"),n=",[";else{e.push(n);var r=t.props["data-precedence"],o=t.props,a=H(""+t.props.href);for(var s in a=Ne(a),e.push(a),r=""+r,e.push(","),r=Ne(r),e.push(r),o)if(_.call(o,s)&&null!=(r=o[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:We(e,s,r)}e.push("]"),n=",[",t.state=3}}),e.push("]")}(t,n)):t.push('"'),n=t.push(")<\/script>"),De(t,e)&&n}function ar(e,t,n,r){if(2===r.status)return!0;var o=n.contentState,a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(i(392));return or(e,t,r,o)}return a===n.rootSegmentID?or(e,t,r,o):(or(e,t,r,o),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),1&n.instructions?t.push('$RS("'):(n.instructions|=1,t.push('$RS=function(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),a=a.toString(16),t.push(a),t.push('","'),t.push(e.placeholderPrefix),t.push(a),t=t.push('")<\/script>'))}var sr=!1;function lr(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;nr=e.byteSize;var i,a=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(i=0;i<u.length;i++)t.push(u[i]);if(c)for(i=0;i<c.length;i++)t.push(c[i]);else{var d=Te("head");t.push(d),t.push(">")}}else if(c)for(i=0;i<c.length;i++)t.push(c[i]);var f=s.charsetChunks;for(i=0;i<f.length;i++)t.push(f[i]);f.length=0,s.preconnects.forEach(Me,t),s.preconnects.clear();var p=s.viewportChunks;for(i=0;i<p.length;i++)t.push(p[i]);p.length=0,s.fontPreloads.forEach(Me,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Me,t),s.highImagePreloads.clear(),q=s,s.styles.forEach(He,t),q=null;var h=s.importMapChunks;for(i=0;i<h.length;i++)t.push(h[i]);h.length=0,s.bootstrapScripts.forEach(Me,t),s.scripts.forEach(Me,t),s.scripts.clear(),s.bulkPreloads.forEach(Me,t),s.bulkPreloads.clear(),a.instructions|=32;var m=s.hoistableChunks;for(i=0;i<m.length;i++)t.push(m[i]);for(a=m.length=0;a<o.length;a++){var g=o[a];for(s=0;s<g.length;s++)rr(e,t,g[s],null)}var v=e.renderState.preamble,y=v.headChunks;if(v.htmlChunks||y){var E=Ae("head");t.push(E)}var b=v.bodyChunks;if(b)for(o=0;o<b.length;o++)t.push(b[o]);rr(e,t,r,null),e.completedRootSegment=null;var C=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var T=e.resumableState;if(!(64&T.instructions)){if(T.instructions|=64,t.push(C.startInlineScript),!(32&T.instructions)){T.instructions|=32;var k="_"+T.idPrefix+"R_";t.push(' id="');var A=I(k);t.push(A),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}De(t,C)}var x=e.renderState;r=0;var D=x.viewportChunks;for(r=0;r<D.length;r++)t.push(D[r]);D.length=0,x.preconnects.forEach(Me,t),x.preconnects.clear(),x.fontPreloads.forEach(Me,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(Me,t),x.highImagePreloads.clear(),x.styles.forEach(ze,t),x.scripts.forEach(Me,t),x.scripts.clear(),x.bulkPreloads.forEach(Me,t),x.bulkPreloads.clear();var S=x.hoistableChunks;for(r=0;r<S.length;r++)t.push(S[r]);S.length=0;var _=e.clientRenderedBoundaries;for(n=0;n<_.length;n++){var w=_[n];x=t;var O=e.resumableState,N=e.renderState,P=w.rootSegmentID,R=w.errorDigest;x.push(N.startInlineScript),x.push(">"),4&O.instructions?x.push('$RX("'):(O.instructions|=4,x.push('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),x.push(N.boundaryPrefix);var B=P.toString(16);if(x.push(B),x.push('"'),R){x.push(",");var F=we(R||"");x.push(F)}var M=x.push(")<\/script>");if(!M)return e.destination=null,n++,void _.splice(0,n)}_.splice(0,n);var L=e.completedBoundaries;for(n=0;n<L.length;n++)if(!ir(e,t,L[n]))return e.destination=null,n++,void L.splice(0,n);L.splice(0,n),sr=!0;var j=e.partialBoundaries;for(n=0;n<j.length;n++){var H=j[n];e:{_=e,w=t,nr=H.byteSize;var U=H.completedSegments;for(M=0;M<U.length;M++)if(!ar(_,w,H,U[M])){M++,U.splice(0,M);var z=!1;break e}U.splice(0,M);var G=H.row;null!==G&&G.together&&1===H.pendingTasks&&(1===G.pendingTasks?Dn(_,G,G.hoistables):G.pendingTasks--),z=Ie(w,H.contentState,_.renderState)}if(!z)return e.destination=null,n++,void j.splice(0,n)}j.splice(0,n),sr=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!ir(e,t,W[n]))return e.destination=null,n++,void W.splice(0,n);W.splice(0,n)}}finally{sr=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(j=Ae("body"),t.push(j)),n.hasHtml&&(n=Ae("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function ur(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?lr(e,t):e.flushScheduled=!1}}function cr(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{lr(e,t)}catch(t){kn(e,t,{}),An(e,t)}}}function dr(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=void 0===t?Error(i(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(i(530)):t;e.fatalError=r,n.forEach(function(t){return Kn(t,e,r)}),n.clear()}null!==e.destination&&lr(e,e.destination)}catch(t){kn(e,t,{}),An(e,t)}}function fr(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,o=r.get(t);void 0===o&&(o=[t[1],t[2],[],null],r.set(t,o),fr(o,t[0],n)),o[2].push(e)}}function pr(){}function hr(e,t,n,r){var o,a=!1,s=null,l="",u=!1;if(e=function(e,t,n,r,o,i){return(n=En(t=new pn(t,n,r,1/0,i,void 0,function(){u=!0},void 0,void 0,void 0,void 0),0,null,r,!1,!1)).parentFlushed=!0,bn(e=vn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,mt,null,null)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(o=t?t.identifierPrefix:void 0)?"":o,nextFormID:0,streamingFormat:0,bootstrapScriptContent:undefined,bootstrapScripts:undefined,bootstrapModules:undefined,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],o=e.bootstrapScriptContent,i=e.bootstrapScripts,a=e.bootstrapModules;void 0!==o&&(r.push("<script"),Ge(r,e),r.push(">",(""+o).replace($,V),"<\/script>")),o=n+"P:";var s=n+"S:";n+="B:";var l=new Set,u=new Set,c=new Set,d=new Map,f=new Set,p=new Set,h=new Set,m={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==i)for(var g=0;g<i.length;g++){var v,y=i[g],E=void 0,b=void 0,C={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof y?C.href=v=y:(C.href=v=y.src,C.integrity=b="string"==typeof y.integrity?y.integrity:void 0,C.crossOrigin=E="string"==typeof y||null==y.crossOrigin?void 0:"use-credentials"===y.crossOrigin?"use-credentials":"");var T=v;(y=e).scriptResources[T]=null,y.moduleScriptResources[T]=null,fe(y=[],C),f.add(y),r.push('<script src="',I(v),'"'),"string"==typeof b&&r.push(' integrity="',I(b),'"'),"string"==typeof E&&r.push(' crossorigin="',I(E),'"'),Ge(r,e),r.push(' async=""><\/script>')}if(void 0!==a)for(i=0;i<a.length;i++)E=v=void 0,b={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(C=a[i])?b.href=g=C:(b.href=g=C.src,b.integrity=E="string"==typeof C.integrity?C.integrity:void 0,b.crossOrigin=v="string"==typeof C||null==C.crossOrigin?void 0:"use-credentials"===C.crossOrigin?"use-credentials":""),y=g,(C=e).scriptResources[y]=null,C.moduleScriptResources[y]=null,fe(C=[],b),f.add(C),r.push('<script type="module" src="',I(g),'"'),"string"==typeof E&&r.push(' integrity="',I(E),'"'),"string"==typeof v&&r.push(' crossorigin="',I(v),'"'),Ge(r,e),r.push(' async=""><\/script>');return{placeholderPrefix:o,segmentPrefix:s,boundaryPrefix:n,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:u,highImagePreloads:c,styles:d,bootstrapScripts:f,scripts:p,bulkPreloads:h,preloads:m,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}(t,n),Y(0,null,0,null),0,pr),e.flushScheduled=null!==e.destination,Qn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&qn(e,0===e.pendingRootTasks),dr(e,r),cr(e,{push:function(e){return null!==e&&(l+=e),!0},destroy:function(e){a=!0,s=e}}),a&&s!==r)throw s;if(!u)throw Error(i(426));return l}t.renderToStaticMarkup=function(e,t){return hr(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.renderToString=function(e,t){return hr(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="19.2.3"},64920(e,t,n){"use strict";var r=n(44119),o=n(89545);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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 a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.scope"),E=Symbol.for("react.activity"),b=Symbol.for("react.legacy_hidden"),C=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),k=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=k&&e[k]||e["@@iterator"])?e:null}var x=Array.isArray;function D(e,t){var n=3&e.length,r=e.length-n,o=t;for(t=0;t<r;){var i=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,o=27492+(65535&(o=5*(65535&(o=(o^=i=461845907*(65535&(i=(i=3432918353*(65535&i)+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+(((o>>>16)+58964&65535)<<16)}switch(i=0,n){case 3:i^=(255&e.charCodeAt(t+2))<<16;case 2:i^=(255&e.charCodeAt(t+1))<<8;case 1:o^=461845907*(65535&(i=(i=3432918353*(65535&(i^=255&e.charCodeAt(t)))+((3432918353*(i>>>16)&65535)<<16)&4294967295)<<15|i>>>17))+((461845907*(i>>>16)&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,((o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295)^o>>>16)>>>0}var S=new MessageChannel,_=[];function w(e){_.push(e),S.port2.postMessage(null)}function O(e){setTimeout(function(){throw e})}S.port1.onmessage=function(){var e=_.shift();e&&e()};var N=Promise,P="function"==typeof queueMicrotask?queueMicrotask:function(e){N.resolve(null).then(e).catch(O)},R=null,B=0;function F(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<B&&(e.enqueue(new Uint8Array(R.buffer,0,B)),R=new Uint8Array(2048),B=0),e.enqueue(t);else{var n=R.length-B;n<t.byteLength&&(0===n?e.enqueue(R):(R.set(t.subarray(0,n),B),e.enqueue(R),t=t.subarray(n)),R=new Uint8Array(2048),B=0),R.set(t,B),B+=t.byteLength}}function I(e,t){return F(e,t),!0}function M(e){R&&0<B&&(e.enqueue(new Uint8Array(R.buffer,0,B)),R=null,B=0)}var L=new TextEncoder;function j(e){return L.encode(e)}function H(e){return L.encode(e)}function U(e){return e.byteLength}function z(e,t){"function"==typeof e.error?e.error(t):e.close()}var G=Object.assign,W=Object.prototype.hasOwnProperty,K=RegExp("^[: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]*$"),q={},$={};function V(e){return!!W.call($,e)||!W.call(q,e)&&(K.test(e)?$[e]=!0:(q[e]=!0,!1))}var Y=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),X=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Q=/["'&<>]/;function J(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=Q.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.slice(o,n)),o=n+1,r+=t}e=o!==n?r+e.slice(o,n):r}return e}var Z=/([A-Z])/g,ee=/^ms-/,te=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ne(e){return te.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var re=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},ae=oe.d;oe.d={f:ae.f,r:ae.r,D:function(e){var t=So||null;if(t){var n,r,o=t.resumableState,i=t.renderState;if("string"==typeof e&&e)o.dnsResources.hasOwnProperty(e)||(o.dnsResources[e]=null,(r=(o=i.headers)&&0<o.remainingCapacity)&&(n="<"+(""+e).replace(ar,sr)+">; rel=dns-prefetch",r=0<=(o.remainingCapacity-=n.length+2)),r?(i.resets.dns[e]=null,o.preconnects&&(o.preconnects+=", "),o.preconnects+=n):(it(n=[],{href:e,rel:"dns-prefetch"}),i.preconnects.add(n))),Ai(t)}else ae.D(e)},C:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if("string"==typeof e&&e){var i,a,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(a=(r=o.headers)&&0<r.remainingCapacity)&&(a="<"+(""+e).replace(ar,sr)+">; rel=preconnect","string"==typeof t&&(a+='; crossorigin="'+(""+t).replace(lr,ur)+'"'),i=a,a=0<=(r.remainingCapacity-=i.length+2)),a?(o.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=i):(it(s=[],{rel:"preconnect",href:e,crossOrigin:t}),o.preconnects.add(s));Ai(n)}}else ae.C(e,t)},L:function(e,t,n){var r=So||null;if(r){var o=r.resumableState,i=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var u,c=a?a+"\n"+(s||""):e;if(o.imageResources.hasOwnProperty(c))return;o.imageResources[c]=se,(o=i.headers)&&0<o.remainingCapacity&&"string"!=typeof a&&"high"===l&&(u=ir(e,t,n),0<=(o.remainingCapacity-=u.length+2))?(i.resets.image[c]=se,o.highImagePreloads&&(o.highImagePreloads+=", "),o.highImagePreloads+=u):(it(o=[],G({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?i.highImagePreloads.add(o):(i.bulkPreloads.add(o),i.preloads.images.set(c,o)));break;case"style":if(o.styleResources.hasOwnProperty(e))return;it(a=[],G({rel:"preload",href:e,as:t},n)),o.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?se:[n.crossOrigin,n.integrity],i.preloads.stylesheets.set(e,a),i.bulkPreloads.add(a);break;case"script":if(o.scriptResources.hasOwnProperty(e))return;a=[],i.preloads.scripts.set(e,a),i.bulkPreloads.add(a),it(a,G({rel:"preload",href:e,as:t},n)),o.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?se:[n.crossOrigin,n.integrity];break;default:if(o.unknownResources.hasOwnProperty(t)){if((a=o.unknownResources[t]).hasOwnProperty(e))return}else a={},o.unknownResources[t]=a;a[e]=se,(o=i.headers)&&0<o.remainingCapacity&&"font"===t&&(c=ir(e,t,n),0<=(o.remainingCapacity-=c.length+2))?(i.resets.font[e]=se,o.fontPreloads&&(o.fontPreloads+=", "),o.fontPreloads+=c):"font"===(it(o=[],e=G({rel:"preload",href:e,as:t},n)),t)?i.fontPreloads.add(o):i.bulkPreloads.add(o)}Ai(r)}}else ae.L(e,t,n)},m:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=t&&"string"==typeof t.as?t.as:"script";if("script"===i){if(r.moduleScriptResources.hasOwnProperty(e))return;i=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?se:[t.crossOrigin,t.integrity],o.preloads.moduleScripts.set(e,i)}else{if(r.moduleUnknownResources.hasOwnProperty(i)){var a=r.unknownResources[i];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[i]=a;i=[],a[e]=se}it(i,G({rel:"modulepreload",href:e},t)),o.bulkPreloads.add(i),Ai(n)}}else ae.m(e,t)},X:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==i&&(r.scriptResources[e]=null,t=G({src:e,async:!0},t),i&&(2===i.length&&or(t,i),e=o.preloads.scripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pt(e,t),Ai(n))}}else ae.X(e,t)},S:function(e,t,n){var r=So||null;if(r){var o=r.resumableState,i=r.renderState;if(e){t=t||"default";var a=i.styles.get(t),s=o.styleResources.hasOwnProperty(e)?o.styleResources[e]:void 0;null!==s&&(o.styleResources[e]=null,a||(a={precedence:j(J(t)),rules:[],hrefs:[],sheets:new Map},i.styles.set(t,a)),t={state:0,props:G({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&or(t.props,s),(i=i.preloads.stylesheets.get(e))&&0<i.length?i.length=0:t.state=1),a.sheets.set(e,t),Ai(r))}}else ae.S(e,t,n)},M:function(e,t){var n=So||null;if(n){var r=n.resumableState,o=n.renderState;if(e){var i=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==i&&(r.moduleScriptResources[e]=null,t=G({src:e,type:"module",async:!0},t),i&&(2===i.length&&or(t,i),e=o.preloads.moduleScripts.get(e))&&(e.length=0),e=[],o.scripts.add(e),pt(e,t),Ai(n))}}else ae.M(e,t)}};var se=[],le=null;H('"></template>');var ue=H("<script"),ce=H("<\/script>"),de=H('<script src="'),fe=H('<script type="module" src="'),pe=H(' nonce="'),he=H(' integrity="'),me=H(' crossorigin="'),ge=H(' async=""><\/script>'),ve=H("<style"),ye=/(<\/|<)(s)(cript)/gi;function Ee(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var be=H('<script type="importmap">'),Ce=H("<\/script>");function Te(e,t,n,r,o,i){var a=void 0===(n="string"==typeof t?t:t&&t.script)?ue:H('<script nonce="'+J(n)+'"'),s="string"==typeof t?void 0:t&&t.style,l=void 0===s?ve:H('<style nonce="'+J(s)+'"'),u=e.idPrefix,c=[],d=e.bootstrapScriptContent,f=e.bootstrapScripts,p=e.bootstrapModules;if(void 0!==d&&(c.push(a),Qn(c,e),c.push(Qe,j((""+d).replace(ye,Ee)),ce)),d=[],void 0!==r&&(d.push(be),d.push(j((""+JSON.stringify(r)).replace(ye,Ee))),d.push(Ce)),r=o?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof i?i:2e3)}:null,o={placeholderPrefix:H(u+"P:"),segmentPrefix:H(u+"S:"),boundaryPrefix:H(u+"B:"),startInlineScript:a,startInlineStyle:l,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:c,importMapChunks:d,onHeaders:o,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},void 0!==f)for(r=0;r<f.length;r++)s=a=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof(u=f[r])?l.href=i=u:(l.href=i=u.src,l.integrity=s="string"==typeof u.integrity?u.integrity:void 0,l.crossOrigin=a="string"==typeof u||null==u.crossOrigin?void 0:"use-credentials"===u.crossOrigin?"use-credentials":""),d=i,(u=e).scriptResources[d]=null,u.moduleScriptResources[d]=null,it(u=[],l),o.bootstrapScripts.add(u),c.push(de,j(J(i)),He),n&&c.push(pe,j(J(n)),He),"string"==typeof s&&c.push(he,j(J(s)),He),"string"==typeof a&&c.push(me,j(J(a)),He),Qn(c,e),c.push(ge);if(void 0!==p)for(t=0;t<p.length;t++)i=r=void 0,a={rel:"modulepreload",fetchPriority:"low",nonce:n},"string"==typeof(s=p[t])?a.href=f=s:(a.href=f=s.src,a.integrity=i="string"==typeof s.integrity?s.integrity:void 0,a.crossOrigin=r="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),l=f,(s=e).scriptResources[l]=null,s.moduleScriptResources[l]=null,it(s=[],a),o.bootstrapScripts.add(s),c.push(fe,j(J(f)),He),n&&c.push(pe,j(J(n)),He),"string"==typeof i&&c.push(he,j(J(i)),He),"string"==typeof r&&c.push(me,j(J(r)),He),Qn(c,e),c.push(ge);return o}function ke(e,t,n,r,o){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:o,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Ae(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function xe(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function De(e){return xe("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0,null)}function Se(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return xe(2,null,1|r,null);case"select":return xe(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return xe(4,null,r,null);case"picture":return xe(2,null,2|r,null);case"math":return xe(5,null,r,null);case"foreignObject":return xe(2,null,r,null);case"table":return xe(6,null,r,null);case"thead":case"tbody":case"tfoot":return xe(7,null,r,null);case"colgroup":return xe(9,null,r,null);case"tr":return xe(8,null,r,null);case"head":if(2>e.insertionMode)return xe(3,null,r,null);break;case"html":if(0===e.insertionMode)return xe(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?xe(2,null,r,null):e.tagScope!==r?xe(e.insertionMode,e.selectedValue,r,null):e}function _e(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function we(e,t){return 32&t.tagScope&&(e.instructions|=128),xe(t.insertionMode,t.selectedValue,12|t.tagScope,_e(t.viewTransition))}function Oe(e,t){e=_e(t.viewTransition);var n=16|t.tagScope;return null!==e&&"none"!==e.share&&(n|=64),xe(t.insertionMode,t.selectedValue,n,e)}var Ne=H("\x3c!-- --\x3e");function Pe(e,t,n,r){return""===t?r:(r&&e.push(Ne),e.push(j(J(t))),!0)}var Re=new Map,Be=H(' style="'),Fe=H(":"),Ie=H(";");function Me(e,t){if("object"!=typeof t)throw Error(i(62));var n,r=!0;for(n in t)if(W.call(t,n)){var o=t[n];if(null!=o&&"boolean"!=typeof o&&""!==o){if(0===n.indexOf("--")){var a=j(J(n));o=j(J((""+o).trim()))}else void 0===(a=Re.get(n))&&(a=H(J(n.replace(Z,"-$1").toLowerCase().replace(ee,"-ms-"))),Re.set(n,a)),o="number"==typeof o?0===o||Y.has(n)?j(""+o):j(o+"px"):j(J((""+o).trim()));r?(r=!1,e.push(Be,a,Fe,o)):e.push(Ie,a,Fe,o)}}r||e.push(He)}var Le=H(" "),je=H('="'),He=H('"'),Ue=H('=""');function ze(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),Ue)}function Ge(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(Le,j(t),je,j(J(n)),He)}var We=H(J("javascript:throw new Error('React form unexpectedly submitted.')")),Ke=H('<input type="hidden"');function qe(e,t){this.push(Ke),$e(e),Ge(this,"name",t),Ge(this,"value",e),this.push(Je)}function $e(e){if("string"!=typeof e)throw Error(i(480))}function Ve(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var o=r.data;null!=o&&o.forEach($e)}return r}catch(e){if("object"==typeof e&&null!==e&&"function"==typeof e.then)throw e}}return null}function Ye(e,t,n,r,o,i,a,s){var l=null;if("function"==typeof r){var u=Ve(t,r);null!==u?(s=u.name,r=u.action||"",o=u.encType,i=u.method,a=u.target,l=u.data):(e.push(Le,j("formAction"),je,We,He),a=i=o=r=s=null,nt(t,n))}return null!=s&&Xe(e,"name",s),null!=r&&Xe(e,"formAction",r),null!=o&&Xe(e,"formEncType",o),null!=i&&Xe(e,"formMethod",i),null!=a&&Xe(e,"formTarget",a),l}function Xe(e,t,n){switch(t){case"className":Ge(e,"class",n);break;case"tabIndex":Ge(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Ge(e,t,n);break;case"style":Me(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ne(""+n),e.push(Le,j(t),je,j(J(n)),He);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":ze(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=ne(""+n),e.push(Le,j("xlink:href"),je,j(J(n)),He);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),je,j(J(n)),He);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),Ue);break;case"capture":case"download":!0===n?e.push(Le,j(t),Ue):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(Le,j(t),je,j(J(n)),He);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(Le,j(t),je,j(J(n)),He);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(Le,j(t),je,j(J(n)),He);break;case"xlinkActuate":Ge(e,"xlink:actuate",n);break;case"xlinkArcrole":Ge(e,"xlink:arcrole",n);break;case"xlinkRole":Ge(e,"xlink:role",n);break;case"xlinkShow":Ge(e,"xlink:show",n);break;case"xlinkTitle":Ge(e,"xlink:title",n);break;case"xlinkType":Ge(e,"xlink:type",n);break;case"xmlBase":Ge(e,"xml:base",n);break;case"xmlLang":Ge(e,"xml:lang",n);break;case"xmlSpace":Ge(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&V(t=X.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(Le,j(t),je,j(J(n)),He)}}}var Qe=H(">"),Je=H("/>");function Ze(e,t,n){if(null!=t){if(null!=n)throw Error(i(60));if("object"!=typeof t||!("__html"in t))throw Error(i(61));null!=(t=t.__html)&&e.push(j(""+t))}}var et=H(' selected=""'),tt=H('addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function nt(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Qn(r,e),r.push(Qe,tt,ce)):r.unshift(t.startInlineScript,Qe,tt,ce)}}var rt=H("\x3c!--F!--\x3e"),ot=H("\x3c!--F--\x3e");function it(e,t){for(var n in e.push(Et("link")),t)if(W.call(t,n)){var r=t[n];if(null!=r)switch(n){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:Xe(e,n,r)}}return e.push(Je),null}var at=/(<\/|<)(s)(tyle)/gi;function st(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function lt(e,t,n){for(var r in e.push(Et(n)),t)if(W.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,n));default:Xe(e,r,o)}}return e.push(Je),null}function ut(e,t){e.push(Et("title"));var n,r=null,o=null;for(n in t)if(W.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,n,i)}}return e.push(Qe),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(j(J(""+t))),Ze(e,o,r),e.push(Tt("title")),null}var ct=H("\x3c!--head--\x3e"),dt=H("\x3c!--body--\x3e"),ft=H("\x3c!--html--\x3e");function pt(e,t){e.push(Et("script"));var n,r=null,o=null;for(n in t)if(W.call(t,n)){var i=t[n];if(null!=i)switch(n){case"children":r=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,n,i)}}return e.push(Qe),Ze(e,o,r),"string"==typeof r&&e.push(j((""+r).replace(ye,Ee))),e.push(Tt("script")),null}function ht(e,t,n){e.push(Et(n));var r,o=n=null;for(r in t)if(W.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,r,i)}}return e.push(Qe),Ze(e,o,n),n}function mt(e,t,n){e.push(Et(n));var r,o=n=null;for(r in t)if(W.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":n=i;break;case"dangerouslySetInnerHTML":o=i;break;default:Xe(e,r,i)}}return e.push(Qe),Ze(e,o,n),"string"==typeof n?(e.push(j(J(n))),null):n}var gt=H("\n"),vt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt=new Map;function Et(e){var t=yt.get(e);if(void 0===t){if(!vt.test(e))throw Error(i(65,e));t=H("<"+e),yt.set(e,t)}return t}var bt=H("<!DOCTYPE html>");var Ct=new Map;function Tt(e){var t=Ct.get(e);return void 0===t&&(t=H("</"+e+">"),Ct.set(e,t)),t}function kt(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function At(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)F(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,I(e,n))}var xt=H("requestAnimationFrame(function(){$RT=performance.now()});"),Dt=H('<template id="'),St=H('"></template>'),_t=H("\x3c!--&--\x3e"),wt=H("\x3c!--/&--\x3e"),Ot=H("\x3c!--$--\x3e"),Nt=H('\x3c!--$?--\x3e<template id="'),Pt=H('"></template>'),Rt=H("\x3c!--$!--\x3e"),Bt=H("\x3c!--/$--\x3e"),Ft=H("<template"),It=H('"'),Mt=H(' data-dgst="');H(' data-msg="'),H(' data-stck="'),H(' data-cstck="');var Lt=H("></template>");function jt(e,t,n){if(F(e,Nt),null===n)throw Error(i(395));return F(e,t.boundaryPrefix),F(e,j(n.toString(16))),I(e,Pt)}var Ht=H('<div hidden id="'),Ut=H('">'),zt=H("</div>"),Gt=H('<svg aria-hidden="true" style="display:none" id="'),Wt=H('">'),Kt=H("</svg>"),qt=H('<math aria-hidden="true" style="display:none" id="'),$t=H('">'),Vt=H("</math>"),Yt=H('<table hidden id="'),Xt=H('">'),Qt=H("</table>"),Jt=H('<table hidden><tbody id="'),Zt=H('">'),en=H("</tbody></table>"),tn=H('<table hidden><tr id="'),nn=H('">'),rn=H("</tr></table>"),on=H('<table hidden><colgroup id="'),an=H('">'),sn=H("</colgroup></table>"),ln=H('$RS=function(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("'),un=H('$RS("'),cn=H('","'),dn=H('")<\/script>');H('<template data-rsi="" data-sid="'),H('" data-pid="');var fn=H('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};');j('$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);');var pn=H('$RC("'),hn=H('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),mn=H('$RR("'),gn=H('","'),vn=H('",'),yn=H('"'),En=H(")<\/script>");H('<template data-rci="" data-bid="'),H('<template data-rri="" data-bid="'),H('" data-sid="'),H('" data-sty="');var bn=H('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),Cn=H('$RX=function(b,c,d,e,f){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),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),Tn=H('$RX("'),kn=H('"'),An=H(","),xn=H(")<\/script>");H('<template data-rxi="" data-bid="'),H('" data-dgst="'),H('" data-msg="'),H('" data-stck="'),H('" data-cstck="');var Dn=/[<\u2028\u2029]/g;function Sn(e){return JSON.stringify(e).replace(Dn,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 _n=/[&><\u2028\u2029]/g;function wn(e){return JSON.stringify(e).replace(_n,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts 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 On=H(' media="not all" data-precedence="'),Nn=H('" data-href="'),Pn=H('">'),Rn=H("</style>"),Bn=!1,Fn=!0;function In(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(F(this,le.startInlineStyle),F(this,On),F(this,e.precedence),F(this,Nn);r<n.length-1;r++)F(this,n[r]),F(this,Wn);for(F(this,n[r]),F(this,Pn),r=0;r<t.length;r++)F(this,t[r]);Fn=I(this,Rn),Bn=!0,t.length=0,n.length=0}}function Mn(e){return 2!==e.state&&(Bn=!0)}function Ln(e,t,n){return Bn=!1,Fn=!0,le=n,t.styles.forEach(In,e),le=null,t.stylesheets.forEach(Mn),Bn&&(n.stylesToHoist=!0),Fn}function jn(e){for(var t=0;t<e.length;t++)F(this,e[t]);e.length=0}var Hn=[];function Un(e){it(Hn,e.props);for(var t=0;t<Hn.length;t++)F(this,Hn[t]);Hn.length=0,e.state=2}var zn=H(' data-precedence="'),Gn=H('" data-href="'),Wn=H(" "),Kn=H('">'),qn=H("</style>");function $n(e){var t=0<e.sheets.size;e.sheets.forEach(Un,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(F(this,le.startInlineStyle),F(this,zn),F(this,e.precedence),e=0,r.length){for(F(this,Gn);e<r.length-1;e++)F(this,r[e]),F(this,Wn);F(this,r[e])}for(F(this,Kn),e=0;e<n.length;e++)F(this,n[e]);F(this,qn),n.length=0,r.length=0}}function Vn(e){if(0===e.state){e.state=1;var t=e.props;for(it(Hn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Hn.length;e++)F(this,Hn[e]);Hn.length=0}}function Yn(e){e.sheets.forEach(Vn,this),e.sheets.clear()}H('<link rel="expect" href="#'),H('" blocking="render"/>');var Xn=H(' id="');function Qn(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(Xn,j(J("_"+t.idPrefix+"R_")),He))}var Jn=H("["),Zn=H(",["),er=H(","),tr=H("]");function nr(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=ne(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!V(t))return;t=""+n}F(e,er),F(e,j(wn(r))),F(e,er),F(e,j(wn(t)))}function rr(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function or(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function ir(e,t,n){for(var r in t="<"+(e=(""+e).replace(ar,sr))+'>; rel=preload; as="'+(t=(""+t).replace(lr,ur))+'"',n)W.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(lr,ur)+'"');return t}var ar=/[<>\r\n]/g;function sr(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer 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 lr=/["';,\r\n]/g;function ur(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer 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 cr(e){this.styles.add(e)}function dr(e){this.stylesheets.add(e)}function fr(e,t){t.styles.forEach(cr,e),t.stylesheets.forEach(dr,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function pr(e){return 0<e.stylesheets.size||e.suspenseyImages}var hr=Function.prototype.bind,mr=Symbol.for("react.client.reference");function gr(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===mr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case c:return"Profiler";case u:return"StrictMode";case h:return"Suspense";case m:return"SuspenseList";case E:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case s:return"Portal";case f:return e.displayName||"Context";case d:return(e._context.displayName||"Context")+".Consumer";case p:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case g:return null!==(t=e.displayName||null)?t:gr(e.type)||"Memo";case v:t=e._payload,e=e._init;try{return gr(e(t))}catch(e){}}return null}var vr={},yr=null;function Er(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(i(401))}else{if(null===n)throw Error(i(401));Er(e,n)}t.context._currentValue=t.value}}function br(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&br(e)}function Cr(e){var t=e.parent;null!==t&&Cr(t),e.context._currentValue=e.value}function Tr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(i(402));e.depth===t.depth?Er(e,t):Tr(e,t)}function kr(e,t){var n=t.parent;if(null===n)throw Error(i(402));e.depth===n.depth?Er(e,n):kr(e,n),t.context._currentValue=t.value}function Ar(e){var t=yr;t!==e&&(null===t?Cr(e):null===e?br(t):t.depth===e.depth?Er(t,e):t.depth>e.depth?Tr(t,e):kr(t,e),yr=e)}var xr={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(){}},Dr={id:1,overflow:""};function Sr(e,t,n){var r=e.id;e=e.overflow;var o=32-_r(r)-1;r&=~(1<<o),n+=1;var i=32-_r(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-_r(t)+o|n<<o|r,overflow:i+e}}return{id:1<<i|n<<o|r,overflow:e}}var _r=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(wr(e)/Or|0)|0},wr=Math.log,Or=Math.LN2;function Nr(){}var Pr=Error(i(460)),Rr=null;function Br(){if(null===Rr)throw Error(i(459));var e=Rr;return Rr=null,e}var Fr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ir=null,Mr=null,Lr=null,jr=null,Hr=null,Ur=null,zr=!1,Gr=!1,Wr=0,Kr=0,qr=-1,$r=0,Vr=null,Yr=null,Xr=0;function Qr(){if(null===Ir)throw Error(i(321));return Ir}function Jr(){if(0<Xr)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function Zr(){return null===Ur?null===Hr?(zr=!1,Hr=Ur=Jr()):(zr=!0,Ur=Hr):null===Ur.next?(zr=!1,Ur=Ur.next=Jr()):(zr=!0,Ur=Ur.next),Ur}function eo(){var e=Vr;return Vr=null,e}function to(){jr=Lr=Mr=Ir=null,Gr=!1,Hr=null,Xr=0,Ur=Yr=null}function no(e,t){return"function"==typeof t?t(e):t}function ro(e,t,n){if(Ir=Qr(),Ur=Zr(),zr){var r=Ur.queue;if(t=r.dispatch,null!==Yr&&void 0!==(n=Yr.get(r))){Yr.delete(r),r=Ur.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Ur.memoizedState=r,[r,t]}return[Ur.memoizedState,t]}return e=e===no?"function"==typeof t?t():t:void 0!==n?n(t):t,Ur.memoizedState=e,e=(e=Ur.queue={last:null,dispatch:null}).dispatch=io.bind(null,Ir,e),[Ur.memoizedState,e]}function oo(e,t){if(Ir=Qr(),t=void 0===t?null:t,null!==(Ur=Zr())){var n=Ur.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(!Fr(t[o],r[o])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Ur.memoizedState=[e,t],e}function io(e,t,n){if(25<=Xr)throw Error(i(301));if(e===Ir)if(Gr=!0,e={action:n,next:null},null===Yr&&(Yr=new Map),void 0===(n=Yr.get(t)))Yr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function ao(){throw Error(i(440))}function so(){throw Error(i(394))}function lo(){throw Error(i(479))}function uo(e,t,n){Qr();var r=Kr++,o=Lr;if("function"==typeof e.$$FORM_ACTION){var i=null,a=jr;o=o.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==o&&"function"==typeof s){var l=o[1];s.call(e,o[2],o[3])&&l===(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0))&&(qr=r,t=o[0])}var u=e.bind(null,t);return e=function(e){u(e)},"function"==typeof u.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===i&&(i=void 0!==n?"p"+n:"k"+D(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",i)),e}),[t,e,!1]}var c=e.bind(null,t);return[t,function(e){c(e)},!1]}function co(e){var t=$r;return $r+=1,null===Vr&&(Vr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Nr,Nr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(Nr,Nr):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Rr=t,Pr}}(Vr,e,t)}function fo(){throw Error(i(393))}var po,ho,mo={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return co(e);if(e.$$typeof===f)return e._currentValue}throw Error(i(438,String(e)))},useContext:function(e){return Qr(),e._currentValue},useMemo:oo,useReducer:ro,useRef:function(e){Ir=Qr();var t=(Ur=Zr()).memoizedState;return null===t?(e={current:e},Ur.memoizedState=e):t},useState:function(e){return ro(no,e)},useInsertionEffect:Nr,useLayoutEffect:Nr,useCallback:function(e,t){return oo(function(){return e},t)},useImperativeHandle:Nr,useEffect:Nr,useDebugValue:Nr,useDeferredValue:function(e,t){return Qr(),void 0!==t?t:e},useTransition:function(){return Qr(),[!1,so]},useId:function(){var e=Mr.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-_r(e)-1)).toString(32)+t;var n=go;if(null===n)throw Error(i(404));return t=Wr++,e="_"+n.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,n){if(void 0===n)throw Error(i(407));return n()},useOptimistic:function(e){return Qr(),[e,lo]},useActionState:uo,useFormState:uo,useHostTransitionStatus:function(){return Qr(),ie},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=C;return t},useCacheRefresh:function(){return fo},useEffectEvent:function(){return ao}},go=null,vo={getCacheForType:function(){throw Error(i(248))},cacheSignal:function(){throw Error(i(248))}};function yo(e){if(void 0===po)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);po=t&&t[1]||"",ho=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+po+e+ho}var Eo=!1;function bo(e,t){if(!e||Eo)return"";Eo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{Eo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?yo(n):""}function Co(e){if("string"==typeof e)return yo(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?bo(e,!0):bo(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case p:return bo(e.render,!1);case g:return bo(e.type,!1);case v:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(e){return yo("Lazy")}return Co(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?yo(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case m:return yo("SuspenseList");case h:return yo("Suspense")}return""}function To(e,t){return(500<t.byteSize||pr(t.contentState))&&null===t.contentPreamble}function ko(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=hr.apply(console.error,e))()}else console.error(e);return null}function Ao(e,t,n,r,o,i,a,s,l,u,c){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===o?ko:o,this.onPostpone=void 0===u?Nr:u,this.onAllReady=void 0===i?Nr:i,this.onShellReady=void 0===a?Nr:a,this.onShellError=void 0===s?Nr:s,this.onFatalError=void 0===l?Nr:l,this.formState=void 0===c?null:c}function xo(e,t,n,r,o,i,a,s,l,u,c,d){return(n=Po(t=new Ao(t,n,r,o,i,a,s,l,u,c,d),0,null,r,!1,!1)).parentFlushed=!0,Ro(e=Oo(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Dr,null,null)),t.pingedTasks.push(e),t}function Do(e,t,n,r,o,i,a,s,l){return(n=new Ao(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,o,i,a,s,l,null)).nextSegmentId=t.nextSegmentId,"number"==typeof t.replaySlots?((r=Po(0,0,null,t.rootFormatContext,!1,!1)).parentFlushed=!0,Ro(e=Oo(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,Dr,null,null)),n.pingedTasks.push(e),n):(Ro(e=No(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,Dr,null,null)),n.pingedTasks.push(e),n)}var So=null;function _o(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?P(function(){return di(e)}):w(function(){return di(e)}))}function wo(e,t,n,r,o){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:rr(),fallbackState:rr(),contentPreamble:r,fallbackPreamble:o,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&fr(n.contentState,e)),n}function Oo(e,t,n,r,o,i,a,s,l,u,c,d,f,p,h){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==p&&p.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return _o(e,m)},blockedBoundary:o,blockedSegment:i,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:u,formatContext:c,context:d,treeContext:f,row:p,componentStack:h,thenableState:t};return l.add(m),m}function No(e,t,n,r,o,i,a,s,l,u,c,d,f,p){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++,n.pendingTasks++;var h={replay:n,node:r,childIndex:o,ping:function(){return _o(e,h)},blockedBoundary:i,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:u,context:c,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(h),h}function Po(e,t,n,r,o,i){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:o,textEmbedded:i}}function Ro(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===a&&(e.componentStack={parent:e.componentStack,type:t.type})}function Bo(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Fo(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=Co(r.type),r=r.parent}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return Object.defineProperty(t,"componentStack",{value:o}),o}}),t}function Io(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function Mo(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,z(e.destination,t)):(e.status=13,e.fatalError=t)}function Lo(e,t){jo(e,t.next,t.hoistables)}function jo(e,t,n){for(;null!==t;){null!==n&&(fr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var o=0;o<r.length;o++){var i=r[o];null!==n&&fr(i.contentState,n),ci(e,i,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Ho(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,o=0;o<n.length;o++){var i=n[o];if(1!==i.pendingTasks||i.parentFlushed||To(0,i)){r=!1;break}}r&&jo(e,t,t.hoistables)}}function Uo(e){var t={pendingTasks:1,boundaries:null,hoistables:rr(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function zo(e,t,n,r,o){var i=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var u=t.replay.slots;if(null!==u&&"object"==typeof u)for(var c=0;c<n;c++){var d="backwards"!==o&&"unstable_legacy-backwards"!==o?c:n-1-c,f=r[d];t.row=l=Uo(l),t.treeContext=Sr(a,n,d);var p=u[d];"number"==typeof p?(qo(e,t,p,f,d),delete u[d]):ti(e,t,f,d),0===--l.pendingTasks&&Lo(e,l)}else for(u=0;u<n;u++)d=r[c="backwards"!==o&&"unstable_legacy-backwards"!==o?u:n-1-u],t.row=l=Uo(l),t.treeContext=Sr(a,n,c),ti(e,t,d,c),0===--l.pendingTasks&&Lo(e,l)}else if("backwards"!==o&&"unstable_legacy-backwards"!==o)for(o=0;o<n;o++)u=r[o],t.row=l=Uo(l),t.treeContext=Sr(a,n,o),ti(e,t,u,o),0===--l.pendingTasks&&Lo(e,l);else{for(u=(o=t.blockedSegment).children.length,c=o.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=l=Uo(l),t.treeContext=Sr(a,n,d),p=Po(0,c,null,t.formatContext,0!==d||o.lastPushedText,!0),o.children.splice(u,0,p),t.blockedSegment=p;try{ti(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Ne),p.status=1,ui(e,t.blockedBoundary,p),0===--l.pendingTasks&&Lo(e,l)}catch(t){throw p.status=12===e.status?3:4,t}}t.blockedSegment=o,o.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=i}function Go(e,t,n,r,o,i){var a=t.thenableState;for(t.thenableState=null,Ir={},Mr=t,Lr=e,jr=n,Kr=Wr=0,qr=-1,$r=0,Vr=a,e=r(o,i);Gr;)Gr=!1,Kr=Wr=0,qr=-1,$r=0,Xr+=1,Ur=null,e=r(o,i);return to(),e}function Wo(e,t,n,r,o,i,a){var s=!1;if(0!==i&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var u=0;u<i;u++)u===a?l.push(rt):l.push(ot)}}i=t.keyPath,t.keyPath=n,o?(n=t.treeContext,t.treeContext=Sr(n,1,0),ti(e,t,r,-1),t.treeContext=n):s?ti(e,t,r,-1):$o(e,t,r,-1),t.keyPath=i}function Ko(e,t,n,o,a,s){if("function"==typeof o)if(o.prototype&&o.prototype.isReactComponent){var C=a;if("ref"in a)for(var k in C={},a)"ref"!==k&&(C[k]=a[k]);var D=o.defaultProps;if(D)for(var S in C===a&&(C=G({},C,a)),D)void 0===C[S]&&(C[S]=D[S]);a=C,C=vr,"object"==typeof(D=o.contextType)&&null!==D&&(C=D._currentValue);var _=void 0!==(C=new o(a,C)).state?C.state:null;if(C.updater=xr,C.props=a,C.state=_,D={queue:[],replace:!1},C._reactInternals=D,s=o.contextType,C.context="object"==typeof s&&null!==s?s._currentValue:vr,"function"==typeof(s=o.getDerivedStateFromProps)&&(_=null==(s=s(a,_))?_:G({},_,s),C.state=_),"function"!=typeof o.getDerivedStateFromProps&&"function"!=typeof C.getSnapshotBeforeUpdate&&("function"==typeof C.UNSAFE_componentWillMount||"function"==typeof C.componentWillMount))if(o=C.state,"function"==typeof C.componentWillMount&&C.componentWillMount(),"function"==typeof C.UNSAFE_componentWillMount&&C.UNSAFE_componentWillMount(),o!==C.state&&xr.enqueueReplaceState(C,C.state,null),null!==D.queue&&0<D.queue.length)if(o=D.queue,s=D.replace,D.queue=null,D.replace=!1,s&&1===o.length)C.state=o[0];else{for(D=s?o[0]:C.state,_=!0,s=s?1:0;s<o.length;s++)null!=(S="function"==typeof(S=o[s])?S.call(C,D,a,void 0):S)&&(_?(_=!1,D=G({},D,S)):G(D,S));C.state=D}else D.queue=null;if(o=C.render(),12===e.status)throw null;a=t.keyPath,t.keyPath=n,$o(e,t,o,-1),t.keyPath=a}else{if(o=Go(e,t,n,o,a,void 0),12===e.status)throw null;Wo(e,t,n,o,0!==Wr,Kr,qr)}else{if("string"!=typeof o){switch(o){case b:case u:case c:case l:return o=t.keyPath,t.keyPath=n,$o(e,t,a.children,-1),void(t.keyPath=o);case E:return void(null===(o=t.blockedSegment)?"hidden"!==a.mode&&(o=t.keyPath,t.keyPath=n,ti(e,t,a.children,-1),t.keyPath=o):"hidden"!==a.mode&&(o.chunks.push(_t),o.lastPushedText=!1,C=t.keyPath,t.keyPath=n,ti(e,t,a.children,-1),t.keyPath=C,o.chunks.push(wt),o.lastPushedText=!1));case m:e:{if(o=a.children,"forwards"===(a=a.revealOrder)||"backwards"===a||"unstable_legacy-backwards"===a){if(x(o)){zo(e,t,n,o,a);break e}if((C=A(o))&&(C=C.call(o))){if(!(D=C.next()).done){do{D=C.next()}while(!D.done);zo(e,t,n,o,a)}break e}}"together"===a?(a=t.keyPath,C=t.row,(D=t.row=Uo(null)).boundaries=[],D.together=!0,t.keyPath=n,$o(e,t,o,-1),0===--D.pendingTasks&&Lo(e,D),t.keyPath=a,t.row=C,null!==C&&0<D.pendingTasks&&(C.pendingTasks++,D.next=C)):(a=t.keyPath,t.keyPath=n,$o(e,t,o,-1),t.keyPath=a)}return;case T:case y:throw Error(i(343));case h:e:if(null!==t.replay){o=t.keyPath,C=t.formatContext,D=t.row,t.keyPath=n,t.formatContext=Oe(e.resumableState,C),t.row=null,n=a.children;try{ti(e,t,n,-1)}finally{t.keyPath=o,t.formatContext=C,t.row=D}}else{o=t.keyPath,s=t.formatContext;var w=t.row;S=t.blockedBoundary,k=t.blockedPreamble;var O=t.hoistableState,N=t.blockedSegment,P=a.fallback;a=a.children;var R=new Set,B=2>t.formatContext.insertionMode?wo(e,t.row,R,{htmlChunks:null,headChunks:null,bodyChunks:null},{htmlChunks:null,headChunks:null,bodyChunks:null}):wo(e,t.row,R,null,null);null!==e.trackedPostpones&&(B.trackedContentKeyPath=n);var F=Po(0,N.chunks.length,B,t.formatContext,!1,!1);N.children.push(F),N.lastPushedText=!1;var I=Po(0,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,null!==e.trackedPostpones){C=t.componentStack,_=[(D=[n[0],"Suspense Fallback",n[2]])[1],D[2],[],null],e.trackedPostpones.workingMap.set(D,_),B.trackedFallbackNode=_,t.blockedSegment=F,t.blockedPreamble=B.fallbackPreamble,t.keyPath=D,t.formatContext=we(e.resumableState,s),t.componentStack=Bo(C),F.status=6;try{ti(e,t,P,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Ne),F.status=1,ui(e,S,F)}catch(t){throw F.status=12===e.status?3:4,t}finally{t.blockedSegment=N,t.blockedPreamble=k,t.keyPath=o,t.formatContext=s}Ro(t=Oo(e,null,a,-1,B,I,B.contentPreamble,B.contentState,t.abortSet,n,Oe(e.resumableState,t.formatContext),t.context,t.treeContext,null,C)),e.pingedTasks.push(t)}else{t.blockedBoundary=B,t.blockedPreamble=B.contentPreamble,t.hoistableState=B.contentState,t.blockedSegment=I,t.keyPath=n,t.formatContext=Oe(e.resumableState,s),t.row=null,I.status=6;try{if(ti(e,t,a,-1),I.lastPushedText&&I.textEmbedded&&I.chunks.push(Ne),I.status=1,ui(e,B,I),li(B,I),0===B.pendingTasks&&0===B.status){if(B.status=1,!To(0,B)){null!==w&&0===--w.pendingTasks&&Lo(e,w),0===e.pendingRootTasks&&t.blockedPreamble&&hi(e);break e}}else null!==w&&w.together&&Ho(e,w)}catch(n){B.status=4,12===e.status?(I.status=3,C=e.fatalError):(I.status=4,C=n),_=Io(e,C,D=Fo(t.componentStack)),B.errorDigest=_,Jo(e,B)}finally{t.blockedBoundary=S,t.blockedPreamble=k,t.hoistableState=O,t.blockedSegment=N,t.keyPath=o,t.formatContext=s,t.row=w}Ro(t=Oo(e,null,P,-1,S,F,B.fallbackPreamble,B.fallbackState,R,[n[0],"Suspense Fallback",n[2]],we(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Bo(t.componentStack))),e.pingedTasks.push(t)}}return}if("object"==typeof o&&null!==o)switch(o.$$typeof){case p:if("ref"in a)for(N in C={},a)"ref"!==N&&(C[N]=a[N]);else C=a;return void Wo(e,t,n,o=Go(e,t,n,o.render,C,s),0!==Wr,Kr,qr);case g:return void Ko(e,t,n,o.type,a,s);case f:if(D=a.children,C=t.keyPath,a=a.value,_=o._currentValue,o._currentValue=a,yr=o={parent:s=yr,depth:null===s?0:s.depth+1,context:o,parentValue:_,value:a},t.context=o,t.keyPath=n,$o(e,t,D,-1),null===(e=yr))throw Error(i(403));return e.context._currentValue=e.parentValue,e=yr=e.parent,t.context=e,void(t.keyPath=C);case d:return o=(a=a.children)(o._context._currentValue),a=t.keyPath,t.keyPath=n,$o(e,t,o,-1),void(t.keyPath=a);case v:if(o=(C=o._init)(o._payload),12===e.status)throw null;return void Ko(e,t,n,o,a,s)}throw Error(i(130,null==o?o:typeof o,""))}if(null===(C=t.blockedSegment))C=a.children,D=t.formatContext,_=t.keyPath,t.formatContext=Se(D,o,a),t.keyPath=n,ti(e,t,C,-1),t.formatContext=D,t.keyPath=_;else{if(_=function(e,t,n,o,a,s,l,u,c){switch(t){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":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":break;case"a":e.push(Et("a"));var d,f=null,p=null;for(d in n)if(W.call(n,d)){var h=n[d];if(null!=h)switch(d){case"children":f=h;break;case"dangerouslySetInnerHTML":p=h;break;case"href":""===h?Ge(e,"href",""):Xe(e,d,h);break;default:Xe(e,d,h)}}if(e.push(Qe),Ze(e,p,f),"string"==typeof f){e.push(j(J(f)));var m=null}else m=f;return m;case"select":e.push(Et("select"));var g,v=null,y=null;for(g in n)if(W.call(n,g)){var E=n[g];if(null!=E)switch(g){case"children":v=E;break;case"dangerouslySetInnerHTML":y=E;break;case"defaultValue":case"value":break;default:Xe(e,g,E)}}return e.push(Qe),Ze(e,y,v),v;case"option":var b=u.selectedValue;e.push(Et("option"));var C,T=null,k=null,A=null,D=null;for(C in n)if(W.call(n,C)){var S=n[C];if(null!=S)switch(C){case"children":T=S;break;case"selected":A=S;break;case"dangerouslySetInnerHTML":D=S;break;case"value":k=S;default:Xe(e,C,S)}}if(null!=b){var _=null!==k?""+k:function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(T);if(x(b)){for(var w=0;w<b.length;w++)if(""+b[w]===_){e.push(et);break}}else""+b===_&&e.push(et)}else A&&e.push(et);return e.push(Qe),Ze(e,D,T),T;case"textarea":e.push(Et("textarea"));var O,N=null,P=null,R=null;for(O in n)if(W.call(n,O)){var B=n[O];if(null!=B)switch(O){case"children":R=B;break;case"value":N=B;break;case"defaultValue":P=B;break;case"dangerouslySetInnerHTML":throw Error(i(91));default:Xe(e,O,B)}}if(null===N&&null!==P&&(N=P),e.push(Qe),null!=R){if(null!=N)throw Error(i(92));if(x(R)){if(1<R.length)throw Error(i(93));N=""+R[0]}N=""+R}return"string"==typeof N&&"\n"===N[0]&&e.push(gt),null!==N&&e.push(j(J(""+N))),null;case"input":e.push(Et("input"));var F,I=null,M=null,L=null,H=null,U=null,z=null,K=null,q=null,$=null;for(F in n)if(W.call(n,F)){var Y=n[F];if(null!=Y)switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"input"));case"name":I=Y;break;case"formAction":M=Y;break;case"formEncType":L=Y;break;case"formMethod":H=Y;break;case"formTarget":U=Y;break;case"defaultChecked":$=Y;break;case"defaultValue":K=Y;break;case"checked":q=Y;break;case"value":z=Y;break;default:Xe(e,F,Y)}}var X=Ye(e,o,a,M,L,H,U,I);return null!==q?ze(e,"checked",q):null!==$&&ze(e,"checked",$),null!==z?Xe(e,"value",z):null!==K&&Xe(e,"value",K),e.push(Je),null!=X&&X.forEach(qe,e),null;case"button":e.push(Et("button"));var Q,Z=null,ee=null,te=null,re=null,oe=null,ie=null,ae=null;for(Q in n)if(W.call(n,Q)){var le=n[Q];if(null!=le)switch(Q){case"children":Z=le;break;case"dangerouslySetInnerHTML":ee=le;break;case"name":te=le;break;case"formAction":re=le;break;case"formEncType":oe=le;break;case"formMethod":ie=le;break;case"formTarget":ae=le;break;default:Xe(e,Q,le)}}var ue=Ye(e,o,a,re,oe,ie,ae,te);if(e.push(Qe),null!=ue&&ue.forEach(qe,e),Ze(e,ee,Z),"string"==typeof Z){e.push(j(J(Z)));var ce=null}else ce=Z;return ce;case"form":e.push(Et("form"));var de,fe=null,pe=null,he=null,me=null,ge=null,ve=null;for(de in n)if(W.call(n,de)){var ye=n[de];if(null!=ye)switch(de){case"children":fe=ye;break;case"dangerouslySetInnerHTML":pe=ye;break;case"action":he=ye;break;case"encType":me=ye;break;case"method":ge=ye;break;case"target":ve=ye;break;default:Xe(e,de,ye)}}var Ee=null,be=null;if("function"==typeof he){var Ce=Ve(o,he);null!==Ce?(he=Ce.action||"",me=Ce.encType,ge=Ce.method,ve=Ce.target,Ee=Ce.data,be=Ce.name):(e.push(Le,j("action"),je,We,He),ve=ge=me=he=null,nt(o,a))}if(null!=he&&Xe(e,"action",he),null!=me&&Xe(e,"encType",me),null!=ge&&Xe(e,"method",ge),null!=ve&&Xe(e,"target",ve),e.push(Qe),null!==be&&(e.push(Ke),Ge(e,"name",be),e.push(Je),null!=Ee&&Ee.forEach(qe,e)),Ze(e,pe,fe),"string"==typeof fe){e.push(j(J(fe)));var Te=null}else Te=fe;return Te;case"menuitem":for(var ke in e.push(Et("menuitem")),n)if(W.call(n,ke)){var Ae=n[ke];if(null!=Ae)switch(ke){case"children":case"dangerouslySetInnerHTML":throw Error(i(400));default:Xe(e,ke,Ae)}}return e.push(Qe),null;case"object":e.push(Et("object"));var xe,De=null,Se=null;for(xe in n)if(W.call(n,xe)){var _e=n[xe];if(null!=_e)switch(xe){case"children":De=_e;break;case"dangerouslySetInnerHTML":Se=_e;break;case"data":var we=ne(""+_e);if(""===we)break;e.push(Le,j("data"),je,j(J(we)),He);break;default:Xe(e,xe,_e)}}if(e.push(Qe),Ze(e,Se,De),"string"==typeof De){e.push(j(J(De)));var Oe=null}else Oe=De;return Oe;case"title":var Pe=1&u.tagScope,Re=4&u.tagScope;if(4===u.insertionMode||Pe||null!=n.itemProp)var Be=ut(e,n);else Re?Be=null:(ut(a.hoistableChunks,n),Be=void 0);return Be;case"link":var Fe=1&u.tagScope,Ie=4&u.tagScope,Ue=n.rel,$e=n.href,tt=n.precedence;if(4===u.insertionMode||Fe||null!=n.itemProp||"string"!=typeof Ue||"string"!=typeof $e||""===$e){it(e,n);var rt=null}else if("stylesheet"===n.rel)if("string"!=typeof tt||null!=n.disabled||n.onLoad||n.onError)rt=it(e,n);else{var ot=a.styles.get(tt),vt=o.styleResources.hasOwnProperty($e)?o.styleResources[$e]:void 0;if(null!==vt){o.styleResources[$e]=null,ot||(ot={precedence:j(J(tt)),rules:[],hrefs:[],sheets:new Map},a.styles.set(tt,ot));var yt={state:0,props:G({},n,{"data-precedence":n.precedence,precedence:null})};if(vt){2===vt.length&&or(yt.props,vt);var Ct=a.preloads.stylesheets.get($e);Ct&&0<Ct.length?Ct.length=0:yt.state=1}ot.sheets.set($e,yt),l&&l.stylesheets.add(yt)}else if(ot){var kt=ot.sheets.get($e);kt&&l&&l.stylesheets.add(kt)}c&&e.push(Ne),rt=null}else n.onLoad||n.onError?rt=it(e,n):(c&&e.push(Ne),rt=Ie?null:it(a.hoistableChunks,n));return rt;case"script":var At=1&u.tagScope,xt=n.async;if("string"!=typeof n.src||!n.src||!xt||"function"==typeof xt||"symbol"==typeof xt||n.onLoad||n.onError||4===u.insertionMode||At||null!=n.itemProp)var Dt=pt(e,n);else{var St=n.src;if("module"===n.type)var _t=o.moduleScriptResources,wt=a.preloads.moduleScripts;else _t=o.scriptResources,wt=a.preloads.scripts;var Ot=_t.hasOwnProperty(St)?_t[St]:void 0;if(null!==Ot){_t[St]=null;var Nt=n;if(Ot){2===Ot.length&&or(Nt=G({},n),Ot);var Pt=wt.get(St);Pt&&(Pt.length=0)}var Rt=[];a.scripts.add(Rt),pt(Rt,Nt)}c&&e.push(Ne),Dt=null}return Dt;case"style":var Bt=1&u.tagScope,Ft=n.precedence,It=n.href,Mt=n.nonce;if(4===u.insertionMode||Bt||null!=n.itemProp||"string"!=typeof Ft||"string"!=typeof It||""===It){e.push(Et("style"));var Lt,jt=null,Ht=null;for(Lt in n)if(W.call(n,Lt)){var Ut=n[Lt];if(null!=Ut)switch(Lt){case"children":jt=Ut;break;case"dangerouslySetInnerHTML":Ht=Ut;break;default:Xe(e,Lt,Ut)}}e.push(Qe);var zt=Array.isArray(jt)?2>jt.length?jt[0]:null:jt;"function"!=typeof zt&&"symbol"!=typeof zt&&null!=zt&&e.push(j((""+zt).replace(at,st))),Ze(e,Ht,jt),e.push(Tt("style"));var Gt=null}else{var Wt=a.styles.get(Ft);if(null!==(o.styleResources.hasOwnProperty(It)?o.styleResources[It]:void 0)){o.styleResources[It]=null,Wt||(Wt={precedence:j(J(Ft)),rules:[],hrefs:[],sheets:new Map},a.styles.set(Ft,Wt));var Kt=a.nonce.style;if(!Kt||Kt===Mt){Wt.hrefs.push(j(J(It)));var qt,$t=Wt.rules,Vt=null,Yt=null;for(qt in n)if(W.call(n,qt)){var Xt=n[qt];if(null!=Xt)switch(qt){case"children":Vt=Xt;break;case"dangerouslySetInnerHTML":Yt=Xt}}var Qt=Array.isArray(Vt)?2>Vt.length?Vt[0]:null:Vt;"function"!=typeof Qt&&"symbol"!=typeof Qt&&null!=Qt&&$t.push(j((""+Qt).replace(at,st))),Ze($t,Yt,Vt)}}Wt&&l&&l.styles.add(Wt),c&&e.push(Ne),Gt=void 0}return Gt;case"meta":var Jt=1&u.tagScope,Zt=4&u.tagScope;if(4===u.insertionMode||Jt||null!=n.itemProp)var en=lt(e,n,"meta");else c&&e.push(Ne),en=Zt?null:"string"==typeof n.charSet?lt(a.charsetChunks,n,"meta"):"viewport"===n.name?lt(a.viewportChunks,n,"meta"):lt(a.hoistableChunks,n,"meta");return en;case"listing":case"pre":e.push(Et(t));var tn,nn=null,rn=null;for(tn in n)if(W.call(n,tn)){var on=n[tn];if(null!=on)switch(tn){case"children":nn=on;break;case"dangerouslySetInnerHTML":rn=on;break;default:Xe(e,tn,on)}}if(e.push(Qe),null!=rn){if(null!=nn)throw Error(i(60));if("object"!=typeof rn||!("__html"in rn))throw Error(i(61));var an=rn.__html;null!=an&&("string"==typeof an&&0<an.length&&"\n"===an[0]?e.push(gt,j(an)):e.push(j(""+an)))}return"string"==typeof nn&&"\n"===nn[0]&&e.push(gt),nn;case"img":var sn=3&u.tagScope,ln=n.src,un=n.srcSet;if(!("lazy"===n.loading||!ln&&!un||"string"!=typeof ln&&null!=ln||"string"!=typeof un&&null!=un||"low"===n.fetchPriority||sn)&&("string"!=typeof ln||":"!==ln[4]||"d"!==ln[0]&&"D"!==ln[0]||"a"!==ln[1]&&"A"!==ln[1]||"t"!==ln[2]&&"T"!==ln[2]||"a"!==ln[3]&&"A"!==ln[3])&&("string"!=typeof un||":"!==un[4]||"d"!==un[0]&&"D"!==un[0]||"a"!==un[1]&&"A"!==un[1]||"t"!==un[2]&&"T"!==un[2]||"a"!==un[3]&&"A"!==un[3])){null!==l&&64&u.tagScope&&(l.suspenseyImages=!0);var cn="string"==typeof n.sizes?n.sizes:void 0,dn=un?un+"\n"+(cn||""):ln,fn=a.preloads.images,pn=fn.get(dn);if(pn)("high"===n.fetchPriority||10>a.highImagePreloads.size)&&(fn.delete(dn),a.highImagePreloads.add(pn));else if(!o.imageResources.hasOwnProperty(dn)){o.imageResources[dn]=se;var hn,mn=n.crossOrigin,gn="string"==typeof mn?"use-credentials"===mn?mn:"":void 0,vn=a.headers;vn&&0<vn.remainingCapacity&&"string"!=typeof n.srcSet&&("high"===n.fetchPriority||500>vn.highImagePreloads.length)&&(hn=ir(ln,"image",{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:gn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(vn.remainingCapacity-=hn.length+2))?(a.resets.image[dn]=se,vn.highImagePreloads&&(vn.highImagePreloads+=", "),vn.highImagePreloads+=hn):(it(pn=[],{rel:"preload",as:"image",href:un?void 0:ln,imageSrcSet:un,imageSizes:cn,crossOrigin:gn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),"high"===n.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(pn):(a.bulkPreloads.add(pn),fn.set(dn,pn)))}}return lt(e,n,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return lt(e,n,t);case"head":if(2>u.insertionMode){var yn=s||a.preamble;if(yn.headChunks)throw Error(i(545,"`<head>`"));null!==s&&e.push(ct),yn.headChunks=[];var En=ht(yn.headChunks,n,"head")}else En=mt(e,n,"head");return En;case"body":if(2>u.insertionMode){var bn=s||a.preamble;if(bn.bodyChunks)throw Error(i(545,"`<body>`"));null!==s&&e.push(dt),bn.bodyChunks=[];var Cn=ht(bn.bodyChunks,n,"body")}else Cn=mt(e,n,"body");return Cn;case"html":if(0===u.insertionMode){var Tn=s||a.preamble;if(Tn.htmlChunks)throw Error(i(545,"`<html>`"));null!==s&&e.push(ft),Tn.htmlChunks=[bt];var kn=ht(Tn.htmlChunks,n,"html")}else kn=mt(e,n,"html");return kn;default:if(-1!==t.indexOf("-")){e.push(Et(t));var An,xn=null,Dn=null;for(An in n)if(W.call(n,An)){var Sn=n[An];if(null!=Sn){var _n=An;switch(An){case"children":xn=Sn;break;case"dangerouslySetInnerHTML":Dn=Sn;break;case"style":Me(e,Sn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":_n="class";default:if(V(An)&&"function"!=typeof Sn&&"symbol"!=typeof Sn&&!1!==Sn){if(!0===Sn)Sn="";else if("object"==typeof Sn)continue;e.push(Le,j(_n),je,j(J(Sn)),He)}}}}return e.push(Qe),Ze(e,Dn,xn),xn}}return mt(e,n,t)}(C.chunks,o,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,C.lastPushedText),C.lastPushedText=!1,D=t.formatContext,s=t.keyPath,t.keyPath=n,3===(t.formatContext=Se(D,o,a)).insertionMode){n=Po(0,0,null,t.formatContext,!1,!1),C.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,ti(e,t,_,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Ne),n.status=1,ui(e,t.blockedBoundary,n)}finally{t.blockedSegment=C}}else ti(e,t,_,-1);t.formatContext=D,t.keyPath=s;e:{switch(t=C.chunks,e=e.resumableState,o){case"title":case"style":case"script":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 e;case"body":if(1>=D.insertionMode){e.hasBody=!0;break e}break;case"html":if(0===D.insertionMode){e.hasHtml=!0;break e}break;case"head":if(1>=D.insertionMode)break e}t.push(Tt(o))}C.lastPushedText=!1}}}function qo(e,t,n,r,o){var i=t.replay,a=t.blockedBoundary,s=Po(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ti(e,t,r,o),s.status=1,ui(e,a,s),null===a?e.completedRootSegment=s:(li(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=i,t.blockedSegment=null}}function $o(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?qo(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Ro(t),Vo(e,t),t.componentStack=n)}function Vo(e,t){var n=t.node,r=t.childIndex;if(null!==n){if("object"==typeof n){switch(n.$$typeof){case a:var o=n.type,l=n.key,u=n.props,c=void 0!==(n=u.ref)?n:null,d=gr(o),p=null==l?-1===r?0:r:l;if(l=[t.keyPath,d,p],null!==t.replay)e:{var m=t.replay;for(r=m.nodes,n=0;n<r.length;n++){var g=r[n];if(p===g[1]){if(4===g.length){if(null!==d&&d!==g[0])throw Error(i(490,g[0],d));var y=g[2];d=g[3],p=t.node,t.replay={nodes:y,slots:d,pendingTasks:1};try{if(Ko(e,t,l,o,u,c),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(i){if("object"==typeof i&&null!==i&&(i===Pr||"function"==typeof i.then))throw t.node===p?t.replay=m:r.splice(n,1),i;t.replay.pendingTasks--,u=Fo(t.componentStack),ri(l=e,e=t.blockedBoundary,y,d,o=i,u=Io(l,o,u))}t.replay=m}else{if(o!==h)throw Error(i(490,"Suspense",gr(o)||"Unknown"));t:{m=void 0,o=g[5],c=g[2],d=g[3],p=null===g[4]?[]:g[4][2],g=null===g[4]?null:g[4][3];var E=t.keyPath,b=t.formatContext,C=t.row,T=t.replay,k=t.blockedBoundary,D=t.hoistableState,S=u.children,_=u.fallback,w=new Set;(u=2>t.formatContext.insertionMode?wo(e,t.row,w,Ae(),Ae()):wo(e,t.row,w,null,null)).parentFlushed=!0,u.rootSegmentID=o,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=Oe(e.resumableState,b),t.row=null,t.replay={nodes:c,slots:d,pendingTasks:1};try{if(ti(e,t,S,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(n){u.status=4,m=Io(e,n,y=Fo(t.componentStack)),u.errorDigest=m,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=k,t.hoistableState=D,t.replay=T,t.keyPath=E,t.formatContext=b,t.row=C}Ro(y=No(e,null,{nodes:p,slots:g,pendingTasks:0},_,-1,k,u.fallbackState,w,[l[0],"Suspense Fallback",l[2]],we(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Bo(t.componentStack))),e.pingedTasks.push(y)}}r.splice(n,1);break e}}}else Ko(e,t,l,o,u,c);return;case s:throw Error(i(257));case v:if(n=(y=n._init)(n._payload),12===e.status)throw null;return void $o(e,t,n,r)}if(x(n))return void Yo(e,t,n,r);if((y=A(n))&&(y=y.call(n))){if(!(n=y.next()).done){u=[];do{u.push(n.value),n=y.next()}while(!n.done);Yo(e,t,u,r)}return}if("function"==typeof n.then)return t.thenableState=null,$o(e,t,co(n),r);if(n.$$typeof===f)return $o(e,t,n._currentValue,r);throw r=Object.prototype.toString.call(n),Error(i(31,"[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r))}"string"==typeof n?null!==(r=t.blockedSegment)&&(r.lastPushedText=Pe(r.chunks,n,e.renderState,r.lastPushedText)):"number"!=typeof n&&"bigint"!=typeof n||null!==(r=t.blockedSegment)&&(r.lastPushedText=Pe(r.chunks,""+n,e.renderState,r.lastPushedText))}}function Yo(e,t,n,r){var o=t.keyPath;if(-1===r||(t.keyPath=[t.keyPath,"Fragment",r],null===t.replay)){if(a=t.treeContext,s=n.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(r=0;r<s;r++)u=n[r],t.treeContext=Sr(a,s,r),"number"==typeof(c=l[r])?(qo(e,t,c,u,r),delete l[r]):ti(e,t,u,r);return t.treeContext=a,void(t.keyPath=o)}for(l=0;l<s;l++)r=n[l],t.treeContext=Sr(a,s,l),ti(e,t,r,l);t.treeContext=a,t.keyPath=o}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var u=s[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(Yo(e,t,n,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(i(488));t.replay.pendingTasks--}catch(o){if("object"==typeof o&&null!==o&&(o===Pr||"function"==typeof o.then))throw o;t.replay.pendingTasks--,n=Fo(t.componentStack);var c=t.blockedBoundary;ri(e,c,r,u,o,n=Io(e,o,n))}t.replay=a,s.splice(l,1);break}}t.keyPath=o}}function Xo(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,null===(e=n.trackedContentKeyPath))throw Error(i(486));var r=n.trackedFallbackNode,o=t.workingMap.get(e);return void 0===o?(n=[e[1],e[2],[],null,r,n.rootSegmentID],t.workingMap.set(e,n),Si(n,e[0],t),n):(o[4]=r,o[5]=n.rootSegmentID,o)}function Qo(e,t,n,r){r.status=5;var o=n.keyPath,a=n.blockedBoundary;if(null===a)r.id=e.nextSegmentId++,t.rootSlots=r.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=Xo(e,t,a);if(a.trackedContentKeyPath===o&&-1===n.childIndex)return-1===r.id&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=r.id)}if(-1===r.id&&(r.id=r.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===n.childIndex)null===o?t.rootSlots=r.id:void 0===(n=t.workingMap.get(o))?Si(n=[o[1],o[2],[],r.id],o[0],t):n[3]=r.id;else{if(null===o){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(i(491))}else if(void 0===(s=(a=t.workingMap).get(o)))e={},s=[o[1],o[2],[],e],a.set(o,s),Si(s,o[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(i(491));e[n.childIndex]=r.id}}}function Jo(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Zo(e,t,n){return No(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ei(e,t,n){var r=t.blockedSegment,o=Po(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(o),r.lastPushedText=!1,Oo(e,n,t.node,t.childIndex,t.blockedBoundary,o,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ti(e,t,n,r){var o=t.formatContext,i=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,u=t.blockedSegment;if(null===u){u=t.replay;try{return $o(e,t,n,r)}catch(c){if(to(),n=c===Pr?Br():c,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Zo(e,t,r=c===Pr?eo():null).ping,n.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void Ar(i);if("Maximum call stack size exceeded"===n.message)return n=Zo(e,t,n=c===Pr?eo():null),e.pingedTasks.push(n),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=u,void Ar(i)}}}else{var c=u.children.length,d=u.chunks.length;try{return $o(e,t,n,r)}catch(r){if(to(),u.children.length=c,u.chunks.length=d,n=r===Pr?Br():r,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return u=n,e=ei(e,t,n=r===Pr?eo():null).ping,u.then(e,e),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Ar(i);if("Maximum call stack size exceeded"===n.message)return u=ei(e,t,u=r===Pr?eo():null),e.pingedTasks.push(u),t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Ar(i)}}}throw t.formatContext=o,t.context=i,t.keyPath=a,t.treeContext=s,Ar(i),n}function ni(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,ci(this,t,e.row,n))}function ri(e,t,n,r,o,a){for(var s=0;s<n.length;s++){var l=n[s];if(4===l.length)ri(e,t,l[2],l[3],o,a);else{l=l[5];var u=e,c=a,d=wo(u,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=c,d.parentFlushed&&u.clientRenderedBoundaries.push(d)}}if(n.length=0,null!==r){if(null===t)throw Error(i(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof r)for(var f in r)delete r[f]}}function oi(e,t,n){var r=e.blockedBoundary,o=e.blockedSegment;if(null!==o){if(6===o.status)return;o.status=3}var i=Fo(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==o?(r=t.trackedPostpones,Io(t,n,i),Qo(t,r,e,o),ci(t,null,e.row,o)):(Io(t,n,i),Mo(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(o=Io(t,n,i),ri(t,null,r.nodes,r.slots,n,o)),t.pendingRootTasks--,0===t.pendingRootTasks&&ai(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==o)return Io(t,n,i),Qo(t,a,e,o),r.fallbackAbortableTasks.forEach(function(e){return oi(e,t,n)}),r.fallbackAbortableTasks.clear(),ci(t,r,e.row,o);r.status=4,o=Io(t,n,i),r.status=4,r.errorDigest=o,Jo(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(o=r.row)&&0===--o.pendingTasks&&Lo(t,o),r.fallbackAbortableTasks.forEach(function(e){return oi(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&Lo(t,e),t.allPendingTasks--,0===t.allPendingTasks&&si(t)}function ii(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var o=n.headers;if(o){n.headers=null;var i=o.preconnects;if(o.fontPreloads&&(i&&(i+=", "),i+=o.fontPreloads),o.highImagePreloads&&(i&&(i+=", "),i+=o.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<o.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),u=l.next();0<o.remainingCapacity&&!u.done;u=l.next()){var c=u.value,d=c.props,f=d.href,p=c.props,h=ir(p.href,"style",{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(!(0<=(o.remainingCapacity-=h.length+2)))break e;n.resets.style[f]=se,i&&(i+=", "),i+=h,n.resets.style[f]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:se}}r(i?{Link:i}:{})}}}catch(t){Io(e,t,{})}}function ai(e){null===e.trackedPostpones&&ii(e,!0),null===e.trackedPostpones&&hi(e),e.onShellError=Nr,(e=e.onShellReady)()}function si(e){ii(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),hi(e),(e=e.onAllReady)()}function li(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||li(e,n)}else e.completedSegments.push(t)}function ui(e,t,n){if(null!==U){n=n.chunks;for(var r=0,o=0;o<n.length;o++)r+=n[o].byteLength;null===t?e.byteSize+=r:t.byteSize+=r}}function ci(e,t,n,r){if(null!==n&&(0===--n.pendingTasks?Lo(e,n):n.together&&Ho(e,n)),e.allPendingTasks--,null===t){if(null!==r&&r.parentFlushed){if(null!==e.completedRootSegment)throw Error(i(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&ai(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==r&&r.parentFlushed&&(1===r.status||3===r.status)&&li(t,r),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(n=t.row)&&fr(n.hoistables,t.contentState),To(0,t)||(t.fallbackAbortableTasks.forEach(ni,e),t.fallbackAbortableTasks.clear(),null!==n&&0===--n.pendingTasks&&Lo(e,n)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&hi(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){n=e.trackedPostpones;var o=t.next;if(null!==o&&null!==(r=o.boundaries))for(o.boundaries=null,o=0;o<r.length;o++){var a=r[o];Xo(e,n,a),ci(e,a,null,null)}}0===--t.pendingTasks&&Lo(e,t)}}else null===r||!r.parentFlushed||1!==r.status&&3!==r.status||(li(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&Ho(e,t);0===e.allPendingTasks&&si(e)}function di(e){if(14!==e.status&&13!==e.status){var t=yr,n=re.H;re.H=mo;var r=re.A;re.A=vo;var o=So;So=e;var a=go;go=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var u=l[s],c=e,d=u.blockedSegment;if(null===d){var f=c;if(0!==u.replay.pendingTasks){Ar(u.context);try{if("number"==typeof u.replay.slots?qo(f,u,u.replay.slots,u.node,u.childIndex):Vo(f,u),1===u.replay.pendingTasks&&0<u.replay.nodes.length)throw Error(i(488));u.replay.pendingTasks--,u.abortSet.delete(u),ci(f,u.blockedBoundary,u.row,null)}catch(e){to();var p=e===Pr?Br():e;if("object"==typeof p&&null!==p&&"function"==typeof p.then){var h=u.ping;p.then(h,h),u.thenableState=e===Pr?eo():null}else{u.replay.pendingTasks--,u.abortSet.delete(u);var m=Fo(u.componentStack);c=void 0;var g=f,v=u.blockedBoundary,y=12===f.status?f.fatalError:p;ri(g,v,u.replay.nodes,u.replay.slots,y,c=Io(g,y,m)),f.pendingRootTasks--,0===f.pendingRootTasks&&ai(f),f.allPendingTasks--,0===f.allPendingTasks&&si(f)}}}}else if(f=void 0,0===(g=d).status){g.status=6,Ar(u.context);var E=g.children.length,b=g.chunks.length;try{Vo(c,u),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Ne),u.abortSet.delete(u),g.status=1,ui(c,u.blockedBoundary,g),ci(c,u.blockedBoundary,u.row,g)}catch(e){to(),g.children.length=E,g.chunks.length=b;var C=e===Pr?Br():12===c.status?c.fatalError:e;if(12===c.status&&null!==c.trackedPostpones){var T=c.trackedPostpones,k=Fo(u.componentStack);u.abortSet.delete(u),Io(c,C,k),Qo(c,T,u,g),ci(c,u.blockedBoundary,u.row,g)}else if("object"==typeof C&&null!==C&&"function"==typeof C.then){g.status=0,u.thenableState=e===Pr?eo():null;var A=u.ping;C.then(A,A)}else{var x=Fo(u.componentStack);u.abortSet.delete(u),g.status=4;var D=u.blockedBoundary,S=u.row;if(null!==S&&0===--S.pendingTasks&&Lo(c,S),c.allPendingTasks--,f=Io(c,C,x),null===D)Mo(c,C);else if(D.pendingTasks--,4!==D.status){D.status=4,D.errorDigest=f,Jo(c,D);var _=D.row;null!==_&&0===--_.pendingTasks&&Lo(c,_),D.parentFlushed&&c.clientRenderedBoundaries.push(D),0===c.pendingRootTasks&&null===c.trackedPostpones&&null!==D.contentPreamble&&hi(c)}0===c.allPendingTasks&&si(c)}}}}l.splice(0,s),null!==e.destination&&Ti(e,e.destination)}catch(t){Io(e,t,{}),Mo(e,t)}finally{go=a,re.H=n,re.A=r,n===mo&&Ar(t),So=o}}}function fi(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,o=0;o<t.children.length;o++)r=pi(e,t.children[o],n)||r;return r}function pi(e,t,n){var r=t.boundary;if(null===r)return fi(e,t,n);var o=r.contentPreamble,a=r.fallbackPreamble;if(null===o||null===a)return!1;switch(r.status){case 1:if(kt(e.renderState,o),e.byteSize+=r.byteSize,!(t=r.completedSegments[0]))throw Error(i(391));return fi(e,t,n);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return kt(e.renderState,a),fi(e,t,n);default:return!0}}function hi(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=pi(e,e.completedRootSegment,t),o=e.renderState.preamble;!1===r||o.headChunks&&o.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function mi(e,t,n,r){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,F(t,Dt),F(t,e.placeholderPrefix),F(t,e=j(r.toString(16))),I(t,St);case 1:n.status=2;var o=!0,a=n.chunks,s=0;n=n.children;for(var l=0;l<n.length;l++){for(o=n[l];s<o.index;s++)F(t,a[s]);o=vi(e,t,o,r)}for(;s<a.length-1;s++)F(t,a[s]);return s<a.length&&(o=I(t,a[s])),o;case 3:return!0;default:throw Error(i(390))}}var gi=0;function vi(e,t,n,r){var o=n.boundary;if(null===o)return mi(e,t,n,r);if(o.parentFlushed=!0,4===o.status){var a=o.row;null!==a&&0===--a.pendingTasks&&Lo(e,a),o=o.errorDigest,I(t,Rt),F(t,Ft),o&&(F(t,Mt),F(t,j(J(o))),F(t,It)),I(t,Lt),mi(e,t,n,r)}else if(1!==o.status)0===o.status&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),jt(t,e.renderState,o.rootSegmentID),r&&fr(r,o.fallbackState),mi(e,t,n,r);else if(!Ci&&To(0,o)&&(gi+o.byteSize>e.progressiveChunkSize||pr(o.contentState)))o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),jt(t,e.renderState,o.rootSegmentID),mi(e,t,n,r);else{if(gi+=o.byteSize,r&&fr(r,o.contentState),null!==(n=o.row)&&To(0,o)&&0===--n.pendingTasks&&Lo(e,n),I(t,Ot),1!==(n=o.completedSegments).length)throw Error(i(391));vi(e,t,n[0],r)}return I(t,Bt)}function yi(e,t,n,r){return function(e,t,n,r){switch(n.insertionMode){case 0:case 1:case 3:case 2:return F(e,Ht),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Ut);case 4:return F(e,Gt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Wt);case 5:return F(e,qt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,$t);case 6:return F(e,Yt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Xt);case 7:return F(e,Jt),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,Zt);case 8:return F(e,tn),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,nn);case 9:return F(e,on),F(e,t.segmentPrefix),F(e,j(r.toString(16))),I(e,an);default:throw Error(i(397))}}(t,e.renderState,n.parentFormatContext,n.id),vi(e,t,n,r),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return I(e,zt);case 4:return I(e,Kt);case 5:return I(e,Vt);case 6:return I(e,Qt);case 7:return I(e,en);case 8:return I(e,rn);case 9:return I(e,sn);default:throw Error(i(397))}}(t,n.parentFormatContext)}function Ei(e,t,n){gi=n.byteSize;for(var r=n.completedSegments,o=0;o<r.length;o++)bi(e,t,n,r[o]);r.length=0,null!==(r=n.row)&&To(0,n)&&0===--r.pendingTasks&&Lo(e,r),Ln(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,o=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,F(t,e.startInlineScript),F(t,Qe),a?(!(4&r.instructions)&&(r.instructions|=4,F(t,bn)),!(2&r.instructions)&&(r.instructions|=2,F(t,fn)),8&r.instructions?F(t,mn):(r.instructions|=8,F(t,hn))):(!(2&r.instructions)&&(r.instructions|=2,F(t,fn)),F(t,pn)),r=j(o.toString(16)),F(t,e.boundaryPrefix),F(t,r),F(t,gn),F(t,e.segmentPrefix),F(t,r),a?(F(t,vn),function(e,t){F(e,Jn);var n=Jn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)F(e,n),F(e,j(wn(""+t.props.href))),F(e,tr),n=Zn;else{F(e,n);var r=t.props["data-precedence"],o=t.props,a=ne(""+t.props.href);for(var s in F(e,j(wn(a))),r=""+r,F(e,er),F(e,j(wn(r))),o)if(W.call(o,s)&&null!=(r=o[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"link"));default:nr(e,s,r)}F(e,tr),n=Zn,t.state=3}}),F(e,tr)}(t,n)):F(t,yn),n=I(t,En),At(t,e)&&n}function bi(e,t,n,r){if(2===r.status)return!0;var o=n.contentState,a=r.id;if(-1===a){if(-1===(r.id=n.rootSegmentID))throw Error(i(392));return yi(e,t,r,o)}return a===n.rootSegmentID?yi(e,t,r,o):(yi(e,t,r,o),n=e.resumableState,F(t,(e=e.renderState).startInlineScript),F(t,Qe),1&n.instructions?F(t,un):(n.instructions|=1,F(t,ln)),F(t,e.segmentPrefix),F(t,a=j(a.toString(16))),F(t,cn),F(t,e.placeholderPrefix),F(t,a),t=I(t,dn))}var Ci=!1;function Ti(e,t){R=new Uint8Array(2048),B=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var o=e.completedPreambleSegments;if(null===o)return;gi=e.byteSize;var i,a=e.resumableState,s=e.renderState,l=s.preamble,u=l.htmlChunks,c=l.headChunks;if(u){for(i=0;i<u.length;i++)F(t,u[i]);if(c)for(i=0;i<c.length;i++)F(t,c[i]);else F(t,Et("head")),F(t,Qe)}else if(c)for(i=0;i<c.length;i++)F(t,c[i]);var d=s.charsetChunks;for(i=0;i<d.length;i++)F(t,d[i]);d.length=0,s.preconnects.forEach(jn,t),s.preconnects.clear();var f=s.viewportChunks;for(i=0;i<f.length;i++)F(t,f[i]);f.length=0,s.fontPreloads.forEach(jn,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(jn,t),s.highImagePreloads.clear(),le=s,s.styles.forEach($n,t),le=null;var p=s.importMapChunks;for(i=0;i<p.length;i++)F(t,p[i]);p.length=0,s.bootstrapScripts.forEach(jn,t),s.scripts.forEach(jn,t),s.scripts.clear(),s.bulkPreloads.forEach(jn,t),s.bulkPreloads.clear(),u||c||(a.instructions|=32);var h=s.hoistableChunks;for(i=0;i<h.length;i++)F(t,h[i]);for(a=h.length=0;a<o.length;a++){var m=o[a];for(s=0;s<m.length;s++)vi(e,t,m[s],null)}var g=e.renderState.preamble,v=g.headChunks;(g.htmlChunks||v)&&F(t,Tt("head"));var y=g.bodyChunks;if(y)for(o=0;o<y.length;o++)F(t,y[o]);vi(e,t,r,null),e.completedRootSegment=null;var E=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var b=e.resumableState;if(!(64&b.instructions)){if(b.instructions|=64,F(t,E.startInlineScript),!(32&b.instructions)){b.instructions|=32;var C="_"+b.idPrefix+"R_";F(t,Xn),F(t,j(J(C))),F(t,He)}F(t,Qe),F(t,xt),I(t,ce)}}At(t,E)}var T=e.renderState;r=0;var k=T.viewportChunks;for(r=0;r<k.length;r++)F(t,k[r]);k.length=0,T.preconnects.forEach(jn,t),T.preconnects.clear(),T.fontPreloads.forEach(jn,t),T.fontPreloads.clear(),T.highImagePreloads.forEach(jn,t),T.highImagePreloads.clear(),T.styles.forEach(Yn,t),T.scripts.forEach(jn,t),T.scripts.clear(),T.bulkPreloads.forEach(jn,t),T.bulkPreloads.clear();var A=T.hoistableChunks;for(r=0;r<A.length;r++)F(t,A[r]);A.length=0;var x=e.clientRenderedBoundaries;for(n=0;n<x.length;n++){var D=x[n];T=t;var S=e.resumableState,_=e.renderState,w=D.rootSegmentID,O=D.errorDigest;F(T,_.startInlineScript),F(T,Qe),4&S.instructions?F(T,Tn):(S.instructions|=4,F(T,Cn)),F(T,_.boundaryPrefix),F(T,j(w.toString(16))),F(T,kn),O&&(F(T,An),F(T,j(Sn(O||""))));var N=I(T,xn);if(!N)return e.destination=null,n++,void x.splice(0,n)}x.splice(0,n);var P=e.completedBoundaries;for(n=0;n<P.length;n++)if(!Ei(e,t,P[n]))return e.destination=null,n++,void P.splice(0,n);P.splice(0,n),M(t),R=new Uint8Array(2048),B=0,Ci=!0;var L=e.partialBoundaries;for(n=0;n<L.length;n++){var H=L[n];e:{x=e,D=t,gi=H.byteSize;var U=H.completedSegments;for(N=0;N<U.length;N++)if(!bi(x,D,H,U[N])){N++,U.splice(0,N);var z=!1;break e}U.splice(0,N);var G=H.row;null!==G&&G.together&&1===H.pendingTasks&&(1===G.pendingTasks?jo(x,G,G.hoistables):G.pendingTasks--),z=Ln(D,H.contentState,x.renderState)}if(!z)return e.destination=null,n++,void L.splice(0,n)}L.splice(0,n),Ci=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!Ei(e,t,W[n]))return e.destination=null,n++,void W.splice(0,n);W.splice(0,n)}}finally{Ci=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&F(t,Tt("body")),n.hasHtml&&F(t,Tt("html")),M(t),e.status=14,t.close(),e.destination=null):M(t)}}function ki(e){e.flushScheduled=null!==e.destination,P(function(){return di(e)}),w(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&ii(e,0===e.pendingRootTasks)})}function Ai(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,w(function(){var t=e.destination;t?Ti(e,t):e.flushScheduled=!1}))}function xi(e,t){if(13===e.status)e.status=14,z(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{Ti(e,t)}catch(t){Io(e,t,{}),Mo(e,t)}}}function Di(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=void 0===t?Error(i(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(i(530)):t;e.fatalError=r,n.forEach(function(t){return oi(t,e,r)}),n.clear()}null!==e.destination&&Ti(e,e.destination)}catch(t){Io(e,t,{}),Mo(e,t)}}function Si(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,o=r.get(t);void 0===o&&(o=[t[1],t[2],[],null],r.set(t,o),Si(o,t[0],n)),o[2].push(e)}}function _i(e){var t=e.trackedPostpones;if(null===t||0===t.rootNodes.length&&null===t.rootSlots)return e.trackedPostpones=null;if(null===e.completedRootSegment||5!==e.completedRootSegment.status&&null!==e.completedPreambleSegments){var n=e.nextSegmentId,r=t.rootSlots,o=e.resumableState;o.bootstrapScriptContent=void 0,o.bootstrapScripts=void 0,o.bootstrapModules=void 0}else{n=0,r=-1,o=e.resumableState;var i=e.renderState;o.nextFormID=0,o.hasBody=!1,o.hasHtml=!1,o.unknownResources={font:i.resets.font},o.dnsResources=i.resets.dns,o.connectResources=i.resets.connect,o.imageResources=i.resets.image,o.styleResources=i.resets.style,o.scriptResources={},o.moduleUnknownResources={},o.moduleScriptResources={},o.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function wi(){var e=r.version;if("19.2.3"!==e)throw Error(i(527,e,"19.2.3"))}wi(),wi(),t.prerender=function(e,t){return new Promise(function(n,r){var o,i=t?t.onHeaders:void 0;i&&(o=function(e){i(new Headers(e))});var a=ke(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=function(e,t,r,o,i,a,l,u,c,d,f){return(e=xo(e,t,r,o,i,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){xi(s,e)},cancel:function(e){s.destination=null,Di(s,e)}},{highWaterMark:0});e={postponed:_i(s),prelude:e},n(e)},void 0,void 0,d,f,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,a,Te(a,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,o,t?t.maxHeadersLength:void 0),De(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,0,0,0,r,t?t.onPostpone:void 0);if(t&&t.signal){var l=t.signal;if(l.aborted)Di(s,l.reason);else{var u=function(){Di(s,l.reason),l.removeEventListener("abort",u)};l.addEventListener("abort",u)}}ki(s)})},t.renderToReadableStream=function(e,t){return new Promise(function(n,r){var o,i,a,s=new Promise(function(e,t){i=e,o=t}),l=t?t.onHeaders:void 0;l&&(a=function(e){l(new Headers(e))});var u=ke(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),c=xo(e,u,Te(u,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),De(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){xi(c,e)},cancel:function(e){c.destination=null,Di(c,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),r(e)},o,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Di(c,d.reason);else{var f=function(){Di(c,d.reason),d.removeEventListener("abort",f)};d.addEventListener("abort",f)}}ki(c)})},t.resume=function(e,t,n){return new Promise(function(r,o){var i,a,s=new Promise(function(e,t){a=e,i=t}),l=Do(e,t,Te(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){xi(l,e)},cancel:function(e){l.destination=null,Di(l,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),o(e)},i,n?n.onPostpone:void 0);if(n&&n.signal){var u=n.signal;if(u.aborted)Di(l,u.reason);else{var c=function(){Di(l,u.reason),u.removeEventListener("abort",c)};u.addEventListener("abort",c)}}ki(l)})},t.resumeAndPrerender=function(e,t,n){return new Promise(function(r,o){var i=function(e,t,n,o,a,s,l,u,c){return(e=Do(e,t,n,o,function(){var e=new ReadableStream({type:"bytes",pull:function(e){xi(i,e)},cancel:function(e){i.destination=null,Di(i,e)}},{highWaterMark:0});e={postponed:_i(i),prelude:e},r(e)},void 0,void 0,u,c)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,t,Te(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,0,0,0,o,n?n.onPostpone:void 0);if(n&&n.signal){var a=n.signal;if(a.aborted)Di(i,a.reason);else{var s=function(){Di(i,a.reason),a.removeEventListener("abort",s)};a.addEventListener("abort",s)}}ki(i)})},t.version="19.2.3"},40931(e,t,n){"use strict";var r,o;r=n(87552),o=n(64920),r.version,t.F0=r.renderToString,r.renderToStaticMarkup,o.renderToReadableStream,o.resume},24543(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"]},58727(e){e.exports=["button","input","select","textarea"]},56494(e,t,n){"use strict";var r=n(60713),o=n(10382),i=n(44546),a=n(6189),s=n(24543),l=n(58727),u=n(11387);e.exports=function(e){var t,n=(t=(e||{}).newlines?T:k,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"]),d=i(["element","root"]),f=i(["root"]),p=i(["element"]),h=i(["text"]);function m(e,t){var n;if(d(e))return n=Object.assign({},t),(f(e)||E(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),y(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&&C(n.charAt(0))&&r++,r!==o&&C(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&&!b(r)&&(o=g(r.children,-1)),"boolean"==typeof o)return o;return n}function v(e){if(p(e)){if(y(e))return!1;if(E(e))return!0}else if(h(e)){if(!a(e))return!1}else if(!c(e))return!1}function y(e){return o(e)||r(e,l)}function E(e){return r(e,s)}function b(e){var t=e.properties||{};return c(e)||r(e,u)||t.hidden}function C(e){return" "===e||"\n"===e}function T(e){var t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function k(){return" "}},11387(e){e.exports=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"]},99233(e,t,n){"use strict";var r=n(86277),o=n(98835),i=n(93227),a=n(78841),s={2:!0,1:!1,0:null};function l(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 u=t.fragment?"parseFragment":"parse",c=t.emitParseErrors?function(n){var r,o,u=n.code,c=u.replace(/-[a-z]/g,l),d=t[c],f=null==d||d,p="number"==typeof f?f:f?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,y)}function v(t,r){var o=r?-parseInt(r,10):0,i=e.charAt(n.startOffset+o);return"`"===i?"` ` `":i}function y(){return"0x"+e.charCodeAt(n.startOffset).toString(16).toUpperCase()}p&&(r=a[c]||{reason:"",description:""},(o=i.message(g(r.reason),{start:h,end:m})).source="parse-error",o.ruleId=u,o.fatal=s[p],o.note=g(r.description),o.url=!1===r.url?null:"https://html.spec.whatwg.org/multipage/parsing.html#parse-error-"+u)}:null,d=new o({sourceCodeLocationInfo:n,onParseError:c,scriptingEnabled:!1});return r(d[u](e),{space:t.space,file:i,verbose:t.verbose})}}},92859(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n(86028),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"],l=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],u=l.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 d(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(d(n,e))return r.QUIRKS;if(e=null===t?l:u,d(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}},39624(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"}},36941(e,t,n){"use strict";const r=n(3197),o=n(86028),i=o.TAG_NAMES,a=o.NAMESPACES,s=o.ATTRS,l={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"},u={"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"},d={[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))||d[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=l[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=u[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))}},86028(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}}},13702(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="�",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}},77499(e,t,n){"use strict";const r=n(19572);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)}}}}},63345(e,t,n){"use strict";const r=n(77499),o=n(48721),i=n(68422),a=n(19572);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)}}}}},46625(e,t,n){"use strict";const r=n(77499),o=n(91851),i=n(19572);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))}}},48721(e,t,n){"use strict";const r=n(77499),o=n(46625),i=n(19572);e.exports=class extends r{constructor(e,t){super(e,t);const n=i.install(e.preprocessor,o,t);this.posTracker=n.posTracker}}},7123(e,t,n){"use strict";const r=n(19572);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)}}}}},42872(e,t,n){"use strict";const r=n(19572),o=n(3197),i=n(68422),a=n(7123),s=n(86028).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],l=this.treeAdapter.getNodeSourceCodeLocation(s);l?(l.endLine=n.location.endLine,l.endCol=n.location.endCol,l.endOffset=n.location.endOffset):this.treeAdapter.setNodeSourceCodeLocation(s,n.location)}}}}},68422(e,t,n){"use strict";const r=n(19572),o=n(3197),i=n(91851);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}}},91851(e,t,n){"use strict";const r=n(19572);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}}}}},47634(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,l=this.treeAdapter.getAttrList(s);this.treeAdapter.getTagName(s)===o&&this.treeAdapter.getNamespaceURI(s)===i&&l.length===r&&n.push({idx:e,attrs:l})}}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},98835(e,t,n){"use strict";const r=n(3197),o=n(92603),i=n(47634),a=n(42872),s=n(63345),l=n(19572),u=n(70870),c=n(18210),d=n(92859),f=n(36941),p=n(39624),h=n(13702),m=n(86028),g=m.TAG_NAMES,v=m.NAMESPACES,y=m.ATTRS,E={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:u},b="hidden",C="INITIAL_MODE",T="BEFORE_HTML_MODE",k="BEFORE_HEAD_MODE",A="IN_HEAD_MODE",x="IN_HEAD_NO_SCRIPT_MODE",D="AFTER_HEAD_MODE",S="IN_BODY_MODE",_="TEXT_MODE",w="IN_TABLE_MODE",O="IN_TABLE_TEXT_MODE",N="IN_CAPTION_MODE",P="IN_COLUMN_GROUP_MODE",R="IN_TABLE_BODY_MODE",B="IN_ROW_MODE",F="IN_CELL_MODE",I="IN_SELECT_MODE",M="IN_SELECT_IN_TABLE_MODE",L="IN_TEMPLATE_MODE",j="AFTER_BODY_MODE",H="IN_FRAMESET_MODE",U="AFTER_FRAMESET_MODE",z="AFTER_AFTER_BODY_MODE",G="AFTER_AFTER_FRAMESET_MODE",W={[g.TR]:B,[g.TBODY]:R,[g.THEAD]:R,[g.TFOOT]:R,[g.CAPTION]:N,[g.COLGROUP]:P,[g.TABLE]:w,[g.BODY]:S,[g.FRAMESET]:H},K={[g.CAPTION]:w,[g.COLGROUP]:w,[g.TBODY]:w,[g.TFOOT]:w,[g.THEAD]:w,[g.COL]:P,[g.TR]:R,[g.TD]:B,[g.TH]:B},q={[C]:{[r.CHARACTER_TOKEN]:ae,[r.NULL_CHARACTER_TOKEN]:ae,[r.WHITESPACE_CHARACTER_TOKEN]:ee,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?m.DOCUMENT_MODE.QUIRKS:d.getDocumentMode(t);d.isConforming(t)||e._err(p.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T},[r.START_TAG_TOKEN]:ae,[r.END_TAG_TOKEN]:ae,[r.EOF_TOKEN]:ae},[T]:{[r.CHARACTER_TOKEN]:se,[r.NULL_CHARACTER_TOKEN]:se,[r.WHITESPACE_CHARACTER_TOKEN]:ee,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?(e._insertElement(t,v.HTML),e.insertionMode=k):se(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||se(e,t)},[r.EOF_TOKEN]:se},[k]:{[r.CHARACTER_TOKEN]:le,[r.NULL_CHARACTER_TOKEN]:le,[r.WHITESPACE_CHARACTER_TOKEN]:ee,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.HEAD?(e._insertElement(t,v.HTML),e.headElement=e.openElements.current,e.insertionMode=A):le(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?le(e,t):e._err(p.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:le},[A]:{[r.CHARACTER_TOKEN]:de,[r.NULL_CHARACTER_TOKEN]:de,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:ue,[r.END_TAG_TOKEN]:ce,[r.EOF_TOKEN]:de},[x]:{[r.CHARACTER_TOKEN]:fe,[r.NULL_CHARACTER_TOKEN]:fe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.BASEFONT||n===g.BGSOUND||n===g.HEAD||n===g.LINK||n===g.META||n===g.NOFRAMES||n===g.STYLE?ue(e,t):n===g.NOSCRIPT?e._err(p.nestedNoscriptInHead):fe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.NOSCRIPT?(e.openElements.pop(),e.insertionMode=A):n===g.BR?fe(e,t):e._err(p.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:fe},[D]:{[r.CHARACTER_TOKEN]:pe,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:te,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(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=H):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(p.abandonedHeadElementChild),e.openElements.push(e.headElement),ue(e,t),e.openElements.remove(e.headElement)):n===g.HEAD?e._err(p.misplacedStartTagForHeadElement):pe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.BODY||n===g.HTML||n===g.BR?pe(e,t):n===g.TEMPLATE?ce(e,t):e._err(p.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:pe},[S]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:De,[r.END_TAG_TOKEN]:Oe,[r.EOF_TOKEN]:Ne},[_]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:oe,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ee,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:ee,[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(p.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[w]:{[r.CHARACTER_TOKEN]:Pe,[r.NULL_CHARACTER_TOKEN]:Pe,[r.WHITESPACE_CHARACTER_TOKEN]:Pe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:Re,[r.END_TAG_TOKEN]:Be,[r.EOF_TOKEN]:Ne},[O]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:Ie,[r.DOCTYPE_TOKEN]:Ie,[r.START_TAG_TOKEN]:Ie,[r.END_TAG_TOKEN]:Ie,[r.EOF_TOKEN]:Ie},[N]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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=w,e._processToken(t)):De(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=w,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&&Oe(e,t)},[r.EOF_TOKEN]:Ne},[P]:{[r.CHARACTER_TOKEN]:Me,[r.NULL_CHARACTER_TOKEN]:Me,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.COL?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.TEMPLATE?ue(e,t):Me(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=w):n===g.TEMPLATE?ce(e,t):n!==g.COL&&Me(e,t)},[r.EOF_TOKEN]:Ne},[R]:{[r.CHARACTER_TOKEN]:Pe,[r.NULL_CHARACTER_TOKEN]:Pe,[r.WHITESPACE_CHARACTER_TOKEN]:Pe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,v.HTML),e.insertionMode=B):n===g.TH||n===g.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(g.TR),e.insertionMode=B,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=w,e._processToken(t)):Re(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=w):n===g.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=w,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)&&Be(e,t)},[r.EOF_TOKEN]:Ne},[B]:{[r.CHARACTER_TOKEN]:Pe,[r.NULL_CHARACTER_TOKEN]:Pe,[r.WHITESPACE_CHARACTER_TOKEN]:Pe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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=F,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=R,e._processToken(t)):Re(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=R):n===g.TABLE?e.openElements.hasInTableScope(g.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R,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=R,e._processToken(t)):(n!==g.BODY&&n!==g.CAPTION&&n!==g.COL&&n!==g.COLGROUP||n!==g.HTML&&n!==g.TD&&n!==g.TH)&&Be(e,t)},[r.EOF_TOKEN]:Ne},[F]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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)):De(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=B):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&&Oe(e,t)},[r.EOF_TOKEN]:Ne},[I]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:Le,[r.END_TAG_TOKEN]:je,[r.EOF_TOKEN]:Ne},[M]:{[r.CHARACTER_TOKEN]:oe,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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)):Le(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)):je(e,t)},[r.EOF_TOKEN]:Ne},[L]:{[r.CHARACTER_TOKEN]:me,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[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)ue(e,t);else{const r=K[n]||S;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.TEMPLATE&&ce(e,t)},[r.EOF_TOKEN]:He},[j]:{[r.CHARACTER_TOKEN]:Ue,[r.NULL_CHARACTER_TOKEN]:Ue,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?De(e,t):Ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?e.fragmentContext||(e.insertionMode=z):Ue(e,t)},[r.EOF_TOKEN]:ie},[H]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.FRAMESET?e._insertElement(t,v.HTML):n===g.FRAME?(e._appendElement(t,v.HTML),t.ackSelfClosing=!0):n===g.NOFRAMES&&ue(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=U))},[r.EOF_TOKEN]:ie},[U]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:oe,[r.COMMENT_TOKEN]:ne,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.NOFRAMES&&ue(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===g.HTML&&(e.insertionMode=G)},[r.EOF_TOKEN]:ie},[z]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:re,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){t.tagName===g.HTML?De(e,t):ze(e,t)},[r.END_TAG_TOKEN]:ze,[r.EOF_TOKEN]:ie},[G]:{[r.CHARACTER_TOKEN]:ee,[r.NULL_CHARACTER_TOKEN]:ee,[r.WHITESPACE_CHARACTER_TOKEN]:he,[r.COMMENT_TOKEN]:re,[r.DOCTYPE_TOKEN]:ee,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===g.HTML?De(e,t):n===g.NOFRAMES&&ue(e,t)},[r.END_TAG_TOKEN]:ee,[r.EOF_TOKEN]:ie}};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):we(e,t),n}function V(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 Y(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>=3;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(a)):(a=X(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function X(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 Q(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 J(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 Z(e,t){let n;for(let r=0;r<8&&(n=$(e,t),n);r++){const t=V(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=Y(e,t,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),Q(e,o,r),J(e,t,n)}}function ee(){}function te(e){e._err(p.misplacedDoctype)}function ne(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function re(e,t){e._appendCommentNode(t,e.document)}function oe(e,t){e._insertCharacters(t)}function ie(e){e.stopped=!0}function ae(e,t){e._err(p.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,m.DOCUMENT_MODE.QUIRKS),e.insertionMode=T,e._processToken(t)}function se(e,t){e._insertFakeRootElement(),e.insertionMode=k,e._processToken(t)}function le(e,t){e._insertFakeElement(g.HEAD),e.headElement=e.openElements.current,e.insertionMode=A,e._processToken(t)}function ue(e,t){const n=t.tagName;n===g.HTML?De(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=x):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=L,e._pushTmplInsertionMode(L)):n===g.HEAD?e._err(p.misplacedStartTagForHeadElement):de(e,t)}function ce(e,t){const n=t.tagName;n===g.HEAD?(e.openElements.pop(),e.insertionMode=D):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(p.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(g.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(p.endTagWithoutMatchingOpenElement)}function de(e,t){e.openElements.pop(),e.insertionMode=D,e._processToken(t)}function fe(e,t){const n=t.type===r.EOF_TOKEN?p.openElementsLeftAfterEof:p.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=A,e._processToken(t)}function pe(e,t){e._insertFakeElement(g.BODY),e.insertionMode=S,e._processToken(t)}function he(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function me(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ge(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML)}function ve(e,t){e.openElements.hasInButtonScope(g.P)&&e._closePElement(),e._insertElement(t,v.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ye(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ee(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function be(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ce(e,t){e._appendElement(t,v.HTML),t.ackSelfClosing=!0}function Te(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function ke(e,t){e.openElements.currentTagName===g.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function Ae(e,t){e.openElements.hasInScope(g.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,v.HTML)}function xe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,v.HTML)}function De(e,t){const n=t.tagName;switch(n.length){case 1:n===g.I||n===g.S||n===g.B||n===g.U?ye(e,t):n===g.P?ge(e,t):n===g.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(g.A);n&&(Z(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):xe(e,t);break;case 2:n===g.DL||n===g.OL||n===g.UL?ge(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?ye(e,t):n===g.BR?be(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?Ae(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&&xe(e,t);break;case 3:n===g.DIV||n===g.DIR||n===g.NAV?ge(e,t):n===g.PRE?ve(e,t):n===g.BIG?ye(e,t):n===g.IMG||n===g.WBR?be(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(),f.adjustTokenSVGAttrs(t),f.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,v.SVG):e._insertElement(t,v.SVG),t.ackSelfClosing=!0}(e,t):n===g.RTC?Ae(e,t):n!==g.COL&&xe(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?ue(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?ge(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?ye(e,t):n===g.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(g.NOBR)&&(Z(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,v.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===g.AREA?be(e,t):n===g.MATH?function(e,t){e._reconstructActiveFormattingElements(),f.adjustTokenMathMLAttrs(t),f.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&&xe(e,t);break;case 5:n===g.STYLE||n===g.TITLE?ue(e,t):n===g.ASIDE?ge(e,t):n===g.SMALL?ye(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=w}(e,t):n===g.EMBED?be(e,t):n===g.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,v.HTML);const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===b||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===g.PARAM||n===g.TRACK?Ce(e,t):n===g.IMAGE?function(e,t){t.tagName=g.IMG,be(e,t)}(e,t):n!==g.FRAME&&n!==g.TBODY&&n!==g.TFOOT&&n!==g.THEAD&&xe(e,t);break;case 6:n===g.SCRIPT?ue(e,t):n===g.CENTER||n===g.FIGURE||n===g.FOOTER||n===g.HEADER||n===g.HGROUP||n===g.DIALOG?ge(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?ye(e,t):n===g.APPLET||n===g.OBJECT?Ee(e,t):n===g.KEYGEN?be(e,t):n===g.SOURCE?Ce(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===w||e.insertionMode===N||e.insertionMode===R||e.insertionMode===B||e.insertionMode===F?e.insertionMode=M:e.insertionMode=I}(e,t):n===g.OPTION?ke(e,t):xe(e,t);break;case 7:n===g.BGSOUND?ue(e,t):n===g.DETAILS||n===g.ADDRESS||n===g.ARTICLE||n===g.SECTION||n===g.SUMMARY?ge(e,t):n===g.LISTING?ve(e,t):n===g.MARQUEE?Ee(e,t):n===g.NOEMBED?Te(e,t):n!==g.CAPTION&&xe(e,t);break;case 8:n===g.BASEFONT?ue(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=H)}(e,t):n===g.FIELDSET?ge(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=_}(e,t):n===g.TEMPLATE?ue(e,t):n===g.NOSCRIPT?e.options.scriptingEnabled?Te(e,t):xe(e,t):n===g.OPTGROUP?ke(e,t):n!==g.COLGROUP&&xe(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):xe(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?ge(e,t):xe(e,t);break;default:xe(e,t)}}function Se(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function _e(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function we(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 Oe(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?Z(e,t):n===g.P?function(e){e.openElements.hasInButtonScope(g.P)||e._insertFakeElement(g.P),e._closePElement()}(e):we(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?Z(e,t):we(e,t);break;case 3:n===g.BIG?Z(e,t):n===g.DIR||n===g.DIV||n===g.NAV||n===g.PRE?Se(e,t):we(e,t);break;case 4:n===g.BODY?function(e){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j)}(e):n===g.HTML?function(e,t){e.openElements.hasInScope(g.BODY)&&(e.insertionMode=j,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?Z(e,t):n===g.MAIN||n===g.MENU?Se(e,t):we(e,t);break;case 5:n===g.ASIDE?Se(e,t):n===g.SMALL?Z(e,t):we(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?_e(e,t):n===g.STRIKE||n===g.STRONG?Z(e,t):we(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?_e(e,t):we(e,t);break;case 8:n===g.FIELDSET?Se(e,t):n===g.TEMPLATE?ce(e,t):we(e,t);break;case 10:n===g.BLOCKQUOTE||n===g.FIGCAPTION?Se(e,t):we(e,t);break;default:we(e,t)}}function Ne(e,t){e.tmplInsertionModeStackTop>-1?He(e,t):e.stopped=!0}function Pe(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=O,e._processToken(t)):Fe(e,t)}function Re(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=R,e._processToken(t)}(e,t):Fe(e,t);break;case 3:n===g.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(g.COLGROUP),e.insertionMode=P,e._processToken(t)}(e,t):Fe(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):Fe(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?ue(e,t):n===g.TBODY||n===g.TFOOT||n===g.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=R}(e,t):n===g.INPUT?function(e,t){const n=r.getTokenAttr(t,y.TYPE);n&&n.toLowerCase()===b?e._appendElement(t,v.HTML):Fe(e,t),t.ackSelfClosing=!0}(e,t):Fe(e,t);break;case 6:n===g.SCRIPT?ue(e,t):Fe(e,t);break;case 7:n===g.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,v.HTML),e.insertionMode=N}(e,t):Fe(e,t);break;case 8:n===g.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,v.HTML),e.insertionMode=P}(e,t):n===g.TEMPLATE?ue(e,t):Fe(e,t);break;default:Fe(e,t)}}function Be(e,t){const n=t.tagName;n===g.TABLE?e.openElements.hasInTableScope(g.TABLE)&&(e.openElements.popUntilTagNamePopped(g.TABLE),e._resetInsertionMode()):n===g.TEMPLATE?ce(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&&Fe(e,t)}function Fe(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Ie(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Fe(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Me(e,t){e.openElements.currentTagName===g.COLGROUP&&(e.openElements.pop(),e.insertionMode=w,e._processToken(t))}function Le(e,t){const n=t.tagName;n===g.HTML?De(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||ue(e,t)}function je(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&&ce(e,t)}function He(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 Ue(e,t){e.insertionMode=S,e._processToken(t)}function ze(e,t){e.insertionMode=S,e._processToken(t)}e.exports=class{constructor(e){this.options=c(E,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&l.install(this,a),this.options.onParseError&&l.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(L),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=C,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=_}switchToPlaintextParsing(){this.insertionMode=_,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){q[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){q[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?oe(this,e):e.type===r.COMMENT_TOKEN?ne(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(f.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?f.adjustTokenMathMLAttrs(t):r===v.SVG&&(f.adjustTokenSVGTagName(t),f.adjustTokenSVGAttrs(t)),f.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(p.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),o=this.treeAdapter.getAttrList(e);return f.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=B}_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=W[r];if(o){this.insertionMode=o;break}if(!(t||r!==g.TD&&r!==g.TH)){this.insertionMode=F;break}if(!t&&r===g.HEAD){this.insertionMode=A;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?D:k;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=M)}this.insertionMode=I}_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]}}},92603(e,t,n){"use strict";const r=n(86028),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 l(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(l(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(l(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||l(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||l(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()}}},3197(e,t,n){"use strict";const r=n(39450),o=n(13702),i=n(78643),a=n(39624),s=o.CODE_POINTS,l=o.CODE_POINT_SEQUENCES,u={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",d="RCDATA_STATE",f="RAWTEXT_STATE",p="SCRIPT_DATA_STATE",h="PLAINTEXT_STATE",m="TAG_OPEN_STATE",g="END_TAG_OPEN_STATE",v="TAG_NAME_STATE",y="RCDATA_LESS_THAN_SIGN_STATE",E="RCDATA_END_TAG_OPEN_STATE",b="RCDATA_END_TAG_NAME_STATE",C="RAWTEXT_LESS_THAN_SIGN_STATE",T="RAWTEXT_END_TAG_OPEN_STATE",k="RAWTEXT_END_TAG_NAME_STATE",A="SCRIPT_DATA_LESS_THAN_SIGN_STATE",x="SCRIPT_DATA_END_TAG_OPEN_STATE",D="SCRIPT_DATA_END_TAG_NAME_STATE",S="SCRIPT_DATA_ESCAPE_START_STATE",_="SCRIPT_DATA_ESCAPE_START_DASH_STATE",w="SCRIPT_DATA_ESCAPED_STATE",O="SCRIPT_DATA_ESCAPED_DASH_STATE",N="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",P="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",R="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",B="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",F="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",W="BEFORE_ATTRIBUTE_VALUE_STATE",K="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",q="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",$="ATTRIBUTE_VALUE_UNQUOTED_STATE",V="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",Y="SELF_CLOSING_START_TAG_STATE",X="BOGUS_COMMENT_STATE",Q="MARKUP_DECLARATION_OPEN_STATE",J="COMMENT_START_STATE",Z="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",le="DOCTYPE_STATE",ue="BEFORE_DOCTYPE_NAME_STATE",ce="DOCTYPE_NAME_STATE",de="AFTER_DOCTYPE_NAME_STATE",fe="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",pe="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",ye="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",Ee="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",be="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Ce="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Te="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ke="BOGUS_DOCTYPE_STATE",Ae="CDATA_SECTION_STATE",xe="CDATA_SECTION_BRACKET_STATE",De="CDATA_SECTION_END_STATE",Se="CHARACTER_REFERENCE_STATE",_e="NAMED_CHARACTER_REFERENCE_STATE",we="AMBIGUOS_AMPERSAND_STATE",Oe="NUMERIC_CHARACTER_REFERENCE_STATE",Ne="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",Pe="DECIMAL_CHARACTER_REFERENCE_START_STATE",Re="HEXADEMICAL_CHARACTER_REFERENCE_STATE",Be="DECIMAL_CHARACTER_REFERENCE_STATE",Fe="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 We(e){return e+32}function Ke(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(We(e))}function $e(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 Ve{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:Ve.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,l=0,u=t;for(;l<i;l++){if(l>0&&(u=this._consume(),r++),u===s.EOF){o=!1;break}if(a=e[l],u!==a&&(n||u!==We(a))){o=!1;break}}if(!o)for(;r--;)this._unconsume();return o}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==l.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:Ve.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Ve.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Ve.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:Ve.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:Ve.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===Ve.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===Ve.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===Ve.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=Ve.CHARACTER_TOKEN;Ie(e)?t=Ve.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=Ve.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,Ke(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken(Ve.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=$e(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?$e(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===K||this.returnState===q||this.returnState===$}_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+=Ke(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=Se):e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitCodePoint(e)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[d](e){this.preprocessor.dropParsedChunk(),e===s.AMPERSAND?(this.returnState=d,this.state=Se):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)}[f](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=C: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=A: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=Y: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+=Ke(e)}[y](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=E):(this._emitChars("<"),this._reconsumeInState(d))}[E](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(b)):(this._emitChars("</"),this._reconsumeInState(d))}[b](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this.state=c,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(d)}}[C](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=T):(this._emitChars("<"),this._reconsumeInState(f))}[T](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(k)):(this._emitChars("</"),this._reconsumeInState(f))}[k](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(f)}}[A](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=x):e===s.EXCLAMATION_MARK?(this.state=S,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(p))}[x](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(D)):(this._emitChars("</"),this._reconsumeInState(p))}[D](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}[S](e){e===s.HYPHEN_MINUS?(this.state=_,this._emitChars("-")):this._reconsumeInState(p)}[_](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):this._reconsumeInState(p)}[w](e){e===s.HYPHEN_MINUS?(this.state=O,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=P:e===s.NULL?(this._err(a.unexpectedNullCharacter),this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[O](e){e===s.HYPHEN_MINUS?(this.state=N,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=P:e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=w,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=w,this._emitCodePoint(e))}[N](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?this.state=P:e===s.GREATER_THAN_SIGN?(this.state=p,this._emitChars(">")):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.state=w,this._emitChars(o.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(a.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=w,this._emitCodePoint(e))}[P](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=R):He(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(F)):(this._emitChars("<"),this._reconsumeInState(w))}[R](e){He(e)?(this._createEndTagToken(),this._reconsumeInState(B)):(this._emitChars("</"),this._reconsumeInState(w))}[B](e){if(Le(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(je(e))this.currentToken.tagName+=Ke(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=Y);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=c)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(w)}}[F](e){Ie(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?I:w,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(We(e)),this._emitCodePoint(e)):je(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(w)}[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=p,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()?w:I,this._emitCodePoint(e)):Le(e)?(this.tempBuff.push(We(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(W):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+=Ke(e)):e===s.NULL?(this._err(a.unexpectedNullCharacter),this.currentAttr.name+=o.REPLACEMENT_CHARACTER):this.currentAttr.name+=Ke(e)}[G](e){Ie(e)||(e===s.SOLIDUS?this.state=Y:e===s.EQUALS_SIGN?this.state=W:e===s.GREATER_THAN_SIGN?(this.state=c,this._emitCurrentToken()):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(z)))}[W](e){Ie(e)||(e===s.QUOTATION_MARK?this.state=K:e===s.APOSTROPHE?this.state=q:e===s.GREATER_THAN_SIGN?(this._err(a.missingAttributeValue),this.state=c,this._emitCurrentToken()):this._reconsumeInState($))}[K](e){e===s.QUOTATION_MARK?this.state=V:e===s.AMPERSAND?(this.returnState=K,this.state=Se):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+=Ke(e)}[q](e){e===s.APOSTROPHE?this.state=V:e===s.AMPERSAND?(this.returnState=q,this.state=Se):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+=Ke(e)}[$](e){Ie(e)?this._leaveAttrValue(U):e===s.AMPERSAND?(this.returnState=$,this.state=Se):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+=Ke(e)):e===s.EOF?(this._err(a.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ke(e)}[V](e){Ie(e)?this._leaveAttrValue(U):e===s.SOLIDUS?this._leaveAttrValue(Y):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))}[Y](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+=Ke(e)}[Q](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=J):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=le:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Ae:(this._err(a.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=X):this._ensureHibernation()||(this._err(a.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(X))}[J](e){e===s.HYPHEN_MINUS?this.state=Z:e===s.GREATER_THAN_SIGN?(this._err(a.abruptClosingOfEmptyComment),this.state=c,this._emitCurrentToken()):this._reconsumeInState(ee)}[Z](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+=Ke(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))}[le](e){Ie(e)?this.state=ue:e===s.GREATER_THAN_SIGN?this._reconsumeInState(ue):e===s.EOF?(this._err(a.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(a.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(ue))}[ue](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(Ke(e)),this.state=ce))}[ce](e){Ie(e)?this.state=de: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+=Ke(e)}[de](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(l.PUBLIC_STRING,e,!1)?this.state=fe:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=ye:this._ensureHibernation()||(this._err(a.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(ke)))}[fe](e){Ie(e)?this.state=pe: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(ke))}[pe](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(ke)))}[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+=Ke(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+=Ke(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=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Ce):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(ke))}[ve](e){Ie(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=c):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ce):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(ke)))}[ye](e){Ie(e)?this.state=Ee:e===s.QUOTATION_MARK?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this._err(a.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Ce):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(ke))}[Ee](e){Ie(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=be):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Ce):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(ke)))}[be](e){e===s.QUOTATION_MARK?this.state=Te: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+=Ke(e)}[Ce](e){e===s.APOSTROPHE?this.state=Te: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+=Ke(e)}[Te](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(ke)))}[ke](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())}[Ae](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=De:(this._emitChars("]"),this._reconsumeInState(Ae))}[De](e){e===s.GREATER_THAN_SIGN?this.state=c:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Ae))}[Se](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=Oe):Ue(e)?this._reconsumeInState(_e):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[_e](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=we}[we](e){Ue(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Ke(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(a.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[Oe](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Ne):this._reconsumeInState(Pe)}[Ne](e){!function(e){return Me(e)||ze(e)||Ge(e)}(e)?(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Re)}[Pe](e){Me(e)?this._reconsumeInState(Be):(this._err(a.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Re](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=Fe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Fe))}[Be](e){Me(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=Fe:(this._err(a.missingSemicolonAfterCharacterReference),this._reconsumeInState(Fe))}[Fe](){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=u[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}Ve.CHARACTER_TOKEN="CHARACTER_TOKEN",Ve.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",Ve.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",Ve.START_TAG_TOKEN="START_TAG_TOKEN",Ve.END_TAG_TOKEN="END_TAG_TOKEN",Ve.COMMENT_TOKEN="COMMENT_TOKEN",Ve.DOCTYPE_TOKEN="DOCTYPE_TOKEN",Ve.EOF_TOKEN="EOF_TOKEN",Ve.HIBERNATION_TOKEN="HIBERNATION_TOKEN",Ve.MODE={DATA:c,RCDATA:d,RAWTEXT:f,SCRIPT_DATA:p,PLAINTEXT:h},Ve.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=Ve},78643(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])},39450(e,t,n){"use strict";const r=n(13702),o=n(39624),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--}}},70870(e,t,n){"use strict";const{DOCUMENT_MODE:r}=n(86028);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}},18210(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))}},19572(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},12530(e,t,n){"use strict";var r=n(96055);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)}},9147(e,t,n){"use strict";var r=n(79535),o=n(4501);function i(e){return a(e)||o(e)}function a(e){return"comment"!==e.type}e.exports=function(e){var t=(e||{}).removeConditional;return function(e){return r(e,{cascade:!1},t?a:i)}}},86291(e,t,n){"use strict";var r=n(93227),o=n(24697);e.exports=function(e){var t=r(e,this.data("settings"));this.Compiler=function(e){return o(e,t)}}},38474(e,t,n){"use strict";var r=n(53553),o=n(93227),i=n(48093);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},48093(e,t,n){"use strict";var r=n(93227),o=n(65990);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(68266),a.options=n(67554),a.setOptions=n(30681),a.compile=n(78844),a.visit=n(91385),a.all=n(55246),a.block=n(45984),a.visitOrderedItems=n(82965),a.visitUnorderedItems=n(57792),a.visitors={root:n(96890),text:n(95821),heading:n(84266),paragraph:n(70854),blockquote:n(26781),list:n(40526),listItem:n(8292),inlineCode:n(74777),code:n(18591),html:n(60227),thematicBreak:n(32043),strong:n(36209),emphasis:n(66712),break:n(76891),delete:n(65329),link:n(97910),linkReference:n(63214),imageReference:n(34289),definition:n(6307),image:n(7905),footnote:n(63166),footnoteReference:n(26550),footnoteDefinition:n(5138),table:n(21712),tableCell:n(26157)}},67554(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:"_"}},78663(e,t,n){"use strict";var r=n(15364),o=n(10386),i=n(51498),a=n(23126),s=n(30838);e.exports=function(e){return function(t,n,S){var _,w,O,N,P,R,B=this,F=e.gfm,I=e.commonmark,M=e.pedantic,L=I?[h,")"]:[h],j=S&&S.children,H=j&&j.indexOf(n),U=j&&j[H-1],z=j&&j[H+1],G=t.length,W=a(e),K=-1,q=[],$=q;for(_=U?x(U)&&k.test(U.value):!S||"root"===S.type||"paragraph"===S.type;++K<G;){if(R=!1,"\n"===(w=t.charAt(K)))_=!0;else if(w===v||"`"===w||w===p||w===b&&t.charAt(K+1)===g||w===g||"<"===w||w===d&&s(t.slice(K))>0||"]"===w&&B.inLink||F&&w===E&&t.charAt(K+1)===E||F&&"|"===w&&(B.inTable||A(t,K))||w===y&&K>0&&K<G-1&&(M||!o(t.charAt(K-1))||!o(t.charAt(K+1)))||F&&!B.inLink&&w===m&&D(q.join("")))R=!0;else if(_)if(">"===w||"#"===w||w===p||"-"===w||"+"===w)R=!0;else if(r(w)){for(P=K+1;P<G&&r(t.charAt(P));)P++;-1!==L.indexOf(t.charAt(P))&&((z=t.charAt(P+1))&&z!==c&&z!==l&&z!==u||(q.push(t.slice(K,P)),K=P,w=t.charAt(K),R=!0))}_&&!i(w)&&(_=!1),q.push(R?V(w):w)}if(j&&x(n)){if(U&&U.referenceType===T){for(K=-1,G=$.length;++K<G;)if((w=$[K])!==c&&w!==l){w!==f&&w!==m||($[K]=V(w));break}x(z)&&K===G&&z.value.charAt(0)===f&&$.push(v)}F&&!B.inLink&&x(U)&&t.charAt(0)===m&&D(U.value.slice(-6))&&($[0]=V(m)),x(z)&&t.charAt(G-1)===d&&0!==s(d+z.value)&&($[$.length-1]=V(d)),z&&"link"===z.type&&t.charAt(G-1)===b&&($[$.length-1]=V(b)),F&&x(z)&&t.charAt(G-1)===E&&z.value.charAt(0)===E&&$.splice($.length-1,0,v),O=x(U)&&o(U.value.slice(-1)),N=x(z)&&o(z.value.charAt(0)),1===G?t!==y||!M&&O&&N||$.unshift(v):(t.charAt(0)!==y||!M&&O&&o(t.charAt(1))||$.unshift(v),t.charAt(G-1)!==y||!M&&N&&o(t.charAt(G-2))||$.splice($.length-1,0,v))}return $.join("");function V(e){return-1===W.indexOf(e)?C[e]:v+e}}};var l="\t",u="\n",c=" ",d="&",f="(",p="*",h=".",m=":",g="[",v="\\",y="_",E="~",b="!",C={"<":"<",":":":","&":"&","|":"|","~":"~"},T="shortcut",k=/\n\s*$/;function A(e,t){var n,r=e.lastIndexOf(u,t),o=e.indexOf(u,t);for(o=-1===o?e.length:o;++r<o;)if((n=e.charAt(r))!==m&&"-"!==n&&n!==c&&"|"!==n)return!1;return!0}function x(e){return e&&"text"===e.type}function D(e){var t=e.slice(-6).toLowerCase();return"mailto"===t||"https"===t.slice(-5)||"http"===t.slice(-4)}},55246(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}},45984(e){"use strict";e.exports=function(e){for(var r,o,i=this.options,a=i.fences,s=i.commonmark?"\n\n\x3c!----\x3e\n\n":n,l=[],u=e.children,c=u.length,d=-1;++d<c;)r=o,o=u[d],r&&("list"===r.type&&("list"===o.type&&r.ordered===o.ordered||"code"===o.type&&!o.lang&&!a)?l.push(s):l.push(t)),l.push(this.visit(o,e));return l.join("")};var t="\n\n",n="\n\n\n"},78844(e,t,n){"use strict";var r=n(72420);e.exports=function(){return this.visit(r(this.tree,this.options.commonmark))}},91385(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)}},82965(e){"use strict";e.exports=function(e){var n,r=this,o=r.visitors.listItem,i=r.options.incrementListMarker,a=[],s=e.start,l=e.children,u=l.length,c=-1;for(s=null==s?1:s;++c<u;)n=(i?s+c:s)+".",a[c]=o.call(r,l[c],e,c,n);return a.join(e.spread?t:"\n")};var t="\n\n"},57792(e){"use strict";e.exports=function(e){for(var n=this,r=n.options.bullet,o=n.visitors.listItem,i=e.children,a=i.length,s=-1,l=[];++s<a;)l[s]=o.call(n,i[s],e,s,r);return l.join(e.spread?t:"\n")};var t="\n\n"},30681(e,t,n){"use strict";var r=n(93227),o=n(88665),i=n(67554),a=n(78663),s=n(24889);e.exports=function(e){var t,n,d=this,f=d.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)u[typeof i[n]](e,n,f[n],l[n]);return(t=e.ruleRepetition)&&t<3&&c(t,"options.ruleRepetition"),d.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)),d.escape=a(e),d.options=e,d};var l={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}},u={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+"`")}},27204(e,t,n){"use strict";var r=n(30838);e.exports=function(e,t){for(var n,i=e.length,a=t.length,s=[],l=0,u=0;u<i;){for(n=u;u<i&&!o.test(e.charAt(u));)u+=1;for(s.push(e.slice(n,u));l<a&&!o.test(t.charAt(l));)l+=1;for(n=l;l<a&&o.test(t.charAt(l));)"&"===t.charAt(l)&&(l+=r(t.slice(l))),l+=1;for(s.push(t.slice(n,l));u<i&&o.test(e.charAt(u));)u+=1}return s.join("")};var o=/[-!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~_]/},56193(e){"use strict";e.exports=function(e){var t=-1===e.indexOf('"')?'"':"'";return t+e+t}},36085(e,t,n){"use strict";var r=n(59258);e.exports=function(e,t){return t||0===e.length||o.test(e)||r(e,"(")!==r(e,")")?"<"+e+">":e};var o=/\s/},68266(e,t,n){"use strict";var r=n(24889);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()})}},30838(e,t,n){"use strict";var r=n(36763);e.exports=function(e){var t;return"&"!==e.charAt(0)?0:(t=e.split("&",2).join("&")).length-r(t).length}},24889(e){"use strict";e.exports=function(e){return e}},98605(e){"use strict";e.exports=function(e){var t=e.referenceType;return"shortcut"===t?"":"["+("collapsed"===t?"":e.label||e.identifier)+"]"}},67626(e,t,n){"use strict";var r=n(45069);e.exports=function(e,t){for(var n=e.split("\n"),o=n.length,i=r(" ",4*t);o--;)0!==n[o].length&&(n[o]=i+n[o]);return n.join("\n")}},26781(e){"use strict";e.exports=function(e){for(var t,n=this.block(e).split("\n"),r=[],o=n.length,i=-1;++i<o;)t=n[i],r[i]=(t?" ":"")+t;return">"+r.join("\n>")}},76891(e){"use strict";e.exports=function(){return this.options.commonmark?t:" \n"};var t="\\\n"},18591(e,t,n){"use strict";var r=n(59281),o=n(45069),i=n(67626);e.exports=function(e,t){var n,a=this,s=e.value,l=a.options,u=l.fence,c=e.lang||"";return c&&e.meta&&(c+=" "+e.meta),(c=a.encode(a.escape(c,e)))||l.fences||!s?(n=o(u,Math.max(r(s,u)+1,3)))+c+"\n"+s+"\n"+n:(t&&"listItem"===t.type&&"tab"!==l.listItemIndent&&l.pedantic&&a.file.fail("Cannot indent code properly. See https://git.io/fxKR8",e.position),i(s,1))}},6307(e,t,n){"use strict";var r=n(36085),o=n(56193);e.exports=function(e){var t=r(e.url);return e.title&&(t+=" "+o(e.title)),"["+(e.label||e.identifier)+"]: "+t}},65329(e){"use strict";e.exports=function(e){return t+this.all(e).join("")+t};var t="~~"},66712(e){"use strict";e.exports=function(e){var t=this.options.emphasis,n=this.all(e).join("");return this.options.pedantic&&"_"===t&&-1!==n.indexOf(t)&&(t="*"),t+n+t}},5138(e,t,n){"use strict";var r=n(45069)(" ",4);e.exports=function(e){var t=this.all(e).join("\n\n"+r);return"[^"+(e.label||e.identifier)+"]: "+t}},26550(e){"use strict";e.exports=function(e){return"[^"+(e.label||e.identifier)+"]"}},63166(e){"use strict";e.exports=function(e){return"[^"+this.all(e).join("")+"]"}},84266(e,t,n){"use strict";var r=n(45069);e.exports=function(e){var t,n=this,o=e.depth,i=n.options.setext,a=n.options.closeAtx,s=n.all(e).join("");return i&&o<3?s+"\n"+r(1===o?"=":"-",s.length):(t=r("#",e.depth))+" "+s+(a?" "+t:"")}},60227(e){"use strict";e.exports=function(e){return e.value}},34289(e,t,n){"use strict";var r=n(98605);e.exports=function(e){return"!["+(this.encode(e.alt,e)||"")+"]"+r(e)}},7905(e,t,n){"use strict";var r=n(36085),o=n(56193);e.exports=function(e){var t=this,n=r(t.encode(e.url||"",e)),i=t.enterLink(),a=t.encode(t.escape(e.alt||"",e));return i(),e.title&&(n+=" "+o(t.encode(e.title,e))),""}},74777(e,t,n){"use strict";var r=n(59281),o=n(45069);e.exports=function(e){var t=e.value,n=o(i,r(t,i)+1),a=n,s=n;return t.charAt(0)===i&&(a+=" "),t.charAt(t.length-1)===i&&(s=" "+s),a+t+s};var i="`"},63214(e,t,n){"use strict";var r=n(27204),o=n(98605);e.exports=function(e){var t=this,n=e.referenceType,i=t.enterLinkReference(t,e),a=t.all(e).join("");return i(),("shortcut"===n||"collapsed"===n)&&(a=r(a,e.label||e.identifier)),"["+a+"]"+o(e)}},97910(e,t,n){"use strict";var r=n(36085),o=n(56193);e.exports=function(e){var t=this,n=t.encode(e.url||"",e),a=t.enterLink(),s=t.encode(t.escape(e.url||"",e)),l=t.all(e).join("");return a(),null==e.title&&i.test(n)&&s===l?r(t.encode(e.url),!0):(n=r(n),e.title&&(n+=" "+o(t.encode(t.escape(e.title,e),e))),"["+l+"]("+n+")")};var i=/^[a-z][a-z+.-]+:\/?/i},8292(e,t,n){"use strict";var r=n(45069),o=n(67626);e.exports=function(e,t,n,u){for(var c,d,f,p=this,h=p.options.listItemIndent,m=u||p.options.bullet,g=null==e.spread||e.spread,v=e.checked,y=e.children,E=y.length,b=[],C=-1;++C<E;)b[C]=p.visit(y[C],e);return c=b.join(g?l:i),"boolean"==typeof v&&(c="["+(v?"x":a)+"]"+a+c),"1"===h||"mixed"===h&&-1===c.indexOf(i)?(d=m.length+1,f=a):(d=4*s((m.length+1)/4),f=r(a,d-m.length)),c?m+f+o(c,d/4).slice(d):m};var i="\n",a=" ",s=Math.ceil,l=i+i},40526(e){"use strict";e.exports=function(e){return(e.ordered?this.visitOrderedItems:this.visitUnorderedItems).call(this,e)}},70854(e){"use strict";e.exports=function(e){return this.all(e).join("")}},96890(e){"use strict";e.exports=function(e){return this.block(e)+"\n"}},36209(e,t,n){"use strict";var r=n(45069);e.exports=function(e){var t=r(this.options.strong,2);return t+this.all(e).join("")+t}},26157(e){"use strict";e.exports=function(e){return this.all(e).join("")}},21712(e,t,n){"use strict";var r=n(97162);e.exports=function(e){for(var t,n,a=this,s=a.options,l=s.looseTable,u=s.spacedTable,c=s.paddedTable,d=s.stringLength,f=e.children,p=f.length,h=a.enterTable(),m=[];p--;)m[p]=a.all(f[p]);return h(),l?(t="",n=""):u?(t=i+o,n=o+i):(t=i,n=i),r(m,{align:e.align,pad:c,start:t,end:n,stringLength:d,delimiter:u?" | ":i})};var o=" ",i="|"},95821(e){"use strict";e.exports=function(e,t){return this.encode(this.escape(e.value,e,t),e)}},32043(e,t,n){"use strict";var r=n(45069);e.exports=function(){var e=this.options,t=r(e.rule,e.ruleRepetition);return e.ruleSpaces?t.split("").join(" "):t}},97162(e){"use strict";e.exports=function(e,n){var s,l,u,c,d,f,p,h,m,g,v,y,E=n||{},b=E.delimiter,C=E.start,T=E.end,k=E.align,A=E.stringLength||o,x=0,D=-1,S=e.length,_=[];for(k=k?k.concat():[],null==b&&(b=" | "),null==C&&(C="| "),null==T&&(T=" |");++D<S;)for(f=-1,(c=e[D]).length>x&&(x=c.length);++f<x;)p=c[f]?a(c[f]):null,_[f]||(_[f]=3),p>_[f]&&(_[f]=p);for("string"==typeof k&&(k=i(x,k).split("")),f=-1;++f<x;)"string"==typeof(s=k[f])&&(s=s.charAt(0).toLowerCase()),"l"!==s&&"r"!==s&&"c"!==s&&"."!==s&&(s=""),k[f]=s;for(D=-1,u=[];++D<S;){for(c=e[D],f=-1,d=[];++f<x;)m=r(m=c[f]),"."===k[f]?(p=a(m),h=_[f]+(t.test(m)?0:1)-(A(m)-p),d[f]=m+i(h-1)):d[f]=m;u[D]=d}for(_=[],D=-1;++D<S;)for(d=u[D],f=-1;++f<x;)m=d[f],_[f]||(_[f]=3),(h=A(m))>_[f]&&(_[f]=h);for(D=-1;++D<S;){if(d=u[D],f=-1,!1!==E.pad)for(;++f<x;)m=d[f],g=i(p=_[f]-(A(m)||0)),"r"===k[f]||"."===k[f]?m=g+m:"c"===k[f]?((p/=2)%1==0?(v=p,y=p):(v=p+.5,y=p-.5),m=i(v)+m+i(y)):m+=g,d[f]=m;u[D]=d.join(b)}if(!1!==E.rule){for(f=-1,l=[];++f<x;)g=!1===E.pad?(g=A(r(m=e[0][f])))>3?g:3:_[f],m="r"===(s=k[f])||""===s?"-":":",m+=i(g-2,"-"),m+="l"!==s&&""!==s?":":"-",l[f]=m;u.splice(1,0,l.join(b))}return C+u.join(T+"\n"+C)+T};var t=/\./,n=/\.[^.]*$/;function r(e){return null==e?"":String(e)}function o(e){return String(e).length}function i(e,t){return new Array(e+1).join(t||" ")}function a(e){var t=n.exec(e);return t?t.index+1:e.length}},40131(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)}},36763(e,t,n){"use strict";var r=n(80414),o=n(61492),i=n(15364),a=n(29816),s=n(43623),l=n(40131);e.exports=function(e,t){var n,i,a={};for(i in t||(t={}),f)n=t[i],a[i]=null==n?f[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,f,C,T,k,A,x,D,S,_,w,O,N,P,R,B,F,I=t.additional,M=t.nonTerminated,L=t.text,j=t.reference,H=t.warning,U=t.textContext,z=t.referenceContext,G=t.warningContext,W=t.position,K=t.indent||[],q=e.length,$=0,V=-1,Y=W.column||1,X=W.line||1,Q="",J=[];for("string"==typeof I&&(I=I.charCodeAt(0)),P=Z(),A=H?function(e,t){var n=Z();n.column+=t,n.offset+=t,H.call(G,y[e],n,e)}:d,$--,q++;++$<q;)if(10===C&&(Y=K[V]||1),38===(C=e.charCodeAt($))){if(9===(k=e.charCodeAt($+1))||10===k||12===k||32===k||38===k||60===k||k!=k||I&&k===I){Q+=c(C),Y++;continue}for(_=w=$+1,F=w,35===k?(F=++_,88===(k=e.charCodeAt(F))||120===k?(O=h,F=++_):O=m):O=p,n="",S="",f="",N=v[O],F--;++F<q&&N(k=e.charCodeAt(F));)f+=c(k),O===p&&u.call(r,f)&&(n=f,S=r[f]);(a=59===e.charCodeAt(F))&&(F++,(i=O===p&&l(f))&&(n=f,S=i)),B=1+F-w,(a||M)&&(f?O===p?(a&&!S?A(5,1):(n!==f&&(B=1+(F=_+n.length)-_,a=!1),a||(x=n?1:3,t.attribute?61===(k=e.charCodeAt(F))?(A(x,B),S=null):s(k)?S=null:A(x,B):A(x,B))),T=S):(a||A(2,B),E(T=parseInt(f,g[O]))?(A(7,B),T=c(65533)):T in o?(A(6,B),T=o[T]):(D="",b(T)&&A(6,B),T>65535&&(D+=c((T-=65536)>>>10|55296),T=56320|1023&T),T=D+c(T))):O!==p&&A(4,B)),T?(ee(),P=Z(),$=F-1,Y+=F-w+1,J.push(T),(R=Z()).offset++,j&&j.call(z,T,{start:P,end:R},e.slice(w-1,F)),P=R):(f=e.slice(w-1,F),Q+=f,Y+=f.length,$=F-1)}else 10===C&&(X++,V++,Y=0),C==C?(Q+=c(C),Y++):ee();return J.join("");function Z(){return{line:X,column:Y,offset:$+(W.offset||0)}}function ee(){Q&&(J.push(Q),L&&L.call(U,Q,{start:P,end:Z()}),Q="")}}(e,a)};var u={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var v={};v[p]=s,v[m]=i,v[h]=a;var y={};function E(e){return e>=55296&&e<=57343||e>1114111}function b(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},88665(e,t,n){"use strict";var r=n(64822),o=n(80414),i=n(29816),a=n(43623),s=n(56278);e.exports=p,p.escape=function(e){return p(e,{escapeOnly:!0,useNamedReferences:!0})};var l={}.hasOwnProperty,u=function(){var e,t={};for(e in r)t[r[e]]=e;return t}(),c=g(['"',"'","<",">","&","`"]),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;function p(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(d,function(e,t,n){return m(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charAt(t+2),a)}).replace(f,function(e,t,r){return h(e,r.charAt(t+1),n)})}function h(e,t,n){var r,i,c=n.useShortestReferences,d=n.omitOptionalSemicolons;return(c||n.useNamedReferences)&&l.call(u,e)&&(r=function(e,t,n,r){var i="&"+e;return n&&l.call(o,e)&&-1===s.indexOf(e)&&(!r||t&&"="!==t&&!a(t))?i:i+";"}(u[e],t,d,n.attribute)),!c&&r||(i=m(e.charCodeAt(0),t,d)),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")}},45069(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)}},53551(e,t){"use strict";t.parse=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)},t.stringify=function(e){return e.join(" ").trim()};var n=/[ \t\n\r\f]+/g},65990(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}}}},55609(e,t,n){"use strict";e.exports=n(59969)},25388(e,t,n){var r,o=n(64822),i={};for(r in e.exports=i,o)i[o[r]]=r},58799(e){e.exports=String.fromCharCode},87169(e){e.exports={}.hasOwnProperty},13942(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)}}},19423(e,t,n){"use strict";var r=n(93227),o=n(13942),i=n(26427);e.exports=function(e,t){return o(e,r(t,{format:i}))}},4070(e,t,n){"use strict";var r=n(13942),o=n(26427);e.exports=function(e){return r(e,{escapeOnly:!0,useNamedReferences:!0,format:o})}},59969(e,t,n){"use strict";var r=n(19423),o=n(4070);e.exports=r,r.escape=o},26427(e,t,n){e.exports=function(e,t,n){var a,s,l;return(n.useNamedReferences||n.useShortestReferences)&&(a=i(e,t,n.omitOptionalSemicolons,n.attribute)),!n.useShortestReferences&&a||(s=r(e,t,n.omitOptionalSemicolons),n.useShortestReferences&&(l=o(e,t,n.omitOptionalSemicolons)).length<s.length&&(s=l)),a&&(!n.useShortestReferences||a.length<s.length)?a:s};var r=n(54875),o=n(57407),i=n(16125)},57407(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(58799)},54875(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(58799)},16125(e,t,n){e.exports=function(e,t,n,l){var u,c,d=i(e);return a.call(o,d)?(c="&"+(u=o[d]),n&&a.call(r,u)&&-1===s.indexOf(u)&&(!l||t&&61!==t&&/[^\da-z]/i.test(i(t)))?c:c+";"):""};var r=n(80414),o=n(25388),i=n(58799),a=n(87169),s=n(90849)},48800(e){"use strict";e.exports=function(e){return String(e).replace(t,"\n")};var t=/[ \t]*\n+[ \t]*/g},31587(e){"use strict";e.exports=function(e){return String(e).replace(/\n+$/,"")}},53098(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*$/,"")}},88207(e,t,n){"use strict";var r=n(43719);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 l=e[++t],u=o.call(arguments,0).slice(1),c=n.length,d=-1;if(s)i(s);else{for(;++d<c;)null!==u[d]&&void 0!==u[d]||(u[d]=n[d]);n=u,l?r(l,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}},43719(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)}}},53553(e,t,n){"use strict";var r=n(93227),o=n(35615);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)}}},22244(e,t,n){"use strict";var r=n(61990),o=n(16325),i=n(89710),a=n(89953),s=n(88207),l=n(81778);e.exports=function e(){var t,n=[],o=s(),y={},E=-1;return b.data=function(e,n){return"string"==typeof e?2===arguments.length?(m("data",t),y[e]=n,b):c.call(y,e)&&y[e]||null:e?(m("data",t),y=e,b):y},b.freeze=C,b.attachers=n,b.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?l(e):o(e)}return r&&(y.settings=i(y.settings||{},r)),b;function o(e){l(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 l(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(u.call(arguments))}},b.parse=function(e){var t,n=l(e);return C(),p("parse",t=b.Parser),f(t,"parse")?new t(String(n),n).parse():t(String(n),n)},b.stringify=function(e,t){var n,r=l(t);return C(),h("stringify",n=b.Compiler),g(e),f(n,"compile")?new n(e,r).compile():n(e,r)},b.run=T,b.runSync=function(e,t){var n,o;return T(e,t,function(e,t){o=!0,n=t,r(e)}),v("runSync","run",o),n},b.process=k,b.processSync=function(e){var t,n;return C(),p("processSync",b.Parser),h("processSync",b.Compiler),k(t=l(e),function(e){n=!0,r(e)}),v("processSync","process",n),t},b;function b(){for(var t=e(),r=-1;++r<n.length;)t.use.apply(null,n[r]);return t.data(i(!0,{},y)),t}function C(){var e,r;if(t)return b;for(;++E<n.length;)!1!==(e=n[E])[1]&&(!0===e[1]&&(e[1]=void 0),"function"==typeof(r=e[0].apply(b,e.slice(1)))&&o.use(r));return t=!0,E=1/0,b}function T(e,t,n){if(g(e),C(),n||"function"!=typeof t||(n=t,t=null),!n)return new Promise(r);function r(r,i){o.run(e,l(t),function(t,o,a){o=o||e,t?i(t):r?r(o):n(null,o,a)})}r(null,n)}function k(e,t){if(C(),p("process",b.Parser),h("process",b.Compiler),!t)return new Promise(n);function n(n,r){var o=l(e);d.run(b,{file:o},function(e){e?r(e):n?n(o):t(null,o)})}n(null,t)}}().freeze();var u=[].slice,c={}.hasOwnProperty,d=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 f(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 p(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")}},16325(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},89953(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}},53933(e,t,n){"use strict";var r=n(61513);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}},79535(e,t,n){"use strict";var r=n(44546);e.exports=function(e,t,n){var i=r(n||t),a=null==t.cascade||t.cascade;return function e(t,n,r){var s,l,u,c,d;if(!i(t,n,r))return null;if(t.children){for(s=[],l=-1;++l<t.children.length;)(u=e(t.children[l],l,t))&&s.push(u);if(a&&t.children.length&&!s.length)return null}for(d in c={},t)o.call(t,d)&&(c[d]="children"===d?s:t[d]);return c}(e,null,null)};var o={}.hasOwnProperty},30933(e,t,n){"use strict";var r=n(44546);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}},80226(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)}},44546(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")}},19802(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},69395(e,t,n){"use strict";var r=n(45552);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}},28866(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):"":""}},20276(e,t,n){"use strict";e.exports=s;var r=n(88776),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,u,c){var d,f=[];return(t&&!s(r,u,c[c.length-1]||null)||(f=l(n(r,c)))[0]!==a)&&r.children&&f[0]!==i?(d=l(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))),d[0]===a?d:f):f}(e,null,[])}function l(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},88776(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},45552(e,t,n){"use strict";e.exports=s;var r=n(20276),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},4742(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)}}},81778(e,t,n){"use strict";e.exports=n(27910)},46331(e,t,n){"use strict";var r=n(71411),o=n(87256),i=n(24351);e.exports=l;var a={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function l(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 l))return new l(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 u(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 d(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(l.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(l.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){d(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(l.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(l.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(u(e,"extname"),d(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(l.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},27910(e,t,n){"use strict";var r=n(75848),o=n(46331);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}},71411(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,l=-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 l<0&&(i=!0,l=r+1);return l<0?"":e.slice(s,l)}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&&(l=r):(a=-1,l=o));return s===l?l=o:l<0&&(l=e.length),e.slice(s,l)},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,l=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!==l&&(l=1):i>-1&&(l=-1);else if(t){a=o+1;break}return i<0||s<0||0===l||1===l&&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,l=-1;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-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=l,s=0;continue}}else if(o.length){o="",i=0,a=l,s=0;continue}t&&(o=o.length?o+"/..":"..",i=2)}else o.length?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,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="/"},87256(e,t){"use strict";t.cwd=function(){return"/"}},24351(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},75848(e,t,n){"use strict";var r=n(28866);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},93227(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},75410(e,t,n){"use strict";e.exports=n(54438)},35333(e,t,n){"use strict";e.exports=function(e,t){for(var n,i,a=t.children||[],s=a.length,l=[],u=-1;++u<s;)(n=o(e,a[u],t))&&(u&&"break"===a[u-1].type&&(n.value&&(n.value=r.left(n.value)),(i=n.children&&n.children[0])&&i.value&&(i.value=r.left(i.value))),l=l.concat(n));return l};var r=n(53098),o=n(6238)},92891(e,t,n){"use strict";e.exports=function(e){var t,n,a,s,l=e.footnotes,u=l.length,c=-1,d=[];if(!u)return null;for(;++c<u;)s=(a=(t=l[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),d[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:d})],!0))};var r=n(32921),o=n(13232),i=n(79740)},887(e,t,n){"use strict";e.exports=function(e,t){return e(t,"blockquote",r(o(e,t),!0))};var r=n(79740),o=n(35333)},82753(e,t,n){"use strict";e.exports=function(e,t){return[e(t,"br"),r("text","\n")]};var r=n(53933)},84773(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(58632),o=n(53933)},48783(e,t,n){"use strict";e.exports=function(e,t){return e(t,"del",r(e,t))};var r=n(35333)},56758(e,t,n){"use strict";e.exports=function(e,t){return e(t,"em",r(e,t))};var r=n(35333)},29628(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(53933)},4352(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(29628)},37340(e,t,n){"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,r(e,t))};var r=n(35333)},88913(e,t,n){"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,r("raw",t.value)):null};var r=n(53933)},96683(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(59444),o=n(66962)},69655(e,t,n){"use strict";var r=n(59444);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)}},88850(e,t,n){"use strict";function r(){return null}e.exports={blockquote:n(887),break:n(82753),code:n(84773),delete:n(48783),emphasis:n(56758),footnoteReference:n(29628),footnote:n(4352),heading:n(37340),html:n(88913),imageReference:n(96683),image:n(69655),inlineCode:n(99107),linkReference:n(53976),link:n(39092),listItem:n(68554),list:n(13232),paragraph:n(25804),root:n(15172),strong:n(69379),table:n(86454),text:n(58115),thematicBreak:n(32921),toml:r,yaml:r,definition:r,footnoteDefinition:r}},99107(e,t,n){"use strict";e.exports=function(e,t){return e(t,"code",[o("text",r(t.value))])};var r=n(3470),o=n(53933)},53976(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(59444),o=n(66962),i=n(35333)},39092(e,t,n){"use strict";var r=n(59444),o=n(35333);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))}},68554(e,t,n){"use strict";e.exports=function(e,t,n){var s,l,u,c,d,f=t.children[0],p=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=p;else for(s=[],c=p.length,u=-1;++u<c;)"p"===(d=p[u]).tagName?s=s.concat(d.children):s.push(d);return"boolean"==typeof t.checked&&(!h||f&&"paragraph"===f.type||s.unshift(e(null,"p",[])),0!==(l=h?s[0].children:s).length&&l.unshift(r("text"," ")),l.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(53933),o=n(79740),i=n(35333);function a(e){var t=e.spread;return null==t?e.children.length>1:t}},13232(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(79740),o=n(35333)},25804(e,t,n){"use strict";e.exports=function(e,t){return e(t,"p",r(e,t))};var r=n(35333)},15172(e,t,n){"use strict";e.exports=function(e,t){return e.augment(t,r("root",o(i(e,t))))};var r=n(53933),o=n(79740),i=n(35333)},69379(e,t,n){"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(35333)},86454(e,t,n){"use strict";e.exports=function(e,t){for(var n,a,s,l,u,c=t.children,d=c.length,f=t.align,p=f.length,h=[];d--;){for(a=c[d].children,l=0===d?"th":"td",n=p,s=[];n--;)u=a[n],s[n]=e(u,l,{align:f[n]},u?i(e,u):[]);h[d]=e(c[d],"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(19802),o=n(79740),i=n(35333)},58115(e,t,n){"use strict";e.exports=function(e,t){return e.augment(t,r("text",o(t.value)))};var r=n(53933),o=n(48800)},32921(e){"use strict";e.exports=function(e,t){return e(t,"hr")}},54438(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=l(e,n),c.footnotes=[],c.augment=u,c.handlers=r(d,n.handlers||{}),i(e,"footnoteDefinition",function(e){c.footnotes.push(e)}),c;function u(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={}),u(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),f=u(n,e),p=c(n);return f&&f.children&&p&&(f.children=f.children.concat(o("text","\n"),p)),f};var r=n(93227),o=n(53933),i=n(45552),a=n(19802),s=n(80226),l=n(59107),u=n(6238),c=n(92891),d=n(88850)},6238(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(53933),o=n(35333),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))}},66962(e,t,n){"use strict";e.exports=function(e,t){var n,i,a,s=t.referenceType,l="]";return"collapsed"===s?l+="[]":"full"===s&&(l+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type?r("text","!["+t.alt+l):((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+=l:n.push(r("text",l)),n)};var r=n(53933),o=n(35333)},79740(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(53933)},4360(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)}},19632(e,t,n){"use strict";var r=n(80414),o=n(61492),i=n(15364),a=n(29816),s=n(43623),l=n(4360);e.exports=function(e,t){var n,i,a={};for(i in t||(t={}),f)n=t[i],a[i]=null==n?f[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,f,C,T,k,A,x,D,S,_,w,O,N,P,R,B,F,I=t.additional,M=t.nonTerminated,L=t.text,j=t.reference,H=t.warning,U=t.textContext,z=t.referenceContext,G=t.warningContext,W=t.position,K=t.indent||[],q=e.length,$=0,V=-1,Y=W.column||1,X=W.line||1,Q="",J=[];for("string"==typeof I&&(I=I.charCodeAt(0)),P=Z(),A=H?function(e,t){var n=Z();n.column+=t,n.offset+=t,H.call(G,y[e],n,e)}:d,$--,q++;++$<q;)if(10===C&&(Y=K[V]||1),38===(C=e.charCodeAt($))){if(9===(k=e.charCodeAt($+1))||10===k||12===k||32===k||38===k||60===k||k!=k||I&&k===I){Q+=c(C),Y++;continue}for(_=w=$+1,F=w,35===k?(F=++_,88===(k=e.charCodeAt(F))||120===k?(O=h,F=++_):O=m):O=p,n="",S="",f="",N=v[O],F--;++F<q&&N(k=e.charCodeAt(F));)f+=c(k),O===p&&u.call(r,f)&&(n=f,S=r[f]);(a=59===e.charCodeAt(F))&&(F++,(i=O===p&&l(f))&&(n=f,S=i)),B=1+F-w,(a||M)&&(f?O===p?(a&&!S?A(5,1):(n!==f&&(B=1+(F=_+n.length)-_,a=!1),a||(x=n?1:3,t.attribute?61===(k=e.charCodeAt(F))?(A(x,B),S=null):s(k)?S=null:A(x,B):A(x,B))),T=S):(a||A(2,B),E(T=parseInt(f,g[O]))?(A(7,B),T=c(65533)):T in o?(A(6,B),T=o[T]):(D="",b(T)&&A(6,B),T>65535&&(D+=c((T-=65536)>>>10|55296),T=56320|1023&T),T=D+c(T))):O!==p&&A(4,B)),T?(ee(),P=Z(),$=F-1,Y+=F-w+1,J.push(T),(R=Z()).offset++,j&&j.call(z,T,{start:P,end:R},e.slice(w-1,F)),P=R):(f=e.slice(w-1,F),Q+=f,Y+=f.length,$=F-1)}else 10===C&&(X++,V++,Y=0),C==C?(Q+=c(C),Y++):ee();return J.join("");function Z(){return{line:X,column:Y,offset:$+(W.offset||0)}}function ee(){Q&&(J.push(Q),L&&L.call(U,Q,{start:P,end:Z()}),Q="")}}(e,a)};var u={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var v={};v[p]=s,v[m]=i,v[h]=a;var y={};function E(e){return e>=55296&&e<=57343||e>1114111}function b(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},85815(e,t,n){"use strict";var r=n(53553),o=n(93227),i=n(22376);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},46898(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"]},92617(e,t,n){"use strict";var r=n(93227),o=n(19632);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)}}},6881(e,t,n){"use strict";e.exports={position:!0,gfm:!0,commonmark:!1,footnotes:!1,pedantic:!1,blocks:n(46898)}},59345(e){"use strict";e.exports=function(e,t){for(var n=e.indexOf("\n",t);n>t&&" "===e.charAt(n-1);)n--;return n}},43235(e){"use strict";e.exports=function(e,t){return e.indexOf("`",t)}},13087(e){"use strict";e.exports=function(e,t){return e.indexOf("~~",t)}},7142(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}},14379(e){"use strict";e.exports=function(e,t){return e.indexOf("\\",t)}},65348(e){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);return-1===r||n<r?n:r}},95347(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}},73042(e){"use strict";e.exports=function(e,t){return e.indexOf("<",t)}},1859(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:"]},12544(e,t,n){"use strict";var r=n(93227),o=n(69395);e.exports=function(){var e,t=this,n=String(t.file),a={line:1,column:1,offset:0},s=r(a);return 65279===(n=n.replace(i,"\n")).charCodeAt(0)&&(n=n.slice(1),s.column++,s.offset++),e={type:"root",children:t.tokenizeBlock(n,s),position:{start:a,end:t.eof||r(a)}},t.options.position||o(e,!0),e};var i=/\r\n|\r/g},22376(e,t,n){"use strict";var r=n(93227),o=n(65990),i=n(4742),a=n(83375),s=n(92617),l=n(11010);function u(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=u;var c=u.prototype;function d(e){var t,n=[];for(t in e)n.push(t);return n}c.setOptions=n(17356),c.parse=n(12544),c.options=n(6881),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(85377),indentedCode:n(30310),fencedCode:n(61034),blockquote:n(84938),atxHeading:n(31701),thematicBreak:n(77576),list:n(3001),setextHeading:n(28031),html:n(42680),footnote:n(19531),definition:n(70016),table:n(71617),paragraph:n(78335)},c.inlineTokenizers={escape:n(28502),autoLink:n(6535),url:n(19704),html:n(89568),link:n(20461),reference:n(18956),strong:n(29222),emphasis:n(54279),deletion:n(77070),code:n(97632),break:n(91522),text:n(16394)},c.blockMethods=d(c.blockTokenizers),c.inlineMethods=d(c.inlineTokenizers),c.tokenizeBlock=l("block"),c.tokenizeInline=l("inline"),c.tokenizeFactory=l},17356(e,t,n){"use strict";var r=n(93227),o=n(23126),i=n(6881);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}},6535(e,t,n){"use strict";var r=n(51498),o=n(19632),i=n(73042);e.exports=s,s.locator=i,s.notInLink=!0;var a="mailto:";function s(e,t,n){var i,s,l,u,c,d=this,f="",p=t.length,h=0,m="",g=!1,v="";if("<"===t.charAt(0)){for(h++,f="<";h<p&&(i=t.charAt(h),!(r(i)||">"===i||"@"===i||":"===i&&"/"===t.charAt(h+1)));)m+=i,h++;if(m){if(v+=m,m="",v+=i=t.charAt(h),h++,"@"===i)g=!0;else{if(":"!==i||"/"!==t.charAt(h+1))return;v+="/",h++}for(;h<p&&(i=t.charAt(h),!r(i)&&">"!==i);)m+=i,h++;if(i=t.charAt(h),m&&">"===i)return!!n||(l=v+=m,f+=v+i,(s=e.now()).column++,s.offset++,g&&(v.slice(0,7).toLowerCase()===a?(l=l.substr(7),s.column+=7,s.offset+=7):v=a+v),u=d.inlineTokenizers,d.inlineTokenizers={text:u.text},c=d.enterLink(),l=d.tokenizeInline(l,s),d.inlineTokenizers=u,c(),e(f)({type:"link",title:null,url:o(v,{nonTerminated:!1}),children:l}))}}}},84938(e,t,n){"use strict";var r=n(53098),o=n(14767);e.exports=function(e,t,n){for(var i,a,s,l,u,c,d,f,p,h=this,m=h.offset,g=h.blockTokenizers,v=h.interruptBlockquote,y=e.now(),E=y.line,b=t.length,C=[],T=[],k=[],A=0;A<b&&(" "===(a=t.charAt(A))||"\t"===a);)A++;if(">"===t.charAt(A)){if(n)return!0;for(A=0;A<b;){for(d=A,f=!1,-1===(l=t.indexOf("\n",A))&&(l=b);A<b&&(" "===(a=t.charAt(A))||"\t"===a);)A++;if(">"===t.charAt(A)?(A++,f=!0," "===t.charAt(A)&&A++):A=d,u=t.slice(A,l),!f&&!r(u)){A=d;break}if(!f&&(s=t.slice(A),o(v,g,h,[e,s,!0])))break;c=d===A?u:t.slice(d,l),k.push(A-d),C.push(c),T.push(u),A=l+1}for(A=-1,b=k.length,i=e(C.join("\n"));++A<b;)m[E]=(m[E]||0)+k[A],E++;return p=h.enterBlock(),T=h.tokenizeBlock(T.join("\n"),y),p(),i({type:"blockquote",children:T})}}},91522(e,t,n){"use strict";var r=n(59345);function o(e,t,n){for(var r,o=t.length,i=-1,a="";++i<o;){if("\n"===(r=t.charAt(i))){if(i<2)return;return!!n||e(a+=r)({type:"break"})}if(" "!==r)return;a+=r}}e.exports=o,o.locator=r},61034(e,t,n){"use strict";var r=n(31587);e.exports=function(e,t,n){var s,l,u,c,d,f,p,h,m,g,v,y,E,b=this,C=b.options.gfm,T=t.length+1,k=0,A="";if(C){for(;k<T&&((u=t.charAt(k))===a||u===i);)A+=u,k++;if(y=k,"~"===(u=t.charAt(k))||"`"===u){for(k++,l=u,s=1,A+=u;k<T&&(u=t.charAt(k))===l;)A+=u,s++,k++;if(!(s<3)){for(;k<T&&((u=t.charAt(k))===a||u===i);)A+=u,k++;for(c="",p="";k<T&&(u=t.charAt(k))!==o&&"~"!==u&&"`"!==u;)u===a||u===i?p+=u:(c+=p+u,p=""),k++;if(!(u=t.charAt(k))||u===o){if(n)return!0;for((E=e.now()).column+=A.length,E.offset+=A.length,A+=c,c=b.decode.raw(b.unescape(c),E),p&&(A+=p),p="",g="",v="",h="",m="";k<T;)if(h+=g,m+=v,g="",v="",(u=t.charAt(k))===o){for(h?(g+=u,v+=u):A+=u,p="",k++;k<T&&(u=t.charAt(k))===a;)p+=u,k++;if(g+=p,v+=p.slice(y),!(p.length>=4)){for(p="";k<T&&(u=t.charAt(k))===l;)p+=u,k++;if(g+=p,v+=p,!(p.length<s)){for(p="";k<T&&((u=t.charAt(k))===a||u===i);)g+=u,v+=u,k++;if(!u||u===o)break}}}else h+=u,v+=u,k++;for(A+=h+g,k=-1,T=c.length;++k<T;)if((u=c.charAt(k))===a||u===i)d||(d=c.slice(0,k));else if(d){f=c.slice(k);break}return e(A)({type:"code",lang:d||c||null,meta:f||null,value:r(m)})}}}}};var o="\n",i="\t",a=" "},30310(e,t,n){"use strict";var r=n(45069),o=n(31587);e.exports=function(e,t,n){for(var r,a,s,l=-1,u=t.length,c="",d="",f="",p="";++l<u;)if(r=t.charAt(l),s)if(s=!1,c+=f,d+=p,f="",p="","\n"===r)f=r,p=r;else for(c+=r,d+=r;++l<u;){if(!(r=t.charAt(l))||"\n"===r){p=r,f=r;break}c+=r,d+=r}else if(" "===r&&t.charAt(l+1)===r&&t.charAt(l+2)===r&&t.charAt(l+3)===r)f+=i,l+=3,s=!0;else if("\t"===r)f+=r,s=!0;else{for(a="";"\t"===r||" "===r;)a+=r,r=t.charAt(++l);if("\n"!==r)break;f+=a+r,p+=r}if(d)return!!n||e(c)({type:"code",lang:null,meta:null,value:o(d)})};var i=r(" ",4)},97632(e,t,n){"use strict";var r=n(51498),o=n(43235);e.exports=a,a.locator=o;var i="`";function a(e,t,n){for(var o,a,s,l,u,c,d,f,p=t.length,h=0,m="",g="";h<p&&t.charAt(h)===i;)m+=i,h++;if(m){for(u=m,l=h,m="",f=t.charAt(h),s=0;h<p;){if(c=f,f=t.charAt(h+1),c===i?(s++,g+=c):(s=0,m+=c),s&&f!==i){if(s===l){u+=m+g,d=!0;break}m+=g,g=""}h++}if(!d){if(l%2!=0)return;m=""}if(n)return!0;for(o="",a="",p=m.length,h=-1;++h<p;)c=m.charAt(h),r(c)?a+=c:(a&&(o&&(o+=a),a=""),o+=c);return e(u)({type:"inlineCode",value:o})}}},70016(e,t,n){"use strict";var r=n(51498),o=n(19712);e.exports=u,u.notInList=!0,u.notInBlock=!0;var i="\n",a="\t",s=" ",l="]";function u(e,t,n){for(var r,u,f,p,h,m,g,v,y=this,E=y.options.commonmark,b=0,C=t.length,T="";b<C&&((p=t.charAt(b))===s||p===a);)T+=p,b++;if("["===(p=t.charAt(b))){for(b++,T+=p,f="";b<C&&(p=t.charAt(b))!==l;)"\\"===p&&(f+=p,b++,p=t.charAt(b)),f+=p,b++;if(f&&t.charAt(b)===l&&":"===t.charAt(b+1)){for(m=f,b=(T+=f+l+":").length,f="";b<C&&((p=t.charAt(b))===a||p===s||p===i);)T+=p,b++;if(f="",r=T,"<"===(p=t.charAt(b))){for(b++;b<C&&c(p=t.charAt(b));)f+=p,b++;if((p=t.charAt(b))===c.delimiter)T+="<"+f+p,b++;else{if(E)return;b-=f.length+1,f=""}}if(!f){for(;b<C&&d(p=t.charAt(b));)f+=p,b++;T+=f}if(f){for(g=f,f="";b<C&&((p=t.charAt(b))===a||p===s||p===i);)f+=p,b++;if(h=null,'"'===(p=t.charAt(b))?h='"':"'"===p?h="'":"("===p&&(h=")"),h){if(!f)return;for(b=(T+=f+p).length,f="";b<C&&(p=t.charAt(b))!==h;){if(p===i){if(b++,(p=t.charAt(b))===i||p===h)return;f+=i}f+=p,b++}if((p=t.charAt(b))!==h)return;u=T,T+=f+p,b++,v=f,f=""}else f="",b=T.length;for(;b<C&&((p=t.charAt(b))===a||p===s);)T+=p,b++;return(p=t.charAt(b))&&p!==i?void 0:!!n||(r=e(r).test().end,g=y.decode.raw(y.unescape(g),r,{nonTerminated:!1}),v&&(u=e(u).test().end,v=y.decode.raw(y.unescape(v),u)),e(T)({type:"definition",identifier:o(m),label:m,title:v||null,url:g}))}}}}function c(e){return">"!==e&&"["!==e&&e!==l}function d(e){return"["!==e&&e!==l&&!r(e)}c.delimiter=">"},77070(e,t,n){"use strict";var r=n(51498),o=n(13087);e.exports=a,a.locator=o;var i="~";function a(e,t,n){var o,a,s,l="",u="",c="",d="";if(this.options.gfm&&t.charAt(0)===i&&t.charAt(1)===i&&!r(t.charAt(2)))for(o=1,a=t.length,(s=e.now()).column+=2,s.offset+=2;++o<a;){if(!((l=t.charAt(o))!==i||u!==i||c&&r(c)))return!!n||e("~~"+d+"~~")({type:"delete",children:this.tokenizeInline(d,s)});d+=u,c=u,u=l}}},54279(e,t,n){"use strict";var r=n(53098),o=n(76627),i=n(51498),a=n(7142);function s(e,t,n){var a,s,l,u,c,d,f,p=0,h=t.charAt(p);if(!("*"!==h&&"_"!==h||(s=this.options.pedantic,c=h,l=h,d=t.length,p++,u="",h="",s&&i(t.charAt(p)))))for(;p<d;){if(f=h,!((h=t.charAt(p))!==l||s&&i(f))){if((h=t.charAt(++p))!==l){if(!r(u)||f===l)return;if(!s&&"_"===l&&o(h)){u+=l;continue}return!!n||((a=e.now()).column++,a.offset++,e(c+u+l)({type:"emphasis",children:this.tokenizeInline(u,a)}))}u+=l}s||"\\"!==h||(u+=h,h=t.charAt(++p)),u+=h,p++}}e.exports=s,s.locator=a},28502(e,t,n){"use strict";var r=n(14379);function o(e,t,n){var r,o;if("\\"===t.charAt(0)&&(r=t.charAt(1),-1!==this.escape.indexOf(r)))return!!n||(o="\n"===r?{type:"break"}:{type:"text",value:r},e("\\"+r)(o))}e.exports=o,o.locator=r},19531(e,t,n){"use strict";var r=n(51498),o=n(19712);e.exports=a,a.notInList=!0,a.notInBlock=!0;var i=/^( {4}|\t)?/gm;function a(e,t,n){var a,s,l,u,c,d,f,p,h,m,g,v,y=this,E=y.offset;if(y.options.footnotes){for(a=0,s=t.length,l="",u=e.now(),c=u.line;a<s&&(h=t.charAt(a),r(h));)l+=h,a++;if("["===t.charAt(a)&&"^"===t.charAt(a+1)){for(a=(l+="[^").length,f="";a<s&&"]"!==(h=t.charAt(a));)"\\"===h&&(f+=h,a++,h=t.charAt(a)),f+=h,a++;if(f&&"]"===t.charAt(a)&&":"===t.charAt(a+1)){if(n)return!0;for(m=f,a=(l+=f+"]:").length;a<s&&("\t"===(h=t.charAt(a))||" "===h);)l+=h,a++;for(u.column+=l.length,u.offset+=l.length,f="",d="",p="";a<s;){if("\n"===(h=t.charAt(a))){for(p=h,a++;a<s&&"\n"===(h=t.charAt(a));)p+=h,a++;for(f+=p,p="";a<s&&" "===(h=t.charAt(a));)p+=h,a++;if(0===p.length)break;f+=p}f&&(d+=f,f=""),d+=h,a++}return l+=d,d=d.replace(i,function(e){return E[c]=(E[c]||0)+e.length,c++,""}),g=e(l),v=y.enterBlock(),d=y.tokenizeBlock(d,u),v(),g({type:"footnoteDefinition",identifier:o(m),label:m,children:d})}}}}},31701(e){"use strict";e.exports=function(e,o,i){for(var a,s,l,u=this.options.pedantic,c=o.length+1,d=-1,f=e.now(),p="",h="";++d<c;){if((a=o.charAt(d))!==n&&a!==t){d--;break}p+=a}for(l=0;++d<=c;){if((a=o.charAt(d))!==r){d--;break}p+=a,l++}if(!(l>6)&&l&&(u||o.charAt(d+1)!==r)){for(c=o.length+1,s="";++d<c;){if((a=o.charAt(d))!==n&&a!==t){d--;break}s+=a}if(u||0!==s.length||!a||"\n"===a){if(i)return!0;for(p+=s,s="",h="";++d<c&&(a=o.charAt(d))&&"\n"!==a;)if(a===n||a===t||a===r){for(;a===n||a===t;)s+=a,a=o.charAt(++d);if(u||!h||s||a!==r){for(;a===r;)s+=a,a=o.charAt(++d);for(;a===n||a===t;)s+=a,a=o.charAt(++d);d--}else h+=a}else h+=s+a,s="";return f.column+=p.length,f.offset+=p.length,e(p+=h+s)({type:"heading",depth:l,children:this.tokenizeInline(h,f)})}}};var t="\t",n=" ",r="#"},28031(e){"use strict";e.exports=function(e,t,n){for(var r,o,i,a,s,l=e.now(),u=t.length,c=-1,d="";++c<u;){if(" "!==(i=t.charAt(c))||c>=3){c--;break}d+=i}for(r="",o="";++c<u;){if("\n"===(i=t.charAt(c))){c--;break}" "===i||"\t"===i?o+=i:(r+=o+i,o="")}if(l.column+=d.length,l.offset+=d.length,d+=r+o,i=t.charAt(++c),a=t.charAt(++c),"\n"===i&&("="===a||"-"===a)){for(d+=i,o=a,s="="===a?1:2;++c<u;){if((i=t.charAt(c))!==a){if("\n"!==i)return;c--;break}o+=i}return!!n||e(d+o)({type:"heading",depth:s,children:this.tokenizeInline(r,l)})}}},42680(e,t,n){"use strict";var r=n(65143).X;e.exports=function(e,t,n){for(var r,g,v,y,E,b,C,T=this.options.blocks.join("|"),k=new RegExp("^</?("+T+")(?=(\\s|/?>|$))","i"),A=t.length,x=0,D=[[o,i,!0],[a,s,!0],[l,u,!0],[c,d,!0],[f,p,!0],[k,h,!0],[m,h,!1]];x<A&&("\t"===(y=t.charAt(x))||" "===y);)x++;if("<"===t.charAt(x)){for(r=-1===(r=t.indexOf("\n",x+1))?A:r,g=t.slice(x,r),v=-1,E=D.length;++v<E;)if(D[v][0].test(g)){b=D[v];break}if(b){if(n)return b[2];if(x=r,!b[1].test(g))for(;x<A;){if(r=-1===(r=t.indexOf("\n",x+1))?A:r,g=t.slice(x+1,r),b[1].test(g)){g&&(x=r);break}x=r}return e(C=t.slice(0,x))({type:"html",value:C})}}};var o=/^<(script|pre|style)(?=(\s|>|$))/i,i=/<\/(script|pre|style)>/i,a=/^<!--/,s=/-->/,l=/^<\?/,u=/\?>/,c=/^<![A-Za-z]/,d=/>/,f=/^<!\[CDATA\[/,p=/\]\]>/,h=/^$/,m=new RegExp(r.source+"\\s*$")},89568(e,t,n){"use strict";var r=n(37295),o=n(73042),i=n(65143).T;e.exports=l,l.locator=o;var a=/^<a /i,s=/^<\/a>/i;function l(e,t,n){var o,l,u=this,c=t.length;if(!("<"!==t.charAt(0)||c<3)&&(o=t.charAt(1),(r(o)||"?"===o||"!"===o||"/"===o)&&(l=t.match(i))))return!!n||(l=l[0],!u.inLink&&a.test(l)?u.inLink=!0:u.inLink&&s.test(l)&&(u.inLink=!1),e(l)({type:"html",value:l}))}},20461(e,t,n){"use strict";var r=n(51498),o=n(65348);e.exports=l,l.locator=o;var i="(",a=")",s="\\";function l(e,t,n){var o,l,u,c,d,f,p,h,m,g,v,y,E,b,C,T,k,A,x=this,D="",S=0,_=t.charAt(0),w=x.options.pedantic,O=x.options.commonmark,N=x.options.gfm;if("!"===_&&(h=!0,D=_,_=t.charAt(++S)),"["===_&&(h||!x.inLink)){for(D+=_,b="",S++,v=t.length,E=0,(T=e.now()).column+=S,T.offset+=S;S<v;){if(f=_=t.charAt(S),"`"===_){for(l=1;"`"===t.charAt(S+1);)f+=_,S++,l++;u?l>=u&&(u=0):u=l}else if(_===s)S++,f+=t.charAt(S);else if(u&&!N||"["!==_){if((!u||N)&&"]"===_){if(!E){if(!w)for(;S<v&&(_=t.charAt(S+1),r(_));)f+=_,S++;if(t.charAt(S+1)!==i)return;f+=i,o=!0,S++;break}E--}}else E++;b+=f,f="",S++}if(o){for(m=b,D+=b+f,S++;S<v&&(_=t.charAt(S),r(_));)D+=_,S++;if(b="",c=D,"<"===(_=t.charAt(S))){for(S++,c+="<";S<v&&">"!==(_=t.charAt(S));){if(O&&"\n"===_)return;b+=_,S++}if(">"!==t.charAt(S))return;D+="<"+b+">",C=b,S++}else{for(_=null,f="";S<v&&(_=t.charAt(S),!f||!('"'===_||"'"===_||O&&_===i));){if(r(_)){if(!w)break;f+=_}else{if(_===i)E++;else if(_===a){if(0===E)break;E--}b+=f,f="",_===s&&(b+=s,_=t.charAt(++S)),b+=_}S++}C=b,S=(D+=b).length}for(b="";S<v&&(_=t.charAt(S),r(_));)b+=_,S++;if(_=t.charAt(S),D+=b,b&&('"'===_||"'"===_||O&&_===i))if(S++,b="",g=_===i?a:_,d=D+=_,O){for(;S<v&&(_=t.charAt(S))!==g;)_===s&&(b+=s,_=t.charAt(++S)),S++,b+=_;if((_=t.charAt(S))!==g)return;for(y=b,D+=b+_,S++;S<v&&(_=t.charAt(S),r(_));)D+=_,S++}else for(f="";S<v;){if((_=t.charAt(S))===g)p&&(b+=g+f,f=""),p=!0;else if(p){if(_===a){D+=b+g+f,y=b;break}r(_)?f+=_:(b+=g+f+_,f="",p=!1)}else b+=_;S++}if(t.charAt(S)===a)return!!n||(D+=a,C=x.decode.raw(x.unescape(C),e(c).test().end,{nonTerminated:!1}),y&&(d=e(d).test().end,y=x.decode.raw(x.unescape(y),d)),A={type:h?"image":"link",title:y||null,url:C},h?A.alt=x.decode.raw(x.unescape(m),T)||null:(k=x.enterLink(),A.children=x.tokenizeInline(m,T),k()),e(D)(A))}}}},3001(e,t,n){"use strict";var r=n(53098),o=n(45069),i=n(15364),a=n(45130),s=n(5252),l=n(14767);e.exports=function(e,t,n){for(var o,a,s,f,p,h,m,g,y,E,b,C,T,k,A,x,D,S,_,w,O,N,P=this,R=P.options.commonmark,B=P.options.pedantic,F=P.blockTokenizers,I=P.interruptList,M=0,L=t.length,j=null,H=0,U=!1;M<L;){if((s=t.charAt(M))===d)H+=4-H%4;else{if(s!==u)break;H++}M++}if(!(H>=4)){if("*"===(s=t.charAt(M))||"+"===s||"-"===s)f=s,a=!1;else{for(a=!0,o="";M<L&&(s=t.charAt(M),i(s));)o+=s,M++;if(s=t.charAt(M),!o||!("."===s||R&&")"===s))return;j=parseInt(o,10),f=s}if((s=t.charAt(++M))===u||s===d||!(B||s!==c&&""!==s)){if(n)return!0;for(M=0,T=[],k=[],A=[];M<L;){for(h=M,m=!1,N=!1,-1===(p=t.indexOf(c,M))&&(p=L),O=M+4,H=0;M<L;){if((s=t.charAt(M))===d)H+=4-H%4;else{if(s!==u)break;H++}M++}if(H>=4&&(N=!0),x&&H>=x.indent&&(N=!0),s=t.charAt(M),g=null,!N){if("*"===s||"+"===s||"-"===s)g=s,M++,H++;else{for(o="";M<L&&(s=t.charAt(M),i(s));)o+=s,M++;s=t.charAt(M),M++,o&&("."===s||R&&")"===s)&&(g=s,H+=o.length+1)}if(g)if((s=t.charAt(M))===d)H+=4-H%4,M++;else if(s===u){for(O=M+4;M<O&&t.charAt(M)===u;)M++,H++;M===O&&t.charAt(M)===u&&(M-=3,H-=3)}else s!==c&&""!==s&&(g=null)}if(g){if(!B&&f!==g)break;m=!0}else R||N||t.charAt(h)!==u?R&&x&&(N=H>=x.indent||H>4):N=!0,m=!1,M=h;if(E=t.slice(h,p),y=h===M?E:t.slice(M,p),("*"===g||"_"===g||"-"===g)&&F.thematicBreak.call(P,e,E,!0))break;if(b=C,C=!m&&!r(y).length,N&&x)x.value=x.value.concat(A,E),k=k.concat(A,E),A=[];else if(m)0!==A.length&&(U=!0,x.value.push(""),x.trail=A.concat()),x={value:[E],indent:H,trail:[]},T.push(x),k=k.concat(A,E),A=[];else if(C){if(b&&!R)break;A.push(E)}else{if(b)break;if(l(I,F,P,[e,E,!0]))break;x.value=x.value.concat(A,E),k=k.concat(A,E),A=[]}M=p+1}for(_=e(k.join(c)).reset({type:"list",ordered:a,start:j,spread:U,children:[]}),D=P.enterList(),S=P.enterBlock(),M=-1,L=T.length;++M<L;)x=T[M].value.join(c),w=e.now(),e(x)(v(P,x,w),_),x=T[M].trail.join(c),M!==L-1&&(x+=c),e(x);return D(),S(),_}}};var u=" ",c="\n",d="\t",f=/\n\n(?!\s*$)/,p=/^\[([ \t]|x|X)][ \t]/,h=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,m=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,g=/^( {1,4}|\t)?/gm;function v(e,t,n){var r,o,i=e.offset,a=null;return t=(e.options.pedantic?y:E).apply(null,arguments),e.options.gfm&&(r=t.match(p))&&(o=r[0].length,a="x"===r[1].toLowerCase(),i[n.line]+=o,t=t.slice(o)),{type:"listItem",spread:f.test(t),checked:a,children:e.tokenizeBlock(t,n)}}function y(e,t,n){var r=e.offset,o=n.line;return t=t.replace(m,i),o=n.line,t.replace(g,i);function i(e){return r[o]=(r[o]||0)+e.length,o++,""}}function E(e,t,n){var r,i,l,d,f,p,m,g=e.offset,v=n.line;for(d=(t=t.replace(h,function(e,t,n,a,s){return i=t+n+a,l=s,Number(n)<10&&i.length%2==1&&(n=u+n),(r=t+o(u,n.length)+a)+l})).split(c),(f=s(t,a(r).indent).split(c))[0]=l,g[v]=(g[v]||0)+i.length,v++,p=0,m=d.length;++p<m;)g[v]=(g[v]||0)+d[p].length-f[p].length,v++;return f.join(c)}},85377(e,t,n){"use strict";var r=n(51498);e.exports=function(e,t,n){var o,i,a,s,l=t.charAt(0);if("\n"===l){if(n)return!0;for(s=1,o=t.length,i=l,a="";s<o&&(l=t.charAt(s),r(l));)a+=l,"\n"===l&&(i+=a,a=""),s++;e(i)}}},78335(e,t,n){"use strict";var r=n(53098),o=n(15364),i=n(31587),a=n(14767);e.exports=function(e,t,n){for(var l,u,c,d,f,p=this,h=p.options,m=h.commonmark,g=h.gfm,v=p.blockTokenizers,y=p.interruptParagraph,E=t.indexOf(s),b=t.length;E<b;){if(-1===E){E=b;break}if(t.charAt(E+1)===s)break;if(m){for(d=0,l=E+1;l<b;){if("\t"===(c=t.charAt(l))){d=4;break}if(" "!==c)break;d++,l++}if(d>=4&&c!==s){E=t.indexOf(s,E+1);continue}}if(u=t.slice(E+1),a(y,v,p,[e,u,!0]))break;if(v.list.call(p,e,u,!0)&&(p.inList||m||g&&!o(r.left(u).charAt(0))))break;if(l=E,-1!==(E=t.indexOf(s,E+1))&&""===r(t.slice(l,E))){E=l;break}}return u=t.slice(0,E),""===r(u)?(e(u),null):!!n||(f=e.now(),e(u=i(u))({type:"paragraph",children:p.tokenizeInline(u,f)}))};var s="\n"},18956(e,t,n){"use strict";var r=n(51498),o=n(65348),i=n(19712);e.exports=p,p.locator=o;var a="link",s="image",l="footnote",u="full",c="[",d="\\",f="]";function p(e,t,n){var o,p,h,m,g,v,y,E,b=this,C=b.options.commonmark,T=t.charAt(0),k=0,A=t.length,x="",D="",S=a,_="shortcut";if("!"===T&&(S=s,D=T,T=t.charAt(++k)),T===c){if(k++,D+=T,v="",b.options.footnotes&&"^"===t.charAt(k)){if(S===s)return;D+="^",k++,S=l}for(E=0;k<A;){if((T=t.charAt(k))===c)y=!0,E++;else if(T===f){if(!E)break;E--}T===d&&(v+=d,T=t.charAt(++k)),v+=T,k++}if(x=v,o=v,(T=t.charAt(k))===f){if(k++,x+=T,v="",!C)for(;k<A&&(T=t.charAt(k),r(T));)v+=T,k++;if(T=t.charAt(k),S!==l&&T===c){for(p="",v+=T,k++;k<A&&(T=t.charAt(k))!==c&&T!==f;)T===d&&(p+=d,T=t.charAt(++k)),p+=T,k++;(T=t.charAt(k))===f?(_=p?u:"collapsed",v+=p+T,k++):p="",x+=v,v=""}else{if(!o)return;p=o}if(_===u||!y)return x=D+x,S===a&&b.inLink?null:!!n||(S===l&&-1!==o.indexOf(" ")?e(x)({type:l,children:this.tokenizeInline(o,e.now())}):((h=e.now()).column+=D.length,h.offset+=D.length,m={type:S+"Reference",identifier:i(p=_===u?p:o),label:p},S!==a&&S!==s||(m.referenceType=_),S===a?(g=b.enterLink(),m.children=b.tokenizeInline(o,h),g()):S===s&&(m.alt=b.decode.raw(b.unescape(o),h)||null),e(x)(m)))}}}},29222(e,t,n){"use strict";var r=n(53098),o=n(51498),i=n(95347);function a(e,t,n){var i,a,s,l,u,c,d,f=0,p=t.charAt(f);if(!("*"!==p&&"_"!==p||t.charAt(++f)!==p||(a=this.options.pedantic,u=(s=p)+s,c=t.length,f++,l="",p="",a&&o(t.charAt(f)))))for(;f<c;){if(d=p,!((p=t.charAt(f))!==s||t.charAt(f+1)!==s||a&&o(d))&&(p=t.charAt(f+2))!==s){if(!r(l))return;return!!n||((i=e.now()).column+=2,i.offset+=2,e(u+l+u)({type:"strong",children:this.tokenizeInline(l,i)}))}a||"\\"!==p||(l+=p,p=t.charAt(++f)),l+=p,f++}}e.exports=a,a.locator=i},71617(e,t,n){"use strict";var r=n(51498);e.exports=function(e,t,n){var a,s,l,u,c,d,f,p,h,m,g,v,y,E,b,C,T,k,A,x,D,S,_,w;if(this.options.gfm){for(a=0,k=0,d=t.length+1,f=[];a<d;){if(S=t.indexOf(o,a),_=t.indexOf("|",a+1),-1===S&&(S=t.length),-1===_||_>S){if(k<2)return;break}f.push(t.slice(a,S)),k++,a=S+1}for(u=f.join(o),a=0,d=(s=f.splice(1,1)[0]||[]).length,k--,l=!1,g=[];a<d;){if("|"===(h=s.charAt(a))){if(m=null,!1===l){if(!1===w)return}else g.push(l),l=!1;w=!1}else if("-"===h)m=!0,l=l||null;else if(":"===h)l=l===i?"center":m&&null===l?"right":i;else if(!r(h))return;a++}if(!1!==l&&g.push(l),!(g.length<1)){if(n)return!0;for(T=-1,x=[],D=e(u).reset({type:"table",align:g,children:x});++T<k;){for(A=f[T],c={type:"tableRow",children:[]},T&&e(o),e(A).reset(c,D),d=A.length+1,a=0,p="",v="",y=!0,E=null,b=null;a<d;)if("\t"!==(h=A.charAt(a))&&" "!==h){if(""===h||"|"===h)if(y)e(h);else{if(h&&b){p+=h,a++;continue}!v&&!h||y||(u=v,p.length>1&&(h?(u+=p.slice(0,p.length-1),p=p.charAt(p.length-1)):(u+=p,p="")),C=e.now(),e(u)({type:"tableCell",children:this.tokenizeInline(v,C)},c)),e(p+h),p="",v=""}else if(p&&(v+=p,p=""),v+=h,"\\"===h&&a!==d-2&&(v+=A.charAt(a+1),a++),"`"===h){for(E=1;A.charAt(a+1)===h;)v+=h,a++,E++;b?E>=b&&(b=0):b=E}y=!1,a++}else v?p+=h:e(h),a++;T||e(o+s)}return D}}};var o="\n",i="left"},16394(e){"use strict";e.exports=function(e,t,n){var r,o,i,a,s,l,u,c,d,f,p=this;if(n)return!0;for(a=(r=p.inlineMethods).length,o=p.inlineTokenizers,i=-1,d=t.length;++i<a;)"text"!==(c=r[i])&&o[c]&&((u=o[c].locator)||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(p,t,1))&&l<d&&(d=l));s=t.slice(0,d),f=e.now(),p.decode(s,f,function(t,n,r){e(r||t)({type:"text",value:t})})}},77576(e){"use strict";e.exports=function(e,t,n){for(var r,o,i,a,s=-1,l=t.length+1,u="";++s<l&&("\t"===(r=t.charAt(s))||" "===r);)u+=r;if("*"===r||"-"===r||"_"===r)for(o=r,u+=r,i=1,a="";++s<l;)if((r=t.charAt(s))===o)i++,u+=a+o,a="";else{if(" "!==r)return i>=3&&(!r||"\n"===r)?(u+=a,!!n||e(u)({type:"thematicBreak"})):void 0;a+=r}}},19704(e,t,n){"use strict";var r=n(19632),o=n(51498),i=n(1859);e.exports=u,u.locator=i,u.notInLink=!0;var a="mailto:",s=["http://","https://",a],l=s.length;function u(e,t,n){var i,u,c,d,f,p,h,m,g,v,y,E,b,C=this;if(C.options.gfm){for(i="",d=-1;++d<l;)if(p=s[d],(h=t.slice(0,p.length)).toLowerCase()===p){i=h;break}if(i){for(d=i.length,m=t.length,g="",v=0;d<m&&(c=t.charAt(d),!o(c)&&"<"!==c)&&("."!==c&&","!==c&&":"!==c&&";"!==c&&'"'!==c&&"'"!==c&&")"!==c&&"]"!==c||(y=t.charAt(d+1))&&!o(y))&&("("!==c&&"["!==c||v++,")"!==c&&"]"!==c||!(--v<0));)g+=c,d++;if(g){if(u=i+=g,p===a){if(-1===(f=g.indexOf("@"))||f===m-1)return;u=u.substr(7)}return!!n||(b=C.enterLink(),E=C.inlineTokenizers,C.inlineTokenizers={text:E.text},u=C.tokenizeInline(u,e.now()),C.inlineTokenizers=E,b(),e(i)({type:"link",title:null,url:r(i,{nonTerminated:!1}),children:u}))}}}}},11010(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,l,u,c,d=this,f=d.offset,p=[],h=d[e+"Methods"],m=d[e+"Tokenizers"],g=i.line,v=i.column;if(!o)return p;for(C.now=E,C.file=d.file,y("");o;){for(a=-1,s=h.length,u=!1;++a<s&&(!(l=m[h[a]])||l.onlyAtStart&&!d.atStart||l.notInList&&d.inList||l.notInBlock&&d.inBlock||l.notInLink&&d.inLink||(c=o.length,l.apply(d,[C,o]),!(u=c!==o.length))););u||d.file.fail(new Error("Infinite loop"),C.now())}return d.eof=E(),p;function y(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 f&&(-1!==t?v+=f[g]:v<=f[g]&&(v=f[g]+1))}function E(){var e={line:g,column:v};return e.offset=d.toOffset(e),e}function b(e){this.start=e,this.end=E()}function C(e){var i,a=function(){var e=[],t=g+1;return function(){for(var n=g+1;t<n;)e.push((f[t]||0)+1),t++;return e}}(),s=(i=E(),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 b(r),n&&t&&n.indent){if(o=n.indent,a<s){for(;++a<s;)o.push((f[a]||0)+1);o.push(i.column)}t=o.concat(t)}return e.position.indent=t||[],e}),l=E();return function(e){o.substring(0,e.length)!==e&&d.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),E())}(e),u.reset=c,c.test=h,u.test=h,o=o.substring(e.length),y(e),a=a(),u;function u(e,o){return s(function(e,o){var i=o?o.children:p,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(d,a,e)),e!==a&&i.push(e),d.atStart&&0!==p.length&&d.exitStart(),e}(s(e),o),a)}function c(){var t=u.apply(null,arguments);return g=l.line,v=l.column,o=e+o,t}function h(){var t=s({});return g=l.line,v=l.column,o=e+o,t.position}}}}},83375(e){"use strict";e.exports=function(e,n){return function(r){for(var o,i=0,a=r.indexOf(t),s=e[n],l=[];-1!==a;)l.push(r.slice(i,a)),i=a+1,(o=r.charAt(i))&&-1!==s.indexOf(o)||l.push(t),a=r.indexOf(t,i+1);return l.push(r.slice(i)),l.join("")}};var t="\\"},45130(e){"use strict";e.exports=function(e){for(var t,n=0,r=0,o=e.charAt(n),i={};"\t"===o||" "===o;)r+=t="\t"===o?4:1,t>1&&(r=Math.floor(r/t)*t),i[r]=n,o=e.charAt(++n);return{indent:r,stops:i}}},65143(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.X=new RegExp("^(?:"+n+"|"+r+")"),t.T=new RegExp("^(?:"+n+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)")},14767(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}},19712(e,t,n){"use strict";var r=n(3470);e.exports=function(e){return r(e).toLowerCase()}},5252(e,t,n){"use strict";var r=n(53098),o=n(45069),i=n(45130);e.exports=function(e,t){var n,a,s,l,u=e.split("\n"),c=u.length+1,d=1/0,f=[];for(u.unshift(o(" ",t)+"!");c--;)if(a=i(u[c]),f[c]=a.stops,0!==r(u[c]).length){if(!a.indent){d=1/0;break}a.indent>0&&a.indent<d&&(d=a.indent)}if(d!==1/0)for(c=u.length;c--;){for(s=f[c],n=d;n&&!(n in s);)n--;l=0!==r(u[c]).length&&d&&n!==d?"\t":"",u[c]=l+u[c].slice(n in s?s[n]+1:0)}return u.shift(),u.join("\n")}},13025(e,t,n){"use strict";var r=n(75410);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)}},44119(t){"use strict";t.exports=e},89545(e){"use strict";e.exports=a},48110(e){"use strict";e.exports=o},2522(e){"use strict";e.exports=r},18630(e){"use strict";e.exports=n},17434(e){"use strict";e.exports=t},86171(e){"use strict";e.exports=i},64822(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":"€"}')},80414(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":"ÿ"}')},61492(e){"use strict";e.exports=JSON.parse('{"0":"�","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":"Ÿ"}')},5810(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"]')},14169(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"]')},78841(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"}}')},56278(e){"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},90849(e){"use strict";e.exports=JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]')},92712(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/"}')}},l={};function u(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,loaded:!1,exports:{}};return s[e](n,n.exports,u),n.loaded=!0,n.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var c={};return(()=>{"use strict";u.d(c,{DecapCmsWidgetMarkdown:()=>Nd});var e=u(44119),t=u.n(e),n=u(17434),r=u.n(n),o=u(18630),i=u.n(o),a=u(2522);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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(null,arguments)}var l=u(48110),d={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,scale: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};function f(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var p=/[A-Z]|^ms/g,h=/_EMO_([^_]+?)_([^]*?)_EMO_/g,m=function(e){return 45===e.charCodeAt(1)},g=function(e){return null!=e&&"boolean"!=typeof e},v=f(function(e){return m(e)?e:e.replace(p,"-$&").toLowerCase()}),y=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(h,function(e,t,n){return b={name:t,styles:n,next:b},t})}return 1===d[e]||m(e)||"number"!=typeof t||0===t?t:t+"px"};function E(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return b={name:o.name,styles:o.styles,next:b},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)b={name:a.name,styles:a.styles,next:b},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=E(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":g(s)&&(r+=v(i)+":"+y(i,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=E(e,t,a);switch(i){case"animation":case"animationName":r+=v(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var u=0;u<a.length;u++)g(a[u])&&(r+=v(i)+":"+y(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=b,l=n(e);return b=s,E(e,t,l)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var b,C=/label:\s*([^\s;{]+)\s*(;|$)/g,T=!!e.useInsertionEffect&&e.useInsertionEffect,k=T||function(e){return e()};T||e.useLayoutEffect;var A=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},x=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,D=f(function(e){return x.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),S=function(e){return"theme"!==e},_=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?D:S},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},O=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return A(t,n,r),k(function(){return function(e,t,n){A(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},N=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 c=w(n,r,a),d=c||_(u),f=!d("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{var m=p[0];h.push(m[0]);for(var g=p.length,v=1;v<g;v++)h.push(p[v],m[v])}var y=(0,l.withEmotionCache)(function(t,n,r){var o,a,s,p,m=f&&t.as||u,g="",v=[],y=t;if(null==t.theme){for(var T in y={},t)y[T]=t[T];y.theme=e.useContext(l.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]+";"):e&&(p+=e+" ")}),g=p):null!=t.className&&(g=t.className+" ");var k=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+=E(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=E(n,t,e[a]),r&&(o+=i[a]);C.lastIndex=0;for(var s,l="";null!==(s=C.exec(o));)l+="-"+s[1];var u=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)+l;return{name:u,styles:o,next:b}}(h.concat(v),n.registered,y);g+=n.key+"-"+k.name,void 0!==i&&(g+=" "+i);var A=f&&void 0===c?_(m):d,x={};for(var D in t)f&&"as"===D||A(D)&&(x[D]=t[D]);return x.className=g,r&&(x.ref=r),e.createElement(e.Fragment,null,e.createElement(O,{cache:n,serialized:k,isStringTag:"string"==typeof m}),e.createElement(m,x))});return y.displayName=void 0!==o?o:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",y.defaultProps=n.defaultProps,y.__emotion_real=y,y.__emotion_base=u,y.__emotion_styles=h,y.__emotion_forwardProp=c,Object.defineProperty(y,"toString",{value:function(){return"."+i}}),y.withComponent=function(e,n){return t(e,s({},r,n,{shouldForwardProp:w(y,n,!0)})).apply(void 0,h)},y}},P=u(86171),R=Symbol.for("immer-nothing"),B=Symbol.for("immer-draftable"),F=Symbol.for("immer-state");function I(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var M=Object.getPrototypeOf;function L(e){return!!e&&!!e[F]}function j(e){return!!e&&(z(e)||Array.isArray(e)||!!e[B]||!!e.constructor?.[B]||$(e)||V(e))}var H=Object.prototype.constructor.toString(),U=new WeakMap;function z(e){if(!e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if("function"!=typeof n)return!1;let r=U.get(n);return void 0===r&&(r=Function.toString.call(n),U.set(n,r)),r===H}function G(e,t,n=!0){0===W(e)?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function W(e){const t=e[F];return t?t.type_:Array.isArray(e)?1:$(e)?2:V(e)?3:0}function K(e,t){return 2===W(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function q(e,t,n){const r=W(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function $(e){return e instanceof Map}function V(e){return e instanceof Set}function Y(e){return e.copy_||e.base_}function X(e,t){if($(e))return new Map(e);if(V(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=z(e);if(!0===t||"class_only"===t&&!n){const t=Object.getOwnPropertyDescriptors(e);delete t[F];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const 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(M(e),t)}{const t=M(e);if(null!==t&&n)return{...e};const r=Object.create(t);return Object.assign(r,e)}}function Q(e,t=!1){return Z(e)||L(e)||!j(e)||(W(e)>1&&Object.defineProperties(e,{set:J,add:J,clear:J,delete:J}),Object.freeze(e),t&&Object.values(e).forEach(e=>Q(e,!0))),e}var J={value:function(){I(2)}};function Z(e){return null===e||"object"!=typeof e||Object.isFrozen(e)}var ee,te={};function ne(e){const t=te[e];return t||I(0),t}function re(){return ee}function oe(e,t){t&&(ne("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ie(e){ae(e),e.drafts_.forEach(le),e.drafts_=null}function ae(e){e===ee&&(ee=e.parent_)}function se(e){return ee={drafts_:[],parent_:ee,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function le(e){const t=e[F];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function ue(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[F].modified_&&(ie(t),I(4)),j(e)&&(e=ce(t,e),t.parent_||fe(t,e)),t.patches_&&ne("Patches").generateReplacementPatches_(n[F].base_,e,t.patches_,t.inversePatches_)):e=ce(t,n,[]),ie(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==R?e:void 0}function ce(e,t,n){if(Z(t))return t;const r=e.immer_.shouldUseStrictIteration(),o=t[F];if(!o)return G(t,(r,i)=>de(e,o,t,r,i,n),r),t;if(o.scope_!==e)return t;if(!o.modified_)return fe(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const t=o.copy_;let i=t,a=!1;3===o.type_&&(i=new Set(t),t.clear(),a=!0),G(i,(r,i)=>de(e,o,t,r,i,n,a),r),fe(e,t,!1),n&&e.patches_&&ne("Patches").generatePatches_(o,n,e.patches_,e.inversePatches_)}return o.copy_}function de(e,t,n,r,o,i,a){if(null==o)return;if("object"!=typeof o&&!a)return;const s=Z(o);if(!s||a){if(L(o)){const a=ce(e,o,i&&t&&3!==t.type_&&!K(t.assigned_,r)?i.concat(r):void 0);if(q(n,r,a),!L(a))return;e.canAutoFreeze_=!1}else a&&n.add(o);if(j(o)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;if(t&&t.base_&&t.base_[r]===o&&s)return;ce(e,o),t&&t.scope_.parent_||"symbol"==typeof r||!($(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))||fe(e,o)}}}function fe(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Q(t,n)}var pe={get(e,t){if(t===F)return e;const n=Y(e);if(!K(n,t))return function(e,t,n){const r=ge(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!j(r)?r:r===me(e.base_,t)?(ye(e),e.copy_[t]=Ee(r,e)):r},has:(e,t)=>t in Y(e),ownKeys:e=>Reflect.ownKeys(Y(e)),set(e,t,n){const r=ge(Y(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=me(Y(e),t),a=r?.[F];if(a&&a.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((o=n)===(i=r)?0!==o||1/o==1/i:o!=o&&i!=i)&&(void 0!==n||K(e.base_,t)))return!0;ye(e),ve(e)}var o,i;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==me(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,ye(e),ve(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=Y(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){I(11)},getPrototypeOf:e=>M(e.base_),setPrototypeOf(){I(12)}},he={};function me(e,t){const n=e[F];return(n?Y(n):e)[t]}function ge(e,t){if(!(t in e))return;let n=M(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=M(n)}}function ve(e){e.modified_||(e.modified_=!0,e.parent_&&ve(e.parent_))}function ye(e){e.copy_||(e.copy_=X(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function Ee(e,t){const n=$(e)?ne("MapSet").proxyMap_(e,t):V(e)?ne("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:re(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=pe;n&&(o=[r],i=he);const{revoke:a,proxy:s}=Proxy.revocable(o,i);return r.draft_=s,r.revoke_=a,s}(e,t);return(t?t.scope_:re()).drafts_.push(n),n}function be(e){if(!j(e)||Z(e))return e;const t=e[F];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=X(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=X(e,!0);return G(n,(e,t)=>{q(n,e,be(t))},r),t&&(t.finalized_=!1),n}G(pe,(e,t)=>{he[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),he.deleteProperty=function(e,t){return he.set.call(this,e,t,void 0)},he.set=function(e,t,n){return pe.set.call(this,e[0],t,n,e[0])};var Ce=(new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){const n=t;t=e;const r=this;return function(e=n,...o){return r.produce(e,e=>t.call(this,e,...o))}}let r;if("function"!=typeof t&&I(6),void 0!==n&&"function"!=typeof n&&I(7),j(e)){const o=se(this),i=Ee(e,void 0);let a=!0;try{r=t(i),a=!1}finally{a?ie(o):ae(o)}return oe(o,n),ue(r,o)}if(!e||"object"!=typeof e){if(r=t(e),void 0===r&&(r=e),r===R&&(r=void 0),this.autoFreeze_&&Q(r,!0),n){const t=[],o=[];ne("Patches").generateReplacementPatches_(e,r,t,o),n(t,o)}return r}I(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"==typeof e?.useStrictIteration&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;j(e)||I(8),L(e)&&(L(t=e)||I(10),e=be(t));const n=se(this),r=Ee(e,void 0);return r[F].isManual_=!0,ae(n),r}finishDraft(e,t){const n=e&&e[F];n&&n.isManual_||I(9);const{scope_:r}=n;return oe(r,t),ue(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));const r=ne("Patches").applyPatches_;return L(e)?r(e,t):this.produce(e,e=>r(e,t))}}).produce,Te={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Pe.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},ke={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=ct.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},Ae={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Qe.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}},xe=new WeakMap,De=new WeakMap,Se=new WeakMap,_e=new WeakMap,we=new WeakMap,Oe=new WeakMap,Ne=new WeakMap,Pe={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=Pe.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 Pe.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return Pe.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 Pe.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===Pe.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===Pe.compare(e,t),isBefore:(e,t)=>-1===Pe.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===Pe.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===Pe.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===Pe.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===Pe.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]&&Pe.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(!Pe.isAncestor(t,e)&&!Pe.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;(Pe.equals(i,r)||Pe.endsBefore(i,r)||Pe.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Pe.equals(a,r)||Pe.isAncestor(a,r))return null;Pe.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;Pe.equals(s,r)||Pe.endsBefore(s,r)?r[s.length-1]-=1:Pe.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=l);break;case"split_node":var{path:u,position:c}=t;if(Pe.equals(u,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else Pe.endsBefore(u,r)?r[u.length-1]+=1:Pe.isAncestor(u,r)&&e[u.length]>=c&&(r[u.length-1]+=1,r[u.length]-=c);break;case"move_node":var{path:d,newPath:f}=t;if(Pe.equals(d,f))return r;if(Pe.isAncestor(d,r)||Pe.equals(d,r)){var p=f.slice();return Pe.endsBefore(d,f)&&d.length<f.length&&(p[d.length-1]-=1),p.concat(r.slice(d.length))}Pe.isSibling(d,f)&&(Pe.isAncestor(f,r)||Pe.equals(f,r))?Pe.endsBefore(d,r)?r[d.length-1]-=1:r[d.length-1]+=1:Pe.endsBefore(f,r)||Pe.equals(f,r)||Pe.isAncestor(f,r)?(Pe.endsBefore(d,r)&&(r[d.length-1]-=1),r[f.length-1]+=1):Pe.endsBefore(d,r)&&(Pe.equals(f,r)&&(r[f.length-1]+=1),r[d.length-1]-=1)}return r}};function Re(e){return Re="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},Re(e)}function Be(e,t,n){return(t=function(e){var t=function(e){if("object"!==Re(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Re(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Re(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fe(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 Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Me=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return[...e.slice(0,t),...r,...e.slice(t)]},Le=function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return[...e.slice(0,t),...o,...e.slice(t+n)]},je=Le,He=(e,t,n)=>{if(0===t.length)throw new Error("Cannot modify the editor");for(var r=nt.get(e,t),o=t.slice(),i=n(r);o.length>1;){var a=o.pop(),s=nt.get(e,o);i=Ie(Ie({},s),{},{children:Le(s.children,a,1,i)})}var l=o.pop();e.children=Le(e.children,l,1,i)},Ue=(e,t,n)=>{0===t.length?e.children=n(e.children):He(e,t,e=>{if(yt.isText(e))throw new Error("Cannot get the element at path [".concat(t,"] because it refers to a leaf node: ").concat(ft.stringify(e)));return Ie(Ie({},e),{},{children:n(e.children)})})},ze=(e,t,n)=>He(e,t,e=>{if(!yt.isText(e))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ft.stringify(e)));return n(e)}),Ge={transform(e,t){var n=!1;switch(t.type){case"insert_node":var{path:r,node:o}=t;Ue(e,Pe.parent(r),e=>{var t=r[r.length-1];if(t>e.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));return Me(e,t,o)}),n=!0;break;case"insert_text":var{path:i,offset:a,text:s}=t;if(0===s.length)break;ze(e,i,e=>{var t=e.text.slice(0,a),n=e.text.slice(a);return Ie(Ie({},e),{},{text:t+s+n})}),n=!0;break;case"merge_node":var{path:l}=t,u=l[l.length-1],c=Pe.previous(l),d=c[c.length-1];Ue(e,Pe.parent(l),e=>{var t,n=e[u],r=e[d];if(yt.isText(n)&&yt.isText(r))t=Ie(Ie({},r),{},{text:r.text+n.text});else{if(yt.isText(n)||yt.isText(r))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(l,"] to nodes of different interfaces: ").concat(ft.stringify(n)," ").concat(ft.stringify(r)));t=Ie(Ie({},r),{},{children:r.children.concat(n.children)})}return Le(e,d,2,t)}),n=!0;break;case"move_node":var{path:f,newPath:p}=t,h=f[f.length-1];if(Pe.isAncestor(f,p))throw new Error("Cannot move a path [".concat(f,"] to new path [").concat(p,"] because the destination is inside itself."));var m=nt.get(e,f);Ue(e,Pe.parent(f),e=>je(e,h,1));var g=Pe.transform(f,t),v=g[g.length-1];Ue(e,Pe.parent(g),e=>Me(e,v,m)),n=!0;break;case"remove_node":var{path:y}=t,E=y[y.length-1];if(Ue(e,Pe.parent(y),e=>je(e,E,1)),e.selection){var b=Ie({},e.selection);for(var[C,T]of Qe.points(b)){var k=ct.transform(C,t);if(null!=b&&null!=k)b[T]=k;else{var A=void 0,x=void 0;for(var[D,S]of nt.texts(e)){if(-1!==Pe.compare(S,y)){x=[D,S];break}A=[D,S]}var _=!1;A&&x&&(_=!Pe.isSibling(A[1],y)&&(!!Pe.equals(x[1],y)||Pe.common(A[1],y).length<Pe.common(x[1],y).length)),A&&!_?b[T]={path:A[1],offset:A[0].text.length}:x?b[T]={path:x[1],offset:0}:b=null}}b&&Qe.equals(b,e.selection)||(e.selection=b)}break;case"remove_text":var{path:w,offset:O,text:N}=t;if(0===N.length)break;ze(e,w,e=>{var t=e.text.slice(0,O),n=e.text.slice(O+N.length);return Ie(Ie({},e),{},{text:t+n})}),n=!0;break;case"set_node":var{path:P,properties:R,newProperties:B}=t;if(0===P.length)throw new Error("Cannot set properties on the root node!");He(e,P,e=>{var t=Ie({},e);for(var n in B){if("children"===n||"text"===n)throw new Error('Cannot set the "'.concat(n,'" property of nodes!'));var r=B[n];null==r?delete t[n]:t[n]=r}for(var o in R)B.hasOwnProperty(o)||delete t[o];return t});break;case"set_selection":var{newProperties:F}=t;if(null==F){e.selection=null;break}if(null==e.selection){if(!Qe.isRange(F))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(ft.stringify(F)," when there is no current selection."));e.selection=Ie({},F);break}var I=Ie({},e.selection);for(var M in F){var L=F[M];if(null==L){if("anchor"===M||"focus"===M)throw new Error('Cannot remove the "'.concat(M,'" selection property'));delete I[M]}else I[M]=L}e.selection=I;break;case"split_node":var{path:j,position:H,properties:U}=t,z=j[j.length-1];if(0===j.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(j,"] because the root node cannot be split."));Ue(e,Pe.parent(j),e=>{var t,n,r=e[z];if(yt.isText(r)){var o=r.text.slice(0,H),i=r.text.slice(H);t=Ie(Ie({},r),{},{text:o}),n=Ie(Ie({},U),{},{text:i})}else{var a=r.children.slice(0,H),s=r.children.slice(H);t=Ie(Ie({},r),{},{children:a}),n=Ie(Ie({},U),{},{children:s})}return Le(e,z,1,t,n)}),n=!0}if(n&&e.selection){var G=Ie({},e.selection);for(var[W,K]of Qe.points(G))G[K]=ct.transform(W,t);Qe.equals(G,e.selection)||(e.selection=G)}}},We={insertNodes(e,t,n){e.insertNodes(t,n)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,n){e.setNodes(t,n)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,n){e.unsetNodes(t,n)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,n){e.wrapNodes(t,n)}},Ke={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,n){e.setPoint(t,n)},setSelection(e,t){e.setSelection(t)}},qe=e=>"object"==typeof e&&null!==e,$e=(e,t)=>{for(var n in e){var r=e[n],o=t[n];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(qe(r)&&qe(o)){if(!$e(r,o))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};function Ve(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 Ye=["anchor","focus"];function Xe(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 Qe={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return Qe.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=Qe.edges(e);return t},equals:(e,t)=>ct.equals(e.anchor,t.anchor)&&ct.equals(e.focus,t.focus),surrounds(e,t){var n=Qe.intersection(e,t);return!!n&&Qe.equals(n,t)},includes(e,t){if(Qe.isRange(t)){if(Qe.includes(e,t.anchor)||Qe.includes(e,t.focus))return!0;var[n,r]=Qe.edges(e),[o,i]=Qe.edges(t);return ct.isBefore(n,o)&&ct.isAfter(r,i)}var[a,s]=Qe.edges(e),l=!1,u=!1;return ct.isPoint(t)?(l=ct.compare(t,a)>=0,u=ct.compare(t,s)<=0):(l=Pe.compare(t,a.path)>=0,u=Pe.compare(t,s.path)<=0),l&&u},intersection(e,t){var n=Ve(e,Ye),[r,o]=Qe.edges(e),[i,a]=Qe.edges(t),s=ct.isBefore(r,i)?i:r,l=ct.isBefore(o,a)?o:a;return ct.isBefore(l,s)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({anchor:s,focus:l},n)},isBackward(e){var{anchor:t,focus:n}=e;return ct.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return ct.equals(t,n)},isExpanded:e=>!Qe.isCollapsed(e),isForward:e=>!Qe.isBackward(e),isRange:e=>qe(e)&&ct.isPoint(e.anchor)&&ct.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=Qe.edges(e);return t},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null===e)return null;var r,o,{affinity:i="inward"}=n;if("inward"===i){var a=Qe.isCollapsed(e);Qe.isForward(e)?(r="forward",o=a?r:"backward"):(r="backward",o=a?r:"forward")}else"outward"===i?Qe.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i);var s=ct.transform(e.anchor,t,{affinity:r}),l=ct.transform(e.focus,t,{affinity:o});return s&&l?{anchor:s,focus:l}:null}},Je=function(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!qe(e)&&"function"!=typeof e.apply&&(t?nt.isNodeList(e.children):Array.isArray(e.children))},Ze={isAncestor(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return qe(e)&&nt.isNodeList(e.children,{deep:t})},isElement:Je,isElementList(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)&&e.every(e=>Ze.isElement(e,{deep:t}))},isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return Je(e)&&e[n]===t},matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},et=["children"],tt=["text"],nt={ancestor(e,t){var n=nt.get(e,t);if(yt.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(ft.stringify(n)));return n},ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of Pe.ancestors(t,n)){var o=[nt.ancestor(e,r),r];yield o}}()},child(e,t){if(yt.isText(e))throw new Error("Cannot get the child of a text node: ".concat(ft.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(ft.stringify(e)));return n},children(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var{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),l=t.concat(a);yield[s,l],a=r?a-1:a+1}}()},common(e,t,n){var r=Pe.common(t,n);return[nt.get(e,r),r]},descendant(e,t){var n=nt.get(e,t);if(at.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(ft.stringify(n)));return n},descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){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]:{};return function*(){for(var[n,r]of nt.nodes(e,t))Ze.isElement(n)&&(yield[n,r])}()},extractProps:e=>Ze.isAncestor(e)?Ve(e,et):Ve(e,tt),first(e,t){for(var n=t.slice(),r=nt.get(e,n);r&&!yt.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){var n=Ce({children:e.children},e=>{var[n,r]=Qe.edges(t),o=nt.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!Qe.includes(t,n)}});for(var[,i]of o){if(!Qe.includes(t,i)){var a=nt.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(Pe.equals(i,r.path)){var l=nt.leaf(e,i);l.text=l.text.slice(0,r.offset)}if(Pe.equals(i,n.path)){var u=nt.leaf(e,i);u.text=u.text.slice(n.offset)}}at.isEditor(e)&&(e.selection=null)});return n.children},get(e,t){var n=nt.getIf(e,t);if(void 0===n)throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(ft.stringify(e)));return n},getIf(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(yt.isText(n)||!n.children[o])return;n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(yt.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return yt.isText(e)||Ze.isElement(e,{deep:t})||at.isEditor(e,{deep:t})},isNodeList(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)&&e.every(e=>nt.isNode(e,{deep:t}))},last(e,t){for(var n=t.slice(),r=nt.get(e,n);r&&!yt.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(!yt.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(ft.stringify(n)));return n},levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var r of Pe.levels(t,n)){var o=nt.get(e,r);yield[o,r]}}()},matches:(e,t)=>Ze.isElement(e)&&Ze.isElementProps(t)&&Ze.matches(e,t)||yt.isText(e)&&yt.isTextProps(t)&&yt.matches(e,t),nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],l=e;!i||!(r?Pe.isBefore(s,i):Pe.isAfter(s,i));)if(a.has(l)||(yield[l,s]),a.has(l)||yt.isText(l)||0===l.children.length||null!=n&&!1!==n([l,s])){if(0===s.length)break;if(!r){var u=Pe.next(s);if(nt.has(e,u)){s=u,l=nt.get(e,s);continue}}r&&0!==s[s.length-1]?(s=Pe.previous(s),l=nt.get(e,s)):(s=Pe.parent(s),l=nt.get(e,s),a.add(l))}else{a.add(l);var c=r?l.children.length-1:0;Pe.isAncestor(s,o)&&(c=o[s.length]),s=s.concat(c),l=nt.get(e,s)}}()},parent(e,t){var n=Pe.parent(t),r=nt.get(e,n);if(yt.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=>yt.isText(e)?e.text:e.children.map(nt.string).join(""),texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[n,r]of nt.nodes(e,t))yt.isText(n)&&(yield[n,r])}()}};function rt(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 ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var it={isNodeOperation:e=>it.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!qe(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Pe.isPath(e.path)&&nt.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Pe.isPath(e.path);case"merge_node":return"number"==typeof e.position&&Pe.isPath(e.path)&&qe(e.properties);case"move_node":return Pe.isPath(e.path)&&Pe.isPath(e.newPath);case"set_node":return Pe.isPath(e.path)&&qe(e.properties)&&qe(e.newProperties);case"set_selection":return null===e.properties&&Qe.isRange(e.newProperties)||null===e.newProperties&&Qe.isRange(e.properties)||qe(e.properties)&&qe(e.newProperties);case"split_node":return Pe.isPath(e.path)&&"number"==typeof e.position&&qe(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(e=>it.isOperation(e)),isSelectionOperation:e=>it.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>it.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return ot(ot({},e),{},{type:"remove_node"});case"insert_text":return ot(ot({},e),{},{type:"remove_text"});case"merge_node":return ot(ot({},e),{},{type:"split_node",path:Pe.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Pe.equals(t,n))return e;if(Pe.isSibling(n,t))return ot(ot({},e),{},{path:t,newPath:n});var r=Pe.transform(n,e),o=Pe.transform(Pe.next(n),e);return ot(ot({},e),{},{path:r,newPath:o});case"remove_node":return ot(ot({},e),{},{type:"insert_node"});case"remove_text":return ot(ot({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=e;return ot(ot({},e),{},{properties:a,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;return ot(ot({},e),{},null==s?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:s}:{properties:l,newProperties:s});case"split_node":return ot(ot({},e),{},{type:"merge_node",path:Pe.next(e.path)})}}},at={above:(e,t)=>e.above(t),addMark(e,t,n){e.addMark(t,n)},after:(e,t,n)=>e.after(t,n),before:(e,t,n)=>e.before(t,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,t){e.deleteFragment(t)},edges:(e,t)=>e.edges(t),elementReadOnly(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.elementReadOnly(t)},end:(e,t)=>e.end(t),first:(e,t)=>e.first(t),fragment:(e,t)=>e.fragment(t),hasBlocks:(e,t)=>e.hasBlocks(t),hasInlines:(e,t)=>e.hasInlines(t),hasPath:(e,t)=>e.hasPath(t),hasTexts:(e,t)=>e.hasTexts(t),insertBreak(e){e.insertBreak()},insertFragment(e,t,n){e.insertFragment(t,n)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>e.isBlock(t),isEdge:(e,t,n)=>e.isEdge(t,n),isEditor:e=>function(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!qe(e)&&("function"==typeof e.addMark&&"function"==typeof e.apply&&"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.isElementReadOnly&&"function"==typeof e.isInline&&"function"==typeof e.isSelectable&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&"function"==typeof e.getDirtyPaths&&(null===e.marks||qe(e.marks))&&(null===e.selection||Qe.isRange(e.selection))&&(!t||nt.isNodeList(e.children))&&it.isOperationList(e.operations))}(e),isElementReadOnly:(e,t)=>e.isElementReadOnly(t),isEmpty:(e,t)=>e.isEmpty(t),isEnd:(e,t,n)=>e.isEnd(t,n),isInline:(e,t)=>e.isInline(t),isNormalizing:e=>e.isNormalizing(),isSelectable:(e,t)=>e.isSelectable(t),isStart:(e,t,n)=>e.isStart(t,n),isVoid:(e,t)=>e.isVoid(t),last:(e,t)=>e.last(t),leaf:(e,t,n)=>e.leaf(t,n),levels:(e,t)=>e.levels(t),marks:e=>e.getMarks(),next:(e,t)=>e.next(t),node:(e,t,n)=>e.node(t,n),nodes:(e,t)=>e.nodes(t),normalize(e,t){e.normalize(t)},parent:(e,t,n)=>e.parent(t,n),path:(e,t,n)=>e.path(t,n),pathRef:(e,t,n)=>e.pathRef(t,n),pathRefs:e=>e.pathRefs(),point:(e,t,n)=>e.point(t,n),pointRef:(e,t,n)=>e.pointRef(t,n),pointRefs:e=>e.pointRefs(),positions:(e,t)=>e.positions(t),previous:(e,t)=>e.previous(t),range:(e,t,n)=>e.range(t,n),rangeRef:(e,t,n)=>e.rangeRef(t,n),rangeRefs:e=>e.rangeRefs(),removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start:(e,t)=>e.start(t),string:(e,t,n)=>e.string(t,n),unhangRange:(e,t,n)=>e.unhangRange(t,n),void:(e,t)=>e.void(t),withoutNormalizing(e,t){e.withoutNormalizing(t)},shouldMergeNodesRemovePrevNode:(e,t,n)=>e.shouldMergeNodesRemovePrevNode(t,n)},st=e=>Array.isArray(e)&&2===e.length&&e.every(Pe.isPath);function lt(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 ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ct={compare(e,t){var n=Pe.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===ct.compare(e,t),isBefore:(e,t)=>-1===ct.compare(e,t),equals:(e,t)=>e.offset===t.offset&&Pe.equals(e.path,t.path),isPoint:e=>qe(e)&&"number"==typeof e.offset&&Pe.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null===e)return null;var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":o=Pe.transform(o,t,n);break;case"insert_text":Pe.equals(t.path,o)&&(t.offset<i||t.offset===i&&"forward"===r)&&(i+=t.text.length);break;case"merge_node":Pe.equals(t.path,o)&&(i+=t.position),o=Pe.transform(o,t,n);break;case"remove_text":Pe.equals(t.path,o)&&t.offset<=i&&(i-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(Pe.equals(t.path,o)||Pe.isAncestor(t.path,o))return null;o=Pe.transform(o,t,n);break;case"split_node":if(Pe.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(i-=t.position,o=Pe.transform(o,t,ut(ut({},n),{},{affinity:"forward"})))}else o=Pe.transform(o,t,n);break;default:return e}return{path:o,offset:i}}},dt=void 0,ft={setScrubber(e){dt=e},stringify:e=>JSON.stringify(e,dt)},pt=["text"],ht=["anchor","focus","merge"];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 gt(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){Be(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 vt,yt={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;function o(e){return Ve(e,pt)}return $e(r?o(e):e,r?o(t):t)},isText:e=>qe(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>yt.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=[{leaf:gt({},e)}];for(var r of t){var{anchor:o,focus:i,merge:a}=r,s=Ve(r,ht),[l,u]=Qe.edges(r),c=[],d=0,f=l.offset,p=u.offset,h=null!=a?a:Object.assign;for(var{leaf:m}of n){var{length:g}=m.text,v=d;if(d+=g,f<=v&&d<=p)h(m,s),c.push({leaf:m});else if(f!==p&&(f===d||p===v)||f>d||p<v||p===v&&0!==v)c.push({leaf:m});else{var y=m,E=void 0,b=void 0;if(p<d){var C=p-v;b={leaf:gt(gt({},y),{},{text:y.text.slice(C)})},y=gt(gt({},y),{},{text:y.text.slice(0,C)})}if(f>v){var T=f-v;E={leaf:gt(gt({},y),{},{text:y.text.slice(0,T)})},y=gt(gt({},y),{},{text:y.text.slice(T)})}h(y,s),E&&c.push(E),c.push({leaf:y}),b&&c.push(b)}}n=c}if(n.length>1){var k=0;for(var[A,x]of n.entries()){var D=k,S=D+x.leaf.text.length,_={start:D,end:S};0===A&&(_.isFirst=!0),A===n.length-1&&(_.isLast=!0),x.position=_,k=S}}return n}},Et=e=>e.selection?e.selection:e.children.length>0?at.end(e,[]):[0],bt=(e,t)=>{var[n]=at.node(e,t);return e=>e===n},Ct=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!t,r=t?St(e):e,o=vt.None,i=vt.None,a=0,s=null;for(var l of r){var u=l.codePointAt(0);if(!u)break;var c=jt(l,u);if([o,i]=n?[i,c]:[c,o],Ht(o,vt.ZWJ)&&Ht(i,vt.ExtPict)&&!Wt(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(Ht(o,vt.RI)&&Ht(i,vt.RI)&&!(s=null!==s?!s:!!n||qt(e.substring(0,e.length-a))))break;if(o!==vt.None&&i!==vt.None&&zt(o,i))break;a+=l.length}return a||1},Tt=/\s/,kt=/[\u002B\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]/,At=/['\u2018\u2019]/,xt=(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)]},Dt=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(Tt.test(t))return!1;if(At.test(t)){var o=Ct(n,r),[i,a]=xt(n,o,r);if(e(i,a,r))return!0}return!kt.test(t)},St=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(wt(r.charCodeAt(0))){var o=e.charAt(t-n-1);if(_t(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},_t=e=>e>=55296&&e<=56319,wt=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"}(vt||(vt={}));var Ot=/^(?:[\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\u0898-\u089F\u08CA-\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\u0C3C\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-\u0ECE\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\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\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-\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\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\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\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\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\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,Nt=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,Pt=/^(?:[\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])$/,Rt=/^[\u1100-\u115F\uA960-\uA97C]$/,Bt=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,Ft=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,It=/^[\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]$/,Mt=/^[\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]$/,Lt=/^(?:[\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])$/,jt=(e,t)=>{var n=vt.Any;return-1!==e.search(Ot)&&(n|=vt.Extend),8205===t&&(n|=vt.ZWJ),t>=127462&&t<=127487&&(n|=vt.RI),-1!==e.search(Nt)&&(n|=vt.Prepend),-1!==e.search(Pt)&&(n|=vt.SpacingMark),-1!==e.search(Rt)&&(n|=vt.L),-1!==e.search(Bt)&&(n|=vt.V),-1!==e.search(Ft)&&(n|=vt.T),-1!==e.search(It)&&(n|=vt.LV),-1!==e.search(Mt)&&(n|=vt.LVT),-1!==e.search(Lt)&&(n|=vt.ExtPict),n};function Ht(e,t){return 0!==(e&t)}var Ut=[[vt.L,vt.L|vt.V|vt.LV|vt.LVT],[vt.LV|vt.V,vt.V|vt.T],[vt.LVT|vt.T,vt.T],[vt.Any,vt.Extend|vt.ZWJ],[vt.Any,vt.SpacingMark],[vt.Prepend,vt.Any],[vt.ZWJ,vt.ExtPict],[vt.RI,vt.RI]];function zt(e,t){return-1===Ut.findIndex(n=>Ht(e,n[0])&&Ht(t,n[1]))}var Gt=/(?:[\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\u0898-\u089F\u08CA-\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\u0C3C\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-\u0ECE\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\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ACE\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-\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\uDEFD-\uDEFF\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDE41\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\uDF00\uDF01\uDF36-\uDF3A\uDF40\uDF42]|\uD80D[\uDC40\uDC47-\uDC55]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\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\uDC8F\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD839[\uDCEC-\uDCEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,Wt=e=>-1!==e.search(Gt),Kt=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,qt=e=>{var t=e.match(Kt);return null!==t&&t[0].length/2%2==1},$t={delete(e,t){e.delete(t)},insertFragment(e,t,n){e.insertFragment(t,n)},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:o=Et(e)}=n;if(Pe.isPath(o)&&(o=at.range(e,o)),Qe.isRange(o))if(Qe.isCollapsed(o))o=o.anchor;else{var i=Qe.end(o);if(!r&&at.void(e,{at:i}))return;var a=Qe.start(o),s=at.pointRef(e,a),l=at.pointRef(e,i);Xt.delete(e,{at:o,voids:r});var u=s.unref(),c=l.unref();o=u||c,Xt.setSelection(e,{anchor:o,focus:o})}if(!(!r&&at.void(e,{at:o})||at.elementReadOnly(e,{at:o}))){var{path:d,offset:f}=o;t.length>0&&e.apply({type:"insert_text",path:d,offset:f,text:t})}})}};function Vt(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 Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Xt=Yt(Yt(Yt(Yt({},Ge),We),Ke),$t),Qt=new WeakMap;function Jt(e,t,n){var r,o,i=xe.get(e)||[],a=De.get(e)||new Set,s=e=>{if(e){var t=e.join(",");o.has(t)||(o.add(t),r.push(e))}};if(n)for(var l of(r=[],o=new Set,i))s(n(l));else r=i,o=a;for(var u of t)s(u);xe.set(e,r),De.set(e,o)}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}function en(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){Be(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}function tn(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 nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rn(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 on(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function an(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 sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?an(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):an(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ln(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 un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ln(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ln(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cn(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 dn=["text"],fn=["text"];function pn(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 hn(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 mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var gn=["text"],vn=["children"],yn=(e,t)=>{if(Ze.isElement(t)){var n=t;return!!at.isVoid(e,t)||1===n.children.length&&yn(e,n.children[0])}return!at.isEditor(t)};function En(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 bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Cn=()=>{var e={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{for(var n of at.pathRefs(e))Te.transform(n,t);for(var r of at.pointRefs(e))ke.transform(r,t);for(var o of at.rangeRefs(e))Ae.transform(o,t);if(!(e=>Qt.get(e)||!1)(e)){var i=Pe.operationCanTransformPath(t)?e=>Pe.transform(e,t):void 0;Jt(e,e.getDirtyPaths(t),i)}Xt.transform(e,t),e.operations.push(t),at.normalize(e,{operation:t}),"set_selection"===t.type&&(e.marks=null),Se.get(e)||(Se.set(e,!0),Promise.resolve().then(()=>{Se.set(e,!1),e.onChange({operation:t}),e.operations=[]}))})(e,...n)},addMark:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var{selection:r}=e;if(r){var o=(t,n)=>{if(!yt.isText(t))return!1;var[r,o]=at.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},i=Qe.isExpanded(r),a=!1;if(!i){var[s,l]=at.node(e,r);if(s&&o(s,l)){var[u]=at.parent(e,l);a=u&&e.markableVoid(u)}}if(i||a)Xt.setNodes(e,{[t]:n},{match:o,split:!0,voids:!0});else{var c=en(en({},at.marks(e)||{}),{},{[t]:n});e.marks=c,Se.get(e)||e.onChange()}}})(e,...n)},deleteBackward:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;n&&Qe.isCollapsed(n)&&Xt.delete(e,{unit:t,reverse:!0})})(e,...n)},deleteForward:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;n&&Qe.isCollapsed(n)&&Xt.delete(e,{unit:t})})(e,...n)},deleteFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var{direction:t="forward"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e;n&&Qe.isExpanded(n)&&Xt.delete(e,{reverse:"backward"===t})}(e,...n)},getFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var{selection:t}=e;return t?nt.fragment(e,t):[]})(e,...n)},insertBreak:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{Xt.splitNodes(e,{always:!0})})(e,...n)},insertSoftBreak:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{Xt.splitNodes(e,{always:!0})})(e,...n)},insertFragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=Et(e),batchDirty:a=!0}=n;if(t.length){if(Qe.isRange(i))if(r||(i=at.unhangRange(e,i,{voids:o})),Qe.isCollapsed(i))i=i.anchor;else{var[,s]=Qe.edges(i);if(!o&&at.void(e,{at:s}))return;var l=at.pointRef(e,s);Xt.delete(e,{at:i}),i=l.unref()}else Pe.isPath(i)&&(i=at.start(e,i));if(o||!at.void(e,{at:i})){var u=at.above(e,{at:i,match:t=>Ze.isElement(t)&&at.isInline(e,t),mode:"highest",voids:o});if(u){var[,c]=u;at.isEnd(e,i,c)?i=at.after(e,c):at.isStart(e,i,c)&&(i=at.before(e,c))}var d=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:i,voids:o}),[,f]=d,p=at.isStart(e,i,f),h=at.isEnd(e,i,f),m=p&&h,[,g]=nt.first({children:t},[]),[,v]=nt.last({children:t},[]),y=t=>{var[n,r]=t;return!(0===r.length||!m&&(!p&&Pe.isAncestor(r,g)&&Ze.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)||!h&&Pe.isAncestor(r,v)&&Ze.isElement(n)&&!e.isVoid(n)&&!e.isInline(n)))},E=!0,b=[],C=[],T=[];for(var k of nt.nodes({children:t},{pass:y})){var[A,x]=k;E&&Ze.isElement(A)&&!e.isInline(A)&&!Pe.isAncestor(x,g)&&(E=!1),y(k)&&(Ze.isElement(A)&&!e.isInline(A)?(E=!1,C.push(A)):E?b.push(A):T.push(A))}var[D]=at.nodes(e,{at:i,match:t=>yt.isText(t)||at.isInline(e,t),mode:"highest",voids:o}),[,S]=D,_=at.isStart(e,i,S),w=at.isEnd(e,i,S),O=at.pathRef(e,h&&!T.length?Pe.next(f):f),N=at.pathRef(e,w?Pe.next(S):S),P=T.length>0;Xt.splitNodes(e,{at:i,match:t=>P?Ze.isElement(t)&&at.isBlock(e,t):yt.isText(t)||at.isInline(e,t),mode:P?"lowest":"highest",always:P&&(!p||b.length>0)&&(!h||T.length>0),voids:o});var R,B=at.pathRef(e,!_||_&&w?Pe.next(S):S);if(Xt.insertNodes(e,b,{at:B.current,match:t=>yt.isText(t)||at.isInline(e,t),mode:"highest",voids:o,batchDirty:a}),m&&!b.length&&C.length&&!T.length&&Xt.delete(e,{at:f,voids:o}),Xt.insertNodes(e,C,{at:O.current,match:t=>Ze.isElement(t)&&at.isBlock(e,t),mode:"lowest",voids:o,batchDirty:a}),Xt.insertNodes(e,T,{at:N.current,match:t=>yt.isText(t)||at.isInline(e,t),mode:"highest",voids:o,batchDirty:a}),!n.at&&(T.length>0&&N.current?R=Pe.previous(N.current):C.length>0&&O.current?R=Pe.previous(O.current):B.current&&(R=Pe.previous(B.current)),R)){var F=at.end(e,R);Xt.select(e,F)}B.unref(),O.unref(),N.unref()}}})}(e,...n)},insertNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{Xt.insertNodes(e,t,n)})(e,...n)},insertText:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r,marks:o}=e;if(r){if(o){var i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({text:t},o);Xt.insertNodes(e,i,{at:n.at,voids:n.voids})}else Xt.insertText(e,t,n);e.marks=null}}(e,...n)},normalizeNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var[r,o]=t;if(!yt.isText(r))if(Ze.isElement(r)&&0===r.children.length)Xt.insertNodes(e,{text:""},{at:o.concat(0),voids:!0});else for(var i=!at.isEditor(r)&&Ze.isElement(r)&&(e.isInline(r)||0===r.children.length||yt.isText(r.children[0])||e.isInline(r.children[0])),a=0,s=0;s<r.children.length;s++,a++){var l=nt.get(e,o);if(!yt.isText(l)){var u=l.children[a],c=l.children[a-1],d=s===r.children.length-1,f=yt.isText(u)||Ze.isElement(u)&&e.isInline(u);f!==i?(f?null!=n&&n.fallbackElement?Xt.wrapNodes(e,n.fallbackElement(),{at:o.concat(a),voids:!0}):Xt.removeNodes(e,{at:o.concat(a),voids:!0}):Xt.unwrapNodes(e,{at:o.concat(a),voids:!0}),a--):Ze.isElement(u)?e.isInline(u)&&(null!=c&&yt.isText(c)?d&&(Xt.insertNodes(e,{text:""},{at:o.concat(a+1),voids:!0}),a++):(Xt.insertNodes(e,{text:""},{at:o.concat(a),voids:!0}),a++)):(yt.isText(u)||"children"in u||(u.children=[]),null!=c&&yt.isText(c)&&(yt.equals(u,c,{loose:!0})?(Xt.mergeNodes(e,{at:o.concat(a),voids:!0}),a--):""===c.text?(Xt.removeNodes(e,{at:o.concat(a-1),voids:!0}),a--):""===u.text&&(Xt.removeNodes(e,{at:o.concat(a),voids:!0}),a--)))}}})(e,...n)},removeMark:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;if(n){var r=(t,n)=>{if(!yt.isText(t))return!1;var[r,o]=at.parent(e,n);return!e.isVoid(r)||e.markableVoid(r)},o=Qe.isExpanded(n),i=!1;if(!o){var[a,s]=at.node(e,n);if(a&&r(a,s)){var[l]=at.parent(e,s);i=l&&e.markableVoid(l)}}if(o||i)Xt.unsetNodes(e,t,{match:r,split:!0,voids:!0});else{var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(n),!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},at.marks(e)||{});delete u[t],e.marks=u,Se.get(e)||e.onChange()}}})(e,...n)},getDirtyPaths:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:n}=t;return Pe.levels(n);case"insert_node":var{node:r,path:o}=t,i=Pe.levels(o),a=yt.isText(r)?[]:Array.from(nt.nodes(r),e=>{var[,t]=e;return o.concat(t)});return[...i,...a];case"merge_node":var{path:s}=t;return[...Pe.ancestors(s),Pe.previous(s)];case"move_node":var{path:l,newPath:u}=t;if(Pe.equals(l,u))return[];var c=[],d=[];for(var f of Pe.ancestors(l)){var p=Pe.transform(f,t);c.push(p)}for(var h of Pe.ancestors(u)){var m=Pe.transform(h,t);d.push(m)}var g=d[d.length-1],v=u[u.length-1],y=g.concat(v);return[...c,...d,y];case"remove_node":var{path:E}=t;return[...Pe.ancestors(E)];case"split_node":var{path:b}=t;return[...Pe.levels(b),Pe.next(b)];default:return[]}})(e,...n)},shouldNormalize:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{iteration:n,initialDirtyPathsLength:r}=t,o=42*r;if(n>o)throw new Error("Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0})(e,...n)},above:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=at.path(e,o);if(!Qe.isRange(o)||Pe.equals(o.focus.path,o.anchor.path)){if(0===a.length)return;a=Pe.parent(a)}var s="lowest"===r,[l]=at.levels(e,{at:a,voids:n,match:i,reverse:s});return l}}(e,...n)},after:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:at.point(e,t,{edge:"end"}),focus:at.end(e,[])},{distance:i=1}=r,a=0;for(var s of at.positions(e,nn(nn({},r),{},{at:o}))){if(a>i)break;0!==a&&(n=s),a++}return n}(e,...n)},before:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:at.start(e,[]),focus:at.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var s of at.positions(e,on(on({},r),{},{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=s),a++}return n}(e,...n)},collapse:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)Xt.select(e,r.anchor);else if("focus"===n)Xt.select(e,r.focus);else if("start"===n){var[o]=Qe.edges(r);Xt.select(e,o)}else if("end"===n){var[,i]=Qe.edges(r);Xt.select(e,i)}}(e,...n)},delete:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.withoutNormalizing(e,()=>{var n,r,{reverse:o=!1,unit:i="character",distance:a=1,voids:s=!1}=t,{at:l=e.selection,hanging:u=!1}=t;if(l){var c=!1;if(Qe.isRange(l)&&Qe.isCollapsed(l)&&(c=!0,l=l.anchor),ct.isPoint(l)){var d=at.void(e,{at:l,mode:"highest"});if(!s&&d){var[,f]=d;l=f}else{var p={unit:i,distance:a};l={anchor:l,focus:o?at.before(e,l,p)||at.start(e,[]):at.after(e,l,p)||at.end(e,[])},u=!0}}if(Pe.isPath(l))Xt.removeNodes(e,{at:l,voids:s});else if(!Qe.isCollapsed(l)){if(!u){var[,h]=Qe.edges(l),m=at.end(e,[]);ct.equals(h,m)||(l=at.unhangRange(e,l,{voids:s}))}var[g,v]=Qe.edges(l),y=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:g,voids:s}),E=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:v,voids:s}),b=y&&E&&!Pe.equals(y[1],E[1]),C=Pe.equals(g.path,v.path),T=s?null:null!==(n=at.void(e,{at:g,mode:"highest"}))&&void 0!==n?n:at.elementReadOnly(e,{at:g,mode:"highest"}),k=s?null:null!==(r=at.void(e,{at:v,mode:"highest"}))&&void 0!==r?r:at.elementReadOnly(e,{at:v,mode:"highest"});if(T){var A=at.before(e,g);A&&y&&Pe.isAncestor(y[1],A.path)&&(g=A)}if(k){var x=at.after(e,v);x&&E&&Pe.isAncestor(E[1],x.path)&&(v=x)}var D,S=[];for(var _ of at.nodes(e,{at:l,voids:s})){var[w,O]=_;D&&0===Pe.compare(O,D)||(!s&&Ze.isElement(w)&&(at.isVoid(e,w)||at.isElementReadOnly(e,w))||!Pe.isCommon(O,g.path)&&!Pe.isCommon(O,v.path))&&(S.push(_),D=O)}var N=Array.from(S,t=>{var[,n]=t;return at.pathRef(e,n)}),P=at.pointRef(e,g),R=at.pointRef(e,v),B="";if(!C&&!T){var F=P.current,[I]=at.leaf(e,F),{path:M}=F,{offset:L}=g,j=I.text.slice(L);j.length>0&&(e.apply({type:"remove_text",path:M,offset:L,text:j}),B=j)}if(N.reverse().map(e=>e.unref()).filter(e=>null!==e).forEach(t=>Xt.removeNodes(e,{at:t,voids:s})),!k){var H=R.current,[U]=at.leaf(e,H),{path:z}=H,G=C?g.offset:0,W=U.text.slice(G,v.offset);W.length>0&&(e.apply({type:"remove_text",path:z,offset:G,text:W}),B=W)}!C&&b&&R.current&&P.current&&Xt.mergeNodes(e,{at:R.current,hanging:!0,voids:s}),c&&o&&"character"===i&&B.length>1&&B.match(/[\u0980-\u09FF\u0E00-\u0E7F\u1000-\u109F\u0900-\u097F\u1780-\u17FF\u0D00-\u0D7F\u0B00-\u0B7F\u0A00-\u0A7F\u0B80-\u0BFF\u0C00-\u0C7F]+/)&&Xt.insertText(e,B.slice(0,B.length-a));var K=P.unref(),q=R.unref(),$=o?K||q:q||K;null==t.at&&$&&Xt.select(e,$)}}})}(e,...n)},deselect:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})})(e,...n)},edges:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>[at.start(e,t),at.end(e,t)])(e,...n)},elementReadOnly:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return at.above(e,sn(sn({},t),{},{match:t=>Ze.isElement(t)&&at.isElementReadOnly(e,t)}))}(e,...n)},end:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>at.point(e,t,{edge:"end"}))(e,...n)},first:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.path(e,t,{edge:"start"});return at.node(e,n)})(e,...n)},fragment:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.range(e,t);return nt.fragment(e,n)})(e,...n)},getMarks:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var{marks:t,selection:n}=e;if(!n)return null;var{anchor:r,focus:o}=n;if(t)return t;if(Qe.isExpanded(n)){if(Qe.isBackward(n)&&([o,r]=[r,o]),at.isEnd(e,r,r.path)){var i=at.after(e,r);i&&(r=i)}var[a]=at.nodes(e,{match:yt.isText,at:{anchor:r,focus:o}});if(a){var[s]=a;return Ve(s,dn)}return{}}var{path:l}=r,[u]=at.leaf(e,l);if(0===r.offset){var c=at.previous(e,{at:l,match:yt.isText}),d=at.above(e,{match:t=>Ze.isElement(t)&&at.isVoid(e,t)&&e.markableVoid(t)});if(!d){var f=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)});if(c&&f){var[p,h]=c,[,m]=f;Pe.isAncestor(m,h)&&(u=p)}}}return Ve(u,fn)}(e,...n)},hasBlocks:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.some(t=>Ze.isElement(t)&&at.isBlock(e,t)))(e,...n)},hasInlines:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.some(t=>yt.isText(t)||at.isInline(e,t)))(e,...n)},hasPath:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>nt.has(e,t))(e,...n)},hasTexts:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>t.children.every(e=>yt.isText(e)))(e,...n)},insertNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest",batchDirty:a=!0}=n,{at:s,match:l,select:u}=n;if(nt.isNode(t)&&(t=[t]),0!==t.length){var[c]=t;if(s||(s=Et(e),!1!==u&&(u=!0)),null==u&&(u=!1),Qe.isRange(s))if(r||(s=at.unhangRange(e,s,{voids:o})),Qe.isCollapsed(s))s=s.anchor;else{var[,d]=Qe.edges(s),f=at.pointRef(e,d);Xt.delete(e,{at:s}),s=f.unref()}if(ct.isPoint(s)){null==l&&(l=yt.isText(c)?e=>yt.isText(e):e.isInline(c)?t=>yt.isText(t)||at.isInline(e,t):t=>Ze.isElement(t)&&at.isBlock(e,t));var[p]=at.nodes(e,{at:s.path,match:l,mode:i,voids:o});if(!p)return;var[,h]=p,m=at.pathRef(e,h),g=at.isEnd(e,s,h);Xt.splitNodes(e,{at:s,match:l,mode:i,voids:o});var v=m.unref();s=g?Pe.next(v):v}var y=Pe.parent(s),E=s[s.length-1];if(o||!at.void(e,{at:y})){if(a){var b=[],C=Pe.levels(y);((e,t,n)=>{var r=Qt.get(e)||!1;Qt.set(e,!0);try{t(),n()}finally{Qt.set(e,r)}})(e,()=>{var n=function(){var t=y.concat(E);E++;var n={type:"insert_node",path:t,node:r};e.apply(n),s=Pe.next(s),b.push(n),yt.isText(r)?C.push(t):C.push(...Array.from(nt.nodes(r),e=>{var[,n]=e;return t.concat(n)}))};for(var r of t)n()},()=>{Jt(e,C,e=>{var t=e;for(var n of b)if(Pe.operationCanTransformPath(n)&&!(t=Pe.transform(t,n)))return null;return t})})}else for(var T of t){var k=y.concat(E);E++,e.apply({type:"insert_node",path:k,node:T}),s=Pe.next(s)}if(s=Pe.previous(s),u){var A=at.end(e,s);A&&Xt.select(e,A)}}}})}(e,...n)},isBlock:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>!e.isInline(t))(e,...n)},isEdge:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>at.isStart(e,t,n)||at.isEnd(e,t,n))(e,...n)},isEmpty:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&yt.isText(r)&&""===r.text&&!e.isVoid(t)})(e,...n)},isEnd:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{var r=at.end(e,n);return ct.equals(t,r)})(e,...n)},isNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=_e.get(e);return void 0===t||t})(e,...n)},isStart:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>{if(0!==t.offset)return!1;var r=at.start(e,n);return ct.equals(t,r)})(e,...n)},last:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.path(e,t,{edge:"end"});return at.node(e,n)})(e,...n)},leaf:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=at.path(e,t,n);return[nt.leaf(e,r),r]}(e,...n)},levels:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=at.path(e,n);for(var[l,u]of nt.levels(e,s))if(i(l,u)&&(a.push([l,u]),!o&&Ze.isElement(l)&&at.isVoid(e,l)))break;r&&a.reverse(),yield*a}}()}(e,...n)},liftNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=Pe.isPath(n)?bt(e,n):t=>Ze.isElement(t)&&at.isBlock(e,t)),n){var a=at.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,t=>{var[,n]=t;return at.pathRef(e,n)});for(var l of s){var u=l.unref();if(u.length<2)throw new Error("Cannot lift node at a path [".concat(u,"] because it has a depth of less than `2`."));var c=at.node(e,Pe.parent(u)),[d,f]=c,p=u[u.length-1],{length:h}=d.children;if(1===h){var m=Pe.next(f);Xt.moveNodes(e,{at:u,to:m,voids:o}),Xt.removeNodes(e,{at:f,voids:o})}else if(0===p)Xt.moveNodes(e,{at:u,to:f,voids:o});else if(p===h-1){var g=Pe.next(f);Xt.moveNodes(e,{at:u,to:g,voids:o})}else{var v=Pe.next(u),y=Pe.next(f);Xt.splitNodes(e,{at:v,voids:o}),Xt.moveNodes(e,{at:u,to:y,voids:o})}}}})}(e,...n)},mergeNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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(Pe.isPath(r)){var[s]=at.parent(e,r);n=e=>s.children.includes(e)}else n=t=>Ze.isElement(t)&&at.isBlock(e,t);if(!o&&Qe.isRange(r)&&(r=at.unhangRange(e,r,{voids:i})),Qe.isRange(r))if(Qe.isCollapsed(r))r=r.anchor;else{var[,l]=Qe.edges(r),u=at.pointRef(e,l);Xt.delete(e,{at:r}),r=u.unref(),null==t.at&&Xt.select(e,r)}var[c]=at.nodes(e,{at:r,match:n,voids:i,mode:a}),d=at.previous(e,{at:r,match:n,voids:i,mode:a});if(c&&d){var[f,p]=c,[h,m]=d;if(0!==p.length&&0!==m.length){var g,v,y=Pe.next(m),E=Pe.common(p,m),b=Pe.isSibling(p,m),C=Array.from(at.levels(e,{at:p}),e=>{var[t]=e;return t}).slice(E.length).slice(0,-1),T=at.above(e,{at:p,mode:"highest",match:t=>C.includes(t)&&yn(e,t)}),k=T&&at.pathRef(e,T[1]);if(yt.isText(f)&&yt.isText(h)){var A=Ve(f,gn);v=h.text.length,g=A}else{if(!Ze.isElement(f)||!Ze.isElement(h))throw new Error("Cannot merge the node at path [".concat(p,"] with the previous sibling because it is not the same kind: ").concat(ft.stringify(f)," ").concat(ft.stringify(h)));A=Ve(f,vn),v=h.children.length,g=A}b||Xt.moveNodes(e,{at:p,to:y,voids:i}),k&&Xt.removeNodes(e,{at:k.current,voids:i}),at.shouldMergeNodesRemovePrevNode(e,d,c)?Xt.removeNodes(e,{at:m,voids:i}):e.apply({type:"merge_node",path:y,position:v,properties:g}),k&&k.unref()}}}})}(e,...n)},move:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=Qe.isBackward(n)?"focus":"anchor"),"end"===a&&(a=Qe.isBackward(n)?"anchor":"focus");var{anchor:s,focus:l}=n,u={distance:r,unit:o},c={};if(null==a||"anchor"===a){var d=i?at.before(e,s,u):at.after(e,s,u);d&&(c.anchor=d)}if(null==a||"focus"===a){var f=i?at.before(e,l,u):at.after(e,l,u);f&&(c.focus=f)}Xt.setSelection(e,c)}}(e,...n)},moveNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{at.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=Pe.isPath(r)?bt(e,r):t=>Ze.isElement(t)&&at.isBlock(e,t));var s=at.pathRef(e,n),l=at.nodes(e,{at:r,match:a,mode:o,voids:i}),u=Array.from(l,t=>{var[,n]=t;return at.pathRef(e,n)});for(var c of u){var d=c.unref(),f=s.current;0!==d.length&&e.apply({type:"move_node",path:d,newPath:f}),s.current&&Pe.isSibling(f,d)&&Pe.isAfter(f,d)&&(s.current=Pe.next(s.current))}s.unref()}})})(e,...n)},next:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=at.after(e,i,{voids:r});if(a){var[,s]=at.last(e,[]),l=[a.path,s];if(Pe.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(Pe.isPath(i)){var[u]=at.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=at.nodes(e,{at:l,match:o,mode:n,voids:r});return c}}}(e,...n)},node:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=at.path(e,t,n);return[nt.get(e,r),r]}(e,...n)},nodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1,pass:s}=t,{match:l}=t;if(l||(l=()=>!0),n){var u,c;if(st(n))u=n[0],c=n[1];else{var d=at.path(e,n,{edge:"start"}),f=at.path(e,n,{edge:"end"});u=i?f:d,c=i?d:f}var p,h=nt.nodes(e,{reverse:i,from:u,to:c,pass:t=>{var[n,r]=t;return!(!s||!s([n,r]))||!!Ze.isElement(n)&&!(a||!at.isVoid(e,n)&&!at.isElementReadOnly(e,n))}}),m=[];for(var[g,v]of h){var y=p&&0===Pe.compare(v,p[1]);if("highest"!==r||!y)if(l(g,v))if("lowest"===r&&y)p=[g,v];else{var E="lowest"===r?p:[g,v];E&&(o?m.push(E):yield E),p=[g,v]}else if(o&&!y&&yt.isText(g))return}"lowest"===r&&p&&(o?m.push(p):yield p),o&&(yield*m)}}()}(e,...n)},normalize:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1,operation:r}=t,o=e=>xe.get(e)||[],i=e=>{var t=o(e).pop(),n=t.join(",");return(e=>De.get(e)||new Set)(e).delete(n),t};if(at.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(",")));xe.set(e,a),De.set(e,s)}0!==o(e).length&&at.withoutNormalizing(e,()=>{for(var t of o(e))if(nt.has(e,t)){var n=at.node(e,t),[a,s]=n;Ze.isElement(a)&&0===a.children.length&&e.normalizeNode(n,{operation:r})}for(var l=o(e),u=l.length,c=0;0!==l.length;){if(!e.shouldNormalize({dirtyPaths:l,iteration:c,initialDirtyPathsLength:u,operation:r}))return;var d=i(e);if(nt.has(e,d)){var f=at.node(e,d);e.normalizeNode(f,{operation:r})}c++,l=o(e)}})}}(e,...n)},parent:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=at.path(e,t,n),o=Pe.parent(r);return at.node(e,o)}(e,...n)},path:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(Pe.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 Qe.isRange(t)&&(t="start"===o?Qe.start(t):"end"===o?Qe.end(t):Pe.common(t.anchor.path,t.focus.path)),ct.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t}(e,...n)},pathRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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 at.pathRefs(e).delete(o),o.current=null,t}};return at.pathRefs(e).add(o),o}(e,...n)},pathRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=we.get(e);return t||(t=new Set,we.set(e,t)),t})(e,...n)},point:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(Pe.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(!yt.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(Qe.isRange(t)){var[l,u]=Qe.edges(t);return"start"===r?l:u}return t}(e,...n)},pointRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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 at.pointRefs(e).delete(o),o.current=null,t}};return at.pointRefs(e).add(o),o}(e,...n)},pointRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=Oe.get(e);return t||(t=new Set,Oe.set(e,t)),t})(e,...n)},positions:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){var{at:n=e.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=t;if(n){var a=at.range(e,n),[s,l]=Qe.edges(a),u=o?l:s,c=!1,d="",f=0,p=0,h=0,m=[],g=function*(t){var n=m.some(e=>Pe.isAncestor(e,t));function*a(e){n||(yield e)}if(Ze.isElement(v)){if(!e.isSelectable(v)){if(m.push(t),o)return Pe.hasPrevious(t)&&(yield*a(at.end(e,Pe.previous(t)))),0;var g=Pe.next(t);return at.hasPath(e,g)&&(yield*a(at.start(e,g))),0}if(!i&&(e.isVoid(v)||e.isElementReadOnly(v)))return yield*a(at.start(e,t)),0;if(e.isInline(v))return 0;if(at.hasInlines(e,v)){var y=Pe.isAncestor(t,l.path)?l:at.end(e,t),b=Pe.isAncestor(t,s.path)?s:at.start(e,t);d=at.string(e,{anchor:b,focus:y},{voids:i}),c=!0}}if(yt.isText(v)){var C=Pe.equals(t,u.path);for(C?(p=o?u.offset:v.text.length-u.offset,h=u.offset):(p=v.text.length,h=o?p:0),(C||c||"offset"===r)&&(yield*a({path:t,offset:h}),c=!1);;){if(0===f){if(""===d)break;f=E(d,r,o),d=xt(d,f,o)[1]}if(h=o?h-f:h+f,(p-=f)<0){f=-p;break}f=0,yield*a({path:t,offset:h})}}};for(var[v,y]of at.nodes(e,{at:n,reverse:o,voids:i}))yield*g(y)}function E(e,t,n){return"character"===t?Ct(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=Ct(e,t),[i,a]=xt(e,o,t);if(Dt(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}}()}(e,...n)},previous:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=at.before(e,i,{voids:r});if(a){var[,s]=at.first(e,[]),l=[a.path,s];if(Pe.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(Pe.isPath(i)){var[u]=at.parent(e,i);o=e=>u.children.includes(e)}else o=()=>!0;var[c]=at.nodes(e,{reverse:!0,at:l,match:o,mode:n,voids:r});return c}}}(e,...n)},range:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t,n)=>Qe.isRange(t)&&!n?t:{anchor:at.start(e,t),focus:at.end(e,n||t)})(e,...n)},rangeRef:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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 at.rangeRefs(e).delete(o),o.current=null,t}};return at.rangeRefs(e).add(o),o}(e,...n)},rangeRefs:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=>{var t=Ne.get(e);return t||(t=new Set,Ne.set(e,t)),t})(e,...n)},removeNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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=Pe.isPath(i)?bt(e,i):t=>Ze.isElement(t)&&at.isBlock(e,t)),!n&&Qe.isRange(i)&&(i=at.unhangRange(e,i,{voids:r}));var s=at.nodes(e,{at:i,match:a,mode:o,voids:r}),l=Array.from(s,t=>{var[,n]=t;return at.pathRef(e,n)});for(var u of l){var c=u.unref();if(c){var[d]=at.node(e,c);e.apply({type:"remove_node",path:c,node:d})}}}})}(e,...n)},select:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e;if(t=at.range(e,t),n)Xt.setSelection(e,t);else{if(!Qe.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(ft.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}})(e,...n)},setNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.withoutNormalizing(e,()=>{var{match:r,at:o=e.selection,compare:i,merge:a}=n,{hanging:s=!1,mode:l="lowest",split:u=!1,voids:c=!1}=n;if(o){if(null==r&&(r=Pe.isPath(o)?bt(e,o):t=>Ze.isElement(t)&&at.isBlock(e,t)),!s&&Qe.isRange(o)&&(o=at.unhangRange(e,o,{voids:c})),u&&Qe.isRange(o)){if(Qe.isCollapsed(o)&&at.leaf(e,o.anchor)[0].text.length>0)return;var d=at.rangeRef(e,o,{affinity:"inward"}),[f,p]=Qe.edges(o),h="lowest"===l?"lowest":"highest",m=at.isEnd(e,p,p.path);Xt.splitNodes(e,{at:p,match:r,mode:h,voids:c,always:!m});var g=at.isStart(e,f,f.path);Xt.splitNodes(e,{at:f,match:r,mode:h,voids:c,always:!g}),o=d.unref(),null==n.at&&Xt.select(e,o)}for(var[v,y]of(i||(i=(e,t)=>e!==t),at.nodes(e,{at:o,match:r,mode:l,voids:c}))){var E={},b={};if(0!==y.length){var C=!1;for(var T in t)"children"!==T&&"text"!==T&&i(t[T],v[T])&&(C=!0,v.hasOwnProperty(T)&&(E[T]=v[T]),a?null!=t[T]&&(b[T]=a(v[T],t[T])):null!=t[T]&&(b[T]=t[T]));C&&e.apply({type:"set_node",path:y,properties:E,newProperties:b})}}}})}(e,...n)},setNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{_e.set(e,t)})(e,...n)},setPoint:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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=Qe.isBackward(r)?"focus":"anchor"),"end"===o&&(o=Qe.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;Xt.setSelection(e,{["anchor"===o?"anchor":"focus"]:mn(mn({},s),t)})}}(e,...n)},setSelection:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!ct.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!ct.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})}})(e,...n)},splitNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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=>Ze.isElement(t)&&at.isBlock(e,t)),Qe.isRange(i)&&(i=((e,t)=>{if(Qe.isCollapsed(t))return t.anchor;var[,n]=Qe.edges(t),r=at.pointRef(e,n);return Xt.delete(e,{at:t}),r.unref()})(e,i)),Pe.isPath(i)){var l=i,u=at.point(e,l),[c]=at.parent(e,l);o=e=>e===c,a=u.path.length-l.length+1,i=u,s=!0}if(i){var d,f=at.pointRef(e,i,{affinity:"backward"});try{var[p]=at.nodes(e,{at:i,match:o,mode:n,voids:r});if(!p)return;var h=at.void(e,{at:i,mode:"highest"});if(!r&&h){var[m,g]=h;if(Ze.isElement(m)&&e.isInline(m)){var v=at.after(e,g);if(!v){var y=Pe.next(g);Xt.insertNodes(e,{text:""},{at:y,voids:r}),v=at.point(e,y)}i=v,s=!0}a=i.path.length-g.length+1,s=!0}d=at.pointRef(e,i);var E=i.path.length-a,[,b]=p,C=i.path.slice(0,E),T=0===a?i.offset:i.path[E]+0;for(var[k,A]of at.levels(e,{at:C,reverse:!0,voids:r})){var x=!1;if(A.length<b.length||0===A.length||!r&&Ze.isElement(k)&&at.isVoid(e,k))break;var D=f.current,S=at.isEnd(e,D,A);if(s||!f||!at.isEdge(e,D,A)){x=!0;var _=nt.extractProps(k);e.apply({type:"split_node",path:A,position:T,properties:_})}T=A[A.length-1]+(x||S?1:0)}if(null==t.at){var w=d.current||at.end(e,[]);Xt.select(e,w)}}finally{var O;f.unref(),null===(O=d)||void 0===O||O.unref()}}})}(e,...n)},start:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>at.point(e,t,{edge:"start"}))(e,...n)},string:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,o=at.range(e,t),[i,a]=Qe.edges(o),s="";for(var[l,u]of at.nodes(e,{at:o,match:yt.isText,voids:r})){var c=l.text;Pe.equals(u,a.path)&&(c=c.slice(0,a.offset)),Pe.equals(u,i.path)&&(c=c.slice(i.offset)),s+=c}return s}(e,...n)},unhangRange:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=Qe.edges(t);if(0!==o.offset||0!==i.offset||Qe.isCollapsed(t)||Pe.hasPrevious(i.path))return t;var a=at.above(e,{at:i,match:t=>Ze.isElement(t)&&at.isBlock(e,t),voids:r}),s=a?a[1]:[],l={anchor:at.start(e,o),focus:i},u=!0;for(var[c,d]of at.nodes(e,{at:l,match:yt.isText,reverse:!0,voids:r}))if(u)u=!1;else if(""!==c.text||Pe.isBefore(d,s)){i={path:d,offset:c.text.length};break}return{anchor:o,focus:i}}(e,...n)},unsetNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(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;Xt.setNodes(e,r,n)}(e,...n)},unwrapNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};at.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=Pe.isPath(i)?bt(e,i):t=>Ze.isElement(t)&&at.isBlock(e,t)),Pe.isPath(i)&&(i=at.range(e,i));var s=Qe.isRange(i)?at.rangeRef(e,i):null,l=at.nodes(e,{at:i,match:a,mode:n,voids:o}),u=Array.from(l,t=>{var[,n]=t;return at.pathRef(e,n)}).reverse(),c=function(){var t=d.unref(),[n]=at.node(e,t),i=at.range(e,t);r&&s&&(i=Qe.intersection(s.current,i)),Xt.liftNodes(e,{at:i,match:e=>Ze.isAncestor(n)&&n.children.includes(e),voids:o})};for(var d of u)c();s&&s.unref()}})}(e,...n)},void:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return at.above(e,un(un({},t),{},{match:t=>Ze.isElement(t)&&at.isVoid(e,t)}))}(e,...n)},withoutNormalizing:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var n=at.isNormalizing(e);at.setNormalizing(e,!1);try{t()}finally{at.setNormalizing(e,n)}at.normalize(e)})(e,...n)},wrapNodes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};at.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=Pe.isPath(s)?bt(e,s):e.isInline(t)?t=>Ze.isElement(t)&&at.isInline(e,t)||yt.isText(t):t=>Ze.isElement(t)&&at.isBlock(e,t)),o&&Qe.isRange(s)){var[l,u]=Qe.edges(s),c=at.rangeRef(e,s,{affinity:"inward"}),d=t=>{var n=at.above(e,{at:t,match:t=>Ze.isElement(t)&&at.isBlock(e,t)});return n&&at.isEdge(e,t,n[1])};Xt.splitNodes(e,{at:u,match:a,voids:i,always:!d(u)}),Xt.splitNodes(e,{at:l,match:a,voids:i,always:!d(l)}),s=c.unref(),null==n.at&&Xt.select(e,s)}var f=Array.from(at.nodes(e,{at:s,match:e.isInline(t)?t=>Ze.isElement(t)&&at.isBlock(e,t):e=>at.isEditor(e),mode:"lowest",voids:i})),p=function(){var n=Qe.isRange(s)?Qe.intersection(s,at.range(e,h)):s;if(!n)return 0;var o=Array.from(at.nodes(e,{at:n,match:a,mode:r,voids:i}));if(o.length>0){var[l]=o,u=o[o.length-1],[,c]=l,[,d]=u;if(0===c.length&&0===d.length)return 0;var f=Pe.equals(c,d)?Pe.parent(c):Pe.common(c,d),p=at.range(e,c,d),m=at.node(e,f),[g]=m,v=f.length+1,y=Pe.next(d.slice(0,v)),E=bn(bn({},t),{},{children:[]});Xt.insertNodes(e,E,{at:y,voids:i}),Xt.moveNodes(e,{at:p,match:e=>Ze.isAncestor(g)&&g.children.includes(e),to:y.concat(0),voids:i})}};for(var[,h]of f)p()}})}(e,...n)},shouldMergeNodesRemovePrevNode:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return((e,t)=>{var[n,r]=t;return Ze.isElement(n)&&at.isEmpty(e,n)||yt.isText(n)&&""===n.text&&0!==r[r.length-1]})(e,...n)}};return e},Tn=u(8663),kn=u.n(Tn),An=u(12784),xn=u.n(An),Dn=u(97331),Sn=u.n(Dn);const _n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,wn=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,On=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return wn(n.overflowY,t)||wn(n.overflowX,t)||(e=>{const t=(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},Nn=(e,t,n,r,o,i,a,s)=>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,Pn=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},Rn=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!_n(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,p=[];let h=e;for(;_n(h)&&d(h);){if(h=Pn(h),h===f){p.push(h);break}null!=h&&h===document.body&&On(h)&&!On(document.documentElement)||null!=h&&On(h,c)&&p.push(h)}const m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:v,scrollY:y}=window,{height:E,width:b,top:C,right:T,bottom:k,left:A}=e.getBoundingClientRect(),{top:x,right:D,bottom:S,left:_}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let w="start"===s||"nearest"===s?C-x:"end"===s?k+S:C+E/2-x+S,O="center"===l?A+b/2-_+D:"end"===l?T+D:A-_;const N=[];for(let e=0;e<p.length;e++){const t=p[e],{height:n,width:r,top:o,right:i,bottom:u,left:c}=t.getBoundingClientRect();if("if-needed"===a&&C>=0&&A>=0&&k<=g&&T<=m&&(t===f&&!On(t)||C>=o&&k<=u&&A>=c&&T<=i))return N;const d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),x=parseInt(d.borderTopWidth,10),D=parseInt(d.borderRightWidth,10),S=parseInt(d.borderBottomWidth,10);let _=0,P=0;const R="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-D:0,B="offsetHeight"in t?t.offsetHeight-t.clientHeight-x-S:0,F="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,I="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)_="start"===s?w:"end"===s?w-g:"nearest"===s?Nn(y,y+g,g,x,S,y+w,y+w+E,E):w-g/2,P="start"===l?O:"center"===l?O-m/2:"end"===l?O-m:Nn(v,v+m,m,h,D,v+O,v+O+b,b),_=Math.max(0,_+y),P=Math.max(0,P+v);else{_="start"===s?w-o-x:"end"===s?w-u+S+B:"nearest"===s?Nn(o,u,n,x,S+B,w,w+E,E):w-(o+n/2)+B/2,P="start"===l?O-c-h:"center"===l?O-(c+r/2)+R/2:"end"===l?O-i+D+R:Nn(c,i,r,h,D+R,O,O+b,b);const{scrollLeft:e,scrollTop:a}=t;_=0===I?0:Math.max(0,Math.min(a+_/I,t.scrollHeight-n/I+B)),P=0===F?0:Math.max(0,Math.min(e+P/F,t.scrollWidth-r/F+R)),w+=a-_,O+=e-P}N.push({el:t,top:_,left:P})}return N};var Bn,Fn,In=u(12567),Mn=globalThis.Node,Ln=(globalThis.Element,globalThis.Text),jn=(globalThis.Range,globalThis.Selection,globalThis.StaticRange,e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null),Hn=e=>zn(e)&&8===e.nodeType,Un=e=>zn(e)&&1===e.nodeType,zn=e=>{var t=jn(e);return!!t&&e instanceof t.Node},Gn=e=>{var t=e&&e.anchorNode&&jn(e.anchorNode);return!!t&&e instanceof t.Selection},Wn=e=>zn(e)&&3===e.nodeType,Kn=(e,t,n)=>{for(var{childNodes:r}=e,o=r[t],i=t,a=!1,s=!1;(Hn(o)||Un(o)&&0===o.childNodes.length||Un(o)&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);)i>=r.length?(a=!0,i=t-1,n="backward"):i<0?(s=!0,i=t+1,n="forward"):(o=r[i],t=i,i+="forward"===n?1:-1);return[o,t]},qn=(e,t,n)=>{var[r]=Kn(e,t,n);return r},$n=e=>{var t="";if(Wn(e)&&e.nodeValue)return e.nodeValue;if(Un(e)){for(var n of Array.from(e.childNodes))t+=$n(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},Vn=/data-slate-fragment="(.+?)"/m,Yn=e=>null!=e.getSelection?e.getSelection():document.getSelection(),Xn=(e,t,n)=>{var{target:r}=t;if(Un(r)&&r.matches('[contentEditable="false"]'))return!1;var{document:o}=Hr.getWindow(e);if(o.contains(r))return Hr.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)&&Xn(e,i,n)},Qn=(e,t)=>Boolean(e.compareDocumentPosition(t)&Mn.DOCUMENT_POSITION_PRECEDING),Jn="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,Zn="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),er="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),tr="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),nr="undefined"!=typeof navigator&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),rr="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),or="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),ir="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ar=er&&"undefined"!=typeof navigator&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),sr="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),lr="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),ur="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent)&&(!or||ir),cr=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement);"undefined"!=typeof navigator&&/Safari/.test(navigator.userAgent)&&/Version\/(\d+)/.test(navigator.userAgent)&&null!==(Bn=navigator.userAgent.match(/Version\/(\d+)/))&&void 0!==Bn&&Bn[1]&&parseInt(null===(Fn=navigator.userAgent.match(/Version\/(\d+)/))||void 0===Fn?void 0:Fn[1],10);var dr=(!ir||!ar)&&!rr&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges;function fr(e){return fr="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},fr(e)}function pr(e,t,n){return(t=function(e){var t=function(e){if("object"!==fr(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==fr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===fr(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hr=0;class mr{constructor(){pr(this,"id",void 0),this.id="".concat(hr++)}}var gr=new WeakMap,vr=new WeakMap,yr=new WeakMap,Er=new WeakMap,br=new WeakMap,Cr=new WeakMap,Tr=new WeakMap,kr=new WeakMap,Ar=new WeakMap,xr=new WeakMap,Dr=new WeakMap,Sr=new WeakMap,_r=new WeakMap,wr=new WeakMap,Or=new WeakMap,Nr=new WeakMap,Pr=new WeakMap,Rr=new WeakMap,Br=new WeakMap,Fr=new WeakMap,Ir=new WeakMap,Mr=new WeakMap,Lr=Symbol("placeholder"),jr=Symbol("mark-placeholder"),Hr={androidPendingDiffs:e=>Br.get(e),androidScheduleFlush:e=>{var t;null===(t=Nr.get(e))||void 0===t||t()},blur:e=>{var t=Hr.toDOMNode(e,e),n=Hr.findDocumentOrShadowRoot(e);Sr.set(e,!1),n.activeElement===t&&t.blur()},deselect:e=>{var{selection:t}=e,n=Hr.findDocumentOrShadowRoot(e),r=Yn(n);r&&r.rangeCount>0&&r.removeAllRanges(),t&&Xt.deselect(e)},findDocumentOrShadowRoot:e=>{var t=Hr.toDOMNode(e,e),n=t.getRootNode();return n instanceof Document||n instanceof ShadowRoot?n:t.ownerDocument},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=Hr.toSlateNode(e,t.target),s=Hr.findPath(e,a);if(Ze.isElement(a)&&at.isVoid(e,a)){var l=o.getBoundingClientRect(),u=e.isInline(a)?n-l.left<l.left+l.width-n:r-l.top<l.top+l.height-r,c=at.point(e,s,{edge:u?"start":"end"}),d=u?at.before(e,c):at.after(e,c);if(d)return at.range(e,d)}var{document:f}=Hr.getWindow(e);if(f.caretRangeFromPoint)i=f.caretRangeFromPoint(n,r);else{var p=f.caretPositionFromPoint(n,r);p&&((i=f.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return Hr.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})},findKey:(e,t)=>{var n=Ar.get(t);return n||(n=new mr,Ar.set(t,n)),n},findPath:(e,t)=>{for(var n=[],r=t;;){var o=yr.get(r);if(null==o){if(at.isEditor(r))return n;break}var i=vr.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(ft.stringify(t)))},focus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{retries:5};if(!Sr.get(e)&&br.get(e)){if(t.retries<=0)throw new Error("Could not set focus, editor seems stuck with pending operations");if(e.operations.length>0)setTimeout(()=>{Hr.focus(e,{retries:t.retries-1})},10);else{var n=Hr.toDOMNode(e,e),r=Hr.findDocumentOrShadowRoot(e);if(r.activeElement!==n){if(e.selection&&r instanceof Document){var o=Yn(r),i=Hr.toDOMRange(e,e.selection);null==o||o.removeAllRanges(),null==o||o.addRange(i)}e.selection||Xt.select(e,at.start(e,[])),Sr.set(e,!0),n.focus({preventScroll:!0})}}}},getWindow:e=>{var t=Er.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},hasDOMNode:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=Hr.toDOMNode(e,e);try{n=Un(t)?t:t.parentElement}catch(e){if(e instanceof Error&&!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"))},hasEditableTarget:(e,t)=>zn(t)&&Hr.hasDOMNode(e,t,{editable:!0}),hasRange:(e,t)=>{var{anchor:n,focus:r}=t;return at.hasPath(e,n.path)&&at.hasPath(e,r.path)},hasSelectableTarget:(e,t)=>Hr.hasEditableTarget(e,t)||Hr.isTargetInsideNonReadonlyVoid(e,t),hasTarget:(e,t)=>zn(t)&&Hr.hasDOMNode(e,t),insertData:(e,t)=>{e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),isComposing:e=>!!_r.get(e),isFocused:e=>!!Sr.get(e),isReadOnly:e=>!!Dr.get(e),isTargetInsideNonReadonlyVoid:(e,t)=>{if(Dr.get(e))return!1;var n=Hr.hasTarget(e,t)&&Hr.toSlateNode(e,t);return Ze.isElement(n)&&at.isVoid(e,n)},setFragmentData:(e,t,n)=>e.setFragmentData(t,n),toDOMNode:(e,t)=>{var n=xr.get(e),r=at.isEditor(t)?br.get(e):null==n?void 0:n.get(Hr.findKey(e,t));if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(ft.stringify(t)));return r},toDOMPoint:(e,t)=>{var n,[r]=at.node(e,t.path),o=Hr.toDOMNode(e,r);at.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 l=i[s],u=l.childNodes[0];if(null!=u&&null!=u.textContent){var{length:c}=u.textContent,d=l.getAttribute("data-slate-length"),f=a+(null==d?c:parseInt(d,10)),p=i[s+1];if(t.offset===f&&null!=p&&p.hasAttribute("data-slate-mark-placeholder")){var h,m=p.childNodes[0];n=[m instanceof Ln?m:p,null!==(h=p.textContent)&&void 0!==h&&h.startsWith("\ufeff")?1:0];break}if(t.offset<=f){n=[u,Math.min(c,Math.max(0,t.offset-a))];break}a=f}}if(!n)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(ft.stringify(t)));return n},toDOMRange:(e,t)=>{var{anchor:n,focus:r}=t,o=Qe.isBackward(t),i=Hr.toDOMPoint(e,n),a=Qe.isCollapsed(t)?i:Hr.toDOMPoint(e,r),s=Hr.getWindow(e).document.createRange(),[l,u]=o?a:i,[c,d]=o?i:a,f=!!(Un(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),p=!!(Un(c)?c:c.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,f?1:u),s.setEnd(c,p?1:d),s},toSlateNode:(e,t)=>{var n=Un(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Tr.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},toSlatePoint:(e,t,n)=>{var{exactMatch:r,suppressThrow:o,searchDirection:i}=n,[a,s]=r?t:(e=>{var[t,n]=e;if(Un(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?n-1:n;for([t,o]=Kn(t,o,r?"backward":"forward"),r=o<n;Un(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=qn(t,i,r?"backward":"forward")}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),l=a.parentNode,u=null,c=0;if(l){var d,f,p=Hr.toDOMNode(e,e),h=l.closest('[data-slate-void="true"]'),m=h&&p.contains(h)?h:null,g=l.closest('[contenteditable="false"]'),v=g&&p.contains(g)?g:null,y=l.closest("[data-slate-leaf]"),E=null;if(y){if(u=y.closest('[data-slate-node="text"]')){var b=Hr.getWindow(e).document.createRange();b.setStart(u,0),b.setEnd(a,s);var C=b.cloneContents();[...Array.prototype.slice.call(C.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(C.querySelectorAll("[contenteditable=false]"))].forEach(e=>{er&&!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)}),c=C.textContent.length,E=u}}else if(m){for(var T=m.querySelectorAll("[data-slate-leaf]"),k=0;k<T.length;k++){var A=T[k];if(Hr.hasDOMNode(e,A)){y=A;break}}y?(u=y.closest('[data-slate-node="text"]'),c=(E=y).textContent.length,E.querySelectorAll("[data-slate-zero-width]").forEach(e=>{c-=e.textContent.length})):c=1}else if(v){var x,D,S=e=>e?e.querySelectorAll("[data-slate-leaf]:not(:scope [data-slate-editor] [data-slate-leaf])"):[],_=v.closest('[data-slate-node="element"]');"backward"!==i&&i||(y=null!==(x=[...S(null==_?void 0:_.previousElementSibling),...S(_)].findLast(e=>Qn(v,e)))&&void 0!==x?x:null),"forward"!==i&&i||(y=null!==(D=[...S(_),...S(null==_?void 0:_.nextElementSibling)].find(e=>((e,t)=>Boolean(e.compareDocumentPosition(t)&Mn.DOCUMENT_POSITION_FOLLOWING))(v,e)))&&void 0!==D?D:null),y&&(u=y.closest('[data-slate-node="text"]'),E=y,"forward"===i?c=0:(c=E.textContent.length,E.querySelectorAll("[data-slate-zero-width]").forEach(e=>{c-=e.textContent.length})))}E&&c===E.textContent.length&&er&&"z"===E.getAttribute("data-slate-zero-width")&&null!==(d=E.textContent)&&void 0!==d&&d.startsWith("\ufeff")&&(l.hasAttribute("data-slate-zero-width")||tr&&null!==(f=E.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&c--}if(er&&!u&&!r){var w=l.hasAttribute("data-slate-node")?l:l.closest("[data-slate-node]");if(w&&Hr.hasDOMNode(e,w,{editable:!0})){var O=Hr.toSlateNode(e,w),{path:N,offset:P}=at.start(e,Hr.findPath(e,O));return w.querySelector("[data-slate-leaf]")||(P=s),{path:N,offset:P}}}if(!u){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var R=Hr.toSlateNode(e,u);return{path:Hr.findPath(e,R),offset:c}},toSlateRange:(e,t,n)=>{var r,o,i,a,s,l,{exactMatch:u,suppressThrow:c}=n;if(Gn(t)?t.anchorNode:t.startContainer)if(Gn(t)){if(tr&&t.rangeCount>1){a=t.focusNode;var d=t.getRangeAt(0),f=t.getRangeAt(t.rangeCount-1);if(a instanceof HTMLTableRowElement&&d.startContainer instanceof HTMLTableRowElement&&f.startContainer instanceof HTMLTableRowElement){function C(e){return e.childElementCount>0?C(e.children[0]):e}var p=d.startContainer,h=f.startContainer,m=C(p.children[d.startOffset]),g=C(h.children[f.startOffset]);s=0,o=g.childNodes.length>0?g.childNodes[0]:g,a=m.childNodes.length>0?m.childNodes[0]:m,i=g instanceof HTMLElement?g.innerHTML.length:0}else d.startContainer===a?(o=f.endContainer,i=f.endOffset,s=d.startOffset):(o=d.startContainer,i=d.endOffset,s=f.startOffset)}else o=t.anchorNode,i=t.anchorOffset,a=t.focusNode,s=t.focusOffset;l=or&&(e=>{for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1})(o)||tr?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed}else o=t.startContainer,i=t.startOffset,a=t.endContainer,s=t.endOffset,l=t.collapsed;if(null==o||null==a||null==i||null==s)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));tr&&null!==(r=a.textContent)&&void 0!==r&&r.endsWith("\n\n")&&s===a.textContent.length&&s--;var v=Hr.toSlatePoint(e,[o,i],{exactMatch:u,suppressThrow:c});if(!v)return null;var y=Qn(o,a)||o===a&&s<i,E=l?v:Hr.toSlatePoint(e,[a,s],{exactMatch:u,suppressThrow:c,searchDirection:y?"forward":"backward"});if(!E)return null;var b={anchor:v,focus:E};return Qe.isExpanded(b)&&Qe.isForward(b)&&Un(a)&&at.void(e,{at:b.focus,mode:"highest"})&&(b=at.unhangRange(e,b,{voids:!0})),b}};function Ur(e,t){var{path:n,diff:r}=t;if(!at.hasPath(e,n))return!1;var o=nt.get(e,n);if(!yt.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=Pe.next(n);if(!at.hasPath(e,i))return!1;var a=nt.get(e,i);return yt.isText(a)&&a.text.startsWith(r.text)}function zr(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 Gr(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)),l={start:n+a,end:r-s,text:o.slice(a,o.length-s)};return l.start===l.end&&0===l.text.length?null:l}function Wr(e){var{path:t,diff:n}=e;return{anchor:{path:t,offset:n.start},focus:{path:t,offset:n.end}}}function Kr(e,t){var{path:n,offset:r}=t;if(!at.hasPath(e,n))return null;var o=nt.get(e,n);if(!yt.isText(o))return null;var i=at.above(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t),at:n});if(!i)return null;for(;r>o.text.length;){var a=at.next(e,{at:n,match:yt.isText});if(!a||!Pe.isDescendant(a[1],i[1]))return null;r-=o.text.length,o=a[0],n=a[1]}return{path:n,offset:r}}function qr(e,t){var n=Kr(e,t.anchor);if(!n)return null;if(Qe.isCollapsed(t))return{anchor:n,focus:n};var r=Kr(e,t.focus);return r?{anchor:n,focus:r}:null}function $r(e,t,n){var r=Br.get(e),o=null==r?void 0:r.find(e=>{var{path:n}=e;return Pe.equals(n,t.path)});if(!o||t.offset<=o.diff.start)return ct.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=ct.transform(a,n,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-i.start}:null}var l={path:t.path,offset:t.offset-i.text.length+i.end-i.start},u=ct.transform(l,n,{affinity:"backward"});return u?"split_node"===n.type&&Pe.equals(n.path,t.path)&&l.offset<n.position&&i.start<n.position?u:{path:u.path,offset:u.offset+i.text.length-i.end+i.start}:null}function Vr(e,t,n){var r=$r(e,t.anchor,n);if(!r)return null;if(Qe.isCollapsed(t))return{anchor:r,focus:r};var o=$r(e,t.focus,n);return o?{anchor:r,focus:o}:null}var Yr=(e,t)=>{var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},Xr=(e,t,n)=>{var r=Hr.toDOMRange(e,t).getBoundingClientRect(),o=Hr.toDOMRange(e,n).getBoundingClientRect();return Yr(r,o)&&Yr(o,r)};function Qr(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 Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(n),!0).forEach(function(t){pr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Zr=(e,t)=>{var n=[];for(var[r,o]of at.levels(e,{at:t})){var i=Hr.findKey(e,r);n.push([o,i])}return n},eo={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"},to={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"},no={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},ro=e=>{var t=eo[e],n=to[e],r=no[e],o=t&&(0,In.v_)(t),i=n&&(0,In.v_)(n),a=r&&(0,In.v_)(r);return e=>!(!o||!o(e))||!!(Zn&&i&&i(e))||!(Zn||!a||!a(e))},oo={isBold:ro("bold"),isCompose:ro("compose"),isMoveBackward:ro("moveBackward"),isMoveForward:ro("moveForward"),isDeleteBackward:ro("deleteBackward"),isDeleteForward:ro("deleteForward"),isDeleteLineBackward:ro("deleteLineBackward"),isDeleteLineForward:ro("deleteLineForward"),isDeleteWordBackward:ro("deleteWordBackward"),isDeleteWordForward:ro("deleteWordForward"),isExtendBackward:ro("extendBackward"),isExtendForward:ro("extendForward"),isExtendLineBackward:ro("extendLineBackward"),isExtendLineForward:ro("extendLineForward"),isItalic:ro("italic"),isMoveLineBackward:ro("moveLineBackward"),isMoveLineForward:ro("moveLineForward"),isMoveWordBackward:ro("moveWordBackward"),isMoveWordForward:ro("moveWordForward"),isRedo:ro("redo"),isSoftBreak:ro("insertSoftBreak"),isSplitBlock:ro("splitBlock"),isTransposeCharacter:ro("transposeCharacter"),isUndo:ro("undo")};function io(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 ao=["anchor","focus"],so=["anchor","focus"];function lo(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 uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lo(Object(n),!0).forEach(function(t){pr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lo(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var co,fo=(e,t)=>{var n,r,o=io(e,ao),i=io(t,so);return e[Lr]===t[Lr]&&(n=o,r=i,Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every(e=>r.hasOwnProperty(e)&&n[e]===r[e]))},po=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!Qe.equals(r,o)||!fo(r,o))return!1}return!0},ho=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;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||!fo(r,o))return!1}return!0},mo=[],go=function(){return mo.some(function(e){return e.activeTargets.length>0})},vo="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"}(co||(co={}));var yo,Eo=function(e){return Object.freeze(e)},bo=function(e,t){this.inlineSize=e,this.blockSize=t,Eo(this)},Co=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,Eo(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}(),To=function(e){return e instanceof SVGElement&&"getBBox"in e},ko=function(e){if(To(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)},Ao=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)},xo="undefined"!=typeof window?window:{},Do=new WeakMap,So=/auto|scroll/,_o=/^tb|vertical/,wo=/msie|trident/i.test(xo.navigator&&xo.navigator.userAgent),Oo=function(e){return parseFloat(e||"0")},No=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new bo((n?t:e)||0,(n?e:t)||0)},Po=Eo({devicePixelContentBoxSize:No(),borderBoxSize:No(),contentBoxSize:No(),contentRect:new Co(0,0,0,0)}),Ro=function(e,t){if(void 0===t&&(t=!1),Do.has(e)&&!t)return Do.get(e);if(ko(e))return Do.set(e,Po),Po;var n=getComputedStyle(e),r=To(e)&&e.ownerSVGElement&&e.getBBox(),o=!wo&&"border-box"===n.boxSizing,i=_o.test(n.writingMode||""),a=!r&&So.test(n.overflowY||""),s=!r&&So.test(n.overflowX||""),l=r?0:Oo(n.paddingTop),u=r?0:Oo(n.paddingRight),c=r?0:Oo(n.paddingBottom),d=r?0:Oo(n.paddingLeft),f=r?0:Oo(n.borderTopWidth),p=r?0:Oo(n.borderRightWidth),h=r?0:Oo(n.borderBottomWidth),m=d+u,g=l+c,v=(r?0:Oo(n.borderLeftWidth))+p,y=f+h,E=s?e.offsetHeight-y-e.clientHeight:0,b=a?e.offsetWidth-v-e.clientWidth:0,C=o?m+v:0,T=o?g+y:0,k=r?r.width:Oo(n.width)-C-b,A=r?r.height:Oo(n.height)-T-E,x=k+m+b+v,D=A+g+E+y,S=Eo({devicePixelContentBoxSize:No(Math.round(k*devicePixelRatio),Math.round(A*devicePixelRatio),i),borderBoxSize:No(x,D,i),contentBoxSize:No(k,A,i),contentRect:new Co(d,l,k,A)});return Do.set(e,S),S},Bo=function(e,t,n){var r=Ro(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case co.DEVICE_PIXEL_CONTENT_BOX:return a;case co.BORDER_BOX:return o;default:return i}},Fo=function(e){var t=Ro(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Eo([t.borderBoxSize]),this.contentBoxSize=Eo([t.contentBoxSize]),this.devicePixelContentBoxSize=Eo([t.devicePixelContentBoxSize])},Io=function(e){if(ko(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Mo=function(){var e=1/0,t=[];mo.forEach(function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach(function(t){var n=new Fo(t.target),o=Io(t.target);r.push(n),t.lastReportedSize=Bo(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},Lo=function(e){mo.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(n){n.isActive()&&(Io(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))})})},jo=[],Ho=0,Uo={attributes:!0,characterData:!0,childList:!0,subtree:!0},zo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Go=function(e){return void 0===e&&(e=0),Date.now()+e},Wo=!1,Ko=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),!Wo){Wo=!0;var n,r=Go(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(Lo(t);go();)t=Mo(),Lo(t);return mo.some(function(e){return e.skippedTargets.length>0})&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:vo}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=vo),window.dispatchEvent(e)),t>0}()}finally{if(Wo=!1,e=r-Go(),!Ho)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!yo){var t=0,n=document.createTextNode("");new MutationObserver(function(){return jo.splice(0).forEach(function(e){return e()})}).observe(n,{characterData:!0}),yo=function(){n.textContent="".concat(t?t--:t++)}}jo.push(e),yo()}(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,Uo)};document.body?t():xo.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),zo.forEach(function(t){return xo.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),zo.forEach(function(t){return xo.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),qo=function(e){!Ho&&e>0&&Ko.start(),!(Ho+=e)&&Ko.stop()},$o=function(){function e(e,t){this.target=e,this.observedBox=t||co.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Bo(this.target,this.observedBox,!0);return e=this.target,To(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}(),Vo=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Yo=new WeakMap,Xo=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Qo=function(){function e(){}return e.connect=function(e,t){var n=new Vo(e,t);Yo.set(e,n)},e.observe=function(e,t,n){var r=Yo.get(e),o=0===r.observationTargets.length;Xo(r.observationTargets,t)<0&&(o&&mo.push(r),r.observationTargets.push(new $o(t,n&&n.box)),qo(1),Ko.schedule())},e.unobserve=function(e,t){var n=Yo.get(e),r=Xo(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&mo.splice(mo.indexOf(n),1),n.observationTargets.splice(r,1),qo(-1))},e.disconnect=function(e){var t=this,n=Yo.get(e);n.observationTargets.slice().forEach(function(n){return t.unobserve(e,n.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Jo=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.");Qo.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(!Ao(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Qo.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(!Ao(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Qo.unobserve(this,e)},e.prototype.disconnect=function(){Qo.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Zo=u(89545),ei=u.n(Zo);function ti(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 ni(e){return ni="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},ni(e)}function ri(e,t,n){return(t=function(e){var t=function(e){if("object"!==ni(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ni(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oi=(0,e.createContext)(null),ii=()=>{var t=(0,e.useContext)(oi);if(!t)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return t},ai=Hr;function si(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 li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?si(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ui=cr?e.useLayoutEffect:e.useEffect,ci=["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 fi={subtree:!0,childList:!0,characterData:!0},pi=er?t=>{var{node:n}=t,r=ti(t,ci);if(!er)return null;var o,i=ii(),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,l=0,u=!1,c=()=>{var e=Ir.get(t);if(Ir.delete(t),e){var{selection:n}=t,r=qr(t,e);!r||n&&Qe.equals(r,n)||Xt.select(t,r)}},d=()=>{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&&at.rangeRef(t,t.selection,{affinity:"forward"});Rr.set(t,t.marks),Fr.get(t),Br.get(t);for(var i,l=g();i=null===(d=Br.get(t))||void 0===d?void 0:d[0];){var d,f,p=Pr.get(t);void 0!==p&&(Pr.delete(t),t.marks=p),p&&!1===u&&(u=null);var h=Wr(i);t.selection&&Qe.equals(t.selection,h)||Xt.select(t,h),i.diff.text?at.insertText(t,i.diff.text):at.deleteFragment(t),Br.set(t,null===(f=Br.get(t))||void 0===f?void 0:f.filter(e=>{var{id:t}=e;return t!==i.id})),Ur(t,i)||(l=!1,Fr.delete(t),Rr.delete(t),o="action",Ir.delete(t),n.cancel(),r.cancel(),null==e||e.unref())}var v=null==e?void 0:e.unref();if(!v||Ir.get(t)||t.selection&&Qe.equals(v,t.selection)||Xt.select(t,v),m())(()=>{var e=Fr.get(t);if(Fr.delete(t),e){if(e.at){var n=ct.isPoint(e.at)?Kr(t,e.at):qr(t,e.at);if(!n)return;var r=at.range(t,n);t.selection&&Qe.equals(t.selection,r)||Xt.select(t,n)}e.run()}})();else{l&&n(),n.flush(),r.flush(),c();var y=Rr.get(t);Rr.delete(t),void 0!==y&&(t.marks=y,t.onChange())}}else c()},f=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=Cr.get(t);n&&(g()||e?n.style.display="none":n.style.removeProperty("display"))},p=(e,n)=>{var r,o=null!==(r=Br.get(t))&&void 0!==r?r:[];Br.set(t,o);var i=nt.leaf(t,e),a=o.findIndex(t=>Pe.equals(t.path,e));if(a<0)return Gr(i.text,n)&&o.push({path:e,diff:n,id:l++}),void f();var s,u,c,d,p,h,m,g,v=(s=i.text,u=o[a].diff,c=n,d=Math.min(u.start,c.start),p=Math.max(0,Math.min(u.start+u.text.length,c.end)-c.start),h=zr(s,u,c),m=Math.max(c.start+c.text.length,u.start+u.text.length+(u.start+u.text.length>c.start?c.text.length:0)-p),g=h.slice(d,m),Gr(s,{start:d,end:Math.max(u.end,c.end-u.text.length+(u.end-u.start)),text:g}));if(!v)return o.splice(a,1),void f();o[a]=li(li({},o[a]),{},{diff:v})},h=function(e){var{at:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u=!1,Ir.delete(t),n.cancel(),r.cancel(),m()&&d(),Fr.set(t,{at:o,run:e}),s=setTimeout(d)},m=()=>!!Fr.get(t),g=()=>{var e;return!(null===(e=Br.get(t))||void 0===e||!e.length)},v=e=>{Ir.set(t,e),a&&(clearTimeout(a),a=null);var{selection:n}=t;if(e){var r=!n||!Pe.equals(n.anchor.path,e.anchor.path),o=!n||!Pe.equals(n.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(r&&u||o)&&(u=!1),(r||g())&&(a=setTimeout(d,200))}},y=()=>{m()||(s=setTimeout(d))};return{flush:d,scheduleFlush:y,hasPendingDiffs:g,hasPendingAction:m,hasPendingChanges:()=>m()||g(),isFlushing:()=>o,handleUserSelect:v,handleCompositionEnd:e=>{i&&clearTimeout(i),i=setTimeout(()=>{_r.set(t,!1),d()},25)},handleCompositionStart:e=>{_r.set(t,!0),i&&(clearTimeout(i),i=null)},handleDOMBeforeInput:e=>{var n;if(a&&(clearTimeout(a),a=null),!gr.get(t)){var{inputType:r}=e,o=null,i=e.dataTransfer||e.data||void 0;!1!==u&&"insertText"!==r&&"insertCompositionText"!==r&&(u=!1);var[s]=e.getTargetRanges();s&&(o=ai.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var l=ai.getWindow(t).getSelection();if(!o&&l&&(s=l,o=ai.toSlateRange(t,l,{exactMatch:!1,suppressThrow:!0})),o=null!==(n=o)&&void 0!==n?n:t.selection){var c,d=!0;if(r.startsWith("delete")){var f=r.endsWith("Backward")?"backward":"forward",[m,g]=Qe.edges(o),[E,b]=at.leaf(t,m.path);if(Qe.isExpanded(o)&&E.text.length===m.offset&&0===g.offset){var C=at.next(t,{at:m.path,match:yt.isText});C&&Pe.equals(C[1],g.path)&&("backward"===f?(o={anchor:g,focus:g},m=g,[E,b]=C):(o={anchor:m,focus:m},g=m))}var T={text:"",start:m.offset,end:g.offset},k=Br.get(t),A=null==k?void 0:k.find(e=>Pe.equals(e.path,b)),x=A?[A.diff,T]:[T];if(0===zr(E.text,...x).length&&(d=!1),Qe.isExpanded(o)){if(d&&Pe.equals(o.anchor.path,o.focus.path)){var D={path:o.anchor.path,offset:m.offset},S=at.range(t,D,D);return v(S),p(o.anchor.path,{text:"",end:g.offset,start:m.offset})}return h(()=>at.deleteFragment(t,{direction:f}),{at:o})}}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return h(()=>at.deleteFragment(t),{at:o});case"deleteContent":case"deleteContentForward":var{anchor:_}=o;if(d&&Qe.isCollapsed(o)){var w=nt.leaf(t,_.path);if(_.offset<w.text.length)return p(_.path,{text:"",start:_.offset,end:_.offset+1})}return h(()=>at.deleteForward(t),{at:o});case"deleteContentBackward":var O,{anchor:N}=o,P=Gn(s)?s.isCollapsed:!(null===(O=s)||void 0===O||!O.collapsed);return d&&P&&Qe.isCollapsed(o)&&N.offset>0?p(N.path,{text:"",start:N.offset-1,end:N.offset}):h(()=>at.deleteBackward(t),{at:o});case"deleteEntireSoftLine":return h(()=>{at.deleteBackward(t,{unit:"line"}),at.deleteForward(t,{unit:"line"})},{at:o});case"deleteHardLineBackward":return h(()=>at.deleteBackward(t,{unit:"block"}),{at:o});case"deleteSoftLineBackward":return h(()=>at.deleteBackward(t,{unit:"line"}),{at:o});case"deleteHardLineForward":return h(()=>at.deleteForward(t,{unit:"block"}),{at:o});case"deleteSoftLineForward":return h(()=>at.deleteForward(t,{unit:"line"}),{at:o});case"deleteWordBackward":return h(()=>at.deleteBackward(t,{unit:"word"}),{at:o});case"deleteWordForward":return h(()=>at.deleteForward(t,{unit:"word"}),{at:o});case"insertLineBreak":return h(()=>at.insertSoftBreak(t),{at:o});case"insertParagraph":return h(()=>at.insertBreak(t),{at:o});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("DataTransfer"===(null==(c=i)?void 0:c.constructor.name))return h(()=>ai.insertData(t,i),{at:o});var R=null!=i?i:"";if(Pr.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&&at.insertText(t,n),r!==e.length-1&&at.insertSoftBreak(t)})},{at:o});if(Pe.equals(o.anchor.path,o.focus.path)){var[B,F]=Qe.edges(o),I={start:B.offset,end:F.offset,text:R};if(R&&u&&"insertCompositionText"===r){var M=u.start+u.text.search(/\S|$/);I.start+I.text.search(/\S|$/)===M+1&&I.end===u.start+u.text.length?(I.start-=1,u=null,y()):u=!1}else u="insertText"===r&&(null===u?I:!(!u||!Qe.isCollapsed(o)||u.end+u.text.length!==B.offset)&&li(li({},u),{},{text:u.text+R}));if(d){var L=t.selection;if(p(B.path,I),L){var j={path:B.path,offset:B.offset+R.length};h(()=>{Xt.select(t,{anchor:j,focus:j})},{at:j})}return}}return h(()=>at.insertText(t,R),{at:o})}}}},handleKeyDown:e=>{g()||(f(!0),setTimeout(f))},handleDomMutations:e=>{var n;g()||m()||e.some(n=>Xn(t,n,e))&&(null===(n=Mr.get(t))||void 0===n||n())},handleInput:()=>{!m()&&g()||d()}}}(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){ri(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));ui(()=>{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()},[o,t,r])}(n,s.handleDomMutations,fi),Nr.set(i,s.scheduleFlush),a&&s.flush(),s}:()=>null;function hi(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 mi=e=>{var{isLast:n,leaf:r,parent:o,text:i}=e,a=ii(),s=ai.findPath(a,i),l=Pe.parent(s),u=Boolean(r[jr]);return a.isVoid(o)?t().createElement(yi,{length:nt.string(o).length}):""!==r.text||o.children[o.children.length-1]!==i||a.isInline(o)||""!==at.string(a,l)?""===r.text?t().createElement(yi,{isMarkPlaceholder:u}):n&&"\n"===r.text.slice(-1)?t().createElement(gi,{isTrailing:!0,text:r.text}):t().createElement(gi,{text:r.text}):t().createElement(yi,{isLineBreak:!0,isMarkPlaceholder:u})},gi=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 ui(()=>{var e=a();i.current&&i.current.textContent!==e&&(i.current.textContent=e)}),t().createElement(vi,{ref:i},s)},vi=(0,e.memo)((0,e.forwardRef)((e,n)=>t().createElement("span",{"data-slate-string":!0,ref:n},e.children))),yi=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",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hi(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},i),er&&r?null:"\ufeff",r?t().createElement("br",null):null)};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 bi(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){ri(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 Ci=er?300:0;function Ti(e){e.current&&(clearTimeout(e.current),e.current=null)}var ki=e=>t().createElement(Di,bi({},e)),Ai=n=>{var{leaf:r,isLast:o,text:i,parent:a,renderPlaceholder:s,renderLeaf:l=ki,leafPosition:u}=n,c=ii(),d=(0,e.useRef)(null),f=(0,e.useRef)(null),[p,h]=(0,e.useState)(!1),m=(0,e.useRef)(null),g=(0,e.useCallback)(e=>{if(function(e,t){e.current&&(e.current.disconnect(),t&&(e.current=null))}(d,null==e),null==e){var t;Cr.delete(c),null===(t=r.onPlaceholderResize)||void 0===t||t.call(r,null)}else{if(Cr.set(c,e),!d.current){var n=window.ResizeObserver||Jo;d.current=new n(()=>{var t;null===(t=r.onPlaceholderResize)||void 0===t||t.call(r,e)})}d.current.observe(e),f.current=e}},[f,r,c]),v=t().createElement(mi,{isLast:o,leaf:r,parent:a,text:i}),y=Boolean(r[Lr]);if((0,e.useEffect)(()=>(y?m.current||(m.current=setTimeout(()=>{h(!0),m.current=null},Ci)):(Ti(m),h(!1)),()=>Ti(m)),[y,h]),y&&p){var E={children:r.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:nr?"inherit":void 0},contentEditable:!1,ref:g}};v=t().createElement(t().Fragment,null,v,s(E))}return l({attributes:{"data-slate-leaf":!0},children:v,leaf:r,text:i,leafPosition:u})},xi=t().memo(Ai,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&yt.equals(t.leaf,e.leaf)&&t.leaf[Lr]===e.leaf[Lr]),Di=e=>{var{attributes:n,children:r}=e;return t().createElement("span",bi({},n),r)};function Si(t,n){var r,[,o]=(0,e.useReducer)(e=>e+1,0),i=(0,e.useRef)(),a=(0,e.useRef)(()=>null),s=(0,e.useRef)(null);try{if(t!==a.current||i.current){var l=t();r=n(s.current,l)?s.current:l}else r=s.current}catch(e){throw i.current&&e instanceof Error&&(e.message+="\nThe error may be correlated with this previous error:\n".concat(i.current.stack,"\n\n")),e}return a.current=t,s.current=r,i.current=void 0,[r,(0,e.useCallback)(()=>{try{var e=a.current();if(n(s.current,e))return;s.current=e}catch(e){e instanceof Error?i.current=e:i.current=new Error(String(e))}o()},[])]}var _i=(0,e.createContext)({}),wi=(t,n)=>{var r=ii(),{decorate:o,addEventListener:i}=(0,e.useContext)(_i),a=yt.isText(t)?ho:po,[s,l]=Si(()=>{var e=ai.findPath(r,t);return o([t,e])},a);return ui(()=>{var e=i(l);return l(),e},[i,l]),(0,e.useMemo)(()=>[...s,...n],[s,n])};function Oi(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 Ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Pi=e=>t().createElement(Fi,Ni({},e)),Ri=n=>{for(var{decorations:r,isLast:o,parent:i,renderPlaceholder:a,renderLeaf:s,renderText:l=Pi,text:u}=n,c=ii(),d=(0,e.useRef)(null),f=wi(u,r),p=yt.decorations(u,f),h=ai.findKey(c,u),m=[],g=0;g<p.length;g++){var{leaf:v,position:y}=p[g];m.push(t().createElement(xi,{isLast:o&&g===p.length-1,key:"".concat(h.id,"-").concat(g),renderPlaceholder:a,leaf:v,leafPosition:y,text:u,parent:i,renderLeaf:s}))}var E=(0,e.useCallback)(e=>{var t=xr.get(c);e?(null==t||t.set(h,e),kr.set(u,e),Tr.set(e,u)):(null==t||t.delete(h),kr.delete(u),d.current&&Tr.delete(d.current)),d.current=e},[d,c,h,u]);return l({text:u,children:m,attributes:{"data-slate-node":"text",ref:E}})},Bi=t().memo(Ri,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderText===e.renderText&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&ho(t.decorations,e.decorations)),Fi=e=>{var{attributes:n,children:r}=e;return t().createElement("span",Ni({},n),r)};function Ii(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 Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Li=e=>t().createElement(Ui,Mi({},e)),ji=n=>{var{decorations:r,element:o,renderElement:i=Li,renderChunk:a,renderPlaceholder:s,renderLeaf:l,renderText:u}=n,c=ii(),d=ta(),f=c.isInline(o),p=wi(o,r),h=ai.findKey(c,o),m=(0,e.useCallback)(e=>{var t=xr.get(c);e?(null==t||t.set(h,e),kr.set(o,e),Tr.set(e,o)):(null==t||t.delete(h),kr.delete(o))},[c,h,o]),g=Ji({decorations:p,node:o,renderElement:i,renderChunk:a,renderPlaceholder:s,renderLeaf:l,renderText:u}),v={"data-slate-node":"element",ref:m};if(f&&(v["data-slate-inline"]=!0),!f&&at.hasInlines(c,o)){var y=nt.string(o),E=kn()(y);"rtl"===E&&(v.dir=E)}if(at.isVoid(c,o)){v["data-slate-void"]=!0,!d&&f&&(v.contentEditable=!1);var b=f?"span":"div",[[C]]=nt.texts(o);g=t().createElement(b,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},t().createElement(Bi,{renderPlaceholder:s,decorations:[],isLast:!1,parent:o,text:C})),vr.set(C,0),yr.set(C,o)}return i({attributes:v,children:g,element:o})},Hi=t().memo(ji,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderChunk===t.renderChunk&&e.renderText===t.renderText&&e.renderLeaf===t.renderLeaf&&e.renderPlaceholder===t.renderPlaceholder&&po(e.decorations,t.decorations)),Ui=e=>{var{attributes:n,children:r,element:o}=e,i=ii().isInline(o)?"span":"div";return t().createElement(i,Mi(Mi({},n),{},{style:{position:"relative"}}),r)};class zi{constructor(e,t){var{chunkSize:n,debug:r}=t;ri(this,"root",void 0),ri(this,"chunkSize",void 0),ri(this,"debug",void 0),ri(this,"reachedEnd",void 0),ri(this,"pointerChunk",void 0),ri(this,"pointerIndex",void 0),ri(this,"pointerIndexStack",void 0),ri(this,"cachedPointerNode",void 0),this.root=e,this.chunkSize=n,this.debug=null!=r&&r,this.pointerChunk=e,this.pointerIndex=-1,this.pointerIndexStack=[],this.reachedEnd=!1,this.validateState()}readLeaf(){if(this.reachedEnd)return null;for(;;){if(this.pointerIndex+1<this.pointerSiblings.length){this.pointerIndex++,this.cachedPointerNode=void 0;break}if("root"===this.pointerChunk.type)return this.reachedEnd=!0,null;this.exitChunk()}return this.validateState(),this.enterChunkUntilLeaf(!1),this.pointerNode}returnToPreviousLeaf(){if(this.reachedEnd)return this.reachedEnd=!1,void this.enterChunkUntilLeaf(!0);for(;;){if(this.pointerIndex>=1){this.pointerIndex--,this.cachedPointerNode=void 0;break}if("root"===this.pointerChunk.type)return void(this.pointerIndex=-1);this.exitChunk()}this.validateState(),this.enterChunkUntilLeaf(!0)}insertBefore(e){this.returnToPreviousLeaf(),this.insertAfter(e),this.readLeaf()}insertAfter(e){if(0!==e.length){for(var t=0,n=0;"chunk"===this.pointerChunk.type&&this.pointerIndex===this.pointerSiblings.length-1;){var r=this.chunkSize-this.pointerSiblings.length,o=Math.min(r,e.length);if(o>0){var i=e.splice(0,o);this.rawInsertAfter(i,t)}this.exitChunk(),t++}if(0!==e.length){var a=this.savePointer(),s=null;if(this.readLeaf())for(;"chunk"===this.pointerChunk.type&&0===this.pointerIndex;){var l=this.chunkSize-this.pointerSiblings.length,u=Math.min(l,e.length);if(u>0){var c=e.splice(-u,u);this.pointerIndex=-1,this.cachedPointerNode=void 0,this.rawInsertAfter(c,n),s||(s=this.savePointer())}this.exitChunk(),n++}this.restorePointer(a);var d=Math.max(t,n);this.rawInsertAfter(e,d),s&&this.restorePointer(s),this.validateState()}}}remove(){this.pointerSiblings.splice(this.pointerIndex--,1),this.cachedPointerNode=void 0,0===this.pointerSiblings.length&&"chunk"===this.pointerChunk.type?(this.exitChunk(),this.remove()):this.invalidateChunk(),this.validateState()}invalidateChunk(){for(var e=this.pointerChunk;"chunk"===e.type;e=e.parent)this.root.modifiedChunks.add(e)}get atStart(){return"root"===this.pointerChunk.type&&-1===this.pointerIndex}get pointerSiblings(){return this.pointerChunk.children}getPointerNode(){return this.reachedEnd||-1===this.pointerIndex?null:this.pointerSiblings[this.pointerIndex]}get pointerNode(){if(void 0!==this.cachedPointerNode)return this.cachedPointerNode;var e=this.getPointerNode();return this.cachedPointerNode=e,e}getChunkPath(e){for(var t=[],n=e;"chunk"===n.type;n=n.parent){var r=n.parent.children.indexOf(n);if(-1===r)return null;t.unshift(r)}return t}savePointer(){if(this.atStart)return"start";if(!this.pointerNode)throw new Error("Cannot save pointer when pointerNode is null");return{chunk:this.pointerChunk,node:this.pointerNode}}restorePointer(e){if("start"===e)return this.pointerChunk=this.root,this.pointerIndex=-1,this.pointerIndexStack=[],this.reachedEnd=!1,void(this.cachedPointerNode=void 0);var{chunk:t,node:n}=e,r=t.children.indexOf(n);if(-1===r)throw new Error("Cannot restore point because saved node is no longer in saved chunk");var o=this.getChunkPath(t);if(!o)throw new Error("Cannot restore point because saved chunk is no longer connected to root");this.pointerChunk=t,this.pointerIndex=r,this.pointerIndexStack=o,this.reachedEnd=!1,this.cachedPointerNode=n,this.validateState()}enterChunk(e){var t;if("chunk"!==(null===(t=this.pointerNode)||void 0===t?void 0:t.type))throw new Error("Cannot enter non-chunk");if(this.pointerIndexStack.push(this.pointerIndex),this.pointerChunk=this.pointerNode,this.pointerIndex=e?this.pointerSiblings.length-1:0,this.cachedPointerNode=void 0,this.validateState(),0===this.pointerChunk.children.length)throw new Error("Cannot enter empty chunk")}enterChunkUntilLeaf(e){for(;"chunk"===(null===(t=this.pointerNode)||void 0===t?void 0:t.type);){var t;this.enterChunk(e)}}exitChunk(){if("root"===this.pointerChunk.type)throw new Error("Cannot exit root");var e=this.pointerChunk;this.pointerChunk=e.parent,this.pointerIndex=this.pointerIndexStack.pop(),this.cachedPointerNode=void 0,this.validateState()}rawInsertAfter(e,t){if(0!==e.length){for(var n=(e,t,r)=>{if(1===r)return e;for(var o=[],i=0;i<this.chunkSize;i++){var a=e.slice(i*r,(i+1)*r);if(0===a.length)break;var s={type:"chunk",key:new mr,parent:t,children:[]};s.children=n(a,s,r/this.chunkSize),o.push(s)}return o},r=this.pointerSiblings.length+e.length,o=0,i=this.chunkSize;i<r;i*=this.chunkSize)o++;var a=Math.max(o,t),s=Math.pow(this.chunkSize,a),l=n(e,this.pointerChunk,s);this.pointerSiblings.splice(this.pointerIndex+1,0,...l),this.pointerIndex+=l.length,this.cachedPointerNode=void 0,this.invalidateChunk(),this.validateState()}}validateState(){if(this.debug){var e=t=>{if("chunk"===t.type){var{parent:n,children:r}=t;if(!n.children.includes(t))throw new Error("Debug: Chunk ".concat(t.key.id," has an incorrect parent property"));r.forEach(e)}};if(this.root.children.forEach(e),void 0!==this.cachedPointerNode&&this.cachedPointerNode!==this.getPointerNode())throw new Error("Debug: The cached pointer is incorrect and has not been invalidated");var t=this.getChunkPath(this.pointerChunk);if(!t)throw new Error("Debug: The pointer chunk is not connected to the root");if(!Pe.equals(this.pointerIndexStack,t))throw new Error("Debug: The cached index stack [".concat(this.pointerIndexStack.join(", "),"] does not match the path of the pointer chunk [").concat(t.join(", "),"]"))}}}class Gi{constructor(e,t){ri(this,"editor",void 0),ri(this,"children",void 0),ri(this,"cachedKeys",void 0),ri(this,"pointerIndex",void 0),this.editor=e,this.children=t,this.cachedKeys=new Array(t.length),this.pointerIndex=0}read(e){if(1===e)return[this.children[this.pointerIndex++]];var t=this.remaining(e);return this.pointerIndex+=e,t}remaining(e){return void 0===e?this.children.slice(this.pointerIndex):this.children.slice(this.pointerIndex,this.pointerIndex+e)}get reachedEnd(){return this.pointerIndex>=this.children.length}lookAhead(e,t){var n=this.children.indexOf(e,this.pointerIndex);if(n>-1)return n-this.pointerIndex;for(var r=this.pointerIndex;r<this.children.length;r++){var o=this.children[r];if(this.findKey(o,r)===t)return r-this.pointerIndex}return-1}toChunkLeaves(e,t){return e.map((e,n)=>({type:"leaf",node:e,key:this.findKey(e,t+n),index:t+n}))}findKey(e,t){var n=this.cachedKeys[t];if(n)return n;var r=ai.findKey(this.editor,e);return this.cachedKeys[t]=r,r}}function Wi(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 Ki=new WeakMap,qi=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=ai.findKey(e,t),o=Ki.get(r);return o||(o={type:"root",movedNodeKeys:new Set,modifiedChunks:new Set,children:[]},Ki.set(r,o)),n.reconcile&&((e,t)=>{var{chunkTree:n,children:r,chunkSize:o,rerenderChildren:i=[],onInsert:a,onUpdate:s,onIndexChange:l,debug:u}=t;n.modifiedChunks.clear();for(var c,d=new zi(n,{chunkSize:o,debug:u}),f=new Gi(e,r),p=function(){var e=f.lookAhead(c.node,c.key),t=e>0&&n.movedNodeKeys.has(c.key);if(-1===e||t)return d.remove(),1;var r=f.pointerIndex,o=f.read(e+1),u=o.pop();if(o.length){var p=f.toChunkLeaves(o,r);d.insertBefore(p),o.forEach((e,t)=>{null==a||a(e,r+t)})}var h=f.pointerIndex-1;c.node!==u&&(c.node=u,d.invalidateChunk(),null==s||s(u,h)),c.index!==h&&(c.index=h,null==l||l(u,h)),i.includes(h)&&d.invalidateChunk()};c=d.readLeaf();)p();if(!f.reachedEnd){var h=f.remaining(),m=f.toChunkLeaves(h,f.pointerIndex);d.returnToPreviousLeaf(),d.insertAfter(m),h.forEach((e,t)=>{null==a||a(e,f.pointerIndex+t)})}n.movedNodeKeys.clear()})(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wi(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wi(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({chunkTree:o,children:t.children},n.reconcile)),o},$i=e=>{var{children:t}=e;return t},Vi=n=>{var{root:r,ancestor:o,renderElement:i,renderChunk:a=$i}=n;return o.children.map(n=>{if("chunk"===n.type){var s=n.key.id,l=a({highest:o===r,lowest:n.children.some(e=>"leaf"===e.type),attributes:{"data-slate-chunk":!0},children:t().createElement(Xi,{root:r,ancestor:n,renderElement:i,renderChunk:a})});return t().createElement(e.Fragment,{key:s},l)}var u=n.node;return i(u,n.index,n.key)})},Yi=Vi,Xi=t().memo(Vi,(e,t)=>e.root===t.root&&e.renderElement===t.renderElement&&e.renderChunk===t.renderChunk&&!t.root.modifiedChunks.has(t.ancestor)),Qi=(0,e.createContext)(null),Ji=n=>{var{decorations:r,node:o,renderElement:i,renderChunk:a,renderPlaceholder:s,renderText:l,renderLeaf:u}=n,c=ii();gr.set(c,!1);var d=!at.isEditor(o)&&Ze.isElement(o)&&!c.isInline(o)&&at.hasInlines(c,o)?null:c.getChunkSize(o),f=!!d,{decorationsByChild:p,childrenToRedecorate:h}=Zi(c,o,r);f||o.children.forEach((e,t)=>{vr.set(e,t),yr.set(e,o)});var m=(0,e.useCallback)((e,n,r)=>{var o=null!=r?r:ai.findKey(c,e);return t().createElement(Qi.Provider,{key:"provider-".concat(o.id),value:e},t().createElement(Hi,{decorations:p[n],element:e,key:o.id,renderElement:i,renderChunk:a,renderPlaceholder:s,renderLeaf:u,renderText:l}))},[c,p,i,a,s,u,l]);if(!f)return o.children.map((e,n)=>yt.isText(e)?((e,n)=>{var r=ai.findKey(c,e);return t().createElement(Bi,{decorations:p[n],key:r.id,isLast:n===o.children.length-1,parent:o,renderPlaceholder:s,renderLeaf:u,renderText:l,text:e})})(e,n):m(e,n));var g=qi(c,o,{reconcile:{chunkSize:d,rerenderChildren:h,onInsert:(e,t)=>{vr.set(e,t),yr.set(e,o)},onUpdate:(e,t)=>{vr.set(e,t),yr.set(e,o)},onIndexChange:(e,t)=>{vr.set(e,t)}}});return t().createElement(Yi,{root:g,ancestor:g,renderElement:m,renderChunk:a})},Zi=(t,n,r)=>{var o=((e,t,n)=>{var r=Array.from(t.children,()=>[]);if(0===n.length)return r;var o=Hr.findPath(e,t),i=o.length,a=at.range(e,o),s=new Array(t.children.length),l=t=>{var n=s[t];if(n)return n;var r=at.range(e,[...o,t]);return s[t]=r,r};for(var u of n){var c=Qe.intersection(a,u);if(c)for(var[d,f]=Qe.edges(c),p=d.path[i],h=f.path[i],m=p;m<=h;m++){var g=r[m];if(g){var v=l(m),y=Qe.intersection(v,u);y&&g.push(uo(uo({},u),y))}}}return r})(t,n,r),i=(0,e.useRef)(o).current,a=[];i.length=o.length;for(var s=0;s<o.length;s++){var l,u=o[s],c=null!==(l=i[s])&&void 0!==l?l:null;po(c,u)||(i[s]=u,a.push(s))}return{decorationsByChild:i,childrenToRedecorate:a}},ea=(0,e.createContext)(!1),ta=()=>(0,e.useContext)(ea),na=(0,e.createContext)({}),ra=(e,t)=>e===t;var oa=()=>{var{addEventListener:t}=(0,e.useContext)(na),[,n]=(0,e.useReducer)(e=>e+1,0);if(!t)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");return ui(()=>t(n),[t]),ii()};new WeakMap;var ia={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class aa extends e.Component{constructor(){super(...arguments),ri(this,"context",null),ri(this,"manager",null),ri(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,ia)}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=>Xn(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}}ri(aa,"contextType",oi);var sa=er?aa:e=>{var{children:n}=e;return t().createElement(t().Fragment,null,n)},la=(0,e.createContext)(!1),ua=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderChunk","renderLeaf","renderText","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],ca=["text"];function da(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 fa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?da(Object(n),!0).forEach(function(t){ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var pa=e=>t().createElement(t().Fragment,null,Ji(e)),ha=(0,e.forwardRef)((n,r)=>{var o=(0,e.useCallback)(e=>t().createElement(ma,fa({},e)),[]),{autoFocus:i,decorate:a=ga,onDOMBeforeInput:s,placeholder:l,readOnly:u=!1,renderElement:c,renderChunk:d,renderLeaf:f,renderText:p,renderPlaceholder:h=o,scrollSelectionIntoView:m=va,style:g={},as:v="div",disableDefaultStyles:y=!1}=n,E=ti(n,ua),b=oa(),[C,T]=(0,e.useState)(!1),k=(0,e.useRef)(null),A=(0,e.useRef)([]),[x,D]=(0,e.useState)(),S=(0,e.useRef)(!1),{onUserInput:_,receivedUserInput:w}=function(){var t=ii(),n=(0,e.useRef)(!1),r=(0,e.useRef)(0),o=(0,e.useCallback)(()=>{if(!n.current){n.current=!0;var e=ai.getWindow(t);e.cancelAnimationFrame(r.current),r.current=e.requestAnimationFrame(()=>{n.current=!1})}},[t]);return(0,e.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),{receivedUserInput:n,onUserInput:o}}(),[,O]=(0,e.useReducer)(e=>e+1,0);Mr.set(b,O),Dr.set(b,u);var N=(0,e.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,e.useEffect)(()=>{k.current&&i&&k.current.focus()},[i]);var P=(0,e.useRef)(),R=(0,e.useMemo)(()=>Sn()(()=>{if(gr.get(b))R();else{var e=ai.toDOMNode(b,b).getRootNode();if(!S.current&&nr&&e instanceof ShadowRoot){S.current=!0;var t=(()=>{for(var e=document.activeElement;null!==(t=e)&&void 0!==t&&t.shadowRoot&&null!==(n=e.shadowRoot)&&void 0!==n&&n.activeElement;){var t,n,r;e=null===(r=e)||void 0===r||null===(r=r.shadowRoot)||void 0===r?void 0:r.activeElement}return e})();return t?document.execCommand("indent"):Xt.deselect(b),void(S.current=!1)}var n=P.current;if((er||!ai.isComposing(b))&&(!N.isUpdatingSelection||null!=n&&n.isFlushing())&&!N.isDraggingInternally){var r=ai.findDocumentOrShadowRoot(b),{activeElement:o}=r,i=ai.toDOMNode(b,b),a=Yn(r);if(o===i?(N.latestElement=o,Sr.set(b,!0)):Sr.delete(b),!a)return Xt.deselect(b);var{anchorNode:s,focusNode:l}=a,c=ai.hasEditableTarget(b,s)||ai.isTargetInsideNonReadonlyVoid(b,s),d=ai.hasTarget(b,l);if(c&&d){var f=ai.toSlateRange(b,a,{exactMatch:!1,suppressThrow:!0});f&&(ai.isComposing(b)||null!=n&&n.hasPendingChanges()||null!=n&&n.isFlushing()?null==n||n.handleUserSelect(f):Xt.select(b,f))}!u||c&&d||Xt.deselect(b)}}},100),[b,u,N]),B=(0,e.useMemo)(()=>xn()(R,0),[R]);P.current=pi({node:k,onDOMSelectionChange:R,scheduleOnDOMSelectionChange:B}),ui(()=>{var e,t,n;k.current&&(n=jn(k.current))?(Er.set(b,n),br.set(b,k.current),kr.set(b,k.current),Tr.set(k.current,b)):kr.delete(b);var{selection:r}=b,o=ai.findDocumentOrShadowRoot(b),i=Yn(o);if(i&&ai.isFocused(b)&&(null===(e=P.current)||void 0===e||!e.hasPendingAction())){var a=e=>{var t="None"!==i.type;if(r||t){var n,o=i.focusNode;if(tr&&i.rangeCount>1){var a=i.getRangeAt(0),s=i.getRangeAt(i.rangeCount-1);n=a.startContainer===o?s.endContainer:a.startContainer}else n=i.anchorNode;var l=br.get(b),u=!1;if(l.contains(n)&&l.contains(o)&&(u=!0),t&&u&&r&&!e){var c=ai.toSlateRange(b,i,{exactMatch:!0,suppressThrow:!0});if(c&&Qe.equals(c,r)){var d;if(!N.hasMarkPlaceholder)return;if(null!==(d=n)&&void 0!==d&&null!==(d=d.parentElement)&&void 0!==d&&d.hasAttribute("data-slate-mark-placeholder"))return}}if(!r||ai.hasRange(b,r)){N.isUpdatingSelection=!0;var f=null;try{f=r&&ai.toDOMRange(b,r)}catch(e){}return f?(ai.isComposing(b)&&!er?i.collapseToEnd():Qe.isBackward(r)?i.setBaseAndExtent(f.endContainer,f.endOffset,f.startContainer,f.startOffset):i.setBaseAndExtent(f.startContainer,f.startOffset,f.endContainer,f.endOffset),m(b,f)):i.removeAllRanges(),f}b.selection=ai.toSlateRange(b,i,{exactMatch:!1,suppressThrow:!0})}};i.rangeCount<=1&&a();var s="action"===(null===(t=P.current)||void 0===t?void 0:t.isFlushing());if(er&&s){var l=null,u=requestAnimationFrame(()=>{if(s){var e=e=>{try{ai.toDOMNode(b,b).focus(),a(e)}catch(e){}};e(),l=setTimeout(()=>{e(!0),N.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(u),l&&clearTimeout(l)}}setTimeout(()=>{N.isUpdatingSelection=!1})}});var F=(0,e.useCallback)(e=>{Ca(b,e);var t=ai.toDOMNode(b,b).getRootNode();if(null!=S&&S.current&&nr&&t instanceof ShadowRoot){var n=e.getTargetRanges()[0],r=new window.Range;r.setStart(n.startContainer,n.startOffset),r.setEnd(n.endContainer,n.endOffset);var o=ai.toSlateRange(b,r,{exactMatch:!1,suppressThrow:!1});return Xt.select(b,o),e.preventDefault(),void e.stopImmediatePropagation()}if(_(),!u&&ai.hasEditableTarget(b,e.target)&&!ba(e,s)){var i;if(P.current)return P.current.handleDOMBeforeInput(e);B.flush(),R.flush();var{selection:a}=b,{inputType:l}=e,c=e.dataTransfer||e.data||void 0,d="insertCompositionText"===l||"deleteCompositionText"===l;if(d&&ai.isComposing(b))return;var f=!1;if("insertText"===l&&a&&Qe.isCollapsed(a)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==a.anchor.offset&&(f=!0,b.marks&&(f=!1),!gr.get(b))){var p,h,{anchor:m}=a,[g,v]=ai.toDOMPoint(b,m),y=null===(p=g.parentElement)||void 0===p?void 0:p.closest("a"),E=ai.getWindow(b);if(f&&y&&ai.hasDOMNode(b,y)){var C,k=null==E?void 0:E.document.createTreeWalker(y,NodeFilter.SHOW_TEXT).lastChild();k===g&&(null===(C=k.textContent)||void 0===C?void 0:C.length)===v&&(f=!1)}if(f&&g.parentElement&&"pre"===(null==E||null===(h=E.getComputedStyle(g.parentElement))||void 0===h?void 0:h.whiteSpace)){var x=at.above(b,{at:m.path,match:e=>Ze.isElement(e)&&at.isBlock(b,e)});x&&nt.string(x[0]).includes("\t")&&(f=!1)}}if((!l.startsWith("delete")||l.startsWith("deleteBy"))&&!gr.get(b)){var[D]=e.getTargetRanges();if(D){var w=ai.toSlateRange(b,D,{exactMatch:!1,suppressThrow:!1});if(!a||!Qe.equals(a,w)){f=!1;var O=!d&&b.selection&&at.rangeRef(b,b.selection);Xt.select(b,w),O&&wr.set(b,O)}}}if(d)return;if(f||e.preventDefault(),a&&Qe.isExpanded(a)&&l.startsWith("delete")){var N=l.endsWith("Backward")?"backward":"forward";return void at.deleteFragment(b,{direction:N})}switch(l){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":at.deleteFragment(b);break;case"deleteContent":case"deleteContentForward":at.deleteForward(b);break;case"deleteContentBackward":at.deleteBackward(b);break;case"deleteEntireSoftLine":at.deleteBackward(b,{unit:"line"}),at.deleteForward(b,{unit:"line"});break;case"deleteHardLineBackward":at.deleteBackward(b,{unit:"block"});break;case"deleteSoftLineBackward":at.deleteBackward(b,{unit:"line"});break;case"deleteHardLineForward":at.deleteForward(b,{unit:"block"});break;case"deleteSoftLineForward":at.deleteForward(b,{unit:"line"});break;case"deleteWordBackward":at.deleteBackward(b,{unit:"word"});break;case"deleteWordForward":at.deleteForward(b,{unit:"word"});break;case"insertLineBreak":at.insertSoftBreak(b);break;case"insertParagraph":at.insertBreak(b);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===l&&ai.isComposing(b)&&(T(!1),_r.set(b,!1)),"DataTransfer"===(null==c?void 0:c.constructor.name)?ai.insertData(b,c):"string"==typeof c&&(f?A.current.push(()=>at.insertText(b,c)):at.insertText(b,c))}var F=null===(i=wr.get(b))||void 0===i?void 0:i.unref();wr.delete(b),!F||b.selection&&Qe.equals(b.selection,F)||Xt.select(b,F)}},[b,R,_,s,u,B]),I=(0,e.useCallback)(e=>{null==e?(R.cancel(),B.cancel(),br.delete(b),kr.delete(b),k.current&&dr&&k.current.removeEventListener("beforeinput",F)):dr&&e.addEventListener("beforeinput",F),k.current=e,"function"==typeof r?r(e):r&&(r.current=e)},[R,B,b,F,r]);ui(()=>{var e=ai.getWindow(b),t=e=>{var{target:t}=e,n=t instanceof HTMLElement?t:null,r=null==n?void 0:n.tagName;"INPUT"!==r&&"TEXTAREA"!==r&&B()};e.document.addEventListener("selectionchange",t);var n=()=>{N.isDraggingInternally=!1};return e.document.addEventListener("dragend",n),e.document.addEventListener("drop",n),()=>{e.document.removeEventListener("selectionchange",t),e.document.removeEventListener("dragend",n),e.document.removeEventListener("drop",n)}},[B,N]);var M=a([b,[]]),L=(t=>{var n=(0,e.useRef)(new Set),r=(0,e.useRef)(t);ui(()=>{r.current=t,n.current.forEach(e=>e())},[t]);var o=(0,e.useCallback)(e=>r.current(e),[]),i=(0,e.useCallback)(e=>(n.current.add(e),()=>{n.current.delete(e)}),[]);return(0,e.useMemo)(()=>({decorate:o,addEventListener:i}),[o,i])})(a),j=l&&1===b.children.length&&1===Array.from(nt.texts(b)).length&&""===nt.string(b)&&!C,H=(0,e.useCallback)(e=>{var t;D(e&&j?null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.height:void 0)},[j]);if(j){var U=at.start(b,[]);M.push({[Lr]:!0,placeholder:l,onPlaceholderResize:H,anchor:U,focus:U})}var{marks:z}=b;if(N.hasMarkPlaceholder=!1,b.selection&&Qe.isCollapsed(b.selection)&&z){var{anchor:G}=b.selection,W=nt.leaf(b,G.path),K=ti(W,ca);if(!yt.equals(W,z,{loose:!0})){N.hasMarkPlaceholder=!0;var q=Object.fromEntries(Object.keys(K).map(e=>[e,null]));M.push(fa(fa(fa({[jr]:!0},q),z),{},{anchor:G,focus:G}))}}return(0,e.useEffect)(()=>{setTimeout(()=>{var{selection:e}=b;if(e){var{anchor:t}=e,n=nt.leaf(b,t.path);if(z&&!yt.equals(n,z,{loose:!0}))return void Pr.set(b,z)}Pr.delete(b)})}),function(){var{flushDeferred:t}=(0,e.useContext)(na);ui(t)}(),t().createElement(ea.Provider,{value:u},t().createElement(la.Provider,{value:C},t().createElement(_i.Provider,{value:L},t().createElement(sa,{node:k,receivedUserInput:w},t().createElement(v,fa(fa({role:u?void 0:"textbox","aria-multiline":!u||void 0},E),{},{spellCheck:!(!dr&&cr)&&E.spellCheck,autoCorrect:dr||!cr?E.autoCorrect:"false",autoCapitalize:dr||!cr?E.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!u,zindex:-1,suppressContentEditableWarning:!0,ref:I,style:fa(fa({},y?{}:fa({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},x?{minHeight:x}:{})),g),onBeforeInput:(0,e.useCallback)(e=>{if(!dr&&!u&&!ya(e,E.onBeforeInput)&&ai.hasSelectableTarget(b,e.target)&&(e.preventDefault(),!ai.isComposing(b))){var t=e.data;at.insertText(b,t)}},[E.onBeforeInput,b,u]),onInput:(0,e.useCallback)(e=>{if(!ya(e,E.onInput))if(P.current)P.current.handleInput();else{for(var t of A.current)t();A.current=[],ai.isFocused(b)||Ca(b,e.nativeEvent)}},[E.onInput,b]),onBlur:(0,e.useCallback)(e=>{if(!u&&!N.isUpdatingSelection&&ai.hasSelectableTarget(b,e.target)&&!ya(e,E.onBlur)){var t=ai.findDocumentOrShadowRoot(b);if(N.latestElement!==t.activeElement){var{relatedTarget:n}=e;if(!(n===ai.toDOMNode(b,b)||Un(n)&&n.hasAttribute("data-slate-spacer"))){if(null!=n&&zn(n)&&ai.hasDOMNode(b,n)){var r=ai.toSlateNode(b,n);if(Ze.isElement(r)&&!b.isVoid(r))return}if(nr){var o=Yn(t);null==o||o.removeAllRanges()}Sr.delete(b)}}}},[u,N.isUpdatingSelection,N.latestElement,b,E.onBlur]),onClick:(0,e.useCallback)(e=>{if(ai.hasTarget(b,e.target)&&!ya(e,E.onClick)&&zn(e.target)){var t=ai.toSlateNode(b,e.target),n=ai.findPath(b,t);if(!at.hasPath(b,n)||nt.get(b,n)!==t)return;if(3===e.detail&&n.length>=1){var r=n;if(!Ze.isElement(t)||!at.isBlock(b,t)){var o,i=at.above(b,{match:e=>Ze.isElement(e)&&at.isBlock(b,e),at:n});r=null!==(o=null==i?void 0:i[1])&&void 0!==o?o:n.slice(0,1)}var a=at.range(b,r);return void Xt.select(b,a)}if(u)return;var s=at.start(b,n),l=at.end(b,n),c=at.void(b,{at:s}),d=at.void(b,{at:l});if(c&&d&&Pe.equals(c[1],d[1])){var f=at.range(b,s);Xt.select(b,f)}}},[b,E.onClick,u]),onCompositionEnd:(0,e.useCallback)(e=>{if(ai.hasSelectableTarget(b,e.target)){var t;if(ai.isComposing(b)&&Promise.resolve().then(()=>{T(!1),_r.set(b,!1)}),null===(t=P.current)||void 0===t||t.handleCompositionEnd(e),ya(e,E.onCompositionEnd)||er)return;if(!nr&&!sr&&!Jn&&!ur&&!lr&&e.data){var n=Pr.get(b);Pr.delete(b),void 0!==n&&(Rr.set(b,b.marks),b.marks=n),at.insertText(b,e.data);var r=Rr.get(b);Rr.delete(b),void 0!==r&&(b.marks=r)}}},[E.onCompositionEnd,b]),onCompositionUpdate:(0,e.useCallback)(e=>{ai.hasSelectableTarget(b,e.target)&&!ya(e,E.onCompositionUpdate)&&(ai.isComposing(b)||(T(!0),_r.set(b,!0)))},[E.onCompositionUpdate,b]),onCompositionStart:(0,e.useCallback)(e=>{if(ai.hasSelectableTarget(b,e.target)){var t;if(null===(t=P.current)||void 0===t||t.handleCompositionStart(e),ya(e,E.onCompositionStart)||er)return;T(!0);var{selection:n}=b;if(n&&Qe.isExpanded(n))return void at.deleteFragment(b)}},[E.onCompositionStart,b]),onCopy:(0,e.useCallback)(e=>{!ai.hasSelectableTarget(b,e.target)||ya(e,E.onCopy)||Ea(e)||(e.preventDefault(),ai.setFragmentData(b,e.clipboardData,"copy"))},[E.onCopy,b]),onCut:(0,e.useCallback)(e=>{if(!u&&ai.hasSelectableTarget(b,e.target)&&!ya(e,E.onCut)&&!Ea(e)){e.preventDefault(),ai.setFragmentData(b,e.clipboardData,"cut");var{selection:t}=b;if(t)if(Qe.isExpanded(t))at.deleteFragment(b);else{var n=nt.parent(b,t.anchor.path);at.isVoid(b,n)&&Xt.delete(b)}}},[u,b,E.onCut]),onDragOver:(0,e.useCallback)(e=>{if(ai.hasTarget(b,e.target)&&!ya(e,E.onDragOver)){var t=ai.toSlateNode(b,e.target);Ze.isElement(t)&&at.isVoid(b,t)&&e.preventDefault()}},[E.onDragOver,b]),onDragStart:(0,e.useCallback)(e=>{if(!u&&ai.hasTarget(b,e.target)&&!ya(e,E.onDragStart)){var t=ai.toSlateNode(b,e.target),n=ai.findPath(b,t);if(Ze.isElement(t)&&at.isVoid(b,t)||at.void(b,{at:n,voids:!0})){var r=at.range(b,n);Xt.select(b,r)}N.isDraggingInternally=!0,ai.setFragmentData(b,e.dataTransfer,"drag")}},[u,b,E.onDragStart,N]),onDrop:(0,e.useCallback)(e=>{if(!u&&ai.hasTarget(b,e.target)&&!ya(e,E.onDrop)){e.preventDefault();var t=b.selection,n=ai.findEventRange(b,e),r=e.dataTransfer;Xt.select(b,n),N.isDraggingInternally&&(!t||Qe.equals(t,n)||at.void(b,{at:n,voids:!0})||Xt.delete(b,{at:t})),ai.insertData(b,r),ai.isFocused(b)||ai.focus(b)}},[u,b,E.onDrop,N]),onDragEnd:(0,e.useCallback)(e=>{!u&&N.isDraggingInternally&&E.onDragEnd&&ai.hasTarget(b,e.target)&&E.onDragEnd(e)},[u,N,E,b]),onFocus:(0,e.useCallback)(e=>{if(!u&&!N.isUpdatingSelection&&ai.hasEditableTarget(b,e.target)&&!ya(e,E.onFocus)){var t=ai.toDOMNode(b,b),n=ai.findDocumentOrShadowRoot(b);if(N.latestElement=n.activeElement,tr&&e.target!==t)return void t.focus();Sr.set(b,!0)}},[u,N,b,E.onFocus]),onKeyDown:(0,e.useCallback)(e=>{if(!u&&ai.hasEditableTarget(b,e.target)){var t;null===(t=P.current)||void 0===t||t.handleKeyDown(e);var{nativeEvent:n}=e;if(ai.isComposing(b)&&!1===n.isComposing&&(_r.set(b,!1),T(!1)),ya(e,E.onKeyDown)||ai.isComposing(b))return;var{selection:r}=b,o=b.children[null!==r?r.focus.path[0]:0],i="rtl"===kn()(nt.string(o));if(oo.isRedo(n)){e.preventDefault();var a=b;return void("function"==typeof a.redo&&a.redo())}if(oo.isUndo(n)){e.preventDefault();var s=b;return void("function"==typeof s.undo&&s.undo())}if(oo.isMoveLineBackward(n))return e.preventDefault(),void Xt.move(b,{unit:"line",reverse:!0});if(oo.isMoveLineForward(n))return e.preventDefault(),void Xt.move(b,{unit:"line"});if(oo.isExtendLineBackward(n))return e.preventDefault(),void Xt.move(b,{unit:"line",edge:"focus",reverse:!0});if(oo.isExtendLineForward(n))return e.preventDefault(),void Xt.move(b,{unit:"line",edge:"focus"});if(oo.isMoveBackward(n))return e.preventDefault(),void(r&&Qe.isCollapsed(r)?Xt.move(b,{reverse:!i}):Xt.collapse(b,{edge:i?"end":"start"}));if(oo.isMoveForward(n))return e.preventDefault(),void(r&&Qe.isCollapsed(r)?Xt.move(b,{reverse:i}):Xt.collapse(b,{edge:i?"start":"end"}));if(oo.isMoveWordBackward(n))return e.preventDefault(),r&&Qe.isExpanded(r)&&Xt.collapse(b,{edge:"focus"}),void Xt.move(b,{unit:"word",reverse:!i});if(oo.isMoveWordForward(n))return e.preventDefault(),r&&Qe.isExpanded(r)&&Xt.collapse(b,{edge:"focus"}),void Xt.move(b,{unit:"word",reverse:i});if(dr){if((or||nr)&&r&&(oo.isDeleteBackward(n)||oo.isDeleteForward(n))&&Qe.isCollapsed(r)){var l=nt.parent(b,r.anchor.path);if(Ze.isElement(l)&&at.isVoid(b,l)&&(at.isInline(b,l)||at.isBlock(b,l)))return e.preventDefault(),void at.deleteBackward(b,{unit:"block"})}}else{if(oo.isBold(n)||oo.isItalic(n)||oo.isTransposeCharacter(n))return void e.preventDefault();if(oo.isSoftBreak(n))return e.preventDefault(),void at.insertSoftBreak(b);if(oo.isSplitBlock(n))return e.preventDefault(),void at.insertBreak(b);if(oo.isDeleteBackward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"backward"}):at.deleteBackward(b));if(oo.isDeleteForward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"forward"}):at.deleteForward(b));if(oo.isDeleteLineBackward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"backward"}):at.deleteBackward(b,{unit:"line"}));if(oo.isDeleteLineForward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"forward"}):at.deleteForward(b,{unit:"line"}));if(oo.isDeleteWordBackward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"backward"}):at.deleteBackward(b,{unit:"word"}));if(oo.isDeleteWordForward(n))return e.preventDefault(),void(r&&Qe.isExpanded(r)?at.deleteFragment(b,{direction:"forward"}):at.deleteForward(b,{unit:"word"}))}}},[u,b,E.onKeyDown]),onPaste:(0,e.useCallback)(e=>{u||!ai.hasEditableTarget(b,e.target)||ya(e,E.onPaste)||(!dr||(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||nr)&&(e.preventDefault(),ai.insertData(b,e.clipboardData))},[u,b,E.onPaste])}),t().createElement(pa,{decorations:M,node:b,renderElement:c,renderChunk:d,renderPlaceholder:h,renderLeaf:f,renderText:p}))))))}),ma=e=>{var{attributes:n,children:r}=e;return t().createElement("span",fa({},n),r,er&&t().createElement("br",null))},ga=()=>[],va=(e,t)=>{if(t.getBoundingClientRect&&(!e.selection||e.selection&&Qe.isCollapsed(e.selection))){var n=t.startContainer.parentElement,r=t.getBoundingClientRect();if(0===r.width&&0===r.height&&0===r.x&&0===r.y){var o=n.getBoundingClientRect();if(o.width>0||o.height>0)return}n.getBoundingClientRect=t.getBoundingClientRect.bind(t),function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(Rn(e,t));const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of Rn(e,(e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"})(t))){const e=i-n.top+n.bottom,t=a-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}(n,{scrollMode:"if-needed"}),delete n.getBoundingClientRect}},ya=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.isDefaultPrevented()||e.isPropagationStopped()},Ea=e=>zn(e.target)&&(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement),ba=(e,t)=>{if(!t)return!1;var n=t(e);return null!=n?n:e.defaultPrevented},Ca=(e,t)=>{var n=e;"historyUndo"!==t.inputType||"function"!=typeof n.undo?"historyRedo"!==t.inputType||"function"!=typeof n.redo||n.redo():n.undo()},Ta=(0,e.createContext)(!1),ka=parseInt(t().version.split(".")[0],10),Aa=["editor","children","onChange","onSelectionChange","onValueChange","initialValue"],xa=n=>{var{editor:r,children:o,onChange:i,onSelectionChange:a,onValueChange:s,initialValue:l}=n,u=ti(n,Aa);t().useState(()=>{if(!nt.isNodeList(l))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(ft.stringify(l)));if(!at.isEditor(r))throw new Error("[Slate] editor is invalid! You passed: ".concat(ft.stringify(r)));r.children=l,Object.assign(r,u)});var{selectorContext:c,onChange:d}=function(){var t=(0,e.useRef)(new Set),n=(0,e.useRef)(new Set),r=(0,e.useCallback)(()=>{t.current.forEach(e=>e())},[]),o=(0,e.useCallback)(()=>{n.current.forEach(e=>e()),n.current.clear()},[]),i=(0,e.useCallback)(function(e){var{deferred:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r?()=>n.current.add(e):e;return t.current.add(o),()=>{t.current.delete(o)}},[]);return{selectorContext:(0,e.useMemo)(()=>({addEventListener:i,flushDeferred:o}),[i,o]),onChange:r}}(),f=(0,e.useCallback)(e=>{var t;i&&i(r.children),"set_selection"===(null==e||null===(t=e.operation)||void 0===t?void 0:t.type)?null==a||a(r.selection):null==s||s(r.children),d()},[r,d,i,a,s]);(0,e.useEffect)(()=>(Or.set(r,f),()=>{Or.set(r,()=>{})}),[r,f]);var[p,h]=(0,e.useState)(ai.isFocused(r));return(0,e.useEffect)(()=>{h(ai.isFocused(r))},[r]),ui(()=>{var e=()=>h(ai.isFocused(r));return ka>=17?(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(na.Provider,{value:c},t().createElement(oi.Provider,{value:r},t().createElement(Ta.Provider,{value:p},o)))},Da=()=>{var t=(0,e.useContext)(Qi);return!!t&&function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ra,{deferred:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,e.useContext)(na);if(!o)throw new Error("The `useSlateSelector` hook must be used inside the <Slate> component's context.");var{addEventListener:i}=o,a=ii(),s=(0,e.useCallback)(()=>t(a),[a,t]),[l,u]=Si(s,n);return ui(()=>{var e=i(u,{deferred:r});return u(),e},[i,u,r]),l}((0,e.useCallback)(e=>{if(!e.selection)return!1;var n=ai.findPath(e,t),r=at.range(e,n);return!!Qe.intersection(r,e.selection)},[t]),void 0,{deferred:!0})},Sa=function(e){var t=e;t=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 xr.set(n,new WeakMap),n.addMark=(e,t)=>{var r,o;null===(r=Nr.get(n))||void 0===r||r(),!Pr.get(n)&&null!==(o=Br.get(n))&&void 0!==o&&o.length&&Pr.set(n,null),Rr.delete(n),a(e,t)},n.removeMark=e=>{var t;!Pr.get(n)&&null!==(t=Br.get(n))&&void 0!==t&&t.length&&Pr.set(n,null),Rr.delete(n),s(e)},n.deleteBackward=e=>{if("line"!==e)return i(e);if(n.selection&&Qe.isCollapsed(n.selection)){var t=at.above(n,{match:e=>Ze.isElement(e)&&at.isBlock(n,e),at:n.selection});if(t){var[,r]=t,o=at.range(n,r,n.selection.anchor),a=((e,t)=>{var n=at.range(e,Qe.end(t)),r=Array.from(at.positions(e,{at:t})),o=0,i=r.length,a=Math.floor(i/2);if(Xr(e,at.range(e,r[o]),n))return at.range(e,r[o],n);if(r.length<2)return at.range(e,r[r.length-1],n);for(;a!==r.length&&a!==o;)Xr(e,at.range(e,r[a]),n)?i=a:o=a,a=Math.floor((o+i)/2);return at.range(e,r[o],n)})(n,o);Qe.isCollapsed(a)||Xt.delete(n,{at:a})}}},n.apply=t=>{var o=[],i=[],a=Br.get(n);if(null!=a&&a.length){var s=a.map(e=>function(e,t){var{path:n,diff:r,id:o}=e;switch(t.type){case"insert_text":return!Pe.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!Pe.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!Pe.equals(t.path,n)||t.position>=r.end?{diff:r,id:o,path:Pe.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:Pe.transform(n,t,{affinity:"forward"})};case"merge_node":return Pe.equals(t.path,n)?{diff:{start:r.start+t.position,end:r.end+t.position,text:r.text},id:o,path:Pe.transform(n,t)}:{diff:r,id:o,path:Pe.transform(n,t)}}var i=Pe.transform(n,t);return i?{diff:r,path:i,id:o}:null}(e,t)).filter(Boolean);Br.set(n,s)}var l=Ir.get(n);l&&Ir.set(n,Vr(n,l,t));var u=Fr.get(n);if(null!=u&&u.at){var c=ct.isPoint(null==u?void 0:u.at)?$r(n,u.at,t):Vr(n,u.at,t);Fr.set(n,c?Jr(Jr({},u),{},{at:c}):null)}switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":o.push(...Zr(n,t.path));break;case"set_selection":var d;null===(d=wr.get(n))||void 0===d||d.unref(),wr.delete(n);break;case"insert_node":case"remove_node":o.push(...Zr(n,Pe.parent(t.path)));break;case"merge_node":var f=Pe.previous(t.path);o.push(...Zr(n,f));break;case"move_node":var p,h=Pe.common(Pe.parent(t.path),Pe.parent(t.newPath));o.push(...Zr(n,h)),Pe.isBefore(t.path,t.newPath)?(o.push(...Zr(n,Pe.parent(t.path))),p=t.newPath):(o.push(...Zr(n,Pe.parent(t.newPath))),p=t.path);var m=nt.get(e,Pe.parent(p)),g=Hr.findKey(n,m),v=at.pathRef(n,Pe.parent(p));i.push([v,g])}switch(r(t),t.type){case"insert_node":case"remove_node":case"merge_node":case"move_node":case"split_node":case"insert_text":case"remove_text":case"set_selection":gr.set(n,!0)}for(var[y,E]of o){var[b]=at.node(n,y);Ar.set(b,E)}for(var[C,T]of i){if(C.current){var[k]=at.node(n,C.current);Ar.set(k,T)}C.unref()}},n.setFragmentData=e=>{var{selection:r}=n;if(r){var[o,i]=Qe.edges(r),a=at.void(n,{at:o.path}),s=at.void(n,{at:i.path});if(!Qe.isCollapsed(r)||a){var l=Hr.toDOMRange(n,r),u=l.cloneContents(),c=u.childNodes[0];if(u.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(c=e)}),s){var[d]=s,f=l.cloneRange(),p=Hr.toDOMNode(n,d);f.setEndAfter(p),u=f.cloneContents()}if(a&&(c=u.querySelector("[data-slate-spacer]")),Array.from(u.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),Wn(c)){var h=c.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(c),u.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 y=u.ownerDocument.createElement("div");return y.appendChild(u),y.setAttribute("hidden","true"),u.ownerDocument.body.appendChild(y),e.setData("text/html",y.innerHTML),e.setData("text/plain",$n(y)),u.ownerDocument.body.removeChild(y),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(Vn)||[];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&&Xt.splitNodes(n,{always:!0}),n.insertText(i),o=!0;return!0}return!1},n.onChange=e=>{var t=Or.get(n);t&&t(e),o(e)},n}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x-slate-fragment");var{onChange:n,apply:r,insertText:o}=t;return t.getChunkSize=()=>null,er&&(t.insertText=(e,n)=>(Ir.delete(t),o(e,n))),t.onChange=e=>{(ka<18?ei().unstable_batchedUpdates:e=>e())(()=>{n(e)})},t.apply=e=>{if("move_node"===e.type){var n=nt.parent(t,e.path);if(t.getChunkSize(n)){var o=nt.get(t,e.path),i=qi(t,n),a=ai.findKey(t,o);i.movedNodeKeys.add(a)}}r(e)},t};function _a(e){return"[object Object]"===Object.prototype.toString.call(e)}function wa(e){var t,n;return!1!==_a(e)&&(void 0===(t=e.constructor)||!1!==_a(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}var Oa=e=>wa(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||it.isOperationList(e.redos[0].operations))&&(0===e.undos.length||it.isOperationList(e.undos[0].operations)),Na=(new WeakMap,new WeakMap),Pa=new WeakMap,Ra=new WeakMap,Ba={isHistoryEditor:e=>Oa(e.history)&&at.isEditor(e),isMerging:e=>Pa.get(e),isSplittingOnce:e=>Ra.get(e),setSplittingOnce(e,t){Ra.set(e,t)},isSaving:e=>Na.get(e),redo(e){e.redo()},undo(e){e.undo()},withMerging(e,t){var n=Ba.isMerging(e);Pa.set(e,!0),t(),Pa.set(e,n)},withNewBatch(e,t){var n=Ba.isMerging(e);Pa.set(e,!0),Ra.set(e,!0),t(),Pa.set(e,n),Ra.delete(e)},withoutMerging(e,t){var n=Ba.isMerging(e);Pa.set(e,!1),t(),Pa.set(e,n)},withoutSaving(e,t){var n=Ba.isSaving(e);Na.set(e,!1);try{t()}finally{Na.set(e,n)}}},Fa=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&&Xt.setSelection(t,r.selectionBefore),Ba.withoutSaving(t,()=>{at.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];Ba.withoutSaving(t,()=>{at.withoutNormalizing(t,()=>{var e=r.operations.map(it.inverse).reverse();for(var n of e)t.apply(n);r.selectionBefore&&Xt.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],l=Ba.isSaving(t),u=Ba.isMerging(t);if(null==l&&(l=Ma(e)),l){if(null==u&&(u=null!=a&&(0!==r.length||Ia(e,s))),Ba.isSplittingOnce(t)&&(u=!1,Ba.setSplittingOnce(t,void 0)),a&&u)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},Ia=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Pe.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Pe.equals(e.path,t.path)),Ma=(e,t)=>"set_selection"!==e.type;const La="100px",ja=N("div",{target:"ehaqqzm0",label:"EditorControlBar"})("z-index:",P.zIndex.zIndex200,";position:sticky;top:0;margin-bottom:",La,";"),Ha=N("button",{target:"e1ps9s9m0",label:"StyledToolbarButton"})(P.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;}",P.Icon,"{display:block;}");function Ua({type:e,label:t,icon:n,onClick:r,isActive:o,disabled:i}){return(0,l.jsx)(Ha,{isActive:o,onClick:t=>r&&r(t,e),title:t,disabled:i},n?(0,l.jsx)(P.Icon,{type:n}):t)}Ua.propTypes={type:r().string,label:r().string.isRequired,icon:r().string,onClick:r().func,isActive:r().bool,disabled:r().bool};const za=Ua,Ga=N("div",{target:"e11cox783",label:"ToolbarContainer"})("background-color:",P.colors.textFieldBorder,";border-top-right-radius:",P.lengths.borderRadius,";position:relative;display:flex;justify-content:space-between;align-items:center;padding:11px 14px;min-height:58px;transition:background-color ",P.transitions.main,",color ",P.transitions.main,";color:",P.colors.text,";"),Wa=N("div",{target:"e11cox782",label:"ToolbarDropdownWrapper"})({name:"11ffxfj",styles:"display:inline-block;position:relative"}),Ka=N("div",{target:"e11cox781",label:"ToolbarToggle"})({name:"1qi6e7n",styles:"flex-shrink:0;display:flex;align-items:center;font-size:14px;margin:0 10px"}),qa=Ka.withComponent(P.Toggle,{target:"e11cox784",label:"StyledToggle"}),$a=N("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,l.css)("font-weight:600;color:",P.colors.active,";;label:ToolbarToggleLabel;"),";");class Va extends t().Component{static 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};componentDidMount(){r().checkPropTypes(Va.propTypes,this.props,"prop","Toolbar")}isVisible=e=>{const{buttons:t}=this.props;return!a.List.isList(t)||t.includes(e)};handleBlockClick=(e,t)=>{e&&e.preventDefault(),this.props.onBlockClick(t)};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:c=()=>{},hasBlock:d=()=>{},hasQuote:f=()=>{},hasListItems:p=()=>{},editorComponents:h,t:m}=this.props,g=this.isVisible,v=!h||h.size>=1,y=o?o.toList().sortBy(e=>e.label):(0,a.List)(),E=h?h.map(e=>o.get(e)).filter(e=>!!e):y,b={"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,l.jsx)(Ga,null,(0,l.jsx)("div",null,g("bold")&&(0,l.jsx)(za,{type:"bold",label:m("editor.editorWidgets.markdown.bold"),icon:"bold",onClick:this.handleMarkClick,isActive:u("bold"),disabled:i}),g("italic")&&(0,l.jsx)(za,{type:"italic",label:m("editor.editorWidgets.markdown.italic"),icon:"italic",onClick:this.handleMarkClick,isActive:u("italic"),disabled:i}),g("strikethrough")&&(0,l.jsx)(za,{type:"strikethrough",label:m("editor.editorWidgets.markdown.strikethrough"),icon:"strikethrough",onClick:this.handleMarkClick,isActive:u("delete"),disabled:i}),g("code")&&(0,l.jsx)(za,{type:"code",label:m("editor.editorWidgets.markdown.code"),icon:"code",onClick:this.handleMarkClick,isActive:u("code"),disabled:i}),g("link")&&(0,l.jsx)(za,{type:"link",label:m("editor.editorWidgets.markdown.link"),icon:"link",onClick:e,isActive:c("link"),disabled:i}),Object.keys(b).some(g)&&(0,l.jsx)(Wa,null,(0,l.jsx)(P.Dropdown,{dropdownWidth:"max-content",dropdownTopOverlap:"36px",renderButton:()=>(0,l.jsx)(P.DropdownButton,null,(0,l.jsx)(za,{type:"headings",label:m("editor.editorWidgets.markdown.headings"),icon:"hOptions",disabled:i,isActive:!i&&Object.keys(b).some(d)}))},!i&&Object.keys(b).map((e,t)=>g(e)&&(0,l.jsx)(P.DropdownItem,{key:t,label:b[e],className:d(e)?"active":"",onClick:()=>this.handleBlockClick(null,e)})))),g("quote")&&(0,l.jsx)(za,{type:"quote",label:m("editor.editorWidgets.markdown.quote"),icon:"quote",onClick:this.handleBlockClick,isActive:f("quote"),disabled:i}),g("bulleted-list")&&(0,l.jsx)(za,{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,l.jsx)(za,{type:"numbered-list",label:m("editor.editorWidgets.markdown.numberedList"),icon:"list-numbered",onClick:this.handleBlockClick,isActive:p("numbered-list"),disabled:i}),v&&(0,l.jsx)(Wa,null,(0,l.jsx)(P.Dropdown,{dropdownTopOverlap:"36px",dropdownWidth:"max-content",renderButton:()=>(0,l.jsx)(P.DropdownButton,null,(0,l.jsx)(za,{label:m("editor.editorWidgets.markdown.addComponent"),icon:"add-with",onClick:this.handleComponentsMenuToggle,disabled:i}))},E.map((e,t)=>(0,l.jsx)(P.DropdownItem,{key:t,label:e.label,onClick:()=>s(e)}))))),r&&(0,l.jsx)(Ka,null,(0,l.jsx)($a,{isActive:!n,offPosition:!0},m("editor.editorWidgets.markdown.richText")),(0,l.jsx)(qa,{active:n,onChange:t,"aria-label":m(n?"editor.editorWidgets.markdown.toggleMode.rich":"editor.editorWidgets.markdown.toggleMode.markdown")}),(0,l.jsx)($a,{isActive:n},m("editor.editorWidgets.markdown.markdown"))))}}const Ya=function(e=""){return{type:"paragraph",children:[{text:e}]}};function Xa({minimal:e}){return`\n position: relative;\n overflow: hidden;\n overflow-x: auto;\n min-height: ${e?"auto":P.lengths.richTextEditorMinHeight};\n font-family: ${P.fonts.mono};\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top: 0;\n margin-top: -${La};\n`}const Qa=N("div",{target:"e12tj7710",label:"RawEditorContainer"})({name:"bjn8wh",styles:"position:relative"});function Ja(t){const{className:n,field:r,isShowModeToggle:o,t:i,onChange:a}=t,s=(0,e.useMemo)(()=>Sa(Fa(Cn())),[]),[u,c]=(0,e.useState)(t.value?t.value.split("\n").map(e=>Ya(e)):[Ya()]);function d(e){a(e.map(e=>e.children[0].text).join("\n")),c(e)}return(0,e.useEffect)(()=>{t.pendingFocus&&(ai.focus(s),t.pendingFocus())},[t.pendingFocus]),(0,l.jsx)(xa,{editor:s,value:u,initialValue:u,onChange:d},(0,l.jsx)(Qa,null,(0,l.jsx)(ja,null,(0,l.jsx)(Va,{onToggleMode:function(){t.onMode("rich_text")},buttons:r.get("buttons"),disabled:!0,rawMode:!0,isShowModeToggle:o,t:i})),(0,l.jsx)(l.ClassNames,null,({css:e,cx:t})=>(0,l.jsx)(ha,{className:t(n,e`
|
|
3
3
|
${Xa({minimal:r.get("minimal")})}
|
|
4
|
-
`),value:u,onChange:d}))))}Ja.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 Za=Ja;var es=u(46343),ts=u.n(es);function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(null,arguments)}function rs(e){return(0,l.jsx)("div",ns({css:(0,l.css)("height:32px;cursor:text;position:relative;z-index:",P.zIndex.zIndex1,";margin-top:-16px;;label:InsertionPoint;")},e))}const os=function({attributes:e,children:t,element:n}){const r=oa(),o=ai.findPath(r,n);function i(e){Xt.insertNodes(r,Ya(),{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,l.jsx)("div",ns({},e,{onClick:function(e){e.stopPropagation()},contentEditable:!1}),a&&(0,l.jsx)(rs,{onClick:function(){i(o)}}),t,u&&(0,l.jsx)(rs,{onClick:function(){i([...o.slice(0,-1),o[o.length-1]+1])}}))};var is=u(3326),as=u.n(is),ss={name:"1xfnuhy-Shortcode",styles:"margin-top:0;margin-bottom:16px;&:first-of-type{margin-top:0;};label:Shortcode;"};const ls=function(t){const n=oa(),{element:r,dataKey:o="shortcodeData",children:i}=t,s=kc,u=xc().get(r.data.shortcode),c=(0,a.fromJS)(as()(u,["id","fromBlock","toBlock","toPreview","pattern","icon"])),[d,f]=(0,e.useState)((0,a.fromJS)(r.data[o]));function p(){const e=ai.findPath(n,r);Xt.select(n,e)}const h=ai.findPath(n,r),m=n.selection&&h&&Qe.isRange(n.selection)&&Qe.includes(n.selection,h);return!c.isEmpty()&&(0,l.jsx)("div",{onClick:p,onFocus:p},(0,l.jsx)(s,{css:ss,value:d,field:c,onChange:function(e,t,i){const a=ai.findPath(n,r),s={data:{...r.data,[o]:t.toJS(),metadata:i}};Xt.setNodes(n,s,{at:a}),f(t)},isEditorComponent:!0,onValidateObject:()=>{},isNewEditorComponent:r.data.shortcodeNew,isSelected:m}),i)};function us(){return us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},us.apply(null,arguments)}const cs="16px",ds="\n font-weight: 700;\n line-height: 1;\n",fs=N("h1",{target:"evlbpgx13",label:"StyledH1"})(ds,";font-size:32px;margin-top:16px;"),ps=N("h2",{target:"evlbpgx12",label:"StyledH2"})(ds,";font-size:24px;margin-top:12px;"),hs=N("h3",{target:"evlbpgx11",label:"StyledH3"})(ds,";font-size:20px;"),ms=N("h4",{target:"evlbpgx10",label:"StyledH4"})(ds,";font-size:18px;margin-top:8px;"),gs=N("h5",{target:"evlbpgx9",label:"StyledH5"})(ds,";font-size:16px;margin-top:8px;"),vs=gs.withComponent("h6",{target:"evlbpgx14",label:"StyledH6"}),ys=N("p",{target:"evlbpgx8",label:"StyledP"})("margin-bottom:",cs,";"),Es=N("blockquote",{target:"evlbpgx7",label:"StyledBlockQuote"})("padding-left:16px;border-left:3px solid ",P.colors.background,";margin-left:0;margin-right:0;margin-bottom:",cs,";"),bs=N("code",{target:"evlbpgx6",label:"StyledCode"})("background-color:",P.colors.background,";border-radius:",P.lengths.borderRadius,";padding:0 2px;font-size:85%;"),Cs=N("ul",{target:"evlbpgx5",label:"StyledUl"})("margin-bottom:",cs,";padding-left:30px;"),Ts=Cs.withComponent("ol",{target:"evlbpgx15",label:"StyledOl"}),ks=N("li",{target:"evlbpgx4",label:"StyledLi"})({name:"1smjpj0",styles:"&>p:first-of-type{margin-top:8px;}&>p:last-of-type{margin-bottom:8px;}"}),As=N("a",{target:"evlbpgx3",label:"StyledA"})({name:"11z7vuy",styles:"text-decoration:underline;font-size:inherit"}),xs=N("hr",{target:"evlbpgx2",label:"StyledHr"})({name:"1y2p2hw",styles:"border:1px solid;margin-bottom:16px"}),Ds=N("table",{target:"evlbpgx1",label:"StyledTable"})({name:"tkxk5i",styles:"border-collapse:collapse"}),Ss=N("td",{target:"evlbpgx0",label:"StyledTd"})({name:"zsehaa",styles:"border:2px solid black;padding:8px;text-align:left"});function _s(e){return(0,l.jsx)("strong",null,e.children)}function ws(e){return(0,l.jsx)("em",null,e.children)}function Os(e){return(0,l.jsx)("s",null,e.children)}function Ns(e){return(0,l.jsx)(bs,null,e.children)}function Ps(e){return(0,l.jsx)(ys,e.attributes,e.children)}function Rs(e){return(0,l.jsx)(ks,e.attributes,e.children)}function Bs(e){return(0,l.jsx)(Es,e.attributes,e.children)}function Fs(e){return(0,l.jsx)(fs,e.attributes,e.children)}function Is(e){return(0,l.jsx)(ps,e.attributes,e.children)}function Ms(e){return(0,l.jsx)(hs,e.attributes,e.children)}function Ls(e){return(0,l.jsx)(ms,e.attributes,e.children)}function js(e){return(0,l.jsx)(gs,e.attributes,e.children)}function Hs(e){return(0,l.jsx)(vs,e.attributes,e.children)}function Us(e){return(0,l.jsx)(Ds,null,(0,l.jsx)("tbody",e.attributes,e.children))}function zs(e){return(0,l.jsx)("tr",e.attributes,e.children)}function Gs(e){return(0,l.jsx)(Ss,e.attributes,e.children)}function Ws(e){const t=Da();return(0,l.jsx)("div",e.attributes,e.children,(0,l.jsx)("div",{contentEditable:!1},(0,l.jsx)(xs,us({},e.attributes,{css:t&&(0,l.css)("box-shadow:0 0 0 2px ",P.colors.active,";border-radius:8px;color:",P.colors.active,";;label:ThematicBreak;")}))))}function Ks(e){return(0,l.jsx)(t().Fragment,null,(0,l.jsx)("br",e.attributes),e.children)}function qs(e){return(0,l.jsx)(Cs,e.attributes,e.children)}function $s(e){return(0,l.jsx)(Ts,us({},e.attributes,{start:1}),e.children)}function Vs(e){const t=e.element.url,n=e.element.title||t;return(0,l.jsx)(As,us({href:t,title:n},e.attributes),e.children)}function Ys(e){const{url:t,title:n,alt:r}=e.element.data,o=Da();return(0,l.jsx)("span",e.attributes,e.children,(0,l.jsx)("img",us({src:t,title:n,alt:r},e.attributes,{css:o&&(0,l.css)("box-shadow:0 0 0 2px ",P.colors.active,";;label:Image;")})))}function Xs({attributes:e,children:t,leaf:n}){return n.bold&&(t=(0,l.jsx)(_s,null,t)),n.italic&&(t=(0,l.jsx)(ws,null,t)),n.delete&&(t=(0,l.jsx)(Os,null,t)),n.code&&(t=(0,l.jsx)(Ns,null,t)),(0,l.jsx)("span",e,t)}function Qs(e){const{children:t,element:n,classNameWrapper:r,codeBlockComponent:o}=e,i={textAlign:n.align};switch(n.type){case"bulleted-list":return(0,l.jsx)(qs,null,t);case"quote":return(0,l.jsx)(Bs,null,t);case"heading-one":return(0,l.jsx)(Fs,null,t);case"heading-two":return(0,l.jsx)(Is,null,t);case"heading-three":return(0,l.jsx)(Ms,null,t);case"heading-four":return(0,l.jsx)(Ls,null,t);case"heading-five":return(0,l.jsx)(js,null,t);case"heading-six":return(0,l.jsx)(Hs,null,t);case"list-item":return(0,l.jsx)(Rs,null,t);case"numbered-list":return(0,l.jsx)($s,null,t);case"table":return(0,l.jsx)(Us,e);case"table-row":return(0,l.jsx)(zs,e);case"table-cell":return(0,l.jsx)(Gs,e);case"thematic-break":return(0,l.jsx)(os,e,(0,l.jsx)(Ws,e));case"link":return(0,l.jsx)(Vs,e);case"image":return(0,l.jsx)(Ys,e);case"break":return(0,l.jsx)(Ks,e);case"shortcode":return"code-block"===n.id&&o?(0,l.jsx)(os,e,(0,l.jsx)(ls,us({classNameWrapper:r,typeOverload:"code-block"},e))):(0,l.jsx)(os,e,(0,l.jsx)(ls,e,t));default:return(0,l.jsx)(Ps,{style:i},t)}}const Js=function(e,t,n){Xt.liftNodes(e,{match:e=>e.type===t||"paragraph"===t&&`${e.type}`.startsWith("heading"),mode:"lowest",...n})},Zs=function(e,t,n){return{match:n=>!at.isEditor(n)&&Ze.isElement(n)&&at.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}},el=function(e,t){return Zs(e,t,"lowest")},tl=function(e,t,n){Xt.wrapNodes(e,n,el(e,t))},nl=function(e){return!!e.selection&&at.above(e,el(e,"list"))},rl=function(e){at.withoutNormalizing(e,()=>{Js(e,"list-item",{split:!0});const t=nl(e),n=function(e){return!!e.selection&&at.above(e,el(e,"quote"))}(e);t&&!n||t&&n&&t[1].length>n[1].length?Js(e,"list-item",{split:!0}):function(e,t){Xt.unwrapNodes(e,el(e,t))}(e,"list-item")}),at.normalize(e,{force:!0})},ol=function(e){if(!e.selection)return!1;const{offset:t,path:n}=Qe.start(e.selection);return 0==t&&n.length>2&&n[n.length-2]>0},il=function(e){if(!e.selection)return;if(Qe.isExpanded(e.selection)&&Xt.delete(e),function(e){if(!e.selection)return!1;const{offset:t,path:n}=Qe.start(e.selection);return 0===t&&n.length>=2&&0===n[n.length-1]&&0===n[n.length-2]}(e))return rl(e);const t=function(e){if(!e.selection)return!1;const[,t]=at.above(e,el(e,"paragraph"));return at.next(e,{at:t})}(e);return t&&`${t[0].type}`.endsWith("-list")?function(e,t){if(!e.selection)return!1;Qe.isExpanded(e.selection)&&Xt.delete(e),at.withoutNormalizing(e,()=>{Xt.splitNodes(e,{always:!0}),Xt.setNodes(e,{type:"paragraph"}),tl(e,"paragraph",{type:"list-item"}),tl(e,"list-item",{type:t})}),at.normalize(e,{force:!0})}(e,t[0].type):ol(e)?function(e){at.withoutNormalizing(e,()=>{tl(e,"paragraph",{type:"list-item"}),Js(e,"list-item",{split:!0})}),at.normalize(e,{force:!0})}(e):void function(e){if(!e.selection)return!1;Qe.isExpanded(e.selection)&&Xt.delete(e),at.withoutNormalizing(e,()=>{Xt.splitNodes(e,{always:!0}),Xt.setNodes(e,{type:"paragraph"}),tl(e,"paragraph",{type:"list-item"}),Js(e,"list-item")}),at.normalize(e,{force:!0})}(e)},al=function(e){if(!e.selection)return!1;const[,t]=at.above(e,{match:e=>"list-item"===e.type,mode:"lowest",at:Qe.start(e.selection)});return!!(t&&t.length>0&&t[t.length-1]>0)||void 0},sl=function(e,t,n){const[r,o]=n;Xt.moveNodes(e,{at:t,to:[...o,r.children.length]})},ll=function(e,t){const{selection:n}=e;if(!n)return!1;const[r]=Array.from(at.nodes(e,{match:n=>Ze.isElement(n)&&at.isBlock(e,n)&&"paragraph"!==n.type&&(t||!`${n.type}`.startsWith("heading-")),mode:"lowest"}));return!!r&&"list-item"===r[0].type},ul=function(e){at.withoutNormalizing(e,()=>{Xt.unwrapNodes(e,{...el(e,"list"),split:!0}),Xt.unwrapNodes(e,el(e,"list-item"))}),at.normalize(e)},cl=function(e){if(e.selection&&Qe.isCollapsed(e.selection)&&0===e.selection.anchor.offset&&ll(e,!0)&&!ol(e))return al(e)?function(e){at.withoutNormalizing(e,()=>{Xt.mergeNodes(e,el(e,"list-item"))}),at.normalize(e,{force:!0})}(e):ul(e),!1},dl=function(e,t){if(t.isListItem())return(0,In.Ay)("enter",e)?(e.preventDefault(),il(t),!1):(0,In.Ay)("backspace",e)?!1===cl(t)?(e.preventDefault(),!1):void 0:(0,In.Ay)("tab",e)?(e.preventDefault(),function(e){if(!e.selection)return;if(!al(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]}};at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:"bulleted-list"},{...el(e,"list-item"),at:o});const[,t]=at.above(e,el(e,"list")),n=at.previous(e,{at:t});sl(e,t,n)}),at.normalize(e)}(t)):(0,In.Ay)("shift+tab",e)?(e.preventDefault(),function(e){e.selection&&(Array.from(at.nodes(e,Zs(e,"list"))).length<2||(at.withoutNormalizing(e,()=>{Xt.liftNodes(e,{...el(e,"list-item"),split:!0}),Xt.liftNodes(e,{...el(e,"list-item"),split:!0})}),at.normalize(e)))}(t)):void 0},fl=function(e,t){if(!ll(e))return function(e,t){at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:t});const n=at.nodes(e,el(e,"paragraph"));for(const t of n)Xt.wrapNodes(e,{type:"list-item"},{at:t[1]})}),at.normalize(e)}(e,t);const n=nl(e);return n&&n[0].type!==t?function(e,t){at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:t},el(e,"list-item")),Xt.liftNodes(e,el(e,t))}),at.normalize(e,{force:!0})}(e,t):ul(e)},pl=function(e,t,n,r){const{selection:o}=e;if(!o)return!1;const[i]=Array.from(at.nodes(e,{match:t=>Ze.isElement(t)&&at.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}`)))},hl=function(e,t=!1){if(0!==e.selection.anchor.offset)return!1;let[n,r]=at.above(e,el(e,"non-default"));if(0==r.length)return!1;if(`${n.type}`.startsWith("heading-"))return Xt.setNodes(e,{type:"paragraph"}),!1;const o=at.isBlock(e,n),[i,a]=at.above(e,el(e,"block"));if(!o){if(!at.isStart(e,r,a))return!1;[n,r]=[i,a]}return at.withoutNormalizing(e,()=>{Xt.unwrapNodes(e,{match:e=>e.type===n.type,split:!0}),t&&Xt.mergeNodes(e)}),at.normalize(e,{force:!0}),!0},ml=function(e){if(e.selection)return pl(e,"heading",!0)?function(e){if(function(e){const{selection:t}=e;if(!t)return!1;const n=at.above(e,el(e,"paragraph"));return!!n&&at.isEnd(e,e.selection.focus,n[1])}(e))return function(e){at.withoutNormalizing(e,()=>{Xt.splitNodes(e,{always:!0}),Xt.setNodes(e,{type:"paragraph"})}),at.normalize(e,{force:!0})}(e),!0}(e):hl(e)},gl=function(e){if(e.selection&&!function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(at.nodes(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)&&`${t.type}`.startsWith("heading-"),mode:"lowest"}));return!!n&&at.isStart(e,e.selection.focus,n[1])&&!at.isEmpty(e,n[0])}(e))return function(e,t){const{selection:n}=e;if(!n)return!1;const r=at.above(e,el(e,t));return!!r&&at.isStart(e,e.selection.focus,r[1])}(e,"quote")&&function(e,t){const{selection:n}=e;if(!n)return!1;const[r]=at.nodes(e,el(e,"block")),o=at.previous(e,el(e,t));return r&&o&&r[0].type===o[0].type}(e,"quote")?(Xt.mergeNodes(e,el(e,"quote")),!0):hl(e,!0)},vl=function(e,t){const{selection:n}=e;if(!n)return;const r=t.startsWith("heading-"),o=pl(e,t,r,Qe.isExpanded(n)),i=function(e){const t=at.above(e,el(e,"list"));return t?t[0].type:null}(e);if(r)return void Xt.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){at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:n}),Xt.wrapNodes(e,{type:t},{match:e=>e.type===n}),Xt.liftNodes(e,{match:e=>e.type===t})}),at.normalize(e,{force:!0})}(e,t,i):o?void Xt.unwrapNodes(e,{match:e=>e.type===t}):Xt.wrapNodes(e,{type:t})},yl={"mod+1":"heading-one","mod+2":"heading-two","mod+3":"heading-three","mod+4":"heading-four","mod+5":"heading-five","mod+6":"heading-six"},El=function(e,t){if(t.selection){for(const n in yl)if((0,In.Ay)(n,e))return vl(t,yl[n]),e.preventDefault(),!1;if((0,In.Ay)("backspace",e)&&function(e){const{selection:t}=e;if(!t)return!1;if(Qe.isExpanded(t))return!1;const n=at.previous(e);return n&&"break"==n[0].type}(t)){const[,n]=at.previous(t);return Xt.removeNodes(t,{at:n}),e.preventDefault(),!1}if(function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(at.nodes(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)&&"paragraph"!==t.type,mode:"lowest"}));return!!n&&!at.isEditor(n[0])}(t)){if((0,In.Ay)("enter",e)&&ml(t))return e.preventDefault(),!1;if((0,In.Ay)("backspace",e)&&gl(t))return e.preventDefault(),!1}}},bl=function(e,t){const{selection:n}=e;if(!n)return!1;const r=at.marks(e);return!!r&&!0===r[t]},Cl=function(e,t){bl(e,t)?at.removeMark(e,t):at.addMark(e,t,!0)},Tl=function(){return{match:e=>!at.isEditor(e)&&Ze.isElement(e)&&"link"===e.type}},kl=function(e){const[t]=at.nodes(e,Tl());return t},Al=function(e,t){const n=kl(e),r=n?n[0]?.data?.url:"",o=window.prompt(t,r);null!=o&&(""!==o?function(e,t){if(kl(e))return void Xt.setNodes(e,{data:{url:t}},Tl());const{selection:n}=e,r=n&&Qe.isCollapsed(n),o={type:"link",data:{url:t},children:r?[{text:t}]:[]};r?Xt.insertNodes(e,o):(Xt.wrapNodes(e,o,{split:!0}),Xt.collapse(e,{edge:"end"}))}(e,o):function(e){Xt.unwrapNodes(e,Tl())}(e))},xl={"mod+b":"bold","mod+i":"italic","mod+u":"underline","mod+`":"code","mod+shift+s":"delete","mod+shift+c":"code"},Dl=function(e,t){if(t.selection){for(const n in xl)if((0,In.Ay)(n,e))return Cl(t,xl[n]),e.preventDefault(),!1;return(0,In.Ay)("mod+k",e)?(e.preventDefault(),Al(t)):(0,In.Ay)("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 Xt.insertNodes(e,{type:"break",children:[{text:""}]}),at.normalize(e,{force:!0}),Xt.select(e,t),!1}(t)):void 0}};var Sl=u(17426),_l=u.n(Sl),wl=u(22244),Ol=u.n(wl),Nl=u(53933),Pl=u.n(Nl),Rl=u(85815),Bl=u.n(Rl),Fl=u(38474),Il=u.n(Fl),Ml=u(13025),Ll=u.n(Ml),jl=u(86291),Hl=u.n(jl),Ul=(u(99233),u(12530),u(40105)),zl=u.n(Ul),Gl=u(52103),Wl=u.n(Gl),Kl=u(40931);function ql({plugins:e,getAsset:n,resolveWidget:r}){return function(e){const t=zl()(e.children,o);return{...e,children:t}};function o(o){if(!Wl()(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 l=r(a);return t().createElement(l.preview,{value:o,field:e,getAsset:n})}(e.get(i),a),l="string"==typeof s?s:(0,Kl.F0)(s),u=[Pl()("html",l)];return{...o,children:u}}}function $l(){return function(e){return e.children=e.children.map(e=>"html"===e.type?Pl()("paragraph",[e]):e),e}}var Vl=u(3514),Yl=u.n(Vl),Xl=u(53142),Ql=u.n(Xl),Jl=u(66652),Zl=u.n(Jl),eu=u(75857),tu=u.n(eu);const nu={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"},ru={strong:"bold",emphasis:"italic",delete:"delete",inlineCode:"code"};function ou(e){return!!e.text}function iu(e,t){return ts()(e.marks,t.marks)}function au({voidCodeBlock:e}={}){return t;function t(e){let n=!["strong","emphasis","delete"].includes(e.type)&&!Yl()(e.children)&&Zl()(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 o=0;o<e.length-1;o++){r||(n=e[o]);const i=e[o+1];ou(n)&&ou(i)&&iu(n,i)?(r=!0,n={...n,text:`${n.text}${i.text}`}):(t.push(n),r=!1)}return r?t.push(n):t.push(e[e.length-1]),t}(n)),u(e,n||void 0)}function n(e,t){return t?{...e,children:t}:e}function r(e,t,r={}){Ql()(t)||(r=t,t=void 0);const o=Yl()(t)?[i("")]:t;return n({type:e,...r},o)}function o(e,t={},r){return n({type:e,...t},Yl()(r)?[i("")]:r)}function i(e){const t={};if("string"==typeof e)return{...t,text:e};const{text:n,marks:r}=e;return l({...t,text:n,marks:r})}function a(e,n){switch(e.type){case"html":case"text":return{...u(e),marks:n};case"inlineCode":return{...u(e),marks:[...n,{type:"code"}]};case"strong":case"emphasis":case"delete":return s(e,n);case"link":{const t=zl()(e.children,e=>l(a(e,n)));return u(e,tu()(t))}default:return t({...e,data:{...e.data,marks:n}})}}function s(e,t=[]){const n=ru[e.type],r=n?[...t.filter(({type:e})=>e!==n),{type:n}]:t;return Zl()(e.children,e=>l(a(e,r)))}function l(e){return e.marks&&e.marks.forEach(t=>{e[t.type]=!0}),e}function u(t,n){switch(t.type){case"paragraph":case"blockquote":case"tableRow":case"tableCell":return r(nu[t.type],n);case"root":{const e=Yl()(n)?[r("paragraph")]:n;return r(nu[t.type],e)}case"listItem":{const e=Yl()(n)?[r("paragraph")]:n;return r(nu[t.type],e)}case"shortcode":{const e=[i("")],n={...t.data,id:t.data.shortcode,shortcodeNew:!0};return r(nu[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={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(nu[t.type]);case"link":{const{title:e,url:r,data:i}=t,a={...i,title:e,url:r};return o(nu[t.type],{data:a},n)}case"image":{const{title:e,url:n,alt:r,data:i}=t,a={...i,title:e,alt:r,url:n};return o(nu[t.type],{data:a})}case"table":{const e={align:t.align};return r(nu[t.type],n,{data:e})}}}}var su=u(30795),lu=u.n(su),uu=u(59107),cu=u.n(uu);function du(){return function(t){const n=cu()(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 Pl()(e,{title:t,url:i,alt:n.alt},o)}const i=Pl()("text","imageReference"===n.type?"![":"["),a=Pl()("text","]");return[i,...o||[Pl()("text",n.alt)],a]}if("definition"===n.type)return null;const i=lu()(o,null);return{...n,children:tu()(i)}}}function fu({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[{plugin:o,match:i}={}]=e.toArray().map(e=>{let{pattern:t}=e;return t.source.startsWith("^")||(t=new RegExp(`^${t.source}`,t.flags)),{match:n.match(t),plugin:e}}).filter(({match:e})=>!!e).sort((e,t)=>e.match.index-t.match.index);if(i){if(r)return!0;const e=o.fromBlock(i);try{return t(i[0])({type:"shortcode",data:{shortcode:o.id,shortcodeData:e}})}catch(t){return console.warn(`Sent invalid data to remark. Plugin: ${o.id}. Value: ${i[0]}. Data: ${JSON.stringify(e)}`),!1}}}}({plugins:e}),r.unshift("shortcode")}var pu=u(62879),hu=u.n(pu),mu=u(50578),gu=u.n(mu),vu=u(98087),yu=u.n(vu);const Eu={htmlOpeningTagEnd:/(?: *\w+=(?:(?:"[^"]*")|(?:'[^']*')))* *>/},bu={htmlTags:[/<(?!pre|style|script)[\w]+/,Eu.htmlOpeningTagEnd],preformattedHtmlBlocks:[/<(pre|style|script)/,Eu.htmlOpeningTagEnd,/(.|[\n\r])*?/,/<\/\1>/]},Cu=zl()(bu,e=>new RegExp(e.map(e=>e.source).join(""))).map(e=>`(?:${e.source})`).join("|"),Tu=[/(\*+)[^*]*(\1)/g,/(_)[^_]+(_)\b/g,/(_{2,})[^_]*(\1)/g,/(~+)[^~]*(\1)/g,/(`+)[^`]*(\1)/g,/(\[(?!\^)+)[^\]]*]/g].map(e=>gu()(xu,e)),ku=hu()(Tu);function Au(e){return function(e,t,n){function r(e,t,n,r=!1){e.push({index:t,text:n,match:r})}const o=function e(t,n,o){const i=t.exec(n),a=yu()(o);if(!i)return o;if(0===i.index)r(o,0,i[0],!0);else if(a)if(i.index===a.index+a.text.length)r(o,i.index,i[0],!0);else{const e=a.index+a.text.length;r(o,e,i.input.slice(e,i.index)),r(o,i.index,i[0],!0)}else r(o,0,i.input.slice(0,i.index)),r(o,i.index,i[0],!0);return e(t,n,o)}(e,n,[]),i=yu()(o);if(!i)return t(n);const a=i.index+i.text.length;return n.length>a&&o.push({index:a,text:n.slice(a)}),o.map(e=>e.match?e.text:t(e.text)).join("")}(new RegExp(Cu,"gm"),ku,e)}function xu(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`${Du(t)}${i}${r?Du(n):""}`})}function Du(e){let t="";for(const n of e)t+=`\\${n}`;return t}function Su(){return function e(t,n){if(Wl()(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?Au(t.value).replace(/^\s*([-#*>=|]| {4,}|`{3,})/,"$`\\$1"):Au(t.value);return{...t,value:e,...r}}return{...t,...r}}}var _u=u(77476),wu=u.n(_u);function Ou(){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 wu()(r).trim()?e:null}return e}).filter(e=>e).map(e)),t}}function Nu(){this.Parser.prototype.inlineTokenizers.text=function(e,t,n){var r,o,i,a,s,l,u,c,d,f=this;if(n)return!0;for(a=(r=f.inlineMethods).length,o=f.inlineTokenizers,i=-1,d=t.length;++i<a;)"text"!==(c=r[i])&&o[c]&&((u=o[c].locator)||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(f,t,1))&&l<d&&(d=l));e(s=t.slice(0,d))({type:"text",value:s})}}var Pu=u(46123),Ru=u.n(Pu),Bu=u(58150),Fu=u.n(Bu);const Iu={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"},Mu={bold:"strong",italic:"emphasis",delete:"delete",code:"inlineCode"},Lu=["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"],ju=["link","image","break"],Hu=/^\s+\S/,Uu=/(?!\S)\s+$/;function zu(e,{voidCodeBlock:t}){return function e(n){const r=n.children&&n.children[0]&&Lu.includes(n.children[0].type)?n.children.map(e).filter(e=>e):d(n.children),o=function(e,n){switch("shortcode"==e.type&&"code-block"==e.data.shortcode&&(e=function(e){return{...e,type:"code-block",data:{...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 Pl()(Iu[e.type],n);case"shortcode":{const{data:t}=e;return Pl()(Iu[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=Pl()(Iu[e.type],{depth:t},n);return wu()(r)?r:void 0}case"code-block":{const{lang:r,code:o,...i}=Ru()(e,"data",{}),a=t?o:n[0]?.value;return Pl()(Iu[e.type],{lang:r,data:i},a||"")}case"numbered-list":case"bulleted-list":{const t={ordered:"numbered-list"===e.type,start:Ru()(e.data,"start")||1};return Pl()(Iu[e.type],t,n)}case"thematic-break":return Pl()(Iu[e.type])}}(n,r);return o}({type:"root",children:e});function n(e,t){return e.map(e=>{const r={...e};switch(e.type){case"link":{const r=n(e.children,t);return{...e,children:r}}case"image":case"break":{const t=as()(e.data,"marks");return{...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={...e};return t.marks=e.marks?e.marks.filter(({type:e})=>"code"!==e):e.marks,delete t.code,t}),n=zl()(t,r);return Fu()(...n)}case"break":case"image":return zl()(Ru()(e,["data","marks"]),e=>e.type);default:return o(e)}}function o(e){return Object.keys(Mu).filter(t=>!!e[t])}function i(e,t){const n=r(t),o=Fu()(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=[...lu()("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?Uu:Hu,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:{...e,text:a}}}return{trimmedNode:e}}function l(e){const{whitespace:t,trimmedNode:n}=s(e[0]),r=s(e.length>1?yu()(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 u(e){return e&&Pl()("html",e)}function c(e){return ju.includes(e.type)}function d(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(Pl()(Mu[r],e.data,e.text))}else if(!r&&1===o.length&&c(e)){const e=o[0];t.push(f(e,d(e.children)))}else{const{leadingWhitespace:e,trailingWhitespace:a,centerNodes:s}=l(o),c=d(s),f=Pl()(Mu[r],c);if(""===wu()(f)){n=i;continue}const p=[u(e),f,u(a)].filter(e=>e);t.push(...p)}n=i}else"break"===e.type?(n=n.slice(1),t.push(f(e))):(n.shift(),t.push(Pl()("html",e.text)))}return t}function f(e,t){switch(e.type){case"break":return Pl()(Iu[e.type]);case"link":{const{title:n,data:r}=e;return Pl()(Iu[e.type],{url:e.url,title:n,...r},t)}case"image":{const{url:t,title:n,alt:r,...o}=Ru()(e,"data",{});return Pl()(Iu[e.type],{url:t,title:n,alt:r,data:o})}}}}function Gu(e,t){const n=Ol()().use(Bl(),{fences:!0,commonmark:!0}).use(Wu,{inlineTokenizers:["url"]}).use(fu,{plugins:xc()}).use(Nu).use(du).use(t),r=n.parse(e);return n.runSync(r)}function Wu({inlineTokenizers:e}){e&&e.forEach(e=>{delete this.Parser.prototype.inlineTokenizers[e]})}function Ku(e,{voidCodeBlock:t,remarkPlugins:n=[]}={}){const r=function(e,t){const n=e||Pl()("root",[Pl()("paragraph",[Pl()("text","")])]),r=Ol()().use({settings:{commonmark:!0,fences:!0,listItemIndent:"1",bullet:"*",emphasis:"*",strong:"*",rule:"-"}}).use(Su).use(Ou).use(Il()).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:xc()})).use(t),o=r.runSync(n),i=r.stringify(o).replace(/\r?/g,"");return _l()(i)}(zu(e,{voidCodeBlock:t}),n);return r}const qu=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(at.nodes(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)&&"paragraph"===t.type,mode:"lowest"}));return!!n&&at.isEmpty(e,n[0])}(e)?Xt.insertNodes(e,r):Xt.setNodes(e,r)};function $u(e){return $u="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},$u(e)}function Vu(e,t,n){return(t=function(e){var t=function(e){if("object"!==$u(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==$u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===$u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yu=new WeakMap,Xu=new WeakMap;class Qu{}class Ju extends Qu{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),Vu(this,"offset",void 0),Vu(this,"path",void 0);var{offset:t,path:n}=e;this.offset=t,this.path=n}}class Zu extends Qu{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),Vu(this,"offset",void 0),Vu(this,"path",void 0);var{offset:t,path:n}=e;this.offset=t,this.path=n}}var ec=e=>Yu.get(e),tc=e=>Xu.get(e);function nc(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 rc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nc(Object(n),!0).forEach(function(t){Vu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oc=new WeakSet,ic=e=>{var t=[],n=e=>{if(null!=e){var r=t[t.length-1];if("string"==typeof e){var o={text:e};oc.add(o),e=o}if(yt.isText(e)){var i=e;yt.isText(r)&&oc.has(r)&&oc.has(i)&&yt.equals(r,i,{loose:!0})?r.text+=i.text:t.push(i)}else if(Ze.isElement(e))t.push(e);else{if(!(e instanceof Qu))throw new Error("Unexpected hyperscript child object: ".concat(e));var a=t[t.length-1];yt.isText(a)||(n(""),a=t[t.length-1]),e instanceof Ju?((e,t)=>{var n=e.text.length;Yu.set(e,[n,t])})(a,e):e instanceof Zu&&((e,t)=>{var n=e.text.length;Xu.set(e,[n,t])})(a,e)}}};for(var r of e.flat(1/0))n(r);return t};function ac(e,t,n){return rc(rc({},t),{},{children:ic(n)})}function sc(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 lc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sc(Object(n),!0).forEach(function(t){Vu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var uc,cc={anchor:function(e,t,n){return new Ju(t)},cursor:function(e,t,n){return[new Ju(t),new Zu(t)]},editor:(uc=Cn,(e,t,n)=>{var r,o=[];for(var i of n)Qe.isRange(i)?r=i:o.push(i);var a=ic(o),s={},l=uc();for(var[u,c]of(Object.assign(l,t),l.children=a,nt.texts(l))){var d=ec(u),f=tc(u);if(null!=d){var[p]=d;s.anchor={path:c,offset:p}}if(null!=f){var[h]=f;s.focus={path:c,offset:h}}}if(s.anchor&&!s.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!s.anchor&&s.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return null!=r?l.selection=r:Qe.isRange(s)&&(l.selection=s),l}),element:ac,focus:function(e,t,n){return new Zu(t)},fragment:function(e,t,n){return ic(n)},selection:function(e,t,n){var r=n.find(e=>e instanceof Ju),o=n.find(e=>e instanceof Zu);if(!r||null==r.offset||null==r.path)throw new Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||null==o.offset||null==o.path)throw new Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return rc({anchor:{offset:r.offset,path:r.path},focus:{offset:o.offset,path:o.path}},t)},text:function(e,t,n){var r=ic(n);if(r.length>1)throw new Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[o]=r;if(null==o&&(o={text:""}),!yt.isText(o))throw new Error("\n The <text> hyperscript tag can only contain text content as children.");return oc.delete(o),Object.assign(o,t),o}},dc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e,n=(e=>{var t={},n=function(){var n=e[r];if("object"!=typeof n)throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(r,"> tag you passed: ").concat(n));t[r]=(e,t,r)=>ac(0,lc(lc({},n),t),r)};for(var r in e)n();return t})(t);return(e=>function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=e[t];if(!a)throw new Error("No hyperscript creator found for tag: <".concat(t,">"));return null==n&&(n={}),wa(n)||(o=[n].concat(o),n={}),a(t,n,o=o.filter(e=>Boolean(e)).flat())})(lc(lc(lc({},cc),n),e.creators))}();const fc={A:e=>({type:"link",url:e.getAttribute("href")}),BLOCKQUOTE:()=>({type:"quote"}),H1:()=>({type:"heading-one"}),H2:()=>({type:"heading-two"}),H3:()=>({type:"heading-three"}),H4:()=>({type:"heading-four"}),H5:()=>({type:"heading-five"}),H6:()=>({type:"heading-six"}),IMG:e=>({type:"image",url:e.getAttribute("src")}),LI:()=>({type:"list-item"}),OL:()=>({type:"numbered-list"}),P:()=>({type:"paragraph"}),PRE:()=>({type:"code"}),UL:()=>({type:"bulleted-list"})},pc={CODE:()=>({code:!0}),DEL:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),S:()=>({strikethrough:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0})},hc={"font-style":e=>"italic"===e?{italic:!0}:{},"font-weight":e=>"bold"===e||parseInt(e,10)>=600?{bold:!0}:{}};function mc(e){if(3===e.nodeType)return e.textContent;if(1!==e.nodeType)return null;if("BR"===e.nodeName)return"\n";const{nodeName:t}=e;let n=e;"PRE"===t&&e.childNodes[0]&&"CODE"===e.childNodes[0].nodeName&&(n=e.childNodes[0]);let r=Array.from(n.childNodes).map(mc).flat();if(0===r.length&&(r=[{text:""}]),"BODY"===e.nodeName)return dc("fragment",{},r);if(fc[t]){const n=fc[t](e);return dc("element",n,r)}if(pc[t]){const n=pc[t](e);return r.map(e=>dc("text",n,e))}if("SPAN"===t){const t={};for(let n=0;n<e.style.length;n++){const r=e.style[n];if(hc[r]){const n=e.style.getPropertyValue(r),o=hc[r](n);Object.assign(t,o)}}return r.map(e=>dc("text",t,e))}return r}function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gc.apply(null,arguments)}function vc({minimal:e}){return`\n position: relative;\n overflow: auto;\n font-family: ${P.fonts.primary};\n min-height: ${e?"auto":P.lengths.richTextEditorMinHeight};\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top: 0;\n margin-top: -${La};\n padding: 0;\n display: flex;\n flex-direction: column;\n z-index: ${P.zIndex.zIndex100};\n`}const yc=N("div",{target:"ebiot7z0",label:"InsertionPoint"})({name:"ma7xbc",styles:"flex:1 1 auto;cursor:text"});var Ec={name:"j8ayvn-Editor",styles:"position:relative;label:Editor;"};function bc(t){const{onAddAsset:n,getAsset:r,className:o,field:i,isShowModeToggle:s,t:u,isDisabled:c,getEditorComponents:d,getRemarkPlugins:f,onChange:p}=t,h=(0,e.useMemo)(()=>function(e){const{insertData:t,isInline:n,isVoid:r}=e;return e.isInline=e=>"link"===e.type||n(e),e.isVoid=e=>"image"===e.type||r(e),e.insertData=n=>{const r=n.getData("text/html");if(r){const t=mc((new DOMParser).parseFromString(r,"text/html").body);return void Xt.insertFragment(e,t)}t(n)},e}(Sa(Fa(function(e){const{isVoid:t,normalizeNode:n}=e;return e.isVoid=e=>"shortcode"===e.type||t(e),e.normalizeNode=t=>{const[r]=t;at.isEditor(r)&&0==r.children.length&&Xt.insertNodes(e,Ya()),n(t)},e}(function(e){return void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push((e,t)=>El(e,t)),e.toggleBlock=t=>vl(e,t),e}(function(e){const{normalizeNode:t}=e;return void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push((e,t)=>dl(e,t)),e.toggleList=t=>fl(e,t),e.isListItem=()=>{const{selection:t}=e;if(!t)return!1;const[n]=Array.from(at.nodes(e,{at:at.unhangRange(e,t),match:t=>!at.isEditor(t)&&Ze.isElement(t)&&at.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(Ze.isElement(r)||at.isEditor(r))for(const[t,n]of nt.children(e,o)){if(`${t.type}`.endsWith("-list")&&t.type===i){Xt.mergeNodes(e,{at:n});break}i=t.type}if(Ze.isElement(r)&&`${r.type}`.endsWith("-list")){const t=at.previous(e,{at:o}),[n,r]=at.parent(e,o);if(!t&&"list-item"===n.type){const t=at.previous(e,{at:r});sl(e,o,t),Xt.removeNodes(e,{at:r})}}},e}(function(e){const{isInline:t,isVoid:n,normalizeNode:r}=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),e.normalizeNode=t=>{const[n,o]=t;Ze.isElement(n)&&"link"===n.type&&""===nt.string(n)?Xt.removeNodes(e,{at:o}):r(t)},void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push((e,t)=>Dl(e,t)),e}(Cn()))))))),[]),m=[Ya()];let g=d();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=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[y,E]=(0,e.useState)(t.value?function(e,{voidCodeBlock:t,remarkPlugins:n=[]}={}){const r=Gu(e,n);return Ol()().use($l).use(au,{voidCodeBlock:t}).runSync(r).children}(t.value,{voidCodeBlock:!!v,remarkPlugins:f()}):m),b=(0,e.useCallback)(e=>(0,l.jsx)(Qs,gc({},e,{classNameWrapper:o,codeBlockComponent:v})),[]),C=(0,e.useCallback)(e=>(0,l.jsx)(Xs,e),[]);function T(e){for(const t of h.keyDownHandlers||[])if(!1===t(e,h))break;ai.focus(h)}function k(){ai.focus(h),Xt.select(h,{path:[0,0],offset:0}),Xt.select(h,at.end(h,[]))}(0,e.useEffect)(()=>{t.pendingFocus&&(ai.focus(h),t.pendingFocus())},[t.pendingFocus]);const[A,x]=(0,e.useState)(0);return(0,l.jsx)("div",{css:Ec},(0,l.jsx)(xa,{editor:h,value:y,initialValue:y,onChange:function(e){ts()(e,y)||(E(()=>e),p(Ku(e,{voidCodeBlock:!!v,remarkPlugins:f()}))),x(e=>e+1)}},(0,l.jsx)(ja,null,(0,l.jsx)(Va,{key:A,onMarkClick:function(e){ai.focus(h),Cl(h,"strikethrough"===e?"delete":e)},onBlockClick:function(e){ai.focus(h),e.endsWith("-list")?h.toggleList(e):h.toggleBlock(e)},onLinkClick:function(){Al(h,u("editor.editorWidgets.markdown.linkPrompt")),ai.focus(h)},onToggleMode:function(){t.onMode("raw")},plugins:g,onSubmit:function(e){qu(h,e)},onAddAsset:n,getAsset:r,buttons:i.get("buttons"),editorComponents:i.get("editor_components"),hasMark:function(e){return bl(h,e)},hasInline:function(e){return"link"==e&&!!kl(h)},hasBlock:function(e){return pl(h,e)},hasQuote:function(){return pl(h,"quote")},hasListItems:function(e){return pl(h,e)},isShowModeToggle:s,t:u,disabled:c})),(0,l.jsx)(l.ClassNames,null,({css:e,cx:t})=>(0,l.jsx)("div",{className:t(o,e`
|
|
5
|
-
${
|
|
4
|
+
`),value:u,onChange:d}))))}Ja.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 Za=Ja;var es=u(46343),ts=u.n(es);function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ns.apply(null,arguments)}function rs(e){return(0,l.jsx)("div",ns({css:(0,l.css)("height:32px;cursor:text;position:relative;z-index:",P.zIndex.zIndex1,";margin-top:-16px;;label:InsertionPoint;")},e))}const os=function({attributes:e,children:t,element:n}){const r=oa(),o=ai.findPath(r,n);function i(e){Xt.insertNodes(r,Ya(),{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,l.jsx)("div",ns({},e,{onClick:function(e){e.stopPropagation()},contentEditable:!1}),a&&(0,l.jsx)(rs,{onClick:function(){i(o)}}),t,u&&(0,l.jsx)(rs,{onClick:function(){i([...o.slice(0,-1),o[o.length-1]+1])}}))};var is=u(3326),as=u.n(is),ss={name:"1xfnuhy-Shortcode",styles:"margin-top:0;margin-bottom:16px;&:first-of-type{margin-top:0;};label:Shortcode;"};const ls=function(t){const n=oa(),{element:r,dataKey:o="shortcodeData",children:i}=t,s=Ac,u=Dc().get(r.data.shortcode),c=(0,a.fromJS)(as()(u,["id","fromBlock","toBlock","toPreview","pattern","icon"])),[d,f]=(0,e.useState)((0,a.fromJS)(r.data[o]));function p(){const e=ai.findPath(n,r);Xt.select(n,e)}const h=ai.findPath(n,r),m=n.selection&&h&&Qe.isRange(n.selection)&&Qe.includes(n.selection,h);return!c.isEmpty()&&(0,l.jsx)("div",{onClick:p,onFocus:p},(0,l.jsx)(s,{css:ss,value:d,field:c,onChange:function(e,t,i){const a=ai.findPath(n,r),s={data:{...r.data,[o]:t.toJS(),metadata:i}};Xt.setNodes(n,s,{at:a}),f(t)},isEditorComponent:!0,onValidateObject:()=>{},isNewEditorComponent:r.data.shortcodeNew,isSelected:m}),i)};function us(){return us=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},us.apply(null,arguments)}const cs="16px",ds="\n font-weight: 700;\n line-height: 1;\n",fs=N("h1",{target:"evlbpgx13",label:"StyledH1"})(ds,";font-size:32px;margin-top:16px;"),ps=N("h2",{target:"evlbpgx12",label:"StyledH2"})(ds,";font-size:24px;margin-top:12px;"),hs=N("h3",{target:"evlbpgx11",label:"StyledH3"})(ds,";font-size:20px;"),ms=N("h4",{target:"evlbpgx10",label:"StyledH4"})(ds,";font-size:18px;margin-top:8px;"),gs=N("h5",{target:"evlbpgx9",label:"StyledH5"})(ds,";font-size:16px;margin-top:8px;"),vs=gs.withComponent("h6",{target:"evlbpgx14",label:"StyledH6"}),ys=N("p",{target:"evlbpgx8",label:"StyledP"})("margin-bottom:",cs,";"),Es=N("blockquote",{target:"evlbpgx7",label:"StyledBlockQuote"})("padding-left:16px;border-left:3px solid ",P.colors.background,";margin-left:0;margin-right:0;margin-bottom:",cs,";"),bs=N("code",{target:"evlbpgx6",label:"StyledCode"})("background-color:",P.colors.background,";border-radius:",P.lengths.borderRadius,";padding:0 2px;font-size:85%;"),Cs=N("ul",{target:"evlbpgx5",label:"StyledUl"})("margin-bottom:",cs,";padding-left:30px;"),Ts=Cs.withComponent("ol",{target:"evlbpgx15",label:"StyledOl"}),ks=N("li",{target:"evlbpgx4",label:"StyledLi"})({name:"1smjpj0",styles:"&>p:first-of-type{margin-top:8px;}&>p:last-of-type{margin-bottom:8px;}"}),As=N("a",{target:"evlbpgx3",label:"StyledA"})({name:"11z7vuy",styles:"text-decoration:underline;font-size:inherit"}),xs=N("hr",{target:"evlbpgx2",label:"StyledHr"})({name:"1y2p2hw",styles:"border:1px solid;margin-bottom:16px"}),Ds=N("table",{target:"evlbpgx1",label:"StyledTable"})({name:"tkxk5i",styles:"border-collapse:collapse"}),Ss=N("td",{target:"evlbpgx0",label:"StyledTd"})({name:"l1hg2r",styles:"border:1px solid black;padding:8px;text-align:left"});function _s(e){return(0,l.jsx)("strong",null,e.children)}function ws(e){return(0,l.jsx)("em",null,e.children)}function Os(e){return(0,l.jsx)("s",null,e.children)}function Ns(e){return(0,l.jsx)(bs,null,e.children)}function Ps(e){return(0,l.jsx)(ys,e.attributes,e.children)}function Rs(e){return(0,l.jsx)(ks,e.attributes,e.children)}function Bs(e){return(0,l.jsx)(Es,e.attributes,e.children)}function Fs(e){return(0,l.jsx)(fs,e.attributes,e.children)}function Is(e){return(0,l.jsx)(ps,e.attributes,e.children)}function Ms(e){return(0,l.jsx)(hs,e.attributes,e.children)}function Ls(e){return(0,l.jsx)(ms,e.attributes,e.children)}function js(e){return(0,l.jsx)(gs,e.attributes,e.children)}function Hs(e){return(0,l.jsx)(vs,e.attributes,e.children)}function Us(e){return(0,l.jsx)(Ds,null,(0,l.jsx)("tbody",e.attributes,e.children))}function zs(e){return(0,l.jsx)("tr",e.attributes,e.children)}function Gs(e){return(0,l.jsx)(Ss,e.attributes,e.children)}function Ws(e){const t=Da();return(0,l.jsx)("div",e.attributes,e.children,(0,l.jsx)("div",{contentEditable:!1},(0,l.jsx)(xs,us({},e.attributes,{css:t&&(0,l.css)("box-shadow:0 0 0 2px ",P.colors.active,";border-radius:8px;color:",P.colors.active,";;label:ThematicBreak;")}))))}function Ks(e){return(0,l.jsx)(t().Fragment,null,(0,l.jsx)("br",e.attributes),e.children)}function qs(e){return(0,l.jsx)(Cs,e.attributes,e.children)}function $s(e){return(0,l.jsx)(Ts,us({},e.attributes,{start:1}),e.children)}function Vs(e){const t=e.element.url,n=e.element.title||t;return(0,l.jsx)(As,us({href:t,title:n},e.attributes),e.children)}function Ys(e){const{url:t,title:n,alt:r}=e.element.data,o=Da();return(0,l.jsx)("span",e.attributes,e.children,(0,l.jsx)("img",us({src:t,title:n,alt:r},e.attributes,{css:o&&(0,l.css)("box-shadow:0 0 0 2px ",P.colors.active,";;label:Image;")})))}function Xs({attributes:e,children:t,leaf:n}){return n.bold&&(t=(0,l.jsx)(_s,null,t)),n.italic&&(t=(0,l.jsx)(ws,null,t)),n.delete&&(t=(0,l.jsx)(Os,null,t)),n.code&&(t=(0,l.jsx)(Ns,null,t)),(0,l.jsx)("span",e,t)}function Qs(e){const{children:t,element:n,classNameWrapper:r,codeBlockComponent:o}=e,i={textAlign:n.align};switch(n.type){case"bulleted-list":return(0,l.jsx)(qs,null,t);case"quote":return(0,l.jsx)(Bs,null,t);case"heading-one":return(0,l.jsx)(Fs,null,t);case"heading-two":return(0,l.jsx)(Is,null,t);case"heading-three":return(0,l.jsx)(Ms,null,t);case"heading-four":return(0,l.jsx)(Ls,null,t);case"heading-five":return(0,l.jsx)(js,null,t);case"heading-six":return(0,l.jsx)(Hs,null,t);case"list-item":return(0,l.jsx)(Rs,null,t);case"numbered-list":return(0,l.jsx)($s,null,t);case"table":return(0,l.jsx)(Us,e);case"table-row":return(0,l.jsx)(zs,e);case"table-cell":return(0,l.jsx)(Gs,e);case"thematic-break":return(0,l.jsx)(os,e,(0,l.jsx)(Ws,e));case"link":return(0,l.jsx)(Vs,e);case"image":return(0,l.jsx)(Ys,e);case"break":return(0,l.jsx)(Ks,e);case"shortcode":return"code-block"===n.id&&o?(0,l.jsx)(os,e,(0,l.jsx)(ls,us({classNameWrapper:r,typeOverload:"code-block"},e))):(0,l.jsx)(os,e,(0,l.jsx)(ls,e,t));default:return(0,l.jsx)(Ps,{style:i},t)}}const Js=function(e,t,n){Xt.liftNodes(e,{match:e=>e.type===t||"paragraph"===t&&`${e.type}`.startsWith("heading"),mode:"lowest",...n})},Zs=function(e,t,n){return{match:n=>!at.isEditor(n)&&Ze.isElement(n)&&at.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}},el=function(e,t){return Zs(e,t,"lowest")},tl=function(e,t,n){Xt.wrapNodes(e,n,el(e,t))},nl=function(e){return!!e.selection&&at.above(e,el(e,"list"))},rl=function(e){at.withoutNormalizing(e,()=>{Js(e,"list-item",{split:!0});const t=nl(e),n=function(e){return!!e.selection&&at.above(e,el(e,"quote"))}(e);t&&!n||t&&n&&t[1].length>n[1].length?Js(e,"list-item",{split:!0}):function(e,t){Xt.unwrapNodes(e,el(e,t))}(e,"list-item")}),at.normalize(e,{force:!0})},ol=function(e){if(!e.selection)return!1;const{offset:t,path:n}=Qe.start(e.selection);return 0==t&&n.length>2&&n[n.length-2]>0},il=function(e){if(!e.selection)return;if(Qe.isExpanded(e.selection)&&Xt.delete(e),function(e){if(!e.selection)return!1;const{offset:t,path:n}=Qe.start(e.selection);return 0===t&&n.length>=2&&0===n[n.length-1]&&0===n[n.length-2]}(e))return rl(e);const t=function(e){if(!e.selection)return!1;const[,t]=at.above(e,el(e,"paragraph"));return at.next(e,{at:t})}(e);return t&&`${t[0].type}`.endsWith("-list")?function(e,t){if(!e.selection)return!1;Qe.isExpanded(e.selection)&&Xt.delete(e),at.withoutNormalizing(e,()=>{Xt.splitNodes(e,{always:!0}),Xt.setNodes(e,{type:"paragraph"}),tl(e,"paragraph",{type:"list-item"}),tl(e,"list-item",{type:t})}),at.normalize(e,{force:!0})}(e,t[0].type):ol(e)?function(e){at.withoutNormalizing(e,()=>{tl(e,"paragraph",{type:"list-item"}),Js(e,"list-item",{split:!0})}),at.normalize(e,{force:!0})}(e):void function(e){if(!e.selection)return!1;Qe.isExpanded(e.selection)&&Xt.delete(e),at.withoutNormalizing(e,()=>{Xt.splitNodes(e,{always:!0}),Xt.setNodes(e,{type:"paragraph"}),tl(e,"paragraph",{type:"list-item"}),Js(e,"list-item")}),at.normalize(e,{force:!0})}(e)},al=function(e){if(!e.selection)return!1;const[,t]=at.above(e,{match:e=>"list-item"===e.type,mode:"lowest",at:Qe.start(e.selection)});return!!(t&&t.length>0&&t[t.length-1]>0)||void 0},sl=function(e,t,n){const[r,o]=n;Xt.moveNodes(e,{at:t,to:[...o,r.children.length]})},ll=function(e,t){const{selection:n}=e;if(!n)return!1;const[r]=Array.from(at.nodes(e,{match:n=>Ze.isElement(n)&&at.isBlock(e,n)&&"paragraph"!==n.type&&(t||!`${n.type}`.startsWith("heading-")),mode:"lowest"}));return!!r&&"list-item"===r[0].type},ul=function(e){at.withoutNormalizing(e,()=>{Xt.unwrapNodes(e,{...el(e,"list"),split:!0}),Xt.unwrapNodes(e,el(e,"list-item"))}),at.normalize(e)},cl=function(e){if(e.selection&&Qe.isCollapsed(e.selection)&&0===e.selection.anchor.offset&&ll(e,!0)&&!ol(e))return al(e)?function(e){at.withoutNormalizing(e,()=>{Xt.mergeNodes(e,el(e,"list-item"))}),at.normalize(e,{force:!0})}(e):ul(e),!1},dl=function(e,t){if(t.isListItem())return(0,In.Ay)("enter",e)?(e.preventDefault(),il(t),!1):(0,In.Ay)("backspace",e)?!1===cl(t)?(e.preventDefault(),!1):void 0:(0,In.Ay)("tab",e)?(e.preventDefault(),function(e){if(!e.selection)return;if(!al(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]}};at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:"bulleted-list"},{...el(e,"list-item"),at:o});const[,t]=at.above(e,el(e,"list")),n=at.previous(e,{at:t});sl(e,t,n)}),at.normalize(e)}(t)):(0,In.Ay)("shift+tab",e)?(e.preventDefault(),function(e){e.selection&&(Array.from(at.nodes(e,Zs(e,"list"))).length<2||(at.withoutNormalizing(e,()=>{Xt.liftNodes(e,{...el(e,"list-item"),split:!0}),Xt.liftNodes(e,{...el(e,"list-item"),split:!0})}),at.normalize(e)))}(t)):void 0},fl=function(e,t){if(!ll(e))return function(e,t){at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:t});const n=at.nodes(e,el(e,"paragraph"));for(const t of n)Xt.wrapNodes(e,{type:"list-item"},{at:t[1]})}),at.normalize(e)}(e,t);const n=nl(e);return n&&n[0].type!==t?function(e,t){at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:t},el(e,"list-item")),Xt.liftNodes(e,el(e,t))}),at.normalize(e,{force:!0})}(e,t):ul(e)},pl=function(e,t,n,r){const{selection:o}=e;if(!o)return!1;const[i]=Array.from(at.nodes(e,{match:t=>Ze.isElement(t)&&at.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}`)))},hl=function(e,t=!1){if(0!==e.selection.anchor.offset)return!1;let[n,r]=at.above(e,el(e,"non-default"));if(0==r.length)return!1;if(`${n.type}`.startsWith("heading-"))return Xt.setNodes(e,{type:"paragraph"}),!1;const o=at.isBlock(e,n),[i,a]=at.above(e,el(e,"block"));if(!o){if(!at.isStart(e,r,a))return!1;[n,r]=[i,a]}return at.withoutNormalizing(e,()=>{Xt.unwrapNodes(e,{match:e=>e.type===n.type,split:!0}),t&&Xt.mergeNodes(e)}),at.normalize(e,{force:!0}),!0},ml=function(e){if(e.selection)return pl(e,"heading",!0)?function(e){if(function(e){const{selection:t}=e;if(!t)return!1;const n=at.above(e,el(e,"paragraph"));return!!n&&at.isEnd(e,e.selection.focus,n[1])}(e))return function(e){at.withoutNormalizing(e,()=>{Xt.splitNodes(e,{always:!0}),Xt.setNodes(e,{type:"paragraph"})}),at.normalize(e,{force:!0})}(e),!0}(e):hl(e)},gl=function(e){if(e.selection&&!function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(at.nodes(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)&&`${t.type}`.startsWith("heading-"),mode:"lowest"}));return!!n&&at.isStart(e,e.selection.focus,n[1])&&!at.isEmpty(e,n[0])}(e))return function(e,t){const{selection:n}=e;if(!n)return!1;const r=at.above(e,el(e,t));return!!r&&at.isStart(e,e.selection.focus,r[1])}(e,"quote")&&function(e,t){const{selection:n}=e;if(!n)return!1;const[r]=at.nodes(e,el(e,"block")),o=at.previous(e,el(e,t));return r&&o&&r[0].type===o[0].type}(e,"quote")?(Xt.mergeNodes(e,el(e,"quote")),!0):hl(e,!0)},vl=function(e,t){const{selection:n}=e;if(!n)return;const r=t.startsWith("heading-"),o=pl(e,t,r,Qe.isExpanded(n)),i=function(e){const t=at.above(e,el(e,"list"));return t?t[0].type:null}(e);if(r)return void Xt.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){at.withoutNormalizing(e,()=>{Xt.wrapNodes(e,{type:n}),Xt.wrapNodes(e,{type:t},{match:e=>e.type===n}),Xt.liftNodes(e,{match:e=>e.type===t})}),at.normalize(e,{force:!0})}(e,t,i):o?void Xt.unwrapNodes(e,{match:e=>e.type===t}):Xt.wrapNodes(e,{type:t})},yl={"mod+1":"heading-one","mod+2":"heading-two","mod+3":"heading-three","mod+4":"heading-four","mod+5":"heading-five","mod+6":"heading-six"},El=function(e,t){if(t.selection){for(const n in yl)if((0,In.Ay)(n,e))return vl(t,yl[n]),e.preventDefault(),!1;if((0,In.Ay)("backspace",e)&&function(e){const{selection:t}=e;if(!t)return!1;if(Qe.isExpanded(t))return!1;const n=at.previous(e);return n&&"break"==n[0].type}(t)){const[,n]=at.previous(t);return Xt.removeNodes(t,{at:n}),e.preventDefault(),!1}if(function(e){const{selection:t}=e;if(!t)return!1;const[n]=Array.from(at.nodes(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)&&"paragraph"!==t.type,mode:"lowest"}));return!!n&&!at.isEditor(n[0])}(t)){if((0,In.Ay)("enter",e)&&ml(t))return e.preventDefault(),!1;if((0,In.Ay)("backspace",e)&&gl(t))return e.preventDefault(),!1}}},bl=function(e,t){const{selection:n}=e;if(!n)return!1;const r=at.marks(e);return!!r&&!0===r[t]},Cl=function(e,t){bl(e,t)?at.removeMark(e,t):at.addMark(e,t,!0)},Tl=function(){return{match:e=>!at.isEditor(e)&&Ze.isElement(e)&&"link"===e.type}},kl=function(e){const[t]=at.nodes(e,Tl());return t},Al=function(e,t){const n=kl(e),r=n?n[0]?.data?.url:"",o=window.prompt(t,r);null!=o&&(""!==o?function(e,t){if(kl(e))return void Xt.setNodes(e,{data:{url:t}},Tl());const{selection:n}=e,r=n&&Qe.isCollapsed(n),o={type:"link",data:{url:t},children:r?[{text:t}]:[]};r?Xt.insertNodes(e,o):(Xt.wrapNodes(e,o,{split:!0}),Xt.collapse(e,{edge:"end"}))}(e,o):function(e){Xt.unwrapNodes(e,Tl())}(e))},xl={"mod+b":"bold","mod+i":"italic","mod+u":"underline","mod+`":"code","mod+shift+s":"delete","mod+shift+c":"code"},Dl=function(e,t){if(t.selection){for(const n in xl)if((0,In.Ay)(n,e))return Cl(t,xl[n]),e.preventDefault(),!1;return(0,In.Ay)("mod+k",e)?(e.preventDefault(),Al(t)):(0,In.Ay)("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 Xt.insertNodes(e,{type:"break",children:[{text:""}]}),at.normalize(e,{force:!0}),Xt.select(e,t),!1}(t)):void 0}};var Sl=u(17426),_l=u.n(Sl),wl=u(22244),Ol=u.n(wl),Nl=u(53933),Pl=u.n(Nl),Rl=u(85815),Bl=u.n(Rl),Fl=u(38474),Il=u.n(Fl),Ml=u(13025),Ll=u.n(Ml),jl=u(86291),Hl=u.n(jl),Ul=(u(99233),u(12530),u(9147),u(40105)),zl=u.n(Ul),Gl=u(52103),Wl=u.n(Gl),Kl=u(40931);function ql({plugins:e,getAsset:n,resolveWidget:r,toHtml:o}){return function(e){const t=zl()(e.children,i);return{...e,children:t}};function i(i){if(!Wl()(i,["data","shortcode"]))return i;const{shortcode:a,shortcodeData:s}=i.data,l=function(e,i){const{toPreview:a,fields:s}=e;if(a)return a(i,n,s);if(s&&s.size>0&&o)return s.map(e=>{const t=e.get("name"),n=e.get("widget")||"string",r=i?i[t]:"";return r?"markdown"===n||"richtext"===n?o(r):`<p>${r}</p>`:""}).toArray().join("");const l=r(e.widget);return t().createElement(l.preview,{value:i,field:e,getAsset:n})}(e.get(a),s),u="string"==typeof l?l:(0,Kl.F0)(l),c=[Pl()("html",u)];return{...i,children:c}}}function $l(){return function(e){return e.children=e.children.map(e=>"html"===e.type?Pl()("paragraph",[e]):e),e}}var Vl=u(3514),Yl=u.n(Vl),Xl=u(53142),Ql=u.n(Xl),Jl=u(66652),Zl=u.n(Jl),eu=u(75857),tu=u.n(eu);const nu={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"},ru={strong:"bold",emphasis:"italic",delete:"delete",inlineCode:"code"};function ou(e){return!!e.text}function iu(e,t){return ts()(e.marks,t.marks)}function au({voidCodeBlock:e}={}){return t;function t(e){let n=!["strong","emphasis","delete"].includes(e.type)&&!Yl()(e.children)&&Zl()(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 o=0;o<e.length-1;o++){r||(n=e[o]);const i=e[o+1];ou(n)&&ou(i)&&iu(n,i)?(r=!0,n={...n,text:`${n.text}${i.text}`}):(t.push(n),r=!1)}return r?t.push(n):t.push(e[e.length-1]),t}(n)),u(e,n||void 0)}function n(e,t){return t?{...e,children:t}:e}function r(e,t,r={}){Ql()(t)||(r=t,t=void 0);const o=Yl()(t)?[i("")]:t;return n({type:e,...r},o)}function o(e,t={},r){return n({type:e,...t},Yl()(r)?[i("")]:r)}function i(e){const t={};if("string"==typeof e)return{...t,text:e};const{text:n,marks:r}=e;return l({...t,text:n,marks:r})}function a(e,n){switch(e.type){case"html":case"text":return{...u(e),marks:n};case"inlineCode":return{...u(e),marks:[...n,{type:"code"}]};case"strong":case"emphasis":case"delete":return s(e,n);case"link":{const t=zl()(e.children,e=>l(a(e,n)));return u(e,tu()(t))}default:return t({...e,data:{...e.data,marks:n}})}}function s(e,t=[]){const n=ru[e.type],r=n?[...t.filter(({type:e})=>e!==n),{type:n}]:t;return Zl()(e.children,e=>l(a(e,r)))}function l(e){return e.marks&&e.marks.forEach(t=>{e[t.type]=!0}),e}function u(t,n){switch(t.type){case"paragraph":case"blockquote":case"tableRow":case"tableCell":return r(nu[t.type],n);case"root":{const e=Yl()(n)?[r("paragraph")]:n;return r(nu[t.type],e)}case"listItem":{const e=Yl()(n)?[r("paragraph")]:n;return r(nu[t.type],e)}case"shortcode":{const e=[i("")],n={...t.data,id:t.data.shortcode,shortcodeNew:!0};return r(nu[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={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(nu[t.type]);case"link":{const{title:e,url:r,data:i}=t,a={...i,title:e,url:r};return o(nu[t.type],{data:a},n)}case"image":{const{title:e,url:n,alt:r,data:i}=t,a={...i,title:e,alt:r,url:n};return o(nu[t.type],{data:a})}case"table":{const e={align:t.align};return r(nu[t.type],n,{data:e})}}}}var su=u(30795),lu=u.n(su),uu=u(59107),cu=u.n(uu);function du(){return function(t){const n=cu()(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 Pl()(e,{title:t,url:i,alt:n.alt},o)}const i=Pl()("text","imageReference"===n.type?"![":"["),a=Pl()("text","]");return[i,...o||[Pl()("text",n.alt)],a]}if("definition"===n.type)return null;const i=lu()(o,null);return{...n,children:tu()(i)}}}function fu({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[{plugin:o,match:i}={}]=e.toArray().map(e=>{let{pattern:t}=e;return t.source.startsWith("^")||(t=new RegExp(`^${t.source}`,t.flags)),{match:n.match(t),plugin:e}}).filter(({match:e})=>!!e).sort((e,t)=>e.match.index-t.match.index);if(i){if(r)return!0;const e=o.fromBlock(i);try{return t(i[0])({type:"shortcode",data:{shortcode:o.id,shortcodeData:e}})}catch(t){return console.warn(`Sent invalid data to remark. Plugin: ${o.id}. Value: ${i[0]}. Data: ${JSON.stringify(e)}`),!1}}}}({plugins:e}),r.unshift("shortcode")}var pu=u(62879),hu=u.n(pu),mu=u(50578),gu=u.n(mu),vu=u(98087),yu=u.n(vu);const Eu={htmlOpeningTagEnd:/(?: *\w+=(?:(?:"[^"]*")|(?:'[^']*')))* *>/},bu={htmlTags:[/<(?!pre|style|script)[\w]+/,Eu.htmlOpeningTagEnd],preformattedHtmlBlocks:[/<(pre|style|script)/,Eu.htmlOpeningTagEnd,/(.|[\n\r])*?/,/<\/\1>/]},Cu=zl()(bu,e=>new RegExp(e.map(e=>e.source).join(""))).map(e=>`(?:${e.source})`).join("|"),Tu=[/(\*+)[^*]*(\1)/g,/(_)[^_]+(_)\b/g,/(_{2,})[^_]*(\1)/g,/(~+)[^~]*(\1)/g,/(`+)[^`]*(\1)/g,/(\[(?!\^)+)[^\]]*]/g].map(e=>gu()(xu,e)),ku=hu()(Tu);function Au(e){return function(e,t,n){function r(e,t,n,r=!1){e.push({index:t,text:n,match:r})}const o=function e(t,n,o){const i=t.exec(n),a=yu()(o);if(!i)return o;if(0===i.index)r(o,0,i[0],!0);else if(a)if(i.index===a.index+a.text.length)r(o,i.index,i[0],!0);else{const e=a.index+a.text.length;r(o,e,i.input.slice(e,i.index)),r(o,i.index,i[0],!0)}else r(o,0,i.input.slice(0,i.index)),r(o,i.index,i[0],!0);return e(t,n,o)}(e,n,[]),i=yu()(o);if(!i)return t(n);const a=i.index+i.text.length;return n.length>a&&o.push({index:a,text:n.slice(a)}),o.map(e=>e.match?e.text:t(e.text)).join("")}(new RegExp(Cu,"gm"),ku,e)}function xu(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`${Du(t)}${i}${r?Du(n):""}`})}function Du(e){let t="";for(const n of e)t+=`\\${n}`;return t}function Su(){return function e(t,n){if(Wl()(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?Au(t.value).replace(/^\s*([-#*>=|]| {4,}|`{3,})/,"$`\\$1"):Au(t.value);return{...t,value:e,...r}}return{...t,...r}}}var _u=u(77476),wu=u.n(_u);function Ou(){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 wu()(r).trim()?e:null}return e}).filter(e=>e).map(e)),t}}function Nu(){this.Parser.prototype.inlineTokenizers.text=function(e,t,n){var r,o,i,a,s,l,u,c,d,f=this;if(n)return!0;for(a=(r=f.inlineMethods).length,o=f.inlineTokenizers,i=-1,d=t.length;++i<a;)"text"!==(c=r[i])&&o[c]&&((u=o[c].locator)||e.file.fail("Missing locator: `"+c+"`"),-1!==(l=u.call(f,t,1))&&l<d&&(d=l));e(s=t.slice(0,d))({type:"text",value:s})}}var Pu=u(46123),Ru=u.n(Pu),Bu=u(58150),Fu=u.n(Bu);const Iu={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"},Mu={bold:"strong",italic:"emphasis",delete:"delete",code:"inlineCode"},Lu=["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"],ju=["link","image","break"],Hu=/^\s+\S/,Uu=/(?!\S)\s+$/;function zu(e,{voidCodeBlock:t}){return function e(n){const r=n.children&&n.children[0]&&Lu.includes(n.children[0].type)?n.children.map(e).filter(e=>e):d(n.children),o=function(e,n){switch("shortcode"==e.type&&"code-block"==e.data.shortcode&&(e=function(e){return{...e,type:"code-block",data:{...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 Pl()(Iu[e.type],n);case"shortcode":{const{data:t}=e;return Pl()(Iu[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=Pl()(Iu[e.type],{depth:t},n);return wu()(r)?r:void 0}case"code-block":{const{lang:r,code:o,...i}=Ru()(e,"data",{}),a=t?o:n[0]?.value;return Pl()(Iu[e.type],{lang:r,data:i},a||"")}case"numbered-list":case"bulleted-list":{const t={ordered:"numbered-list"===e.type,start:Ru()(e.data,"start")||1};return Pl()(Iu[e.type],t,n)}case"thematic-break":return Pl()(Iu[e.type])}}(n,r);return o}({type:"root",children:e});function n(e,t){return e.map(e=>{const r={...e};switch(e.type){case"link":{const r=n(e.children,t);return{...e,children:r}}case"image":case"break":{const t=as()(e.data,"marks");return{...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={...e};return t.marks=e.marks?e.marks.filter(({type:e})=>"code"!==e):e.marks,delete t.code,t}),n=zl()(t,r);return Fu()(...n)}case"break":case"image":return zl()(Ru()(e,["data","marks"]),e=>e.type);default:return o(e)}}function o(e){return Object.keys(Mu).filter(t=>!!e[t])}function i(e,t){const n=r(t),o=Fu()(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=[...lu()("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?Uu:Hu,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:{...e,text:a}}}return{trimmedNode:e}}function l(e){const{whitespace:t,trimmedNode:n}=s(e[0]),r=s(e.length>1?yu()(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 u(e){return e&&Pl()("html",e)}function c(e){return ju.includes(e.type)}function d(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(Pl()(Mu[r],e.data,e.text))}else if(!r&&1===o.length&&c(e)){const e=o[0];t.push(f(e,d(e.children)))}else{const{leadingWhitespace:e,trailingWhitespace:a,centerNodes:s}=l(o),c=d(s),f=Pl()(Mu[r],c);if(""===wu()(f)){n=i;continue}const p=[u(e),f,u(a)].filter(e=>e);t.push(...p)}n=i}else"break"===e.type?(n=n.slice(1),t.push(f(e))):(n.shift(),t.push(Pl()("html",e.text)))}return t}function f(e,t){switch(e.type){case"break":return Pl()(Iu[e.type]);case"link":{const{title:n,data:r}=e;return Pl()(Iu[e.type],{url:e.url,title:n,...r},t)}case"image":{const{url:t,title:n,alt:r,...o}=Ru()(e,"data",{});return Pl()(Iu[e.type],{url:t,title:n,alt:r,data:o})}}}}function Gu(e,t){const n=Ol()().use(Bl(),{fences:!0,commonmark:!0}).use(Wu,{inlineTokenizers:["url"]}).use(fu,{plugins:Dc()}).use(Nu).use(du).use(t),r=n.parse(e);return n.runSync(r)}function Wu({inlineTokenizers:e}){e&&e.forEach(e=>{delete this.Parser.prototype.inlineTokenizers[e]})}function Ku(e,{getAsset:t,resolveWidget:n,remarkPlugins:r=[]}={}){const o=Gu(e,r),i=Dc(),a=Ol()().use(ql,{plugins:i,getAsset:t,resolveWidget:n,toHtml:function(e){return Ku(e,{getAsset:t,resolveWidget:n})}}).use(Ll(),{allowDangerousHTML:!0}).runSync(o);return Ol()().use(Hl(),{allowDangerousHtml:!0,allowDangerousCharacters:!0,closeSelfClosing:!0,entities:{useNamedReferences:!0}}).stringify(a)}function qu(e,{voidCodeBlock:t,remarkPlugins:n=[]}={}){const r=function(e,t){const n=e||Pl()("root",[Pl()("paragraph",[Pl()("text","")])]),r=Ol()().use({settings:{commonmark:!0,fences:!0,listItemIndent:"1",bullet:"*",emphasis:"*",strong:"*",rule:"-"}}).use(Su).use(Ou).use(Il()).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:Dc()})).use(t),o=r.runSync(n),i=r.stringify(o).replace(/\r?/g,"");return _l()(i)}(zu(e,{voidCodeBlock:t}),n);return r}const $u=function(e,t){const n=t.fields.toMap().mapKeys((e,t)=>t.get("name")).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(at.nodes(e,{match:t=>Ze.isElement(t)&&at.isBlock(e,t)&&"paragraph"===t.type,mode:"lowest"}));return!!n&&at.isEmpty(e,n[0])}(e)?Xt.insertNodes(e,r):Xt.setNodes(e,r)};function Vu(e){return Vu="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},Vu(e)}function Yu(e,t,n){return(t=function(e){var t=function(e){if("object"!==Vu(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Vu(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xu=new WeakMap,Qu=new WeakMap;class Ju{}class Zu extends Ju{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),Yu(this,"offset",void 0),Yu(this,"path",void 0);var{offset:t,path:n}=e;this.offset=t,this.path=n}}class ec extends Ju{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),Yu(this,"offset",void 0),Yu(this,"path",void 0);var{offset:t,path:n}=e;this.offset=t,this.path=n}}var tc=e=>Xu.get(e),nc=e=>Qu.get(e);function rc(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 oc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rc(Object(n),!0).forEach(function(t){Yu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ic=new WeakSet,ac=e=>{var t=[],n=e=>{if(null!=e){var r=t[t.length-1];if("string"==typeof e){var o={text:e};ic.add(o),e=o}if(yt.isText(e)){var i=e;yt.isText(r)&&ic.has(r)&&ic.has(i)&&yt.equals(r,i,{loose:!0})?r.text+=i.text:t.push(i)}else if(Ze.isElement(e))t.push(e);else{if(!(e instanceof Ju))throw new Error("Unexpected hyperscript child object: ".concat(e));var a=t[t.length-1];yt.isText(a)||(n(""),a=t[t.length-1]),e instanceof Zu?((e,t)=>{var n=e.text.length;Xu.set(e,[n,t])})(a,e):e instanceof ec&&((e,t)=>{var n=e.text.length;Qu.set(e,[n,t])})(a,e)}}};for(var r of e.flat(1/0))n(r);return t};function sc(e,t,n){return oc(oc({},t),{},{children:ac(n)})}function lc(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 uc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lc(Object(n),!0).forEach(function(t){Yu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var cc,dc={anchor:function(e,t,n){return new Zu(t)},cursor:function(e,t,n){return[new Zu(t),new ec(t)]},editor:(cc=Cn,(e,t,n)=>{var r,o=[];for(var i of n)Qe.isRange(i)?r=i:o.push(i);var a=ac(o),s={},l=cc();for(var[u,c]of(Object.assign(l,t),l.children=a,nt.texts(l))){var d=tc(u),f=nc(u);if(null!=d){var[p]=d;s.anchor={path:c,offset:p}}if(null!=f){var[h]=f;s.focus={path:c,offset:h}}}if(s.anchor&&!s.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!s.anchor&&s.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return null!=r?l.selection=r:Qe.isRange(s)&&(l.selection=s),l}),element:sc,focus:function(e,t,n){return new ec(t)},fragment:function(e,t,n){return ac(n)},selection:function(e,t,n){var r=n.find(e=>e instanceof Zu),o=n.find(e=>e instanceof ec);if(!r||null==r.offset||null==r.path)throw new Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||null==o.offset||null==o.path)throw new Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return oc({anchor:{offset:r.offset,path:r.path},focus:{offset:o.offset,path:o.path}},t)},text:function(e,t,n){var r=ac(n);if(r.length>1)throw new Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[o]=r;if(null==o&&(o={text:""}),!yt.isText(o))throw new Error("\n The <text> hyperscript tag can only contain text content as children.");return ic.delete(o),Object.assign(o,t),o}},fc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e,n=(e=>{var t={},n=function(){var n=e[r];if("object"!=typeof n)throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(r,"> tag you passed: ").concat(n));t[r]=(e,t,r)=>sc(0,uc(uc({},n),t),r)};for(var r in e)n();return t})(t);return(e=>function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=e[t];if(!a)throw new Error("No hyperscript creator found for tag: <".concat(t,">"));return null==n&&(n={}),wa(n)||(o=[n].concat(o),n={}),a(t,n,o=o.filter(e=>Boolean(e)).flat())})(uc(uc(uc({},dc),n),e.creators))}();const pc={A:e=>({type:"link",url:e.getAttribute("href")}),BLOCKQUOTE:()=>({type:"quote"}),H1:()=>({type:"heading-one"}),H2:()=>({type:"heading-two"}),H3:()=>({type:"heading-three"}),H4:()=>({type:"heading-four"}),H5:()=>({type:"heading-five"}),H6:()=>({type:"heading-six"}),IMG:e=>({type:"image",url:e.getAttribute("src")}),LI:()=>({type:"list-item"}),OL:()=>({type:"numbered-list"}),P:()=>({type:"paragraph"}),PRE:()=>({type:"code"}),UL:()=>({type:"bulleted-list"})},hc={CODE:()=>({code:!0}),DEL:()=>({strikethrough:!0}),EM:()=>({italic:!0}),I:()=>({italic:!0}),S:()=>({strikethrough:!0}),STRONG:()=>({bold:!0}),U:()=>({underline:!0})},mc={"font-style":e=>"italic"===e?{italic:!0}:{},"font-weight":e=>"bold"===e||parseInt(e,10)>=600?{bold:!0}:{}};function gc(e){if(3===e.nodeType)return e.textContent.replace(/(\r)?\n/g,"");if(1!==e.nodeType)return null;if("BR"===e.nodeName)return"\n";const{nodeName:t}=e;let n=e;"PRE"===t&&e.childNodes[0]&&"CODE"===e.childNodes[0].nodeName&&(n=e.childNodes[0]);let r=Array.from(n.childNodes).map(gc).flat();if(0===r.length&&(r=[{text:""}]),"BODY"===e.nodeName)return fc("fragment",{},r);if(pc[t]){const n=pc[t](e);return fc("element",n,r)}if(hc[t]){const n=hc[t](e);return r.map(e=>fc("text",n,e))}if("SPAN"===t){const t={};for(let n=0;n<e.style.length;n++){const r=e.style[n];if(mc[r]){const n=e.style.getPropertyValue(r),o=mc[r](n);Object.assign(t,o)}}return r.map(e=>fc("text",t,e))}return r}function vc(){return vc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vc.apply(null,arguments)}function yc({minimal:e}){return`\n position: relative;\n overflow: auto;\n font-family: ${P.fonts.primary};\n min-height: ${e?"auto":P.lengths.richTextEditorMinHeight};\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top: 0;\n margin-top: -${La};\n padding: 0;\n display: flex;\n flex-direction: column;\n z-index: ${P.zIndex.zIndex100};\n`}const Ec=N("div",{target:"ebiot7z0",label:"InsertionPoint"})({name:"ma7xbc",styles:"flex:1 1 auto;cursor:text"});var bc={name:"j8ayvn-Editor",styles:"position:relative;label:Editor;"};function Cc(t){const{onAddAsset:n,getAsset:r,className:o,field:i,isShowModeToggle:s,t:u,isDisabled:c,getEditorComponents:d,getRemarkPlugins:f,onChange:p}=t,h=(0,e.useMemo)(()=>function(e){const{insertData:t,isInline:n,isVoid:r}=e;return e.isInline=e=>"link"===e.type||n(e),e.isVoid=e=>"image"===e.type||r(e),e.insertData=n=>{const r=n.getData("text/html");if(r){const t=gc((new DOMParser).parseFromString(r,"text/html").body);return void Xt.insertFragment(e,t)}t(n)},e}(Sa(Fa(function(e){const{isVoid:t,normalizeNode:n}=e;return e.isVoid=e=>"shortcode"===e.type||t(e),e.normalizeNode=t=>{const[r]=t;at.isEditor(r)&&0==r.children.length&&Xt.insertNodes(e,Ya()),n(t)},e}(function(e){return void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push((e,t)=>El(e,t)),e.toggleBlock=t=>vl(e,t),e}(function(e){const{normalizeNode:t}=e;return void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push((e,t)=>dl(e,t)),e.toggleList=t=>fl(e,t),e.isListItem=()=>{const{selection:t}=e;if(!t)return!1;const[n]=Array.from(at.nodes(e,{at:at.unhangRange(e,t),match:t=>!at.isEditor(t)&&Ze.isElement(t)&&at.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(Ze.isElement(r)||at.isEditor(r))for(const[t,n]of nt.children(e,o)){if(`${t.type}`.endsWith("-list")&&t.type===i){Xt.mergeNodes(e,{at:n});break}i=t.type}if(Ze.isElement(r)&&`${r.type}`.endsWith("-list")){const t=at.previous(e,{at:o}),[n,r]=at.parent(e,o);if(!t&&"list-item"===n.type){const t=at.previous(e,{at:r});sl(e,o,t),Xt.removeNodes(e,{at:r})}}},e}(function(e){const{isInline:t,isVoid:n,normalizeNode:r}=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),e.normalizeNode=t=>{const[n,o]=t;Ze.isElement(n)&&"link"===n.type&&""===nt.string(n)?Xt.removeNodes(e,{at:o}):r(t)},void 0===e.keyDownHandlers&&(e.keyDownHandlers=[]),e.keyDownHandlers.push((e,t)=>Dl(e,t)),e}(Cn()))))))),[]),m=[Ya()];let g=d();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=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[y,E]=(0,e.useState)(t.value?function(e,{voidCodeBlock:t,remarkPlugins:n=[]}={}){const r=Gu(e,n);return Ol()().use($l).use(au,{voidCodeBlock:t}).runSync(r).children}(t.value,{voidCodeBlock:!!v,remarkPlugins:f()}):m),b=(0,e.useCallback)(e=>(0,l.jsx)(Qs,vc({},e,{classNameWrapper:o,codeBlockComponent:v})),[]),C=(0,e.useCallback)(e=>(0,l.jsx)(Xs,e),[]);function T(e){for(const t of h.keyDownHandlers||[])if(!1===t(e,h))break;ai.focus(h)}function k(){ai.focus(h),Xt.select(h,{path:[0,0],offset:0}),Xt.select(h,at.end(h,[]))}(0,e.useEffect)(()=>{t.pendingFocus&&(ai.focus(h),t.pendingFocus())},[t.pendingFocus]);const[A,x]=(0,e.useState)(0);return(0,l.jsx)("div",{css:bc},(0,l.jsx)(xa,{editor:h,value:y,initialValue:y,onChange:function(e){ts()(e,y)||(E(()=>e),p(qu(e,{voidCodeBlock:!!v,remarkPlugins:f()}))),x(e=>e+1)}},(0,l.jsx)(ja,null,(0,l.jsx)(Va,{key:A,onMarkClick:function(e){ai.focus(h),Cl(h,"strikethrough"===e?"delete":e)},onBlockClick:function(e){ai.focus(h),e.endsWith("-list")?h.toggleList(e):h.toggleBlock(e)},onLinkClick:function(){Al(h,u("editor.editorWidgets.markdown.linkPrompt")),ai.focus(h)},onToggleMode:function(){t.onMode("raw")},plugins:g,onSubmit:function(e){$u(h,e)},onAddAsset:n,getAsset:r,buttons:i.get("buttons"),editorComponents:i.get("editor_components"),hasMark:function(e){return bl(h,e)},hasInline:function(e){return"link"==e&&!!kl(h)},hasBlock:function(e){return pl(h,e)},hasQuote:function(){return pl(h,"quote")},hasListItems:function(e){return pl(h,e)},isShowModeToggle:s,t:u,disabled:c})),(0,l.jsx)(l.ClassNames,null,({css:e,cx:t})=>(0,l.jsx)("div",{className:t(o,e`
|
|
5
|
+
${yc({minimal:i.get("minimal")})}
|
|
6
6
|
`)},0!==y.length&&(0,l.jsx)(ha,{className:e`
|
|
7
7
|
padding: 16px 20px 0;
|
|
8
|
-
`,renderElement:b,renderLeaf:C,onKeyDown:T,autoFocus:!1}),(0,l.jsx)(yc,{onClick:k})))))}bc.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 Cc=bc,Tc="cms.md-mode";let kc,Ac=()=>(0,a.Map)();function xc(){return Ac()}class Dc extends t().Component{static 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};static defaultProps={value:""};constructor(e){super(e),kc=e.editorControl;const t=localStorage.getItem(Tc)??"rich_text";Ac=e.getEditorComponents,this.state={mode:-1!==this.getAllowedModes().indexOf(t)?t:this.getAllowedModes()[0],pendingFocus:!1}}componentDidMount(){r().checkPropTypes(Dc.propTypes,this.props,"prop","MarkdownControl")}handleMode=e=>{this.setState({mode:e,pendingFocus:!0}),localStorage.setItem(Tc,e)};processRef=e=>this.ref=e;setFocusReceived=()=>{this.setState({pendingFocus:!1})};getAllowedModes=()=>this.props.field.get("modes",(0,a.List)(["rich_text","raw"])).toArray();focus(){this.setState({pendingFocus:!0})}render(){const{onChange:e,onAddAsset:t,getAsset:n,value:r,classNameWrapper:o,field:i,getEditorComponents:a,getRemarkPlugins:s,resolveWidget:u,t:c,isDisabled:d}=this.props,{mode:f,pendingFocus:p}=this.state,h=this.getAllowedModes().length>1,m=(0,l.jsx)("div",{className:"cms-editor-visual",ref:this.processRef},(0,l.jsx)(Cc,{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:c,isDisabled:d})),g=(0,l.jsx)("div",{className:"cms-editor-raw",ref:this.processRef},(0,l.jsx)(Za,{onChange:e,onAddAsset:t,isShowModeToggle:h,onMode:this.handleMode,getAsset:n,className:o,value:r,field:i,pendingFocus:p&&this.setFocusReceived,t:c}));return"rich_text"===f?m:g}}const{entries:Sc,setPrototypeOf:_c,isFrozen:wc,getPrototypeOf:Oc,getOwnPropertyDescriptor:Nc}=Object;let{freeze:Pc,seal:Rc,create:Bc}=Object,{apply:Fc,construct:Ic}="undefined"!=typeof Reflect&&Reflect;Pc||(Pc=function(e){return e}),Rc||(Rc=function(e){return e}),Fc||(Fc=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),Ic||(Ic=function(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 new e(...n)});const Mc=Jc(Array.prototype.forEach),Lc=Jc(Array.prototype.lastIndexOf),jc=Jc(Array.prototype.pop),Hc=Jc(Array.prototype.push),Uc=Jc(Array.prototype.splice),zc=Jc(String.prototype.toLowerCase),Gc=Jc(String.prototype.toString),Wc=Jc(String.prototype.match),Kc=Jc(String.prototype.replace),qc=Jc(String.prototype.indexOf),$c=Jc(String.prototype.trim),Vc=Jc(Object.prototype.hasOwnProperty),Yc=Jc(RegExp.prototype.test),Xc=(Qc=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ic(Qc,t)});var Qc;function Jc(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Fc(e,t,r)}}function Zc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zc;_c&&_c(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(wc(t)||(t[r]=e),o=e)}e[o]=!0}return e}function ed(e){for(let t=0;t<e.length;t++)Vc(e,t)||(e[t]=null);return e}function td(e){const t=Bc(null);for(const[n,r]of Sc(e))Vc(e,n)&&(Array.isArray(r)?t[n]=ed(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=td(r):t[n]=r);return t}function nd(e,t){for(;null!==e;){const n=Nc(e,t);if(n){if(n.get)return Jc(n.get);if("function"==typeof n.value)return Jc(n.value)}e=Oc(e)}return function(){return null}}const rd=Pc(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),od=Pc(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),id=Pc(["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"]),ad=Pc(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),sd=Pc(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ld=Pc(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ud=Pc(["#text"]),cd=Pc(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),dd=Pc(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),fd=Pc(["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"]),pd=Pc(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),hd=Rc(/\{\{[\w\W]*|[\w\W]*\}\}/gm),md=Rc(/<%[\w\W]*|[\w\W]*%>/gm),gd=Rc(/\$\{[\w\W]*/gm),vd=Rc(/^data-[\-\w.\u00B7-\uFFFF]+$/),yd=Rc(/^aria-[\-\w]+$/),Ed=Rc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bd=Rc(/^(?:\w+script|data):/i),Cd=Rc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Td=Rc(/^html$/i),kd=Rc(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ad=Object.freeze({__proto__:null,ARIA_ATTR:yd,ATTR_WHITESPACE:Cd,CUSTOM_ELEMENT:kd,DATA_ATTR:vd,DOCTYPE_NAME:Td,ERB_EXPR:md,IS_ALLOWED_URI:Ed,IS_SCRIPT_OR_DATA:bd,MUSTACHE_EXPR:hd,TMPLIT_EXPR:gd});const xd=function(){return"undefined"==typeof window?null:window};var Dd=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xd();const n=t=>e(t);if(n.version="3.3.3",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const o=r,i=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:c,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:h}=t,m=u.prototype,g=nd(m,"cloneNode"),v=nd(m,"remove"),y=nd(m,"nextSibling"),E=nd(m,"childNodes"),b=nd(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let C,T="";const{implementation:k,createNodeIterator:A,createDocumentFragment:x,getElementsByTagName:D}=r,{importNode:S}=o;let _={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Sc&&"function"==typeof b&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:w,ERB_EXPR:O,TMPLIT_EXPR:N,DATA_ATTR:P,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:B,ATTR_WHITESPACE:F,CUSTOM_ELEMENT:I}=Ad;let{IS_ALLOWED_URI:M}=Ad,L=null;const j=Zc({},[...rd,...od,...id,...sd,...ud]);let H=null;const U=Zc({},[...cd,...dd,...fd,...pd]);let z=Object.seal(Bc(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}})),G=null,W=null;const K=Object.seal(Bc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,$=!0,V=!1,Y=!0,X=!1,Q=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,oe=!0,ie=!1,ae=!0,se=!1,le={},ue=null;const ce=Zc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const fe=Zc({},["audio","video","img","source","image","track"]);let pe=null;const he=Zc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let ye=ve,Ee=!1,be=null;const Ce=Zc({},[me,ge,ve],Gc);let Te=Zc({},["mi","mo","mn","ms","mtext"]),ke=Zc({},["annotation-xml"]);const Ae=Zc({},["title","style","font","a","script"]);let xe=null;const De=["application/xhtml+xml","text/html"];let Se=null,_e=null;const we=r.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_e||_e!==e){if(e&&"object"==typeof e||(e={}),e=td(e),xe=-1===De.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Se="application/xhtml+xml"===xe?Gc:zc,L=Vc(e,"ALLOWED_TAGS")?Zc({},e.ALLOWED_TAGS,Se):j,H=Vc(e,"ALLOWED_ATTR")?Zc({},e.ALLOWED_ATTR,Se):U,be=Vc(e,"ALLOWED_NAMESPACES")?Zc({},e.ALLOWED_NAMESPACES,Gc):Ce,pe=Vc(e,"ADD_URI_SAFE_ATTR")?Zc(td(he),e.ADD_URI_SAFE_ATTR,Se):he,de=Vc(e,"ADD_DATA_URI_TAGS")?Zc(td(fe),e.ADD_DATA_URI_TAGS,Se):fe,ue=Vc(e,"FORBID_CONTENTS")?Zc({},e.FORBID_CONTENTS,Se):ce,G=Vc(e,"FORBID_TAGS")?Zc({},e.FORBID_TAGS,Se):td({}),W=Vc(e,"FORBID_ATTR")?Zc({},e.FORBID_ATTR,Se):td({}),le=!!Vc(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,M=e.ALLOWED_URI_REGEXP||Ed,ye=e.NAMESPACE||ve,Te=e.MATHML_TEXT_INTEGRATION_POINTS||Te,ke=e.HTML_INTEGRATION_POINTS||ke,z=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&($=!1),ne&&(te=!0),le&&(L=Zc({},ud),H=Bc(null),!0===le.html&&(Zc(L,rd),Zc(H,cd)),!0===le.svg&&(Zc(L,od),Zc(H,dd),Zc(H,pd)),!0===le.svgFilters&&(Zc(L,id),Zc(H,dd),Zc(H,pd)),!0===le.mathMl&&(Zc(L,sd),Zc(H,fd),Zc(H,pd))),Vc(e,"ADD_TAGS")||(K.tagCheck=null),Vc(e,"ADD_ATTR")||(K.attributeCheck=null),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?K.tagCheck=e.ADD_TAGS:(L===j&&(L=td(L)),Zc(L,e.ADD_TAGS,Se))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?K.attributeCheck=e.ADD_ATTR:(H===U&&(H=td(H)),Zc(H,e.ADD_ATTR,Se))),e.ADD_URI_SAFE_ATTR&&Zc(pe,e.ADD_URI_SAFE_ATTR,Se),e.FORBID_CONTENTS&&(ue===ce&&(ue=td(ue)),Zc(ue,e.FORBID_CONTENTS,Se)),e.ADD_FORBID_CONTENTS&&(ue===ce&&(ue=td(ue)),Zc(ue,e.ADD_FORBID_CONTENTS,Se)),ae&&(L["#text"]=!0),J&&Zc(L,["html","head","body"]),L.table&&(Zc(L,["tbody"]),delete G.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Xc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Xc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');C=e.TRUSTED_TYPES_POLICY,T=C.createHTML("")}else void 0===C&&(C=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(h,i)),null!==C&&"string"==typeof T&&(T=C.createHTML(""));Pc&&Pc(e),_e=e}},Pe=Zc({},[...od,...id,...ad]),Re=Zc({},[...sd,...ld]),Be=function(e){Hc(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){v(e)}},Fe=function(e,t){try{Hc(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Hc(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Be(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Wc(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===xe&&ye===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=C?C.createHTML(e):e;if(ye===ve)try{t=(new p).parseFromString(o,xe)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(ye,"template",null);try{t.documentElement.innerHTML=Ee?T:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ye===ve?D.call(t,J?"html":"body")[0]:J?t.documentElement:i},Me=function(e){return A.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},je=function(e){return"function"==typeof l&&e instanceof l};function He(e,t,r){Mc(e,e=>{e.call(n,t,r,_e)})}const Ue=function(e){let t=null;if(He(_.beforeSanitizeElements,e,null),Le(e))return Be(e),!0;const r=Se(e.nodeName);if(He(_.uponSanitizeElement,e,{tagName:r,allowedTags:L}),Q&&e.hasChildNodes()&&!je(e.firstElementChild)&&Yc(/<[/\w!]/g,e.innerHTML)&&Yc(/<[/\w!]/g,e.textContent))return Be(e),!0;if(7===e.nodeType)return Be(e),!0;if(Q&&8===e.nodeType&&Yc(/<[/\w]/g,e.data))return Be(e),!0;if(!(K.tagCheck instanceof Function&&K.tagCheck(r))&&(!L[r]||G[r])){if(!G[r]&&Ge(r)){if(z.tagNameCheck instanceof RegExp&&Yc(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(ae&&!ue[r]){const t=b(e)||e.parentNode,n=E(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const o=g(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,y(e))}}return Be(e),!0}return e instanceof u&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=zc(e.tagName),r=zc(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||Te[r]):Boolean(Pe[n]):e.namespaceURI===me?t.namespaceURI===ve?"math"===n:t.namespaceURI===ge?"math"===n&&ke[r]:Boolean(Re[n]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!ke[r])&&!(t.namespaceURI===me&&!Te[r])&&!Re[n]&&(Ae[n]||!Pe[n]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)?(Be(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Yc(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,Mc([w,O,N],e=>{t=Kc(t,e," ")}),e.textContent!==t&&(Hc(n.removed,{element:e.cloneNode()}),e.textContent=t)),He(_.afterSanitizeElements,e,null),!1):(Be(e),!0)},ze=function(e,t,n){if(W[t])return!1;if(oe&&("id"===t||"name"===t)&&(n in r||n in we))return!1;if($&&!W[t]&&Yc(P,t));else if(q&&Yc(R,t));else if(K.attributeCheck instanceof Function&&K.attributeCheck(t,e));else if(!H[t]||W[t]){if(!(Ge(e)&&(z.tagNameCheck instanceof RegExp&&Yc(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&Yc(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t,e))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Yc(z.tagNameCheck,n)||z.tagNameCheck instanceof Function&&z.tagNameCheck(n))))return!1}else if(pe[t]);else if(Yc(M,Kc(n,F,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==qc(n,"data:")||!de[e])if(V&&!Yc(B,Kc(n,F,"")));else if(n)return!1;return!0},Ge=function(e){return"annotation-xml"!==e&&Wc(e,I)},We=function(e){He(_.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:s,value:l}=i,u=Se(a),c=l;let d="value"===a?c:$c(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,He(_.uponSanitizeAttribute,e,r),d=r.attrValue,!ie||"id"!==u&&"name"!==u||(Fe(a,e),d="user-content-"+d),Q&&Yc(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Fe(a,e);continue}if("attributename"===u&&Wc(d,"href")){Fe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Fe(a,e);continue}if(!Y&&Yc(/\/>/i,d)){Fe(a,e);continue}X&&Mc([w,O,N],e=>{d=Kc(d,e," ")});const f=Se(e.nodeName);if(ze(f,u,d)){if(C&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(s);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=C.createHTML(d);break;case"TrustedScriptURL":d=C.createScriptURL(d)}if(d!==c)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Le(e)?Be(e):jc(n.removed)}catch(t){Fe(a,e)}}else Fe(a,e)}He(_.afterSanitizeAttributes,e,null)},Ke=function e(t){let n=null;const r=Me(t);for(He(_.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)He(_.uponSanitizeShadowNode,n,null),Ue(n),We(n),n.content instanceof a&&e(n.content);He(_.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,u=null;if(Ee=!e,Ee&&(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw Xc("toString is not a function");if("string"!=typeof(e=e.toString()))throw Xc("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ne(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Se(e.nodeName);if(!L[t]||G[t])throw Xc("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ie("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return C&&re?C.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?T:""}r&&ee&&Be(r.firstChild);const c=Me(se?e:r);for(;s=c.nextNode();)Ue(s),We(s),s.content instanceof a&&Ke(s.content);if(se)return e;if(te){if(ne)for(u=x.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(H.shadowroot||H.shadowrootmode)&&(u=S.call(o,u,!0)),u}let d=J?r.outerHTML:r.innerHTML;return J&&L["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Yc(Td,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&Mc([w,O,N],e=>{d=Kc(d,e," ")}),C&&re?C.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){_e=null,Z=!1},n.isValidAttribute=function(e,t,n){_e||Ne({});const r=Se(e),o=Se(t);return ze(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&Hc(_[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Lc(_[e],t);return-1===n?void 0:Uc(_[e],n,1)[0]}return jc(_[e])},n.removeHooks=function(e){_[e]=[]},n.removeAllHooks=function(){_={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();class Sd extends t().Component{static propTypes={getAsset:r().func.isRequired,resolveWidget:r().func.isRequired,value:r().string};componentDidMount(){r().checkPropTypes(Sd.propTypes,this.props,"prop","MarkdownPreview")}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=Gu(e,r),i=Ol()().use(ql,{plugins:xc(),getAsset:t,resolveWidget:n}).use(Ll(),{allowDangerousHTML:!0}).runSync(o);return Ol()().use(Hl(),{allowDangerousHtml:!0,allowDangerousCharacters:!0,closeSelfClosing:!0,entities:{useNamedReferences:!0}}).stringify(i)}(e,{getAsset:t,resolveWidget:n},o?.()),a=r?.get("sanitize_preview",!1)?Dd.sanitize(i):i;return(0,l.jsx)(P.WidgetPreviewContainer,{dangerouslySetInnerHTML:{__html:a}})}}const _d=Sd,wd={properties:{minimal:{type:"boolean"},buttons:{type:"array",items:{type:"string",enum:["bold","italic","strikethrough","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}}},Od={Widget:function(e={}){return{name:"markdown",controlComponent:Dc,previewComponent:_d,schema:wd,...e}},controlComponent:Dc,previewComponent:Sd}})(),c.DecapCmsWidgetMarkdown})());
|
|
8
|
+
`,renderElement:b,renderLeaf:C,onKeyDown:T,autoFocus:!1}),(0,l.jsx)(Ec,{onClick:k})))))}Cc.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 Tc=Cc,kc="cms.md-mode";let Ac,xc=()=>(0,a.Map)();function Dc(){return xc()}class Sc extends t().Component{static 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};static defaultProps={value:""};constructor(e){super(e),Ac=e.editorControl;const t=localStorage.getItem(kc)??"rich_text";xc=e.getEditorComponents,this.state={mode:e.isEditorComponent?"raw":-1!==this.getAllowedModes().indexOf(t)?t:this.getAllowedModes()[0],pendingFocus:!1}}componentDidMount(){r().checkPropTypes(Sc.propTypes,this.props,"prop","MarkdownControl"),this.props.isEditorComponent&&"raw"!==this.state.mode&&this.setState({mode:"raw"})}handleMode=e=>{this.setState({mode:e,pendingFocus:!0}),localStorage.setItem(kc,e)};processRef=e=>this.ref=e;setFocusReceived=()=>{this.setState({pendingFocus:!1})};getAllowedModes=()=>this.props.field.get("modes",(0,a.List)(["rich_text","raw"])).toArray();focus(){this.setState({pendingFocus:!0})}render(){const{onChange:e,onAddAsset:t,getAsset:n,value:r,classNameWrapper:o,field:i,getEditorComponents:a,getRemarkPlugins:s,resolveWidget:u,t:c,isDisabled:d}=this.props,{mode:f,pendingFocus:p}=this.state,h=this.props.isEditorComponent,m=this.getAllowedModes().length>1&&!h,g=(0,l.jsx)("div",{className:"cms-editor-visual",ref:this.processRef},(0,l.jsx)(Tc,{onChange:e,onAddAsset:t,isShowModeToggle:m,onMode:this.handleMode,getAsset:n,className:o,value:r,field:i,getEditorComponents:a,getRemarkPlugins:s,resolveWidget:u,pendingFocus:p&&this.setFocusReceived,t:c,isDisabled:d})),v=(0,l.jsx)("div",{className:"cms-editor-raw",ref:this.processRef},(0,l.jsx)(Za,{onChange:e,onAddAsset:t,isShowModeToggle:m,onMode:this.handleMode,getAsset:n,className:o,value:r,field:i,pendingFocus:p&&this.setFocusReceived,t:c}));return"rich_text"===f?g:v}}const{entries:_c,setPrototypeOf:wc,isFrozen:Oc,getPrototypeOf:Nc,getOwnPropertyDescriptor:Pc}=Object;let{freeze:Rc,seal:Bc,create:Fc}=Object,{apply:Ic,construct:Mc}="undefined"!=typeof Reflect&&Reflect;Rc||(Rc=function(e){return e}),Bc||(Bc=function(e){return e}),Ic||(Ic=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),Mc||(Mc=function(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 new e(...n)});const Lc=Zc(Array.prototype.forEach),jc=Zc(Array.prototype.lastIndexOf),Hc=Zc(Array.prototype.pop),Uc=Zc(Array.prototype.push),zc=Zc(Array.prototype.splice),Gc=Zc(String.prototype.toLowerCase),Wc=Zc(String.prototype.toString),Kc=Zc(String.prototype.match),qc=Zc(String.prototype.replace),$c=Zc(String.prototype.indexOf),Vc=Zc(String.prototype.trim),Yc=Zc(Object.prototype.hasOwnProperty),Xc=Zc(RegExp.prototype.test),Qc=(Jc=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Mc(Jc,t)});var Jc;function Zc(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Ic(e,t,r)}}function ed(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Gc;wc&&wc(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(Oc(t)||(t[r]=e),o=e)}e[o]=!0}return e}function td(e){for(let t=0;t<e.length;t++)Yc(e,t)||(e[t]=null);return e}function nd(e){const t=Fc(null);for(const[n,r]of _c(e))Yc(e,n)&&(Array.isArray(r)?t[n]=td(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=nd(r):t[n]=r);return t}function rd(e,t){for(;null!==e;){const n=Pc(e,t);if(n){if(n.get)return Zc(n.get);if("function"==typeof n.value)return Zc(n.value)}e=Nc(e)}return function(){return null}}const od=Rc(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),id=Rc(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ad=Rc(["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"]),sd=Rc(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ld=Rc(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ud=Rc(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),cd=Rc(["#text"]),dd=Rc(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),fd=Rc(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),pd=Rc(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),hd=Rc(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),md=Bc(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gd=Bc(/<%[\w\W]*|[\w\W]*%>/gm),vd=Bc(/\$\{[\w\W]*/gm),yd=Bc(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ed=Bc(/^aria-[\-\w]+$/),bd=Bc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Cd=Bc(/^(?:\w+script|data):/i),Td=Bc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),kd=Bc(/^html$/i),Ad=Bc(/^[a-z][.\w]*(-[.\w]+)+$/i);var xd=Object.freeze({__proto__:null,ARIA_ATTR:Ed,ATTR_WHITESPACE:Td,CUSTOM_ELEMENT:Ad,DATA_ATTR:yd,DOCTYPE_NAME:kd,ERB_EXPR:gd,IS_ALLOWED_URI:bd,IS_SCRIPT_OR_DATA:Cd,MUSTACHE_EXPR:md,TMPLIT_EXPR:vd});const Dd=function(){return"undefined"==typeof window?null:window};var Sd=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dd();const n=t=>e(t);if(n.version="3.4.0",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const o=r,i=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:c,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:h}=t,m=u.prototype,g=rd(m,"cloneNode"),v=rd(m,"remove"),y=rd(m,"nextSibling"),E=rd(m,"childNodes"),b=rd(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let C,T="";const{implementation:k,createNodeIterator:A,createDocumentFragment:x,getElementsByTagName:D}=r,{importNode:S}=o;let _={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof _c&&"function"==typeof b&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:w,ERB_EXPR:O,TMPLIT_EXPR:N,DATA_ATTR:P,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:B,ATTR_WHITESPACE:F,CUSTOM_ELEMENT:I}=xd;let{IS_ALLOWED_URI:M}=xd,L=null;const j=ed({},[...od,...id,...ad,...ld,...cd]);let H=null;const U=ed({},[...dd,...fd,...pd,...hd]);let z=Object.seal(Fc(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}})),G=null,W=null;const K=Object.seal(Fc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,$=!0,V=!1,Y=!0,X=!1,Q=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,oe=!0,ie=!1,ae=!0,se=!1,le={},ue=null;const ce=ed({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const fe=ed({},["audio","video","img","source","image","track"]);let pe=null;const he=ed({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let ye=ve,Ee=!1,be=null;const Ce=ed({},[me,ge,ve],Wc);let Te=ed({},["mi","mo","mn","ms","mtext"]),ke=ed({},["annotation-xml"]);const Ae=ed({},["title","style","font","a","script"]);let xe=null;const De=["application/xhtml+xml","text/html"];let Se=null,_e=null;const we=r.createElement("form"),Oe=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_e||_e!==e){if(e&&"object"==typeof e||(e={}),e=nd(e),xe=-1===De.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Se="application/xhtml+xml"===xe?Wc:Gc,L=Yc(e,"ALLOWED_TAGS")?ed({},e.ALLOWED_TAGS,Se):j,H=Yc(e,"ALLOWED_ATTR")?ed({},e.ALLOWED_ATTR,Se):U,be=Yc(e,"ALLOWED_NAMESPACES")?ed({},e.ALLOWED_NAMESPACES,Wc):Ce,pe=Yc(e,"ADD_URI_SAFE_ATTR")?ed(nd(he),e.ADD_URI_SAFE_ATTR,Se):he,de=Yc(e,"ADD_DATA_URI_TAGS")?ed(nd(fe),e.ADD_DATA_URI_TAGS,Se):fe,ue=Yc(e,"FORBID_CONTENTS")?ed({},e.FORBID_CONTENTS,Se):ce,G=Yc(e,"FORBID_TAGS")?ed({},e.FORBID_TAGS,Se):nd({}),W=Yc(e,"FORBID_ATTR")?ed({},e.FORBID_ATTR,Se):nd({}),le=!!Yc(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,M=e.ALLOWED_URI_REGEXP||bd,ye=e.NAMESPACE||ve,Te=e.MATHML_TEXT_INTEGRATION_POINTS||Te,ke=e.HTML_INTEGRATION_POINTS||ke,z=e.CUSTOM_ELEMENT_HANDLING||Fc(null),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(z.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Oe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(z.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(z.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&($=!1),ne&&(te=!0),le&&(L=ed({},cd),H=Fc(null),!0===le.html&&(ed(L,od),ed(H,dd)),!0===le.svg&&(ed(L,id),ed(H,fd),ed(H,hd)),!0===le.svgFilters&&(ed(L,ad),ed(H,fd),ed(H,hd)),!0===le.mathMl&&(ed(L,ld),ed(H,pd),ed(H,hd))),K.tagCheck=null,K.attributeCheck=null,e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?K.tagCheck=e.ADD_TAGS:(L===j&&(L=nd(L)),ed(L,e.ADD_TAGS,Se))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?K.attributeCheck=e.ADD_ATTR:(H===U&&(H=nd(H)),ed(H,e.ADD_ATTR,Se))),e.ADD_URI_SAFE_ATTR&&ed(pe,e.ADD_URI_SAFE_ATTR,Se),e.FORBID_CONTENTS&&(ue===ce&&(ue=nd(ue)),ed(ue,e.FORBID_CONTENTS,Se)),e.ADD_FORBID_CONTENTS&&(ue===ce&&(ue=nd(ue)),ed(ue,e.ADD_FORBID_CONTENTS,Se)),ae&&(L["#text"]=!0),J&&ed(L,["html","head","body"]),L.table&&(ed(L,["tbody"]),delete G.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Qc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Qc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');C=e.TRUSTED_TYPES_POLICY,T=C.createHTML("")}else void 0===C&&(C=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(h,i)),null!==C&&"string"==typeof T&&(T=C.createHTML(""));Rc&&Rc(e),_e=e}},Pe=ed({},[...id,...ad,...sd]),Re=ed({},[...ld,...ud]),Be=function(e){Uc(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){v(e)}},Fe=function(e,t){try{Uc(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Uc(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Be(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Kc(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===xe&&ye===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=C?C.createHTML(e):e;if(ye===ve)try{t=(new p).parseFromString(o,xe)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(ye,"template",null);try{t.documentElement.innerHTML=Ee?T:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ye===ve?D.call(t,J?"html":"body")[0]:J?t.documentElement:i},Me=function(e){return A.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},je=function(e){return"function"==typeof l&&e instanceof l};function He(e,t,r){Lc(e,e=>{e.call(n,t,r,_e)})}const Ue=function(e){let t=null;if(He(_.beforeSanitizeElements,e,null),Le(e))return Be(e),!0;const r=Se(e.nodeName);if(He(_.uponSanitizeElement,e,{tagName:r,allowedTags:L}),Q&&e.hasChildNodes()&&!je(e.firstElementChild)&&Xc(/<[/\w!]/g,e.innerHTML)&&Xc(/<[/\w!]/g,e.textContent))return Be(e),!0;if(Q&&e.namespaceURI===ve&&"style"===r&&je(e.firstElementChild))return Be(e),!0;if(7===e.nodeType)return Be(e),!0;if(Q&&8===e.nodeType&&Xc(/<[/\w]/g,e.data))return Be(e),!0;if(G[r]||!(K.tagCheck instanceof Function&&K.tagCheck(r))&&!L[r]){if(!G[r]&&Ge(r)){if(z.tagNameCheck instanceof RegExp&&Xc(z.tagNameCheck,r))return!1;if(z.tagNameCheck instanceof Function&&z.tagNameCheck(r))return!1}if(ae&&!ue[r]){const t=b(e)||e.parentNode,n=E(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const o=g(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,y(e))}}return Be(e),!0}return e instanceof u&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=Gc(e.tagName),r=Gc(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||Te[r]):Boolean(Pe[n]):e.namespaceURI===me?t.namespaceURI===ve?"math"===n:t.namespaceURI===ge?"math"===n&&ke[r]:Boolean(Re[n]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!ke[r])&&!(t.namespaceURI===me&&!Te[r])&&!Re[n]&&(Ae[n]||!Pe[n]):!("application/xhtml+xml"!==xe||!be[e.namespaceURI]))}(e)?(Be(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Xc(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,Lc([w,O,N],e=>{t=qc(t,e," ")}),e.textContent!==t&&(Uc(n.removed,{element:e.cloneNode()}),e.textContent=t)),He(_.afterSanitizeElements,e,null),!1):(Be(e),!0)},ze=function(e,t,n){if(W[t])return!1;if(oe&&("id"===t||"name"===t)&&(n in r||n in we))return!1;if($&&!W[t]&&Xc(P,t));else if(q&&Xc(R,t));else if(K.attributeCheck instanceof Function&&K.attributeCheck(t,e));else if(!H[t]||W[t]){if(!(Ge(e)&&(z.tagNameCheck instanceof RegExp&&Xc(z.tagNameCheck,e)||z.tagNameCheck instanceof Function&&z.tagNameCheck(e))&&(z.attributeNameCheck instanceof RegExp&&Xc(z.attributeNameCheck,t)||z.attributeNameCheck instanceof Function&&z.attributeNameCheck(t,e))||"is"===t&&z.allowCustomizedBuiltInElements&&(z.tagNameCheck instanceof RegExp&&Xc(z.tagNameCheck,n)||z.tagNameCheck instanceof Function&&z.tagNameCheck(n))))return!1}else if(pe[t]);else if(Xc(M,qc(n,F,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==$c(n,"data:")||!de[e])if(V&&!Xc(B,qc(n,F,"")));else if(n)return!1;return!0},Ge=function(e){return"annotation-xml"!==e&&Kc(e,I)},We=function(e){He(_.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:s,value:l}=i,u=Se(a),c=l;let d="value"===a?c:Vc(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,He(_.uponSanitizeAttribute,e,r),d=r.attrValue,!ie||"id"!==u&&"name"!==u||(Fe(a,e),d="user-content-"+d),Q&&Xc(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){Fe(a,e);continue}if("attributename"===u&&Kc(d,"href")){Fe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Fe(a,e);continue}if(!Y&&Xc(/\/>/i,d)){Fe(a,e);continue}X&&Lc([w,O,N],e=>{d=qc(d,e," ")});const f=Se(e.nodeName);if(ze(f,u,d)){if(C&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(s);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=C.createHTML(d);break;case"TrustedScriptURL":d=C.createScriptURL(d)}if(d!==c)try{s?e.setAttributeNS(s,a,d):e.setAttribute(a,d),Le(e)?Be(e):Hc(n.removed)}catch(t){Fe(a,e)}}else Fe(a,e)}He(_.afterSanitizeAttributes,e,null)},Ke=function(e){let t=null;const n=Me(e);for(He(_.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)He(_.uponSanitizeShadowNode,t,null),Ue(t),We(t),t.content instanceof a&&Ke(t.content);He(_.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,u=null;if(Ee=!e,Ee&&(e="\x3c!--\x3e"),"string"!=typeof e&&!je(e)){if("function"!=typeof e.toString)throw Qc("toString is not a function");if("string"!=typeof(e=e.toString()))throw Qc("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ne(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Se(e.nodeName);if(!L[t]||G[t])throw Qc("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ie("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return C&&re?C.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?T:""}r&&ee&&Be(r.firstChild);const c=Me(se?e:r);for(;s=c.nextNode();)Ue(s),We(s),s.content instanceof a&&Ke(s.content);if(se)return e;if(te){if(X){r.normalize();let e=r.innerHTML;Lc([w,O,N],t=>{e=qc(e,t," ")}),r.innerHTML=e}if(ne)for(u=x.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(H.shadowroot||H.shadowrootmode)&&(u=S.call(o,u,!0)),u}let d=J?r.outerHTML:r.innerHTML;return J&&L["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Xc(kd,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&Lc([w,O,N],e=>{d=qc(d,e," ")}),C&&re?C.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){_e=null,Z=!1},n.isValidAttribute=function(e,t,n){_e||Ne({});const r=Se(e),o=Se(t);return ze(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&Uc(_[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=jc(_[e],t);return-1===n?void 0:zc(_[e],n,1)[0]}return Hc(_[e])},n.removeHooks=function(e){_[e]=[]},n.removeAllHooks=function(){_={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();class _d extends t().Component{static propTypes={getAsset:r().func.isRequired,resolveWidget:r().func.isRequired,value:r().string};componentDidMount(){r().checkPropTypes(_d.propTypes,this.props,"prop","MarkdownPreview")}render(){const{value:e,getAsset:t,resolveWidget:n,field:r,getRemarkPlugins:o}=this.props;if(null===e)return null;const i=Ku(e,{getAsset:t,resolveWidget:n},o?.()),a=r?.get("sanitize_preview",!1)?Sd.sanitize(i):i;return(0,l.jsx)(P.WidgetPreviewContainer,{dangerouslySetInnerHTML:{__html:a}})}}const wd=_d,Od={properties:{minimal:{type:"boolean"},buttons:{type:"array",items:{type:"string",enum:["bold","italic","strikethrough","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}}},Nd={Widget:function(e={}){return{name:"markdown",controlComponent:Sc,previewComponent:wd,schema:Od,...e}},controlComponent:Sc,previewComponent:_d}})(),c.DecapCmsWidgetMarkdown})());
|
|
9
9
|
//# sourceMappingURL=decap-cms-widget-markdown.js.map
|