imio.smartweb.core 1.2.43__py3-none-any.whl → 1.2.45__py3-none-any.whl
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.
- imio/smartweb/core/behaviors/categorization.py +24 -0
- imio/smartweb/core/behaviors/configure.zcml +7 -0
- imio/smartweb/core/browser/static/smartweb-edit-compiled.css +1 -1
- imio/smartweb/core/browser/static/src/edit.less +42 -0
- imio/smartweb/core/contents/pages/cirkwi/content.py +5 -0
- imio/smartweb/core/contents/pages/cirkwi/view.py +2 -1
- imio/smartweb/core/contents/rest/events/endpoint.py +1 -0
- imio/smartweb/core/contents/rest/events/view.pt +2 -1
- imio/smartweb/core/contents/rest/events/view.py +4 -0
- imio/smartweb/core/contents/rest/news/endpoint.py +1 -0
- imio/smartweb/core/contents/rest/news/view.pt +2 -1
- imio/smartweb/core/contents/rest/news/view.py +4 -0
- imio/smartweb/core/contents/sections/configure.zcml +1 -1
- imio/smartweb/core/contents/sections/events/view.py +11 -1
- imio/smartweb/core/contents/sections/macros.pt +3 -2
- imio/smartweb/core/contents/sections/news/view.py +11 -1
- imio/smartweb/core/contents/sections/views.py +8 -7
- imio/smartweb/core/profiles/default/metadata.xml +1 -1
- imio/smartweb/core/profiles/default/types/imio.smartweb.EventsView.xml +1 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.NewsView.xml +1 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.SectionEvents.xml +1 -0
- imio/smartweb/core/profiles/default/types/imio.smartweb.SectionNews.xml +1 -0
- imio/smartweb/core/tests/resources/json_rest_events.json +2 -1
- imio/smartweb/core/tests/resources/json_rest_news.json +2 -2
- imio/smartweb/core/tests/resources/json_rest_specific_events.json +1 -1
- imio/smartweb/core/tests/test_htmx_in_sections.py +10 -3
- imio/smartweb/core/tests/test_rest.py +36 -0
- imio/smartweb/core/tests/test_section_events.py +27 -5
- imio/smartweb/core/tests/test_section_news.py +16 -3
- imio/smartweb/core/tests/test_vocabularies.py +3 -0
- imio/smartweb/core/upgrades/configure.zcml +18 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.EventsView.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.NewsView.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionEvents.xml +11 -0
- imio/smartweb/core/upgrades/profiles/1056_to_1057/types/imio.smartweb.SectionNews.xml +11 -0
- imio/smartweb/core/utils.py +0 -23
- imio/smartweb/core/vocabularies.py +17 -0
- imio/smartweb/core/vocabularies.zcml +6 -0
- imio/smartweb/core/webcomponents/build/css/373.smartweb-webcomponents-compiled.css +1 -1
- imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/218.smartweb-webcomponents-compiled.js.LICENSE.txt +1 -1
- imio/smartweb/core/webcomponents/build/js/373.smartweb-webcomponents-compiled.js +2 -1
- imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js.LICENSE.txt → 373.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -4
- imio/smartweb/core/webcomponents/build/js/486.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/499.smartweb-webcomponents-compiled.js +2 -0
- imio/smartweb/core/webcomponents/build/js/686.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/736.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/736.smartweb-webcomponents-compiled.js.LICENSE.txt +3 -3
- imio/smartweb/core/webcomponents/build/js/919.smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/build/js/{568.smartweb-webcomponents-compiled.js → 963.smartweb-webcomponents-compiled.js} +2 -2
- imio/smartweb/core/webcomponents/build/js/963.smartweb-webcomponents-compiled.js.LICENSE.txt +3 -0
- imio/smartweb/core/webcomponents/build/js/smartweb-webcomponents-compiled.js +1 -1
- imio/smartweb/core/webcomponents/package.json +1 -0
- imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +265 -161
- imio/smartweb/core/webcomponents/src/components/Events/EventCard/EventCard.jsx +34 -21
- imio/smartweb/core/webcomponents/src/components/Events/EventList/EventList.jsx +2 -2
- imio/smartweb/core/webcomponents/src/components/Events/Events.jsx +2 -1
- imio/smartweb/core/webcomponents/src/components/News/News.jsx +2 -1
- imio/smartweb/core/webcomponents/src/components/News/News.scss +8 -1
- imio/smartweb/core/webcomponents/src/components/News/NewsCard/NewsCard.jsx +22 -5
- imio/smartweb/core/webcomponents/src/components/News/NewsList/NewsList.jsx +2 -2
- imio/smartweb/core/webcomponents/src/utils/Map.jsx +1 -3
- imio/smartweb/core/webcomponents/src/utils/translation.js +49 -1
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/METADATA +27 -1
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/RECORD +72 -68
- imio/smartweb/core/webcomponents/build/assets/next-react-white.819cb069ac8eec300a9db6a7707712d6.svg +0 -1
- imio/smartweb/core/webcomponents/build/f79b479fdc5c0fe0d553.svg +0 -1
- imio/smartweb/core/webcomponents/build/js/496.smartweb-webcomponents-compiled.js +0 -2
- /imio/smartweb/core/webcomponents/build/js/{496.smartweb-webcomponents-compiled.js.LICENSE.txt → 499.smartweb-webcomponents-compiled.js.LICENSE.txt} +0 -0
- /imio.smartweb.core-1.2.43-py3.10-nspkg.pth → /imio.smartweb.core-1.2.45-py3.10-nspkg.pth +0 -0
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/LICENSE.GPL +0 -0
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/LICENSE.rst +0 -0
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/WHEEL +0 -0
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/namespace_packages.txt +0 -0
- {imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/top_level.txt +0 -0
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 496.smartweb-webcomponents-compiled.js.LICENSE.txt */
|
2
|
-
(self.webpackChunkimio_smartweb_core_webcomponents=self.webpackChunkimio_smartweb_core_webcomponents||[]).push([[496],{58295:e=>{"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},l=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||n.call(e,r)},a=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},s=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var n,t,r,o,u,c,p=arguments[0],f=1,d=arguments.length,h=!1;for("boolean"==typeof p&&(h=p,p=arguments[1]||{},f=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});f<d;++f)if(null!=(n=arguments[f]))for(t in n)r=s(p,t),p!==(o=s(n,t))&&(h&&o&&(l(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&l(r)?r:{},a(p,{name:t,newValue:e(h,c,o)})):void 0!==o&&a(p,{name:t,newValue:o}));return p}},83842:e=>{var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(s,u):u}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var p=1,f=1;function d(e){var n=e.match(t);n&&(p+=n.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:p,column:f};return function(n){return n.position=new m(e),v(),n}}function m(e){this.start=e,this.end={line:p,column:f},this.source=s.source}m.prototype.content=e;var g=[];function y(n){var t=new Error(s.source+":"+p+":"+f+": "+n);if(t.reason=n,t.filename=s.source,t.line=p,t.column=f,t.source=e,!s.silent)throw t;g.push(t)}function x(n){var t=n.exec(e);if(t){var r=t[0];return d(r),e=e.slice(r.length),t}}function v(){x(r)}function b(e){var n;for(e=e||[];n=k();)!1!==n&&e.push(n);return e}function k(){var n=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var t=2;u!=e.charAt(t)&&("*"!=e.charAt(t)||"/"!=e.charAt(t+1));)++t;if(t+=2,u===e.charAt(t-1))return y("End of comment missing");var r=e.slice(2,t-2);return f+=2,d(r),e=e.slice(t),f+=2,n({type:"comment",comment:r})}}function w(){var e=h(),t=x(o);if(t){if(k(),!x(i))return y("property missing ':'");var r=x(l),s=e({type:"declaration",property:c(t[0].replace(n,u)),value:r?c(r[0].replace(n,u)):u});return x(a),s}}return v(),function(){var e,n=[];for(b(n);e=w();)!1!==e&&(n.push(e),b(n));return n}()}},48706:(e,n,t)=>{"use strict";var r=t(25602),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,n,t){var r,i={},u=null,c=null;for(r in void 0!==t&&(u=""+t),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)l.call(n,r)&&!s.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===i[r]&&(i[r]=n[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:a.current}}n.Fragment=i,n.jsx=u,n.jsxs=u},28074:(e,n,t)=>{"use strict";e.exports=t(48706)},75681:e=>{var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ẻ:"e",ẽ:"e",ẹ:"e",ể:"e",ễ:"e",ệ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ỉ:"i",ị:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ỏ:"o",ọ:"o",ổ:"o",ỗ:"o",ộ:"o",ờ:"o",ở:"o",ỡ:"o",ớ:"o",ợ:"o",ù:"u",ú:"u",û:"u",ü:"u",ủ:"u",ụ:"u",ử:"u",ữ:"u",ự:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},t=Object.keys(n).join("|"),r=new RegExp(t,"g"),o=new RegExp(t,"");function i(e){return n[e]}var l=function(e){return e.replace(r,i)};e.exports=l,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=l},1053:function(){(function(){"use strict";var e=document.createElement("style");e.innerHTML="@keyframes pulsate{0%,to{opacity:1}50%{opacity:.2}}#spotlight{position:fixed;top:-1px;bottom:-1px;width:100%;z-index:99999;color:#fff;background-color:#000;opacity:0;overflow:hidden;-webkit-user-select:none;-ms-user-select:none;user-select:none;transition:opacity .2s ease-out;font-family:Arial,sans-serif;font-size:16px;font-weight:400;contain:strict;touch-action:none;pointer-events:none}#spotlight.show{opacity:1;transition:none;pointer-events:auto}#spotlight.white{color:#212529;background-color:#fff}#spotlight.white .spl-next,#spotlight.white .spl-page~*,#spotlight.white .spl-prev,#spotlight.white .spl-spinner{filter:invert(1)}#spotlight.white .spl-progress{background-color:rgba(0,0,0,.35)}#spotlight.white .spl-footer,#spotlight.white .spl-header{background-color:rgba(255,255,255,.65)}#spotlight.white .spl-button{background:#212529;color:#fff}.spl-footer,.spl-header{background-color:rgba(0,0,0,.45)}#spotlight .contain,#spotlight .cover{object-fit:cover;height:100%;width:100%}#spotlight .contain{object-fit:contain}#spotlight .autofit{object-fit:none;width:auto;height:auto;max-height:none;max-width:none;transition:none}.spl-scene,.spl-spinner,.spl-track{width:100%;height:100%;position:absolute}.spl-track{contain:strict}.spl-spinner{background-position:center;background-repeat:no-repeat;background-size:42px;opacity:0}.spl-spinner.spin{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCAzOCAzOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNmZmYiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2Utb3BhY2l0eT0iLjY1Ij48Y2lyY2xlIHN0cm9rZS1vcGFjaXR5PSIuMTUiIGN4PSIxOCIgY3k9IjE4IiByPSIxOCIvPjxwYXRoIGQ9Ik0zNiAxOGMwLTkuOTQtOC4wNi0xOC0xOC0xOCI+PGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGZyb209IjAgMTggMTgiIHRvPSIzNjAgMTggMTgiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9wYXRoPjwvZz48L2c+PC9zdmc+);transition:opacity .2s linear .25s;opacity:1}.spl-spinner.error{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjMyIiB3aWR0aD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTYsMUExNSwxNSwwLDEsMCwzMSwxNiwxNSwxNSwwLDAsMCwxNiwxWm0wLDJhMTMsMTMsMCwwLDEsOC40NSwzLjE0TDYuMTQsMjQuNDVBMTMsMTMsMCwwLDEsMTYsM1ptMCwyNmExMywxMywwLDAsMS04LjQ1LTMuMTRMMjUuODYsNy41NUExMywxMywwLDAsMSwxNiwyOVoiIGlkPSJiYW5fc2lnbl9jcm9zc2VkX2NpcmNsZSIvPjwvc3ZnPg==);background-size:128px;transition:none;opacity:.5}.spl-scene{transition:transform .65s cubic-bezier(.1,1,.1,1);contain:layout size;will-change:transform}.spl-pane>*{position:absolute;width:auto;height:auto;max-width:100%;max-height:100%;left:50%;top:50%;margin:0;padding:0;border:0;transform:translate(-50%,-50%) scale(1);transition:transform .65s cubic-bezier(.3,1,.3,1),opacity .65s ease;contain:layout style;will-change:transform,opacity;visibility:hidden}.spl-header,.spl-pane,.spl-progress{position:absolute;top:0}.spl-pane{width:100%;height:100%;transition:transform .65s cubic-bezier(.3,1,.3,1);contain:layout size;will-change:transform,contents}.spl-header{width:100%;height:50px;text-align:right;transform:translateY(-100px);transition:transform .35s ease;overflow:hidden;will-change:transform}#spotlight.menu .spl-footer,#spotlight.menu .spl-header,.spl-footer:hover,.spl-header:hover{transform:translateY(0)}.spl-header div{display:inline-block;vertical-align:middle;white-space:nowrap;width:50px;height:50px;opacity:.5}.spl-progress{width:100%;height:3px;background-color:rgba(255,255,255,.45);transform:translateX(-100%);transition:transform linear}.spl-footer,.spl-next,.spl-prev{position:absolute;transition:transform .35s ease;will-change:transform}.spl-footer{left:0;right:0;bottom:0;line-height:20px;padding:20px 20px 0;padding-bottom:env(safe-area-inset-bottom,0);text-align:left;font-size:15px;font-weight:400;transform:translateY(100%)}.spl-title{font-size:22px}.spl-button,.spl-description,.spl-title{margin-bottom:20px}.spl-button{display:inline-block;background:#fff;color:#000;border-radius:5px;padding:10px 20px;cursor:pointer}.spl-next,.spl-page~*,.spl-prev{background-position:center;background-repeat:no-repeat}.spl-page{float:left;width:auto;line-height:50px}.spl-page~*{background-size:21px;float:right}.spl-fullscreen{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9Ii0xIC0xIDI2IDI2IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggM0g1YTIgMiAwIDAgMC0yIDJ2M20xOCAwVjVhMiAyIDAgMCAwLTItMmgtM20wIDE4aDNhMiAyIDAgMCAwIDItMnYtM00zIDE2djNhMiAyIDAgMCAwIDIgMmgzIi8+PC9zdmc+)}.spl-fullscreen.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik04IDN2M2EyIDIgMCAwIDEtMiAySDNtMTggMGgtM2EyIDIgMCAwIDEtMi0yVjNtMCAxOHYtM2EyIDIgMCAwIDEgMi0yaDNNMyAxNmgzYTIgMiAwIDAgMSAyIDJ2MyIvPjwvc3ZnPg==)}.spl-autofit{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9Ijk2cHgiIHZpZXdCb3g9IjAgMCA5NiA5NiIgd2lkdGg9Ijk2cHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNTAgNTApIiBmaWxsPSIjZmZmIiBkPSJNNzEuMzExLDgwQzY5LjY3LDg0LjY2LDY1LjIzLDg4LDYwLDg4SDIwYy02LjYzLDAtMTItNS4zNy0xMi0xMlYzNmMwLTUuMjMsMy4zNC05LjY3LDgtMTEuMzExVjc2YzAsMi4yMSwxLjc5LDQsNCw0SDcxLjMxMSAgeiIvPjxwYXRoIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSIgZmlsbD0iI2ZmZiIgZD0iTTc2LDhIMzZjLTYuNjMsMC0xMiw1LjM3LTEyLDEydjQwYzAsNi42Myw1LjM3LDEyLDEyLDEyaDQwYzYuNjMsMCwxMi01LjM3LDEyLTEyVjIwQzg4LDEzLjM3LDgyLjYzLDgsNzYsOHogTTgwLDYwICBjMCwyLjIxLTEuNzksNC00LDRIMzZjLTIuMjEsMC00LTEuNzktNC00VjIwYzAtMi4yMSwxLjc5LTQsNC00aDQwYzIuMjEsMCw0LDEuNzksNCw0VjYweiIvPjwvc3ZnPg==)}.spl-zoom-in,.spl-zoom-out{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjgiIHgyPSIxNCIgeTE9IjExIiB5Mj0iMTEiLz48L3N2Zz4=);background-size:22px}.spl-zoom-in{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMSIgY3k9IjExIiByPSI4Ii8+PGxpbmUgeDE9IjIxIiB4Mj0iMTYuNjUiIHkxPSIyMSIgeTI9IjE2LjY1Ii8+PGxpbmUgeDE9IjExIiB4Mj0iMTEiIHkxPSI4IiB5Mj0iMTQiLz48bGluZSB4MT0iOCIgeDI9IjE0IiB5MT0iMTEiIHkyPSIxMSIvPjwvc3ZnPg==)}.spl-download{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIxNDEuNzMycHgiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDE0MS43MzIgMTQxLjczMiIgd2lkdGg9IjE0MS43MzJweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIwLjY3NCwxMjUuMTM4SDIwLjc5M3YxNi41OTRoOTkuODgxVjEyNS4xMzh6IE0xMTkuMDE5LDU4Ljc3NmMtMi41NjEtMi41NjItNi43MTYtMi41NjItOS4yNzUsMEw3Ny4yMSw5MS4zMTJWNi41NjIgICBDNzcuMjEsMi45MzYsNzQuMjY5LDAsNzAuNjQ4LDBjLTMuNjI0LDAtNi41NiwyLjkzNy02LjU2LDYuNTYzdjg0Ljc1TDMxLjk5Miw1OS4yMThjLTIuNTYyLTIuNTY0LTYuNzE1LTIuNTY0LTkuMjc3LDAgICBjLTIuNTY1LDIuNTYyLTIuNTY1LDYuNzE2LDAsOS4yNzlsNDMuMjk0LDQzLjI5M2MwLjE1LDAuMTU0LDAuMzE0LDAuMjk5LDAuNDgxLDAuNDM4YzAuMDc2LDAuMDYyLDAuMTU1LDAuMTEzLDAuMjM0LDAuMTc2ICAgYzAuMDk0LDAuMDY1LDAuMTg2LDAuMTQyLDAuMjc5LDAuMjA2YzAuMDk3LDAuMDYzLDAuMTkyLDAuMTE0LDAuMjg2LDAuMTc0YzAuMDg4LDAuMDU0LDAuMTc0LDAuMTA1LDAuMjY1LDAuMTUzICAgYzAuMSwwLjA1NiwwLjE5OSwwLjEsMC4yOTgsMC4xNDdjMC4wOTcsMC4wNDUsMC4xOSwwLjA5MSwwLjI4MywwLjEzMmMwLjA5OCwwLjA0LDAuMTk2LDAuMDcyLDAuMjk1LDAuMTA1ICAgYzAuMTA0LDAuMDM4LDAuMjA3LDAuMDc4LDAuMzEyLDAuMTA5YzAuMTAxLDAuMDMsMC4xOTcsMC4wNTIsMC4yOTcsMC4wNzdjMC4xMDgsMC4wMjMsMC4yMTQsMC4wNTgsMC4zMjQsMC4wNzggICBjMC4xMTUsMC4wMjEsMC4yMzEsMC4wMzMsMC4zNDYsMC4wNTRjMC4wOTcsMC4wMTUsMC4xOTIsMC4wMzIsMC4yODksMC4wNDJjMC40MywwLjA0MiwwLjg2NSwwLjA0MiwxLjI5NSwwICAgYzAuMS0wLjAxLDAuMTkxLTAuMDI3LDAuMjg5LTAuMDQyYzAuMTE0LTAuMDIxLDAuMjMzLTAuMDI5LDAuMzQ0LTAuMDU0YzAuMTA5LTAuMDIxLDAuMjE3LTAuMDU1LDAuMzI0LTAuMDc4ICAgYzAuMTAyLTAuMDI1LDAuMTk5LTAuMDQ3LDAuMjk5LTAuMDc3YzAuMTA1LTAuMDMxLDAuMjA3LTAuMDcxLDAuMzEyLTAuMTA5YzAuMTAyLTAuMDMsMC4xOTUtMC4wNjIsMC4yOTUtMC4xMDUgICBjMC4wOTYtMC4wNDEsMC4xOTEtMC4wODcsMC4yODMtMC4xMzJjMC4xLTAuMDQ4LDAuMTk5LTAuMDkyLDAuMjk3LTAuMTQ3YzAuMDkxLTAuMDQ4LDAuMTc3LTAuMTA0LDAuMjY0LTAuMTUzICAgYzAuMDk4LTAuMDYsMC4xOTMtMC4xMSwwLjI4Ny0wLjE3NGMwLjA5Ni0wLjA2NCwwLjE4OS0wLjE0MSwwLjI4MS0wLjIwNmMwLjA3Ni0wLjA2MiwwLjE1Ni0wLjExMywwLjIzMy0wLjE3NiAgIGMwLjI0OS0wLjIwNCwwLjQ3OS0wLjQzNywwLjY5NC0wLjY3YzAuMDc2LTAuMDY3LDAuMTU0LTAuMTMxLDAuMjI5LTAuMjAzbDQzLjI5NC00My4yOTYgICBDMTIxLjU4MSw2NS40OTEsMTIxLjU4MSw2MS4zMzcsMTE5LjAxOSw1OC43NzYiLz48L2c+PC9zdmc+);background-size:20px}.spl-theme{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBoZWlnaHQ9IjI0cHgiIHZlcnNpb249IjEuMiIgdmlld0JveD0iMiAyIDIwIDIwIiB3aWR0aD0iMjRweCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIsNGMtNC40MTgsMC04LDMuNTgyLTgsOHMzLjU4Miw4LDgsOHM4LTMuNTgyLDgtOFMxNi40MTgsNCwxMiw0eiBNMTIsMThjLTMuMzE0LDAtNi0yLjY4Ni02LTZzMi42ODYtNiw2LTZzNiwyLjY4Niw2LDYgUzE1LjMxNCwxOCwxMiwxOHoiLz48cGF0aCBkPSJNMTIsN3YxMGMyLjc1NywwLDUtMi4yNDMsNS01UzE0Ljc1Nyw3LDEyLDd6Ii8+PC9nPjwvc3ZnPg==)}.spl-play{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwb2x5Z29uIGZpbGw9IiNmZmYiIHBvaW50cz0iMTAgOCAxNiAxMiAxMCAxNiAxMCA4Ii8+PC9zdmc+)}.spl-play.on{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSItMC41IC0wLjUgMjUgMjUiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxsaW5lIHgxPSIxMCIgeDI9IjEwIiB5MT0iMTUiIHkyPSI5Ii8+PGxpbmUgeDE9IjE0IiB4Mj0iMTQiIHkxPSIxNSIgeTI9IjkiLz48L3N2Zz4=);animation:pulsate 1s ease infinite}.spl-close{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIyIDIgMjAgMjAiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZSB4MT0iMTgiIHgyPSI2IiB5MT0iNiIgeTI9IjE4Ii8+PGxpbmUgeDE9IjYiIHgyPSIxOCIgeTE9IjYiIHkyPSIxOCIvPjwvc3ZnPg==)}.spl-next,.spl-prev{top:50%;width:50px;height:50px;opacity:.65;background-color:rgba(0,0,0,.45);border-radius:100%;cursor:pointer;margin-top:-25px;transform:translateX(-100px);background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cG9seWxpbmUgcG9pbnRzPSIxNSAxOCA5IDEyIDE1IDYiLz48L3N2Zz4=);background-size:30px}.spl-prev{left:20px}.spl-next{left:auto;right:20px;transform:translateX(100px) scaleX(-1)}#spotlight.menu .spl-prev{transform:translateX(0)}#spotlight.menu .spl-next{transform:translateX(0) scaleX(-1)}@media (hover:hover){.spl-page~div{cursor:pointer;transition:opacity .2s ease}.spl-next:hover,.spl-page~div:hover,.spl-prev:hover{opacity:1}}@media (max-width:500px){.spl-header div{width:44px}.spl-footer .spl-title{font-size:20px}.spl-footer{font-size:14px}.spl-next,.spl-prev{width:35px;height:35px;margin-top:-17.5px;background-size:15px 15px}.spl-spinner{background-size:30px 30px}}.hide-scrollbars{overflow:hidden!important}";var n=document.getElementsByTagName("head")[0];function t(e,n,t){e.classList[t?"add":"remove"](n)}function r(e,n,t){t=""+t,e["_s_"+n]!==t&&(e.style.setProperty(n,t),e["_s_"+n]=t)}n.firstChild?n.insertBefore(e,n.firstChild):n.appendChild(e),Object.assign||(Object.assign=function(e,n){for(var t,r=Object.keys(n),o=0;o<r.length;o++)e[t=r[o]]=n[t];return e}),Element.prototype.closest||(Element.prototype.closest=function(e){e=e.substring(1);for(var n=this;n&&1===n.nodeType;){if(n.classList.contains(e))return n;n=n.parentElement}return null});var o=0;function i(e,n){n&&(r(e,"transition","none"),n()),o||(o=e.clientTop&&0),n&&r(e,"transition","")}function l(e,n,t,r){a(!0,e,n,t,r)}function a(e,n,t,r,o){n[(e?"add":"remove")+"EventListener"](t,r,!o&&!1!==o||o)}function s(e,n){e.stopPropagation(),n&&e.preventDefault()}function u(e,n){r(e,"display",n?"":"none")}function c(e,n){r(e,"visibility",n?"":"hidden")}function p(e,n){r(e,"transition",n?"":"none")}var f="theme download play page close autofit zoom-in zoom-out prev next fullscreen".split(" "),d={page:1,close:1,autofit:1,"zoom-in":1,"zoom-out":1,prev:1,next:1,fullscreen:1},h=document.createElement("div");h.id="spotlight",h.innerHTML="<div class=spl-spinner></div><div class=spl-track><div class=spl-scene><div class=spl-pane></div></div></div><div class=spl-header><div class=spl-page> </div></div><div class=spl-progress></div><div class=spl-footer><div class=spl-title> </div><div class=spl-description> </div><div class=spl-button> </div></div><div class=spl-prev></div><div class=spl-next></div>";var m={},g=document.createElement("video");function y(e,n,t,r){if("node"!==r)for(var o,i=Object.keys(t),l=0;l<i.length;l++)if(3<(o=i[l]).length&&0===o.indexOf("src"))if("video"===r){var a=m[o];if(a){if(0<a){var s=t[o];break}}else{if(g.canPlayType("video/"+o.substring(3).replace("-","").toLowerCase())){m[o]=1,s=t[o];break}m[o]=-1}}else if((a=parseInt(o.substring(4),10))&&(a=Math.abs(n-a),!u||a<u)){var u=a;s=t[o]}return s||t.src||t.href||e.src||e.href}var x,v,b,k,w,I,M,S,L,A,C,D,T,j,E,P,z,N,O,H,R,B,U,F,Z,Y,_,V,W,J,Q,G,q,X,K,$,ee,ne,te,re,oe,ie,le,ae,se,ue,ce,pe,fe,de,he,me,ge,ye,xe,ve,be,ke,we,Ie,Me,Se,Le={},Ae=navigator.connection,Ce=window.devicePixelRatio||1,De=document.createElement("img");function Te(){function e(e){return Le[e]=(h||document).getElementsByClassName("spl-"+e)[0]}if(!te){te=document.body,le=e("scene"),ae=e("header"),se=e("footer"),ue=e("title"),ce=e("description"),pe=e("button"),fe=e("prev"),de=e("next"),me=e("page"),ye=e("progress"),xe=e("spinner"),oe=[e("pane")],je("close",cn),te[Me="requestFullscreen"]||te[Me="msRequestFullscreen"]||te[Me="webkitRequestFullscreen"]||te[Me="mozRequestFullscreen"]||(Me=""),Me?(Se=Me.replace("request","exit").replace("mozRequest","mozCancel").replace("Request","Exit"),he=je("fullscreen",tn)):f.pop(),je("autofit",on),je("zoom-in",ln),je("zoom-out",an),je("theme",rn),ge=je("play",Qe),je("download",un),l(fe,"click",fn),l(de,"click",dn);var n=e("track");l(n,"mousedown",$e),l(n,"mousemove",nn),l(n,"mouseleave",en),l(n,"mouseup",en),l(n,"touchstart",$e,{passive:!1}),l(n,"touchmove",nn,{passive:!0}),l(n,"touchend",en),l(pe,"click",(function(){G?G(E,N):Q&&(location.href=Q)}))}}function je(e,n){var t=document.createElement("div");return t.className="spl-"+e,l(t,"click",n),ae.appendChild(t),Le[e]=t}function Ee(e){if(P=z.length){te||Te(),U&&U(e);for(var n=oe[0],o=n.parentNode,i=oe.length;i<P;i++){var l=n.cloneNode(!1);r(l,"left",100*i+"%"),o.appendChild(l),oe[i]=l}re||(te.appendChild(h),Be()),E=e||1,p(le),mn(!0),Me&&u(he,0<screen.availHeight-window.innerHeight),history.pushState({spl:1},""),history.pushState({spl:2},""),p(h,!0),t(te,"hide-scrollbars",!0),t(h,"show",!0),_e(!0),Be(),qe(),V&&Qe(!0,!0)}}function Pe(e,n){return void 0!==(e=N[e])?"false"!==(e=""+e)&&(e||n):n}function ze(e){e?i(ie,ze):(p(le,ee),r(ie,"opacity",$?0:1),Fe(K&&.8),ne&&t(ie,ne,!0))}function Ne(e){if(re=oe[e-1],ie=re.firstChild,E=e,ie)T&&on(),Y&&t(ie,Y,!0),ze(!0),ne&&t(ie,ne),$&&r(ie,"opacity",1),K&&r(ie,"transform",""),r(ie,"visibility","visible"),be&&(De.src=be),V&&Ge(ke);else{var n=ve.media,o=Pe("spinner",!0);if("video"===n)Oe(o,!0),(ie=document.createElement("video")).onloadedmetadata=function(){ie===this&&(ie.onerror=null,ie.width=ie.videoWidth,ie.height=ie.videoHeight,Ue(),Oe(o),Ne(e))},ie.poster=N.poster,ie.preload=J?"auto":"metadata",ie.controls=Pe("controls",!0),ie.autoplay=N.autoplay,ie.h=Pe("inline"),ie.muted=Pe("muted"),ie.src=ve.src,re.appendChild(ie);else{if("node"===n)return"string"==typeof(ie=ve.src)&&(ie=document.querySelector(ie)),void(ie&&(ie.g||(ie.g=ie.parentNode),Ue(),re.appendChild(ie),Ne(e)));Oe(o,!0),(ie=document.createElement("img")).onload=function(){ie===this&&(ie.onerror=null,Oe(o),Ne(e),Ue())},ie.src=ve.src,re.appendChild(ie)}ie&&(o||r(ie,"visibility","visible"),ie.onerror=function(){ie===this&&(pn(ie),t(xe,"error",!0),Oe(o))})}}function Oe(e,n){e&&t(xe,"spin",n)}function He(){return document.fullscreen||document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement}function Re(){if(Be(),ie&&Ue(),Me){var e=He();t(he,"on",e),e||u(he,0<screen.availHeight-window.innerHeight)}}function Be(){w=h.clientWidth,I=h.clientHeight}function Ue(){M=ie.clientWidth,S=ie.clientHeight}function Fe(e){r(ie,"transform","translate(-50%, -50%) scale("+(e||L)+")")}function Ze(e,n){r(re,"transform",e||n?"translate("+e+"px, "+n+"px)":"")}function Ye(e,n,t){n?i(le,(function(){Ye(e,!1,t)})):r(le,"transform","translateX("+(100*-e+(t||0))+"%)")}function _e(e){a(e,window,"keydown",We),a(e,window,"wheel",Je),a(e,window,"resize",Re),a(e,window,"popstate",Ve)}function Ve(e){re&&e.state.spl&&cn(!0)}function We(e){if(re){var n=!1!==N["zoom-in"];switch(e.keyCode){case 8:n&&on();break;case 27:cn();break;case 32:V&&Qe();break;case 37:fn();break;case 39:dn();break;case 38:case 107:case 187:n&&ln();break;case 40:case 109:case 189:n&&an()}}}function Je(e){re&&!1!==N["zoom-in"]&&(0>.5*(0>(e=e.deltaY)?1:e?-1:0)?an():ln())}function Qe(e,n){("boolean"==typeof e?e:!ke)===!ke&&(ke=ke?clearTimeout(ke):1,t(ge,"on",ke),n||Ge(ke))}function Ge(e){B&&(i(ye,(function(){r(ye,"transition-duration",""),r(ye,"transform","")})),e&&(r(ye,"transition-duration",X+"s"),r(ye,"transform","translateX(0)"))),e&&(ke=setTimeout(dn,1e3*X))}function qe(){_&&(Ie=Date.now()+2950,we||(t(h,"menu",!0),Xe(3e3)))}function Xe(e){we=setTimeout((function(){var e=Date.now();e>=Ie?(t(h,"menu"),we=0):Xe(Ie-e)}),e)}function Ke(e){"boolean"==typeof e&&(we=e?we:0),we?(we=clearTimeout(we),t(h,"menu")):qe()}function $e(e){s(e,!0),A=!0,C=!1;var n=e.touches;n&&(n=n[0])&&(e=n),D=M*L<=w,b=e.pageX,k=e.pageY,p(re)}function en(e){if(s(e),A){if(C){if(D&&C){var n=(e=x<-w/7&&(E<P||R))||x>w/7&&(1<E||R);(e||n)&&(Ye(E-1,!0,x/w*100),e&&dn()||n&&fn()),x=0,Ze()}p(re,!0)}else Ke();A=!1}}function nn(e){if(s(e),A){var n=e.touches;n&&(n=n[0])&&(e=n),n=(M*L-w)/2,x-=b-(b=e.pageX),D||(x>n?x=n:x<-n&&(x=-n),S*L>I&&(n=(S*L-I)/2,(v-=k-(k=e.pageY))>n?v=n:v<-n&&(v=-n))),C=!0,Ze(x,v)}else qe()}function tn(e){var n=He();"boolean"==typeof e&&e===!!n||(n?document[Se]():h[Me]())}function rn(e){"string"!=typeof e&&(e=j?"":W||"white"),j!==e&&(j&&t(h,j),e&&t(h,e,!0),j=e)}function on(e){"boolean"==typeof e&&(T=!e),t(ie,"autofit",T=1===L&&!T),r(ie,"transform",""),L=1,v=x=0,Ue(),p(re),Ze()}function ln(){var e=L/.65;50>=e&&(T&&on(),Ze(x/=.65,v/=.65),sn(e))}function an(){var e=.65*L;T&&on(),1<=e&&(1===e?x=v=0:(x*=.65,v*=.65),Ze(x,v),sn(e))}function sn(e){L=e||1,Fe()}function un(){var e=te,n=document.createElement("a"),t=ie.src;n.href=t,n.download=t.substring(t.lastIndexOf("/")+1),e.appendChild(n),n.click(),e.removeChild(n)}function cn(e){setTimeout((function(){te.removeChild(h),re=ie=ve=N=H=z=U=F=Z=G=null}),200),t(te,"hide-scrollbars"),t(h,"show"),tn(!1),_e(),history.go(!0===e?-1:-2),be&&(De.src=""),ke&&Qe(),ie&&pn(ie),we&&(we=clearTimeout(we)),j&&rn(),q&&t(h,q),Z&&Z()}function pn(e){if(e.g)e.g.appendChild(e),e.g=null;else{var n=e.parentNode;n&&n.removeChild(e),e.src=e.onerror=""}}function fn(e){if(e&&qe(),1<P){if(1<E)return hn(E-1);if(R)return Ye(P,!0),hn(P)}}function dn(e){if(e&&qe(),1<P){if(E<P)return hn(E+1);if(R)return Ye(-1,!0),hn(1);ke&&Qe()}}function hn(e){if(e!==E){ke?(clearTimeout(ke),Ge()):qe();var n=e>E;return E=e,mn(n),!0}}function mn(e){if(v=x=0,L=1,ie)if(ie.onerror)pn(ie);else{var n=ie;setTimeout((function(){n&&ie!==n&&(pn(n),n=null)}),650),ze(),Ze()}!function(e){var n,r=z[E-1],o=r;if(N={},H&&Object.assign(N,H),Object.assign(N,o.dataset||o),O=N.media,G=N.onclick,W=N.theme,q=N.class,_=Pe("autohide",!0),R=Pe("infinite"),B=Pe("progress",!0),V=Pe("autoslide"),J=Pe("preload",!0),Q=N.buttonHref,X=V&&parseFloat(V)||7,j||W&&rn(W),q&&t(h,q,!0),q&&i(h),o=N.control){o="string"==typeof o?o.split(","):o;for(var l=0;l<f.length;l++)N[f[l]]=!1;for(l=0;l<o.length;l++){var a=o[l].trim();"zoom"===a?N["zoom-in"]=N["zoom-out"]=!0:N[a]=!0}}if(o=N.animation,K=$=ee=!o,ne=!1,o)for(o="string"==typeof o?o.split(","):o,l=0;l<o.length;l++)"scale"===(a=o[l].trim())?K=!0:"fade"===a?$=!0:"slide"===a?ee=!0:a&&(ne=a);for(Y=N.fit,l=Ae&&Ae.downlink,o=Math.max(I,w)*Ce,l&&1200*l<o&&(o=1200*l),ve={media:O,src:y(r,o,N,O),title:Pe("title",r.alt||r.title||(n=r.firstElementChild)&&(n.alt||n.title))},be&&(De.src=be=""),J&&e&&(r=z[E])&&((n=(e=r.dataset||r).media)&&"image"!==n||(be=y(r,o,e,n))),r=0;r<f.length;r++)e=f[r],u(Le[e],Pe(e,d[e]))}(e),Ye(E-1),t(xe,"error"),Ne(E),p(re),Ze(),e=ve.title;var o=Pe("description"),l=Pe("button"),a=e||o||l;a&&(e&&(ue.firstChild.nodeValue=e),o&&(ce.firstChild.nodeValue=o),l&&(pe.firstChild.nodeValue=l),u(ue,e),u(ce,o),u(pe,l),r(se,"transform","all"===_?"":"none")),_||t(h,"menu",!0),c(se,a),c(fe,R||1<E),c(de,R||E<P),me.firstChild.nodeValue=1<P?E+" / "+P:"",F&&F(E,N)}l(document,"click",(function(e){var n=e.target.closest(".spotlight");if(n){s(e,!0),e=n.closest(".spotlight-group"),z=(e||document).getElementsByClassName("spotlight");for(var t=0;t<z.length;t++)if(z[t]===n){H=e&&e.dataset,Ee(t+1);break}}})),window.Spotlight={init:Te,theme:rn,fullscreen:tn,download:un,autofit:on,next:dn,prev:fn,goto:hn,close:cn,zoom:sn,menu:Ke,show:function(e,n,t){z=e,n&&(H=n,U=n.onshow,F=n.onchange,Z=n.onclose,t=t||n.index),Ee(t)},play:Qe,addControl:je,removeControl:function(e){var n=Le[e];n&&(ae.removeChild(n),Le[e]=null)}}}).call(this)},20371:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var o=r(t(83842));n.default=function(e,n){var t=null;if(!e||"string"!=typeof e)return t;var r=(0,o.default)(e),i="function"==typeof n;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?n(r,o,e):o&&((t=t||{})[r]=o)}})),t}},35828:(e,n,t)=>{"use strict";t.d(n,{o:()=>Cr});var r={};t.r(r),t.d(r,{boolean:()=>g,booleanish:()=>y,commaOrSpaceSeparated:()=>w,commaSeparated:()=>k,number:()=>v,overloadedBoolean:()=>x,spaceSeparated:()=>b});var o={};t.r(o),t.d(o,{attentionMarkers:()=>nt,contentInitial:()=>Gn,disable:()=>tt,document:()=>Qn,flow:()=>Xn,flowInitial:()=>qn,insideSpan:()=>et,string:()=>Kn,text:()=>$n});const i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function s(e,n){return((n||a).jsx?l:i).test(e)}const u=/[ \t\n\f\r]/g;function c(e){return""===e.replace(u,"")}class p{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function f(e,n){const t={},r={};let o=-1;for(;++o<e.length;)Object.assign(t,e[o].property),Object.assign(r,e[o].normal);return new p(t,r,n)}function d(e){return e.toLowerCase()}p.prototype.property={},p.prototype.normal={},p.prototype.space=null;class h{constructor(e,n){this.property=e,this.attribute=n}}h.prototype.space=null,h.prototype.boolean=!1,h.prototype.booleanish=!1,h.prototype.overloadedBoolean=!1,h.prototype.number=!1,h.prototype.commaSeparated=!1,h.prototype.spaceSeparated=!1,h.prototype.commaOrSpaceSeparated=!1,h.prototype.mustUseProperty=!1,h.prototype.defined=!1;let m=0;const g=I(),y=I(),x=I(),v=I(),b=I(),k=I(),w=I();function I(){return 2**++m}const M=Object.keys(r);class S extends h{constructor(e,n,t,o){let i=-1;if(super(e,n),L(this,"space",o),"number"==typeof t)for(;++i<M.length;){const e=M[i];L(this,M[i],(t&r[e])===r[e])}}}function L(e,n,t){t&&(e[n]=t)}S.prototype.defined=!0;const A={}.hasOwnProperty;function C(e){const n={},t={};let r;for(r in e.properties)if(A.call(e.properties,r)){const o=e.properties[r],i=new S(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),n[r]=i,t[d(r)]=r,t[d(i.attribute)]=r}return new p(n,t,e.space)}const D=C({space:"xlink",transform:(e,n)=>"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),T=C({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function j(e,n){return n in e?e[n]:n}function E(e,n){return j(e,n.toLowerCase())}const P=C({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:E,properties:{xmlns:null,xmlnsXLink:null}}),z=C({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:y,ariaAutoComplete:null,ariaBusy:y,ariaChecked:y,ariaColCount:v,ariaColIndex:v,ariaColSpan:v,ariaControls:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:y,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:y,ariaFlowTo:b,ariaGrabbed:y,ariaHasPopup:null,ariaHidden:y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:v,ariaLive:null,ariaModal:y,ariaMultiLine:y,ariaMultiSelectable:y,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:v,ariaPressed:y,ariaReadOnly:y,ariaRelevant:null,ariaRequired:y,ariaRoleDescription:b,ariaRowCount:v,ariaRowIndex:v,ariaRowSpan:v,ariaSelected:y,ariaSetSize:v,ariaSort:null,ariaValueMax:v,ariaValueMin:v,ariaValueNow:v,ariaValueText:null,role:null}}),N=C({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:E,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:k,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:b,autoFocus:g,autoPlay:g,blocking:b,capture:null,charSet:null,checked:g,cite:null,className:b,cols:v,colSpan:null,content:null,contentEditable:y,controls:g,controlsList:b,coords:v|k,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:x,draggable:y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:b,height:v,hidden:g,high:v,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:b,itemRef:b,itemScope:g,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:v,manifest:null,max:null,maxLength:v,media:null,method:null,min:null,minLength:v,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:g,optimum:v,pattern:null,ping:b,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:b,required:g,reversed:g,rows:v,rowSpan:v,sandbox:b,scope:null,scoped:g,seamless:g,selected:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:v,sizes:null,slot:null,span:v,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:v,step:null,style:null,tabIndex:v,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:y,width:v,wrap:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:v,borderColor:null,bottomMargin:v,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:v,leftMargin:v,link:null,longDesc:null,lowSrc:null,marginHeight:v,marginWidth:v,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:v,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:v,valueType:null,version:null,vAlign:null,vLink:null,vSpace:v,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:v,security:null,unselectable:null}}),O=C({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",transformOrigin:"transform-origin",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:j,properties:{about:w,accentHeight:v,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:v,amplitude:v,arabicForm:null,ascent:v,attributeName:null,attributeType:null,azimuth:v,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:v,by:null,calcMode:null,capHeight:v,className:b,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:v,diffuseConstant:v,direction:null,display:null,dur:null,divisor:v,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:v,enableBackground:null,end:null,event:null,exponent:v,externalResourcesRequired:null,fill:null,fillOpacity:v,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:k,g2:k,glyphName:k,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:v,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:v,horizOriginX:v,horizOriginY:v,id:null,ideographic:v,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:v,k:v,k1:v,k2:v,k3:v,k4:v,kernelMatrix:w,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:v,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:v,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:v,overlineThickness:v,paintOrder:null,panose1:null,path:null,pathLength:v,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:v,pointsAtY:v,pointsAtZ:v,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:w,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:w,rev:w,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:w,requiredFeatures:w,requiredFonts:w,requiredFormats:w,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:v,specularExponent:v,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:v,strikethroughThickness:v,string:null,stroke:null,strokeDashArray:w,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:v,strokeOpacity:v,strokeWidth:null,style:null,surfaceScale:v,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:w,tabIndex:v,tableValues:null,target:null,targetX:v,targetY:v,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:w,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:v,underlineThickness:v,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:v,values:null,vAlphabetic:v,vMathematical:v,vectorEffect:null,vHanging:v,vIdeographic:v,version:null,vertAdvY:v,vertOriginX:v,vertOriginY:v,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:v,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H=f([T,D,P,z,N],"html"),R=f([T,D,P,z,O],"svg"),B=/^data[-\w.:]+$/i,U=/-[a-z]/g,F=/[A-Z]/g;function Z(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const _={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var V=t(20371);const W=V.default||V,J=G("end"),Q=G("start");function G(e){return function(n){const t=n&&n.position&&n.position[e]||{};if("number"==typeof t.line&&t.line>0&&"number"==typeof t.column&&t.column>0)return{line:t.line,column:t.column,offset:"number"==typeof t.offset&&t.offset>-1?t.offset:void 0}}}function q(e){return e&&"object"==typeof e?"position"in e||"type"in e?K(e.position):"start"in e||"end"in e?K(e):"line"in e||"column"in e?X(e):"":""}function X(e){return $(e&&e.line)+":"+$(e&&e.column)}function K(e){return X(e&&e.start)+"-"+X(e&&e.end)}function $(e){return e&&"number"==typeof e?e:1}class ee extends Error{constructor(e,n,t){super(),"string"==typeof n&&(t=n,n=void 0);let r="",o={},i=!1;if(n&&(o="line"in n&&"column"in n||"start"in n&&"end"in n?{place:n}:"type"in n?{ancestors:[n],place:n.position}:{...n}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof t){const e=t.indexOf(":");-1===e?o.ruleId=t:(o.source=t.slice(0,e),o.ruleId=t.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const l=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=l?l.line:void 0,this.name=q(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}ee.prototype.file="",ee.prototype.name="",ee.prototype.reason="",ee.prototype.message="",ee.prototype.stack="",ee.prototype.column=void 0,ee.prototype.line=void 0,ee.prototype.ancestors=void 0,ee.prototype.cause=void 0,ee.prototype.fatal=void 0,ee.prototype.place=void 0,ee.prototype.ruleId=void 0,ee.prototype.source=void 0;const ne={}.hasOwnProperty,te=new Map,re=/[A-Z]/g,oe=/-([a-z])/g,ie=new Set(["table","tbody","thead","tfoot","tr"]),le=new Set(["td","th"]),ae="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function se(e,n){if(!n||void 0===n.Fragment)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if("function"!=typeof n.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,n){return t;function t(t,r,o,i){const l=Array.isArray(o.children),a=Q(t);return n(r,o,i,l,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(t,n.jsxDEV)}else{if("function"!=typeof n.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof n.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,n,t){return r;function r(e,r,o,i){const l=Array.isArray(o.children)?t:n;return i?l(r,o,i):l(r,o)}}(0,n.jsx,n.jsxs)}const o={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:!1!==n.passKeys,passNode:n.passNode||!1,schema:"svg"===n.space?R:H,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==n.tableCellAlignToStyle},i=ue(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function ue(e,n,t){return"element"===n.type?function(e,n,t){const r=e.schema;let o=r;"svg"===n.tagName.toLowerCase()&&"html"===r.space&&(o=R,e.schema=o);e.ancestors.push(n);const i=he(e,n.tagName,!1),l=function(e,n){const t={};let r,o;for(o in n.properties)if("children"!==o&&ne.call(n.properties,o)){const i=de(e,o,n.properties[o]);if(i){const[o,l]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof l&&le.has(n.tagName)?r=l:t[o]=l}}if(r){(t.style||(t.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return t}(e,n);let a=fe(e,n);ie.has(n.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(n=e)?"text"===n.type&&c(n.value):c(n));var n})));return ce(e,l,i,n),pe(l,a),e.ancestors.pop(),e.schema=r,e.create(n,i,l,t)}(e,n,t):"mdxFlowExpression"===n.type||"mdxTextExpression"===n.type?function(e,n){if(n.data&&n.data.estree&&e.evaluater){const t=n.data.estree.body[0];return t.type,e.evaluater.evaluateExpression(t.expression)}me(e,n.position)}(e,n):"mdxJsxFlowElement"===n.type||"mdxJsxTextElement"===n.type?function(e,n,t){const r=e.schema;let o=r;"svg"===n.name&&"html"===r.space&&(o=R,e.schema=o);e.ancestors.push(n);const i=null===n.name?e.Fragment:he(e,n.name,!0),l=function(e,n){const t={};for(const r of n.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const n=r.data.estree.body[0];n.type;const o=n.expression;o.type;const i=o.properties[0];i.type,Object.assign(t,e.evaluater.evaluateExpression(i.argument))}else me(e,n.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const n=r.value.data.estree.body[0];n.type,i=e.evaluater.evaluateExpression(n.expression)}else me(e,n.position);else i=null===r.value||r.value;t[o]=i}return t}(e,n),a=fe(e,n);return ce(e,l,i,n),pe(l,a),e.ancestors.pop(),e.schema=r,e.create(n,i,l,t)}(e,n,t):"mdxjsEsm"===n.type?function(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);me(e,n.position)}(e,n):"root"===n.type?function(e,n,t){const r={};return pe(r,fe(e,n)),e.create(n,e.Fragment,r,t)}(e,n,t):"text"===n.type?function(e,n){return n.value}(0,n):void 0}function ce(e,n,t,r){"string"!=typeof t&&t!==e.Fragment&&e.passNode&&(n.node=r)}function pe(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function fe(e,n){const t=[];let r=-1;const o=e.passKeys?new Map:te;for(;++r<n.children.length;){const i=n.children[r];let l;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const n=o.get(e)||0;l=e+"-"+n,o.set(e,n+1)}}const a=ue(e,i,l);void 0!==a&&t.push(a)}return t}function de(e,n,t){const r=function(e,n){const t=d(n);let r=n,o=h;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&"data"===t.slice(0,4)&&B.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(U,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!U.test(e)){let t=e.replace(F,Z);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=S}return new o(r,n)}(e.schema,n);if(!(null==t||"number"==typeof t&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?function(e,n){const t=n||{};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(t):t.join(" ").trim()),"style"===r.property){let n="object"==typeof t?t:function(e,n){const t={};try{W(n,r)}catch(n){if(!e.ignoreInvalidStyle){const t=n,r=new ee("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=ae+"#cannot-parse-style-attribute",r}}return t;function r(e,n){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(oe,ye)),t[r]=n}}(e,String(t));return"css"===e.stylePropertyNameCase&&(n=function(e){const n={};let t;for(t in e)ne.call(e,t)&&(n[ge(t)]=e[t]);return n}(n)),["style",n]}return["react"===e.elementAttributeNameCase&&r.space?_[r.property]||r.property:r.attribute,t]}}function he(e,n,t){let r;if(t)if(n.includes(".")){const e=n.split(".");let t,o=-1;for(;++o<e.length;){const n=s(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};t=t?{type:"MemberExpression",object:t,property:n,computed:Boolean(o&&"Literal"===n.type),optional:!1}:n}r=t}else r=s(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};else r={type:"Literal",value:n};if("Literal"===r.type){const n=r.value;return ne.call(e.components,n)?e.components[n]:n}if(e.evaluater)return e.evaluater.evaluateExpression(r);me(e)}function me(e,n){const t=new ee("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=ae+"#cannot-handle-mdx-estrees-without-createevaluater",t}function ge(e){let n=e.replace(re,xe);return"ms-"===n.slice(0,3)&&(n="-"+n),n}function ye(e,n){return n.toUpperCase()}function xe(e){return"-"+e.toLowerCase()}const ve={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var be=t(28074);const ke={};function we(e,n,t){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ie(e.children,n,t)}return Array.isArray(e)?Ie(e,n,t):""}function Ie(e,n,t){const r=[];let o=-1;for(;++o<e.length;)r[o]=we(e[o],n,t);return r.join("")}function Me(e,n,t,r){const o=e.length;let i,l=0;if(n=n<0?-n>o?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),e.splice(...i);else for(t&&e.splice(n,t);l<r.length;)i=r.slice(l,l+1e4),i.unshift(n,0),e.splice(...i),l+=1e4,n+=1e4}function Se(e,n){return e.length>0?(Me(e,e.length,0,n),e):n}function Le(e){const n={};let t,r,o,i,l,a,s,u=-1;for(;++u<e.length;){for(;u in n;)u=n[u];if(t=e[u],u&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[u-1][1].type&&(a=t[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===t[0])t[1].contentType&&(Object.assign(n,Ae(e,u)),u=n[u],s=!0);else if(t[1]._container){for(o=u,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(t[1].end=Object.assign({},e[r][1].start),l=e.slice(r,u),l.unshift(t),Me(e,r,u-r+1,l))}}return!s}function Ae(e,n){const t=e[n][1],r=e[n][2];let o=n-1;const i=[],l=t._tokenizer||r.parser[t.contentType](t.start),a=l.events,s=[],u={};let c,p,f=-1,d=t,h=0,m=0;const g=[m];for(;d;){for(;e[++o][1]!==d;);i.push(o),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),p&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=t;++f<a.length;)"exit"===a[f][0]&&"enter"===a[f-1][0]&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(m=f+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){const n=a.slice(g[f],g[f+1]),t=i.pop();s.unshift([t,t+n.length-1]),Me(e,t,2,n)}for(f=-1;++f<s.length;)u[h+s[f][0]]=h+s[f][1],h+=s[f][1]-s[f][0]-1;return u}const Ce={}.hasOwnProperty;function De(e,n){let t;for(t in n){const r=(Ce.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;if(o)for(i in o){Ce.call(r,i)||(r[i]=[]);const e=o[i];Te(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Te(e,n){let t=-1;const r=[];for(;++t<n.length;)("after"===n[t].add?e:r).push(n[t]);Me(e,0,0,r)}const je=Ye(/[A-Za-z]/),Ee=Ye(/[\dA-Za-z]/),Pe=Ye(/[#-'*+\--9=?A-Z^-~]/);function ze(e){return null!==e&&(e<32||127===e)}const Ne=Ye(/\d/),Oe=Ye(/[\dA-Fa-f]/),He=Ye(/[!-/:-@[-`{-~]/);function Re(e){return null!==e&&e<-2}function Be(e){return null!==e&&(e<0||32===e)}function Ue(e){return-2===e||-1===e||32===e}const Fe=Ye(/\p{P}|\p{S}/u),Ze=Ye(/\s/);function Ye(e){return function(n){return null!==n&&n>-1&&e.test(String.fromCharCode(n))}}function _e(e,n,t,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Ue(r))return e.enter(t),l(r);return n(r)};function l(r){return Ue(r)&&i++<o?(e.consume(r),l):(e.exit(t),n(r))}}const Ve={tokenize:function(e){const n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_e(e,n,"linePrefix")}),(function(n){return e.enter("paragraph"),r(n)}));let t;return n;function r(n){const r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,o(n)}function o(n){return null===n?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(n)):Re(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),o)}}};const We={tokenize:function(e){const n=this,t=[];let r,o,i,l=0;return a;function a(r){if(l<t.length){const o=t[l];return n.containerState=o[1],e.attempt(o[0].continuation,s,u)(r)}return u(r)}function s(e){if(l++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,r&&x();const t=n.events.length;let o,i=t;for(;i--;)if("exit"===n.events[i][0]&&"chunkFlow"===n.events[i][1].type){o=n.events[i][1].end;break}y(l);let a=t;for(;a<n.events.length;)n.events[a][1].end=Object.assign({},o),a++;return Me(n.events,i+1,0,n.events.slice(t)),n.events.length=a,u(e)}return a(e)}function u(o){if(l===t.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);n.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Je,c,p)(o)}function c(e){return r&&x(),y(l),f(e)}function p(e){return n.parser.lazy[n.now().line]=l!==t.length,i=n.now().offset,h(e)}function f(t){return n.containerState={},e.attempt(Je,d,h)(t)}function d(e){return l++,t.push([n.currentConstruct,n.containerState]),f(e)}function h(t){return null===t?(r&&x(),y(0),void e.consume(t)):(r=r||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(t))}function m(t){return null===t?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(t)):Re(t)?(e.consume(t),g(e.exit("chunkFlow")),l=0,n.interrupt=void 0,a):(e.consume(t),m)}function g(e,t){const a=n.sliceStream(e);if(t&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),n.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const t=n.events.length;let o,a,s=t;for(;s--;)if("exit"===n.events[s][0]&&"chunkFlow"===n.events[s][1].type){if(o){a=n.events[s][1].end;break}o=!0}for(y(l),e=t;e<n.events.length;)n.events[e][1].end=Object.assign({},a),e++;Me(n.events,s+1,0,n.events.slice(t)),n.events.length=e}}function y(r){let o=t.length;for(;o-- >r;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function x(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},Je={tokenize:function(e,n,t){return _e(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const Qe={tokenize:function(e,n,t){return function(n){return Ue(n)?_e(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||Re(e)?n(e):t(e)}},partial:!0};const Ge={tokenize:function(e,n){let t;return function(n){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),r(n)};function r(n){return null===n?o(n):Re(n)?e.check(qe,i,o)(n):(e.consume(n),r)}function o(t){return e.exit("chunkContent"),e.exit("content"),n(t)}function i(n){return e.consume(n),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}},resolve:function(e){return Le(e),e}},qe={tokenize:function(e,n,t){const r=this;return function(n){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),_e(e,o,"linePrefix")};function o(o){if(null===o||Re(o))return t(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const Xe={tokenize:function(e){const n=this,t=e.attempt(Qe,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,_e(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ge,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const Ke={resolveAll:tn()},$e=nn("string"),en=nn("text");function nn(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return s(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),a;n.consume(e)}function a(e){return s(e)?(n.exit("data"),o(e)):(n.consume(e),a)}function s(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o<n.length;){const e=n[o];if(!e.previous||e.previous.call(t,t.previous))return!0}return!1}},resolveAll:tn("text"===e?rn:void 0)}}function tn(e){return function(n,t){let r,o=-1;for(;++o<=n.length;)void 0===r?n[o]&&"data"===n[o][1].type&&(r=o,o++):n[o]&&"data"===n[o][1].type||(o!==r+2&&(n[r][1].end=n[o-1][1].end,n.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(n,t):n}}function rn(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||"lineEnding"===e[t][1].type)&&"data"===e[t-1][1].type){const r=e[t-1][1],o=n.sliceStream(r);let i,l=o.length,a=-1,s=0;for(;l--;){const e=o[l];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===e)i=!0,s++;else if(-1!==e){l++;break}}if(s){const o={type:t===e.length||i||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+l,_bufferIndex:l?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(t,0,["enter",o,n],["exit",o,n]),t+=2)}t++}return e}function on(e,n,t){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(n=i(n,t),r.push(i))}return n}function ln(e,n,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let l=[],a=[],s=!0;const u={consume:function(e){Re(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++));c.previous=e,s=!0},enter:function(e,n){const t=n||{};return t.type=e,t.start=h(),c.events.push(["enter",t,c]),a.push(t),t},exit:function(e){const n=a.pop();return n.end=h(),c.events.push(["exit",n,c]),n},attempt:x((function(e,n){v(e,n.from)})),check:x(y),interrupt:x(y,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,n){return function(e,n){let t=-1;const r=[];let o;for(;++t<e.length;){const i=e[t];let l;if("string"==typeof i)l=i;else switch(i){case-5:l="\r";break;case-4:l="\n";break;case-3:l="\r\n";break;case-2:l=n?" ":"\t";break;case-1:if(!n&&o)continue;l=" ";break;default:l=String.fromCharCode(i)}o=-2===i,r.push(l)}return r.join("")}(d(e),n)},now:h,defineSkip:function(e){o[e.line]=e.column,b()},write:function(e){if(l=Se(l,e),m(),null!==l[l.length-1])return[];return v(n,0),c.events=on(i,c.events,c),c.events}};let p,f=n.tokenize.call(c,u);return n.resolveAll&&i.push(n),c;function d(e){return function(e,n){const t=n.start._index,r=n.start._bufferIndex,o=n.end._index,i=n.end._bufferIndex;let l;if(t===o)l=[e[t].slice(r,i)];else{if(l=e.slice(t,o),r>-1){const e=l[0];"string"==typeof e?l[0]=e.slice(r):l.shift()}i>0&&l.push(e[o].slice(0,i))}return l}(l,e)}function h(){const{line:e,column:n,offset:t,_index:o,_bufferIndex:i}=r;return{line:e,column:n,offset:t,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index<l.length;){const n=l[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;)g(n.charCodeAt(r._bufferIndex));else g(n)}}function g(e){s=void 0,p=e,f=f(e)}function y(e,n){n.restore()}function x(e,n){return function(t,o,i){let l,p,f,d;return Array.isArray(t)?m(t):"tokenize"in t?m([t]):function(e){return n;function n(n){const t=null!==n&&e[n],r=null!==n&&e.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(n)}}(t);function m(e){return l=e,p=0,0===e.length?i:g(e[p])}function g(e){return function(t){d=function(){const e=h(),n=c.previous,t=c.currentConstruct,o=c.events.length,i=Array.from(a);return{restore:l,from:o};function l(){r=e,c.previous=n,c.currentConstruct=t,c.events.length=o,a=i,b()}}(),f=e,e.partial||(c.currentConstruct=e);if(e.name&&c.parser.constructs.disable.null.includes(e.name))return x(t);return e.tokenize.call(n?Object.assign(Object.create(c),n):c,u,y,x)(t)}}function y(n){return s=!0,e(f,d),o}function x(e){return s=!0,d.restore(),++p<l.length?g(l[p]):i}}}function v(e,n){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&Me(c.events,n,c.events.length-n,e.resolve(c.events.slice(n),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const an={name:"thematicBreak",tokenize:function(e,n,t){let r,o=0;return function(n){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(n)};function i(i){return i===r?(e.enter("thematicBreakSequence"),l(i)):o>=3&&(null===i||Re(i))?(e.exit("thematicBreak"),n(i)):t(i)}function l(n){return n===r?(e.consume(n),o++,l):(e.exit("thematicBreakSequence"),Ue(n)?_e(e,i,"whitespace")(n):i(n))}}};const sn={name:"list",tokenize:function(e,n,t){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,l=0;return function(n){const o=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||n===r.containerState.marker:Ne(n)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===n||45===n?e.check(an,t,s)(n):s(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(n)}return t(n)};function a(n){return Ne(n)&&++l<10?(e.consume(n),a):(!r.interrupt||l<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),s(n)):t(n)}function s(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(Qe,r.interrupt?t:u,e.attempt(un,p,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,p(e)}function c(n){return Ue(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),p):t(n)}function p(t){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Qe,o,i);function o(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,_e(e,n,"listItemIndent",r.containerState.size+1)(t)}function i(t){return r.containerState.furtherBlankLines||!Ue(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(cn,n,l)(t))}function l(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,_e(e,e.attempt(sn,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},un={tokenize:function(e,n,t){const r=this;return _e(e,(function(e){const o=r.events[r.events.length-1];return!Ue(e)&&o&&"listItemPrefixWhitespace"===o[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},cn={tokenize:function(e,n,t){const r=this;return _e(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const pn={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),o}return t(n)};function o(t){return Ue(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){const r=this;return function(n){if(Ue(n))return _e(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n);return o(n)};function o(r){return e.attempt(pn,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function fn(e,n,t,r,o,i,l,a,s){const u=s||Number.POSITIVE_INFINITY;let c=0;return function(n){if(60===n)return e.enter(r),e.enter(o),e.enter(i),e.consume(n),e.exit(i),p;if(null===n||32===n||41===n||ze(n))return t(n);return e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(n)};function p(t){return 62===t?(e.enter(i),e.consume(t),e.exit(i),e.exit(o),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(t))}function f(n){return 62===n?(e.exit("chunkString"),e.exit(a),p(n)):null===n||60===n||Re(n)?t(n):(e.consume(n),92===n?d:f)}function d(n){return 60===n||62===n||92===n?(e.consume(n),f):f(n)}function h(o){return c||null!==o&&41!==o&&!Be(o)?c<u&&40===o?(e.consume(o),c++,h):41===o?(e.consume(o),c--,h):null===o||32===o||40===o||ze(o)?t(o):(e.consume(o),92===o?m:h):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),n(o))}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function dn(e,n,t,r,o,i){const l=this;let a,s=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),u};function u(p){return s>999||null===p||91===p||93===p&&!a||94===p&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?t(p):93===p?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),n):Re(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(n){return null===n||91===n||93===n||Re(n)||s++>999?(e.exit("chunkString"),u(n)):(e.consume(n),a||(a=!Ue(n)),92===n?p:c)}function p(n){return 91===n||92===n||93===n?(e.consume(n),s++,c):c(n)}}function hn(e,n,t,r,o,i){let l;return function(n){if(34===n||39===n||40===n)return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,a;return t(n)};function a(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),s(t))}function s(n){return n===l?(e.exit(i),a(l)):null===n?t(n):Re(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),_e(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(n))}function u(n){return n===l||null===n||Re(n)?(e.exit("chunkString"),s(n)):(e.consume(n),92===n?c:u)}function c(n){return n===l||92===n?(e.consume(n),u):u(n)}}function mn(e,n){let t;return function r(o){if(Re(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Ue(o))return _e(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function gn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const yn={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),function(n){return dn.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function i(n){return o=gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),l):t(n)}function l(n){return Be(n)?mn(e,a)(n):a(n)}function a(n){return fn(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function s(n){return e.attempt(xn,u,u)(n)}function u(n){return Ue(n)?_e(e,c,"whitespace")(n):c(n)}function c(i){return null===i||Re(i)?(e.exit("definition"),r.parser.defined.push(o),n(i)):t(i)}}},xn={tokenize:function(e,n,t){return function(n){return Be(n)?mn(e,r)(n):t(n)};function r(n){return hn(e,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function o(n){return Ue(n)?_e(e,i,"whitespace")(n):i(n)}function i(e){return null===e||Re(e)?n(e):t(e)}},partial:!0};const vn={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),_e(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?a(n):Re(n)?e.attempt(bn,i,a)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||Re(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function a(t){return e.exit("codeIndented"),n(t)}}},bn={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):Re(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):_e(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):Re(e)?o(e):t(e)}},partial:!0};const kn={name:"headingAtx",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),o(n)}(n)};function o(n){return 35===n&&r++<6?(e.consume(n),o):null===n||Be(n)?(e.exit("atxHeadingSequence"),i(n)):t(n)}function i(t){return 35===t?(e.enter("atxHeadingSequence"),l(t)):null===t||Re(t)?(e.exit("atxHeading"),n(t)):Ue(t)?_e(e,i,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function l(n){return 35===n?(e.consume(n),l):(e.exit("atxHeadingSequence"),i(n))}function a(n){return null===n||35===n||Be(n)?(e.exit("atxHeadingText"),i(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Me(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const wn={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o;return function(n){let l,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){l="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||l))return e.enter("setextHeadingLine"),o=n,function(n){return e.enter("setextHeadingLineSequence"),i(n)}(n);return t(n)};function i(n){return n===o?(e.consume(n),i):(e.exit("setextHeadingLineSequence"),Ue(n)?_e(e,l,"lineSuffix")(n):l(n))}function l(r){return null===r||Re(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const In=["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","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Mn=["pre","script","style","textarea"],Sn={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,a,s;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u}(n)};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,d):63===a?(e.consume(a),o=3,r.interrupt?n:z):je(a)?(e.consume(a),l=String.fromCharCode(a),h):t(a)}function c(i){return 45===i?(e.consume(i),o=2,p):91===i?(e.consume(i),o=5,a=0,f):je(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function p(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function f(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?n:L:f):t(o)}function d(n){return je(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(a){if(null===a||47===a||62===a||Be(a)){const s=47===a,u=l.toLowerCase();return s||i||!Mn.includes(u)?In.includes(l.toLowerCase())?(o=6,s?(e.consume(a),m):r.interrupt?n(a):L(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(a):i?g(a):y(a)):(o=1,r.interrupt?n(a):L(a))}return 45===a||Ee(a)?(e.consume(a),l+=String.fromCharCode(a),h):t(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:L):t(o)}function g(n){return Ue(n)?(e.consume(n),g):M(n)}function y(n){return 47===n?(e.consume(n),M):58===n||95===n||je(n)?(e.consume(n),x):Ue(n)?(e.consume(n),y):M(n)}function x(n){return 45===n||46===n||58===n||95===n||Ee(n)?(e.consume(n),x):v(n)}function v(n){return 61===n?(e.consume(n),b):Ue(n)?(e.consume(n),v):y(n)}function b(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),s=n,k):Ue(n)?(e.consume(n),b):w(n)}function k(n){return n===s?(e.consume(n),s=null,I):null===n||Re(n)?t(n):(e.consume(n),k)}function w(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||Be(n)?v(n):(e.consume(n),w)}function I(e){return 47===e||62===e||Ue(e)?y(e):t(e)}function M(n){return 62===n?(e.consume(n),S):t(n)}function S(n){return null===n||Re(n)?L(n):Ue(n)?(e.consume(n),S):t(n)}function L(n){return 45===n&&2===o?(e.consume(n),T):60===n&&1===o?(e.consume(n),j):62===n&&4===o?(e.consume(n),N):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),P):!Re(n)||6!==o&&7!==o?null===n||Re(n)?(e.exit("htmlFlowData"),A(n)):(e.consume(n),L):(e.exit("htmlFlowData"),e.check(Ln,O,A)(n))}function A(n){return e.check(An,C,O)(n)}function C(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),D}function D(n){return null===n||Re(n)?A(n):(e.enter("htmlFlowData"),L(n))}function T(n){return 45===n?(e.consume(n),z):L(n)}function j(n){return 47===n?(e.consume(n),l="",E):L(n)}function E(n){if(62===n){const t=l.toLowerCase();return Mn.includes(t)?(e.consume(n),N):L(n)}return je(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),E):L(n)}function P(n){return 93===n?(e.consume(n),z):L(n)}function z(n){return 62===n?(e.consume(n),N):45===n&&2===o?(e.consume(n),z):L(n)}function N(n){return null===n||Re(n)?(e.exit("htmlFlowData"),O(n)):(e.consume(n),N)}function O(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},Ln={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Qe,n,t)}},partial:!0},An={tokenize:function(e,n,t){const r=this;return function(n){if(Re(n))return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o;return t(n)};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0};const Cn={tokenize:function(e,n,t){const r=this;return function(n){if(null===n)return t(n);return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},Dn={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let o=0;return l;function l(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),s}function s(n){return e.enter("codeFencedFence"),Ue(n)?_e(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):u(n)}function u(n){return n===i?(e.enter("codeFencedFenceSequence"),c(n)):t(n)}function c(n){return n===i?(o++,e.consume(n),c):o>=a?(e.exit("codeFencedFenceSequence"),Ue(n)?_e(e,p,"whitespace")(n):p(n)):t(n)}function p(r){return null===r||Re(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0};let i,l=0,a=0;return function(n){return function(n){const t=r.events[r.events.length-1];return l=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,i=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(n)}(n)};function s(n){return n===i?(a++,e.consume(n),s):a<3?t(n):(e.exit("codeFencedFenceSequence"),Ue(n)?_e(e,u,"whitespace")(n):u(n))}function u(t){return null===t||Re(t)?(e.exit("codeFencedFence"),r.interrupt?n(t):e.check(Cn,d,x)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(t))}function c(n){return null===n||Re(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(n)):Ue(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),_e(e,p,"whitespace")(n)):96===n&&n===i?t(n):(e.consume(n),c)}function p(n){return null===n||Re(n)?u(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(n))}function f(n){return null===n||Re(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(n)):96===n&&n===i?t(n):(e.consume(n),f)}function d(n){return e.attempt(o,x,h)(n)}function h(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),m}function m(n){return l>0&&Ue(n)?_e(e,g,"linePrefix",l+1)(n):g(n)}function g(n){return null===n||Re(n)?e.check(Cn,d,x)(n):(e.enter("codeFlowValue"),y(n))}function y(n){return null===n||Re(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),y)}function x(t){return e.exit("codeFenced"),n(t)}},concrete:!0};const Tn=document.createElement("i");function jn(e){const n="&"+e+";";Tn.innerHTML=n;const t=Tn.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&(t!==n&&t)}const En={name:"characterReference",tokenize:function(e,n,t){const r=this;let o,i,l=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),a};function a(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,i=Ee,u(n))}function s(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Oe,u):(e.enter("characterReferenceValue"),o=7,i=Ne,u(n))}function u(a){if(59===a&&l){const o=e.exit("characterReferenceValue");return i!==Ee||jn(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(a)}return i(a)&&l++<o?(e.consume(a),u):t(a)}}};const Pn={name:"characterEscape",tokenize:function(e,n,t){return function(n){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(n),e.exit("escapeMarker"),r};function r(r){return He(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(r)}}};const zn={name:"lineEnding",tokenize:function(e,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_e(e,n,"linePrefix")}}};const Nn={name:"labelEnd",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if(("labelImage"===r.events[l][1].type||"labelLink"===r.events[l][1].type)&&!r.events[l][1]._balanced){o=r.events[l][1];break}return function(n){if(!o)return t(n);if(o._inactive)return c(n);return i=r.parser.defined.includes(gn(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(n){return 40===n?e.attempt(On,u,i?u:c)(n):91===n?e.attempt(Hn,u,i?s:c)(n):i?u(n):c(n)}function s(n){return e.attempt(Rn,u,c)(n)}function u(e){return n(e)}function c(e){return o._balanced=!0,t(e)}},resolveTo:function(e,n){let t,r,o,i,l=e.length,a=0;for(;l--;)if(t=e[l][1],r){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[l][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(o){if("enter"===e[l][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(r=l,"labelLink"!==t.type)){a=2;break}}else"labelEnd"===t.type&&(o=l);const s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},c={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",s,n],["enter",u,n]],i=Se(i,e.slice(r+1,r+a+3)),i=Se(i,[["enter",c,n]]),i=Se(i,on(n.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),n)),i=Se(i,[["exit",c,n],e[o-2],e[o-1],["exit",u,n]]),i=Se(i,e.slice(o+1)),i=Se(i,[["exit",s,n]]),Me(e,r,e.length,i),e},resolveAll:function(e){let n=-1;for(;++n<e.length;){const t=e[n][1];"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++)}return e}},On={tokenize:function(e,n,t){return function(n){return e.enter("resource"),e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),r};function r(n){return Be(n)?mn(e,o)(n):o(n)}function o(n){return 41===n?u(n):fn(e,i,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(n)}function i(n){return Be(n)?mn(e,a)(n):u(n)}function l(e){return t(e)}function a(n){return 34===n||39===n||40===n?hn(e,s,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(n):u(n)}function s(n){return Be(n)?mn(e,u)(n):u(n)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),n):t(r)}}},Hn={tokenize:function(e,n,t){const r=this;return function(n){return dn.call(r,e,o,i,"reference","referenceMarker","referenceString")(n)};function o(e){return r.parser.defined.includes(gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(e):t(e)}function i(e){return t(e)}}},Rn={tokenize:function(e,n,t){return function(n){return e.enter("reference"),e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),n):t(r)}}};const Bn={name:"labelStartImage",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(n),e.exit("labelImageMarker"),o};function o(n){return 91===n?(e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelImage"),i):t(n)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:Nn.resolveAll};function Un(e){return null===e||Be(e)||Ze(e)?1:Fe(e)?2:void 0}const Fn={name:"attention",tokenize:function(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Un(r);let i;return function(n){return i=n,e.enter("attentionSequence"),l(n)};function l(a){if(a===i)return e.consume(a),l;const s=e.exit("attentionSequence"),u=Un(a),c=!u||2===u&&o||t.includes(a),p=!o||2===o&&u||t.includes(r);return s._open=Boolean(42===i?c:c&&(o||!p)),s._close=Boolean(42===i?p:p&&(u||!c)),n(a)}},resolveAll:function(e,n){let t,r,o,i,l,a,s,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(t=c;t--;)if("exit"===e[t][0]&&"attentionSequence"===e[t][1].type&&e[t][1]._open&&n.sliceSerialize(e[t][1]).charCodeAt(0)===n.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[t][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[t][1].end.offset-e[t][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[t][1].end.offset-e[t][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const p=Object.assign({},e[t][1].end),f=Object.assign({},e[c][1].start);Zn(p,-a),Zn(f,a),i={type:a>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[t][1].end)},l={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),s=[],e[t][1].end.offset-e[t][1].start.offset&&(s=Se(s,[["enter",e[t][1],n],["exit",e[t][1],n]])),s=Se(s,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),s=Se(s,on(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),s=Se(s,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,s=Se(s,[["enter",e[c][1],n],["exit",e[c][1],n]])):u=0,Me(e,t-1,c-t+3,s),c=t+s.length-u-2;break}c=-1;for(;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e}};function Zn(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const Yn={name:"autolink",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(n){return je(n)?(e.consume(n),i):s(n)}function i(e){return 43===e||45===e||46===e||Ee(e)?(r=1,l(e)):s(e)}function l(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||Ee(n))&&r++<32?(e.consume(n),l):(r=0,s(n))}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),n):null===r||32===r||60===r||ze(r)?t(r):(e.consume(r),a)}function s(n){return 64===n?(e.consume(n),u):Pe(n)?(e.consume(n),s):t(n)}function u(e){return Ee(e)?c(e):t(e)}function c(t){return 46===t?(e.consume(t),r=0,u):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n):p(t)}function p(n){if((45===n||Ee(n))&&r++<63){const t=45===n?p:c;return e.consume(n),t}return t(n)}}};const _n={name:"htmlText",tokenize:function(e,n,t){const r=this;let o,i,l;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),s):47===n?(e.consume(n),b):63===n?(e.consume(n),x):je(n)?(e.consume(n),I):t(n)}function s(n){return 45===n?(e.consume(n),u):91===n?(e.consume(n),i=0,d):je(n)?(e.consume(n),y):t(n)}function u(n){return 45===n?(e.consume(n),f):t(n)}function c(n){return null===n?t(n):45===n?(e.consume(n),p):Re(n)?(l=c,E(n)):(e.consume(n),c)}function p(n){return 45===n?(e.consume(n),f):c(n)}function f(e){return 62===e?j(e):45===e?p(e):c(e)}function d(n){const r="CDATA[";return n===r.charCodeAt(i++)?(e.consume(n),6===i?h:d):t(n)}function h(n){return null===n?t(n):93===n?(e.consume(n),m):Re(n)?(l=h,E(n)):(e.consume(n),h)}function m(n){return 93===n?(e.consume(n),g):h(n)}function g(n){return 62===n?j(n):93===n?(e.consume(n),g):h(n)}function y(n){return null===n||62===n?j(n):Re(n)?(l=y,E(n)):(e.consume(n),y)}function x(n){return null===n?t(n):63===n?(e.consume(n),v):Re(n)?(l=x,E(n)):(e.consume(n),x)}function v(e){return 62===e?j(e):x(e)}function b(n){return je(n)?(e.consume(n),k):t(n)}function k(n){return 45===n||Ee(n)?(e.consume(n),k):w(n)}function w(n){return Re(n)?(l=w,E(n)):Ue(n)?(e.consume(n),w):j(n)}function I(n){return 45===n||Ee(n)?(e.consume(n),I):47===n||62===n||Be(n)?M(n):t(n)}function M(n){return 47===n?(e.consume(n),j):58===n||95===n||je(n)?(e.consume(n),S):Re(n)?(l=M,E(n)):Ue(n)?(e.consume(n),M):j(n)}function S(n){return 45===n||46===n||58===n||95===n||Ee(n)?(e.consume(n),S):L(n)}function L(n){return 61===n?(e.consume(n),A):Re(n)?(l=L,E(n)):Ue(n)?(e.consume(n),L):M(n)}function A(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),o=n,C):Re(n)?(l=A,E(n)):Ue(n)?(e.consume(n),A):(e.consume(n),D)}function C(n){return n===o?(e.consume(n),o=void 0,T):null===n?t(n):Re(n)?(l=C,E(n)):(e.consume(n),C)}function D(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):47===n||62===n||Be(n)?M(n):(e.consume(n),D)}function T(e){return 47===e||62===e||Be(e)?M(e):t(e)}function j(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}function E(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),P}function P(n){return Ue(n)?_e(e,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):z(n)}function z(n){return e.enter("htmlTextData"),l(n)}}};const Vn={name:"labelStartLink",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(n),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?t(e):n(e)}},resolveAll:Nn.resolveAll};const Wn={name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.consume(n),r};function r(r){return Re(r)?(e.exit("hardBreakEscape"),n(r)):t(r)}}};const Jn={name:"codeText",tokenize:function(e,n,t){let r,o,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),l(n)};function l(n){return 96===n?(e.consume(n),i++,l):(e.exit("codeTextSequence"),a(n))}function a(n){return null===n?t(n):32===n?(e.enter("space"),e.consume(n),e.exit("space"),a):96===n?(o=e.enter("codeTextSequence"),r=0,u(n)):Re(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(n))}function s(n){return null===n||32===n||96===n||Re(n)?(e.exit("codeTextData"),a(n)):(e.consume(n),s)}function u(t){return 96===t?(e.consume(t),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(t)):(o.type="codeTextData",s(t))}},resolve:function(e){let n,t,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(n=o;++n<r;)if("codeTextData"===e[n][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}n=o-1,r++;for(;++n<=r;)void 0===t?n!==r&&"lineEnding"!==e[n][1].type&&(t=n):n!==r&&"lineEnding"!==e[n][1].type||(e[t][1].type="codeTextData",n!==t+2&&(e[t][1].end=e[n-1][1].end,e.splice(t+2,n-t-2),r-=n-t-2,n=t+2),t=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};const Qn={42:sn,43:sn,45:sn,48:sn,49:sn,50:sn,51:sn,52:sn,53:sn,54:sn,55:sn,56:sn,57:sn,62:pn},Gn={91:yn},qn={[-2]:vn,[-1]:vn,32:vn},Xn={35:kn,42:an,45:[wn,an],60:Sn,61:wn,95:an,96:Dn,126:Dn},Kn={38:En,92:Pn},$n={[-5]:zn,[-4]:zn,[-3]:zn,33:Bn,38:En,42:Fn,60:[Yn,_n],91:Vn,92:[Wn,Pn],93:Nn,95:Fn,96:Jn},et={null:[Fn,Ke]},nt={null:[42,95]},tt={null:[]};function rt(e){const n=function(e){const n={};let t=-1;for(;++t<e.length;)De(n,e[t]);return n}([o,...(e||{}).extensions||[]]),t={defined:[],lazy:{},constructs:n,content:r(Ve),document:r(We),flow:r(Xe),string:r($e),text:r(en)};return t;function r(e){return function(n){return ln(t,e,n)}}}const ot=/[\0\t\n\r]/g;function it(e,n){const t=Number.parseInt(e,n);return t<9||11===t||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||!(65535&~t)||65534==(65535&t)||t>1114111?"�":String.fromCodePoint(t)}const lt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function at(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return it(t.slice(n?2:1),n?16:10)}return jn(t)||e}const st={}.hasOwnProperty;function ut(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ne),autolinkProtocol:S,autolinkEmail:S,atxHeading:i(X),blockQuote:i(V),characterEscape:S,characterReference:S,codeFenced:i(W),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:i(W,l),codeText:i(J,l),codeTextData:S,data:S,codeFlowValue:S,definition:i(Q),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:i(G),hardBreakEscape:i(K),hardBreakTrailing:i(K),htmlFlow:i($,l),htmlFlowData:S,htmlText:i($,l),htmlTextData:S,image:i(ee),label:l,link:i(ne),listItem:i(re),listItemValue:f,listOrdered:i(te,p),listUnordered:i(te),paragraph:i(oe),reference:B,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:i(X),strong:i(ie),thematicBreak:i(ae)},exit:{atxHeading:s(),atxHeadingSequence:k,autolink:s(),autolinkEmail:_,autolinkProtocol:Y,blockQuote:s(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:F,characterReferenceMarkerNumeric:F,characterReferenceValue:Z,codeFenced:s(g),codeFencedFence:m,codeFencedFenceInfo:d,codeFencedFenceMeta:h,codeFlowValue:L,codeIndented:s(y),codeText:s(j),codeTextData:L,data:L,definition:s(),definitionDestinationString:b,definitionLabelString:x,definitionTitleString:v,emphasis:s(),hardBreakEscape:s(C),hardBreakTrailing:s(C),htmlFlow:s(D),htmlFlowData:L,htmlText:s(T),htmlTextData:L,image:s(P),label:N,labelText:z,lineEnding:A,link:s(E),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:O,resourceTitleString:H,resource:R,setextHeading:s(M),setextHeadingLineSequence:I,setextHeadingText:w,strong:s(),thematicBreak:s()}};pt(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:n,enter:a,exit:u,buffer:l,resume:c,data:t},s=[];let p=-1;for(;++p<e.length;)if("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)if("enter"===e[p][0])s.push(p);else{p=o(e,s.pop(),p)}for(p=-1;++p<e.length;){const t=n[e[p][0]];st.call(t,e[p][1].type)&&t[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},i),e[p][1])}if(i.tokenStack.length>0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||dt).call(i,void 0,e[0])}for(r.position={start:ct(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ct(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<n.transforms.length;)r=n.transforms[p](r)||r;return r}function o(e,n,t){let r,o,i,l,a=n-1,s=-1,u=!1;for(;++a<=t;){const n=e[a];switch(n[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===n[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===n[0]&&(!r||l||s||i||(i=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!s&&"enter"===n[0]&&"listItemPrefix"===n[1].type||-1===s&&"exit"===n[0]&&("listUnordered"===n[1].type||"listOrdered"===n[1].type)){if(r){let l=a;for(o=void 0;l--;){const n=e[l];if("lineEnding"===n[1].type||"lineEndingBlank"===n[1].type){if("exit"===n[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),n[1].type="lineEnding",o=l}else if("linePrefix"!==n[1].type&&"blockQuotePrefix"!==n[1].type&&"blockQuotePrefixWhitespace"!==n[1].type&&"blockQuoteMarker"!==n[1].type&&"listItemIndent"!==n[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:n[1].end),e.splice(o||a,0,["exit",r,n[2]]),a++,t++}if("listItemPrefix"===n[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},n[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,n[2]]),a++,t++,i=void 0,l=!0}}}return e[n][1]._spread=u,t}function i(e,n){return t;function t(t){a.call(this,e(t),t),n&&n.call(this,t)}}function l(){this.stack.push({type:"fragment",children:[]})}function a(e,n,t){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([n,t]),e.position={start:ct(n.start),end:void 0}}function s(e){return n;function n(n){e&&e.call(this,n),u.call(this,n)}}function u(e,n){const t=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+q({start:e.start,end:e.end})+"): it’s not open");if(r[0].type!==e.type)if(n)n.call(this,e,r[0]);else{(r[1]||dt).call(this,e,r[0])}t.position.end=ct(e.end)}function c(){return function(e,n){const t=n||ke;return we(e,"boolean"!=typeof t.includeImageAlt||t.includeImageAlt,"boolean"!=typeof t.includeHtml||t.includeHtml)}(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function d(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function h(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function x(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=gn(this.sliceSerialize(e)).toLowerCase()}function v(){const e=this.resume();this.stack[this.stack.length-1].title=e}function b(){const e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function I(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function S(e){const n=this.stack[this.stack.length-1].children;let t=n[n.length-1];t&&"text"===t.type||(t=le(),t.position={start:ct(e.start),end:void 0},n.push(t)),this.stack.push(t)}function L(e){const n=this.stack.pop();n.value+=this.sliceSerialize(e),n.position.end=ct(e.end)}function A(e){const t=this.stack[this.stack.length-1];if(this.data.atHardBreak){return t.children[t.children.length-1].position.end=ct(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(t.type)&&(S.call(this,e),L.call(this,e))}function C(){this.data.atHardBreak=!0}function D(){const e=this.resume();this.stack[this.stack.length-1].value=e}function T(){const e=this.resume();this.stack[this.stack.length-1].value=e}function j(){const e=this.resume();this.stack[this.stack.length-1].value=e}function E(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const n=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function P(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const n=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function z(e){const n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(lt,at)}(n),t.identifier=gn(n).toLowerCase()}function N(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===t.type){const n=e.children;t.children=n}else t.alt=n}function O(){const e=this.resume();this.stack[this.stack.length-1].url=e}function H(){const e=this.resume();this.stack[this.stack.length-1].title=e}function R(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function U(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=gn(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function F(e){this.data.characterReferenceType=e.type}function Z(e){const n=this.sliceSerialize(e),t=this.data.characterReferenceType;let r;if(t)r=it(n,"characterReferenceMarkerNumeric"===t?10:16),this.data.characterReferenceType=void 0;else{r=jn(n)}const o=this.stack.pop();o.value+=r,o.position.end=ct(e.end)}function Y(e){L.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function _(e){L.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function V(){return{type:"blockquote",children:[]}}function W(){return{type:"code",lang:null,meta:null,value:""}}function J(){return{type:"inlineCode",value:""}}function Q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function G(){return{type:"emphasis",children:[]}}function X(){return{type:"heading",depth:0,children:[]}}function K(){return{type:"break"}}function $(){return{type:"html",value:""}}function ee(){return{type:"image",title:null,url:"",alt:null}}function ne(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function oe(){return{type:"paragraph",children:[]}}function ie(){return{type:"strong",children:[]}}function le(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}(t)(function(e){for(;!Le(e););return e}(rt(t).document().write(function(){let e,n=1,t="",r=!0;return function(o,i,l){const a=[];let s,u,c,p,f;for(o=t+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),c=0,t="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(ot.lastIndex=c,s=ot.exec(o),p=s&&void 0!==s.index?s.index:o.length,f=o.charCodeAt(p),!s){t=o.slice(c);break}if(10===f&&c===p&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),c<p&&(a.push(o.slice(c,p)),n+=p-c),f){case 0:a.push(65533),n++;break;case 9:for(u=4*Math.ceil(n/4),a.push(-2);n++<u;)a.push(-1);break;case 10:a.push(-4),n=1;break;default:e=!0,n=1}c=p+1}return l&&(e&&a.push(-5),t&&a.push(t),a.push(null)),a}}()(e,n,!0))))}function ct(e){return{line:e.line,column:e.column,offset:e.offset}}function pt(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?pt(e,r):ft(e,r)}}function ft(e,n){let t;for(t in n)if(st.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function dt(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+q({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+q({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+q({start:n.start,end:n.end})+") is still open")}function ht(e){const n=this;n.parser=function(t){return ut(t,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}const mt="object"==typeof self?self:globalThis,gt=e=>((e,n)=>{const t=(n,t)=>(e.set(t,n),n),r=o=>{if(e.has(o))return e.get(o);const[i,l]=n[o];switch(i){case 0:case-1:return t(l,o);case 1:{const e=t([],o);for(const n of l)e.push(r(n));return e}case 2:{const e=t({},o);for(const[n,t]of l)e[r(n)]=r(t);return e}case 3:return t(new Date(l),o);case 4:{const{source:e,flags:n}=l;return t(new RegExp(e,n),o)}case 5:{const e=t(new Map,o);for(const[n,t]of l)e.set(r(n),r(t));return e}case 6:{const e=t(new Set,o);for(const n of l)e.add(r(n));return e}case 7:{const{name:e,message:n}=l;return t(new mt[e](n),o)}case 8:return t(BigInt(l),o);case"BigInt":return t(Object(BigInt(l)),o)}return t(new mt[i](l),o)};return r})(new Map,e)(0),yt="",{toString:xt}={},{keys:vt}=Object,bt=e=>{const n=typeof e;if("object"!==n||!e)return[0,n];const t=xt.call(e).slice(8,-1);switch(t){case"Array":return[1,yt];case"Object":return[2,yt];case"Date":return[3,yt];case"RegExp":return[4,yt];case"Map":return[5,yt];case"Set":return[6,yt]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},kt=e=>{let[n,t]=e;return 0===n&&("function"===t||"symbol"===t)},wt=function(e){let{json:n,lossy:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];return((e,n,t,r)=>{const o=(e,n)=>{const o=r.push(e)-1;return t.set(n,o),o},i=r=>{if(t.has(r))return t.get(r);let[l,a]=bt(r);switch(l){case 0:{let n=r;switch(a){case"bigint":l=8,n=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);n=null;break;case"undefined":return o([-1],r)}return o([l,n],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],n=o([l,e],r);for(const n of r)e.push(i(n));return n}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(n&&"toJSON"in r)return i(r.toJSON());const t=[],s=o([l,t],r);for(const n of vt(r))!e&&kt(bt(r[n]))||t.push([i(n),i(r[n])]);return s}case 3:return o([l,r.toISOString()],r);case 4:{const{source:e,flags:n}=r;return o([l,{source:e,flags:n}],r)}case 5:{const n=[],t=o([l,n],r);for(const[t,o]of r)(e||!kt(bt(t))&&!kt(bt(o)))&&n.push([i(t),i(o)]);return t}case 6:{const n=[],t=o([l,n],r);for(const t of r)!e&&kt(bt(t))||n.push(i(t));return t}}const{message:s}=r;return o([l,{name:a,message:s}],r)};return i})(!(n||t),!!n,new Map,r)(e),r},It="function"==typeof structuredClone?(e,n)=>n&&("json"in n||"lossy"in n)?gt(wt(e,n)):structuredClone(e):(e,n)=>gt(wt(e,n));function Mt(e){const n=[];let t=-1,r=0,o=0;for(;++t<e.length;){const i=e.charCodeAt(t);let l="";if(37===i&&Ee(e.charCodeAt(t+1))&&Ee(e.charCodeAt(t+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(l=String.fromCharCode(i));else if(i>55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="�"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}function St(e,n){const t=[{type:"text",value:"↩"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function Lt(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}const At=function(e){if(null==e)return Dt;if("function"==typeof e)return Ct(e);if("object"==typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=At(e[t]);return Ct(r);function r(){let e=-1;for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];for(;++e<n.length;)if(n[e].apply(this,r))return!0;return!1}}(e):function(e){const n=e;return Ct(t);function t(t){const r=t;let o;for(o in e)if(r[o]!==n[o])return!1;return!0}}(e);if("string"==typeof e)return function(e){return Ct(n);function n(n){return n&&n.type===e}}(e);throw new Error("Expected function, string, or object as test")};function Ct(e){return function(n,t,r){return Boolean(Tt(n)&&e.call(this,n,"number"==typeof t?t:void 0,r||void 0))}}function Dt(){return!0}function Tt(e){return null!==e&&"object"==typeof e&&"type"in e}const jt=[],Et=!0,Pt=!1,zt="skip";function Nt(e,n,t,r){let o;"function"==typeof n&&"function"!=typeof t?(r=t,t=n):o=n;const i=At(o),l=r?-1:1;!function e(o,a,s){const u=o&&"object"==typeof o?o:{};if("string"==typeof u.type){const e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return c;function c(){let u,c,p,f=jt;if((!n||i(o,a,s[s.length-1]||void 0))&&(f=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Et,e];return null==e?jt:[e]}(t(o,s)),f[0]===Pt))return f;if("children"in o&&o.children){const n=o;if(n.children&&f[0]!==zt)for(c=(r?n.children.length:-1)+l,p=s.concat(n);c>-1&&c<n.children.length;){const t=n.children[c];if(u=e(t,c,p)(),u[0]===Pt)return u;c="number"==typeof u[1]?u[1]:c+l}}return f}}(e,void 0,[])()}function Ot(e,n,t,r){let o,i,l;"function"==typeof n&&"function"!=typeof t?(i=void 0,l=n,o=t):(i=n,l=t,o=r),Nt(e,i,(function(e,n){const t=n[n.length-1],r=t?t.children.indexOf(e):void 0;return l(e,r,t)}),o)}function Ht(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return[{type:"text",value:"!["+n.alt+r}];const o=e.all(n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push({type:"text",value:r}),o}function Rt(e){const n=e.spread;return null==n?e.children.length>1:n}const Bt=9,Ut=32;function Ft(e){const n=String(e),t=/\r?\n|\r/g;let r=t.exec(n),o=0;const i=[];for(;r;)i.push(Zt(n.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=t.exec(n);return i.push(Zt(n.slice(o),o>0,!1)),i.join("")}function Zt(e,n,t){let r=0,o=e.length;if(n){let n=e.codePointAt(r);for(;n===Bt||n===Ut;)r++,n=e.codePointAt(r)}if(t){let n=e.codePointAt(o-1);for(;n===Bt||n===Ut;)o--,n=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Yt={blockquote:function(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)},break:function(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:"\n"}]},code:function(e,n){const t=n.value?n.value+"\n":"",r={};n.lang&&(r.className=["language-"+n.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(o.data={meta:n.meta}),e.patch(n,o),o=e.applyData(n,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(n,o),o},delete:function(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},emphasis:function(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},footnoteReference:function(e,n){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(n.identifier).toUpperCase(),o=Mt(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let l,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=i+1,a+=1,e.footnoteCounts.set(r,a);const s={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+o,id:t+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(n,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(n,u),e.applyData(n,u)},heading:function(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},html:function(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}},imageReference:function(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return Ht(e,n);const o={src:Mt(r.url||""),alt:n.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(n,i),e.applyData(n,i)},image:function(e,n){const t={src:Mt(n.url)};null!==n.alt&&void 0!==n.alt&&(t.alt=n.alt),null!==n.title&&void 0!==n.title&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)},inlineCode:function(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)},linkReference:function(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return Ht(e,n);const o={href:Mt(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(n)};return e.patch(n,i),e.applyData(n,i)},link:function(e,n){const t={href:Mt(n.url)};null!==n.title&&void 0!==n.title&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)},listItem:function(e,n,t){const r=e.all(n),o=t?function(e){let n=!1;if("list"===e.type){n=e.spread||!1;const t=e.children;let r=-1;for(;!n&&++r<t.length;)n=Rt(t[r])}return n}(t):Rt(n),i={},l=[];if("boolean"==typeof n.checked){const e=r[0];let t;e&&"element"===e.type&&"p"===e.tagName?t=e:(t={type:"element",tagName:"p",properties:{},children:[]},r.unshift(t)),t.children.length>0&&t.children.unshift({type:"text",value:" "}),t.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&l.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?l.push(e):l.push(...e.children)}const s=r[r.length-1];s&&(o||"element"!==s.type||"p"!==s.tagName)&&l.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:l};return e.patch(n,u),e.applyData(n,u)},list:function(e,n){const t={},r=e.all(n);let o=-1;for("number"==typeof n.start&&1!==n.start&&(t.start=n.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const i={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,i),e.applyData(n,i)},paragraph:function(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},root:function(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)},strong:function(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},table:function(e,n){const t=e.all(n),r=t.shift(),o=[];if(r){const t={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],t),o.push(t)}if(t.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},i=Q(n.children[1]),l=J(n.children[n.children.length-1]);i&&l&&(r.position={start:i,end:l}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(n,i),e.applyData(n,i)},tableCell:function(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},tableRow:function(e,n,t){const r=t?t.children:void 0,o=0===(r?r.indexOf(n):1)?"th":"td",i=t&&"table"===t.type?t.align:void 0,l=i?i.length:n.children.length;let a=-1;const s=[];for(;++a<l;){const t=n.children[a],r={},l=i?i[a]:void 0;l&&(r.align=l);let u={type:"element",tagName:o,properties:r,children:[]};t&&(u.children=e.all(t),e.patch(t,u),u=e.applyData(t,u)),s.push(u)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(n,u),e.applyData(n,u)},text:function(e,n){const t={type:"text",value:Ft(String(n.value))};return e.patch(n,t),e.applyData(n,t)},thematicBreak:function(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)},toml:_t,yaml:_t,definition:_t,footnoteDefinition:_t};function _t(){}const Vt={}.hasOwnProperty,Wt={};function Jt(e,n){e.position&&(n.position=function(e){const n=Q(e),t=J(e);if(n&&t)return{start:n,end:t}}(e))}function Qt(e,n){let t=n;if(e&&e.data){const n=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;if("string"==typeof n)if("element"===t.type)t.tagName=n;else{t={type:"element",tagName:n,properties:{},children:"children"in t?t.children:[t]}}"element"===t.type&&o&&Object.assign(t.properties,It(o)),"children"in t&&t.children&&null!=r&&(t.children=r)}return t}function Gt(e,n){const t=n.data||{},r=!("value"in n)||Vt.call(t,"hProperties")||Vt.call(t,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(n)}:{type:"text",value:n.value};return e.patch(n,r),e.applyData(n,r)}function qt(e,n){const t=[];let r=-1;for(n&&t.push({type:"text",value:"\n"});++r<e.length;)r&&t.push({type:"text",value:"\n"}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:"\n"}),t}function Xt(e){let n=0,t=e.charCodeAt(n);for(;9===t||32===t;)n++,t=e.charCodeAt(n);return e.slice(n)}function Kt(e,n){const t=function(e,n){const t=n||Wt,r=new Map,o=new Map,i=new Map,l={...Yt,...t.handlers},a={all:function(e){const n=[];if("children"in e){const t=e.children;let r=-1;for(;++r<t.length;){const o=a.one(t[r],e);if(o){if(r&&"break"===t[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Xt(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Xt(e.value))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n},applyData:Qt,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:l,one:function(e,n){const t=e.type,r=a.handlers[t];if(Vt.call(a.handlers,t)&&r)return r(a,e,n);if(a.options.passThrough&&a.options.passThrough.includes(t)){if("children"in e){const{children:n,...t}=e,r=It(t);return r.children=a.all(e),r}return It(e)}return(a.options.unknownHandler||Gt)(a,e,n)},options:t,patch:Jt,wrap:qt};return Ot(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const n="definition"===e.type?r:o,t=String(e.identifier).toUpperCase();n.has(t)||n.set(t,e)}})),a}(e,n),r=t.one(e,void 0),o=function(e){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||St,r=e.options.footnoteBackLabel||Lt,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let s=-1;for(;++s<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[s]);if(!o)continue;const i=e.all(o),l=String(o.identifier).toUpperCase(),u=Mt(l.toLowerCase());let c=0;const p=[],f=e.footnoteCounts.get(l);for(;void 0!==f&&++c<=f;){p.length>0&&p.push({type:"text",value:" "});let e="string"==typeof t?t:t(s,c);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const d=i[i.length-1];if(d&&"element"===d.type&&"p"===d.tagName){const e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...p)}else i.push(...p);const h={type:"element",tagName:"li",properties:{id:n+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...It(l),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(t),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function $t(e,n){return e&&"run"in e?async function(t,r){const o=Kt(t,{file:r,...n});await e.run(o,r)}:function(t,r){return Kt(t,{file:r,...n||e})}}function er(e){if(e)throw e}var nr=t(58295);function tr(e){if("object"!=typeof e||null===e)return!1;const n=Object.getPrototypeOf(e);return!(null!==n&&n!==Object.prototype&&null!==Object.getPrototypeOf(n)||Symbol.toStringTag in e||Symbol.iterator in e)}function rr(){const e=[],n={run:function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];let o=-1;const i=t.pop();if("function"!=typeof i)throw new TypeError("Expected function as last argument, not "+i);!function n(r){const l=e[++o];let a=-1;if(r)i(r);else{for(var s=arguments.length,u=new Array(s>1?s-1:0),c=1;c<s;c++)u[c-1]=arguments[c];for(;++a<t.length;)null!==u[a]&&void 0!==u[a]||(u[a]=t[a]);t=u,l?function(e,n){let t;return r;function r(){for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];const a=e.length>r.length;let s;a&&r.push(o);try{s=e.apply(this,r)}catch(e){if(a&&t)throw e;return o(e)}a||(s&&s.then&&"function"==typeof s.then?s.then(i,o):s instanceof Error?o(s):i(s))}function o(e){if(!t){t=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n(e,...o)}}function i(e){o(null,e)}}(l,n)(...u):i(null,...u)}}(null,...t)},use:function(t){if("function"!=typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const or={basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');ir(e);let t,r=0,o=-1,i=e.length;if(void 0===n||0===n.length||n.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,a=n.length-1;for(;i--;)if(47===e.codePointAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),a>-1&&(e.codePointAt(i)===n.codePointAt(a--)?a<0&&(o=i):(a=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(ir(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.codePointAt(0)?"/":".":1===t&&47===e.codePointAt(0)?"//":e.slice(0,t)},extname:function(e){ir(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const a=e.codePointAt(t);if(47!==a)r<0&&(n=!0,r=t+1),46===a?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(){let e,n=-1;for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];for(;++n<r.length;)ir(r[n]),r[n]&&(e=void 0===e?r[n]:e+"/"+r[n]);return void 0===e?".":function(e){ir(e);const n=47===e.codePointAt(0);let t=function(e,n){let t,r,o="",i=0,l=-1,a=0,s=-1;for(;++s<=e.length;){if(s<e.length)t=e.codePointAt(s);else{if(47===t)break;t=47}if(47===t){if(l===s-1||1===a);else if(l!==s-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=s,a=0;continue}}else if(o.length>0){o="",i=0,l=s,a=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,s):o=e.slice(l+1,s),i=s-l-1;l=s,a=0}else 46===t&&a>-1?a++:a=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.codePointAt(e.length-1)&&(t+="/");return n?"/"+t:t}(e)},sep:"/"};function ir(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const lr={cwd:function(){return"/"}};function ar(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function sr(e){if("string"==typeof e)e=new URL(e);else if(!ar(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const n=e.pathname;let t=-1;for(;++t<n.length;)if(37===n.codePointAt(t)&&50===n.codePointAt(t+1)){const e=n.codePointAt(t+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(n)}(e)}const ur=["history","path","basename","stem","extname","dirname"];class cr{constructor(e){let n;n=e?ar(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=lr.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let t,r=-1;for(;++r<ur.length;){const e=ur[r];e in n&&void 0!==n[e]&&null!==n[e]&&(this[e]="history"===e?[...n[e]]:n[e])}for(t in n)ur.includes(t)||(this[t]=n[t])}get basename(){return"string"==typeof this.path?or.basename(this.path):void 0}set basename(e){fr(e,"basename"),pr(e,"basename"),this.path=or.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?or.dirname(this.path):void 0}set dirname(e){dr(this.basename,"dirname"),this.path=or.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?or.extname(this.path):void 0}set extname(e){if(pr(e,"extname"),dr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=or.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){ar(e)&&(e=sr(e)),fr(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?or.basename(this.path,this.extname):void 0}set stem(e){fr(e,"stem"),pr(e,"stem"),this.path=or.join(this.dirname||"",e+(this.extname||""))}fail(e,n,t){const r=this.message(e,n,t);throw r.fatal=!0,r}info(e,n,t){const r=this.message(e,n,t);return r.fatal=void 0,r}message(e,n,t){const r=new ee(e,n,t);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(e||void 0).decode(this.value)}}function pr(e,n){if(e&&e.includes(or.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+or.sep+"`")}function fr(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function dr(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}const hr=function(e){const n=this.constructor.prototype,t=n[e],r=function(){return t.apply(r,arguments)};Object.setPrototypeOf(r,n);const o=Object.getOwnPropertyNames(t);for(const e of o){const n=Object.getOwnPropertyDescriptor(t,e);n&&Object.defineProperty(r,e,n)}return r},mr={}.hasOwnProperty;class gr extends hr{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=rr()}copy(){const e=new gr;let n=-1;for(;++n<this.attachers.length;){const t=this.attachers[n];e.use(...t)}return e.data(nr(!0,{},this.namespace)),e}data(e,n){return"string"==typeof e?2===arguments.length?(br("data",this.frozen),this.namespace[e]=n,this):mr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(br("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);const r=n.call(e,...t);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const n=Ir(e),t=this.parser||this.Parser;return xr("parse",t),t(String(n),n)}process(e,n){const t=this;return this.freeze(),xr("process",this.parser||this.Parser),vr("process",this.compiler||this.Compiler),n?r(void 0,n):new Promise(r);function r(r,o){const i=Ir(e),l=t.parse(i);function a(e,t){e||!t?o(e):r?r(t):n(void 0,t)}t.run(l,i,(function(e,n,r){if(e||!n||!r)return a(e);const o=n,i=t.stringify(o,r);var l;"string"==typeof(l=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(l)?r.value=i:r.result=i,a(e,r)}))}}processSync(e){let n,t=!1;return this.freeze(),xr("processSync",this.parser||this.Parser),vr("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){t=!0,er(e),n=r})),wr("processSync","process",t),n}run(e,n,t){kr(e),this.freeze();const r=this.transformers;return t||"function"!=typeof n||(t=n,n=void 0),t?o(void 0,t):new Promise(o);function o(o,i){const l=Ir(n);r.run(e,l,(function(n,r,l){const a=r||e;n?i(n):o?o(a):t(void 0,a,l)}))}}runSync(e,n){let t,r=!1;return this.run(e,n,(function(e,n){er(e),t=n,r=!0})),wr("runSync","run",r),t}stringify(e,n){this.freeze();const t=Ir(n),r=this.compiler||this.Compiler;return vr("stringify",r),kr(e),r(e,t)}use(e){const n=this.attachers,t=this.namespace;if(br("use",this.frozen),null==e);else if("function"==typeof e){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];u(e,o)}else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):a(e)}return this;function l(e){if("function"==typeof e)u(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[n,...t]=e;u(n,t)}else a(e)}}function a(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(t.settings=nr(!0,t.settings,e.settings))}function s(e){let n=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++n<e.length;){l(e[n])}}}function u(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const l=n[o][1];tr(l)&&tr(r)&&(r=nr(!0,l,r)),n[o]=[e,r,...i]}}}}const yr=(new gr).freeze();function xr(e,n){if("function"!=typeof n)throw new TypeError("Cannot `"+e+"` without `parser`")}function vr(e,n){if("function"!=typeof n)throw new TypeError("Cannot `"+e+"` without `compiler`")}function br(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function kr(e){if(!tr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function wr(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Ir(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new cr(e)}const Mr=[],Sr={allowDangerousHtml:!0},Lr=/^(https?|ircs?|mailto|xmpp)$/i,Ar=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Cr(e){const n=e.allowedElements,t=e.allowElement,r=e.children||"",o=e.className,i=e.components,l=e.disallowedElements,a=e.rehypePlugins||Mr,s=e.remarkPlugins||Mr,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Sr}:Sr,c=e.skipHtml,p=e.unwrapDisallowed,f=e.urlTransform||Dr,d=yr().use(ht).use(s).use($t,u).use(a),h=new cr;"string"==typeof r&&(h.value=r);for(const n of Ar)Object.hasOwn(e,n.from)&&(n.from,n.to&&n.to,n.id);const m=d.parse(h);let g=d.runSync(m,h);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Ot(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return c?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let n;for(n in ve)if(Object.hasOwn(ve,n)&&Object.hasOwn(e.properties,n)){const t=e.properties[n],r=ve[n];(null===r||r.includes(e.tagName))&&(e.properties[n]=f(String(t||""),n,e))}}if("element"===e.type){let i=n?!n.includes(e.tagName):!!l&&l.includes(e.tagName);if(!i&&t&&"number"==typeof r&&(i=!t(e,r,o)),i&&o&&"number"==typeof r)return p&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),se(g,{Fragment:be.Fragment,components:i,ignoreInvalidStyle:!0,jsx:be.jsx,jsxs:be.jsxs,passKeys:!0,passNode:!0})}function Dr(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return n<0||o>-1&&n>o||t>-1&&n>t||r>-1&&n>r||Lr.test(e.slice(0,n))?e:""}}}]);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{imio.smartweb.core-1.2.43.dist-info → imio.smartweb.core-1.2.45.dist-info}/namespace_packages.txt
RENAMED
File without changes
|
File without changes
|