(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3003],{32924:function(e,t,n){"use strict";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var o=createCommonjsModule(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0,(n=t.BLOCKS||(t.BLOCKS={})).DOCUMENT="document",n.PARAGRAPH="paragraph",n.HEADING_1="heading-1",n.HEADING_2="heading-2",n.HEADING_3="heading-3",n.HEADING_4="heading-4",n.HEADING_5="heading-5",n.HEADING_6="heading-6",n.OL_LIST="ordered-list",n.UL_LIST="unordered-list",n.LIST_ITEM="list-item",n.HR="hr",n.QUOTE="blockquote",n.EMBEDDED_ENTRY="embedded-entry-block",n.EMBEDDED_ASSET="embedded-asset-block",n.TABLE="table",n.TABLE_ROW="table-row",n.TABLE_CELL="table-cell",n.TABLE_HEADER_CELL="table-header-cell"});unwrapExports(o),o.BLOCKS;var a=createCommonjsModule(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0,(n=t.INLINES||(t.INLINES={})).HYPERLINK="hyperlink",n.ENTRY_HYPERLINK="entry-hyperlink",n.ASSET_HYPERLINK="asset-hyperlink",n.EMBEDDED_ENTRY="embedded-entry-inline"});unwrapExports(a),a.INLINES;var l=createCommonjsModule(function(e,t){var n,i;Object.defineProperty(t,"__esModule",{value:!0}),(i=n||(n={})).BOLD="bold",i.ITALIC="italic",i.UNDERLINE="underline",i.CODE="code",i.SUPERSCRIPT="superscript",i.SUBSCRIPT="subscript",t.default=n});unwrapExports(l);var u=createCommonjsModule(function(e,t){var n,u=i&&i.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var i,o=0,a=t.length;o1){var k=g.className?{className:g.className}:{};return e(E.container,k,S)}return S[0]?S[0]:"function"==typeof E.empty?e(E.empty):E.empty}},72695:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function sortMarksByOccurences(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var i=sortMarks.bind(null,e.marks.reduce(function(e,i){e[i]=e[i]?e[i]+1:1;for(var o=t+1;oi?1:0}e.exports=function(e){var t=e.children,n=e.markDefs;if(!t||!t.length)return[];var i=t.map(sortMarksByOccurences),o={_type:"span",children:[]},a=[o];return t.forEach(function(e,t){var o=i[t];if(!o){a[a.length-1].children.push(e);return}var l=1;if(a.length>1)for(;l=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}}(a=a.slice(0,l));if(o.forEach(function(t){var i={_type:"span",_key:e._key,children:[],mark:n.find(function(e){return e._key===t})||t,markKey:t};c.children.push(i),a.push(i),c=i}),"span"===e._type&&"string"==typeof e.text&&(Array.isArray(e.marks)||void 0===e.marks)){for(var f=e.text.split("\n"),g=f.length;g-- >1;)f.splice(g,0,"\n");c.children=c.children.concat(f)}else c.children=c.children.concat(e)}),o.children}},97118:function(e,t,n){"use strict";var i=n(96086);e.exports=function(e){return e.map(function(e){return e._key?e:i({_key:(function(e){var t=0,n=e.length;if(0===n)return t;for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"html",o=[],a=0;at.level){var s=listFromBlock(u);if("html"===n){var c=lastChild(t),f=i({},c,{children:c.children.concat(s)});t.children[t.children.length-1]=f}else t.children.push(s);t=s;continue}if(u.level0?"-":"+",i=Math.abs(e),o=Math.floor(i/60),a=i%60;return 0===a?n+String(o):n+String(o)+(t||"")+(0,c.default)(a,2)}function formatTimezoneWithOptionalMinutes(e,t){return e%60==0?(e>0?"-":"+")+(0,c.default)(Math.abs(e)/60,2):formatTimezone(e,t)}function formatTimezone(e,t){var n=e>0?"-":"+",i=Math.abs(e);return n+(0,c.default)(Math.floor(i/60),2)+(t||"")+(0,c.default)(i%60,2)}t.default={G:function(e,t,n){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var i=e.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return f.default.y(e,t)},Y:function(e,t,n,i){var o=(0,s.default)(e,i),a=o>0?o:1-o;if("YY"===t){var l=a%100;return(0,c.default)(l,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):(0,c.default)(a,t.length)},R:function(e,t){var n=(0,l.default)(e);return(0,c.default)(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return(0,c.default)(n,t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return(0,c.default)(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return(0,c.default)(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return f.default.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return(0,c.default)(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var o=(0,u.default)(e,i);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,c.default)(o,t.length)},I:function(e,t,n){var i=(0,a.default)(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):(0,c.default)(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):f.default.d(e,t)},D:function(e,t,n){var i=(0,o.default)(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,c.default)(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var o=e.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return(0,c.default)(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var o=e.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return(0,c.default)(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),o=0===i?7:i;switch(t){case"i":return String(o);case"ii":return(0,c.default)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i,o=e.getUTCHours();switch(i=12===o?g.noon:0===o?g.midnight:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i,o=e.getUTCHours();switch(i=o>=17?g.evening:o>=12?g.afternoon:o>=4?g.morning:g.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var i=e.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return f.default.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):f.default.H(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):(0,c.default)(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return(0===i&&(i=24),"ko"===t)?n.ordinalNumber(i,{unit:"hour"}):(0,c.default)(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):f.default.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):f.default.s(e,t)},S:function(e,t){return f.default.S(e,t)},X:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return formatTimezoneWithOptionalMinutes(o);case"XXXX":case"XX":return formatTimezone(o);default:return formatTimezone(o,":")}},x:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();switch(t){case"x":return formatTimezoneWithOptionalMinutes(o);case"xxxx":case"xx":return formatTimezone(o);default:return formatTimezone(o,":")}},O:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+formatTimezoneShort(o,":");default:return"GMT"+formatTimezone(o,":")}},z:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+formatTimezoneShort(o,":");default:return"GMT"+formatTimezone(o,":")}},t:function(e,t,n,i){var o=Math.floor((i._originalDate||e).getTime()/1e3);return(0,c.default)(o,t.length)},T:function(e,t,n,i){var o=(i._originalDate||e).getTime();return(0,c.default)(o,t.length)}},e.exports=t.default},62699:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(87394));t.default={y:function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return(0,o.default)("yy"===t?i%100:i,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):(0,o.default)(n+1,2)},d:function(e,t){return(0,o.default)(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return(0,o.default)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,o.default)(e.getUTCHours(),t.length)},m:function(e,t){return(0,o.default)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,o.default)(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,i=e.getUTCMilliseconds();return(0,o.default)(Math.floor(i*Math.pow(10,n-3)),t.length)}},e.exports=t.default},95209:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var dateLongFormatter=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},timeLongFormatter=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.default={p:timeLongFormatter,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return dateLongFormatter(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",dateLongFormatter(o,t)).replace("{{time}}",timeLongFormatter(a,t))}},e.exports=t.default},93561:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()},e.exports=t.default},21603:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,o.default)(e),n=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((n-t.getTime())/864e5)+1};var o=i(n(71171)),a=i(n(68734));e.exports=t.default},91354:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,u.default)(1,arguments);var t=(0,o.default)(e);return Math.round(((0,a.default)(t).getTime()-(0,l.default)(t).getTime())/6048e5)+1};var o=i(n(71171)),a=i(n(80079)),l=i(n(94275)),u=i(n(68734));e.exports=t.default},81370:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,o.default)(e),n=t.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(n+1,0,4),i.setUTCHours(0,0,0,0);var u=(0,l.default)(i),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var c=(0,l.default)(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var o=i(n(71171)),a=i(n(68734)),l=i(n(80079));e.exports=t.default},60623:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,u.default)(1,arguments);var n=(0,o.default)(e);return Math.round(((0,a.default)(n,t).getTime()-(0,l.default)(n,t).getTime())/6048e5)+1};var o=i(n(71171)),a=i(n(69209)),l=i(n(34118)),u=i(n(68734));e.exports=t.default},66226:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(1,arguments);var n,i,c,f,g,x,E,b,_=(0,o.default)(e),S=_.getUTCFullYear(),k=(0,s.getDefaultOptions)(),w=(0,u.default)(null!==(n=null!==(i=null!==(c=null!==(f=null==t?void 0:t.firstWeekContainsDate)&&void 0!==f?f:null==t?void 0:null===(g=t.locale)||void 0===g?void 0:null===(x=g.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==c?c:k.firstWeekContainsDate)&&void 0!==i?i:null===(E=k.locale)||void 0===E?void 0:null===(b=E.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==n?n:1);if(!(w>=1&&w<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setUTCFullYear(S+1,0,w),C.setUTCHours(0,0,0,0);var T=(0,l.default)(C,t),L=new Date(0);L.setUTCFullYear(S,0,w),L.setUTCHours(0,0,0,0);var A=(0,l.default)(L,t);return _.getTime()>=T.getTime()?S+1:_.getTime()>=A.getTime()?S:S-1};var o=i(n(71171)),a=i(n(68734)),l=i(n(69209)),u=i(n(82084)),s=n(98729);e.exports=t.default},56736:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isProtectedDayOfYearToken=function(e){return -1!==n.indexOf(e)},t.isProtectedWeekYearToken=function(e){return -1!==i.indexOf(e)},t.throwProtectedError=function(e,t,n){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))};var n=["D","DD"],i=["YY","YYYY"]},68734:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")},e.exports=t.default},80079:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=(0,o.default)(e),n=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-((n<1?7:0)+n-1)),t.setUTCHours(0,0,0,0),t};var o=i(n(71171)),a=i(n(68734));e.exports=t.default},94275:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,l.default)(1,arguments);var t=(0,o.default)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,a.default)(n)};var o=i(n(81370)),a=i(n(80079)),l=i(n(68734));e.exports=t.default},69209:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(1,arguments);var n,i,s,c,f,g,x,E,b=(0,u.getDefaultOptions)(),_=(0,l.default)(null!==(n=null!==(i=null!==(s=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t?void 0:null===(f=t.locale)||void 0===f?void 0:null===(g=f.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==s?s:b.weekStartsOn)&&void 0!==i?i:null===(x=b.locale)||void 0===x?void 0:null===(E=x.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==n?n:0);if(!(_>=0&&_<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var S=(0,o.default)(e),k=S.getUTCDay();return S.setUTCDate(S.getUTCDate()-((k<_?7:0)+k-_)),S.setUTCHours(0,0,0,0),S};var o=i(n(71171)),a=i(n(68734)),l=i(n(82084)),u=n(98729);e.exports=t.default},34118:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(1,arguments);var n,i,c,f,g,x,E,b,_=(0,s.getDefaultOptions)(),S=(0,u.default)(null!==(n=null!==(i=null!==(c=null!==(f=null==t?void 0:t.firstWeekContainsDate)&&void 0!==f?f:null==t?void 0:null===(g=t.locale)||void 0===g?void 0:null===(x=g.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==c?c:_.firstWeekContainsDate)&&void 0!==i?i:null===(E=_.locale)||void 0===E?void 0:null===(b=E.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==n?n:1),k=(0,o.default)(e,t),w=new Date(0);return w.setUTCFullYear(k,0,S),w.setUTCHours(0,0,0,0),(0,l.default)(w,t)};var o=i(n(66226)),a=i(n(68734)),l=i(n(69209)),u=i(n(82084)),s=n(98729);e.exports=t.default},82084:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)},e.exports=t.default},5065:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,l.default)(2,arguments);var n=(0,a.default)(e).getTime(),i=(0,o.default)(t);return new Date(n+i)};var o=i(n(82084)),a=i(n(71171)),l=i(n(68734));e.exports=t.default},15616:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){(0,x.default)(2,arguments);var i,T,L,A,I,D,B,N,M,R,j,F,H,K,U,z,G,W,X=String(t),$=(0,E.getDefaultOptions)(),J=null!==(i=null!==(T=null==n?void 0:n.locale)&&void 0!==T?T:$.locale)&&void 0!==i?i:b.default,ee=(0,g.default)(null!==(L=null!==(A=null!==(I=null!==(D=null==n?void 0:n.firstWeekContainsDate)&&void 0!==D?D:null==n?void 0:null===(B=n.locale)||void 0===B?void 0:null===(N=B.options)||void 0===N?void 0:N.firstWeekContainsDate)&&void 0!==I?I:$.firstWeekContainsDate)&&void 0!==A?A:null===(M=$.locale)||void 0===M?void 0:null===(R=M.options)||void 0===R?void 0:R.firstWeekContainsDate)&&void 0!==L?L:1);if(!(ee>=1&&ee<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var et=(0,g.default)(null!==(j=null!==(F=null!==(H=null!==(K=null==n?void 0:n.weekStartsOn)&&void 0!==K?K:null==n?void 0:null===(U=n.locale)||void 0===U?void 0:null===(z=U.options)||void 0===z?void 0:z.weekStartsOn)&&void 0!==H?H:$.weekStartsOn)&&void 0!==F?F:null===(G=$.locale)||void 0===G?void 0:null===(W=G.options)||void 0===W?void 0:W.weekStartsOn)&&void 0!==j?j:0);if(!(et>=0&&et<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!J.localize)throw RangeError("locale must contain localize property");if(!J.formatLong)throw RangeError("locale must contain formatLong property");var en=(0,l.default)(e);if(!(0,o.default)(en))throw RangeError("Invalid time value");var er=(0,c.default)(en),ei=(0,a.default)(en,er),eo={firstWeekContainsDate:ee,weekStartsOn:et,locale:J,_originalDate:en};return X.match(S).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,s.default[t])(e,J.formatLong):e}).join("").match(_).map(function(i){if("''"===i)return"'";var o,a=i[0];if("'"===a)return(o=i.match(k))?o[1].replace(w,"'"):i;var l=u.default[a];if(l)return!(null!=n&&n.useAdditionalWeekYearTokens)&&(0,f.isProtectedWeekYearToken)(i)&&(0,f.throwProtectedError)(i,t,String(e)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&(0,f.isProtectedDayOfYearToken)(i)&&(0,f.throwProtectedError)(i,t,String(e)),l(ei,i,J.localize,eo);if(a.match(C))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return i}).join("")};var o=i(n(39989)),a=i(n(33239)),l=i(n(71171)),u=i(n(52084)),s=i(n(95209)),c=i(n(93561)),f=n(56736),g=i(n(82084)),x=i(n(68734)),E=n(98729),b=i(n(97561)),_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,S=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,k=/^'([^]*?)'?$/,w=/''/g,C=/[a-zA-Z]/;e.exports=t.default},62382:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(1,arguments),e instanceof Date||"object"===(0,o.default)(e)&&"[object Date]"===Object.prototype.toString.call(e)};var o=i(n(50590)),a=i(n(68734));e.exports=t.default},39989:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,l.default)(1,arguments),(!!(0,o.default)(e)||"number"==typeof e)&&!isNaN(Number((0,a.default)(e)))};var o=i(n(62382)),a=i(n(71171)),l=i(n(68734));e.exports=t.default},20289:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}},e.exports=t.default},16245:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var l=e.defaultWidth,u=null!=n&&n.width?String(n.width):e.defaultWidth;i=e.values[u]||e.values[l]}return i[e.argumentCallback?e.argumentCallback(t):t]}},e.exports=t.default},43421:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.width,a=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],l=t.match(a);if(!l)return null;var u=l[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;var o=i[0],a=t.match(e.parsePattern);if(!a)return null;var l=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:l=n.valueCallback?n.valueCallback(l):l,rest:t.slice(o.length)}}},e.exports=t.default},71924:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.default=function(e,t,i){var o,a=n[e];return(o="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix)?i.comparison&&i.comparison>0?"in "+o:o+" ago":o},e.exports=t.default},95062:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(20289)),a={date:(0,o.default)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.default)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,o.default)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};t.default=a,e.exports=t.default},5102:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.default=function(e,t,i,o){return n[e]},e.exports=t.default},87839:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(16245)),a={ordinalNumber:function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,o.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,o.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,o.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,o.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,o.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=a,e.exports=t.default},9796:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(43421)),a={ordinalNumber:(0,i(n(78926)).default)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,o.default)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,o.default)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,o.default)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,o.default)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,o.default)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.default=a,e.exports=t.default},82512:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(71924)),a=i(n(95062)),l=i(n(5102)),u=i(n(87839)),s=i(n(9796)),c={code:"en-US",formatDistance:o.default,formatLong:a.default,formatRelative:l.default,localize:u.default,match:s.default,options:{weekStartsOn:0,firstWeekContainsDate:1}};t.default=c,e.exports=t.default},33239:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,a.default)(2,arguments);var n=(0,l.default)(t);return(0,o.default)(e,-n)};var o=i(n(5065)),a=i(n(68734)),l=i(n(82084));e.exports=t.default},71171:function(e,t,n){"use strict";var i=n(36758).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.default)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,o.default)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))};var o=i(n(50590)),a=i(n(68734));e.exports=t.default},99960:function(e,t){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(i=n=t.ElementType||(t.ElementType={})).Root="root",i.Text="text",i.Directive="directive",i.Comment="comment",i.Script="script",i.Style="style",i.Tag="tag",i.CDATA="cdata",i.Doctype="doctype",t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},47915:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,o)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(99960),l=n(97790);o(n(97790),t);var u=/\s+/g,s={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function DomHandler(e,t,n){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return DomHandler.prototype.onparserinit=function(e){this.parser=e},DomHandler.prototype.onreset=function(){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},DomHandler.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},DomHandler.prototype.onerror=function(e){this.handleCallback(e)},DomHandler.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},DomHandler.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,i=new l.Element(e,t,void 0,n);this.addNode(i),this.tagStack.push(i)},DomHandler.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===a.ElementType.Text)t?n.data=(n.data+e).replace(u," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(u," "));var i=new l.Text(e);this.addNode(i),this.lastNode=i}},DomHandler.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment){this.lastNode.data+=e;return}var t=new l.Comment(e);this.addNode(t),this.lastNode=t},DomHandler.prototype.oncommentend=function(){this.lastNode=null},DomHandler.prototype.oncdatastart=function(){var e=new l.Text(""),t=new l.NodeWithChildren(a.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},DomHandler.prototype.oncdataend=function(){this.lastNode=null},DomHandler.prototype.onprocessinginstruction=function(e,t){var n=new l.ProcessingInstruction(e,t);this.addNode(n)},DomHandler.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},DomHandler.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},DomHandler}();t.DomHandler=c,t.default=c},97790:function(e,t,n){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(NodeWithChildren.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),NodeWithChildren}(s);t.NodeWithChildren=E;var b=function(e){function Document(t){return e.call(this,l.ElementType.Root,t)||this}return o(Document,e),Document}(E);t.Document=b;var _=function(e){function Element(t,n,i,o){void 0===i&&(i=[]),void 0===o&&(o="script"===t?l.ElementType.Script:"style"===t?l.ElementType.Style:l.ElementType.Tag);var a=e.call(this,o,i)||this;return a.name=t,a.attribs=n,a}return o(Element,e),Object.defineProperty(Element.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(Element.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,i;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}})},enumerable:!1,configurable:!0}),Element}(E);function isTag(e){return(0,l.isTag)(e)}function isCDATA(e){return e.type===l.ElementType.CDATA}function isText(e){return e.type===l.ElementType.Text}function isComment(e){return e.type===l.ElementType.Comment}function isDirective(e){return e.type===l.ElementType.Directive}function isDocument(e){return e.type===l.ElementType.Root}function cloneNode(e,t){if(void 0===t&&(t=!1),isText(e))n=new f(e.data);else if(isComment(e))n=new g(e.data);else if(isTag(e)){var n,i=t?cloneChildren(e.children):[],o=new _(e.name,a({},e.attribs),i);i.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),n=o}else if(isCDATA(e)){var i=t?cloneChildren(e.children):[],u=new E(l.ElementType.CDATA,i);i.forEach(function(e){return e.parent=u}),n=u}else if(isDocument(e)){var i=t?cloneChildren(e.children):[],s=new b(i);i.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(isDirective(e)){var c=new x(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function cloneChildren(e){for(var t=e.map(function(e){return cloneNode(e,!0)}),n=1;n/i,c=//i,parseFromDocument=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},parseFromString=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var f=new window.DOMParser;parseFromDocument=parseFromString=function(e,t){return t&&(e="<"+t+">"+e+""),f.parseFromString(e,"text/html")}}if(document.implementation){var g=n(1507).isIE,x=document.implementation.createHTMLDocument(g()?"html-dom-parser":void 0);parseFromDocument=function(e,t){return t?x.documentElement.getElementsByTagName(t)[0].innerHTML=e:x.documentElement.innerHTML=e,x}}var E=document.createElement("template");E.content&&(i=function(e){return E.innerHTML=e,E.content.childNodes}),e.exports=function(e){var t,n,f,g,x=e.match(u);switch(x&&x[1]&&(t=x[1].toLowerCase()),t){case o:return n=parseFromString(e),!s.test(e)&&(f=n.getElementsByTagName(a)[0])&&f.parentNode.removeChild(f),!c.test(e)&&(f=n.getElementsByTagName(l)[0])&&f.parentNode.removeChild(f),n.getElementsByTagName(o);case a:case l:if(g=parseFromDocument(e).getElementsByTagName(t),c.test(e)&&s.test(e))return g[0].parentNode.childNodes;return g;default:if(i)return i(e);return parseFromDocument(e,l).getElementsByTagName(l)[0].childNodes}}},14152:function(e,t,n){var i=n(38276),o=n(1507).formatDOM,a=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(a);return n&&n[1]&&(t=n[1]),o(i(e),null,t)}},1507:function(e,t,n){for(var i,o=n(60885),a=n(97790),l=o.CASE_SENSITIVE_TAG_NAMES,u=a.Comment,s=a.Element,c=a.ProcessingInstruction,f=a.Text,g={},x=0,E=l.length;x1&&(c=E(c,{key:c.key||C})),S.push(c);continue}if("text"===n.type){if((s=!n.data.trim().length)&&n.parent&&!u(n.parent)||w&&s)continue;S.push(n.data);continue}switch(f=n.attribs,a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===n.type&&a.isCustomComponent(n.name,n.attribs)?l(f.style,f):f&&(f=o(f)),g=null,n.type){case"script":case"style":n.children[0]&&(f.dangerouslySetInnerHTML={__html:n.children[0].data});break;case"tag":"textarea"===n.name&&n.children[0]?f.defaultValue=n.children[0].data:n.children&&n.children.length&&(g=domToReact(n.children,t));break;default:continue}T>1&&(f.key=C),S.push(b(n.name,f,g))}return 1===S.length?S[0]:S}},74606:function(e,t,n){var i=n(67294),o=n(41476).default,a={reactCompat:!0},l=i.version.split(".")[0]>=16,u=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:l,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,i,o="function"==typeof t,a={},l={};for(n in e){if(i=e[n],o&&(a=t(n,i))&&2===a.length){l[a[0]]=a[1];continue}"string"==typeof i&&(l[i]=n)}return l},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,a)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!u.has(e.name)},elementsWithNoTextChildren:u}},18139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,s=/^\s+|\s+$/g;function trim(e){return e?e.replace(s,""):""}e.exports=function(e,s){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];s=s||{};var c=1,f=1;function updatePosition(e){var t=e.match(n);t&&(c+=t.length);var i=e.lastIndexOf("\n");f=~i?e.length-i:f+e.length}function position(){var e={line:c,column:f};return function(t){return t.position=new Position(e),match(i),t}}function Position(e){this.start=e,this.end={line:c,column:f},this.source=s.source}Position.prototype.content=e;var g=[];function error(t){var n=Error(s.source+":"+c+":"+f+": "+t);if(n.reason=t,n.filename=s.source,n.line=c,n.column=f,n.source=e,s.silent)g.push(n);else throw n}function match(t){var n=t.exec(e);if(n){var i=n[0];return updatePosition(i),e=e.slice(i.length),n}}function comments(e){var t;for(e=e||[];t=comment();)!1!==t&&e.push(t);return e}function comment(){var t=position();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return error("End of comment missing");var i=e.slice(2,n-2);return f+=2,updatePosition(i),e=e.slice(n),f+=2,t({type:"comment",comment:i})}}return match(i),function(){var e,n=[];for(comments(n);e=function(){var e=position(),n=match(o);if(n){if(comment(),!match(a))return error("property missing ':'");var i=match(l),s=e({type:"declaration",property:trim(n[0].replace(t,"")),value:i?trim(i[0].replace(t,"")):""});return match(u),s}}();)!1!==e&&(n.push(e),comments(n));return n}()}},33310:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},86630:function(e,t,n){"use strict";var i=n(62854);e.exports=function(e,t){var n;return n=function(e){var t={};if(!e||!e.type)throw Error("mdast-util-definitions expected node");return i(e,"definition",function(e){var n=normalise(e.identifier);o.call(t,n)||(t[n]=e)}),t}(e,t),function(e){var t=e&&normalise(e);return t&&o.call(n,t)?n[t]:null}};var o={}.hasOwnProperty;function normalise(e){return e.toUpperCase()}},52524:function(e,t,n){"use strict";e.exports=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),(function(e){var t=function(e,t){for(var n=-1;++n-1&&(onenterdata.call(this,e),onexitdata.call(this,e))},link:closer(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=l(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:closer(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:closer(),thematicBreak:closer()}},(e||{}).mdastExtensions||[]),n={};return function(e){for(var n,i={type:"root",children:[]},l=[],u=[],s=-1,c={stack:[i],tokenStack:l,config:t,enter:enter,exit:exit,buffer:buffer,resume:resume,setData:setData,getData:getData};++s0&&c.children.unshift(i("text"," ")),c.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),g.className=["task-list-item"]),a=s.length,l=-1;++l1:t}},47888:function(e,t,n){"use strict";e.exports=function(e,t){var n,a,l={},u=t.ordered?"ol":"ul",s=-1;for("number"==typeof t.start&&1!==t.start&&(l.start=t.start),a=(n=o(e,t)).length;++s-1?returnNode:e.unknownHandler)?l:function(e,t){var n;return(n=t.data||{},!(a.call(n,"hName")||a.call(n,"hProperties")||a.call(n,"hChildren"))&&"value"in t)?e.augment(t,i("text",t.value)):e(t,"div",o(e,t))})(e,t,n)};var i=n(50914),o=n(95426),a={}.hasOwnProperty;function returnNode(e,t){var n;return t.children?((n=Object.assign({},t)).children=o(e,t),n):t}},713:function(e,t,n){"use strict";e.exports=function(e,t){var n,a,l,u=t.referenceType,s="]";return("collapsed"===u?s+="[]":"full"===u&&(s+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)?i("text","!["+t.alt+s):((a=(n=o(e,t))[0])&&"text"===a.type?a.value="["+a.value:n.unshift(i("text","[")),(l=n[n.length-1])&&"text"===l.type?l.value+=s:n.push(i("text",s)),n)};var i=n(50914),o=n(95426)},96115:function(e,t,n){"use strict";e.exports=function(e,t){var n=[],o=-1,a=e.length;for(t&&n.push(i("text","\n"));++o0&&n.push(i("text","\n")),n};var i=n(50914)},4999:function(e){"use strict";function toString(e){return e&&(e.value||e.alt||e.title||"children"in e&&all(e.children)||"length"in e&&all(e))||""}function all(e){for(var t=[],n=-1;++n=55296&&l<=57343){if(l>=55296&&l<=56319&&o+1=56320&&u<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[o])}return c}encode.defaultChars=";/?:@&=+$,-_.!~*'()#",encode.componentChars="-_.!~*'()",e.exports=encode},76734:function(e,t,n){"use strict";var i=n(2841)(/[A-Za-z]/);e.exports=i},46712:function(e,t,n){"use strict";var i=n(2841)(/[\dA-Za-z]/);e.exports=i},13571:function(e,t,n){"use strict";var i=n(2841)(/[#-'*+\--9=?A-Z^-~]/);e.exports=i},89696:function(e){"use strict";e.exports=function(e){return e<32||127===e}},73977:function(e,t,n){"use strict";var i=n(2841)(/\d/);e.exports=i},56238:function(e,t,n){"use strict";var i=n(2841)(/[\dA-Fa-f]/);e.exports=i},83074:function(e,t,n){"use strict";var i=n(2841)(/[!-/:-@[-`{-~]/);e.exports=i},88367:function(e){"use strict";e.exports=function(e){return e<0||32===e}},17238:function(e){"use strict";e.exports=function(e){return e<-2}},73654:function(e){"use strict";e.exports=function(e){return -2===e||-1===e||32===e}},36996:function(e,t,n){"use strict";var i=n(76830),o=n(2841)(i);e.exports=o},10395:function(e,t,n){"use strict";var i=n(2841)(/\s/);e.exports=i},99198:function(e){"use strict";var t=Object.assign;e.exports=t},93267:function(e){"use strict";var t=String.fromCharCode;e.exports=t},46706:function(e){"use strict";e.exports=({}).hasOwnProperty},57139:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},16871:function(e){"use strict";e.exports=["pre","script","style","textarea"]},21362:function(e){"use strict";var t=[].splice;e.exports=t},76830:function(e){"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},36274:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(97082),o=n(47542),a=n(1349),l=n(45485),u=n(49653),s=n(36713),c=n(46597),f=n(20431),g=n(60026),x=n(93865),E=n(65694),b=n(596),_=n(76872),S=n(28911),k=n(31294),w=n(36215),C=n(60534),T=n(92607),L=n(46931),A=n(15874),I=n(37039),D={null:[o,i.resolver]};t.contentInitial={91:x},t.disable={null:[]},t.document={42:L,43:L,45:L,48:L,49:L,50:L,51:L,52:L,53:L,54:L,55:L,56:L,57:L,62:l},t.flow={35:b,42:I,45:[A,I],60:_,61:A,95:I,96:c,126:c},t.flowInitial={"-2":f,"-1":f,32:f},t.insideSpan=D,t.string={38:s,92:u},t.text={"-5":T,"-4":T,"-3":T,33:w,38:s,42:o,60:[a,S],91:C,92:[E,u],93:k,95:o,96:g}},13745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(17238),o=n(52928);t.tokenize=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function lineStart(n){var o=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=o),t=o,function data(t){if(null===t){e.exit("chunkText"),e.exit("paragraph"),e.consume(t);return}return i(t)?(e.consume(t),e.exit("chunkText"),lineStart):(e.consume(t),data)}(n)}(n)});return n}},14201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(17238),o=n(52928),a=n(66532),l={tokenize:function(e,t,n){return o(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},u={tokenize:function(e,t,n){return o(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=function(e){var t,n,o,s=this,c=[],f=0,g={tokenize:function(e,i){var o=0;return t={},inspectStart;function inspectStart(i){return ot;)s.containerState=c[a][1],c[a][0].exit.call(s,e);c.length=t}}},22871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(64590),o=n(52928),a=n(66532);t.tokenize=function(e){var t=this,n=e.attempt(a,function(i){if(null===i){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,afterConstruct,o(e,e.attempt(this.parser.constructs.flow,afterConstruct,e.attempt(i,afterConstruct)),"linePrefix")));return n;function afterConstruct(i){if(null===i){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},97082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(99198),o=n(75923),a=initializeFactory("text"),l=initializeFactory("string"),u={resolveAll:createResolver()};function initializeFactory(e){return{tokenize:function(t){var n=this,i=this.parser.constructs[e],o=t.attempt(i,start,notText);return start;function start(e){return atBreak(e)?o(e):notText(e)}function notText(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),data}function data(e){return atBreak(e)?(t.exit("data"),o(e)):(t.consume(e),data)}function atBreak(e){var t=i[e],o=-1;if(null===e)return!0;if(t){for(;++o1&&e[_][1].end.offset-e[_][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:l(s(e[n][1].end),-x),end:s(e[n][1].end)},g={type:x>1?"strongSequence":"emphasisSequence",start:s(e[_][1].start),end:l(s(e[_][1].start),x)},c={type:x>1?"strongText":"emphasisText",start:s(e[n][1].end),end:s(e[_][1].start)},a={type:x>1?"strong":"emphasis",start:s(f.start),end:s(g.end)},e[n][1].end=s(f.start),e[_][1].start=s(g.end),E=[],e[n][1].end.offset-e[n][1].start.offset&&(E=i(E,[["enter",e[n][1],t],["exit",e[n][1],t]])),E=i(E,[["enter",a,t],["enter",f,t],["exit",f,t],["enter",c,t]]),E=i(E,u(t.parser.constructs.insideSpan.null,e.slice(n+1,_),t)),E=i(E,[["exit",c,t],["enter",g,t],["exit",g,t],["exit",a,t]]),e[_][1].end.offset-e[_][1].start.offset?(b=2,E=i(E,[["enter",e[_][1],t],["exit",e[_][1],t]])):b=0,o(e,n-1,_-n+3,E),_=n+E.length-b-2;break}}for(_=-1;++_-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=a},49653:function(e,t,n){"use strict";var i=n(83074);e.exports={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),open};function open(o){return i(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}}},36713:function(e,t,n){"use strict";var i=n(89435),o=n(46712),a=n(73977),l=n(56238),u=i&&"object"==typeof i&&"default"in i?i:{default:i};e.exports={name:"characterReference",tokenize:function(e,t,n){var i,s,c=this,f=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),open};function open(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),numeric):(e.enter("characterReferenceValue"),i=31,s=o,value(t))}function numeric(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=l,value):(e.enter("characterReferenceValue"),i=7,s=a,value(t))}function value(a){var l;return 59===a&&f?(l=e.exit("characterReferenceValue"),s!==o||u.default(c.sliceSerialize(l)))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a):s(a)&&f++-1?void 0:4);function closingSequenceEnd(o){return null===o||i(o)?(e.exit("codeFencedFence"),t(o)):n(o)}},partial:!0},f=a(this.events,"linePrefix"),g=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u=t,function sequenceOpen(t){return t===u?(e.consume(t),g++,sequenceOpen):(e.exit("codeFencedFenceSequence"),g<3?n(t):l(e,infoOpen,"whitespace")(t))}(t)};function infoOpen(t){return null===t||i(t)?openAfter(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function info(t){return null===t||o(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(e,infoAfter,"whitespace")(t)):96===t&&t===u?n(t):(e.consume(t),info)}(t))}function infoAfter(t){return null===t||i(t)?openAfter(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function meta(t){return null===t||i(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),openAfter(t)):96===t&&t===u?n(t):(e.consume(t),meta)}(t))}function openAfter(n){return e.exit("codeFencedFence"),s.interrupt?t(n):function content(t){return null===t?after(t):i(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e.attempt(c,after,f?l(e,content,"linePrefix",f+1):content)):(e.enter("codeFlowValue"),function contentContinue(t){return null===t||i(t)?(e.exit("codeFlowValue"),content(t)):(e.consume(t),contentContinue)}(t))}(n)}function after(n){return e.exit("codeFenced"),t(n)}},concrete:!0}},20431:function(e,t,n){"use strict";var i=n(17238),o=n(56808),a=n(15096),l=n(52928),u={tokenize:function(e,t,n){var o=this;return l(e,function afterPrefix(u){return i(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l(e,afterPrefix,"linePrefix",5)):4>a(o.events,"linePrefix")?n(u):t(u)},"linePrefix",5)},partial:!0};e.exports={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(u,function afterPrefix(n){return null===n?t(n):i(n)?e.attempt(u,afterPrefix,t)(n):(e.enter("codeFlowValue"),function content(t){return null===t||i(t)?(e.exit("codeFlowValue"),afterPrefix(t)):(e.consume(t),content)}(n))},n)},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return o(e,0,0,[["enter",n,t]]),o(e,e.length,0,[["exit",n,t]]),e}}},60026:function(e,t,n){"use strict";var i=n(17238);e.exports={name:"codeText",tokenize:function(e,t,n){var o,a,l=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function openingSequence(t){return 96===t?(e.consume(t),l++,openingSequence):(e.exit("codeTextSequence"),gap(t))}(t)};function gap(u){return null===u?n(u):96===u?(a=e.enter("codeTextSequence"),o=0,function closingSequence(n){return 96===n?(e.consume(n),o++,closingSequence):o===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",data(n))}(u)):32===u?(e.enter("space"),e.consume(u),e.exit("space"),gap):i(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),gap):(e.enter("codeTextData"),data(u))}function data(t){return null===t||32===t||96===t||i(t)?(e.exit("codeTextData"),gap(t)):(e.consume(t),data)}},resolve:function(e){var t,n,i=e.length-4,o=3;if(("lineEnding"===e[3][1].type||"space"===e[o][1].type)&&("lineEnding"===e[i][1].type||"space"===e[i][1].type)){for(t=o;++t-1||4>o(a.events,"linePrefix")?e.interrupt(a.parser.constructs.flow,n,t)(l):t(l)}},partial:!0};e.exports={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),data(t)};function data(t){return null===t?contentEnd(t):i(t)?e.check(u,contentContinue,contentEnd)(t):(e.consume(t),data)}function contentEnd(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function contentContinue(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),data}},resolve:function(e){return a(e),e},interruptible:!0,lazy:!0}},93865:function(e,t,n){"use strict";var i=n(17238),o=n(88367),a=n(35478),l=n(38229),u=n(97154),s=n(52928),c=n(31056),f=n(59283),g={tokenize:function(e,t,n){return function(t){return o(t)?c(e,before)(t):n(t)};function before(t){return 34===t||39===t||40===t?f(e,s(e,after,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function after(e){return null===e||i(e)?t(e):n(e)}},partial:!0};e.exports={name:"definition",tokenize:function(e,t,n){var o,f=this;return function(t){return e.enter("definition"),u.call(f,e,labelAfter,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function labelAfter(t){return(o=a(f.sliceSerialize(f.events[f.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),c(e,l(e,e.attempt(g,s(e,after,"whitespace"),s(e,after,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function after(a){return null===a||i(a)?(e.exit("definition"),0>f.parser.defined.indexOf(o)&&f.parser.defined.push(o),t(a)):n(a)}}}},38229:function(e,t,n){"use strict";var i=n(89696),o=n(88367),a=n(17238);e.exports=function(e,t,n,l,u,s,c,f,g){var x=g||1/0,E=0;return function(t){return 60===t?(e.enter(l),e.enter(u),e.enter(s),e.consume(t),e.exit(s),destinationEnclosedBefore):i(t)||41===t?n(t):(e.enter(l),e.enter(c),e.enter(f),e.enter("chunkString",{contentType:"string"}),destinationRaw(t))};function destinationEnclosedBefore(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(u),e.exit(l),t):(e.enter(f),e.enter("chunkString",{contentType:"string"}),destinationEnclosed(n))}function destinationEnclosed(t){return 62===t?(e.exit("chunkString"),e.exit(f),destinationEnclosedBefore(t)):null===t||60===t||a(t)?n(t):(e.consume(t),92===t?destinationEnclosedEscape:destinationEnclosed)}function destinationEnclosedEscape(t){return 60===t||62===t||92===t?(e.consume(t),destinationEnclosed):destinationEnclosed(t)}function destinationRaw(a){return 40===a?++E>x?n(a):(e.consume(a),destinationRaw):41===a?E--?(e.consume(a),destinationRaw):(e.exit("chunkString"),e.exit(f),e.exit(c),e.exit(l),t(a)):null===a||o(a)?E?n(a):(e.exit("chunkString"),e.exit(f),e.exit(c),e.exit(l),t(a)):i(a)?n(a):(e.consume(a),92===a?destinationRawEscape:destinationRaw)}function destinationRawEscape(t){return 40===t||41===t||92===t?(e.consume(t),destinationRaw):destinationRaw(t)}}},97154:function(e,t,n){"use strict";var i=n(17238),o=n(73654);e.exports=function(e,t,n,a,l,u){var s,c=this,f=0;return function(t){return e.enter(a),e.enter(l),e.consume(t),e.exit(l),e.enter(u),atBreak};function atBreak(o){return null===o||91===o||93===o&&!s||94===o&&!f&&"_hiddenFootnoteSupport"in c.parser.constructs||f>999?n(o):93===o?(e.exit(u),e.enter(l),e.consume(o),e.exit(l),e.exit(a),t):i(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),atBreak):(e.enter("chunkString",{contentType:"string"}),label(o))}function label(t){return null===t||91===t||93===t||i(t)||f++>999?(e.exit("chunkString"),atBreak(t)):(e.consume(t),s=s||!o(t),92===t?labelEscape:label)}function labelEscape(t){return 91===t||92===t||93===t?(e.consume(t),f++,label):label(t)}}},52928:function(e,t,n){"use strict";var i=n(73654);e.exports=function(e,t,n,o){var a=o?o-1:1/0,l=0;return function(o){return i(o)?(e.enter(n),function prefix(o){return i(o)&&l++a&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},i={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},l(e,a,o-a+1,[["enter",n,t],["enter",i,t],["exit",i,t],["exit",n,t]])),e}}},76872:function(e,t,n){"use strict";var i=n(76734),o=n(46712),a=n(17238),l=n(88367),u=n(73654),s=n(93267),c=n(57139),f=n(16871),g=n(66532),x={tokenize:function(e,t,n){return function(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(g,t,n)}},partial:!0};e.exports={name:"htmlFlow",tokenize:function(e,t,n){var g,E,b,_,S,k=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),open};function open(o){return 33===o?(e.consume(o),declarationStart):47===o?(e.consume(o),tagCloseStart):63===o?(e.consume(o),g=3,k.interrupt?t:continuationDeclarationInside):i(o)?(e.consume(o),b=s(o),E=!0,tagName):n(o)}function declarationStart(o){return 45===o?(e.consume(o),g=2,commentOpenInside):91===o?(e.consume(o),g=5,b="CDATA[",_=0,cdataOpenInside):i(o)?(e.consume(o),g=4,k.interrupt?t:continuationDeclarationInside):n(o)}function commentOpenInside(i){return 45===i?(e.consume(i),k.interrupt?t:continuationDeclarationInside):n(i)}function cdataOpenInside(i){return i===b.charCodeAt(_++)?(e.consume(i),_===b.length?k.interrupt?t:continuation:cdataOpenInside):n(i)}function tagCloseStart(t){return i(t)?(e.consume(t),b=s(t),tagName):n(t)}function tagName(i){return null===i||47===i||62===i||l(i)?47!==i&&E&&f.indexOf(b.toLowerCase())>-1?(g=1,k.interrupt?t(i):continuation(i)):c.indexOf(b.toLowerCase())>-1?(g=6,47===i)?(e.consume(i),basicSelfClosing):k.interrupt?t(i):continuation(i):(g=7,k.interrupt?n(i):E?completeAttributeNameBefore(i):function completeClosingTagAfter(t){return u(t)?(e.consume(t),completeClosingTagAfter):completeEnd(t)}(i)):45===i||o(i)?(e.consume(i),b+=s(i),tagName):n(i)}function basicSelfClosing(i){return 62===i?(e.consume(i),k.interrupt?t:continuation):n(i)}function completeAttributeNameBefore(t){return 47===t?(e.consume(t),completeEnd):58===t||95===t||i(t)?(e.consume(t),completeAttributeName):u(t)?(e.consume(t),completeAttributeNameBefore):completeEnd(t)}function completeAttributeName(t){return 45===t||46===t||58===t||95===t||o(t)?(e.consume(t),completeAttributeName):completeAttributeNameAfter(t)}function completeAttributeNameAfter(t){return 61===t?(e.consume(t),completeAttributeValueBefore):u(t)?(e.consume(t),completeAttributeNameAfter):completeAttributeNameBefore(t)}function completeAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),S=t,completeAttributeValueQuoted):u(t)?(e.consume(t),completeAttributeValueBefore):(S=void 0,function completeAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||l(t)?completeAttributeNameAfter(t):(e.consume(t),completeAttributeValueUnquoted)}(t))}function completeAttributeValueQuoted(t){return t===S?(e.consume(t),completeAttributeValueQuotedAfter):null===t||a(t)?n(t):(e.consume(t),completeAttributeValueQuoted)}function completeAttributeValueQuotedAfter(e){return 47===e||62===e||u(e)?completeAttributeNameBefore(e):n(e)}function completeEnd(t){return 62===t?(e.consume(t),completeAfter):n(t)}function completeAfter(t){return u(t)?(e.consume(t),completeAfter):null===t||a(t)?continuation(t):n(t)}function continuation(t){return 45===t&&2===g?(e.consume(t),continuationCommentInside):60===t&&1===g?(e.consume(t),continuationRawTagOpen):62===t&&4===g?(e.consume(t),continuationClose):63===t&&3===g?(e.consume(t),continuationDeclarationInside):93===t&&5===g?(e.consume(t),continuationCharacterDataInside):a(t)&&(6===g||7===g)?e.check(x,continuationClose,continuationAtLineEnding)(t):null===t||a(t)?continuationAtLineEnding(t):(e.consume(t),continuation)}function continuationAtLineEnding(t){return e.exit("htmlFlowData"),function htmlContinueStart(t){return null===t?done(t):a(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),htmlContinueStart):(e.enter("htmlFlowData"),continuation(t))}(t)}function continuationCommentInside(t){return 45===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationRawTagOpen(t){return 47===t?(e.consume(t),b="",continuationRawEndTag):continuation(t)}function continuationRawEndTag(t){return 62===t&&f.indexOf(b.toLowerCase())>-1?(e.consume(t),continuationClose):i(t)&&b.length<8?(e.consume(t),b+=s(t),continuationRawEndTag):continuation(t)}function continuationCharacterDataInside(t){return 93===t?(e.consume(t),continuationDeclarationInside):continuation(t)}function continuationDeclarationInside(t){return 62===t?(e.consume(t),continuationClose):continuation(t)}function continuationClose(t){return null===t||a(t)?(e.exit("htmlFlowData"),done(t)):(e.consume(t),continuationClose)}function done(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){for(var t=e.length;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0}},28911:function(e,t,n){"use strict";var i=n(76734),o=n(46712),a=n(17238),l=n(88367),u=n(73654),s=n(52928);e.exports={name:"htmlText",tokenize:function(e,t,n){var c,f,g,x,E=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),open};function open(t){return 33===t?(e.consume(t),declarationOpen):47===t?(e.consume(t),tagCloseStart):63===t?(e.consume(t),instruction):i(t)?(e.consume(t),tagOpen):n(t)}function declarationOpen(t){return 45===t?(e.consume(t),commentOpen):91===t?(e.consume(t),f="CDATA[",g=0,cdataOpen):i(t)?(e.consume(t),declaration):n(t)}function commentOpen(t){return 45===t?(e.consume(t),commentStart):n(t)}function commentStart(t){return null===t||62===t?n(t):45===t?(e.consume(t),commentStartDash):comment(t)}function commentStartDash(e){return null===e||62===e?n(e):comment(e)}function comment(t){return null===t?n(t):45===t?(e.consume(t),commentClose):a(t)?(x=comment,atLineEnding(t)):(e.consume(t),comment)}function commentClose(t){return 45===t?(e.consume(t),end):comment(t)}function cdataOpen(t){return t===f.charCodeAt(g++)?(e.consume(t),g===f.length?cdata:cdataOpen):n(t)}function cdata(t){return null===t?n(t):93===t?(e.consume(t),cdataClose):a(t)?(x=cdata,atLineEnding(t)):(e.consume(t),cdata)}function cdataClose(t){return 93===t?(e.consume(t),cdataEnd):cdata(t)}function cdataEnd(t){return 62===t?end(t):93===t?(e.consume(t),cdataEnd):cdata(t)}function declaration(t){return null===t||62===t?end(t):a(t)?(x=declaration,atLineEnding(t)):(e.consume(t),declaration)}function instruction(t){return null===t?n(t):63===t?(e.consume(t),instructionClose):a(t)?(x=instruction,atLineEnding(t)):(e.consume(t),instruction)}function instructionClose(e){return 62===e?end(e):instruction(e)}function tagCloseStart(t){return i(t)?(e.consume(t),tagClose):n(t)}function tagClose(t){return 45===t||o(t)?(e.consume(t),tagClose):function tagCloseBetween(t){return a(t)?(x=tagCloseBetween,atLineEnding(t)):u(t)?(e.consume(t),tagCloseBetween):end(t)}(t)}function tagOpen(t){return 45===t||o(t)?(e.consume(t),tagOpen):47===t||62===t||l(t)?tagOpenBetween(t):n(t)}function tagOpenBetween(t){return 47===t?(e.consume(t),end):58===t||95===t||i(t)?(e.consume(t),tagOpenAttributeName):a(t)?(x=tagOpenBetween,atLineEnding(t)):u(t)?(e.consume(t),tagOpenBetween):end(t)}function tagOpenAttributeName(t){return 45===t||46===t||58===t||95===t||o(t)?(e.consume(t),tagOpenAttributeName):function tagOpenAttributeNameAfter(t){return 61===t?(e.consume(t),tagOpenAttributeValueBefore):a(t)?(x=tagOpenAttributeNameAfter,atLineEnding(t)):u(t)?(e.consume(t),tagOpenAttributeNameAfter):tagOpenBetween(t)}(t)}function tagOpenAttributeValueBefore(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,tagOpenAttributeValueQuoted):a(t)?(x=tagOpenAttributeValueBefore,atLineEnding(t)):u(t)?(e.consume(t),tagOpenAttributeValueBefore):(e.consume(t),c=void 0,tagOpenAttributeValueUnquoted)}function tagOpenAttributeValueQuoted(t){return t===c?(e.consume(t),tagOpenAttributeValueQuotedAfter):null===t?n(t):a(t)?(x=tagOpenAttributeValueQuoted,atLineEnding(t)):(e.consume(t),tagOpenAttributeValueQuoted)}function tagOpenAttributeValueQuotedAfter(e){return 62===e||47===e||l(e)?tagOpenBetween(e):n(e)}function tagOpenAttributeValueUnquoted(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||l(t)?tagOpenBetween(t):(e.consume(t),tagOpenAttributeValueUnquoted)}function atLineEnding(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s(e,afterPrefix,"linePrefix",E.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function afterPrefix(t){return e.enter("htmlTextData"),x(t)}function end(i){return 62===i?(e.consume(i),e.exit("htmlTextData"),e.exit("htmlText"),t):n(i)}}}},31294:function(e,t,n){"use strict";var i=n(88367),o=n(78811),a=n(56808),l=n(35478),u=n(58280),s=n(75923),c=n(38229),f=n(97154),g=n(59283),x=n(31056),E={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),x(e,open)};function open(t){return 41===t?end(t):c(e,destinationAfter,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function destinationAfter(t){return i(t)?x(e,between)(t):end(t)}function between(t){return 34===t||39===t||40===t?g(e,x(e,end),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):end(t)}function end(i){return 41===i?(e.enter("resourceMarker"),e.consume(i),e.exit("resourceMarker"),e.exit("resource"),t):n(i)}}},b={tokenize:function(e,t,n){var i=this;return function(t){return f.call(i,e,afterLabel,n,"reference","referenceMarker","referenceString")(t)};function afterLabel(e){return 0>i.parser.defined.indexOf(l(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?n(e):t(e)}}},_={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),open};function open(i){return 93===i?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}};e.exports={name:"labelEnd",tokenize:function(e,t,n){for(var i,o,a=this,u=a.events.length;u--;)if(("labelImage"===a.events[u][1].type||"labelLink"===a.events[u][1].type)&&!a.events[u][1]._balanced){i=a.events[u][1];break}return function(t){return i?i._inactive?balanced(t):(o=a.parser.defined.indexOf(l(a.sliceSerialize({start:i.end,end:a.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),afterLabelEnd):n(t)};function afterLabelEnd(n){return 40===n?e.attempt(E,t,o?t:balanced)(n):91===n?e.attempt(b,t,o?e.attempt(_,t,balanced):balanced)(n):o?t(n):balanced(n)}function balanced(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){for(var n,i,l,c,f,g,x,E=e.length,b=0;E--;)if(c=e[E][1],f){if("link"===c.type||"labelLink"===c.type&&c._inactive)break;"enter"===e[E][0]&&"labelLink"===c.type&&(c._inactive=!0)}else if(g){if("enter"===e[E][0]&&("labelImage"===c.type||"labelLink"===c.type)&&!c._balanced&&(f=E,"labelLink"!==c.type)){b=2;break}}else"labelEnd"===c.type&&(g=E);return n={type:"labelLink"===e[f][1].type?"link":"image",start:s(e[f][1].start),end:s(e[e.length-1][1].end)},i={type:"label",start:s(e[f][1].start),end:s(e[g][1].end)},l={type:"labelText",start:s(e[f+b+2][1].end),end:s(e[g-2][1].start)},x=o(x=[["enter",n,t],["enter",i,t]],e.slice(f+1,f+b+3)),x=o(x,[["enter",l,t]]),x=o(x,u(t.parser.constructs.insideSpan.null,e.slice(f+b+4,g-3),t)),x=o(x,[["exit",l,t],e[g-2],e[g-1],["exit",i,t]]),x=o(x,e.slice(g+1)),x=o(x,[["exit",n,t]]),a(e,f,e.length,x),e},resolveAll:function(e){for(var t,n=-1;++n-1?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},g={tokenize:function(e,t,n){var i=this;return u(e,function(e){return o(e)||!a(i.events,"listItemPrefixWhitespace")?n(e):t(e)},"listItemPrefixWhitespace",i.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},x={tokenize:function(e,t,n){var i=this;return u(e,function(e){return a(i.events,"listItemIndent")===i.containerState.size?t(e):n(e)},"listItemIndent",i.containerState.size+1)},partial:!0};e.exports=f},66532:function(e,t,n){"use strict";var i=n(17238),o=n(52928);e.exports={tokenize:function(e,t,n){return o(e,function(e){return null===e||i(e)?t(e):n(e)},"linePrefix")},partial:!0}},15874:function(e,t,n){"use strict";var i=n(17238),o=n(75923),a=n(52928);e.exports={name:"setextUnderline",tokenize:function(e,t,n){for(var o,l,u=this,s=u.events.length;s--;)if("lineEnding"!==u.events[s][1].type&&"linePrefix"!==u.events[s][1].type&&"content"!==u.events[s][1].type){l="paragraph"===u.events[s][1].type;break}return function(t){return!u.lazy&&(u.interrupt||l)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,function closingSequence(t){return t===o?(e.consume(t),closingSequence):(e.exit("setextHeadingLineSequence"),a(e,closingSequenceEnd,"lineSuffix")(t))}(t)):n(t)};function closingSequenceEnd(o){return null===o||i(o)?(e.exit("setextHeadingLine"),t(o)):n(o)}},resolveTo:function(e,t){for(var n,i,a,l,u=e.length;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){n=u;break}"paragraph"===e[u][1].type&&(i=u)}else"content"===e[u][1].type&&e.splice(u,1),a||"definition"!==e[u][1].type||(a=u);return l={type:"setextHeading",start:o(e[i][1].start),end:o(e[e.length-1][1].end)},e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=o(e[a][1].end)):e[n][1]=l,e.push(["exit",l,t]),e}}},37039:function(e,t,n){"use strict";var i=n(17238),o=n(73654),a=n(52928);e.exports={name:"thematicBreak",tokenize:function(e,t,n){var l,u=0;return function(s){return e.enter("thematicBreak"),l=s,function atBreak(s){return s===l?(e.enter("thematicBreakSequence"),function sequence(t){return t===l?(e.consume(t),u++,sequence):(e.exit("thematicBreakSequence"),atBreak(t))}(s)):o(s)?a(e,atBreak,"whitespace")(s):u<3||null!==s&&!i(s)?n(s):(e.exit("thematicBreak"),t(s))}(s)}}}},78811:function(e,t,n){"use strict";var i=n(56808);e.exports=function(e,t){return e.length?(i(e,e.length,0,t),e):t}},56808:function(e,t,n){"use strict";var i=n(21362);e.exports=function(e,t,n,o){var a,l=e.length,u=0;if(t=t<0?-t>l?0:l+t:t>l?l:t,n=n>0?n:0,o.length<1e4)(a=Array.from(o)).unshift(t,n),i.apply(e,a);else for(n&&i.apply(e,[t,n]);u-1)?nok():e.tokenize.call(t?i({},w,t):w,k,ok,nok)(n)}}function ok(t){return e(c,f),o}function nok(e){return(f.restore(),++sb.indexOf(e)&&b.push(e),e.resolve&&l(w.events,t,w.events.length-t,e.resolve(w.events.slice(t),w)),e.resolveTo&&(w.events=e.resolveTo(w.events,w))}function accountForPotentialSkip(){x.line in E&&x.column<2&&(x.column=E[x.line],x.offset+=E[x.line]-1)}}},28180:function(e){"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},15644:function(e){"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},35478:function(e){"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},15096:function(e,t,n){"use strict";var i=n(18892);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?i(n[2].sliceStream(n[1])):0}},2841:function(e,t,n){"use strict";var i=n(93267);e.exports=function(e){return function(t){return e.test(i(t))}}},58280:function(e){"use strict";e.exports=function(e,t,n){for(var i,o=[],a=-1;++ao.indexOf(i)&&(t=i(t,n),o.push(i));return t}},10596:function(e,t,n){"use strict";var i=n(93267);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"ďż˝":i(n)}},23082:function(e,t,n){"use strict";var i=n(93267);e.exports=function(e){for(var t,n,o,a=-1,l=[];++a-1&&(n[0]=n[0].slice(o)),l>0&&n.push(e[a].slice(0,l))),n}},84423:function(e,t,n){"use strict";var i=n(99198),o=n(56808),a=n(75923);e.exports=function(e){for(var t,n,l,u,s,c,f,g={},x=-1;++x4&&x.slice(0,4)===l&&u.test(t)&&("-"===t.charAt(4)?E=l+(n=t.slice(5).replace(s,camelcase)).charAt(0).toUpperCase()+n.slice(1):(g=(f=t).slice(4),t=s.test(g)?f:("-"!==(g=g.replace(c,kebab)).charAt(0)&&(g="-"+g),l+g)),b=o),new b(E,t))};var u=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function kebab(e){return"-"+e.toLowerCase()}function camelcase(e){return e.charAt(1).toUpperCase()}},97247:function(e,t,n){"use strict";var i=n(19940),o=n(8289),a=n(5812),l=n(94397),u=n(67716),s=n(61805);e.exports=i([a,o,l,u,s])},67716:function(e,t,n){"use strict";var i=n(17e3),o=n(17596),a=i.booleanish,l=i.number,u=i.spaceSeparated;e.exports=o({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:l,ariaColIndex:l,ariaColSpan:l,ariaControls:u,ariaCurrent:null,ariaDescribedBy:u,ariaDetails:null,ariaDisabled:a,ariaDropEffect:u,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:u,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:u,ariaLevel:l,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:u,ariaPlaceholder:null,ariaPosInSet:l,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:u,ariaRowCount:l,ariaRowIndex:l,ariaRowSpan:l,ariaSelected:a,ariaSetSize:l,ariaSort:null,ariaValueMax:l,ariaValueMin:l,ariaValueNow:l,ariaValueText:null,role:null}})},61805:function(e,t,n){"use strict";var i=n(17e3),o=n(17596),a=n(10855),l=i.boolean,u=i.overloadedBoolean,s=i.booleanish,c=i.number,f=i.spaceSeparated,g=i.commaSeparated;e.exports=o({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:g,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:l,allowPaymentRequest:l,allowUserMedia:l,alt:null,as:null,async:l,autoCapitalize:null,autoComplete:f,autoFocus:l,autoPlay:l,capture:l,charSet:null,checked:l,cite:null,className:f,cols:c,colSpan:null,content:null,contentEditable:s,controls:l,controlsList:f,coords:c|g,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l,defer:l,dir:null,dirName:null,disabled:l,download:u,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l,formTarget:null,headers:f,height:c,hidden:l,high:c,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:g,inputMode:null,integrity:null,is:null,isMap:l,itemId:null,itemProp:f,itemRef:f,itemScope:l,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:l,muted:l,name:null,nonce:null,noModule:l,noValidate:l,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l,optimum:c,pattern:null,ping:f,placeholder:null,playsInline:l,poster:null,preload:null,readOnly:l,referrerPolicy:null,rel:f,required:l,reversed:l,rows:c,rowSpan:c,sandbox:f,scope:null,scoped:l,seamless:l,selected:l,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:g,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:l,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l,declare:l,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:l,noHref:l,noShade:l,noWrap:l,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:l,disableRemotePlayback:l,prefix:null,property:null,results:c,security:null,unselectable:null}})},45789:function(e,t,n){"use strict";var i=n(17e3),o=n(17596),a=n(28740),l=i.boolean,u=i.number,s=i.spaceSeparated,c=i.commaSeparated,f=i.commaOrSpaceSeparated;e.exports=o({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:a,properties:{about:f,accentHeight:u,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:u,amplitude:u,arabicForm:null,ascent:u,attributeName:null,attributeType:null,azimuth:u,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:u,by:null,calcMode:null,capHeight:u,className:s,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:u,diffuseConstant:u,direction:null,display:null,dur:null,divisor:u,dominantBaseline:null,download:l,dx:null,dy:null,edgeMode:null,editable:null,elevation:u,enableBackground:null,end:null,event:null,exponent:u,externalResourcesRequired:null,fill:null,fillOpacity:u,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:c,g2:c,glyphName:c,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:u,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:u,horizOriginX:u,horizOriginY:u,id:null,ideographic:u,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:u,k:u,k1:u,k2:u,k3:u,k4:u,kernelMatrix:f,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:u,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:u,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:u,overlineThickness:u,paintOrder:null,panose1:null,path:null,pathLength:u,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:s,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:u,pointsAtY:u,pointsAtZ:u,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:f,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:f,rev:f,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:f,requiredFeatures:f,requiredFonts:f,requiredFormats:f,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:u,specularExponent:u,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:u,strikethroughThickness:u,string:null,stroke:null,strokeDashArray:f,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:u,strokeOpacity:u,strokeWidth:null,style:null,surfaceScale:u,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:f,tabIndex:u,tableValues:null,target:null,targetX:u,targetY:u,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:f,to:null,transform:null,u1:null,u2:null,underlinePosition:u,underlineThickness:u,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:u,values:null,vAlphabetic:u,vMathematical:u,vectorEffect:null,vHanging:u,vIdeographic:u,version:null,vertAdvY:u,vertOriginX:u,vertOriginY:u,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:u,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},10855:function(e,t,n){"use strict";var i=n(28740);e.exports=function(e,t){return i(e,t.toLowerCase())}},28740:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:function(e,t,n){"use strict";var i=n(66632),o=n(99607),a=n(98805);e.exports=function(e){var t,n,l=e.space,u=e.mustUseProperty||[],s=e.attributes||{},c=e.properties,f=e.transform,g={},x={};for(t in c)n=new a(t,f(s,t),c[t],l),-1!==u.indexOf(t)&&(n.mustUseProperty=!0),g[t]=n,x[i(t)]=t,x[i(n.attribute)]=t;return new o(g,x,l)}},98805:function(e,t,n){"use strict";var i=n(57643),o=n(17e3);e.exports=DefinedInfo,DefinedInfo.prototype=new i,DefinedInfo.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],l=a.length;function DefinedInfo(e,t,n,u){var s,c,f,g=-1;for(u&&(this.space=u),i.call(this,e,t);++g=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=u.get(t.target))||n.forEach(function(e){e(o,t)})})},e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:u},o.set(t,n)}return n}(n),f=c.id,g=c.observer,x=c.elements,E=x.get(e)||[];return x.has(e)||x.set(e,E),E.push(t),g.observe(e),function(){E.splice(E.indexOf(t),1),0===E.length&&(x.delete(e),g.unobserve(e)),0===x.size&&(g.disconnect(),o.delete(f))}}var s=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(e){return"function"!=typeof e.children}var c=function(e){function InView(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),isPlainChildren(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}InView.prototype=Object.create(e.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,e);var t=InView.prototype;return t.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},t.componentWillUnmount=function(){this.unobserve(),this.node=null},t.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,i=e.rootMargin,o=e.trackVisibility,a=e.delay,l=e.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:t,root:n,rootMargin:i,trackVisibility:o,delay:a},l)}},t.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},t.render=function(){if(!isPlainChildren(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}var o=this.props,a=o.children,l=o.as,u=function(e,t){if(null==e)return{};var n,i,o={},a=Object.keys(e);for(i=0;i=0||(o[n]=e[n]);return o}(o,s);return i.createElement(l||"div",_extends({ref:this.handleNode},u),a)},InView}(i.Component);function useInView(e){var t=void 0===e?{}:e,n=t.threshold,o=t.delay,a=t.trackVisibility,l=t.rootMargin,u=t.root,s=t.triggerOnce,c=t.skip,f=t.initialInView,g=t.fallbackInView,x=i.useRef(),E=i.useState({inView:!!f}),b=E[0],_=E[1],S=i.useCallback(function(e){void 0!==x.current&&(x.current(),x.current=void 0),!c&&e&&(x.current=observe(e,function(e,t){_({inView:e,entry:t}),t.isIntersecting&&s&&x.current&&(x.current(),x.current=void 0)},{root:u,rootMargin:l,threshold:n,trackVisibility:a,delay:o},g))},[Array.isArray(n)?n.toString():n,u,l,s,c,a,g,o]);(0,i.useEffect)(function(){x.current||!b.entry||s||c||_({inView:!!f})});var k=[S,b.inView,b.entry];return k.ref=k[0],k.inView=k[1],k.entry=k[2],k}c.displayName="InView",c.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},71471:function(e,t){"use strict";/** @license React v17.0.2 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var n=60103,i=60106,o=60107,a=60108,l=60114,u=60109,s=60110,c=60112,f=60113,g=60120,x=60115,E=60116,b=60121,_=60122,S=60117,k=60129,w=60131;if("function"==typeof Symbol&&Symbol.for){var C=Symbol.for;n=C("react.element"),i=C("react.portal"),o=C("react.fragment"),a=C("react.strict_mode"),l=C("react.profiler"),u=C("react.provider"),s=C("react.context"),c=C("react.forward_ref"),f=C("react.suspense"),g=C("react.suspense_list"),x=C("react.memo"),E=C("react.lazy"),b=C("react.block"),_=C("react.server.block"),S=C("react.fundamental"),k=C("react.debug_trace_mode"),w=C("react.legacy_hidden")}function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case l:case a:case f:case g:return e;default:switch(e=e&&e.$$typeof){case s:case c:case E:case x:case u:return e;default:return t}}case i:return t}}}var T=u,L=n,A=c,I=o,D=E,B=x,N=i,M=l,R=a,j=f;t.ContextConsumer=s,t.ContextProvider=T,t.Element=L,t.ForwardRef=A,t.Fragment=I,t.Lazy=D,t.Memo=B,t.Portal=N,t.Profiler=M,t.StrictMode=R,t.Suspense=j,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===s},t.isContextProvider=function(e){return y(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===c},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===E},t.isMemo=function(e){return y(e)===x},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===l},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===k||e===a||e===f||e===g||e===w||"object"==typeof e&&null!==e&&(e.$$typeof===E||e.$$typeof===x||e.$$typeof===u||e.$$typeof===s||e.$$typeof===c||e.$$typeof===S||e.$$typeof===b||e[0]===_)},t.typeOf=y},82143:function(e,t,n){"use strict";e.exports=n(71471)},82076:function(e,t,n){"use strict";let i=n(67294),o=n(82143),a=n(11218),l=n(99560),u=n(99640),s=n(36582),c=n(56851),f=n(57848);t.D=function childrenToReact(e,t){let n;let E=[],b=-1;for(;++bString(e)).join("")),!A&&b.rawSourcePos&&(k.sourcePosition=t.position),!A&&b.includeElementIndex&&(k.index=getElementsBeforeCount(x,t),k.siblingCount=getElementsBeforeCount(x)),A||(k.node=t),C.length>0?i.createElement(L,k,C):i.createElement(L,k)}(e,n,b,t)):"text"===n.type?"element"===t.type&&x.has(t.tagName)&&"\n"===n.value||E.push(n.value):"raw"!==n.type||e.options.skipHtml||E.push(n.value);return E};let g={}.hasOwnProperty,x=new Set(["table","thead","tbody","tfoot","tr"]);function getElementsBeforeCount(e,t){let n=-1,i=0;for(;++n for more info)`),delete b[t]}let n=a().use(l).use(e.remarkPlugins||e.plugins||[]).use(u,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(f,e);"string"==typeof e.children?t=o(e.children):(void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),t=o());let s=n.runSync(n.parse(t),t);if("root"!==s.type)throw TypeError("Expected a `root` node");let g=i.createElement(i.Fragment,{},x({options:e,schema:c,listDepth:0},s));return e.className&&(g=i.createElement("div",{className:e.className},g)),g}ReactMarkdown.defaultProps={transformLinkUri:g},ReactMarkdown.propTypes={children:s.string,className:s.string,allowElement:s.func,allowedElements:s.arrayOf(s.string),disallowedElements:s.arrayOf(s.string),unwrapDisallowed:s.bool,remarkPlugins:s.arrayOf(s.oneOfType([s.object,s.func,s.arrayOf(s.oneOfType([s.object,s.func]))])),rehypePlugins:s.arrayOf(s.oneOfType([s.object,s.func,s.arrayOf(s.oneOfType([s.object,s.func]))])),sourcePos:s.bool,rawSourcePos:s.bool,skipHtml:s.bool,includeElementIndex:s.bool,transformLinkUri:s.oneOfType([s.func,s.bool]),linkTarget:s.oneOfType([s.func,s.string]),transformImageUri:s.func,components:s.object},ReactMarkdown.uriTransformer=g},26625:function(e,t,n){let i=n(62854);e.exports=function(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return e=>{i(e,"element",onelement)};function onelement(t,n,i){let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"==typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}}},40100:function(e){let t=["http","https","mailto","tel"];e.exports=function(e){let n=(e||"").trim(),i=n.charAt(0);if("#"===i||"/"===i)return n;let o=n.indexOf(":");if(-1===o)return n;let a=-1;for(;++aa||-1!==(a=n.indexOf("#"))&&o>a?n:"javascript:void(0)"}},87737:function(e,t,n){var i=Object.create,o=Object.defineProperty,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=Object.getOwnPropertyNames,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertySymbols,f=Object.prototype.propertyIsEnumerable,g=Object.assign,O=e=>o(e,"__esModule",{value:!0}),m=(e,t)=>{var n={};for(var i in e)l.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&c)for(var i of c(e))0>t.indexOf(i)&&f.call(e,i)&&(n[i]=e[i]);return n},Q=(e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of u(t))l.call(e,i)||"default"===i||o(e,i,{get:()=>t[i],enumerable:!(n=s(t,i))||n.enumerable});return e},P=e=>Q(O(o(null!=e?i(a(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);O(t),((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(t,{blockContentToPlainText:()=>Z,default:()=>S});var x=P(n(67294)),E=P(n(45697)),b=P(n(88863)),_=b.default.defaultSerializers,q=e=>{var{content:t,className:n,serializers:i={},dataset:o,projectId:a}=e,l=m(e,["content","className","serializers","dataset","projectId"]);if(!t)throw Error("No `content` provided to PortableText.");return x.default.createElement(b.default,g({blocks:t,className:n,serializers:V(i),renderContainerOnSingleChild:!0,dataset:o,projectId:a},l))},S=q;q.propTypes={content:E.default.array.isRequired,className:E.default.string,projectId:E.default.string,dataset:E.default.string,ignoreUnknownTypes:E.default.bool,serializers:E.default.shape({link:E.default.elementType,strong:E.default.elementType,em:E.default.elementType,underline:E.default.elementType,del:E.default.elementType,code:E.default.elementType,ul:E.default.elementType,ol:E.default.elementType,li:E.default.elementType,h1:E.default.elementType,h2:E.default.elementType,h3:E.default.elementType,h4:E.default.elementType,h5:E.default.elementType,h6:E.default.elementType,blockquote:E.default.elementType,container:E.default.elementType,block:E.default.elementType,span:E.default.elementType,hardBreak:E.default.elementType,unknownType:E.default.elementType,unknownMark:E.default.elementType})};var V=e=>{let{link:t,strong:n,em:i,underline:o,del:a,code:l,ul:u,ol:s,li:c,h1:f,h2:E,h3:S,h4:k,h5:w,h6:C,blockquote:T,container:L="div",block:A=_.BlockSerializer,span:I=_.SpanSerializer,hardBreak:D=_.HardBreakSerializer,unknownType:B=_.DefaultUnknownTypeSerializer,unknownMark:N="span"}=e,M=m(e,["link","strong","em","underline","del","code","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","container","block","span","hardBreak","unknownType","unknownMark"]),R={h1:f,h2:E,h3:S,h4:k,h5:w,h6:C,blockquote:T};return{container:L,block:A,span:I,hardBreak:D,unknownType:B,unknownMark:N,marks:Y(g({link:t,strong:n,em:i,underline:o,code:l,"strike-through":a},M)),list:e=>{let{type:t,children:n}=e,i="bullet"===t?u:s;return i?i({children:n}):b.default.defaultSerializers.list(e)},listItem:e=>{let{children:t}=e;return c?c({children:t}):b.default.defaultSerializers.listItem(e)},types:g({block:e=>{let{node:{style:t},children:n}=e;return R[t]?R[t]({children:n}):M[t]?M[t]({children:n}):b.default.defaultSerializers.types.block(e)}},Object.entries(M).reduce((e,[t,n])=>{let d=({node:e})=>x.default.createElement(n,e);return d.displayName=`${v(t)}Wrapper`,e[t]=d,e},{}))}},Y=e=>Object.entries(e).reduce((e,[t,n])=>{if(n){let p=e=>{var{_type:t,_key:i,mark:o,markKey:a,children:l}=e,u=m(e,["_type","_key","mark","markKey","children"]);if("object"==typeof o){let{_type:e,_key:t}=o;Object.entries(m(o,["_type","_key"])).forEach(([e,t])=>{u[e]=t})}return x.default.createElement(n,u,l)};p.displayName=`${v(t)}Wrapper`,e[t]=p}return e},{}),Z=(e=[])=>e.map(e=>"block"===e._type&&e.children?e.children.map(e=>e.text).join(""):"").join(` `),v=e=>e.slice(0,1).toUpperCase()+e.slice(1)},25726:function(e,t,n){"use strict";function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);no.length;a&&o.push(done);try{n=e.apply(null,o)}catch(e){if(a&&i)throw e;return done(e)}a||(n&&"function"==typeof n.then?n.then(then,done):n instanceof Error?done(n):then(n))};function done(){i||(i=!0,n.apply(null,arguments))}function then(e){done(null,e)}}},18835:function(e,t,n){"use strict";var i=n(18869),o=n(73469),a=n(94470),l=n(33310),u=n(28281),s=n(10939);e.exports=(function unified(){var e,t=[],n=u(),o={},x=-1;return processor.data=function(t,n){return"string"==typeof t?2==arguments.length?(assertUnfrozen("data",e),o[t]=n,processor):f.call(o,t)&&o[t]||null:t?(assertUnfrozen("data",e),o=t,processor):o},processor.freeze=freeze,processor.attachers=t,processor.use=function(n){var i;if(assertUnfrozen("use",e),null==n);else if("function"==typeof n)addPlugin.apply(null,arguments);else if("object"==typeof n)"length"in n?addList(n):addPreset(n);else throw Error("Expected usable value, not `"+n+"`");return i&&(o.settings=a(o.settings||{},i)),processor;function addPreset(e){addList(e.plugins),e.settings&&(i=a(i||{},e.settings))}function addList(e){var t=-1;if(null==e);else if("object"==typeof e&&"length"in e)for(;++t * @license MIT */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},50914:function(e){"use strict";e.exports=function(e,t,n){var i;return null==n&&("object"!=typeof t||Array.isArray(t))&&(n=t,t={}),i=Object.assign({type:String(e)},t),Array.isArray(n)?i.children=n:null!=n&&(i.value=String(n)),i}},61744:function(e){"use strict";e.exports=function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}},48145:function(e){"use strict";function ok(){return!0}e.exports=function convert(e){if(null==e)return ok;if("string"==typeof e)return function(t){return!!(t&&t.type===e)};if("object"==typeof e)return"length"in e?function(e){for(var t=[],n=-1;++n":""))+")"),visit;function visit(){var o,f,g,x=c.concat(e),E=[];if((!t||s(e,i,c[c.length-1]||null))&&!1===(E=null!==(o=n(e,c))&&"object"==typeof o&&"length"in o?o:"number"==typeof o?[!0,o]:[o])[0])return E;if(e.children&&E[0]!==a)for(g=(l?e.children.length:-1)+u;g>-1&&gu.indexOf(t)&&(this[t]=e[t])}function assertPart(e,t){if(e&&e.indexOf(i.sep)>-1)throw Error("`"+t+"` cannot be a path: did not expect `"+i.sep+"`")}function assertNonEmpty(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function assertPath(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}VFile.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(VFile.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){assertNonEmpty(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(VFile.prototype,"dirname",{get:function(){return"string"==typeof this.path?i.dirname(this.path):void 0},set:function(e){assertPath(this.path,"dirname"),this.path=i.join(e||"",this.basename)}}),Object.defineProperty(VFile.prototype,"basename",{get:function(){return"string"==typeof this.path?i.basename(this.path):void 0},set:function(e){assertNonEmpty(e,"basename"),assertPart(e,"basename"),this.path=i.join(this.dirname||"",e)}}),Object.defineProperty(VFile.prototype,"extname",{get:function(){return"string"==typeof this.path?i.extname(this.path):void 0},set:function(e){if(assertPart(e,"extname"),assertPath(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw Error("`extname` cannot contain multiple dots")}this.path=i.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(VFile.prototype,"stem",{get:function(){return"string"==typeof this.path?i.basename(this.path,this.extname):void 0},set:function(e){assertNonEmpty(e,"stem"),assertPart(e,"stem"),this.path=i.join(this.dirname||"",e+(this.extname||""))}})},65905:function(e,t,n){"use strict";var i=n(80734),o=n(45442);e.exports=o,o.prototype.message=function(e,t,n){var o=new i(e,t,n);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o},o.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},o.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},28064:function(e,t){"use strict";function assertPath(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var n,i,o,a,l=0,u=-1;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');if(assertPath(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(o){l=n+1;break}}else u<0&&(o=!0,u=n+1);return u<0?"":e.slice(l,u)}if(t===e)return"";for(i=-1,a=t.length-1;n--;)if(47===e.charCodeAt(n)){if(o){l=n+1;break}}else i<0&&(o=!0,i=n+1),a>-1&&(e.charCodeAt(n)===t.charCodeAt(a--)?a<0&&(u=n):(a=-1,u=i));return l===u?u=i:u<0&&(u=e.length),e.slice(l,u)},t.dirname=function(e){var t,n,i;if(assertPath(e),!e.length)return".";for(t=-1,i=e.length;--i;)if(47===e.charCodeAt(i)){if(n){t=i;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,n,i,o=-1,a=0,l=-1,u=0;for(assertPath(e),i=e.length;i--;){if(47===(n=e.charCodeAt(i))){if(t){a=i+1;break}continue}l<0&&(t=!0,l=i+1),46===n?o<0?o=i:1!==u&&(u=1):o>-1&&(u=-1)}return o<0||l<0||0===u||1===u&&o===l-1&&o===a+1?"":e.slice(o,l)},t.join=function(){for(var e,t,n,i,o=-1;++o2){if((i=o.lastIndexOf("/"))!==o.length-1){i<0?(o="",a=0):a=(o=o.slice(0,i)).length-1-o.lastIndexOf("/"),l=s,u=0;continue}}else if(o.length){o="",a=0,l=s,u=0;continue}}t&&(o=o.length?o+"/..":"..",a=2)}else o.length?o+="/"+e.slice(l+1,s):o=e.slice(l+1,s),a=s-l-1;l=s,u=0}else 46===n&&u>-1?u++:u=-1}return o}(e,!t)).length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n)},t.sep="/"},54228:function(e,t){"use strict";t.cwd=function(){return"/"}},70529:function(e){/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},47529:function(e){e.exports=function(){for(var e={},n=0;n1?t[1]:t[0]},formatNumber=function(e){return e>999999?"".concat((e/1e6).toFixed(1),"M"):e>999?"".concat((e/1e3).toFixed(1),"K"):e.toString()};function getEntities(e){var t,n=Array.from(e.text),i=[{indices:e.display_text_range,type:"text"}];return addEntities(i,"hashtag",e.entities.hashtags),addEntities(i,"mention",e.entities.user_mentions),addEntities(i,"url",e.entities.urls),addEntities(i,"symbol",e.entities.symbols),e.entities.media&&addEntities(i,"media",e.entities.media),e.entities.media&&e.entities.media[0].indices[0]e.display_text_range[1]&&(t.indices[1]=e.display_text_range[1]),i.map(function(e){var t=n.slice(e.indices[0],e.indices[1]).join("");switch(e.type){case"hashtag":return Object.assign(e,{href:"https://twitter.com/hashtag/".concat(e.text),text:t});case"mention":return Object.assign(e,{href:getUserUrl(e.screen_name),text:t});case"url":case"media":return Object.assign(e,{href:e.expanded_url,text:e.display_url});case"symbol":return Object.assign(e,{href:"https://twitter.com/search?q=%24".concat(e.text),text:t});default:return Object.assign(e,{text:t})}})}function addEntities(e,t,n){var i=!0,o=!1,a=void 0;try{for(var l,u=n[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var s=l.value,f=!0,g=!1,x=void 0;try{for(var E,b=e.entries()[Symbol.iterator]();!(f=(E=b.next()).done);f=!0){var _=(0,w._)(E.value,2),S=_[0],T=_[1];if(!(T.indices[0]>s.indices[0])&&!(T.indices[1]s.indices[1]&&L.push({indices:[s.indices[1],T.indices[1]],type:"text"}),e.splice.apply(e,[S,1].concat((0,C._)(L)));break}}}catch(e){g=!0,x=e}finally{try{f||null==b.return||b.return()}finally{if(g)throw x}}}}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}}var T=n(31477),L=n(46742),TweetMediaVideo=function(e){var t=e.tweet,n=e.media,i=(0,w._)((0,S.useState)(!0),2),a=i[0],l=i[1],u=(0,w._)((0,S.useState)(!1),2),s=u[0],c=u[1],f=(0,w._)((0,S.useState)(!1),2),g=f[0],x=f[1],E=getMp4Video(n),b=0;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("video",{className:T.image,poster:getMediaUrl(n,"small"),controls:!a,muted:!0,preload:"metadata",tabIndex:a?-1:0,onPlay:function(){b&&window.clearTimeout(b),s||c(!0),g&&x(!1)},onPause:function(){b&&window.clearTimeout(b),b=window.setTimeout(function(){s&&c(!1),b=0},100)},onEnded:function(){x(!0)},children:(0,o.jsx)("source",{src:E.url,type:E.content_type})}),a&&(0,o.jsx)("button",{type:"button",className:L.videoButton,"aria-label":"View video on Twitter",onClick:function(e){var t=e.currentTarget.previousSibling;e.preventDefault(),l(!1),c(!0),t.play(),t.focus()},children:(0,o.jsx)("svg",{viewBox:"0 0 24 24",className:L.videoButtonIcon,"aria-hidden":"true",children:(0,o.jsx)("g",{children:(0,o.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!s&&!g&&(0,o.jsx)("div",{className:L.watchOnTwitter,children:(0,o.jsx)("a",{href:t.url,className:L.anchor,target:"_blank",rel:"noopener noreferrer",children:a?"Watch on Twitter":"Continue watching on Twitter"})}),g&&(0,o.jsx)("a",{href:t.url,className:dist_clsx(L.anchor,L.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},MediaImg=function(e){return(0,o.jsx)("img",(0,c._)({},e))},getSkeletonStyle=function(e,t){var n=56.25;return 1===t&&(n=100/e.original_info.width*e.original_info.height),2===t&&(n*=2),{width:"photo"===e.type?void 0:"unset",paddingBottom:"".concat(n,"%")}},TweetMedia=function(e){var t,n,i,a,l=e.tweet,u=e.components,s=e.quoted,c=null!=(i=null==(t=l.mediaDetails)?void 0:t.length)?i:0,f=null!=(a=null==u?void 0:u.MediaImg)?a:MediaImg;return(0,o.jsx)("div",{className:dist_clsx(T.root,!s&&T.rounded),children:(0,o.jsx)("div",{className:dist_clsx(T.mediaWrapper,c>1&&T.grid2Columns,3===c&&T.grid3,c>4&&T.grid2x2),children:null==(n=l.mediaDetails)?void 0:n.map(function(e){return(0,o.jsx)(S.Fragment,{children:"photo"===e.type?(0,o.jsxs)("a",{href:l.url,className:dist_clsx(T.mediaContainer,T.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,o.jsx)("div",{className:T.skeleton,style:getSkeletonStyle(e,c)}),(0,o.jsx)(f,{src:getMediaUrl(e,"small"),alt:e.ext_alt_text||"Image",className:T.image,draggable:!0})]},e.media_url_https):(0,o.jsxs)("div",{className:T.mediaContainer,children:[(0,o.jsx)("div",{className:T.skeleton,style:getSkeletonStyle(e,c)}),(0,o.jsx)(TweetMediaVideo,{tweet:l,media:e})]},e.media_url_https)},e.media_url_https)})})})},A=n(15616),I=n(11010),D=n(70655),B=n(61688),N=n(88421),noop=function(){},M=noop(),R=Object,isUndefined=function(e){return e===M},isFunction=function(e){return"function"==typeof e},mergeObjects=function(e,t){return(0,c._)({},e,t)},j=new WeakMap,F=0,stableHash=function(e){var t,n,i=void 0===e?"undefined":(0,N._)(e),o=e&&e.constructor,a=o==Date;if(R(e)!==e||a||o==RegExp)t=a?e.toJSON():"symbol"==i?e.toString():"string"==i?JSON.stringify(e):""+e;else{if(t=j.get(e))return t;if(t=++F+"~",j.set(e,t),o==Array){for(n=0,t="@";na))&&setTimeout(i,u,o)},onDiscarded:noop,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eo?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eo?5e3:3e3,compare:function(e,t){return stableHash(e)==stableHash(t)},isPaused:function(){return!1},cache:es,mutate:eu[1],fallback:{}},{isOnline:function(){return W},isVisible:function(){var e=G&&document.visibilityState;return isUndefined(e)||"hidden"!==e}}),mergeConfigs=function(e,t){var n=mergeObjects(e,t);if(t){var i=e.use,o=e.fallback,a=t.use,l=t.fallback;i&&a&&(n.use=i.concat(a)),o&&l&&(n.fallback=mergeObjects(o,l))}return n},ed=(0,S.createContext)({}),ef=window.__SWR_DEVTOOLS_USE__,ep=(ef?window.__SWR_DEVTOOLS_USE__:[]).concat(function(e){return function(t,n,i){var o=n&&function(){for(var e=arguments.length,i=Array(e),o=0;o=0&&(i[e]=i[i.length-1],i.pop())}};ef&&(window.__SWR_DEVTOOLS_REACT__=S);var eh=S.use||function(e){if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(function(t){e.status="fulfilled",e.value=t},function(t){e.status="rejected",e.reason=t}),e},em={dedupe:!0};R.defineProperty(function(e){var t=e.value,n=(0,S.useContext)(ed),i=isFunction(t),o=(0,S.useMemo)(function(){return i?t(n):t},[i,n,t]),a=(0,S.useMemo)(function(){return i?o:mergeConfigs(n,o)},[i,n,o]),l=o&&o.provider,u=(0,S.useRef)(M);l&&!u.current&&(u.current=initCache(l(a.cache||es),o));var s=u.current;return s&&(a.cache=s[0],a.mutate=s[1]),er(function(){if(s)return s[2]&&s[2](),s[3]},[]),(0,S.createElement)(ed.Provider,mergeObjects(e,{value:a}))},"defaultValue",{value:ec});var eg=(i=function(e,t,n){var i,o=n.cache,a=n.compare,l=n.suspense,u=n.fallbackData,s=n.revalidateOnMount,f=n.revalidateIfStale,g=n.refreshInterval,x=n.refreshWhenHidden,E=n.refreshWhenOffline,b=n.keepPreviousData,_=(0,w._)(H.get(o),4),k=_[0],T=_[1],L=_[2],A=_[3],R=(0,w._)(dist_serialize(e),2),j=R[0],F=R[1],K=(0,S.useRef)(!1),U=(0,S.useRef)(!1),G=(0,S.useRef)(j),W=(0,S.useRef)(t),X=(0,S.useRef)(n),getConfig=function(){return X.current},isActive=function(){return getConfig().isVisible()&&getConfig().isOnline()},$=(0,w._)(createCacheHelper(o,j),4),J=$[0],ee=$[1],ei=$[2],eo=$[3],ea=(0,S.useRef)({}).current,eu=isUndefined(u)?n.fallback[j]:u,isEqual=function(e,t){for(var n in ea)if("data"===n){if(!a(e[n],t[n])&&(!isUndefined(e[n])||!a(ex,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},es=(0,S.useMemo)(function(){var e=!!j&&!!t&&(isUndefined(s)?!getConfig().isPaused()&&!l&&(!!isUndefined(f)||f):s),getSelectedCache=function(t){var n=mergeObjects(t);return(delete n._k,e)?(0,c._)({isValidating:!0,isLoading:!0},n):n},n=J(),i=eo(),o=getSelectedCache(n),a=n===i?o:getSelectedCache(i),u=o;return[function(){var e=getSelectedCache(J());return isEqual(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},function(){return a}]},[o,j]),ec=(0,B.useSyncExternalStore)((0,S.useCallback)(function(e){return ei(j,function(t,n){isEqual(n,t)||e()})},[o,j]),es[0],es[1]),ed=!K.current,ef=k[j]&&k[j].length>0,ep=ec.data,eg=isUndefined(ep)?eu:ep,ev=ec.error,ey=(0,S.useRef)(eg),ex=b?isUndefined(ep)?ey.current:ep:eg,eE=(!ef||!!isUndefined(ev))&&(ed&&!isUndefined(s)?s:!getConfig().isPaused()&&(l?!isUndefined(eg)&&f:isUndefined(eg)||f)),eb=!!(j&&t&&ed&&eE),e_=isUndefined(ec.isValidating)?eb:ec.isValidating,eS=isUndefined(ec.isLoading)?eb:ec.isLoading,ek=(0,S.useCallback)((i=(0,I._)(function(e){var t,i,o,l,u,s,c,f,g,x,E,b,_,S,C,A,I;return(0,D.Jh)(this,function(D){switch(D.label){case 0:if(t=W.current,!j||!t||U.current||getConfig().isPaused())return[2,!1];l=!0,u=e||{},s=!L[j]||!u.dedupe,c=function(){return et?!U.current&&j===G.current&&K.current:j===G.current},f={isValidating:!1,isLoading:!1},g=function(){ee(f)},x=function(){var e=L[j];e&&e[1]===o&&delete L[j]},E={isValidating:!0},isUndefined(J().data)&&(E.isLoading=!0),D.label=1;case 1:return D.trys.push([1,3,,4]),s&&(ee(E),n.loadingTimeout&&isUndefined(J().data)&&setTimeout(function(){l&&c()&&getConfig().onLoadingSlow(j,n)},n.loadingTimeout),L[j]=[t(F),getTimestamp()]),i=(b=(0,w._)(L[j],2))[0],o=b[1],[4,i];case 2:if(i=D.sent(),s&&setTimeout(x,n.dedupingInterval),!L[j]||L[j][1]!==o)return s&&c()&&getConfig().onDiscarded(j),[2,!1];if(f.error=M,!isUndefined(_=T[j])&&(o<=_[0]||o<=_[1]||0===_[1]))return g(),s&&c()&&getConfig().onDiscarded(j),[2,!1];return S=J().data,f.data=a(S,i)?S:i,s&&c()&&getConfig().onSuccess(i,j,n),[3,4];case 3:return C=D.sent(),x(),I=(A=getConfig()).shouldRetryOnError,!A.isPaused()&&(f.error=C,s&&c()&&(A.onError(C,j,A),(!0===I||isFunction(I)&&I(C))&&isActive()&&A.onErrorRetry(C,j,A,function(e){var t=k[j];t&&t[0]&&t[0](el.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return l=!1,g(),[2,!0]}})}),function(e){return i.apply(this,arguments)}),[j,o]),ew=(0,S.useCallback)(function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(n==el.FOCUS_EVENT){var o=Date.now();getConfig().revalidateOnFocus&&o>t&&isActive()&&(t=o+getConfig().focusThrottleInterval,e())}else if(n==el.RECONNECT_EVENT)getConfig().revalidateOnReconnect&&isActive()&&e();else if(n==el.MUTATE_EVENT)return ek();else if(n==el.ERROR_REVALIDATE_EVENT)return ek(i)});return U.current=!1,G.current=j,K.current=!0,ee({_k:F}),eE&&(isUndefined(eg)||en?e():(0,N._)(window.requestAnimationFrame)!=z?window.requestAnimationFrame(e):setTimeout(e,1)),function(){U.current=!0,n()}}},[j]),er(function(){var e;function next(){var t=isFunction(g)?g(J().data):g;t&&-1!==e&&(e=setTimeout(execute,t))}function execute(){!J().error&&(x||getConfig().isVisible())&&(E||getConfig().isOnline())?ek(em).then(next):next()}return next(),function(){e&&(clearTimeout(e),e=-1)}},[g,x,E,j]),(0,S.useDebugValue)(ex),l&&isUndefined(eg)&&j){if(!et&&en)throw Error("Fallback data is required when using suspense in SSR.");W.current=t,X.current=n,U.current=!1;var eC=A[j];if(isUndefined(eC)||eh(ew(eC)),isUndefined(ev)){var eO=ek(em);isUndefined(ex)||(eO.status="fulfilled",eO.value=!0),eh(eO)}else throw ev}return{mutate:ew,get data(){return ea.data=!0,ex},get error(){return ea.error=!0,ev},get isValidating(){return ea.isValidating=!0,e_},get isLoading(){return ea.isLoading=!0,eS}}},function(){for(var e=arguments.length,t=Array(e),n=0;n